/*
 * Alfa Chemicals — Premium Frontend Design System
 * Frontend-only layer. Loaded after the legacy theme styles and RTL styles.
 * Brand primary is intentionally preserved: #9f9aca.
 */

:root {
    --alfa-primary: #9f9aca;
    --alfa-primary-rgb: 159, 154, 202;
    --alfa-primary-50: #f8f7fc;
    --alfa-primary-100: #efedf8;
    --alfa-primary-200: #dfdced;
    --alfa-primary-300: #c8c3e0;
    --alfa-primary-400: #b0aad2;
    /* Keep all strong brand states on the original Alfa primary. */
    --alfa-primary-600: #9f9aca;
    --alfa-primary-700: #9f9aca;
    --alfa-primary-800: #9f9aca;
    --alfa-primary-900: #9f9aca;
    --alfa-ink: #171720;
    --alfa-ink-soft: #282733;
    --alfa-copy: #575666;
    --alfa-muted: #7a7888;
    --alfa-line: rgba(31, 30, 43, 0.10);
    --alfa-line-strong: rgba(31, 30, 43, 0.16);
    --alfa-white: #ffffff;
    --alfa-surface: #fbfafc;
    --alfa-surface-2: #f5f3f8;
    --alfa-surface-3: #eeebf4;
    --alfa-brand-gradient: var(--alfa-primary);
    --alfa-success: #16764e;
    --alfa-danger: #b42318;
    --alfa-radius-xs: 10px;
    --alfa-radius-sm: 14px;
    --alfa-radius-md: 20px;
    --alfa-radius-lg: 28px;
    --alfa-radius-xl: 38px;
    --alfa-shadow-xs: 0 8px 24px rgba(32, 30, 48, 0.06);
    --alfa-shadow-sm: 0 14px 38px rgba(32, 30, 48, 0.08);
    --alfa-shadow-md: 0 24px 64px rgba(32, 30, 48, 0.12);
    --alfa-shadow-lg: 0 34px 90px rgba(32, 30, 48, 0.16);
    --alfa-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --alfa-fast: 220ms var(--alfa-ease);
    --alfa-medium: 420ms var(--alfa-ease);
    --alfa-slow: 760ms var(--alfa-ease);
    --alfa-section-space: clamp(50px, 4.8vw, 72px);
    --alfa-container: 1320px;
    --alfa-heading-size: clamp(36px, 3.9vw, 52px);
    --alfa-heading-size-mobile: clamp(30px, 8.6vw, 40px);
    --alfa-heading-weight: 650;
    --alfa-heading-line: 1.08;
    --alfa-heading-gap: 14px;
    --alfa-number-size: clamp(29px, 2.8vw, 40px);
    --alfa-number-weight: 750;
}

/* =========================================================
   1. Foundation / Accessibility
   ========================================================= */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    overflow-x: clip;
}

body {
    min-width: 320px;
    overflow-x: clip;
    background: var(--alfa-white);
    color: var(--alfa-ink);
    font-family: "Geist", "Almarai", Arial, sans-serif !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -0.012em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.alfa-direction-rtl {
    font-family: "Almarai", Arial, sans-serif !important;
    letter-spacing: 0;
}

body.alfa-ui-loading #wrapper,
body.alfa-ui-loading + * {
    opacity: 0;
}

body.alfa-ui-ready #wrapper {
    animation: alfaPageIn 520ms var(--alfa-ease) both;
}

@keyframes alfaPageIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

::selection {
    background: rgba(var(--alfa-primary-rgb), 0.34);
    color: var(--alfa-ink);
}

:focus-visible {
    outline: 3px solid rgba(var(--alfa-primary-rgb), 0.46) !important;
    outline-offset: 3px;
}

img,
video,
iframe {
    max-width: 100%;
}

img {
    image-rendering: auto;
}

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

p,
li,
td,
th,
input,
textarea,
select,
button {
    font-family: inherit;
}

p {
    color: var(--alfa-copy);
    line-height: 1.8;
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--alfa-ink);
    font-family: "Geist", "Almarai", Arial, sans-serif;
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.14;
    text-wrap: balance;
}

body.alfa-direction-rtl h1,
body.alfa-direction-rtl h2,
body.alfa-direction-rtl h3,
body.alfa-direction-rtl h4,
body.alfa-direction-rtl h5,
body.alfa-direction-rtl h6,
body.alfa-direction-rtl .font-instrument_serif {
    font-family: "Almarai", Arial, sans-serif !important;
    letter-spacing: 0;
}

body.alfa-direction-ltr .font-instrument_serif,
body.alfa-direction-ltr .page-title.font-instrument_serif,
body.alfa-direction-ltr .s-title.font-instrument_serif,
body.alfa-direction-ltr .product-title.font-instrument_serif,
body.alfa-direction-ltr .blog_name.font-instrument_serif {
    font-family: "Instrument Serif", "Geist", serif !important;
    letter-spacing: -0.025em;
}

.container {
    width: min(100% - 40px, var(--alfa-container));
    max-width: var(--alfa-container);
    padding-inline: 0;
}

.flat-spacing,
.flat-spacing-2,
.flat-spacing-mix-1 {
    padding-block: var(--alfa-section-space);
}

.flat-spacing.pt-0 {
    padding-top: 0 !important;
}

#wrapper > * {
    isolation: isolate;
}

.br-line.bg-line-5,
.br-line.bg-line-2 {
    border-color: var(--alfa-line) !important;
    background: var(--alfa-line) !important;
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--alfa-surface);
}
body::-webkit-scrollbar-thumb {
    border: 2px solid var(--alfa-surface);
    border-radius: 999px;
    background: var(--alfa-primary);
}

/* =========================================================
   2. Global Heading / Eyebrow / Buttons
   ========================================================= */
.eyebrow-label,
.section-label,
.alfa-heading > span,
.alfa-small-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-bottom: 16px;
    color: var(--alfa-primary-700) !important;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.alfa-direction-rtl .eyebrow-label,
body.alfa-direction-rtl .section-label,
body.alfa-direction-rtl .alfa-heading > span,
body.alfa-direction-rtl .alfa-small-title,
body.alfa-direction-rtl .dr-label {
    letter-spacing: 0;
}

.br-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border: 0 !important;
    border-radius: 50%;
    background: var(--alfa-primary) !important;
    box-shadow: 0 0 0 5px rgba(var(--alfa-primary-rgb), 0.12);
}

.sect-heading,
.sect-heading-v2,
.alfa-heading,
.about-heading,
.section-heading {
    margin-bottom: clamp(28px, 3.4vw, 44px);
}

.sect-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.sect-heading > div {
    max-width: 780px;
}

.sect-heading .s-title,
.sect-heading-v2 .s-title,
.alfa-heading h2,
.about-heading h2,
.section-heading h2,
.section-title,
.about-title {
    margin-bottom: var(--alfa-heading-gap);
    color: var(--alfa-ink);
    font-size: var(--alfa-heading-size);
    font-weight: var(--alfa-heading-weight);
    line-height: var(--alfa-heading-line);
}

.alfa-heading {
    max-width: 820px;
    margin-inline: auto;
}

.alfa-heading p,
.section-subtitle,
.sect-heading .desc,
.sect-heading-v2 .s-desc {
    max-width: 720px;
    margin-inline: auto;
    color: var(--alfa-copy) !important;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.8;
}

.tf-btn,
.alfa-btn,
.wpcf7-submit,
.testing-request-form .btn-primary {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    padding: 13px 22px;
    border: 1px solid var(--alfa-primary);
    border-radius: 999px;
    background: var(--alfa-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 28px rgba(var(--alfa-primary-rgb), 0.25);
    transition: transform var(--alfa-fast), box-shadow var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast);
}

.tf-btn::before,
.alfa-btn::before,
.wpcf7-submit::before,
.testing-request-form .btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--alfa-primary-800);
    transform: translateX(-102%);
    transition: transform 360ms var(--alfa-ease);
}

.tf-btn:hover,
.alfa-btn:hover,
.wpcf7-submit:hover,
.testing-request-form .btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 16px 36px rgba(var(--alfa-primary-rgb), 0.32);
}

.tf-btn:hover::before,
.alfa-btn:hover::before,
.wpcf7-submit:hover::before,
.testing-request-form .btn-primary:hover::before {
    transform: translateX(0);
}

.tf-btn.is-rippling::after,
.alfa-btn.is-rippling::after,
.btn-primary.is-rippling::after,
.btn-secondary.is-rippling::after {
    content: "";
    position: absolute;
    left: var(--alfa-ripple-x, 50%);
    top: var(--alfa-ripple-y, 50%);
    z-index: -1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.30);
    transform: translate(-50%, -50%) scale(0);
    animation: alfaRipple 620ms ease-out both;
    pointer-events: none;
}
@keyframes alfaRipple {
    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(24);
    }
}

.tf-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--alfa-ink);
    font-size: 14px;
    font-weight: 700;
    transition: color var(--alfa-fast), gap var(--alfa-fast), transform var(--alfa-fast);
}

.tf-btn-icon .icon,
.tf-btn .fa-arrow-right,
.alfa-btn .fa-arrow-right {
    transition: transform var(--alfa-fast);
}

.tf-btn-icon:hover {
    gap: 13px;
    color: var(--alfa-primary-700);
}

.tf-btn-icon:hover .icon,
.tf-btn:hover .fa-arrow-right,
.alfa-btn:hover .fa-arrow-right {
    transform: translateX(3px);
}

body.alfa-direction-rtl .tf-btn-icon .icon-ArrowRight,
body.alfa-direction-rtl .tf-btn .fa-arrow-right,
body.alfa-direction-rtl .alfa-btn .fa-arrow-right,
body.alfa-direction-rtl .icon-ArrowLeft,
body.alfa-direction-rtl .icon-ArrowRight {
    transform: scaleX(-1);
}

body.alfa-direction-rtl .tf-btn-icon:hover .icon-ArrowRight,
body.alfa-direction-rtl .tf-btn:hover .fa-arrow-right,
body.alfa-direction-rtl .alfa-btn:hover .fa-arrow-right {
    transform: scaleX(-1) translateX(3px);
}


/* Accessibility skip navigation */
.alfa-skip-link {
    position: fixed;
    inset-inline-start: 18px;
    top: 14px;
    z-index: 100000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--alfa-ink);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--alfa-shadow-md);
    transform: translateY(-160%);
    transition: transform var(--alfa-fast);
}
.alfa-skip-link:focus {
    transform: translateY(0);
}
.contact-extra {
    margin: 6px 0 0;
    color: var(--alfa-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* =========================================================
   3. Header / Desktop Navigation
   ========================================================= */
.tf-header.header-v2.hd-v2_s2 {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid rgba(40, 38, 54, 0.08);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 24px rgba(32, 30, 48, 0.035);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    transition: top 300ms var(--alfa-ease), background-color 300ms ease, box-shadow 300ms ease;
}

.tf-header.header-v2.hd-v2_s2.header-sticky {
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 14px 38px rgba(32, 30, 48, 0.09);
}

.header-v2 .header-inner,
.header-v2.hd-v2_s2 .header-inner,
.header-v2 .header-inner_wrap {
    min-height: 120px;
    height: auto;
}

.tf-header .header-inner_wrap {
    gap: 28px;
}

.tf-header .header-left {
    flex: 0 0 auto;
}

.tf-header .header-center {
    min-width: 0;
}

.tf-header .logo-site {
    width: 268px;
    height: 104px;
    flex: 0 0 268px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tf-header .logo-site img {
    display: block;
    max-width: none;
   
    max-height: none;
    object-fit: cover;
    object-position: center;
    transition: transform var(--alfa-fast), opacity var(--alfa-fast);
}

.tf-header .logo-site:hover img {
    transform: translateY(-1px);
    opacity: 0.9;
}

.tf-header .box-nav-menu {
    gap: clamp(11px, 1.15vw, 22px);
}

.header-v2.hd-v2_s2 .item-link {
    min-height: 46px;
    padding: 12px 2px !important;
    color: var(--alfa-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.header-v2.hd-v2_s2 .item-link::before {
    left: 50%;
    right: auto;
    bottom: 5px;
    width: calc(100% - 4px);
    height: 2px;
    border-radius: 999px;
    background: var(--alfa-primary);
    opacity: 0;
    transform: translateX(-50%) scaleX(0.25);
    transform-origin: center;
    transition: opacity var(--alfa-fast), transform var(--alfa-fast);
}

.header-v2.hd-v2_s2 .item-link::after {
    display: none !important;
}

.header-v2.hd-v2_s2 .menu-item:hover > .item-link::before,
.header-v2.hd-v2_s2 .menu-item.is-current > .item-link::before,
.header-v2.hd-v2_s2 .menu-item.has-current-child > .item-link::before,
.header-v2.hd-v2_s2 li.is-current > .item-link::before {
    left: 50%;
    right: auto;
    width: calc(100% - 4px);
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.header-v2.hd-v2_s2 .menu-item:hover > .item-link,
.header-v2.hd-v2_s2 .menu-item.is-current > .item-link,
.header-v2.hd-v2_s2 .menu-item.has-current-child > .item-link,
.header-v2.hd-v2_s2 li.is-current > .item-link {
    color: var(--alfa-primary-800);
}

.header-v2 .item-link .icon-ArrowCaretDown {
    font-size: 9px;
    transition: transform var(--alfa-fast);
}

.header-v2 .menu-item-has-children:hover > .item-link .icon-ArrowCaretDown {
    transform: rotate(180deg);
}

.header-v2 .sub-menu_v2 {
    top: calc(100% - 2px);
    left: -18px;
    min-width: 270px;
    padding: 10px !important;
    border: 1px solid var(--alfa-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--alfa-shadow-md);
    transform: translateY(9px) scale(0.98);
    transform-origin: top center;
    overflow: hidden;
}

.header-v2 .menu-item:hover > .sub-menu_v2,
.header-v2 .menu-item:focus-within > .sub-menu_v2 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header-v2 .sub-menu_v2 .sub-menu_link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 13px !important;
    border-radius: 11px;
    color: var(--alfa-ink-soft);
    font-size: 13.5px;
    font-weight: 550;
    transition: background-color var(--alfa-fast), color var(--alfa-fast), transform var(--alfa-fast);
}

.header-v2 .sub-menu_v2 .sub-menu_link:hover,
.header-v2 .sub-menu_v2 .sub-menu_link:focus-visible {
    background: var(--alfa-primary-100);
    color: var(--alfa-primary-800);
    transform: translateX(3px);
}

body.alfa-direction-rtl .header-v2 .sub-menu_v2 {
    left: auto;
    right: -18px;
}
body.alfa-direction-rtl .header-v2 .sub-menu_v2 .sub-menu_link:hover {
    transform: translateX(-3px);
}

.header-v2 .box-nav-menu > li:last-child .tf-btn,
.header-v2 .box-nav-menu > li > .tf-btn {
    min-height: 42px;
    padding: 10px 18px !important;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(var(--alfa-primary-rgb), 0.22);
}

.header-v2 .box-nav-menu > li:last-child .tf-btn::before,
.header-v2 .box-nav-menu > li > .tf-btn::before {
    display: block;
}

.header-v2 .box-nav-menu > li:last-child .tf-btn::after,
.header-v2 .box-nav-menu > li > .tf-btn::after {
    display: none !important;
}

/* Language — flag-only switcher, while preserving the translated link text for accessibility. */
.alfa-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border: 1px solid var(--alfa-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 6px 18px rgba(32, 30, 48, 0.05);
}

.alfa-language-link {
    position: relative;
    display: inline-grid;
    width: 38px;
    height: 34px;
    place-items: center;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 999px;
    background: transparent center / 27px 18px no-repeat !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0;
    text-indent: -9999px;
    transition: transform var(--alfa-fast), box-shadow var(--alfa-fast), border-color var(--alfa-fast), background-color var(--alfa-fast), opacity var(--alfa-fast);
}

/* English = UK flag, Arabic = Jordan flag. Inline SVG avoids external requests and renders consistently on Windows/macOS/mobile. */
.alfa-language-link[hreflang="en"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath fill='%23012169' d='M0 0h60v36H0z'/%3E%3Cpath fill='%23fff' d='M0 0l60 36m0-36L0 36' stroke='%23fff' stroke-width='7'/%3E%3Cpath fill='none' stroke='%23C8102E' stroke-width='3.5' d='M0 0l60 36m0-36L0 36'/%3E%3Cpath fill='%23fff' d='M25 0h10v36H25zM0 13h60v10H0z'/%3E%3Cpath fill='%23C8102E' d='M27 0h6v36h-6zM0 15h60v6H0z'/%3E%3C/svg%3E") !important;
}
.alfa-language-link[hreflang="ar"] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 36'%3E%3Cpath fill='%23000' d='M0 0h60v12H0z'/%3E%3Cpath fill='%23fff' d='M0 12h60v12H0z'/%3E%3Cpath fill='%23007122' d='M0 24h60v12H0z'/%3E%3Cpath fill='%23CE1126' d='M0 0l30 18L0 36z'/%3E%3Ccircle cx='10.6' cy='18' r='2.2' fill='%23fff'/%3E%3C/svg%3E") !important;
}
.alfa-language-link::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(23, 23, 32, 0.10);
    border-radius: 5px;
    pointer-events: none;
}
.alfa-language-link:hover,
.alfa-language-link.is-active {
    border-color: rgba(var(--alfa-primary-rgb), 0.45) !important;
    background-color: var(--alfa-primary-50) !important;
    box-shadow: 0 7px 18px rgba(30, 29, 43, 0.10);
    opacity: 1;
    transform: translateY(-1px);
}
.alfa-language-link.is-active {
    box-shadow: 0 0 0 2px rgba(var(--alfa-primary-rgb), 0.18), 0 7px 18px rgba(30, 29, 43, 0.08);
}

/* Mobile trigger */
.box-btn-open-menu a {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--alfa-line);
    border-radius: 14px;
    background: #fff;
    color: var(--alfa-ink);
    box-shadow: var(--alfa-shadow-xs);
    transition: transform var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast);
}
.box-btn-open-menu a:hover {
    background: var(--alfa-primary-100);
    color: var(--alfa-primary-800);
    transform: translateY(-1px);
}

/* =========================================================
   4. Mobile Navigation
   ========================================================= */
.canvas-mb {
    width: min(430px, 92vw) !important;
    border: 0 !important;
    background: rgba(255, 255, 255, 0.985);
    box-shadow: -24px 0 70px rgba(26, 24, 38, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.canvas-mb .canvas-header {
    min-height: 84px;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--alfa-line);
}

.canvas-mb .logo-site {
    width: 220px;
    height: 88px;
    overflow: hidden;
}
.canvas-mb .logo-site img {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.alfa-mobile-close {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--alfa-line);
    border-radius: 13px;
    background: var(--alfa-surface);
    color: var(--alfa-ink);
}

.canvas-mb .canvas-body {
    display: block;
    padding: 18px 22px 24px;
    overflow-y: auto;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid rgba(31, 30, 43, 0.07);
}

.mobile-menu-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-menu-link {
    display: flex !important;
    min-height: 54px;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px !important;
    color: var(--alfa-ink) !important;
    font-size: 16px !important;
    font-weight: 650 !important;
}

.mobile-menu-link:hover,
.mobile-menu-item.is-current > .mobile-menu-link,
.mobile-menu-item.is-current .mobile-menu-row > .mobile-menu-link,
.mobile-menu-item.has-current-child .mobile-menu-row > .mobile-menu-link {
    color: var(--alfa-primary-800) !important;
}

.mobile-contact-link {
    width: 100%;
    margin-block: 12px 8px;
    justify-content: center;
    border-radius: 999px;
    background: var(--alfa-primary);
    color: #fff !important;
}

.mobile-submenu-toggle {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--alfa-line);
    border-radius: 12px;
    background: var(--alfa-surface);
    color: var(--alfa-ink);
}
.mobile-submenu-toggle i {
    font-size: 10px;
    transition: transform var(--alfa-fast);
}
.mobile-menu-item.is-open .mobile-submenu-toggle i {
    transform: rotate(180deg);
}

.mobile-sub-menu {
    display: block !important;
    max-height: 0;
    padding: 0 10px !important;
    overflow: hidden;
    opacity: 0;
    transition: max-height 400ms var(--alfa-ease), opacity 260ms ease, padding 360ms var(--alfa-ease);
}
.mobile-sub-menu > li {
    min-height: 0;
    overflow: hidden;
}
.mobile-menu-item.is-open > .mobile-sub-menu {
    max-height: 420px;
    padding-bottom: 12px !important;
    opacity: 1;
}
.mobile-sub-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 10px;
    color: var(--alfa-copy);
    font-size: 14px;
    line-height: 1.45;
}
.mobile-sub-menu a:hover,
.mobile-sub-menu a.is-current {
    background: var(--alfa-primary-100);
    color: var(--alfa-primary-800);
}

.canvas-mb .canvas-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 22px;
    border-top: 1px solid var(--alfa-line);
    background: var(--alfa-surface);
}

.alfa-mobile-social {
    display: flex;
    align-items: center;
    gap: 8px;
}
.alfa-mobile-social a {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--alfa-line);
    border-radius: 50%;
    background: #fff;
    color: var(--alfa-ink);
}

body.alfa-direction-rtl .offcanvas-start.canvas-mb {
    right: 0;
    left: auto;
    border-right: 0;
    transform: translateX(100%);
}
body.alfa-direction-rtl .offcanvas-start.canvas-mb.show,
body.alfa-direction-rtl .offcanvas-start.canvas-mb.showing {
    transform: none;
}
body.alfa-direction-rtl .offcanvas-start.canvas-mb.hiding {
    transform: translateX(100%);
}

/* =========================================================
   5. Reusable Page Banner
   ========================================================= */
.responsive-page-banner,
.tf-page-heading.responsive-page-banner {
    --alfa-banner-height: clamp(330px, 34vw, 470px);
    position: relative;
    min-height: var(--alfa-banner-height);
    height: var(--alfa-banner-height);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0 !important;
    background-color: #fff;
    background-image: var(--banner-desktop, none) !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    isolation: isolate;
}

.responsive-page-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: var(--alfa-banner-next, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity var(--alfa-banner-speed, 650ms) ease, transform var(--alfa-banner-speed, 650ms) var(--alfa-ease);
}
.responsive-page-banner.is-banner-changing::after {
    opacity: 1;
    transform: scale(1);
}

.responsive-page-banner::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.responsive-page-banner .container {
    position: relative;
    z-index: 2;
}

.responsive-page-banner .content {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 100%;
    max-width: none;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    padding-block: 48px;
    text-align: center !important;
}

.responsive-page-banner .content::before {
    display: none !important;
    content: none !important;
}

.responsive-page-banner .page-title {
    max-width: min(1100px, 92vw);
    margin: 0 auto;
    padding: 0 !important;
    color: #000 !important;
    font-size: clamp(42px, 5vw, 72px) !important;
    font-weight: 650 !important;
    line-height: 1.04;
    text-align: center !important;
    text-shadow: none !important;
}

/* 404 uses its own content, no background ACF */
.tf-page-heading.type-404 {
    min-height: 560px;
    display: grid;
    place-items: center;
    padding: 80px 0 !important;
    background:
        radial-gradient(circle at 18% 24%, rgba(var(--alfa-primary-rgb), 0.28), transparent 34%),
        linear-gradient(145deg, var(--alfa-surface) 0%, var(--alfa-primary-100) 100%);
}
.tf-page-heading.type-404 .content {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.tf-page-heading.type-404 .page-title {
    font-size: clamp(48px, 7vw, 88px);
    color: var(--alfa-ink) !important;
}
.tf-page-heading.type-404 .page-desc {
    margin: 22px auto 28px;
    color: var(--alfa-copy) !important;
    font-size: 17px;
}

/* =========================================================
   6. Home Hero / Shared Media / Cards
   ========================================================= */
.alfa-auto-slider {
    position: relative;
    overflow: hidden;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    line-height: 0;
}

.alfa-auto-slider .swiper-wrapper,
.alfa-auto-slider .swiper-slide,
.alfa-auto-slider .slideshow-v03,
.alfa-auto-slider .sld-image {
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.alfa-auto-slider .sld-image {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    overflow: hidden;
}

.alfa-auto-slider .sld-image img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
    border: 0 !important;
    background: transparent !important;
}

.alfa-auto-slider .box-pag,
.alfa-auto-slider .tf-sw-pagination {
    display: none !important;
}

.about-media-box,
.product-single-image,
.blog-detail-image,
.contact-map-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(43, 40, 61, 0.08) !important;
    border-radius: var(--alfa-radius-xl) !important;
    background: var(--alfa-surface);
    box-shadow: var(--alfa-shadow-md) !important;
}

.about-media-box::after,
.blog-detail-image::after,
.product-single-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3);
}

.about-media-box img {
    display: block;
    width: 100%;
    min-height: 0;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 800ms var(--alfa-ease), filter 500ms ease;
}
.about-media-box:hover img {
    transform: none;
}

.about-play-btn {
    width: 78px !important;
    height: 78px !important;
    border: 1px solid rgba(255,255,255,0.8) !important;
    background: rgba(255,255,255,0.92) !important;
    color: var(--alfa-primary-800) !important;
    box-shadow: 0 18px 50px rgba(26,24,38,0.22) !important;
    backdrop-filter: blur(10px);
    transition: transform var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast) !important;
}
.about-play-btn::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    animation: alfaPulseRing 2.6s ease-out infinite;
}
@keyframes alfaPulseRing {
    0% { transform: scale(0.86); opacity: 0; }
    25% { opacity: 0.9; }
    100% { transform: scale(1.28); opacity: 0; }
}
.about-play-btn:hover {
    background: var(--alfa-primary) !important;
    color: #fff !important;
    transform: scale(1.06) !important;
}

.about-popup-overlay {
    background: rgba(18, 17, 27, 0.86) !important;
    backdrop-filter: blur(8px);
}
.about-popup-content {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px !important;
    box-shadow: 0 40px 120px rgba(0,0,0,0.45);
}
.about-popup-content iframe {
    border-radius: 24px !important;
}


/* Video lightbox refinement */
.about-video-popup:target .about-popup-content {
    animation: alfaModalIn 420ms var(--alfa-ease) both;
}
.about-popup-close {
    display: grid !important;
    width: 42px;
    height: 42px;
    place-items: center;
    top: -52px !important;
    right: 0 !important;
    border: 1px solid rgba(255,255,255,0.26);
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #fff !important;
    font-size: 18px !important;
    backdrop-filter: blur(10px);
    transition: transform var(--alfa-fast), background-color var(--alfa-fast) !important;
}
.about-popup-close:hover {
    background: rgba(255,255,255,0.20);
    transform: rotate(6deg) scale(1.04);
}
body.alfa-direction-rtl .about-popup-close {
    right: auto !important;
    left: 0 !important;
}
@keyframes alfaModalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.975); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Home intro */
body.page-template-page-home .alfa-auto-slider + .flat-spacing,
body.home .alfa-auto-slider + .flat-spacing {
    position: relative;
    background:
        radial-gradient(circle at 92% 12%, rgba(var(--alfa-primary-rgb), 0.13), transparent 26%),
        #fff;
}

body.page-template-page-home .about-title,
body.home .about-title {
    max-width: 760px;
}

/* Category / specializations */
.section-category {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(var(--alfa-primary-rgb), 0.14), transparent 30%),
        linear-gradient(180deg, var(--alfa-surface) 0%, #fff 100%);
}
.section-category .flat-spacing {
    padding-block: var(--alfa-section-space) 50px;
}
.section-category .sect-heading {
    justify-content: center;
    text-align: center;
}
.section-category .collection-v02 {
    display: flex;
    height: 100%;
    min-height: 210px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px 16px;
    border: 1px solid var(--alfa-line);
    border-radius: 22px;
    background: rgba(255,255,255,0.86);
    box-shadow: var(--alfa-shadow-xs);
    backdrop-filter: blur(8px);
    transition: transform var(--alfa-medium), border-color var(--alfa-fast), box-shadow var(--alfa-medium), background-color var(--alfa-fast);
}
.section-category .collection-v02::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: -1;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(var(--alfa-primary-rgb), 0.12), transparent 64%);
    opacity: 0;
    transition: opacity var(--alfa-medium);
}
.section-category .collection-v02:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.42);
    background: #fff;
    box-shadow: var(--alfa-shadow-sm);
    transform: translateY(-7px);
}
.section-category .collection-v02:hover::before {
    opacity: 1;
}
.section-category .collection-v02 .cls-image {
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    overflow: hidden;
    border: 0 !important;
    border-radius: 30px;
    background: var(--alfa-primary-100);
}
.section-category .collection-v02 .cls-image img {
    width: 94px !important;
    height: 94px !important;
    object-fit: contain;
    transition: transform var(--alfa-medium);
}
.section-category .collection-v02:hover .cls-image img {
    transform: scale(1.07) rotate(-1deg);
}
.section-category .collection-v02 .cls-name {
    margin: 0;
    color: var(--alfa-ink);
    font-size: 14px;
    font-weight: 650 !important;
    line-height: 1.4;
    text-align: center;
}

.sw-progress-default,
.sw-line-default,
.sw-scrollbar-default {
    margin-top: 34px;
}
.swiper-pagination-progressbar,
.sw-progress-default {
    overflow: hidden;
    border-radius: 999px;
    background: rgba(var(--alfa-primary-rgb), 0.16) !important;
}
.swiper-pagination-progressbar-fill,
.tf-sw-pagination .swiper-pagination-progressbar-fill {
    background: var(--alfa-primary) !important;
}

/* Facts */
.facts-awesome-section {
    position: relative;
    overflow: hidden;
    padding-block: var(--alfa-section-space) !important;
    background: var(--alfa-primary) !important;
}
.facts-awesome-section::before,
.facts-awesome-section::after {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}
.facts-awesome-section::before {
    top: -260px;
    left: -180px;
    background: rgba(var(--alfa-primary-rgb), 0.22);
}
.facts-awesome-section::after {
    right: -220px;
    bottom: -300px;
    background: rgba(var(--alfa-primary-rgb), 0.16);
}
.facts-main-title {
    color: #fff !important;
    font-size: var(--alfa-heading-size) !important;
    text-align: center;
}
.facts-card {
    position: relative;
    min-height: 290px;
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 22px !important;
    border: 1px solid rgba(255,255,255,0.11) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,0.075) !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px);
    transition: transform var(--alfa-medium), background-color var(--alfa-medium), border-color var(--alfa-fast) !important;
}
.facts-card:hover {
    border-color: rgba(255,255,255,0.24) !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: none !important;
    transform: translateY(-7px) !important;
}
.facts-icon {
    width: 76px !important;
    height: 76px !important;
    margin: 0 auto 24px !important;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(var(--alfa-primary-rgb), 0.22) !important;
    color: #fff !important;
    font-size: 31px !important;
}
.facts-line {
    width: 46px !important;
    margin-bottom: 20px !important;
    border-color: rgba(255,255,255,0.28) !important;
}
.facts-title {
    margin-bottom: 8px !important;
    color: #fff !important;
    font-size: var(--alfa-number-size) !important;
    font-weight: var(--alfa-number-weight) !important;
}
.facts-desc {
    color: rgba(255,255,255,0.68) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    letter-spacing: 0.08em;
}

/* News cards shared */
.article-blog {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--alfa-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--alfa-shadow-xs);
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast);
}
.article-blog:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.36);
    box-shadow: var(--alfa-shadow-md);
    transform: translateY(-7px);
}
.article-blog .blog-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 0 !important;
    background: var(--alfa-surface);
    line-height: 0;
}
.article-blog .blog-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    transition: transform 800ms var(--alfa-ease);
}
.article-blog:hover .blog-image img {
    transform: scale(1.035) !important;
}
.article-blog .blog_date {
    top: 16px !important;
    right: auto !important;
    bottom: auto !important;
    left: 16px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 999px !important;
    background: rgba(255,255,255,0.9) !important;
    color: var(--alfa-ink) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    box-shadow: 0 8px 20px rgba(25,24,35,0.08);
    backdrop-filter: blur(10px);
}
body.alfa-direction-rtl .article-blog .blog_date {
    right: 16px !important;
    left: auto !important;
}
.article-blog .blog-content {
    display: flex;
    min-height: 154px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 24px;
}
.article-blog .blog_name {
    color: var(--alfa-ink);
    font-size: clamp(22px, 2vw, 28px) !important;
    line-height: 1.22;
}

/* =========================================================
   7. About Page
   ========================================================= */
.about-page {
    background: #fff !important;
}
.about-page > section.flat-spacing:first-of-type {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 10%, rgba(var(--alfa-primary-rgb), 0.13), transparent 30%),
        #fff;
}
.about-page > section.flat-spacing:nth-of-type(4) {
    background: var(--alfa-surface);
}
.about-page .about-title {
    font-size: var(--alfa-heading-size) !important;
    font-weight: var(--alfa-heading-weight) !important;
    line-height: var(--alfa-heading-line) !important;
}
.about-page > section.flat-spacing:first-of-type .row {
    align-items: stretch !important;
}
.about-page > section.flat-spacing:first-of-type .col-lg-6:last-child {
    display: flex;
}
.about-page > section.flat-spacing:first-of-type .about-media-box {
    width: 100%;
    height: 100%;
    min-height: clamp(430px, 42vw, 610px);
}
.about-page > section.flat-spacing:first-of-type .about-media-box img {
    width: 100%;
    height: 100% !important;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}
.about-page p {
    color: var(--alfa-copy) !important;
    font-size: 16px !important;
    opacity: 1 !important;
}

/* Keep About section media aligned to the actual section height.
   Certificate artwork is handled separately with contain sizing. */
.about-page #company-direction-section .row,
.about-page #manufacturing-method-section .row,
.about-page #manufacturing-equipments-section .row {
    align-items: stretch !important;
}
.about-page #company-direction-section .col-lg-5,
.about-page #manufacturing-method-section .col-lg-5,
.about-page #manufacturing-equipments-section .col-lg-5 {
    display: flex;
}
.about-page #company-direction-section .about-media-box,
.about-page #manufacturing-method-section .about-media-box,
.about-page #manufacturing-equipments-section .about-media-box {
    width: 100%;
    height: 100%;
    min-height: clamp(340px, 34vw, 500px);
}
.about-page #company-direction-section .about-media-box img,
.about-page #manufacturing-method-section .about-media-box img,
.about-page #manufacturing-equipments-section .about-media-box img {
    width: 100%;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center;
}

.about-page .about-section {
    position: relative;
    padding-block: var(--alfa-section-space) !important;
    background:
        linear-gradient(135deg, rgba(var(--alfa-primary-rgb), 0.10), transparent 42%),
        var(--alfa-surface) !important;
}
.about-page .about-section > .container > .section-heading {
    margin-bottom: 48px;
}
.about-page .about-section > .container > .flat-spacing {
    padding: 0 !important;
}
.about-page .about-section > .container > .flat-spacing > .container {
    width: 100%;
    max-width: none;
}

.about-tabs-box {
    min-height: 100%;
    padding: 28px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 28px !important;
    background: rgba(255,255,255,0.92) !important;
    box-shadow: var(--alfa-shadow-sm) !important;
}
.about-tabs-box > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.about-tabs-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    margin-bottom: 28px !important;
}
.about-tabs-buttons label {
    min-height: 56px !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
    padding: 13px 16px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 14px !important;
    background: var(--alfa-surface) !important;
    color: var(--alfa-ink) !important;
    font-size: 13px;
    font-weight: 650 !important;
    text-align: start !important;
    transition: background-color var(--alfa-fast), color var(--alfa-fast), border-color var(--alfa-fast), transform var(--alfa-fast) !important;
}
.about-tabs-buttons label i {
    color: var(--alfa-primary-700) !important;
}
.about-tabs-buttons label:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.35) !important;
    transform: translateY(-1px);
}
.about-tabs-buttons label.is-active {
    border-color: var(--alfa-primary) !important;
    background: var(--alfa-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(var(--alfa-primary-rgb), 0.22);
}
.about-tabs-buttons label.is-active i {
    color: #fff !important;
}
.about-tab-content {
    display: none !important;
    padding: 6px 4px 2px;
    animation: alfaTabIn 360ms var(--alfa-ease) both;
}
.about-tab-content.is-active {
    display: block !important;
}
@keyframes alfaTabIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.about-tab-content h3 {
    margin-bottom: 13px !important;
    font-size: clamp(25px, 2.2vw, 32px) !important;
}
.about-tab-description,
.about-tab-description p {
    color: var(--alfa-copy) !important;
    line-height: 1.85 !important;
}

.about-list {
    display: grid;
    gap: 10px !important;
    margin-block: 24px !important;
}
.about-list li {
    display: flex;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    border: 1px solid var(--alfa-line);
    border-radius: 14px;
    background: var(--alfa-surface);
    color: var(--alfa-ink-soft);
}
.about-list li i {
    display: grid;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--alfa-primary-100);
    color: var(--alfa-primary-800) !important;
    font-size: 11px;
}

.certificates-section {
    position: relative;
    background: var(--alfa-surface) !important;
}
.certificates-section .row > [class*="col-"] {
    display: flex;
}
.certificate-card {
    display: flex !important;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(32,30,48,0.055) !important;
    transition: transform var(--alfa-medium), border-color var(--alfa-fast), box-shadow var(--alfa-medium) !important;
}
.certificate-card:hover {
    border-color: rgba(var(--alfa-primary-rgb),0.32) !important;
    box-shadow: 0 18px 42px rgba(32,30,48,0.09) !important;
    transform: translateY(-5px) !important;
}
.certificate-image {
    width: 100%;
    height: 292px;
    min-height: 292px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 18px;
    border-bottom: 1px solid var(--alfa-line);
    background: #fff !important;
}
.certificate-image img {
    display: block;
    width: 450px !important;
    height: 350px !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover !important;
    object-position: center;
    padding: 0 !important;
    background: transparent !important;
    transition: transform var(--alfa-medium);
}
.certificate-card:hover .certificate-image img {
    transform: translateY(-2px);
}
.certificate-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    align-items: center;
    padding: 18px 20px 20px !important;
}
.certificate-icon {
    grid-row: span 2;
    width: 46px !important;
    height: 46px !important;
    margin: 0 !important;
    background: var(--alfa-primary-100) !important;
    color: var(--alfa-primary-800) !important;
}
.certificate-content h3 {
    margin: 0 !important;
    font-size: 18px !important;
}
.certificate-content span {
    color: var(--alfa-primary-700) !important;
    font-size: 12px !important;
    font-weight: 650;
}

/* CTA shared */
.alfa-cta {
    position: relative;
    overflow: hidden;
    margin: 20px 20px 0 !important;
    padding-block: clamp(54px, 6vw, 82px) !important;
    border-radius: var(--alfa-radius-xl);
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.16), transparent 28%),
        var(--alfa-brand-gradient) !important;
    box-shadow: var(--alfa-shadow-md);
}
.alfa-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255,255,255,0.05), 0 0 0 72px rgba(255,255,255,0.035);
}
.alfa-cta h2 {
    color: #fff !important;
    font-size: clamp(32px, 3.5vw, 48px) !important;
}
.alfa-cta p {
    max-width: 760px;
    margin-bottom: 0 !important;
    color: rgba(255,255,255,0.78) !important;
}
.alfa-cta .alfa-btn {
    border-color: #fff;
    background: #fff;
    color: var(--alfa-primary-800);
    box-shadow: 0 12px 30px rgba(45, 40, 76, 0.18);
}
.alfa-cta .alfa-btn::before {
    background: var(--alfa-ink);
}
.alfa-cta .alfa-btn:hover {
    border-color: var(--alfa-ink);
    color: #fff;
}

/* Shared paired image + content sections */
@media (min-width: 992px) {
    body.page-template-page-home #wrapper > section.flat-spacing .row.align-items-center,
    .about-page > section.flat-spacing .row.align-items-center,
    .about-page #company-direction-section .row,
    body.page-template-page-academy #wrapper > section.flat-spacing .row.align-items-center {
        align-items: stretch !important;
    }

    body.page-template-page-home #wrapper > section.flat-spacing .row.align-items-center > [class*="col-lg-"],
    .about-page > section.flat-spacing .row.align-items-center > [class*="col-lg-"],
    .about-page #company-direction-section .row > [class*="col-lg-"],
    body.page-template-page-academy #wrapper > section.flat-spacing .row.align-items-center > [class*="col-lg-"] {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    body.page-template-page-home #wrapper > section.flat-spacing .about-media-box,
    .about-page > section.flat-spacing .about-media-box,
    .about-page #company-direction-section .about-media-box {
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    body.page-template-page-home #wrapper > section.flat-spacing .about-media-box img,
    .about-page > section.flat-spacing .about-media-box img,
    .about-page #company-direction-section .about-media-box img {
        width: 100% !important;
        height: 100% !important;
        min-height: 100%;
        object-fit: cover !important;
        object-position: center;
    }

    body.page-template-page-academy .alfa-program-image {
        width: 100%;
        height: 100% !important;
        min-height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* =========================================================
   8. Products Landing
   ========================================================= */
.products-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(44px, 4.4vw, 64px) !important;
    background: linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
.products-section::before {
    content: "";
    position: absolute;
    inset-inline-end: -90px;
    top: -120px;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), 0.08);
    filter: blur(2px);
    pointer-events: none;
}
.products-section .text-center.mb-5 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 28px !important;
}
.products-section .section-label {
    padding: 0 !important;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}
.products-section .section-title { margin-bottom: 10px !important; }
.products-section .section-subtitle { max-width: 660px; margin-inline: auto; }
.products-section input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.products-section .container { position: relative; z-index: 1; text-align: center; }
.category-buttons {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px !important;
    padding: 5px !important;
    gap: 5px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.88) !important;
    box-shadow: 0 8px 24px rgba(32,30,48,0.05) !important;
}
.category-btn {
    position: relative;
    min-width: 126px !important;
    min-height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 8px 17px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--alfa-ink-soft) !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color var(--alfa-fast), color var(--alfa-fast), border-color var(--alfa-fast), box-shadow var(--alfa-fast), transform var(--alfa-fast) !important;
}
.category-btn::before { display: none !important; }
.category-btn:hover {
    border-color: rgba(var(--alfa-primary-rgb),0.28) !important;
    background: var(--alfa-primary-50) !important;
    color: var(--alfa-primary) !important;
    transform: none;
}
.category-btn.is-active {
    border-color: var(--alfa-primary) !important;
    background: var(--alfa-primary) !important;
    color: #fff !important;
    box-shadow: 0 7px 18px rgba(var(--alfa-primary-rgb), 0.22) !important;
}
.category-btn.is-active::before { display: none !important; }

.product-cards {
    display: none !important;
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
    max-width: 1120px;
    margin-inline: auto !important;
    text-align: start;
}
.product-cards.is-active {
    display: flex !important;
    justify-content: center;
    animation: alfaTabIn 360ms var(--alfa-ease) both;
}
.product-cards > [class*="col-"] { display: flex; }
.product-card {
    position: relative;
    display: flex !important;
    width: 100%;
    min-height: 152px;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 20px 62px 20px 20px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(35,33,48,0.045) !important;
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast), background-color var(--alfa-fast) !important;
}
body.alfa-direction-rtl .product-card {
    padding: 20px 20px 20px 62px !important;
}

.product-card::before {
    display: none !important;
}

.product-card::after {
    content: "\f35a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-end: 18px;
    top: 50%;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(var(--alfa-primary-rgb), 0.28);
    border-radius: 50%;
    background: var(--alfa-primary-50);
    color: var(--alfa-primary);
    font-size: 15px;
    transform: translateY(-50%);
    transition:
        transform var(--alfa-fast),
        background-color var(--alfa-fast),
        color var(--alfa-fast),
        border-color var(--alfa-fast);
}

/* RTL */
body.alfa-direction-rtl .product-card::after {
    content: "\f35a";
    transform: translateY(-50%) scaleX(-1);
}

.product-card:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.42) !important;
    box-shadow: 0 14px 32px rgba(35, 33, 48, 0.075) !important;
    transform: translateY(-3px) !important;
}
.product-card:hover::after {
    border-color: var(--alfa-primary);
    background: var(--alfa-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.product-card .card-number {
    position: static !important;
    width: fit-content;
    margin-bottom: 12px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--alfa-primary-100);
    color: var(--alfa-primary) !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.10em;
}
body.alfa-direction-rtl .product-card .card-number { right: auto !important; left: auto !important; }
.product-card h4 {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 0 5px !important;
    color: var(--alfa-ink) !important;
    font-size: clamp(19px, 1.55vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
}
.product-card p {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    max-width: 100%;
    margin: 0 !important;
    overflow: hidden;
    color: var(--alfa-copy) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* =========================================================
   9. Product Taxonomy / Product Cards
   ========================================================= */
.tax-product-subcategoy .flat-spacing-2,
body.tax-product-subcategoy .flat-spacing-2 {
    background: var(--alfa-surface);
}
.wrapper-shop.tf-grid-layout {
    align-items: stretch;
    gap: clamp(20px, 2.2vw, 30px) !important;
}
.wrapper-shop.tf-grid-layout > .card-product,
.tf-btn-swiper-main .swiper-slide > .card-product {
    height: 100%;
}
.tf-btn-swiper-main .swiper-slide { height: auto !important; }
.card-product {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(31,30,43,0.09);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(32,30,48,0.055);
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast);
}
.card-product::after {
    content: "";
    position: absolute;
    inset-inline: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: var(--alfa-primary);
    opacity: 0;
    transform: scaleX(0.35);
    transition: opacity var(--alfa-fast), transform var(--alfa-fast);
}
.card-product:hover {
    border-color: rgba(var(--alfa-primary-rgb),0.34);
    box-shadow: 0 20px 48px rgba(32,30,48,0.095);
    transform: translateY(-6px);
}
.card-product:hover::after { opacity: 1; transform: scaleX(1); }
.card-product_wrapper {
    display: flex;
    min-height: clamp(300px, 27vw, 370px);
    flex: 1 1 auto;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.card-product .product-img {
    position: relative;
    display: flex !important;
    width: 100%;
    min-height: clamp(300px, 27vw, 370px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}
.card-product .product-img img {
    display: block;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none;
    margin: 0;
    padding: 0;
    clip-path: none !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
    transition: transform 520ms var(--alfa-ease), opacity 280ms ease !important;
}
.card-product .product-img .img-hover { display: none !important; }
.card-product:hover .product-img .img-product {
    opacity: 1 !important;
    transform: scale(1.025) !important;
}
.card-product .card-product_info {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: center;
    padding: 18px 20px 20px !important;
    border-top: 1px solid rgba(31,30,43,0.06);
    background: #fff;
    text-align: center;
}
.card-product .name-product {
    display: -webkit-box !important;
    width: 100%;
    margin: 0;
    overflow: hidden;
    color: var(--alfa-ink);
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 1.45;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color var(--alfa-fast);
}
.card-product:hover .name-product { color: var(--alfa-primary); }

/* =========================================================
   10. Single Product
   ========================================================= */
.product-details-simple,
.section-product-single {
    padding-block: var(--alfa-section-space) !important;
    background:
        radial-gradient(circle at 12% 12%, rgba(var(--alfa-primary-rgb), 0.10), transparent 24%),
        #fff !important;
}
.product-details-simple .row {
    align-items: stretch !important;
    --bs-gutter-x: clamp(30px, 4vw, 56px);
}
.product-single-image {
    height: auto;
    min-height: 0;
    display: grid;
    place-items: center;
    background: #fff !important;
}
.product-single-image img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none;
    object-fit: contain !important;
    object-position: center;
    padding: 0;
    transition: transform 800ms var(--alfa-ease);
}
.product-single-image:hover img {
    transform: none;
}
.product-single-content {
    height: 100%;
    padding: clamp(30px, 4vw, 52px) !important;
    border: 1px solid var(--alfa-line);
    border-radius: var(--alfa-radius-xl);
    background: #fff !important;
    box-shadow: var(--alfa-shadow-sm);
}
.product-title {
    margin-bottom: 18px !important;
    color: var(--alfa-ink) !important;
    font-size: clamp(40px, 4.4vw, 62px) !important;
    line-height: 1.03;
}
.product-description {
    margin-bottom: 26px !important;
    color: var(--alfa-copy) !important;
    font-size: 16px;
    line-height: 1.85 !important;
}
.product-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px !important;
    padding: 12px 14px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 12px;
    background: var(--alfa-surface);
    color: var(--alfa-muted) !important;
}
.product-category strong {
    color: var(--alfa-ink) !important;
    font-weight: 650 !important;
}
.product-table-wrap {
    overflow: hidden auto;
    margin-top: 26px;
    border: 1px solid var(--alfa-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--alfa-shadow-xs);
}
.product-details-table {
    min-width: 520px;
    margin: 0 !important;
    background: #fff !important;
}
.product-details-table thead th {
    padding: 15px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--alfa-line) !important;
    background: var(--alfa-surface) !important;
    color: var(--alfa-ink) !important;
    font-size: 12px;
    font-weight: 750 !important;
    letter-spacing: 0.04em;
}
.product-details-table td {
    padding: 16px 18px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(31,30,43,0.06) !important;
    color: var(--alfa-copy) !important;
}
.product-details-table tr:last-child td {
    border-bottom: 0 !important;
}
.color-dot {
    width: 22px !important;
    height: 22px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px rgba(23,23,32,0.22);
}

/* FAQ */
.product-details-simple + .flat-spacing.bg-main,
.single-product .flat-spacing.bg-main {
    background: var(--alfa-surface) !important;
}
.faq-contact {
    display: grid;
    gap: 12px;
}
.faq-contact .accordion-item {
    overflow: hidden;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-xs);
}
.faq-contact .accordion-action {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px !important;
    color: var(--alfa-ink) !important;
    font-size: clamp(20px, 1.9vw, 25px) !important;
    cursor: pointer;
}
.faq-contact .accordion-content {
    padding: 0 22px 20px !important;
}
.faq-contact .accordion-content p {
    margin: 0;
    color: var(--alfa-copy) !important;
}
.faq-contact .ic-accordion-custom {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: var(--alfa-primary-100);
}

/* Product table, variants and taxonomy controls */
.product-table-wrap .table {
    margin: 0 !important;
    color: var(--alfa-copy);
}
.product-table-wrap .table > :not(caption) > * > * {
    padding: 15px 18px !important;
    border-color: var(--alfa-line) !important;
    vertical-align: middle;
}
.product-table-wrap thead th {
    background: var(--alfa-primary-100) !important;
    color: var(--alfa-primary-900) !important;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
}
.product-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.product-colors > span {
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(30,29,43,.16), 0 3px 8px rgba(30,29,43,.12);
}
.meta-filter-shop {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    margin-bottom: 22px;
}
#applied-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#applied-filters .filter-tag,
#applied-filters .item-filter {
    border: 1px solid var(--alfa-line);
    border-radius: 999px;
    background: #fff;
    color: var(--alfa-copy);
}
.remove-all-filters {
    color: var(--alfa-primary-800) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Suggestions */
.single-product .flat-spacing:not(.bg-main) {
    background: #fff;
}
.single-product .tf-btn-swiper-main .card-product {
    box-shadow: none;
}

/* =========================================================
   11. News Archive / Single
   ========================================================= */
.page-template-page-news .flat-spacing-mix-1,
body.post-type-archive-news .flat-spacing-mix-1 {
    background:
        radial-gradient(circle at 86% 0%, rgba(var(--alfa-primary-rgb), 0.12), transparent 24%),
        var(--alfa-surface);
}

.section-blog-detail {
    padding-block: var(--alfa-section-space) !important;
    background: #fff;
}
.section-blog-detail .blog-detail-image {
    max-width: 1120px;
    margin: 0 auto clamp(24px, 2.5vw, 34px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.section-blog-detail .blog-detail-image::after {
    display: none !important;
}
.section-blog-detail .blog-detail-image img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center;
}
.section-blog-detail .blog-detail-content {
    display: grid !important;
    grid-template-columns: minmax(0, 900px);
    justify-content: center;
    gap: 20px !important;
}
.section-blog-detail .col-left,
.section-blog-detail .col-center {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
.section-blog-detail .col-left {
    order: 1;
}
.section-blog-detail .col-center {
    order: 2;
}
.detail_social {
    position: static !important;
    top: auto !important;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--alfa-line);
}
.detail_social > p {
    margin-bottom: 0 !important;
    color: var(--alfa-muted);
    font-size: 10px;
    font-weight: 750 !important;
    letter-spacing: 0.12em;
}
.detail_social .tf-social-icon {
    flex-direction: row !important;
    gap: 8px;
}
.detail_social .tf-social-icon a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--alfa-line);
    border-radius: 50%;
    background: #fff;
    color: var(--alfa-ink);
    transition: transform var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast), border-color var(--alfa-fast);
}
.detail_social .tf-social-icon a:hover {
    border-color: var(--alfa-primary);
    background: var(--alfa-primary);
    color: #fff;
    transform: translateY(-2px);
}
.section-blog-detail .detail_main {
    width: 100%;
    max-width: 900px;
}
.section-blog-detail .step-title {
    margin-bottom: 22px !important;
    color: var(--alfa-ink) !important;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.08;
}
.section-blog-detail .step-desc,
.section-blog-detail .step-desc p,
.section-blog-detail .step-desc li {
    color: var(--alfa-copy) !important;
    font-size: 17px;
    line-height: 1.78;
}
.section-blog-detail .step-desc > *:first-child {
    margin-top: 0 !important;
}
.section-blog-detail .step-desc > *:last-child {
    margin-bottom: 0 !important;
}
.section-blog-detail .step-desc img {
    display: block;
    width: 100%;
    height: auto !important;
    margin-block: 24px;
    border-radius: 18px;
    object-fit: contain !important;
}
.section-blog-detail .step-desc h2,
.section-blog-detail .step-desc h3,
.section-blog-detail .step-desc h4 {
    margin-block: 34px 16px;
}
.section-blog-detail .group-direc {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
}
.section-blog-detail .btn-direc {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 1px solid var(--alfa-line);
    border-radius: 14px;
    background: var(--alfa-surface);
    color: var(--alfa-ink);
    font-size: 12px;
    font-weight: 700;
    transition: transform var(--alfa-fast), border-color var(--alfa-fast), background-color var(--alfa-fast);
}
.section-blog-detail .btn-direc.next {
    justify-content: flex-end;
}
.section-blog-detail .btn-direc:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.38);
    background: var(--alfa-primary-100);
    transform: translateY(-2px);
}
.single-news > .flat-spacing,
body.single-news .flat-spacing {
    background: var(--alfa-surface);
}
body.single-news .section-blog-detail + .flat-spacing {
    padding-top: clamp(44px, 5vw, 68px) !important;
    padding-bottom: clamp(54px, 6vw, 82px) !important;
}

/* =========================================================
   12. Gallery
   ========================================================= */
.media-section {
    position: relative;
    padding-block: var(--alfa-section-space) !important;
    background:
        radial-gradient(circle at 14% 2%, rgba(var(--alfa-primary-rgb), 0.12), transparent 24%),
        #fff !important;
}
.gallery-tabs > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.gallery-tab-buttons {
    display: flex !important;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 54px !important;
    padding: 7px;
    gap: 6px !important;
    border: 1px solid var(--alfa-line);
    border-radius: 999px;
    background: var(--alfa-surface);
}
.gallery-tab-btn {
    min-width: 130px !important;
    padding: 11px 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--alfa-copy) !important;
    font-size: 14px;
    font-weight: 650;
    transition: background-color var(--alfa-fast), color var(--alfa-fast), box-shadow var(--alfa-fast) !important;
}
.gallery-tab-btn:hover {
    background: var(--alfa-primary-100) !important;
    color: var(--alfa-primary-800) !important;
}
.gallery-tab-btn.is-active {
    border: 0 !important;
    background: var(--alfa-primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 22px rgba(var(--alfa-primary-rgb), 0.24);
}
.gallery-tab-content.is-active {
    animation: alfaTabIn 420ms var(--alfa-ease) both;
}
.subcategory-box {
    margin-bottom: 34px !important;
    padding: clamp(22px, 3vw, 34px) !important;
    border: 1px solid var(--alfa-line);
    border-radius: 26px !important;
    background: var(--alfa-surface) !important;
    box-shadow: none !important;
}
.subcategory-title {
    position: relative;
    margin-bottom: 24px !important;
    padding-inline-start: 16px !important;
    border: 0 !important;
    color: var(--alfa-ink);
    font-size: clamp(22px, 2vw, 28px) !important;
}
.subcategory-title::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.15em;
    width: 4px;
    height: 1.15em;
    border-radius: 999px;
    background: var(--alfa-primary);
}
.media-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    border: 1px solid var(--alfa-line);
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-xs);
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast);
}
.media-card:hover {
    border-color: rgba(var(--alfa-primary-rgb),0.36);
    box-shadow: var(--alfa-shadow-md);
    transform: translateY(-6px);
}
.media-card > img,
.media-card > iframe,
.media-card > .gallery-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}
.media-card img {
    object-fit: cover;
    object-position: center;
    transition: transform 800ms var(--alfa-ease);
}
.media-card .gallery-video {
    overflow: hidden;
}
.media-card .gallery-video iframe,
.media-card > iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    border: 0 !important;
}
.media-card:hover img {
    transform: scale(1.035);
}

/* =========================================================
   13. Academy
   ========================================================= */
.page-template-page-academy #wrapper > .flat-spacing:nth-of-type(even) {
    background: var(--alfa-surface);
}
.page-template-page-academy #wrapper > .flat-spacing:first-of-type {
    background:
        radial-gradient(circle at 90% 10%, rgba(var(--alfa-primary-rgb),0.13), transparent 28%),
        #fff;
}
.page-template-page-academy .alfa-program-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--alfa-line);
    border-radius: var(--alfa-radius-xl);
    box-shadow: var(--alfa-shadow-md);
}
.page-template-page-academy section:has(.alfa-heading-light) {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(var(--alfa-primary-rgb), 0.23), transparent 30%),
        var(--alfa-primary) !important;
}
.page-template-page-academy section:has(.alfa-heading-light) .alfa-heading span,
.page-template-page-academy section:has(.alfa-heading-light) .alfa-heading h2,
.page-template-page-academy section:has(.alfa-heading-light) .alfa-heading p {
    color: #fff !important;
}
.page-template-page-academy section:has(.alfa-heading-light) .alfa-heading p {
    opacity: 0.74;
}

.alfa-card,
.alfa-objective,
.alfa-method,
.alfa-accreditation,
.alfa-audience,
.alfa-value {
    position: relative;
    display: flex;
    min-height: 100%;
    height: 100%;
    flex-direction: column;
    align-items: flex-start !important;
    padding: 28px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-xs) !important;
    text-align: start !important;
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast) !important;
}
.alfa-card:hover,
.alfa-objective:hover,
.alfa-method:hover,
.alfa-accreditation:hover,
.alfa-audience:hover,
.alfa-value:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.38) !important;
    box-shadow: var(--alfa-shadow-md) !important;
    transform: translateY(-7px) !important;
}
.alfa-icon,
.alfa-objective > i,
.alfa-accreditation > i,
.alfa-audience > i,
.alfa-value > i {
    display: grid !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px;
    place-items: center;
    margin-bottom: 22px !important;
    border: 1px solid rgba(var(--alfa-primary-rgb),0.20);
    border-radius: 16px !important;
    background: var(--alfa-primary-100) !important;
    color: var(--alfa-primary-800) !important;
    font-size: 22px !important;
}
.alfa-card h4,
.alfa-objective h4,
.alfa-method h4,
.alfa-accreditation h4,
.alfa-audience h4,
.alfa-value h4 {
    margin-bottom: 12px !important;
    color: var(--alfa-ink) !important;
    font-size: 20px !important;
    font-weight: 650 !important;
}
.alfa-card p,
.alfa-objective p,
.alfa-method p,
.alfa-audience p,
.alfa-value p {
    margin-bottom: 0 !important;
    color: var(--alfa-copy) !important;
    font-size: 14px;
    line-height: 1.75;
}

.alfa-content h2 {
    margin-bottom: var(--alfa-heading-gap) !important;
    font-size: var(--alfa-heading-size) !important;
    font-weight: var(--alfa-heading-weight) !important;
    line-height: var(--alfa-heading-line) !important;
}
.alfa-content p {
    color: var(--alfa-copy) !important;
}
.alfa-list {
    display: grid;
    gap: 10px !important;
    margin-top: 24px !important;
}
.alfa-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px !important;
    padding: 12px 14px;
    border: 1px solid var(--alfa-line);
    border-radius: 12px;
    background: rgba(255,255,255,0.7);
    color: var(--alfa-ink-soft);
}
.alfa-list i {
    color: var(--alfa-primary-700) !important;
}

.alfa-training-card {
    min-height: 100%;
    height: 100%;
    padding: 28px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,0.07) !important;
    color: #fff;
    box-shadow: none !important;
    transition: transform var(--alfa-medium), background-color var(--alfa-medium), border-color var(--alfa-fast);
}
.alfa-training-card:hover {
    border-color: rgba(255,255,255,0.24) !important;
    background: rgba(255,255,255,0.11) !important;
    transform: translateY(-7px);
}
.alfa-training-card > i {
    display: grid;
    width: 54px !important;
    height: 54px !important;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(var(--alfa-primary-rgb),0.30) !important;
    color: #fff !important;
}
.alfa-training-card h4 {
    color: #fff !important;
    font-size: 20px !important;
}
.alfa-training-card ul {
    display: grid;
    gap: 8px;
    margin-top: 16px !important;
}
.alfa-training-card li {
    position: relative;
    padding-inline-start: 16px !important;
    color: rgba(255,255,255,0.74) !important;
    font-size: 13px;
}
.alfa-training-card li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--alfa-primary-300);
}

.alfa-method > span {
    display: grid !important;
    width: 42px !important;
    height: 42px !important;
    place-items: center;
    margin-bottom: 22px !important;
    border-radius: 50% !important;
    background: var(--alfa-primary) !important;
    color: #fff !important;
    font-size: 13px;
    font-weight: var(--alfa-number-weight);
    font-variant-numeric: tabular-nums;
}
.alfa-outcome {
    min-height: 72px;
    display: flex;
    height: 100%;
    align-items: center;
    gap: 12px;
    padding: 16px 18px !important;
    border: 1px solid var(--alfa-line);
    border-radius: 14px !important;
    background: var(--alfa-surface) !important;
    color: var(--alfa-ink-soft);
}
.alfa-outcome i {
    color: var(--alfa-primary-700) !important;
}

/* =========================================================
   14. Founder / Executive Profile — Premium CV Rebuild
   ========================================================= */
.dr-profile-page {
    position: relative;
    background: #fff !important;
}
.dr-profile-page > section {
    position: relative;
    overflow: hidden;
}
.dr-profile-page > .flat-spacing {
    padding-block: clamp(62px, 6vw, 92px) !important;
}
.dr-profile-page .alfa-heading {
    max-width: 780px;
    margin: 0 0 38px !important;
    text-align: start !important;
}
.dr-profile-page .alfa-heading.center {
    margin-inline: 0 !important;
}
.dr-profile-page .alfa-heading h2 {
    font-size: clamp(36px, 4vw, 58px) !important;
    line-height: 1.05 !important;
}
.dr-profile-page .alfa-heading > p {
    max-width: 720px !important;
    margin-inline: 0 !important;
    font-size: 16px !important;
    line-height: 1.82 !important;
}

.dr-intro-section {
    padding-block: clamp(64px, 7vw, 104px) !important;
    background:
        radial-gradient(circle at 10% 10%, rgba(var(--alfa-primary-rgb), 0.16), transparent 28%),
        linear-gradient(145deg, #fff 0%, var(--alfa-primary-50) 100%) !important;
}
.dr-intro-section::after {
    content: "";
    position: absolute;
    inset-inline-end: -150px;
    bottom: -190px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(var(--alfa-primary-rgb), 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 44px rgba(var(--alfa-primary-rgb), 0.045), 0 0 0 92px rgba(var(--alfa-primary-rgb), 0.025);
    pointer-events: none;
}
.dr-intro-layout {
    position: relative;
    z-index: 1;
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .78fr) !important;
    gap: clamp(46px, 6vw, 88px) !important;
    align-items: center !important;
}
.dr-intro-content {
    position: relative;
}
.dr-intro-content .dr-label {
    margin-bottom: 20px;
}
.dr-intro-content h1 {
    max-width: 820px;
    margin-bottom: 24px !important;
    color: var(--alfa-ink) !important;
    font-size: clamp(48px, 5.6vw, 80px) !important;
    font-weight: 700 !important;
    line-height: .99 !important;
}
.dr-intro-content > p {
    max-width: 760px;
    margin-bottom: 0 !important;
    color: var(--alfa-copy) !important;
    font-size: 17px !important;
    line-height: 1.88 !important;
}
.dr-intro-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(var(--alfa-primary-rgb), 0.22);
    border-radius: 32px !important;
    background: transparent !important;
    box-shadow: 0 30px 80px rgba(45, 41, 68, 0.17);
}
.dr-intro-image::before {
    content: "";
    position: absolute;
    inset: 12px;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.54);
    border-radius: 23px;
}
.dr-intro-image::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 100%;
    height: 22%;
    background: linear-gradient(180deg, transparent, rgba(26,24,38,.12));
    pointer-events: none;
}
.dr-intro-image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: top center;
}
.dr-intro-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px !important;
    margin-top: 38px !important;
}
.dr-info-box {
    min-height: 110px;
    padding: 18px !important;
    border: 1px solid rgba(var(--alfa-primary-rgb), .18) !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.86) !important;
    box-shadow: 0 12px 34px rgba(39,36,57,.06);
}
.dr-info-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--alfa-primary-800) !important;
    font-size: var(--alfa-number-size) !important;
    font-weight: var(--alfa-number-weight) !important;
}
.dr-info-box span {
    color: var(--alfa-copy) !important;
    font-size: 12px !important;
    line-height: 1.45;
}

.dr-summary-section {
    background: #fff !important;
}
.dr-summary-section .container {
    display: grid;
    grid-template-columns: minmax(250px,.62fr) minmax(0,1.38fr);
    gap: clamp(34px,5vw,74px);
    align-items: start;
}
.dr-summary-section .alfa-heading {
    position: sticky;
    top: 120px;
    margin-bottom: 0 !important;
}
.dr-profile-card {
    position: relative;
    margin: 0;
    padding: clamp(30px,4vw,52px) !important;
    border: 1px solid rgba(var(--alfa-primary-rgb), .18) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(150deg, rgba(var(--alfa-primary-rgb),.09), transparent 44%),
        #fff !important;
    box-shadow: var(--alfa-shadow-sm) !important;
}
.dr-profile-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    inset-inline-start: 24px;
    color: rgba(var(--alfa-primary-rgb),.22);
    font-family: Georgia, serif;
    font-size: 100px;
    line-height: 1;
}
.dr-profile-card p {
    position: relative;
    margin: 0 !important;
    color: var(--alfa-copy) !important;
    font-size: 17px !important;
    line-height: 1.95 !important;
}

.dr-qualifications-section {
    background: var(--alfa-surface) !important;
}
.dr-timeline {
    position: relative;
    max-width: 1020px;
    margin: 0;
    padding-inline-start: 42px !important;
}
.dr-timeline::before {
    content: "";
    position: absolute;
    inset-inline-start: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(var(--alfa-primary), rgba(var(--alfa-primary-rgb),.12));
}
.dr-timeline-item {
    position: relative;
    display: grid !important;
    grid-template-columns: 138px minmax(0,1fr) !important;
    gap: 24px !important;
    align-items: start;
    padding: 0 0 24px !important;
    border: 0 !important;
}
.dr-timeline-item:last-child {
    padding-bottom: 0 !important;
}
.dr-timeline-item::before {
    content: "";
    position: absolute;
    inset-inline-start: -40px;
    top: 19px;
    width: 16px;
    height: 16px;
    border: 4px solid var(--alfa-surface);
    border-radius: 50%;
    background: var(--alfa-primary);
    box-shadow: 0 0 0 1px var(--alfa-primary);
}
.dr-year {
    display: inline-flex !important;
    width: fit-content;
    min-width: 0 !important;
    margin-top: 9px;
    padding: 8px 12px !important;
    border: 1px solid rgba(var(--alfa-primary-rgb),.22) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--alfa-primary-800) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}
.dr-timeline-content {
    padding: 24px 26px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(39,36,57,.05);
}
.dr-timeline-content h3 {
    margin-bottom: 8px !important;
    color: var(--alfa-ink) !important;
    font-size: 21px !important;
}
.dr-timeline-content p {
    margin: 0 !important;
    color: var(--alfa-copy) !important;
}

.dr-grid {
    gap: 20px !important;
}
.dr-experience-section .dr-grid {
    counter-reset: alfa-cv-card;
}
.dr-card,
.dr-list-card,
.dr-membership-card {
    position: relative;
    min-height: 100%;
    padding: 30px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(39,36,57,.05) !important;
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast) !important;
}
.dr-experience-section .dr-card {
    counter-increment: alfa-cv-card;
    padding-top: 70px !important;
}
.dr-experience-section .dr-card::before {
    content: counter(alfa-cv-card, decimal-leading-zero);
    position: absolute;
    top: 26px;
    inset-inline-end: 28px;
    color: rgba(var(--alfa-primary-rgb),.42);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}
.dr-card:hover,
.dr-list-card:hover,
.dr-membership-card:hover {
    border-color: rgba(var(--alfa-primary-rgb),.38) !important;
    box-shadow: var(--alfa-shadow-md) !important;
    transform: translateY(-6px) !important;
}
.dr-period {
    display: inline-flex !important;
    width: fit-content;
    margin-bottom: 18px !important;
    padding: 7px 11px !important;
    border: 1px solid rgba(var(--alfa-primary-rgb),.24);
    border-radius: 999px !important;
    background: var(--alfa-primary-100) !important;
    color: var(--alfa-primary-800) !important;
    font-size: 11px !important;
    font-weight: 800;
}
.dr-card h3,
.dr-membership-card h3 {
    margin-bottom: 11px !important;
    font-size: 21px !important;
}
.dr-card p,
.dr-list-card p,
.dr-membership-card p {
    margin: 0 !important;
    color: var(--alfa-copy) !important;
    line-height: 1.78 !important;
}

.dr-training-section {
    background:
        radial-gradient(circle at 90% 0%, rgba(255,255,255,.12), transparent 30%),
        var(--alfa-brand-gradient) !important;
}
.dr-training-section .alfa-heading > span,
.dr-training-section .alfa-heading h2,
.dr-training-section .alfa-heading p {
    color: #fff !important;
}
.dr-dark-card {
    min-height: 100%;
    padding: 28px !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.10) !important;
    box-shadow: 0 16px 40px rgba(62,57,92,.14);
    backdrop-filter: blur(10px);
    transition: transform var(--alfa-medium), background-color var(--alfa-medium), border-color var(--alfa-fast);
}
.dr-dark-card:hover {
    border-color: rgba(255,255,255,.38) !important;
    background: rgba(255,255,255,.16) !important;
    transform: translateY(-6px);
}
.dr-dark-card h3 { color: #fff !important; }
.dr-dark-card p { color: rgba(255,255,255,.86) !important; }

.dr-sector-section {
    background: #fff !important;
}
.dr-sector-section .dr-grid {
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
}
.dr-list-card {
    padding-inline-start: 58px !important;
}
.dr-list-card::before {
    content: "";
    position: absolute;
    top: 34px !important;
    inset-inline-start: 28px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    background: var(--alfa-primary) !important;
    box-shadow: 0 0 0 6px rgba(var(--alfa-primary-rgb),.10);
}

.dr-knowledge-section {
    background:
        linear-gradient(180deg, var(--alfa-surface) 0%, #fff 100%) !important;
}
.dr-knowledge-section .dr-card {
    border-top: 3px solid var(--alfa-primary) !important;
}

.dr-membership-section {
    background: #fff !important;
}
.dr-membership-card::after {
    content: "";
    position: absolute;
    inset-inline-end: 24px;
    bottom: 24px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--alfa-primary) 0 3px, transparent 4px);
    opacity: .42;
}

.dr-certificates-section {
    background: var(--alfa-surface) !important;
}
.dr-certificates-slider {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 320px) !important;
    gap: 18px !important;
    overflow-x: auto;
    padding: 6px 4px 20px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--alfa-primary) var(--alfa-primary-100);
}
.dr-certificate-card {
    scroll-snap-align: start;
    padding: 20px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-xs) !important;
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium) !important;
}
.dr-certificate-card:hover {
    box-shadow: var(--alfa-shadow-md) !important;
    transform: translateY(-5px) !important;
}
.dr-certificate-logo {
    min-height: 210px !important;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    padding: 10px;
    border-radius: 16px !important;
    background: transparent !important;
}
.dr-certificate-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 190px;
    object-fit: contain;
}
.dr-certificate-card h3 {
    margin: 0 !important;
    font-size: 16px !important;
    text-align: start;
}

/* =========================================================
   15. Contact Page / Forms
   ========================================================= */
.section-contact-page {
    position: relative;
    overflow: hidden;
    padding-block: clamp(42px, 4vw, 60px) !important;
    background: linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%) !important;
}
.section-contact-page::before,
.section-contact-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.section-contact-page::before {
    width: 320px;
    height: 320px;
    inset-inline-end: -130px;
    top: 30px;
    background: rgba(var(--alfa-primary-rgb),0.10);
}
.section-contact-page::after {
    width: 220px;
    height: 220px;
    inset-inline-start: -100px;
    bottom: 130px;
    border: 45px solid rgba(var(--alfa-primary-rgb),0.055);
}
.section-contact-page > .container { position: relative; z-index: 1; }
.section-contact-page .row.align-items-start {
    --bs-gutter-x: clamp(22px, 3vw, 34px);
    --bs-gutter-y: 18px;
    align-items: stretch !important;
}
.section-contact-page .row.align-items-start > [class*="col-"] { display: flex; }
.contact-form-box,
.contact-info-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: clamp(24px, 2.7vw, 34px) !important;
    border-radius: 24px !important;
}
.contact-form-box {
    border: 1px solid var(--alfa-line) !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 18px 48px rgba(32,30,48,0.075) !important;
}
.contact-form-box .sect-heading-v2 { max-width: 650px; margin-bottom: 20px !important; }
.contact-form-box .s-title {
    margin-bottom: var(--alfa-heading-gap) !important;
    font-size: var(--alfa-heading-size) !important;
    line-height: var(--alfa-heading-line) !important;
}
.contact-form-box .s-desc { max-width: 610px; margin: 0 !important; }
.contact-info-box {
    position: relative;
    border: 1px solid var(--alfa-primary) !important;
    background: var(--alfa-primary) !important;
    color: #fff;
    box-shadow: 0 18px 48px rgba(var(--alfa-primary-rgb),0.24) !important;
}
.contact-info-box::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    inset-inline-end: -110px;
    top: -105px;
    border: 42px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    pointer-events: none;
}
.contact-info-box > * { position: relative; z-index: 1; }
.contact-info-box .eyebrow-label { color: #fff !important; opacity: 0.82; }
.contact-info-box .br-dot { background: #fff !important; }
.contact-info-box .s-title {
    color: #fff !important;
    font-size: var(--alfa-heading-size) !important;
    line-height: var(--alfa-heading-line) !important;
}
.contact-info-list {
    display: grid;
    gap: 12px !important;
}
.contact-info-list .box-infor {
    display: flex;
    align-items: flex-start;
    gap: 14px !important;
    padding: 14px 15px !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    border-radius: 15px !important;
    background: rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--alfa-fast), border-color var(--alfa-fast), background-color var(--alfa-fast) !important;
}
.contact-info-list .box-infor:hover {
    border-color: rgba(255,255,255,0.40) !important;
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-3px);
}
.contact-info-list .ic-wrap {
    display: grid !important;
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.24) !important;
    border-radius: 15px !important;
    background: #fff !important;
    color: var(--alfa-primary) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.contact-info-list .ic-wrap i { font-size: 19px !important; }
.contact-info-list .infor-title {
    margin: 0 0 4px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.contact-info-list .infor-desc,
.contact-info-list .infor-desc p {
    margin: 0 !important;
    color: rgba(255,255,255,0.82) !important;
}
.contact-text-link {
    color: #fff !important;
    font-weight: 550;
    font-size: 18px;
    text-decoration: none !important;
    transition: opacity var(--alfa-fast), transform var(--alfa-fast) !important;
}
.contact-text-link:hover { color: #fff !important; opacity: 0.78; }
.contact-extra {
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.72) !important;
    font-size: 13px;
}
.contact-map-box {
    position: relative;
    overflow: hidden;
    margin-top: 20px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 28px !important;
    background: #fff;
    box-shadow: 0 18px 48px rgba(32,30,48,0.075) !important;
}
.contact-map-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 7px solid rgba(255,255,255,0.78);
    border-radius: inherit;
    pointer-events: none;
}
.contact-map-box iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

/* Contact Form 7 */
.wpcf7-form { display: grid; gap: 13px; }
.wpcf7-form .row { --bs-gutter-x: 12px; --bs-gutter-y: 12px; }
.wpcf7-form p { margin: 0; }
.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--alfa-ink-soft);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.02em;
}
body.alfa-direction-rtl .wpcf7-form label { letter-spacing: 0; }
.wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.wpcf7-form select,
.wpcf7-form textarea,
.testing-request-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.testing-request-form select,
.testing-request-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--alfa-line-strong) !important;
    border-radius: 13px !important;
    background: var(--alfa-surface) !important;
    color: var(--alfa-ink) !important;
    font-size: 14px;
    outline: none;
    box-shadow: none !important;
    transition: border-color var(--alfa-fast), box-shadow var(--alfa-fast), background-color var(--alfa-fast), transform var(--alfa-fast);
}
.wpcf7-form textarea,
.testing-request-form textarea { min-height: 116px; resize: vertical; }
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus,
.testing-request-form input:focus,
.testing-request-form select:focus,
.testing-request-form textarea:focus {
    border-color: var(--alfa-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(var(--alfa-primary-rgb),0.13) !important;
}
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    min-height: 48px;
    padding: 11px 22px !important;
    border: 1px solid var(--alfa-primary) !important;
    border-radius: 999px !important;
    background: var(--alfa-primary) !important;
    color: #fff !important;
    font-weight: 750 !important;
    box-shadow: 0 10px 24px rgba(var(--alfa-primary-rgb),0.24);
    transition: transform var(--alfa-fast), box-shadow var(--alfa-fast), opacity var(--alfa-fast) !important;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(var(--alfa-primary-rgb),0.30);
}
.wpcf7-not-valid-tip { margin-top: 6px; color: var(--alfa-danger) !important; font-size: 12px; }
.wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0 !important;
    padding: 12px 14px !important;
    border-width: 1px !important;
    border-radius: 12px;
    font-size: 13px;
}
.quote-fields {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 480ms var(--alfa-ease), opacity 280ms ease;
}
.quote-fields.active { max-height: 900px; opacity: 1; }

/* =========================================================
   16. Lab Test
   ========================================================= */
.testing-request-section {
    position: relative;
    padding-block: var(--alfa-section-space) !important;
    background:
        radial-gradient(circle at 12% 3%, rgba(var(--alfa-primary-rgb),0.14), transparent 25%),
        var(--alfa-surface) !important;
}
.testing-request-section > .container > .text-center {
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 30px !important;
}
.testing-request-section > .container > .text-center h2 {
    margin-bottom: var(--alfa-heading-gap);
    font-size: var(--alfa-heading-size);
    font-weight: var(--alfa-heading-weight) !important;
    line-height: var(--alfa-heading-line);
}
.testing-request-section > .container > .text-center p {
    color: var(--alfa-copy) !important;
}
.testing-request-form {
    max-width: 1120px;
    margin-inline: auto;
    padding: clamp(26px, 4vw, 44px) !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 28px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-sm) !important;
}
.testing-grid {
    gap: 18px !important;
}
.testing-grid.testing-grid--two {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
}
.testing-grid.testing-grid--two > [class*="col-"] {
    flex: 0 0 calc(50% - 9px) !important;
    width: calc(50% - 9px) !important;
    max-width: calc(50% - 9px) !important;
}
.testing-grid.testing-grid--two > .testing-box {
    flex: 0 0 calc(50% - 9px);
    width: calc(50% - 9px);
}
.testing-box {
    padding: 22px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 18px !important;
    background: var(--alfa-surface) !important;
}
.testing-box h5,
.testing-box h6 {
    color: var(--alfa-ink) !important;
}
.testing-box label,
.items-multiselect label,
.wpcf7-list-item label {
    color: var(--alfa-ink-soft) !important;
}
.items-multiselect {
    gap: 10px !important;
}
.items-multiselect label {
    min-height: 50px;
    padding: 12px 14px !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    transition: border-color var(--alfa-fast), background-color var(--alfa-fast);
}
.items-multiselect label:hover {
    border-color: rgba(var(--alfa-primary-rgb),0.38) !important;
    background: var(--alfa-primary-50) !important;
}
.items-multiselect input,
.testing-box input[type="checkbox"],
.wpcf7-list-item input[type="checkbox"],
.wpcf7-list-item input[type="radio"] {
    accent-color: var(--alfa-primary) !important;
}
.item-tests {
    margin-top: 18px;
    animation: alfaTabIn 300ms var(--alfa-ease) both;
}
.reference-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.reference-row span {
    color: var(--alfa-muted);
    font-size: 12px;
}

/* =========================================================
   17. Footer
   ========================================================= */
.alfa-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    background: var(--alfa-primary) !important;
    color: #fff;
}
.alfa-footer::before {
    content: "";
    position: absolute;
    top: -220px;
    right: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 68%);
    pointer-events: none;
}
.alfa-footer-main {
    position: relative;
    padding-block: 72px 56px !important;
    background: transparent !important;
}
.alfa-footer .row { --bs-gutter-x: clamp(34px, 5vw, 72px); }
.alfa-footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    height: 112px;
    max-width: 100%;
    overflow: hidden;
    margin-inline: auto;
    margin-bottom: 22px;
}
.alfa-footer-logo img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% ;
    max-height: none;
    object-fit: cover;
    object-position: center;
    filter: brightness(0) invert(1);
    opacity: 1;
}
.alfa-footer-column h4 {
    position: relative;
    margin-bottom: 22px !important;
    padding-bottom: 12px;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
.alfa-footer-column h4::after {
    inset-inline-start: 0 !important;
    bottom: 0 !important;
    width: 36px !important;
    height: 2px !important;
    border-radius: 999px;
    background: rgba(255,255,255,0.78) !important;
}
.alfa-footer-links { display: grid; gap: 8px !important; }
.alfa-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-block: 4px !important;
    color: rgba(255,255,255,0.76) !important;
    font-size: 14px;
    transition: color var(--alfa-fast), transform var(--alfa-fast) !important;
}
.alfa-footer-links a::before {
    width: 5px !important;
    height: 5px !important;
    border: 0 !important;
    border-radius: 50%;
    background: #fff !important;
    opacity: 0.58;
}
.alfa-footer-links a:hover { color: #fff !important; transform: translateX(4px); }
body.alfa-direction-rtl .alfa-footer-links a:hover { transform: translateX(-4px); }
.alfa-footer-contact { display: grid; gap: 10px !important; }
.alfa-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px !important;
    padding: 13px 14px !important;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    background: rgba(255,255,255,0.07);
    transition: background-color var(--alfa-fast), border-color var(--alfa-fast), transform var(--alfa-fast);
}
.alfa-footer-contact li:hover {
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.11);
    transform: translateY(-2px);
}
.alfa-footer-contact .contact-icon {
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,0.11) !important;
    color: #fff !important;
}
.alfa-footer-contact div > span {
    display: block;
    margin-bottom: 3px;
    color: rgba(255,255,255,0.58) !important;
    font-size: 10px !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.alfa-footer-contact a { color: rgba(255,255,255,0.86) !important; font-size: 13px; line-height: 1.55; }
.alfa-footer-contact a:hover { color: #fff !important; }
.alfa-footer-social { display: flex; gap: 9px !important; }
.alfa-footer-social a {
    display: grid !important;
    width: 43px !important;
    height: 43px !important;
    place-items: center;
    border: 1px solid rgba(255,255,255,0.17) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.09) !important;
    color: #fff !important;
    transition: transform var(--alfa-fast), background-color var(--alfa-fast), border-color var(--alfa-fast) !important;
}
.alfa-footer-social a:hover {
    border-color: #fff !important;
    background: #fff !important;
    color: var(--alfa-primary) !important;
    transform: translateY(-3px) !important;
}
.alfa-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.06) !important;
}
.alfa-footer-bottom-content {
    min-height: 76px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-block: 19px;
}
.alfa-footer-bottom-content p {
    margin: 0 !important;
    color: rgba(255,255,255,0.78) !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.alfa-footer-bottom-content a { color: #fff !important; font-weight: 750; }
.alfa-footer-bottom-content a:hover { opacity: 0.82; }

/* =========================================================
   18. Scroll-to-top / Preloader
   ========================================================= */
#goTop {
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--alfa-line);
    border-radius: 16px;
    background: rgba(255,255,255,0.92);
    color: var(--alfa-ink);
    box-shadow: var(--alfa-shadow-sm);
    backdrop-filter: blur(10px);
}
body.alfa-direction-rtl #goTop {
    right: auto;
    left: 22px;
}
#goTop:hover {
    background: var(--alfa-primary);
    color: #fff;
}
#goTop .border-progress {
    border-color: var(--alfa-primary) !important;
}
.preload-container {
    background: #fff !important;
}
.preload-logo .spinner {
    border-color: rgba(var(--alfa-primary-rgb),0.18) !important;
    border-top-color: var(--alfa-primary) !important;
}

/* =========================================================
   19. Motion / Reveal
   ========================================================= */
.alfa-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--alfa-ease), transform 700ms var(--alfa-ease);
    transition-delay: var(--alfa-reveal-delay, 0ms);
    will-change: opacity, transform;
}
.alfa-reveal.alfa-reveal-left {
    transform: translateX(-28px);
}
.alfa-reveal.alfa-reveal-right {
    transform: translateX(28px);
}
body.alfa-direction-rtl .alfa-reveal.alfa-reveal-left {
    transform: translateX(28px);
}
body.alfa-direction-rtl .alfa-reveal.alfa-reveal-right {
    transform: translateX(-28px);
}
.alfa-reveal.alfa-reveal-scale {
    transform: scale(0.965);
}
.alfa-reveal.is-visible {
    opacity: 1;
    transform: none !important;
}

/* =========================================================
   20. Responsive — Laptop / Tablet / Mobile
   ========================================================= */
@media (max-width: 1399px) {
    :root { --alfa-container: 1200px; }
    .tf-header .box-nav-menu { gap: 14px; }
    .header-v2.hd-v2_s2 .item-link { font-size: 13px; }
    .tf-header .logo-site { width: 238px; height: 93px; flex-basis: 238px; }
}

@media (max-width: 1199px) {
    
    :root { --alfa-section-space: clamp(48px, 5vw, 66px); }
    html { scroll-padding-top: 88px; }

    .header-v2 .header-inner,
    .header-v2.hd-v2_s2 .header-inner,
    .header-v2 .header-inner_wrap {
        min-height: 76px;
    }
    .tf-header .header-inner_wrap {
        position: relative;
        justify-content: center;
    }
    .tf-header .header-left {
        position: absolute;
        inset-inline-start: 0;
        left: auto !important;
    }
    .tf-header .header-center {
        justify-content: center;
    }
    .tf-header .logo-site {
        width: 224px;
        height: 87px;
        flex-basis: 224px;
    }

    .responsive-page-banner,
    .tf-page-heading.responsive-page-banner {
        --alfa-banner-height: 390px;
        background-image: var(--banner-laptop, var(--banner-desktop, none)) !important;
    }

    .dr-intro-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) !important;
        gap: 44px !important;
    }
    .dr-intro-stats { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 991px) {
    .container {
        width: min(100% - 32px, var(--alfa-container));
    }
    .flat-spacing,
    .flat-spacing-2,
    .flat-spacing-mix-1 {
        padding-block: 44px;
    }
    .sect-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
    .sect-heading .tf-btn-icon { margin-top: 0; }

    .responsive-page-banner,
    .tf-page-heading.responsive-page-banner {
        --alfa-banner-height: 340px;
        background-image: var(--banner-tablet, var(--banner-laptop, var(--banner-desktop, none))) !important;
    }
    .responsive-page-banner .page-title {
        font-size: clamp(38px, 7vw, 58px) !important;
    }

    .alfa-auto-slider .swiper-wrapper,
    .alfa-auto-slider .swiper-slide,
    .alfa-auto-slider .slideshow-v03,
    .alfa-auto-slider .sld-image {
        height: auto !important;
    }

    .about-media-box img {
        height: auto;
        min-height: 0;
    }
    .about-page > section.flat-spacing:first-of-type .about-media-box {
        min-height: 390px;
    }
    .about-page > section.flat-spacing:first-of-type .about-media-box img {
        height: 100% !important;
        min-height: 390px;
        object-fit: cover;
    }
    .about-page #company-direction-section .about-media-box,
    .about-page #manufacturing-method-section .about-media-box,
    .about-page #manufacturing-equipments-section .about-media-box {
        min-height: 360px;
    }

    .product-single-image {
        min-height: 0;
    }
    .product-single-content {
        padding: 30px !important;
    }

    .section-blog-detail .blog-detail-content {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .detail_social {
        position: static !important;
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .detail_social > p { margin-bottom: 0 !important; }
    .detail_social .tf-social-icon {
        flex-direction: row !important;
    }

    .dr-intro-layout {
        grid-template-columns: 1fr !important;
    }
    .dr-intro-image {
        width: min(100%, 520px);
        margin-inline: auto;
        order: -1;
    }
    .dr-intro-image img { height: 100% !important; }
    .dr-summary-section .container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .dr-summary-section .alfa-heading {
        position: static;
    }
    .dr-profile-page .alfa-heading {
        max-width: 760px;
    }

    .alfa-footer-main { padding-block: 64px 50px !important; }
    .alfa-footer-brand { margin-bottom: 8px; }
    .alfa-footer-logo { width: 252px; height: 101px; }
}

@media (max-width: 767px) {
    :root {
        --alfa-radius-xl: 28px;
        --alfa-section-space: 44px;
    }
    html { scroll-padding-top: 82px; }
    body { font-size: 15px; }
    .container { width: min(100% - 28px, var(--alfa-container)); }

    .flat-spacing,
    .flat-spacing-2,
    .flat-spacing-mix-1 {
        padding-block: 44px;
    }

    .sect-heading .s-title,
    .sect-heading-v2 .s-title,
    .alfa-heading h2,
    .about-heading h2,
    .section-heading h2,
    .section-title,
    .about-title {
        font-size: var(--alfa-heading-size-mobile) !important;
    }
    .eyebrow-label,
    .section-label,
    .alfa-heading > span,
    .alfa-small-title,
    .dr-label {
        font-size: 11px;
    }

    .header-v2 .header-inner,
    .header-v2.hd-v2_s2 .header-inner,
    .header-v2 .header-inner_wrap { min-height: 72px; }
    .tf-header .logo-site { width: 186px; height: 72px; flex-basis: 186px; }
    .box-btn-open-menu a { width: 40px; height: 40px; border-radius: 12px; }

    .responsive-page-banner,
    .tf-page-heading.responsive-page-banner {
        --alfa-banner-height: 300px;
        min-height: 300px !important;
        height: 300px !important;
        background-image: var(--banner-mobile, var(--banner-tablet, var(--banner-laptop, var(--banner-desktop, none)))) !important;
    }
    .responsive-page-banner .content {
        padding-block: 34px;
    }
    .responsive-page-banner .page-title {
        padding: 0 !important;
        font-size: clamp(34px, 10.5vw, 48px) !important;
    }

    .alfa-auto-slider .swiper-wrapper,
    .alfa-auto-slider .swiper-slide,
    .alfa-auto-slider .slideshow-v03,
    .alfa-auto-slider .sld-image {
        height: auto !important;
    }

    .about-media-box,
    .product-single-image,
    .blog-detail-image,
    .contact-map-box { border-radius: 24px !important; }
    .about-media-box img { height: auto; }
    .about-page > section.flat-spacing:first-of-type .about-media-box { min-height: 330px; }
    .about-page > section.flat-spacing:first-of-type .about-media-box img { height: 100% !important; min-height: 330px; }
    .about-page #company-direction-section .col-lg-5,
    .about-page #manufacturing-method-section .col-lg-5,
    .about-page #manufacturing-equipments-section .col-lg-5 {
        display: block;
    }
    .about-page #company-direction-section .about-media-box,
    .about-page #manufacturing-method-section .about-media-box,
    .about-page #manufacturing-equipments-section .about-media-box {
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .about-page #company-direction-section .about-media-box img,
    .about-page #manufacturing-method-section .about-media-box img,
    .about-page #manufacturing-equipments-section .about-media-box img {
        height: 100% !important;
        min-height: 0;
        object-fit: cover !important;
    }
    .certificate-image {
        height: 360px;
        min-height: 240px;
        padding: 14px;
    }
    .about-play-btn { width: 64px !important; height: 64px !important; font-size: 21px !important; }

    .section-category .collection-v02 {
        min-height: 170px;
        padding: 20px 12px;
    }
    .section-category .collection-v02 .cls-image {
        width: 92px;
        height: 92px;
        border-radius: 24px;
    }
    .section-category .collection-v02 .cls-image img {
        width: 78px !important;
        height: 78px !important;
    }

    .facts-card { min-height: 250px; }

    .article-blog .blog-content { min-height: 132px; padding: 20px; }
    .article-blog .blog_name { font-size: 23px !important; }

    .about-page .about-section { padding-block: 32px; }
    .about-tabs-box { padding: 20px !important; }
    .about-tabs-buttons { grid-template-columns: 1fr !important; }
    .about-tabs-buttons label { min-height: 50px !important; }

    .alfa-cta {
        margin-inline: 12px !important;
        border-radius: 26px;
        text-align: start;
    }
    .alfa-cta .text-lg-end { text-align: start !important; }

    .products-section { padding-block: 32px; }
    .category-buttons {
        width: 100% !important;
        justify-content: stretch;
        gap: 10px !important;
        margin-bottom: 32px !important;
    }
    .category-btn {
        min-width: 0 !important;
        min-height: 50px;
        flex: 1 1 calc(50% - 5px);
        padding-inline: 14px !important;
    }
    .product-card { min-height: 145px; padding: 18px 58px 18px 18px !important; }
    body.alfa-direction-rtl .product-card { padding: 18px 18px 18px 58px !important; }
    .product-card .card-number { margin-bottom: 10px; }

    .wrapper-shop.tf-grid-layout { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .card-product .product-img { min-height: 280px; padding: 0; }

    .product-details-simple,
    .section-product-single { padding-block: 32px; }
    .product-single-image { min-height: 0; }
    .product-single-content { padding: 26px !important; border-radius: 24px; }
    .product-title { font-size: clamp(34px, 10vw, 46px) !important; }
    .faq-contact .accordion-action { padding: 16px 18px !important; }
    .faq-contact .accordion-content { padding: 0 18px 18px !important; }

    .section-blog-detail { padding-block: 32px; }
    .section-blog-detail .blog-detail-image img { aspect-ratio: auto !important; }
    .section-blog-detail .step-title { font-size: 34px !important; }
    .section-blog-detail .step-desc,
    .section-blog-detail .step-desc p,
    .section-blog-detail .step-desc li { font-size: 15.5px; }
    .section-blog-detail .group-direc { grid-template-columns: 1fr; }
    .section-blog-detail .btn-direc.next { justify-content: flex-start; }

    .gallery-tab-buttons {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr));
        border-radius: 18px;
        margin-bottom: 36px !important;
    }
    .gallery-tab-btn { min-width: 0 !important; }
    .subcategory-box { padding: 20px !important; border-radius: 20px !important; }
    .media-card { aspect-ratio: 4 / 3; }
    .media-card img,
    .media-card iframe,
    .media-card .gallery-video,
    .media-card .gallery-video iframe { min-height: 0 !important; }

    .page-template-page-academy .alfa-program-image { height: auto; border-radius: 24px; }
    .alfa-card,
    .alfa-objective,
    .alfa-method,
    .alfa-accreditation,
    .alfa-audience,
    .alfa-value,
    .alfa-training-card { padding: 24px !important; }

    .dr-profile-page > .flat-spacing { padding-block: 50px !important; }
    .dr-intro-section { padding-block: 48px !important; }
    .dr-intro-image { border-radius: 24px !important; }
    .dr-intro-image img { height: 100% !important; }
    .dr-intro-content h1 { font-size: clamp(40px, 12vw, 56px) !important; }
    .dr-intro-stats { grid-template-columns: repeat(2,1fr); }
    .dr-profile-page .alfa-heading { margin-bottom: 28px !important; }
    .dr-timeline { padding-inline-start: 28px !important; }
    .dr-timeline-item { grid-template-columns: 1fr !important; gap: 10px !important; }
    .dr-timeline-item::before { inset-inline-start: -27px; top: 16px; }
    .dr-year { margin-top: 0; }
    .dr-grid.two,
    .dr-grid.three { grid-template-columns: 1fr !important; }
    .dr-certificates-slider { grid-auto-columns: minmax(230px, 82vw) !important; }

    .contact-form-box,
    .contact-info-box { padding: 24px !important; border-radius: 22px !important; }
    .contact-map-box iframe { height: 340px; }

    .testing-request-section { padding-block: 32px; }
    .testing-request-form { padding: 22px !important; border-radius: 22px !important; }
    .testing-grid.testing-grid--two > [class*="col-"],
    .testing-grid.testing-grid--two > .testing-box {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .testing-box { padding: 18px !important; }
    .reference-row { flex-direction: column; align-items: stretch; }

    .alfa-footer-main { padding-block: 54px 42px !important; }
    .alfa-footer-logo { width: 232px; height: 93px; }
    .alfa-footer-bottom-content {
        min-height: 0;
        flex-direction: column;
        align-items: center;
        padding-block: 18px 22px;
    }
}

@media (max-width: 575px) {
    .gallery-tab-buttons {
        grid-template-columns: 1fr;
    }
    .category-btn {
        flex-basis: 100%;
    }
    .wrapper-shop.tf-grid-layout {
        grid-template-columns: 1fr !important;
    }
    .product-single-image { min-height: 0; }
    .product-details-table { min-width: 460px; }
    .dr-intro-stats { grid-template-columns: 1fr; }
    .dr-info-box { min-height: 88px; }
    .items-multiselect { grid-template-columns: 1fr !important; }
}

@media (max-width: 390px) {
    .container { width: min(100% - 22px, var(--alfa-container)); }
    .canvas-mb { width: 96vw !important; }
    .canvas-mb .canvas-header,
    .canvas-mb .canvas-body,
    .canvas-mb .canvas-footer { padding-inline: 16px; }
    .responsive-page-banner,
    .tf-page-heading.responsive-page-banner {
        --alfa-banner-height: 270px;
        min-height: 270px !important;
        height: 270px !important;
    }
    .responsive-page-banner .page-title { font-size: 34px !important; }
    .alfa-auto-slider .swiper-wrapper,
    .alfa-auto-slider .swiper-slide,
    .alfa-auto-slider .slideshow-v03,
    .alfa-auto-slider .sld-image { height: auto !important; }
    .about-media-box img { height: auto; }
    .product-card { min-height: 138px; padding: 18px 56px 18px 18px !important; }
    body.alfa-direction-rtl .product-card { padding: 18px 18px 18px 56px !important; }
    .product-single-content { padding: 22px !important; }
    .contact-form-box,
    .contact-info-box { padding: 20px !important; }
}


/* Final responsive alignment for updated systems */
@media (max-width: 991px) {
    .category-buttons {
        width: fit-content !important;
        max-width: 100%;
        justify-content: center;
        gap: 5px !important;
        margin-bottom: 24px !important;
        padding: 5px !important;
    }
    .category-btn {
        min-width: 116px !important;
        min-height: 40px;
        flex: 0 1 auto;
        padding: 8px 14px !important;
    }
    .product-card h4 { font-size: 20px !important; }
    .card-product_wrapper,
    .card-product .product-img { min-height: 280px; }
    .card-product .product-img img { max-height: none; }
    .contact-info-box { order: 0; }
    .contact-map-box iframe { height: 320px; }
    .alfa-footer-bottom-content p { font-size: 14px !important; }
}
@media (max-width: 767px) {
    .category-buttons {
        display: grid !important;
        width: 100% !important;
        grid-template-columns: repeat(2, minmax(0,1fr));
        border-radius: 18px !important;
    }
    .category-btn { width: 100%; min-width: 0 !important; }
    .product-cards { --bs-gutter-y: 14px; }
    .product-card,
    body.alfa-direction-rtl .product-card {
        min-height: 132px;
        padding-block: 17px !important;
    }
    .card-product_wrapper,
    .card-product .product-img { min-height: 270px; }
    .card-product .product-img img { max-height: none; }
    .contact-form-box,
    .contact-info-box { padding: 20px !important; border-radius: 20px !important; }
    .contact-info-list .box-infor { padding: 13px 14px !important; }
    .alfa-footer-logo { width: 224px; height: 90px; }
}
@media (max-width: 575px) {
    .category-buttons { grid-template-columns: 1fr; }
    .product-card h4 { font-size: 19px !important; }
    .product-card p { -webkit-line-clamp: 2; }
    .card-product_wrapper,
    .card-product .product-img { min-height: 285px; }
    .card-product .product-img img { max-height: none; }
    .contact-form-box .s-title,
    .contact-info-box .s-title { font-size: var(--alfa-heading-size-mobile) !important; }
    .contact-map-box iframe { height: 280px; }
    .alfa-footer-logo { width: 210px; height: 84px; }
}


/* =========================================================
   21. Final Typography + Home Composition Refinement
   ========================================================= */
/* One main-heading system across page heroes and section titles. */
.responsive-page-banner .page-title,
.about-title,
.section-title,
.sect-heading .s-title,
.sect-heading-v2 .s-title,
.alfa-heading h2,
.about-heading h2,
.section-heading h2,
.facts-main-title,
.alfa-content > h2,
.alfa-cta h2,
.dr-profile-page .alfa-heading h2,
.dr-intro-content h1,
.product-title,
.testing-request-section > .container > .text-center h2,
.contact-form-box .s-title,
.contact-info-box .s-title,
.about-page #company-direction-section h2,
.about-page #manufacturing-method-section h2,
.about-page #manufacturing-equipments-section h2,
.about-page #certificates-section h2 {
    margin-bottom: var(--alfa-heading-gap) !important;
    font-size: var(--alfa-heading-size) !important;
    font-weight: var(--alfa-heading-weight) !important;
    line-height: var(--alfa-heading-line) !important;
    letter-spacing: -0.035em;
}
body.alfa-direction-rtl .responsive-page-banner .page-title,
body.alfa-direction-rtl .about-title,
body.alfa-direction-rtl .section-title,
body.alfa-direction-rtl .sect-heading .s-title,
body.alfa-direction-rtl .sect-heading-v2 .s-title,
body.alfa-direction-rtl .alfa-heading h2,
body.alfa-direction-rtl .about-heading h2,
body.alfa-direction-rtl .section-heading h2,
body.alfa-direction-rtl .facts-main-title,
body.alfa-direction-rtl .alfa-content > h2,
body.alfa-direction-rtl .alfa-cta h2,
body.alfa-direction-rtl .dr-intro-content h1,
body.alfa-direction-rtl .product-title {
    letter-spacing: 0;
}

/* Display numbers share the same rhythm and tabular alignment. */
.facts-title,
.dr-info-box strong {
    font-family: "Geist", "Almarai", Arial, sans-serif !important;
    font-size: var(--alfa-number-size) !important;
    font-weight: var(--alfa-number-weight) !important;
    line-height: 1 !important;
    letter-spacing: -0.025em;
    font-variant-numeric: tabular-nums lining-nums;
}
body.alfa-direction-rtl .facts-title,
body.alfa-direction-rtl .dr-info-box strong {
    font-family: "Almarai", Arial, sans-serif !important;
    letter-spacing: 0;
}
.dr-year,
.alfa-method > span,
.product-card .card-number {
    font-variant-numeric: tabular-nums lining-nums;
}

/* Homepage now follows the same premium visual cadence as inner pages. */
body.page-template-page-home #wrapper > .flat-spacing,
body.home #wrapper > .flat-spacing {
    position: relative;
}
body.page-template-page-home #wrapper > .flat-spacing:first-of-type,
body.home #wrapper > .flat-spacing:first-of-type {
    padding-block: clamp(54px, 5vw, 74px);
}
body.page-template-page-home #wrapper > .flat-spacing:first-of-type .row,
body.home #wrapper > .flat-spacing:first-of-type .row {
    align-items: stretch !important;
    --bs-gutter-x: clamp(28px, 4.5vw, 66px);
    --bs-gutter-y: 28px;
}
body.page-template-page-home #wrapper > .flat-spacing:first-of-type .col-lg-6,
body.home #wrapper > .flat-spacing:first-of-type .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
body.page-template-page-home #wrapper > .flat-spacing:first-of-type .about-media-box,
body.home #wrapper > .flat-spacing:first-of-type .about-media-box {
    width: 100%;
    height: 100%;
    min-height: clamp(390px, 38vw, 540px);
    border-radius: 28px !important;
}
body.page-template-page-home #wrapper > .flat-spacing:first-of-type .about-media-box img,
body.home #wrapper > .flat-spacing:first-of-type .about-media-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}
body.page-template-page-home .section-category,
body.home .section-category {
    border-block: 1px solid rgba(31,30,43,0.055);
}
body.page-template-page-home .section-category .flat-spacing,
body.home .section-category .flat-spacing {
    padding-block: clamp(46px, 4vw, 62px) 40px;
}
body.page-template-page-home .facts-awesome-section,
body.home .facts-awesome-section {
    padding-block: clamp(54px, 5vw, 72px) !important;
}
body.page-template-page-home .facts-card,
body.home .facts-card {
    min-height: 250px;
    padding: 26px 20px !important;
}
body.page-template-page-home #wrapper > .flat-spacing.pt-0,
body.home #wrapper > .flat-spacing.pt-0 {
    padding-top: clamp(50px, 4.5vw, 68px) !important;
    padding-bottom: clamp(54px, 5vw, 72px);
    background: linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
body.page-template-page-home #wrapper > .flat-spacing.pt-0::before,
body.home #wrapper > .flat-spacing.pt-0::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(calc(100% - 40px), var(--alfa-container));
    height: 1px;
    background: var(--alfa-line);
    transform: translateX(-50%);
}
body.page-template-page-home .article-blog,
body.home .article-blog {
    border-radius: 20px;
}
body.page-template-page-home .article-blog:hover,
body.home .article-blog:hover {
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .responsive-page-banner .page-title,
    .about-title,
    .section-title,
    .sect-heading .s-title,
    .sect-heading-v2 .s-title,
    .alfa-heading h2,
    .about-heading h2,
    .section-heading h2,
    .facts-main-title,
    .alfa-content > h2,
    .alfa-cta h2,
    .dr-profile-page .alfa-heading h2,
    .dr-intro-content h1,
    .product-title,
    .testing-request-section > .container > .text-center h2,
    .contact-form-box .s-title,
    .contact-info-box .s-title,
    .about-page #company-direction-section h2,
    .about-page #manufacturing-method-section h2,
    .about-page #manufacturing-equipments-section h2,
    .about-page #certificates-section h2 {
        font-size: var(--alfa-heading-size-mobile) !important;
    }
    body.page-template-page-home #wrapper > .flat-spacing:first-of-type .about-media-box,
    body.home #wrapper > .flat-spacing:first-of-type .about-media-box {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    body.page-template-page-home #wrapper > .flat-spacing:first-of-type,
    body.home #wrapper > .flat-spacing:first-of-type {
        padding-block: 44px;
    }
}

/* =========================================================
   21. Reduced Motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .alfa-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .about-play-btn::after { display: none; }
}

/* Current-fix refinements: keep media fully visible and related News balanced. */
.card-product.has-hover-image:hover .product-img img {
    transform: none !important;
}
.single-news-related-slider.related-count-1 .swiper-wrapper {
    justify-content: center;
}
.single-news-related-slider.related-count-1 .swiper-slide {
    width: min(100%, 460px) !important;
    max-width: 460px;
}


/* =========================================================
   22. V8 — Final Homepage / Product / Founder / Contact Refinement
   ========================================================= */

/* Banner: approved minimal image + centered title only. */
.responsive-page-banner .breadcrumb,
.responsive-page-banner nav[aria-label] {
    display: none !important;
}

/* Logo: balanced V9 reduction, centered across breakpoints. */
.tf-header .logo-site {
    width: 224px;
    height: 87px;
    flex-basis: 224px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.tf-header .logo-site img {
    object-position: 50% 50%;
}
.header-v2 .header-inner,
.header-v2.hd-v2_s2 .header-inner,
.header-v2 .header-inner_wrap {
    min-height: 94px;
}

/* ---------------------------------------------------------
   Home: stronger section hierarchy without changing content.
   --------------------------------------------------------- */
body.page-template-page-home .alfa-auto-slider,
body.home .alfa-auto-slider {
    margin-bottom: 0;
}
body.page-template-page-home .home-about-section,
body.home .home-about-section {
    position: relative;
    padding-block: clamp(58px, 5.5vw, 82px) !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(var(--alfa-primary-rgb), .11), transparent 25%),
        #fff;
}
body.page-template-page-home .home-about-section::after,
body.home .home-about-section::after {
    content: "";
    position: absolute;
    inset-inline: max(20px, calc((100vw - var(--alfa-container)) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--alfa-line-strong), transparent);
}
body.page-template-page-home .home-about-section .row,
body.home .home-about-section .row {
    align-items: stretch !important;
    --bs-gutter-x: clamp(34px, 5vw, 72px);
}
body.page-template-page-home .home-about-section .col-lg-6:first-child,
body.home .home-about-section .col-lg-6:first-child {
    justify-content: center;
    padding-block: clamp(16px, 2vw, 28px);
}
body.page-template-page-home .home-about-section .about-title,
body.home .home-about-section .about-title {
    max-width: 680px;
}
body.page-template-page-home .home-about-section p:not(.eyebrow-label),
body.home .home-about-section p:not(.eyebrow-label) {
    max-width: 660px;
    font-size: 16px;
    line-height: 1.85;
}
body.page-template-page-home .home-about-section .about-media-box,
body.home .home-about-section .about-media-box {
    min-height: 430px;
    height: 100%;
    border-radius: 28px !important;
}
body.page-template-page-home .home-about-section .about-media-box img,
body.home .home-about-section .about-media-box img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

body.page-template-page-home .home-categories-section,
body.home .home-categories-section {
    position: relative;
    background: linear-gradient(180deg, var(--alfa-surface) 0%, #fff 100%);
    border: 0;
}
body.page-template-page-home .home-categories-section .flat-spacing,
body.home .home-categories-section .flat-spacing {
    padding-block: clamp(50px, 4.5vw, 66px) !important;
}
body.page-template-page-home .home-categories-section .sect-heading,
body.home .home-categories-section .sect-heading {
    margin-bottom: 26px !important;
}
body.page-template-page-home .home-categories-section .br-line,
body.home .home-categories-section .br-line {
    display: none;
}

body.page-template-page-home .home-facts-section,
body.home .home-facts-section {
    padding-block: clamp(58px, 5vw, 78px) !important;
    background:
        radial-gradient(circle at 8% 16%, rgba(255,255,255,.17), transparent 26%),
        var(--alfa-primary) !important;
}
body.page-template-page-home .home-facts-section .facts-main-title,
body.home .home-facts-section .facts-main-title {
    color: #fff !important;
    max-width: 880px;
}
body.page-template-page-home .home-facts-section .facts-card,
body.home .home-facts-section .facts-card {
    min-height: 218px;
    border-color: rgba(255,255,255,.24) !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px);
}
body.page-template-page-home .home-facts-section .facts-card:hover,
body.home .home-facts-section .facts-card:hover {
    background: rgba(255,255,255,.18) !important;
    transform: translateY(-5px);
}
body.page-template-page-home .home-facts-section .facts-icon,
body.page-template-page-home .home-facts-section .facts-title,
body.page-template-page-home .home-facts-section .facts-desc,
body.home .home-facts-section .facts-icon,
body.home .home-facts-section .facts-title,
body.home .home-facts-section .facts-desc {
    color: #fff !important;
}
body.page-template-page-home .home-facts-section .facts-line,
body.home .home-facts-section .facts-line {
    background: rgba(255,255,255,.28) !important;
}

body.page-template-page-home .home-news-section,
body.home .home-news-section {
    position: relative;
    padding-block: clamp(58px, 5.2vw, 80px) !important;
    background: #fff !important;
}
body.page-template-page-home .home-news-section::before,
body.home .home-news-section::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: max(20px, calc((100vw - var(--alfa-container)) / 2));
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--alfa-line-strong), transparent);
}
body.page-template-page-home .home-news-section .sect-heading,
body.home .home-news-section .sect-heading {
    align-items: end;
    gap: 24px;
    margin-bottom: 28px !important;
}
body.page-template-page-home .home-news-section .article-blog,
body.home .home-news-section .article-blog {
    height: 100%;
    border: 1px solid var(--alfa-line) !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(32,30,48,.055);
}
body.page-template-page-home .home-news-section .article-blog:hover,
body.home .home-news-section .article-blog:hover {
    border-color: rgba(var(--alfa-primary-rgb), .32) !important;
    box-shadow: 0 20px 46px rgba(32,30,48,.10);
}

/* ---------------------------------------------------------
   Product listing: compact cards; scope excludes Single Product.
   --------------------------------------------------------- */
body.tax-product-subcategoy .wrapper-shop.tf-grid-layout {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch;
}
body.tax-product-subcategoy .card-product {
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
    border-radius: 17px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(32,30,48,.05) !important;
}
body.tax-product-subcategoy .card-product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(32,30,48,.09) !important;
}
body.tax-product-subcategoy .card-product_wrapper {
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1.02;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: transparent !important;
}
body.tax-product-subcategoy .card-product .product-img {
    width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: transparent !important;
}
body.tax-product-subcategoy .card-product .product-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    background: transparent !important;
}
body.tax-product-subcategoy .card-product .card-product_info {
    min-height: 66px;
    flex: 1 1 auto;
    padding: 12px 14px 14px !important;
    justify-content: flex-start;
    text-align: start;
}
body.tax-product-subcategoy .card-product .name-product {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}
body.tax-product-subcategoy .card-product::after {
    height: 2px;
    inset-inline: 14px;
}

/* Single Product main image: restore the original theme layout exactly. */
body.single-product .product-single-image {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
body.single-product .product-single-image::after {
    display: none !important;
    content: none !important;
}
body.single-product .product-single-image img {
    display: block !important;
    width: 100% !important;
    height: 450px !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}

/* ---------------------------------------------------------
   Founder: explicit contrast system on every section type.
   --------------------------------------------------------- */
.dr-profile-page .dr-intro-section,
.dr-profile-page .dr-summary-section,
.dr-profile-page .dr-qualifications-section,
.dr-profile-page .dr-experience-section,
.dr-profile-page .dr-sector-section,
.dr-profile-page .dr-knowledge-section,
.dr-profile-page .dr-membership-section,
.dr-profile-page .dr-certificates-section {
    color: var(--alfa-ink) !important;
}
.dr-profile-page .dr-intro-section h1,
.dr-profile-page .dr-intro-section h2,
.dr-profile-page .dr-intro-section h3,
.dr-profile-page .dr-summary-section h2,
.dr-profile-page .dr-qualifications-section h2,
.dr-profile-page .dr-experience-section h2,
.dr-profile-page .dr-sector-section h2,
.dr-profile-page .dr-knowledge-section h2,
.dr-profile-page .dr-membership-section h2,
.dr-profile-page .dr-certificates-section h2,
.dr-profile-page .dr-card h3,
.dr-profile-page .dr-timeline-content h3,
.dr-profile-page .dr-certificate-card h3 {
    color: var(--alfa-ink) !important;
}
.dr-profile-page .dr-intro-section p,
.dr-profile-page .dr-summary-section p,
.dr-profile-page .dr-qualifications-section p,
.dr-profile-page .dr-experience-section p,
.dr-profile-page .dr-sector-section p,
.dr-profile-page .dr-knowledge-section p,
.dr-profile-page .dr-membership-section p,
.dr-profile-page .dr-certificates-section p {
    color: var(--alfa-copy) !important;
}
.dr-profile-page section:not(.dr-training-section) .alfa-heading > span,
.dr-profile-page .dr-year,
.dr-profile-page .dr-period,
.dr-profile-page .dr-info-box strong {
    color: var(--alfa-primary) !important;
}
.dr-profile-page .dr-training-section {
    background: var(--alfa-primary) !important;
    color: #fff !important;
}
.dr-profile-page .dr-training-section .alfa-heading > span,
.dr-profile-page .dr-training-section .alfa-heading h2,
.dr-profile-page .dr-training-section .alfa-heading p,
.dr-profile-page .dr-training-section .dr-dark-card h3,
.dr-profile-page .dr-training-section .dr-dark-card p {
    color: #fff !important;
}

/* ---------------------------------------------------------
   Contact: reduce GET IN TOUCH / CONTACT INFORMATION height.
   --------------------------------------------------------- */
.section-contact-page {
    padding-block: clamp(32px, 3vw, 46px) !important;
}
.section-contact-page .row.align-items-start {
    --bs-gutter-x: clamp(18px, 2.5vw, 28px);
    --bs-gutter-y: 16px;
}
.contact-form-box,
.contact-info-box {
    padding: clamp(20px, 2.1vw, 28px) !important;
    border-radius: 20px !important;
}
.contact-form-box .sect-heading-v2,
.contact-info-box .sect-heading-v2 {
    margin-bottom: 14px !important;
}
.contact-form-box .s-title,
.contact-info-box .s-title {
    margin-bottom: 9px !important;
}
.contact-form-box .s-desc,
.contact-info-box .s-desc {
    line-height: 1.65 !important;
}
.contact-info-list {
    gap: 8px !important;
}
.contact-info-list .box-infor {
    gap: 11px !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
}
.contact-info-list .ic-wrap {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
    border-radius: 12px !important;
}
.contact-info-list .ic-wrap i {
    font-size: 16px !important;
}
.contact-info-list .infor-title {
    margin-bottom: 2px !important;
    font-size: 25px !important;
}
.contact-extra {
    margin-top: 7px !important;
    padding-top: 7px;
}
.section-contact-page .wpcf7-form {
    gap: 10px;
}
.section-contact-page .wpcf7-form .row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 9px;
}
.section-contact-page .wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.section-contact-page .wpcf7-form select {
    min-height: 44px;
    padding-block: 8px;
}
.section-contact-page .wpcf7-form textarea {
    min-height: 92px;
}
.section-contact-page .wpcf7-form input[type="submit"],
.section-contact-page .wpcf7-form button[type="submit"] {
    min-height: 44px;
    padding-block: 9px !important;
}
.contact-map-box {
    margin-top: 16px !important;
}
.contact-map-box iframe {
    height: 310px;
}

/* Responsive refinements for V8. */
@media (max-width: 1399px) {
    .tf-header .logo-site { width: 204px; height: 79px; flex-basis: 204px; }
    body.tax-product-subcategoy .wrapper-shop.tf-grid-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 1199px) {
    .tf-header .logo-site { width: 186px; height: 72px; flex-basis: 186px; }
    .header-v2 .header-inner,
    .header-v2.hd-v2_s2 .header-inner,
    .header-v2 .header-inner_wrap { min-height: 74px; }
    body.page-template-page-home .home-about-section .about-media-box,
    body.home .home-about-section .about-media-box { min-height: 380px; }
}
@media (max-width: 991px) {
    .tf-header .logo-site { width: 172px; height: 67px; flex-basis: 172px; }
    body.tax-product-subcategoy .wrapper-shop.tf-grid-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 15px !important;
    }
    body.page-template-page-home .home-about-section .about-media-box,
    body.home .home-about-section .about-media-box {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }
    .contact-map-box iframe { height: 280px; }
}
@media (max-width: 767px) {
    .tf-header .logo-site { width: 160px; height: 62px; flex-basis: 160px; }
    body.page-template-page-home .home-about-section,
    body.home .home-about-section,
    body.page-template-page-home .home-categories-section .flat-spacing,
    body.home .home-categories-section .flat-spacing,
    body.page-template-page-home .home-facts-section,
    body.home .home-facts-section,
    body.page-template-page-home .home-news-section,
    body.home .home-news-section {
        padding-block: 32px;
    }
    body.tax-product-subcategoy .card-product .card-product_info {
        min-height: 60px;
        padding: 11px 12px 13px !important;
    }
    body.tax-product-subcategoy .card-product .name-product { font-size: 13px; }
    .contact-form-box,
    .contact-info-box { padding: 18px !important; }
}
@media (max-width: 520px) {
    body.tax-product-subcategoy .wrapper-shop.tf-grid-layout {
        grid-template-columns: 1fr !important;
        max-width: 390px;
        margin-inline: auto;
    }
    body.tax-product-subcategoy .card-product_wrapper {
        aspect-ratio: 1.12 / 1;
    }
}

/* =========================================================
   23. V10 — Private Label + requested final QA refinements
   ========================================================= */

/* Global readability: one consistent body scale for EN/AR. */
body {
    font-size: 17px;
    line-height: 1.75;
}
body.alfa-direction-rtl {
    font-size: 17px;
    line-height: 1.85;
}
p,
li,
.product-description,
.about-page p,
.dr-profile-page p,
.section-contact-page p {
    line-height: 1.75;

}
body.alfa-direction-rtl p,
body.alfa-direction-rtl li {
    line-height: 1.85;
}

/* Header / footer logo: smaller, centered and proportional. */
.tf-header .logo-site {
    width: 170px !important;
    height: 60px !important;
    flex: 0 0 170px !important;
    overflow: visible !important;
}
.tf-header .logo-site img {
    width: 100% !important;
    height: 100%;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
.header-v2 .header-inner,
.header-v2.hd-v2_s2 .header-inner,
.header-v2 .header-inner_wrap {
    min-height: 74px !important;
}
.alfa-footer-logo {
    width: 180px !important;
    height: 72px !important;
    margin-inline: auto !important;
    margin-bottom: 18px !important;
    overflow: visible !important;
}
.alfa-footer-logo img {
    width: 100% !important;
    height: 100%;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
.canvas-mb .logo-site {
    width: 158px !important;
    height: 56px !important;
}
.canvas-mb .logo-site img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Gallery performance UI: videos stay lightweight until their active tab is visible. */
.gallery-video-deferred {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--alfa-surface);
}
.gallery-video-deferred iframe {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
}
.gallery-video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: var(--alfa-primary);
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--alfa-primary-rgb), .16), transparent 36%),
        var(--alfa-surface);
    font-size: 36px;
}
.gallery-video-deferred.is-loaded .gallery-video-placeholder {
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.gallery-video-link {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    color: var(--alfa-ink);
    background: var(--alfa-surface);
    text-align: center;
}
.gallery-video-link i {
    color: var(--alfa-primary);
    font-size: 38px;
}
.media-card > img,
.media-card picture > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Private Label Manufacturing — uses existing palette, typography, buttons and spacing. */
.private-label-page {
    color: var(--alfa-ink);
    background: #fff;
}
.private-label-page .flat-spacing {
    padding-block: clamp(38px, 3.6vw, 54px);
}
.private-label-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 15%, rgba(var(--alfa-primary-rgb), .16), transparent 28%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
body.alfa-direction-rtl .private-label-hero {
    background:
        radial-gradient(circle at 12% 15%, rgba(var(--alfa-primary-rgb), .16), transparent 28%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
.private-label-hero-inner {
    max-width: 1040px;
    margin-inline: auto;
}
.private-label-hero .eyebrow-label {
    margin-bottom: 18px;
}
.private-label-hero h1 {
    max-width: 980px;
    margin: 0 0 28px;
    color: var(--alfa-ink);
    font-family: "Instrument Serif", "Almarai", serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.04;
}
body.alfa-direction-rtl .private-label-hero h1 {
    font-family: "Almarai", Arial, sans-serif;
    font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 700;
    line-height: 1.35;
}
.private-label-intro-copy {
    max-width: 980px;
    display: grid;
    gap: 14px;
}
.private-label-intro-copy p {
    margin: 0;
    color: var(--alfa-copy);
    font-size: 18px;
}
.private-label-services,
.private-label-testing,
.private-label-categories {
    background: #fff;
}
.private-label-lab-intro,
.private-label-production,
.private-label-custom {
    background: var(--alfa-surface);
}
.private-label-page .alfa-heading {
    margin-bottom: clamp(30px, 4vw, 46px);
}
.private-label-page .alfa-heading h2 {
    color: var(--alfa-ink) !important;
    font-size: var(--alfa-heading-size) !important;
}
.private-label-page .alfa-heading p {
    max-width: 820px;
    margin: 14px auto 0;
    color: var(--alfa-copy) !important;
}
.private-label-stack {
    display: grid;
    gap: 22px;
}
.private-label-content-card {
    position: relative;
    overflow: hidden;
    padding: clamp(25px, 3.1vw, 42px);
    border: 1px solid var(--alfa-line);
    border-radius: var(--alfa-radius-xl);
    background: #fff;
    box-shadow: var(--alfa-shadow-sm);
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-medium);
}
.private-label-content-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--alfa-primary-rgb), .32);
    box-shadow: var(--alfa-shadow-md);
}
.private-label-card-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.private-label-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: var(--alfa-primary);
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(var(--alfa-primary-rgb), .22);
}
.private-label-content-card h2 {
    margin: 0;
    color: var(--alfa-ink);
    font-family: "Instrument Serif", "Almarai", serif;
    font-size: clamp(28px, 2.7vw, 40px);
    font-weight: 400;
    line-height: 1.15;
}
body.alfa-direction-rtl .private-label-content-card h2 {
    font-family: "Almarai", Arial, sans-serif;
    font-size: clamp(25px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.45;
}
.private-label-content-card p {
    margin: 0 0 13px;
    color: var(--alfa-copy);
}
.private-label-content-card p:last-child {
    margin-bottom: 0;
}
.private-label-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.private-label-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--alfa-copy);
}
.private-label-check {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    border-radius: 50%;
    color: var(--alfa-primary);
    background: var(--alfa-primary-50);
    font-size: 10px;
}
.private-label-note {
    margin-top: 22px !important;
    padding: 15px 18px;
    border-inline-start: 3px solid var(--alfa-primary);
    background: var(--alfa-primary-50);
    border-radius: 12px;
}
.private-label-feature-card {
    border-color: rgba(var(--alfa-primary-rgb), .22);
    background:
        radial-gradient(circle at 95% 8%, rgba(var(--alfa-primary-rgb), .10), transparent 25%),
        #fff;
}
body.alfa-direction-rtl .private-label-feature-card {
    background:
        radial-gradient(circle at 5% 8%, rgba(var(--alfa-primary-rgb), .10), transparent 25%),
        #fff;
}
.private-label-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.private-label-category-card {
    height: 100%;
    padding: 26px;
}
.private-label-category-card .private-label-card-heading {
    align-items: flex-start;
}
.private-label-category-card h2 {
    font-size: clamp(24px, 2vw, 31px);
}
.private-label-category-card .private-label-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
}
.private-label-why {
    position: relative;
    overflow: hidden;
    background: var(--alfa-primary);
}
.private-label-why::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -210px;
    inset-inline-end: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.18), transparent 68%);
    pointer-events: none;
}
.private-label-why-inner {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin-inline: auto;
}
.private-label-why h2 {
    margin-bottom: 20px;
    color: #fff;
    font-family: "Instrument Serif", "Almarai", serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
}
body.alfa-direction-rtl .private-label-why h2 {
    font-family: "Almarai", Arial, sans-serif;
    font-weight: 700;
}
.private-label-why p,
.private-label-why li {
    color: rgba(255,255,255,.92) !important;
}
.private-label-list-light {
    margin-top: 24px;
}
.private-label-list-light .private-label-check {
    color: #fff;
    background: rgba(255,255,255,.16);
}
.private-label-cta {
    background:
        radial-gradient(circle at 50% 100%, rgba(var(--alfa-primary-rgb), .15), transparent 34%),
        #fff;
}
.private-label-cta-inner {
    max-width: 940px;
    margin-inline: auto;
}
.private-label-cta h2 {
    margin-bottom: 20px;
    color: var(--alfa-ink);
    font-family: "Instrument Serif", "Almarai", serif;
    font-size: clamp(40px, 4.8vw, 66px);
    font-weight: 400;
}
body.alfa-direction-rtl .private-label-cta h2 {
    font-family: "Almarai", Arial, sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
}
.private-label-cta p {
    margin: 0 auto 14px;
    color: var(--alfa-copy);
    font-size: 18px;
}

@media (max-width: 1199px) {
    .tf-header .logo-site {
        width: 158px !important;
        height: 56px !important;
        flex-basis: 158px !important;
    }
    .private-label-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    body { font-size: 16.5px; }
    body.alfa-direction-rtl { font-size: 16.5px; }
    .tf-header .logo-site {
        width: 150px !important;
        height: 54px !important;
        flex-basis: 150px !important;
    }
    .private-label-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body,
    body.alfa-direction-rtl {
        font-size: 16px;
    }
    .tf-header .logo-site {
        width: 142px !important;
        height: 50px !important;
        flex-basis: 142px !important;
    }
    .alfa-footer-logo {
        width: 160px !important;
        height: 64px !important;
    }
    .private-label-page .flat-spacing {
        padding-block: 32px;
    }
    .private-label-intro-copy p,
    .private-label-cta p {
        font-size: 16px;
    }
    .private-label-content-card {
        padding: 22px;
        border-radius: 20px;
    }
    .private-label-card-heading {
        gap: 12px;
    }
    .private-label-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }
    .private-label-category-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   24. V11 — Private Label visual/ACF layout + navigation QA
   ========================================================= */

/* Comfortable paragraph scale across EN/AR without changing heading sizes. */
p {
    font-size: 20px !important;
    line-height: 1.8 !important;
}
body.alfa-direction-rtl p {
    line-height: 1.9 !important;
}

/* Logo: a measured increase from V10, still compact in the navigation/footer. */
.tf-header .logo-site {
    width: 182px !important;
    height: 64px !important;
    flex-basis: 182px !important;
}
.alfa-footer-logo {
    width: 198px !important;
    height: 79px !important;
}

/* Non-link desktop menu parents behave visually like existing nav links. */
.header-v2 .alfa-menu-parent {
    appearance: none;
    -webkit-appearance: none;
    border: 0 !important;
    background: transparent !important;
    color: inherit;
    font: inherit;
    cursor: default;
}
.header-v2 .alfa-events-menu.is-menu-open > .sub-menu_v2 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.header-v2 .alfa-events-menu.is-menu-open > .alfa-menu-parent .icon-ArrowCaretDown {
    transform: rotate(180deg);
}
.mobile-menu-parent-label {
    cursor: default;
    user-select: none;
}

/* Specializations: stable circular carousel with explicit controls. */
.home-categories-section .specialization-carousel {
    position: relative;
    padding-bottom: 54px;
}
.home-categories-section .specialization-carousel .swiper-wrapper {
    align-items: stretch;
}
.home-categories-section .specialization-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: flex;
    gap: 8px;
}
body.alfa-direction-rtl .home-categories-section .specialization-nav {
    right: auto;
    left: 0;
}
.home-categories-section .specialization-nav button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--alfa-line);
    border-radius: 50%;
    background: #fff;
    color: var(--alfa-ink);
    box-shadow: var(--alfa-shadow-xs);
    transition: transform var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast), border-color var(--alfa-fast);
}
.home-categories-section .specialization-nav button:hover,
.home-categories-section .specialization-nav button:focus-visible {
    border-color: var(--alfa-primary);
    background: var(--alfa-primary);
    color: #fff;
    transform: translateY(-2px);
}
.home-categories-section .specialization-carousel .sw-progress-default {
    width: calc(100% - 108px);
}

/* Private Label: balanced image/text sections with ACF-editable media. */
.private-label-page {
    overflow: clip;
    background: #fff;
}
.private-label-section-heading {
    position: relative;
    overflow: hidden;
    padding-bottom: 18px !important;
    background: linear-gradient(180deg, var(--alfa-surface) 0%, #fff 100%);
}
.private-label-section-heading::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    inset-inline-start: -90px;
    top: -120px;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .10);
    pointer-events: none;
}
.private-label-visual-section,
.private-label-categories,
.private-label-cta,
.private-label-background-circles {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.private-label-visual-section::before,
.private-label-visual-section::after,
.private-label-categories::before,
.private-label-categories::after,
.private-label-cta::before,
.private-label-cta::after,
.private-label-background-circles::before,
.private-label-background-circles::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}
.private-label-visual-section::before,
.private-label-categories::before,
.private-label-cta::before,
.private-label-background-circles::before {
    width: clamp(220px, 22vw, 380px);
    height: clamp(220px, 22vw, 380px);
    top: -145px;
    inset-inline-end: -120px;
    background: rgba(var(--alfa-primary-rgb), .08);
}
.private-label-visual-section::after,
.private-label-categories::after,
.private-label-cta::after,
.private-label-background-circles::after {
    width: clamp(120px, 13vw, 220px);
    height: clamp(120px, 13vw, 220px);
    bottom: -95px;
    inset-inline-start: -72px;
    border: 28px solid rgba(var(--alfa-primary-rgb), .07);
    background: transparent;
}
.private-label-section-soft {
    background:
        linear-gradient(135deg, rgba(var(--alfa-primary-rgb), .055), transparent 44%),
        var(--alfa-surface);
}
.private-label-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: stretch;
}
.private-label-visual-section.is-reverse .private-label-copy {
    order: 2;
}
.private-label-visual-section.is-reverse .private-label-media {
    order: 1;
}
.private-label-copy,
.private-label-hero-copy,
.private-label-why-inner,
.private-label-cta-inner {
    align-self: center;
    min-width: 0;
}
.private-label-copy {
    padding: clamp(6px, 1vw, 16px) 0;
}
.private-label-copy .private-label-card-heading {
    margin-bottom: 20px;
}
.private-label-copy h2 {
    margin: 0;
    color: var(--alfa-ink);
    font-family: "Instrument Serif", "Almarai", serif;
    font-size: clamp(31px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.12;
}
body.alfa-direction-rtl .private-label-copy h2 {
    font-family: "Almarai", Arial, sans-serif;
    font-size: clamp(27px, 2.45vw, 38px);
    font-weight: 700;
    line-height: 1.45;
}
.private-label-copy > p {
    margin: 0 0 14px;
    color: var(--alfa-copy);
}
.private-label-copy .private-label-list {
    margin-top: 20px;
}
.private-label-media {
    min-width: 0;
    align-self: stretch;
}
.private-label-media-frame {
    position: sticky;
    top: 116px;
    min-height: 390px;
    height: min(100%, 620px);
    overflow: hidden;
    border: 1px solid rgba(43, 40, 61, .08);
    border-radius: var(--alfa-radius-xl);
    background: var(--alfa-surface-2);
    box-shadow: var(--alfa-shadow-sm);
}
.private-label-section-image,
.private-label-media-frame > img {
    display: block;
    width:100%;
    height: 100% !important;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    transition: transform 900ms var(--alfa-ease), filter 500ms var(--alfa-ease);
}
.private-label-media:hover .private-label-section-image,
.private-label-media:hover .private-label-media-frame > img {
    transform: scale(1.035);
}
.private-label-media.animated .private-label-section-image,
.private-label-media.animated .private-label-media-frame > img {
    animation: alfaPrivateLabelImageReveal 900ms var(--alfa-ease) both;
}
@keyframes alfaPrivateLabelImageReveal {
    from { opacity: .35; transform: scale(1.055); clip-path: inset(0 0 100% 0 round 28px); }
    to { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0 round 28px); }
}

/* Hero keeps the supplied copy complete while giving it a strong visual anchor. */
.private-label-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(var(--alfa-primary-rgb), .13), transparent 27%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
body.alfa-direction-rtl .private-label-hero {
    background:
        radial-gradient(circle at 88% 20%, rgba(var(--alfa-primary-rgb), .13), transparent 27%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
.private-label-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
}
.private-label-hero h1 {
    max-width: 900px;
    margin: 0 0 24px;
}
.private-label-hero .private-label-media-frame {
    min-height: 500px;
    max-height: 600px;
}
.private-label-intro-copy {
    max-width: 880px;
}
.private-label-intro-copy p {
    margin: 0 0 14px;
}

/* Product category cards now carry an image while retaining the existing card language. */
.private-label-categories {
    background:
        radial-gradient(circle at 85% 12%, rgba(var(--alfa-primary-rgb), .10), transparent 25%),
        #fff;
}
body.alfa-direction-rtl .private-label-categories {
    background:
        radial-gradient(circle at 15% 12%, rgba(var(--alfa-primary-rgb), .10), transparent 25%),
        #fff;
}
.private-label-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.private-label-category-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid var(--alfa-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--alfa-shadow-xs);
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast);
}
.private-label-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--alfa-primary-rgb), .34);
    box-shadow: var(--alfa-shadow-sm);
}
.private-label-category-media {
    height: 190px;
    overflow: hidden;
    background: var(--alfa-surface-2);
}
.private-label-category-media img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform var(--alfa-medium);
}
.private-label-category-card:hover .private-label-category-media img {
    transform: scale(1.045);
}
.private-label-category-content {
    padding: 24px;
}
.private-label-category-content .private-label-card-heading {
    align-items: center;
    margin-bottom: 16px;
}
.private-label-category-content h2 {
    margin: 0;
    font-size: clamp(23px, 1.8vw, 29px);
}
.private-label-category-content .private-label-list {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 0;
}

/* Why Alfa + CTA preserve contrast while keeping the alternating visual rhythm. */
.private-label-why {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,255,255,.13), transparent 28%),
        var(--alfa-primary) !important;
}
body.alfa-direction-rtl .private-label-why {
    background:
        radial-gradient(circle at 12% 10%, rgba(255,255,255,.13), transparent 28%),
        var(--alfa-primary) !important;
}
.private-label-why::after {
    border-color: rgba(255,255,255,.09);
}
.private-label-why-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
}
.private-label-why .private-label-media-frame {
    position: relative;
    top: auto;
    min-height: 470px;
    border-color: rgba(255,255,255,.20);
    box-shadow: 0 24px 60px rgba(30,28,47,.18);
}
.private-label-why h2 {
    margin-top: 0;
}
.private-label-cta {
    background:
        radial-gradient(circle at 10% 100%, rgba(var(--alfa-primary-rgb), .14), transparent 28%),
        linear-gradient(180deg, #fff, var(--alfa-surface));
}
.private-label-cta-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
}
.private-label-cta-inner {
    max-width: none;
    text-align: start !important;
}
.private-label-cta h2 {
    margin-top: 0;
}
.private-label-cta p {
    margin-inline: 0;
}
.private-label-cta .private-label-media-frame {
    position: relative;
    top: auto;
    min-height: 430px;
    max-height: 520px;
}

@media (max-width: 1199px) {
    .tf-header .logo-site {
        width: 170px !important;
        height: 60px !important;
        flex-basis: 170px !important;
    }
    .alfa-footer-logo {
        width: 190px !important;
        height: 76px !important;
    }
    .private-label-split,
    .private-label-hero-grid,
    .private-label-why-grid,
    .private-label-cta-grid {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
        gap: 34px;
    }
}

@media (max-width: 991px) {
    .tf-header .logo-site {
        width: 160px !important;
        height: 57px !important;
        flex-basis: 160px !important;
    }
    .private-label-split,
    .private-label-hero-grid,
    .private-label-why-grid,
    .private-label-cta-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .private-label-visual-section.is-reverse .private-label-copy,
    .private-label-visual-section.is-reverse .private-label-media {
        order: initial;
    }
    .private-label-media {
        order: -1 !important;
    }
    .private-label-hero-copy {
        order: 1;
    }
    .private-label-media-frame {
        position: relative;
        top: auto;
        height: auto;
        min-height: 360px;
        aspect-ratio: 16 / 10;
    }
    .private-label-hero .private-label-media-frame,
    .private-label-why .private-label-media-frame,
    .private-label-cta .private-label-media-frame {
        min-height: 360px;
        max-height: none;
    }
    .private-label-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    p {
        font-size: 16px !important;
        line-height: 1.82 !important;
    }
    body.alfa-direction-rtl p {
        line-height: 1.9 !important;
    }
    .tf-header .logo-site {
        width: 150px !important;
        height: 54px !important;
        flex-basis: 150px !important;
    }
    .canvas-mb .logo-site {
        width: 166px !important;
        height: 59px !important;
    }
    .alfa-footer-logo {
        width: 180px !important;
        height: 72px !important;
    }
    .home-categories-section .specialization-carousel {
        padding-bottom: 50px;
    }
    .home-categories-section .specialization-carousel .sw-progress-default {
        width: calc(100% - 100px);
    }
    .private-label-media-frame,
    .private-label-hero .private-label-media-frame,
    .private-label-why .private-label-media-frame,
    .private-label-cta .private-label-media-frame {
        min-height: 280px;
        border-radius: 24px;
width: 400px;
    }
    .private-label-list {
        grid-template-columns: 1fr;
    }
    .private-label-category-media {
        height: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .private-label-media.animated .private-label-section-image,
    .private-label-media.animated .private-label-media-frame > img {
        animation: none !important;
    }
    .private-label-section-image,
    .private-label-category-media img,
    .private-label-category-card,
    .home-categories-section .specialization-nav button {
        transition: none;
    }
}


/* =========================================================
   25. V12 — balanced circles, icon categories, refined nav
   ========================================================= */

/* Header / footer logo: medium, balanced presence. */
.tf-header .logo-site {
    width: 218px !important;
    height: 76px !important;
    flex-basis: 218px !important;
}
.header-v2 .header-inner,
.header-v2.hd-v2_s2 .header-inner,
.header-v2 .header-inner_wrap {
    min-height: 115px !important;
}
.tf-header .box-nav-menu {
    gap: clamp(8px, .78vw, 14px) !important;
}
.header-v2.hd-v2_s2 .item-link {
    font-size: 17px !important;
}
.header-v2 .alfa-private-label-menu-item .item-link {
    color: var(--alfa-primary-800);
    font-weight: 700;
}
.alfa-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.alfa-footer-logo {
    width: 248px !important;
    height: 99px !important;
    margin-bottom: 16px !important;
}
.alfa-footer-social {
    justify-content: center;
    margin: 2px 0 0 !important;
    padding: 0 !important;
}

/* Selective circular image language: present in key moments, not every section. */
.home-about-section .about-media-box {
    width: min(100%, 570px);
    margin-inline: auto;
    overflow: visible;
    border-radius: 46% 54% 43% 57% / 52% 45% 55% 48% !important;
    isolation: isolate;
}
.home-about-section .about-media-box::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 42%;
    aspect-ratio: 1;
    inset-inline-end: -7%;
    top: -9%;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .11);
}
.home-about-section .about-media-box::after {
    inset: 0;
    border-radius: inherit;
}
.home-about-section .about-media-box img {
    border-radius: inherit;
    object-fit: cover;
}
.about-page #manufacturing-method-section .about-media-box {
    border-radius: 42% 58% 48% 52% / 54% 44% 56% 46% !important;
}
.about-page #manufacturing-method-section .about-media-box img {
    border-radius: inherit;
}
.dr-intro-layout {
    position: relative;
    isolation: isolate;
}
.dr-intro-layout::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: clamp(170px, 18vw, 280px);
    aspect-ratio: 1;
    inset-inline-end: -4%;
    top: -7%;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .09);
}

/* Our Specializations — organized editorial cards with a circular image focus. */
.home-categories-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(var(--alfa-primary-rgb), .08), transparent 22%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
body.alfa-direction-rtl .home-categories-section {
    background:
        radial-gradient(circle at 92% 20%, rgba(var(--alfa-primary-rgb), .08), transparent 22%),
        linear-gradient(180deg, #fff 0%, var(--alfa-surface) 100%);
}
.home-categories-section .specialization-carousel {
    padding: 12px 4px 58px;
    overflow: visible;
}
.home-categories-section .specialization-carousel .swiper-slide {
    height: auto;
    display: flex;
}
body.page-template-page-home .home-categories-section .specialization-card,
body.home .home-categories-section .specialization-card {
    position: relative;
    width: 100%;
    min-height: 310px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(var(--alfa-primary-rgb), .13);
    border-radius: 28px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 44px rgba(38,35,56,.07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
body.page-template-page-home .home-categories-section .specialization-card:hover,
body.home .home-categories-section .specialization-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--alfa-primary-rgb), .34);
    box-shadow: 0 22px 54px rgba(38,35,56,.12);
}
body.page-template-page-home .home-categories-section .specialization-card-image,
body.home .home-categories-section .specialization-card-image {
    position: relative;
    width: 150px;
    height: 150px;
    flex: 0 0 150px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}
body.page-template-page-home .home-categories-section .specialization-card-image img,
body.home .home-categories-section .specialization-card-image img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(var(--alfa-primary-rgb), .16);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 12px 34px rgba(38,35,56,.09);
}
.specialization-card-copy {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding-top: 16px;
    border-top: 1px solid var(--alfa-line);
}
body.page-template-page-home .home-categories-section .specialization-card .cls-name,
body.home .home-categories-section .specialization-card .cls-name {
    max-width: none;
    margin: 0;
    color: var(--alfa-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    text-align: start;
}
.specialization-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .10);
    color: var(--alfa-primary);
    transition: transform .3s ease, background-color .3s ease, color .3s ease;
}
.specialization-card:hover .specialization-arrow {
    transform: translateX(3px);
    background: var(--alfa-primary);
    color: #fff;
}
body.alfa-direction-rtl .specialization-card:hover .specialization-arrow {
    transform: translateX(-3px) rotate(180deg);
}
body.alfa-direction-rtl .specialization-arrow {
    transform: rotate(180deg);
}
.home-categories-section .specialization-nav {
    inset-inline-end: 0;
    right: auto;
    left: auto;
}
.home-categories-section .specialization-carousel .sw-progress-default {
    width: calc(100% - 112px);
}

/* Private Label: selected media only + varied content treatments. */
.private-label-page .private-label-card-band,
.private-label-page .private-label-text-section {
    position: relative;
    overflow: hidden;
}
.private-label-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.private-label-content-card,
.private-label-content-card-wide {
    height: 100%;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(var(--alfa-primary-rgb), .13);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(38,35,56,.06);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.private-label-content-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--alfa-primary-rgb), .30);
    box-shadow: 0 20px 48px rgba(38,35,56,.10);
}
.private-label-content-card-wide {
    position: relative;
    overflow: hidden;
}
.private-label-content-card-wide::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    inset-inline-end: -82px;
    top: -82px;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .07);
    pointer-events: none;
}
.private-label-content-card .private-label-copy,
.private-label-content-card-wide .private-label-copy {
    padding: 0;
}
.private-label-content-card-wide .private-label-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.private-label-circle-media .private-label-media {
    display: grid;
    place-items: center;
}
.private-label-circle-media .private-label-media-frame {
    position: relative;
    top: auto;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 50% !important;
    overflow: hidden;
    box-shadow: 0 26px 65px rgba(39,36,57,.13);
}
.private-label-circle-media .private-label-media-frame img {
    min-height: 0 !important;
    border-radius: 50%;
}
.private-label-production-visual .private-label-media-frame {
    border-radius: 34px 34px 110px 34px;
}
.private-label-production-visual .private-label-copy {
    order: 1;
}
.private-label-production-visual .private-label-media {
    order: 2 !important;
}
body.alfa-direction-rtl .private-label-production-visual .private-label-media-frame {
    border-radius: 34px 34px 34px 110px;
}
.private-label-custom-section {
    background:
        radial-gradient(circle at 8% 20%, rgba(var(--alfa-primary-rgb), .09), transparent 24%),
        var(--alfa-surface);
}
body.alfa-direction-rtl .private-label-custom-section {
    background:
        radial-gradient(circle at 92% 20%, rgba(var(--alfa-primary-rgb), .09), transparent 24%),
        var(--alfa-surface);
}

/* Product Categories: icons + content only, no large category imagery. */
.private-label-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.private-label-category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: 100%;
    padding: 28px !important;
    overflow: hidden;
    border: 1px solid rgba(var(--alfa-primary-rgb), .14);
    border-radius: 24px;
    background: #fff;
}
.private-label-category-card::before {
    content: "";
    position: absolute;
    width: 105px;
    height: 105px;
    inset-inline-end: -52px;
    top: -52px;
    border-radius: 50%;
    background: rgba(var(--alfa-primary-rgb), .07);
}
.private-label-category-icon {
    position: relative;
    z-index: 2;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    border-radius: 18px;
    background: rgba(var(--alfa-primary-rgb), .10);
    color: var(--alfa-primary);
    font-size: 24px;
    transition: transform .35s ease, background-color .35s ease, color .35s ease;
}
.private-label-category-card:hover .private-label-category-icon {
    transform: rotate(-5deg) scale(1.06);
    background: var(--alfa-primary);
    color: #fff;
}
.private-label-category-content {
    width: 100%;
    padding: 0 !important;
}
.private-label-category-content h2 {
    margin: 0 0 16px;
    color: var(--alfa-ink);
    font-size: clamp(22px, 1.65vw, 28px);
}
.private-label-category-content .private-label-list {
    grid-template-columns: 1fr;
    margin-top: 0;
}
.private-label-category-media {
    display: none !important;
}

/* CTA is intentionally text-led so the page does not end with another image split. */
.private-label-cta {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}
.private-label-cta .container {
    position: relative;
}
.private-label-cta-inner {
    position: relative;
    overflow: hidden;
    max-width: 1120px !important;
    margin-inline: auto;
    padding: clamp(38px, 5vw, 68px);
    border-radius: 34px;
    background: linear-gradient(135deg, var(--alfa-primary), var(--alfa-primary-800));
    color: #fff;
    text-align: center !important;
    box-shadow: 0 28px 70px rgba(var(--alfa-primary-rgb), .22);
}
.private-label-cta-copy {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin-inline: auto;
}
.private-label-cta h2,
.private-label-cta p {
    color: #fff !important;
    text-align: center !important;
}
.private-label-cta .tf-btn {
    margin-top: 17px;
    border-color: #fff;
    background: #fff;
    color: var(--alfa-primary);
}
.private-label-cta .tf-btn::before {
    background: var(--alfa-primary-800);
}
.private-label-cta .tf-btn:hover {
    border-color: var(--alfa-primary-800);
    color: #fff;
}
.private-label-cta-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.private-label-cta-circle-one {
    width: 260px;
    height: 260px;
    inset-inline-end: -110px;
    top: -130px;
    background: rgba(255,255,255,.10);
}
.private-label-cta-circle-two {
    width: 150px;
    height: 150px;
    inset-inline-start: -55px;
    bottom: -78px;
    border: 24px solid rgba(255,255,255,.09);
}

@media (max-width: 1399px) {
    .tf-header .logo-site {
        width: 200px !important;
        height: 70px !important;
        flex-basis: 200px !important;
    }
    .tf-header .box-nav-menu { gap: 8px !important; }
    .header-v2.hd-v2_s2 .item-link { font-size: 12px !important; }
}

@media (max-width: 1199px) {
    .tf-header .logo-site {
        width: 184px !important;
        height: 65px !important;
        flex-basis: 184px !important;
    }
    .canvas-mb .logo-site {
        width: 184px !important;
        height: 65px !important;
    }
    .alfa-footer-logo {
        width: 226px !important;
        height: 90px !important;
    }
}

@media (max-width: 991px) {
    .private-label-card-grid,
    .private-label-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .private-label-content-card-wide .private-label-list {
        grid-template-columns: 1fr;
    }
    .private-label-circle-media .private-label-media-frame {
        width: min(100%, 440px);
    }
    .home-about-section .about-media-box {
        width: min(88vw, 520px);
    }
}

@media (max-width: 767px) {
    .tf-header .logo-site,
    .canvas-mb .logo-site {
        width: 172px !important;
        height: 61px !important;
        flex-basis: 172px !important;
    }
    .alfa-footer-logo {
        width: 210px !important;
        height: 84px !important;
    }
    .private-label-card-grid,
    .private-label-category-grid {
        grid-template-columns: 1fr;
    }
    .private-label-category-card {
        padding: 24px !important;
    }
    body.page-template-page-home .home-categories-section .specialization-card,
    body.home .home-categories-section .specialization-card {
        min-height: 286px;
        padding: 22px;
    }
    body.page-template-page-home .home-categories-section .specialization-card-image,
    body.home .home-categories-section .specialization-card-image {
        width: 138px;
        height: 138px;
        flex-basis: 138px;
    }
    .home-categories-section .specialization-nav {
        position: static;
        justify-content: flex-end;
        margin-top: 16px;
    }
    .home-categories-section .specialization-carousel .sw-progress-default {
        width: 100%;
    }
    .private-label-circle-media .private-label-media-frame {
        width: min(88vw, 390px);
    }
    .home-about-section .about-media-box,
    .about-page #manufacturing-method-section .about-media-box {
        border-radius: 30px 30px 90px 30px !important;
    }
    body.alfa-direction-rtl .home-about-section .about-media-box,
    body.alfa-direction-rtl .about-page #manufacturing-method-section .about-media-box {
        border-radius: 30px 30px 30px 90px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .specialization-card,
    .specialization-arrow,
    .private-label-category-icon,
    .private-label-content-card {
        transition: none;
    }
}

/* V12 logo artwork crop: the supplied square PNGs contain transparent vertical padding.
   Crop that padding in the presentation layer so the logo reads at its intended medium size. */
.tf-header .logo-site,
.canvas-mb .logo-site,
.alfa-footer-logo {
    position: relative;
    overflow: hidden !important;
}
.tf-header .logo-site img,
.canvas-mb .logo-site img,
.alfa-footer-logo img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100% !important;
    height: 185px;
    max-width: none !important;
    max-height: none !important;
    object-fit: initial !important;
    object-position: initial !important;
    transform: translate(-50%, -50%) !important;
}
.tf-header .logo-site:hover img {
    transform: translate(-50%, -50%) scale(1.015) !important;
}
.home-categories-section .specialization-carousel {
    overflow: hidden;
}

/* =========================================================
   V13 — Final visual alignment only
   Scope: image shape consistency, original header color,
   and subtle site-wide circular background decoration.
   ========================================================= */
:root {
    --alfa-image-radius: 26px;
    --alfa-image-radius-mobile: 22px;
}

/* 1) Restore/lock the header to the original clean Alfa header treatment.
   The original hd-v2_s2 header is white; Alfa primary remains the accent color. */
.tf-header.header-v2.hd-v2_s2,
.tf-header.header-v2.hd-v2_s2.header-sticky {
    background: var(--white, #fff) !important;
    border-bottom-color: rgba(var(--alfa-primary-rgb), .18) !important;
}

/* 2) Unified image language: normal website imagery uses the same clean
   rounded rectangle. Logos/icons and the protected Single Product image are excluded. */
.about-media-box,
.certificate-image,
.article-blog .blog-image,
.section-blog-detail .blog-detail-image,
.media-card,
.page-template-page-academy .alfa-program-image,
.dr-intro-image,
.private-label-media-frame {
    border-radius: var(--alfa-image-radius) !important;
}

.about-media-box,
.certificate-image,
.article-blog .blog-image,
.section-blog-detail .blog-detail-image,
.media-card,
.page-template-page-academy .alfa-program-image,
.dr-intro-image,
.private-label-media-frame,
.card-product .product-img {
    overflow: hidden;
}

.about-media-box img,
.certificate-image img,
.article-blog .blog-image img,
.section-blog-detail .blog-detail-image img,
.media-card > img,
.media-card picture > img,
.page-template-page-academy .alfa-program-image img,
.dr-intro-image img,
.private-label-media-frame img,
.card-product .product-img img {
    border-radius: inherit !important;
}

/* Preserve the previously approved Single Product image layout exactly. */
body.single-product .product-single-image,
body.single-product .product-single-image img {
    border-radius: 0 !important;
}

/* Selected images keep a circular design cue as an outline/accent,
   while the actual photograph remains in the unified rounded shape. */
.home-about-section .about-media-box,
.about-page #manufacturing-method-section .about-media-box,
.private-label-circle-media .private-label-media-frame {
    position: relative;
    overflow: visible !important;
    isolation: isolate;
}

.home-about-section .about-media-box,
.about-page #manufacturing-method-section .about-media-box {
    border-radius: var(--alfa-image-radius) !important;
}
.home-about-section .about-media-box img,
.about-page #manufacturing-method-section .about-media-box img {
    border-radius: var(--alfa-image-radius) !important;
}

.home-about-section .about-media-box::before,
.about-page #manufacturing-method-section .about-media-box::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: clamp(130px, 28%, 190px);
    aspect-ratio: 1;
    inset-inline-end: -7%;
    top: -9%;
    border: 1px solid rgba(var(--alfa-primary-rgb), .30);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 20px rgba(var(--alfa-primary-rgb), .035);
    pointer-events: none;
}

.private-label-circle-media .private-label-media-frame {
    width: min(100%, 520px);
    aspect-ratio: 4 / 3;
    border-radius: var(--alfa-image-radius) !important;
    overflow: visible !important;
}
.private-label-circle-media .private-label-media-frame img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: var(--alfa-image-radius) !important;
}

/* 3) Site-wide circular background language.
   Faint edge-only outlines repeat vertically so every page gets the same
   design cue without covering copy or making sections visually busy. */
#wrapper {
    position: relative;
    isolation: isolate;
}
#wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: .72;
    background-image:
        radial-gradient(circle at -26px 150px,
            transparent 0 82px,
            rgba(var(--alfa-primary-rgb), .085) 83px 84px,
            transparent 85px),
        radial-gradient(circle at calc(100% + 34px) 570px,
            transparent 0 116px,
            rgba(var(--alfa-primary-rgb), .07) 117px 118px,
            transparent 119px),
        radial-gradient(circle at 7% 820px,
            rgba(var(--alfa-primary-rgb), .035) 0 40px,
            transparent 41px);
    background-size: 100% 980px;
    background-repeat: repeat-y;
}

/* Keep functional overlays/navigation above the decorative layer. */
.tf-header,
.menu-overlay-enabled,
#goTop,
.preload-container {
    z-index: 1000;
}

@media (max-width: 767px) {
    .about-media-box,
    .certificate-image,
    .article-blog .blog-image,
    .section-blog-detail .blog-detail-image,
    .media-card,
    .page-template-page-academy .alfa-program-image,
    .dr-intro-image,
    .private-label-media-frame {
        border-radius: var(--alfa-image-radius-mobile) !important;
    }
    .home-about-section .about-media-box,
    .about-page #manufacturing-method-section .about-media-box,
    .home-about-section .about-media-box img,
    .about-page #manufacturing-method-section .about-media-box img,
    .private-label-circle-media .private-label-media-frame,
    .private-label-circle-media .private-label-media-frame img {
        border-radius: var(--alfa-image-radius-mobile) !important;
    }
    #wrapper::before {
        opacity: .5;
        background-image:
            radial-gradient(circle at -42px 150px,
                transparent 0 68px,
                rgba(var(--alfa-primary-rgb), .075) 69px 70px,
                transparent 71px),
            radial-gradient(circle at calc(100% + 46px) 610px,
                transparent 0 90px,
                rgba(var(--alfa-primary-rgb), .06) 91px 92px,
                transparent 93px);
        background-size: 100% 900px;
    }
}


/* =========================================================
   V14 — Requested fixes only
   Scope: mobile submenu usability, Home About CTA sizing,
   and circular Our Specializations imagery.
   ========================================================= */

/* Home About: keep the CTA compact and naturally aligned with its copy. */
body.page-template-page-home .home-about-section .tf-btn,
body.home .home-about-section .tf-btn {
    width: fit-content;
    min-width: 0;
    min-height: 40px;
    height: auto;
    margin-inline: 0;
    padding: 10px 16px;
    font-size: 13px;
}

/* Our Specializations: image sizing is defined once in the canonical component above. */
body.page-template-page-home .home-categories-section .specialization-nav,
body.home .home-categories-section .specialization-nav {
    display: none;
}
body.page-template-page-home .home-categories-section .specialization-carousel .sw-progress-default,
body.home .home-categories-section .specialization-carousel .sw-progress-default {
    width: 100%;
}

/* =========================================================
   V15 — Requested UI fixes only
   Scope: specialization numbering/alignment, header/footer type,
   Private Label CTA reuse, Single News image,
   and Contact Information spacing.
   ========================================================= */

/* Header & Footer: requested readability increase only. */
.header-v2.hd-v2_s2 .item-link,
.header-v2 .sub-menu_v2 .sub-menu_link,
.header-v2 .box-nav-menu > li > .tf-btn,
.canvas-mb .mobile-menu-link,
.canvas-mb .mobile-sub-menu a {
    font-size: 18px !important;
}
.alfa-footer-column h4 {
    font-size: 20px !important;
}
.alfa-footer-links a,
.alfa-footer-contact a,
.alfa-footer-contact div > span,
.alfa-footer-bottom-content p {
    font-size: 18px !important;
}

/* Single News: smaller landscape featured image with a consistent fixed height. */
body.single-news .section-blog-detail .blog-detail-image {
    width: min(100%, 900px) !important;
    height: 420px !important;
    margin-inline: auto !important;
    overflow: hidden !important;
}
body.single-news .section-blog-detail .blog-detail-image img {
    width: 100% !important;
    height: 100% !important;
    max-height: 420px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Contact Information: consistent spacing between existing boxes only. */
.section-contact-page .contact-info-list {
    gap: 16px !important;
}

@media (max-width: 767px) {
    body.single-news .section-blog-detail .blog-detail-image {
        height: 260px !important;
    }
    body.single-news .section-blog-detail .blog-detail-image img {
        max-height: 260px !important;
    }
}

/* =========================================================
   V16 — Responsive content updates
   Scope: compact footer, Single Product table,
   Our Specializations imagery, and About read-more.
   Private Label rules removed to restore the original page styling.
   ========================================================= */

/* Footer: compact RESPONSIVELY while preserving the original design.
   Only spacing/overall footprint is reduced; typography, cards, icons, colors and structure stay unchanged. */
.alfa-footer-main {
    padding-block: clamp(34px, 4.2vw, 50px) clamp(28px, 3.5vw, 42px) !important;
}
.alfa-footer .row {
    --bs-gutter-x: clamp(24px, 3vw, 42px);
    --bs-gutter-y: 18px;
}
.alfa-footer-brand {
    margin-bottom: 0 !important;
}
.alfa-footer-logo {
    width: clamp(190px, 18vw, 220px) !important;
    height: clamp(76px, 7.2vw, 88px) !important;
    margin-bottom: 14px !important;
}
.alfa-footer-column h4 {
    margin-bottom: 16px !important;
    padding-bottom: 10px !important;
}
.alfa-footer-links {
    gap: 6px !important;
}
.alfa-footer-links a {
    padding-block: 3px !important;
}
.alfa-footer-contact {
    gap: 8px !important;
}
.alfa-footer-contact li {
    gap: 12px !important;
    padding: 10px 12px !important;
}
.alfa-footer-social {
    gap: 8px !important;
}
.alfa-footer-bottom-content {
    position: static !important;
    min-height: 58px;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    gap: 16px;
    padding-block: 13px;
}

/* Single Product: keep the table inside the viewport and make touch scrolling clear. */
.single-product .product-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}
.single-product .product-details-table {
    width: 100%;
    min-width: 520px;
    table-layout: auto;
}
.single-product .product-details-table th,
.single-product .product-details-table td {
    white-space: nowrap;
}
.single-product .product-details-table td:last-child,
.single-product .product-details-table th:last-child {
    min-width: 130px;
}
.single-product .product-colors {
    min-width: 82px;
    flex-wrap: wrap;
}

/* Our Specializations: larger, proportional images while keeping slider cards bounded. */
body.page-template-page-home .home-categories-section .specialization-card-image,
body.home .home-categories-section .specialization-card-image {
    width: 170px;
    height: 170px;
    flex-basis: 170px;
    max-width: 100%;
}
body.page-template-page-home .home-categories-section .specialization-card-image img,
body.home .home-categories-section .specialization-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Us: initial summary + accessible bilingual expansion control. */
.about-expandable {
    position: relative;
    margin-top: 12px;
}
.about-expandable-content {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    font-size: 18px;
    transition: max-height 420ms ease;
}
.about-expandable-content::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 54px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.about-expandable.is-expanded .about-expandable-content {
    max-height: 2600px;
}
.about-expandable.is-expanded .about-expandable-content::after {
    display: none;
}
.about-read-more {
    width: fit-content;
    min-width: 0;
    min-height: 40px;
    height: auto;
    margin-top: 16px;
    padding: 9px 16px;
    font-size: 13px;
}

@media (min-width: 768px) and (max-width: 991px) {
    body.page-template-page-home .home-categories-section .specialization-card-image,
    body.home .home-categories-section .specialization-card-image {
        width: 180px;
        height: 180px;
        flex-basis: 180px;
    }
}

@media (max-width: 767px) {
    .alfa-footer-main {
        padding-block: 28px 24px !important;
    }
    .alfa-footer .row {
        --bs-gutter-y: 14px;
    }
    .alfa-footer-logo {
        width: 180px !important;
        height: 72px !important;
        margin-bottom: 12px !important;
    }
    .alfa-footer-column h4 {
        margin-bottom: 12px !important;
        padding-bottom: 9px !important;
    }
    .alfa-footer-links {
        gap: 5px !important;
    }
    .alfa-footer-contact {
        gap: 7px !important;
    }
    .alfa-footer-contact li {
        padding: 9px 11px !important;
    }
    .alfa-footer-bottom-content {
        min-height: 0;
        gap: 8px;
        padding-block: 11px !important;
    }
    .single-product .product-table-wrap {
        margin-inline: 0;
        border-radius: 14px;
    }
    .single-product .product-details-table {
        min-width: 460px;
    }
    .single-product .product-details-table > :not(caption) > * > * {
        padding: 12px 14px !important;
    }
    body.page-template-page-home .home-categories-section .specialization-card,
    body.home .home-categories-section .specialization-card {
        min-height: 305px;
    }
    body.page-template-page-home .home-categories-section .specialization-card-image,
    body.home .home-categories-section .specialization-card-image {
        width: min(172px, 56vw);
        height: min(172px, 56vw);
        flex-basis: min(172px, 56vw);
    }
    .about-expandable-content {
        max-height: 138px;
    }
    .about-read-more {
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 390px) {
    .single-product .product-details-table {
        min-width: 430px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-expandable-content {
        transition: none;
    }
}

/* =========================================================
   V17 — Requested UI refinements
   Typography, facts heading, footer alignment, products browser,
   and balanced Single Product media. No unrelated page changes.
   ========================================================= */

/* Paragraph baseline requested site-wide. */
p,
.about-page p,
.product-card p,
.facts-desc,
.dr-profile-page .alfa-heading > p,
.dr-intro-content > p,
.dr-profile-card p,
.alfa-footer-bottom-content p {
    font-size: 20px !important;
}

/* Main display/section headings use one consistent type family. */
h1,
h2,
.responsive-page-banner .page-title,
.section-title,
.sect-heading .s-title,
.sect-heading-v2 .s-title,
.alfa-heading h2,
.about-heading h2,
.section-heading h2,
.facts-main-title,
.product-title,
body.alfa-direction-rtl h1,
body.alfa-direction-rtl h2 {
    font-family: "Instrument Serif", "Geist", serif !important;
}

/* Keep the Awesome Facts title centered as a block and as text. */
.facts-awesome-section .facts-main-title,
body.page-template-page-home .home-facts-section .facts-main-title,
body.home .home-facts-section .facts-main-title {
    width: 100%;
    max-width: 880px;
    margin-inline: auto !important;
    text-align: center !important;
}

/* Footer logo: left aligned and vertically centered with footer columns. */
.alfa-footer .row {
    align-items: center !important;
}
.alfa-footer-brand {
    width: 100%;
    align-items: flex-start !important;
    justify-content: center;
    text-align: left;
}
.alfa-footer-logo {
    margin-left: 0 !important;
    margin-right: auto !important;
}
.alfa-footer-social {
    justify-content: flex-start !important;
}

/* Products page: category -> horizontal subcategory tabs -> product grid. */
.products-browser {
    position: relative;
    width: 100%;
    min-width: 0;
}
.page-template-page-products .products-section,
.page-template-page-products .products-section .container,
.page-template-page-products .products-category-panels,
.page-template-page-products .products-category-panel,
.page-template-page-products .products-subcategory-panel {
    min-width: 0;
    max-width: 100%;
}
.products-main-categories {
    margin-bottom: 22px !important;
}
.products-category-panel[hidden],
.products-subcategory-panel[hidden] {
    display: none !important;
}
.products-category-panel.is-active,
.products-subcategory-panel.is-active {
    animation: alfaTabIn 280ms var(--alfa-ease) both;
}
.products-subcategory-tabs-wrap {
    position: relative;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto 30px;
    overflow: hidden;
}
.products-subcategory-tabs {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.products-subcategory-tab {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid var(--alfa-line);
    border-radius: 999px;
    background: #fff;
    color: var(--alfa-ink-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 5px 16px rgba(35, 33, 48, 0.04);
    transition: border-color var(--alfa-fast), background-color var(--alfa-fast), color var(--alfa-fast), box-shadow var(--alfa-fast), transform var(--alfa-fast);
}
.products-subcategory-tab:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.38);
    background: var(--alfa-primary-50);
    color: var(--alfa-primary);
}
.products-subcategory-tab.is-active {
    border-color: var(--alfa-primary);
    background: var(--alfa-primary);
    color: #fff;
    box-shadow: 0 7px 18px rgba(var(--alfa-primary-rgb), 0.2);
}
.products-subcategory-tab:focus-visible,
.products-main-categories .category-btn:focus-visible {
    outline: 3px solid rgba(var(--alfa-primary-rgb), 0.22);
    outline-offset: 3px;
}
.products-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    text-align: start;
}
.products-product-grid .card-product {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 8px 24px rgba(35, 33, 48, 0.055) !important;
    transition: transform var(--alfa-medium), box-shadow var(--alfa-medium), border-color var(--alfa-fast) !important;
}
.products-product-grid .card-product:hover {
    border-color: rgba(var(--alfa-primary-rgb), 0.35) !important;
    box-shadow: 0 16px 34px rgba(35, 33, 48, 0.09) !important;
    transform: translateY(-4px) !important;
}
.products-product-grid .card-product_wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--alfa-surface);
}
.products-product-grid .product-img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.products-product-grid .product-img img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: opacity var(--alfa-medium), transform 700ms var(--alfa-ease) !important;
}
.products-product-grid .product-img .img-hover {
    opacity: 0;
}
.products-product-grid .card-product.has-hover-image:hover .img-product {
    opacity: 0;
}
.products-product-grid .card-product.has-hover-image:hover .img-hover {
    opacity: 1;
}
.products-product-grid .card-product:not(.has-hover-image):hover .img-product {
    transform: scale(1.025);
}
.products-product-grid .card-product_info {
    display: flex;
    min-height: 72px;
    align-items: center;
    padding: 16px 18px !important;
}
.products-product-grid .name-product {
    color: var(--alfa-ink) !important;
    font-size: 17px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}
.products-empty-state {
    grid-column: 1 / -1;
    margin: 12px 0 0 !important;
    text-align: center;
    color: var(--alfa-copy);
}

/* Single Product: same rounded media treatment as the site, balanced against details. */
body.single-product .section-product-single .row {
    align-items: center !important;
}
body.single-product .product-single-image {
    width: 100%;
    max-width: 470px;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    overflow: hidden !important;
    border: 1px solid var(--alfa-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: var(--alfa-shadow-sm) !important;
}
body.single-product .product-single-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: none !important;
}
body.single-product .product-single-content {
    padding: clamp(24px, 3vw, 40px) !important;
}

@media (max-width: 991px) {
    .page-template-page-products .products-section {
        overflow: hidden;
    }
    .products-main-categories,
    .products-subcategory-tabs {
        justify-content: flex-start;
    }
    .products-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    body.single-product .product-single-image {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .page-template-page-products .products-section {
        padding-inline: 0;
    }
    .page-template-page-products .products-section .container {
        padding-inline: 15px;
    }
    .products-main-categories {
        display: flex !important;
        width: 100% !important;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 5px !important;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .products-main-categories .category-btn {
        width: auto !important;
        min-width: max-content !important;
        flex: 0 0 auto;
    }
    .products-subcategory-tabs-wrap {
        margin-bottom: 22px;
        overflow: visible;
    }
    .products-subcategory-tabs {
        justify-content: flex-start;
        margin-inline: 0;
        padding-inline: 2px;
    }
    .products-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .products-product-grid .card-product_wrapper {
        aspect-ratio: 4 / 4.2;
    }
    .alfa-footer-brand {
        align-items: flex-start !important;
    }
    .alfa-footer-logo {
        margin-left: 0 !important;
        margin-right: auto !important;
    }
    body.single-product .product-single-image {
        max-width: 100%;
        border-radius: 18px !important;
    }
    body.single-product .product-single-content {
        padding: 22px 18px !important;
    }
}

@media (max-width: 399px) {
    .page-template-page-products .products-section .container {
        padding-inline: 12px;
    }
    .products-product-grid .card-product {
        border-radius: 16px !important;
    }
    .products-product-grid .card-product_info {
        min-height: 64px;
        padding: 14px !important;
    }
    .products-product-grid .name-product {
        font-size: 16px !important;
    }
}
