/* ============================================================
   Rucha Enterprises - Shared Stylesheet
   Shared header/footer styles + page-scoped styles.
   Page scoping prevents same-name selectors from conflicting.
   ============================================================ */

/* ==================== HEADER (shared) ==================== */
/* The cream panel masks the hero image around the logo. */


@font-face {
    font-family: 'Manrope';
    src: url('Manrope-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

    .logo-mask {
        --logo-curve: 18px;
        --logo-bg: #F4F1EA;

        position: relative;
        z-index: 5;
        isolation: isolate;
        overflow: visible;
        background: var(--logo-bg);

        /* Only the actual logo panel’s bottom-right corner */
        border-radius: 0 0 var(--logo-curve) 0;
    }

    /* Shared inverted-corner styling */
    .logo-mask::before,
    .logo-mask::after {
        content: "";
        position: absolute;
        width: var(--logo-curve);
        height: var(--logo-curve);
        pointer-events: none;

        /*
  Cream remains outside the curve.
  The transparent quarter-circle reveals the hero image.
*/
        background:
            radial-gradient(circle var(--logo-curve) at 100% 100%,
                transparent calc(var(--logo-curve) - 1px),
                var(--logo-bg) var(--logo-curve));
    }

    /* Upper decorative curve removed. */
    /* Curve at the top-right of the logo panel */
.logo-mask::before {
    display: block;
    top: 0;
    right: calc(var(--logo-curve) * -1);
}

    /* Curve below the logo at the bottom-left */
    .logo-mask::after {
        left: 0;
        bottom: calc(var(--logo-curve) * -1);
    }

    .logo-mask img {
        position: relative;
        z-index: 2;
    }
    /* Desktop glass navigation. */
    .nav-shell {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        background: rgba(9, 35, 62, 0.38);
        box-shadow: 0 10px 28px rgba(3, 24, 48, 0.16);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .desktop-nav {
        display: none;
        align-items: center;
        gap: 28px;
        max-width: 620px;
        margin-left: 18px;
        margin-right: 12px;
        white-space: nowrap;
        opacity: 1;
        transform: translateX(0);
        transition:
            max-width 480ms cubic-bezier(.2, .8, .2, 1),
            margin 480ms cubic-bezier(.2, .8, .2, 1),
            opacity 260ms ease,
            transform 480ms cubic-bezier(.2, .8, .2, 1);
    }


    @media (min-width: 1024px) {
        .desktop-nav {
            display: flex;
        }
    }

    .nav-shell.is-collapsed .desktop-nav {
        max-width: 0;
        margin-left: 0;
        margin-right: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transform: translateX(24px);
    }

    .menu-toggle {
        position: relative;
        display: grid;
        flex: 0 0 auto;
        place-items: center;
    }

    .menu-icon {
        position: relative;
        display: block;
        width: 20px;
        height: 15px;
    }

    .menu-icon span {
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition:
            top 260ms ease,
            transform 260ms ease,
            opacity 180ms ease;
    }

    .menu-icon span:nth-child(1) {
        top: 0;
    }

    .menu-icon span:nth-child(2) {
        top: 6.5px;
    }

    .menu-icon span:nth-child(3) {
        top: 13px;
    }

    .menu-toggle.is-open .menu-icon span:nth-child(1) {
        top: 6.5px;
        transform: rotate(45deg);
    }

    .menu-toggle.is-open .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open .menu-icon span:nth-child(3) {
        top: 6.5px;
        transform: rotate(-45deg);
    }

    /* Mobile menu slides down under the pill. */
    .mobile-nav-panel {
        position: absolute;
        top: 74px;
        right: 16px;
        z-index: 35;
        width: min(260px, calc(100vw - 32px));
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 20px;
        background: rgba(8, 34, 61, 0.74);
        box-shadow: 0 18px 50px rgba(1, 17, 35, 0.25);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition:
            opacity 260ms ease,
            transform 360ms cubic-bezier(.2, .8, .2, 1),
            visibility 0s linear 360ms;
    }

    .mobile-nav-panel.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .mobile-nav-link {
        display: block;
        padding: 13px 18px;
        color: rgba(255, 255, 255, 0.92);
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        transition: background 180ms ease, padding-left 180ms ease;
    }

    .mobile-nav-link:last-child {
        border-bottom: 0;
    }

    .mobile-nav-link:hover {
        padding-left: 22px;
        background: rgba(255, 255, 255, 0.08);
    }


    @media (prefers-reduced-motion: reduce) {
        .desktop-nav,
        .mobile-nav-panel,
        .menu-icon span {
            transition: none !important;
        }
    }

     
    .nav-item-wrapper {
        position: relative;
        z-index: 1;
    }

    /* Keep the currently open menu above neighbouring nav items.
       This prevents another nav label from stealing the pointer while
       the user moves toward the right side of the dropdown. */
    .nav-item-wrapper.is-active {
        z-index: 100;
    }

    .nav-item-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: none;
        border: 0;
        cursor: pointer;
        font: inherit;
        color: inherit;
        padding: 2px 0;
    }

    .nav-item-caret {
        width: 9px;
        height: 9px;
        transition: transform 220ms ease;
        opacity: 0.75;
    }

    .nav-item-wrapper.is-active .nav-item-caret {
        transform: rotate(180deg);
    }

    .nav-item-wrapper.is-active .nav-item-link {
        color: #fff;
    }

    .mega-menu-host {
        position: absolute;
        left: 50%;
        top: 100%;
        z-index: 100;
        transform: translateX(-50%);

        /* Desktop dropdown is intentionally narrow and vertical instead
           of a wide two-column box. */
        width: min(340px, calc(100vw - 40px));

        /* The padding is an invisible hover bridge between the nav label
           and the visible dropdown. Unlike a margin/top gap, it remains
           part of the hoverable menu area. */
        padding-top: 14px;
        pointer-events: none;
    }

    /* Keep every desktop dropdown tied to the nav item that owns it.
       Home opens from its left edge; Contact opens from its right edge so
       it stays inside the viewport. Middle items remain centred below
       their own label. */
    .nav-item-wrapper:first-child .mega-menu-host {
        left: 0;
        right: auto;
        transform: none;
    }

    .nav-item-wrapper:last-child .mega-menu-host {
        left: auto;
        right: 0;
        transform: none;
    }

    .mega-menu-host.is-open {
        pointer-events: auto;
    }

    .mega-menu-panel {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 22px;
        background: rgba(6, 26, 48, 0.82);
        box-shadow: 0 26px 60px rgba(1, 14, 30, 0.38);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        transform-origin: top left;
        transition:
            opacity 220ms ease,
            transform 260ms cubic-bezier(.2, .8, .2, 1),
            visibility 0s linear 260ms;
    }

    .mega-menu-host.is-open .mega-menu-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        transition-delay: 0s;
    }

    .mega-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 16px 18px 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .mega-menu-title {
        font-size: 13.5px;
        font-weight: 600;
        color: #fff;
        letter-spacing: -0.01em;
    }

    .mega-search-btn {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
        transition: background 180ms ease, transform 180ms ease;
    }

    .mega-search-btn:hover {
        background: rgba(255, 255, 255, 0.14);
        transform: scale(1.05);
    }

    .mega-back-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 0;
        background: none;
        color: rgba(255, 255, 255, 0.75);
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        padding: 0;
        transition: color 160ms ease;
    }

    .mega-back-btn:hover {
        color: #fff;
    }

    .mega-menu-body {
        position: relative;

        /* No fixed height: the dropdown grows only as much as its content.
           Very long menus stop at the available viewport and then scroll. */
        height: auto;
        min-height: 0;
        max-height: calc(100vh - 150px);
        overflow: hidden;
    }

    /* Category list: one vertically aligned item per row. */
    .mega-cat-grid {
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        gap: 0;
        height: auto;
        max-height: calc(100vh - 220px);
        padding: 10px 18px 14px;
        overflow-y: auto;
    }

    .mega-cat-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 0;
        background: none;
        cursor: pointer;
        padding: 9px 2px;
        text-align: left;
        color: rgba(255, 255, 255, 0.88);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mega-cat-icon {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 26px;
        height: 26px;
        color: rgba(255, 255, 255, 0.85);
    }

    .mega-cat-icon img {
        width: 18px;
        height: 18px;
        object-fit: contain;
        filter: brightness(0) invert(1);
        opacity: 0.9;
    }

    .mega-cat-label {
        position: relative;
        flex: 1;
        min-width: 0;
        font-size: 12.5px;
        font-weight: 500;
        line-height: 1.3;
    }

    .mega-cat-label::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 1px;
        width: 0%;
        background: #F33B32;
        transition: width 260ms cubic-bezier(.2, .8, .2, 1);
    }

    .mega-cat-btn:hover .mega-cat-label::after,
    .mega-cat-btn:focus-visible .mega-cat-label::after {
        width: 100%;
    }

    .mega-cat-btn:hover .mega-cat-label,
    .mega-cat-btn:focus-visible .mega-cat-label {
        color: #fff;
    }

    .mega-cat-chevron {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
        opacity: 0.5;
        transition: transform 200ms ease, opacity 200ms ease;
    }

    .mega-cat-btn:hover .mega-cat-chevron {
        opacity: 1;
        transform: translateX(2px);
    }

    /* Sub-item list (drill-down) */
    .mega-list-view {
        height: auto;
        padding: 12px 18px 18px;
    }

    .mega-list-title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .mega-list-title h4 {
        font-size: 13px;
        font-weight: 600;
        color: #fff;
    }

    .mega-list-count {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.5);
    }

    .mega-list-scroll {
        max-height: calc(100vh - 255px);
        overflow-y: auto;
        padding-right: 4px;
    }

    .mega-list-item {
        display: block;
        padding: 8px 4px;
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transition: color 160ms ease, padding-left 160ms ease;
    }

    .mega-list-item:hover {
        color: #fff;
        padding-left: 8px;
    }

    /* Search overlay - covers the box, hides all values */
    .mega-search-overlay {
        position: absolute;
        inset: 0;
        z-index: 20;
        display: flex;
        flex-direction: column;
        background: rgba(6, 26, 48, 0.97);
        opacity: 0;
        visibility: hidden;
        transition: opacity 200ms ease, visibility 0s linear 200ms;
    }

    .mega-search-overlay.is-open {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    .mega-search-input-row {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }

    .mega-search-input-row svg {
        flex-shrink: 0;
        color: rgba(255, 255, 255, 0.55);
    }

    .mega-search-input {
        flex: 1;
        min-width: 0;
        background: none;
        border: 0;
        outline: none;
        color: #fff;
        font-size: 13px;
    }

    .mega-search-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .mega-search-close {
        flex-shrink: 0;
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border-radius: 999px;
        border: 0;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.75);
        cursor: pointer;
    }

    .mega-search-results {
        flex: 1;
        overflow-y: auto;
        padding: 6px 16px 16px;
    }

    .mega-search-empty {
        padding: 30px 4px;
        text-align: center;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.45);
    }

    .mega-search-result-item {
        display: flex;
        flex-direction: column;
        gap: 1px;
        padding: 9px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        color: rgba(255, 255, 255, 0.85);
    }

    .mega-search-result-item span.result-cat {
        font-size: 10px;
        color: rgba(255, 255, 255, 0.42);
    }

    .mega-search-result-item mark {
        background: rgba(243, 59, 50, 0.35);
        color: #fff;
        border-radius: 2px;
    }

    .mega-cat-grid::-webkit-scrollbar,
    .mega-list-scroll::-webkit-scrollbar,
    .mega-search-results::-webkit-scrollbar {
        width: 5px;
    }

    .mega-cat-grid::-webkit-scrollbar-thumb,
    .mega-list-scroll::-webkit-scrollbar-thumb,
    .mega-search-results::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.18);
        border-radius: 999px;
    }

    @media (min-width: 1024px) and (max-height: 700px) {
        .mega-menu-body {
            max-height: calc(100vh - 125px);
        }

        .mega-cat-grid {
            max-height: calc(100vh - 195px);
        }

        .mega-list-scroll {
            max-height: calc(100vh - 225px);
        }
    }

    /* =====================================================
       FULL-SCREEN PRODUCT SEARCH
    ===================================================== */

    body.search-locked {
        overflow: hidden;
    }

    .site-search-overlay {
        position: fixed;
        inset: 0;
        z-index: 120;
        display: flex;
        flex-direction: column;
        background: rgba(2, 10, 22, 0.30);
        color: #fff;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        transition:
            opacity 220ms ease,
            transform 280ms cubic-bezier(.2, .8, .2, 1),
            visibility 0s linear 280ms;
    }

    .site-search-overlay.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .site-search-header {
        flex-shrink: 0;
        width: min(1120px, calc(100% - 40px));
        margin: clamp(56px, 9vh, 110px) auto 0;
    }

    .site-search-input-wrap {
        display: flex;
        width: 100%;
        min-height: 70px;
        align-items: center;
        gap: 15px;
        padding: 0 12px 0 22px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 22px;
        background: rgba(6, 26, 48, 0.84);
        box-shadow: 0 26px 60px rgba(1, 14, 30, 0.38);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .site-search-input-wrap > svg {
        width: 23px;
        height: 23px;
        flex-shrink: 0;
        color: rgba(255, 255, 255, 0.62);
    }

    .site-search-input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        font-size: clamp(18px, 2vw, 27px);
        font-weight: 500;
        letter-spacing: -0.02em;
    }

    .site-search-input::placeholder {
        color: rgba(255, 255, 255, 0.42);
    }

    .site-search-close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.07);
        color: #fff;
        cursor: pointer;
        transition: transform 180ms ease, background 180ms ease;
    }

    .site-search-close:hover {
        transform: rotate(5deg) scale(1.04);
        background: rgba(255, 255, 255, 0.14);
    }

    /* Nothing is displayed below the search field until the user types. */
    .site-search-body {
        display: none;
        width: min(1400px, calc(100% - 40px));
        min-height: 0;
        flex: 1;
        margin: 24px auto 0;
        padding-bottom: 36px;
        overflow-y: auto;
    }

    .site-search-overlay.has-query .site-search-body {
        display: block;
    }

    .site-search-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 14px;
        color: rgba(255, 255, 255, 0.62);
        font-size: 13px;
    }

    .site-search-summary strong {
        color: #fff;
    }

    .site-search-results {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        width: 100%;
    }

    .site-search-product-card {
        display: flex;
        min-width: 0;
        flex-direction: column;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 20px;
        background: rgba(6, 26, 48, 0.84);
        box-shadow: 0 20px 44px rgba(1, 14, 30, 0.28);
        color: #fff;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
    }

    .site-search-product-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(8, 34, 61, 0.92);
    }

    .site-search-product-image {
        position: relative;
        aspect-ratio: 1.35 / 1;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.055);
    }

    .site-search-product-image::before {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-110%);
        background: linear-gradient(
            100deg,
            transparent 16%,
            rgba(255, 255, 255, 0.08) 44%,
            rgba(255, 255, 255, 0.15) 52%,
            rgba(255, 255, 255, 0.08) 60%,
            transparent 84%
        );
        animation: productImageShimmer 1.8s ease-in-out infinite;
    }

    @keyframes productImageShimmer {
        to { transform: translateX(110%); }
    }

    .site-search-product-content {
        display: flex;
        min-height: 126px;
        flex-direction: column;
        padding: 16px;
    }

    .site-search-product-meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .site-search-product-code {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        border-radius: 999px;
        background: rgba(243, 59, 50, 0.18);
        padding: 5px 9px;
        color: #ff817a;
        font-size: 10px;
        font-weight: 750;
        letter-spacing: 0.06em;
    }

    .site-search-product-category {
        overflow: hidden;
        color: rgba(255, 255, 255, 0.48);
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .site-search-product-title {
        display: -webkit-box;
        overflow: hidden;
        color: #fff;
        /* font-size: 14px; */
        font-weight: 650;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-search-product-card mark,
    .site-search-product-code mark {
        border-radius: 3px;
        background: rgba(243, 59, 50, 0.28);
        color: inherit;
    }

    .site-search-empty-state {
        grid-column: 1 / -1;
        display: grid;
        min-height: 260px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        background: rgba(6, 26, 48, 0.76);
        padding: 40px 20px;
        text-align: center;
        color: rgba(255, 255, 255, 0.52);
    }

    .site-search-empty-state strong {
        display: block;
        margin-bottom: 6px;
        color: #fff;
        font-size: 18px;
    }

    .mega-list-item {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
    }

    .mega-list-item.no-code {
        grid-template-columns: minmax(0, 1fr);
    }

    .mega-list-code {
        color: #ff7a73;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    .drawer-item-code {
        display: inline-block;
        min-width: 46px;
        margin-right: 8px;
        color: #ff817a;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    @media (max-width: 1100px) {
        .site-search-results {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 767px) {
        .site-search-header {
            width: calc(100% - 28px);
            margin-top: max(14px, env(safe-area-inset-top));
        }

        .site-search-input-wrap {
            min-height: 58px;
            gap: 10px;
            padding: 0 8px 0 15px;
            border-radius: 17px;
        }

        .site-search-input {
            font-size: 16px;
        }

        .site-search-close {
            width: 39px;
            height: 39px;
        }

        .site-search-body {
            width: calc(100% - 28px);
            margin-top: 18px;
        }

        .site-search-summary {
            align-items: flex-start;
            flex-direction: column;
        }

        .site-search-results {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
        }
    }
    
    @media (max-width: 480px) {
        .site-search-results {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            /* grid-template-columns: 1fr; */
        }
    }

    @media (max-width: 639px) {
        .mega-menu-host {
            display: none;
        }
    }

    /* =====================================================
       MOBILE DRAWER (RIGHT EDGE, MYNTRA-STYLE DRILL-DOWN)
    ===================================================== */

    .drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 40;
        background: rgba(2, 10, 22, 0.55);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 280ms ease, visibility 0s linear 280ms;
    }

    .drawer-backdrop.is-open {
        opacity: 1;
        visibility: visible;
        transition-delay: 0s;
    }

    .mobile-drawer {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        width: min(360px, 86vw);
        display: flex;
        flex-direction: column;
        background: #061a30;
        box-shadow: -18px 0 50px rgba(1, 12, 26, 0.35);
        transform: translateX(100%);
        transition: transform 340ms cubic-bezier(.2, .8, .2, 1);
    }

    .mobile-drawer.is-open {
        transform: translateX(0);
    }

    .drawer-top {
        flex-shrink: 0;
        padding: 18px 18px 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drawer-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .drawer-close-btn {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .drawer-search-row {
        margin-top: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.05);
    }

    .drawer-search-row svg {
        flex-shrink: 0;
        color: rgba(255, 255, 255, 0.5);
    }

    .drawer-search-row input {
        flex: 1;
        min-width: 0;
        background: none;
        border: 0;
        outline: none;
        color: #fff;
        font-size: 13px;
    }

    .drawer-search-row input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .drawer-levels-viewport {
        position: relative;
        flex: 1;
        overflow: hidden;
    }

    .drawer-levels-track {
        display: flex;
        width: 300%;
        height: 100%;
        transform: translateX(0%);
        transition: transform 320ms cubic-bezier(.2, .8, .2, 1);
    }

    .drawer-levels-track[data-level="1"] {
        transform: translateX(-33.3333%);
    }

    .drawer-levels-track[data-level="2"] {
        transform: translateX(-66.6666%);
    }

    .drawer-level {
        width: 33.3333%;
        height: 100%;
        overflow-y: auto;
        padding: 6px 0 24px;
    }

    .drawer-level-header {
        display: none;
        align-items: center;
        gap: 8px;
        padding: 14px 18px 6px;
    }

    .drawer-level:not(:first-child) .drawer-level-header {
        display: flex;
    }

    .drawer-level-header button {
        display: grid;
        place-items: center;
        width: 26px;
        height: 26px;
        border-radius: 999px;
        border: 0;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        flex-shrink: 0;
    }

    .drawer-level-header h4 {
        font-size: 13.5px;
        font-weight: 600;
        color: #fff;
    }

    .drawer-nav-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 18px;
        border: 0;
        background: none;
        text-align: left;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14.5px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .drawer-nav-row svg {
        opacity: 0.55;
        flex-shrink: 0;
    }

    .drawer-cat-row {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 18px;
        border: 0;
        background: none;
        text-align: left;
        color: rgba(255, 255, 255, 0.86);
        font-size: 13px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .drawer-cat-row img {
        width: 16px;
        height: 16px;
        object-fit: contain;
        filter: brightness(0) invert(1);
        opacity: 0.85;
    }

    .drawer-cat-row .drawer-cat-icon {
        display: grid;
        place-items: center;
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .drawer-cat-row span.cat-label {
        flex: 1;
        min-width: 0;
    }

    .drawer-cat-row svg.chev {
        margin-left: auto;
        opacity: 0.5;
        flex-shrink: 0;
    }

    .drawer-item-link {
        display: block;
        padding: 10px 18px;
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .drawer-item-link:active {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    body.drawer-locked {
        overflow: hidden;
    }
    /* Products menu: show 6 categories at a time */
.mega-menu-host[data-nav-key="products"] .mega-cat-grid {
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

/* Each category row is 46px */
.mega-menu-host[data-nav-key="products"] .mega-cat-btn {
    height: 46px;
    min-height: 46px;
    padding-top: 0;
    padding-bottom: 0;
}
/* Keep the right navigation capsule visible while scrolling */
.nav-capsule-fixed {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 110;
}

@media (min-width: 640px) {
    .nav-capsule-fixed {
        top: 25px;
        right: 24px;
    }
}

@media (min-width: 1024px) {
    .nav-capsule-fixed {
        right: 36px;
    }
}
.nav-item-wrapper[data-nav-key="home"] .nav-item-caret,
.nav-item-wrapper[data-nav-key="about"] .nav-item-caret,
.nav-item-wrapper[data-nav-key="contact"] .nav-item-caret {
    display: none;
}

/* ==================== FOOTER (shared) ==================== */
.site-footer summary {
        user-select: none;
        -webkit-user-select: none;
    }

    .site-footer summary::marker {
        content: "";
    }

        /* ==================== HOME PAGE ==================== */
        body.page-home{
            scroll-behavior: smooth;
        }

        body.page-home{
            font-family: Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
                "Segoe UI", sans-serif;
        }

        /*
        * Shared homepage alignment system.
        * Every section uses the same outer width and the same responsive
        * left/right inset as the hero content.
        */
        
        body.page-home{
            --page-gutter: 0.75rem;
            /* matches main px-3 */
            --content-inset: 1.25rem;
            /* 20px */
        }

        body.page-home .site-section{
            width: 100%; 
            margin-inline: auto;
        }

        /* .site-content {
        padding-inline: var(--content-inset);
    } */

        /* Full-bleed background with aligned inner content. */
        body.page-home .full-bleed-section{
            width: calc(100% + (var(--page-gutter) * 2));
            max-width: none;
            margin-inline: calc(var(--page-gutter) * -1);
        }

        body.page-home .full-bleed-section>.site-content{
            padding: 0 20px;
        }

        @media (min-width: 768px) {
            body.page-home .full-bleed-section>.site-content{
                padding: 10px 31px;
            }
        }

        @media (min-width: 640px) {
            body.page-home{
                --page-gutter: 1.25rem;
                /* matches sm:px-5 */
                --content-inset: 2.25rem;
                /* 36px */
            }
        }

        @media (min-width: 1024px) {
            body.page-home{
                --page-gutter: 1.75rem;
                /* matches lg:px-7 */
                --content-inset: 3.5rem;
                /* 56px */
            }
        }

        @media (min-width: 1280px) {
            body.page-home{
                --content-inset: 4rem;
                /* 64px */
            }
        }

        body.page-home .hero-overlay{
            z-index: 2;
            background:
                /* Strong black/navy shade beginning at the left edge */
                linear-gradient(90deg,
                    rgba(0, 8, 18, 0.86) 0%,
                    rgba(0, 12, 27, 0.72) 24%,
                    rgba(3, 22, 43, 0.50) 45%,
                    rgba(3, 22, 43, 0.18) 70%,
                    rgba(3, 22, 43, 0.03) 100%),
                /* Keeps the lower content readable without darkening the sky too much */
                linear-gradient(0deg,
                    rgba(2, 17, 36, 0.50) 0%,
                    rgba(2, 17, 36, 0.08) 58%);
            pointer-events: none;
        }

        /* Office, heading and subtitle fade when the hero slide changes. */
        body.page-home .hero-copy-transition{
            opacity: 1;
            transform: translateY(0);
            transition:
                opacity 320ms ease,
                transform 360ms cubic-bezier(.2, .8, .2, 1);
        }

        body.page-home .hero-copy-transition.is-changing{
            opacity: 0;
            transform: translateY(10px);
        }

        /* Stacked hero images cross-fade instead of moving horizontally. */
        body.page-home .hero-slide{
            position: absolute;
            inset: 0;
            z-index: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            opacity: 0;
            transform: scale(1.035);
            transition:
                opacity 1100ms ease-in-out,
                transform 6500ms ease-out;
            will-change: opacity, transform;
        }

        body.page-home .hero-slide.is-active{
            opacity: 1;
            transform: scale(1);
        }


        body.page-home .slide-progress-fill{
            width: 100%;
            transform: scaleX(0);
            transform-origin: left center;
        }

        body.page-home .slide-progress-fill.is-running{
            animation: slideProgress 2000ms linear forwards;
        }

        @keyframes slideProgress {
            to {
                transform: scaleX(1);
            }
        }

        @media (prefers-reduced-motion: reduce) {

            body.page-home .hero-slide,
body.page-home .hero-copy-transition{
                transition: none !important;
            }

            body.page-home .slide-progress-fill.is-running{
                animation: none;
                transform: scaleX(1);
            }
        }

        body.page-home .contribution-shell{
            position: relative;
            padding-top: 39px;
        }

        body.page-home .contribution-panel{
            position: relative;
            overflow: hidden;
            border-radius: 0 32px 32px 32px;
        }

        body.page-home .contribution-label{
            position: absolute;
            left: 0;
            top: 0;
            z-index: 5;
            display: flex;
            height: 40px;
            min-width: 150px;
            align-items: center;
            padding: 0 14px;
            color: white;
            font-size: 20px;
            font-weight: 600;
            border-bottom: 0;
            border-radius: 28px 28px 0 0;
        }

        body.page-home .contribution-stat-icon{
            width: 43px;
            height: 43px;
            margin-inline: auto;
            color: rgba(255, 255, 255, 0.95);
        }

        @media (max-width: 639px) {
            body.page-home .contribution-shell{
                padding-top: 37px;
            }

            body.page-home .contribution-label{
                min-width: 145px;
                height: 38px;
                font-size: 20px;
            }

            body.page-home .contribution-panel{
                border-radius: 0 25px 25px 25px;
            }
        }

        @media (min-width: 1024px) and (max-height: 820px) {
            body.page-home .contribution-shell{
                padding-top: 32px;
            }

            body.page-home .contribution-label{
                height: 33px;
                min-width: 140px;
                font-size: 20px;
            }

            body.page-home .contribution-stat-icon{
                width: 34px;
                height: 34px;
            }
        }

        /* =====================================================
        MOBILE CONTRIBUTION PANEL
        ===================================================== */

        body.page-home .mobile-contribution-card{
            background: #a7a4ff3b;
            border: 1px solid rgba(49, 42, 134, 0.08);
            box-shadow: 0 12px 28px rgba(49, 42, 134, 0.08);
        }

        body.page-home .mobile-contribution-icon{
            width: 30px;
            height: 30px;
            margin-inline: auto;
            color: #F33B32;
        }

        @media (min-width: 640px) {
            body.page-home .mobile-contribution-icon{
                width: 36px;
                height: 36px;
            }
        }

        /* =====================================================

        PRODUCT CATEGORY CAROUSEL
        ==================================================== */

        body.page-home .range-carousel{
            display: flex;
            gap: 18px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            padding-top: 42px;
            padding-bottom: 10px;
        }

        body.page-home .range-carousel::-webkit-scrollbar{
            display: none;
        }

        body.page-home .range-card{
            flex: 0 0 84%;
            scroll-snap-align: start;
        }

        body.page-home .range-arrow:disabled{
            opacity: 0.35;
            cursor: not-allowed;
        }

        @media (min-width: 640px) {
            body.page-home .range-card{
                flex-basis: calc(50% - 9px);
            }
        }

        @media (min-width: 1024px) {
            body.page-home .range-card{
                flex-basis: calc(21% - 14px);
            }
        }


        /* =====================================================

        WHY CHOOSE RUCHA
        ===================================================== */



        @media (max-width: 767px) {
            body.page-home .choose-rucha-image::after{
                background:
                    linear-gradient(0deg,
                        rgba(5, 28, 51, 0.94) 0%,
                        rgba(5, 28, 51, 0.22) 72%);
            }
        }

        /* =====================================================
       SHARED INTERACTION + REMAINING HOMEPAGE SECTIONS
        ===================================================== */

        body.page-home .range-carousel{
            cursor: grab;
            user-select: none;
            -webkit-user-select: none;
            touch-action: pan-y;
            overscroll-behavior-x: contain;
        }

        body.page-home .range-carousel.is-dragging{
            cursor: grabbing;
            scroll-behavior: auto;
            scroll-snap-type: none;
        }

        body.page-home .range-carousel img,
body.page-home .range-carousel a,
body.page-home .news-carousel img,
body.page-home .news-carousel a{
            -webkit-user-drag: none;
            user-drag: none;
        }

        body.page-home .certification-card{
            display: flex;
            height: 100%;
            flex-direction: column;
        }

        body.page-home .certification-card__media{
            flex: 1 1 auto;
        }

        body.page-home .certification-card__strip{
            display: flex;
            min-height: 48px;
            align-items: center;
            justify-content: center;
            margin-top: auto;
        }

        body.page-home .support-row{
            display: grid;
            gap: 24px;
            align-items: stretch;
            padding-block: 26px;
            border-bottom: 1px solid rgba(10, 34, 80, 0.12);
        }

        body.page-home .support-row:last-child{
            border-bottom: 0;
        }

        body.page-home .support-row__image{
            min-height: 260px;
        }

        body.page-home .news-carousel{
            display: flex;
            gap: 16px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            cursor: grab;
            user-select: none;
            -webkit-user-select: none;
            touch-action: pan-y;
            overscroll-behavior-x: contain;
        }

        body.page-home .news-carousel::-webkit-scrollbar{
            display: none;
        }

        body.page-home .news-carousel.is-dragging{
            cursor: grabbing;
            scroll-behavior: auto;
            scroll-snap-type: none;
        }

        body.page-home .news-card{
            flex: 0 0 86%;
            scroll-snap-align: start;
        }

        @media (min-width: 640px) {
            body.page-home .news-card{
                flex-basis: calc(50% - 8px);
            }
        }

        @media (min-width: 1024px) {
            body.page-home .support-row{
                grid-template-columns: 70px minmax(260px, 0.72fr) minmax(420px, 1.28fr);
                gap: 32px;
                padding-block: 34px;
            }

            body.page-home .support-row__image{
                min-height: 300px;
            }

            body.page-home .news-card{
                flex-basis: calc(33.333% - 11px);
            }
        }


        body.page-home .client-reason-card{
            position: relative;
            overflow: hidden;
        }

        body.page-home .client-reason-card::before{
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: #312A86;
        }


        @media (max-width: 639px) {
            body.page-home .support-row__image{
                min-height: 220px;
            }

        }

        body.page-home .news-carousel{
            display: flex;
            gap: 14px;
            overflow-x: auto;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            cursor: grab;
            user-select: none;
            touch-action: pan-y;
        }

        body.page-home .news-carousel::-webkit-scrollbar{
            display: none;
        }

        body.page-home .news-carousel.is-dragging{
            cursor: grabbing;
            scroll-behavior: auto;
            scroll-snap-type: none;
        }

        body.page-home .news-card{
            flex: 0 0 84%;
            scroll-snap-align: start;
        }

        @media (min-width: 640px) {
            body.page-home .news-card{
                flex-basis: calc(50% - 7px);
            }
        }

        @media (min-width: 1024px) {
            body.page-home .news-card{
                flex-basis: calc(33.333% - 10px);
            }
        }

/* ==================== CATEGORIES PAGE ==================== */
body.page-categories{
    --category-page-bg: #f3f0ea;
    --category-card-bg: #fbfaf8;
    --category-primary: #29279d;
    --category-red: #ef2b22;
    --category-text: #282828;
    --category-muted: #646464;
  }

  body.page-categories *{
    box-sizing: border-box;
  }

  body.page-categories .category-page{
    width: 100%;
    overflow: hidden;
    background: var(--category-page-bg);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
  }

  /* ==============================
     HERO
  ============================== */


  /*
    This creates the white cutout at the top-left where
    your dynamically added header/logo will sit.
  */
  body.page-categories .category-hero-cutout{
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 3;
    width: 150px;
    height: 62px;
    background: #ffffff;
    border-bottom-right-radius: 15px;
    pointer-events: none;
  }

  body.page-categories .category-hero-overlay{
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
  }

.category-page .category-hero-content {
    position: relative;
    z-index: 2;
    align-items: center;
    min-height: 420px;
    width: 100%;
    margin: 0 auto;

    /* X spacing comes from Tailwind classes in Blade */
    padding-top: 110px;
    padding-bottom: 45px;
}

  body.page-categories .category-hero-content h1 {
    max-width: 500px;
    margin: 0;

    color: #ffffff;

    font-size: 36px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.04em;
}

  /* ==============================
     CATEGORY LISTING
  ============================== */

  body.page-categories .category-listing{
    /* padding: 0 0 48px; */
    background: var(--category-page-bg);
  }

    .category-page .category-container {
        width: 100%;
        margin: 0 auto;
    }

  body.page-categories .category-heading-row{
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 16px 0 20px;
  }

  body.page-categories .category-heading-row h2 {
    margin: 0;

    color: var(--category-text);

    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: -0.035em;
}

@media (min-width: 640px) {

    body.page-categories .category-heading-row h2 {
        font-size: 30px;
    }

}

@media (min-width: 1024px) {

    body.page-categories .category-heading-row h2 {
        font-size: 46px;
    }

}

  body.page-categories .category-back-button{
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 96px;
    height: 44px;
    padding: 0 17px;
    border: 1.5px solid #161616;
    border-radius: 999px;
    color: #161616;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition:
      color 0.25s ease,
      background-color 0.25s ease,
      transform 0.25s ease;
  }

  body.page-categories .category-back-button:hover{
    color: #ffffff;
    background: #161616;
    transform: translateX(-2px);
  }

  body.page-categories .category-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  body.page-categories .category-card{
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 0;
    min-height: 292px;
    padding: 30px 22px 25px;
    overflow: hidden;
    border: 1px solid rgba(32, 32, 32, 0.025);
    border-radius: 14px;
    background: var(--category-card-bg);
    text-align: center;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  body.page-categories .category-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(22, 22, 22, 0.08);
  }

  body.page-categories .category-card-icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
  }

  body.page-categories .category-card-icon img{
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
  }

body.page-categories .category-card h3 {
    min-height: 48px;

    margin: 0 0 9px;

    color: var(--category-primary);

    font-size: 20px;
    font-weight: 600;
    line-height: 1.22;
}

  body.page-categories .category-card p {
    max-width: 245px;
    min-height: 52px;

    margin: 0 auto 17px;

    color: var(--category-muted);

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    }

  body.page-categories .category-card-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 112px;
    min-height: 38px;

    margin-top: auto;

    padding: 10px 15px;

    border: 1px solid var(--category-red);
    border-radius: 10px;

    color: #ffffff;
    background: var(--category-red);

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

        transition:
            color 0.25s ease,
            background-color 0.25s ease,
            transform 0.25s ease;
    }

  body.page-categories .category-card-button:hover{
    color: var(--category-red);
    background: transparent;
    transform: translateY(-2px);
  }

  @media (min-width: 640px) {

    body.page-categories .category-hero-content h1 {
        font-size: 46px;
    }

}

@media (min-width: 1024px) {

    body.page-categories .category-hero-content h1 {
        font-size: 56px;
    }

}
  /* ==============================
     TABLET
  ============================== */


  @media (max-width: 1100px) {
  

    body.page-categories .category-grid{
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

 
  }

  @media (max-width: 820px) {
    body.page-categories .category-hero{
      min-height: 350px;
      background-position: 40% top;
    }

    .category-page .category-hero-content {
        min-height: 350px;
        padding-top: 110px;
        padding-bottom: 35px;
    }

    body.page-categories .category-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-categories .category-card{
      min-height: 285px;
    }
  }



  /* ==============================
     MOBILE
  ============================== */

  @media (max-width: 575px) {
    body.page-categories .category-hero{
      min-height: 310px; 
      border-radius: 12px;
      background-position: 50% top;
    }

    body.page-categories .category-hero-cutout{
      width: 128px;
      height: 58px;
      border-bottom-right-radius: 13px;
    }

    .category-page .category-hero-content {
    align-items: flex-end;
    min-height: 310px;
    padding-top: 95px;
    padding-bottom: 34px;
    }
 

    body.page-categories .category-listing{
      padding-bottom: 30px;
    }

 

    body.page-categories .category-heading-row{
      align-items: flex-start;
      flex-direction: column;
      gap: 12px;
      padding: 16px 0;
    }

 

    body.page-categories .category-back-button{
      min-width: 88px;
      height: 39px;
      padding: 0 14px;
      font-size: 13px;
    }

    body.page-categories .category-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    body.page-categories .category-card{
      min-height: 275px;
      padding: 22px 10px 18px;
      border-radius: 11px;
    }

    body.page-categories .category-card-icon{
      width: 48px;
      height: 48px;
      margin-bottom: 10px;
    }

    body.page-categories .category-card-icon img{
      width: 44px;
      height: 44px;
    }

    body.page-categories .category-card h3 {
        min-height: 43px;

        margin-bottom: 8px;

        font-size: 16px;
    }

    body.page-categories .category-card p{
      min-height: 65px;
      margin-bottom: 14px;
      font-size: 11px;
      line-height: 1.35;
    }

    body.page-categories .category-card-button{
      min-width: auto;
      min-height: 35px;
      padding: 9px 11px;
      border-radius: 8px;
      font-size: 11px;
    }
  }

  @media (min-width: 640px) and (max-width: 1023px) {

    body.page-categories .category-card h3 {
        font-size: 18px;
    }

}

  @media (max-width: 370px) {
    body.page-categories .category-grid{
      gap: 8px;
    }

    body.page-categories .category-card{
      min-height: 260px;
      padding: 18px 8px 16px;
    }

    body.page-categories .category-card h3{
      font-size: 13.5px;
    }

    body.page-categories .category-card p{
      min-height: auto;
      font-size: 10px;
    }

    body.page-categories .category-card-button{
      min-width: auto;
      padding: 8px 8px;
      font-size: 10px;
    }
  }

/* ==================== CATEGORY / PRODUCT LISTING PAGE ==================== */
    body.page-category-listing .category-hero{
        position: relative;
        z-index: 20;
        min-height: 420px; 
        overflow: visible;
        border-radius: 15px;
        background-image:
        linear-gradient(
            90deg,
            rgba(3, 12, 20, 0.8) 0%,
            rgba(3, 12, 20, 0.49) 38%,
            rgba(3, 12, 20, 0.08) 74%
        ),
        url("../image/cat-banner.png");
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
    }

    body.page-category-listing .category-hero-overlay{
        position: absolute;
        inset: 0;
        z-index: 1;
        border-radius: inherit;
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.04) 0%,
            rgba(0, 0, 0, 0.1) 100%
        );
        pointer-events: none;
    }
    @media (min-width: 1024px) {
        body.page-category-listing .category-hero{
            overflow: visible;
            z-index: 20;
        }

        body.page-category-listing .category-hero-overlay{
            border-radius: inherit;
        }
    }

    .category-listing-page .category-hero-content {
        position: relative;
        z-index: 2;
        align-items: center;
        min-height: 420px;
        width: 100%;
        margin: 0 auto;

        padding-top: 110px;
        padding-bottom: 45px;
    }

    .category-listing-page .category-hero-content h1 {
        max-width: 560px;

        margin: 0;

        color: #ffffff;

        font-size: 36px;
        font-weight: 500;

        line-height: 1.02;
        letter-spacing: -0.04em;
    }

    @media (min-width: 640px) {

        .category-listing-page .category-hero-content h1 {
            font-size: 46px;
        }

    }


    @media (min-width: 1024px) {

        .category-listing-page .category-hero-content h1 {
            font-size: 56px;
        }

    }
    .category-listing-page {
        font-family:
            Manrope,
            ui-sans-serif,
            system-ui,
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            sans-serif;
    }

  /* Filter Sidebar */
  body.page-category-listing .filter-sidebar-overlay{
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(3, 12, 20, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.page-category-listing .filter-sidebar-overlay.active{
    opacity: 1;
    visibility: visible;
  }

  body.page-category-listing .filter-sidebar{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 101;
    height: 100%;
    width: 340px;
    max-width: 85vw;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 6px 0 24px rgba(3, 12, 20, 0.15);
  }

  body.page-category-listing .filter-sidebar.active{
    transform: translateX(0);
  }

  body.page-category-listing .filter-checkbox{
    accent-color: #F53B2D;
  }

  /* ============================================================
   SERVICES PAGE
============================================================ */

.services-page {
    font-family: Manrope, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* Keep the header dropdowns visible above the hero */
.services-page .services-hero {
    overflow: visible;
}


/* But preserve the rounded banner image visually */
.services-page .services-hero > img,
.services-page .services-hero > .absolute.inset-0 {
    border-radius: inherit;
}


/* ============================================================
   SERVICE CARD
============================================================ */

.services-page .service-card {
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease;
}


.services-page .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(23, 30, 60, 0.06);
}


.services-page .service-card-image img {
    transition: transform 0.5s ease;
}


.services-page .service-card:hover .service-card-image img {
    transform: scale(1.025);
}


/* ============================================================
   WHY RUCHA DIVIDERS
============================================================ */

@media (min-width: 640px) {

    .services-page .services-benefit {
        position: relative;
    }


    .services-page .services-benefit:not(:last-child)::after {
        content: "";
        position: absolute;

        top: 15px;
        right: 0;

        width: 1px;
        height: 90px;

        background: rgba(243, 59, 50, 0.48);
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .services-page .service-card-image {
        order: -1;
    }


    .services-page .service-card-image + * {
        margin-top: 0;
    }

}


/* ============================================================
   SERVICES - MOBILE WHY CHOOSE GRID
============================================================ */

@media (max-width: 639px) {

    .services-page .services-benefits-grid {
        border-top: 1px solid rgba(85, 85, 85, 0.35);
        border-left: 1px solid rgba(85, 85, 85, 0.35);
    }

    .services-page .services-benefit {
        display: flex;
        min-height: 135px;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        padding: 12px 8px;

        border-right: 1px solid rgba(85, 85, 85, 0.35);
        border-bottom: 1px solid rgba(85, 85, 85, 0.35);

        text-align: center;
    }

    .services-page .services-benefit > div:first-child {
        width: 46px;
        height: 46px;
        margin-inline: auto;
    }

    .services-page .services-benefit > div:first-child svg {
        width: 24px;
        height: 24px;
    }

    .services-page .services-benefit h3 {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.2;
    }

    .services-page .services-benefit p {
    max-width: 150px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

}

/* ============================================================
   ABOUT PAGE
============================================================ */

.about-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   ABOUT TRUST VISUAL
============================================================ */

.about-trusted-visual {
    padding-bottom: 30px;
}


/* ============================================================
   MILESTONE SLIDER - COMMON
============================================================ */

.about-milestone-slider {
    position: relative;
    min-width: 0;
}


.about-milestone-viewport {
    width: 100%;
    overflow: hidden;
}


.about-milestone-track {
    display: flex;
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -ms-overflow-style: none;
}


.about-milestone-track::-webkit-scrollbar {
    display: none;
}


.about-milestone-card {
    display: flex;

    flex: 0 0 78%;
    min-height: 190px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    scroll-snap-align: center;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.11);

    padding: 20px 14px;

    text-align: center;
}


.about-milestone-card h3 {
    margin-top: 13px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 600;
}


.about-milestone-card p {
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   MILESTONE ARROWS
============================================================ */

.about-milestone-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 13px;
}


.about-milestone-controls button {
    display: grid;

    width: 31px;
    height: 31px;

    place-items: center;

    border: 0;
    border-radius: 999px;

    background: #ffffff;
    color: #17213b;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.17);

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}


.about-milestone-controls button:hover {
    transform: scale(1.06);
}


.about-milestone-controls button svg {
    width: 13px;
    height: 13px;
}


/*
    Mobile slider direction is horizontal.

    SVGs are originally UP / DOWN,
    so rotate them to LEFT / RIGHT.
*/

.about-milestone-controls #aboutMilestonePrev svg {
    transform: rotate(-90deg);
}


.about-milestone-controls #aboutMilestoneNext svg {
    transform: rotate(-90deg);
}


/* ============================================================
   DESKTOP MILESTONE - VERTICAL WITH PREV/NEXT PEEK
============================================================ */

@media (min-width: 1024px) {

    .about-milestone-slider {
        position: relative;

        width: 100%;

        /* room for arrow buttons */
        padding-right: 52px;
    }


    /*
        Current card = 240px

        We intentionally make viewport taller so:
        - previous card bottom is visible
        - next card top is visible
    */
    .about-milestone-viewport {
        height: 364px;

        overflow: hidden;
    }


    .about-milestone-track {
        display: flex;

        width: 100%;
        height: 364px;

        flex-direction: column;

        gap: 14px;

        overflow-x: hidden;
        overflow-y: auto;

        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;

        scrollbar-width: none;

        /* prevents first/last cards getting clipped */
        padding-top: 62px;
        padding-bottom: 62px;
    }


    .about-milestone-track::-webkit-scrollbar {
        display: none;
    }


    .about-milestone-card {
        flex: 0 0 240px;

        width: 70%;
        min-height: 240px;

        scroll-snap-align: center;

        border-radius: 10px;
    }


    .about-milestone-card h3 {
        font-size: 22px;
    }


    .about-milestone-card p {
        font-size: 14px;
    }


    /* arrows stay vertically centered */
    .about-milestone-controls {
        position: absolute;

        top: 50%;
        right: 4px;

        display: flex;

        flex-direction: column;

        gap: 9px;

        margin: 0;

        transform: translateY(-50%);
    }


    .about-milestone-controls button {
        width: 34px;
        height: 34px;
    }


    .about-milestone-controls #aboutMilestonePrev svg,
    .about-milestone-controls #aboutMilestoneNext svg {
        transform: none;
    }

}


/* ============================================================
   FOUNDER CARDS
============================================================ */

.about-founder-card {
    display: grid;

    min-height: 245px;

    grid-template-columns: 42% minmax(0, 1fr);

    overflow: hidden;

    border-radius: 9px;

    background: #061a35;
}


.about-founder-card > img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.about-founder-copy {
    display: flex;

    min-width: 0;

    justify-content: center;
    flex-direction: column;

    padding: 18px;

    color: #ffffff;
}


.about-founder-copy h3 {
    font-size: 18px;
    font-weight: 600;
}


.about-founder-role {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 12px;
}


.about-founder-description {
    margin-top: 15px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;
    line-height: 1.5;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .about-trusted-visual {
        margin-bottom: 30px;
    }


    .about-founder-card {
        min-height: 190px;

        grid-template-columns: 46% minmax(0, 1fr);
    }


    .about-founder-copy {
        padding: 12px;
    }


    .about-founder-copy h3 {
        font-size: 14px;
    }

    .about-founder-role {
        font-size: 10px;
    }

    .about-founder-description {
        margin-top: 9px;
        font-size: 11px;
        line-height: 1.45;
    }

}


.about-founder-copy {
    position: relative;
    overflow: hidden;
}

.about-founder-socials {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 14px;
}

.about-founder-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-founder-socials img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
}

@media (max-width: 639px) {
    .about-founder-socials {
        margin-top: 10px;
        gap: 6px;
    }

    .about-founder-socials img {
        width: 14px;
        height: 14px;
    }
}
/* ============================================================
   ABOUT - TESTIMONIAL FADE CAROUSEL
============================================================ */

.about-page .about-testimonial-slider {
    position: relative;

    user-select: none;

    cursor: grab;

    touch-action: pan-y;
}


.about-page .about-testimonial-slider.is-dragging {
    cursor: grabbing;
}


/* ============================================================
   STAGE
============================================================ */

.about-page .about-testimonial-stage {
    position: relative;

    width: 100%;
    height: 100%;
    min-height: inherit;
}

@media (max-width: 767px) {
    .about-page .about-testimonial-stage {
        height: 25vh;
        min-height: 25vh;
    }
}

/* ============================================================
   SLIDE
============================================================ */

.about-page .about-testimonial-slide {
    position: absolute;
    inset: 0;

    display: flex;

    flex-direction: column;
    justify-content: center;

    padding: 34px 30px 48px;

    opacity: 0;
    visibility: hidden;

    transform: scale(0.985);

    pointer-events: none;

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0s linear 0.65s;
}


.about-page .about-testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    pointer-events: auto;

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        visibility 0s linear 0s;
}


/* ============================================================
   QUOTE ICON
============================================================ */

.about-page .about-testimonial-quote-icon {
    width: 27px;
    height: 27px;

    object-fit: contain;

    margin-bottom: 18px;

    pointer-events: none;
}


/* ============================================================
   COPY
============================================================ */

.about-page .about-testimonial-text {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}


.about-page .about-testimonial-author {
    margin-top: 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}


/* ============================================================
   EXACTLY 3 PAGINATION DOTS
============================================================ */

.about-page .about-testimonial-pagination {
    position: absolute;

    z-index: 10;

    bottom: 13px;
    left: 50%;

    display: flex;

    align-items: center;

    gap: 4px;

    transform: translateX(-50%);
}


.about-page .about-testimonial-dot {
    width: 6px;
    height: 6px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.32);

    cursor: default;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}


.about-page .about-testimonial-dot.is-active {
    background: #ffffff;

    transform: scale(1.05);
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .about-page .about-testimonial-slide {
        padding: 73px 20px 45px;
    }


    .about-page .about-testimonial-quote-icon {
        width: 24px;
        height: 24px;

        margin-bottom: 15px;
    }


    .about-page .about-testimonial-text {
    font-size: 12px;
    line-height: 1.5;
}

.about-page .about-testimonial-author {
    margin-top: 17px;
    font-size: 12px;
}

}

/* ============================================================
   FAQ PAGE
============================================================ */

.faq-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   ACCORDION ITEM
============================================================ */

.faq-page .faq-item {
    position: relative;

    border-bottom: 1px solid rgba(44, 44, 44, 0.08);
}


.faq-page .faq-item:last-child {
    border-bottom: 0;
}


/* ============================================================
   QUESTION
============================================================ */

.faq-page .faq-question {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border: 0;
    background: transparent;

    padding: 17px 4px;

    color: #292929;

    text-align: left;

    cursor: pointer;
}


.faq-page .faq-question-text {
    display: flex;

    min-width: 0;

    align-items: flex-start;

    gap: 7px;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}


.faq-page .faq-number {
    flex-shrink: 0;
}


/* ============================================================
   PLUS / MINUS
============================================================ */

.faq-page .faq-icon {
    position: relative;

    display: block;

    width: 17px;
    height: 17px;

    flex: 0 0 17px;
}


.faq-page .faq-icon-horizontal,
.faq-page .faq-icon-vertical {
    position: absolute;

    top: 50%;
    left: 50%;

    display: block;

    background: #252525;

    transform: translate(-50%, -50%);

    transition:
        transform 0.28s ease,
        opacity 0.28s ease;
}


.faq-page .faq-icon-horizontal {
    width: 12px;
    height: 1.5px;
}


.faq-page .faq-icon-vertical {
    width: 1.5px;
    height: 12px;
}


/* open = minus */

.faq-page .faq-item.is-open .faq-icon-vertical {
    opacity: 0;

    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* ============================================================
   ANSWER
   Grid trick gives smooth height animation
============================================================ */

.faq-page .faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.36s ease,
        opacity 0.28s ease;
}


.faq-page .faq-answer > div {
    overflow: hidden;
}


.faq-page .faq-answer p {
    max-width: 820px;

    padding:
        0 30px 0 31px;

    color: #666666;

    font-size: 12px;
    line-height: 1.65;
}


/* OPEN */

.faq-page .faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;

    opacity: 1;
}


.faq-page .faq-item.is-open .faq-answer p {
    padding-bottom: 18px;
}


/* ============================================================
   QUESTION HOVER
============================================================ */

@media (hover: hover) {

    .faq-page .faq-question:hover {
        color: #3C369F;
    }

}


/* ============================================================
   TABLET
============================================================ */
@media (min-width: 640px) {

    .faq-page .faq-question {
        padding: 19px 6px;
    }


    .faq-page .faq-question-text {
        gap: 9px;

        font-size: 16px;
    }


    .faq-page .faq-answer p {
        padding-left: 38px;

        font-size: 14px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .faq-page .faq-question {
        padding: 18px 7px;
    }


    .faq-page .faq-question-text {
        font-size: 18px;
    }


    .faq-page .faq-answer p {
        font-size: 14px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .faq-page .faq-question {
        gap: 12px;

        padding: 15px 2px;
    }


    .faq-page .faq-question-text {
        gap: 5px;

        font-size: 14px;
        line-height: 1.45;
    }


    .faq-page .faq-icon {
        width: 15px;
        height: 15px;

        flex-basis: 15px;
    }


    .faq-page .faq-icon-horizontal {
        width: 10px;
    }


    .faq-page .faq-icon-vertical {
        height: 10px;
    }


    .faq-page .faq-answer p {
        padding:
            0 18px 0 20px;

        font-size: 12px;
        line-height: 1.6;
    }


    .faq-page .faq-item.is-open .faq-answer p {
        padding-bottom: 15px;
    }

}





 /* ============================================================
   POLICY PAGE
============================================================ */

.policy-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   POLICY LEFT NAV
============================================================ */

.policy-page .policy-nav-shell {
    position: relative;
}


.policy-page .policy-nav {
    display: flex;
    flex-direction: column;
}


.policy-page .policy-nav__item {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 52px;

    padding: 12px 16px;

    color: #333333;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}


.policy-page .policy-nav__item:hover {
    background: #ebeef8;
}


.policy-page .policy-nav__item.active {
    color: #29279d;
    background: #dde4f3;
}



/* ============================================================
   POLICY CONTENT
============================================================ */

.policy-page .policy-section {
    scroll-margin-top: 100px;
}


.policy-page .policy-section + .policy-section {
    margin-top: 28px;
}


.policy-page .policy-section > p {
    max-width: 820px;

    margin-top: 13px;

    color: #747474;

    font-size: 13px;
    line-height: 1.55;
}


.policy-page .policy-copy-block {
    margin-top: 16px;
}


.policy-page .policy-copy-block h3,
.policy-page .policy-process-list h3 {
    color: #3b3b3b;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}


.policy-page .policy-copy-block ul {
    margin-top: 6px;
    padding-left: 18px;

    list-style: disc;
}


.policy-page .policy-copy-block li {
    color: #747474;

    font-size: 13px;
    line-height: 1.45;
}


.policy-page .policy-process-list {
    display: grid;

    gap: 14px;

    margin-top: 15px;
}


.policy-page .policy-process-list p {
    margin-top: 5px;

    color: #747474;

    font-size: 13px;
    line-height: 1.5;
}



/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .policy-page .policy-nav__item {
        font-size: 14px;
    }


    .policy-page .policy-section > p,
    .policy-page .policy-copy-block li,
    .policy-page .policy-process-list p {
        font-size: 14px;
    }


    .policy-page .policy-copy-block h3,
    .policy-page .policy-process-list h3 {
        font-size: 14px;
    }

}



/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .policy-page .policy-nav-shell {
        position: sticky;

        /* top: 90px; */
    }


    .policy-page .policy-section {
        scroll-margin-top: 110px;
    }

}



/* ============================================================
   MOBILE / TABLET POLICY NAV
============================================================ */

@media (max-width: 1023px) {

    .policy-page .policy-nav-shell {
        overflow: hidden;
    }


    .policy-page .policy-nav {
        flex-direction: row;

        overflow-x: auto;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;
    }


    .policy-page .policy-nav::-webkit-scrollbar {
        display: none;
    }


    .policy-page .policy-nav__item {
        flex: 0 0 auto;

        min-height: 48px;

        white-space: nowrap;
    }

}



/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .policy-page .policy-nav__item {
        padding: 10px 13px;

        font-size: 12px;
    }


    .policy-page .policy-nav__item img {
        width: 17px;
        height: 17px;
    }


    .policy-page .policy-section + .policy-section {
        margin-top: 24px;
    }


    .policy-page .policy-section > p,
    .policy-page .policy-copy-block li,
    .policy-page .policy-process-list p {
        font-size: 12px;
        line-height: 1.55;
    }


    .policy-page .policy-copy-block h3,
    .policy-page .policy-process-list h3 {
        font-size: 12px;
    }

}

/* ============================================================
   ON-BOARD REPAIRS PAGE
============================================================ */

.repairs-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   SUPPORT CARDS
============================================================ */

.repairs-page .repairs-support-card {
    display: flex;
    flex-direction: column;

    min-height: 190px;

    padding: 20px;

    border-radius: 8px;

    background: #fbfaf8;
}


.repairs-page .repairs-support-card h3 {
    max-width: 185px;

    margin-top: 18px;

    color: #333092;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
}


.repairs-page .repairs-support-card p {
    max-width: 210px;

    margin-top: 10px;

    color: #666666;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   FORM
============================================================ */

.repairs-page .repairs-form-field {
    width: 100%;
    height: 46px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 5px;

    outline: none;

    color: #333333;
    background: rgba(250, 248, 243, 0.96);

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.repairs-page .repairs-form-field::placeholder {
    color: #858585;
}


.repairs-page .repairs-form-field:focus {
    border-color: rgba(255, 255, 255, 0.8);

    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.12);
}


/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .repairs-page .repairs-support-card {
        min-height: 205px;

        padding: 22px;
    }


    .repairs-page .repairs-support-card h3 {
        font-size: 18px;
    }


    .repairs-page .repairs-support-card p {
        font-size: 14px;
    }


    .repairs-page .repairs-form-field {
        height: 48px;

        font-size: 14px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .repairs-page .repairs-support-card {
        min-height: 210px;
    }


    .repairs-page .repairs-support-card h3 {
        font-size: 18px;
    }

}

/* ============================================================
   RFQ CART PAGE
============================================================ */

.rfq-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   PRODUCT ROW
============================================================ */

.rfq-page .rfq-product-row {
    display: grid;
    grid-template-columns:
        95px
        minmax(120px, 1fr)
        120px
        90px
        minmax(150px, 1.15fr)
        72px;

    align-items: center;

    gap: 16px;

    padding: 16px 0;

    border-bottom: 1px solid #ddd8cf;
}


/* ============================================================
   IMAGE
============================================================ */

.rfq-page .rfq-product-media {
    display: grid;
 

    place-items: center;

    overflow: hidden;

    border-radius: 10px;

    background: #efefef;
}


.rfq-page .rfq-product-media img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ============================================================
   PRODUCT INFO
============================================================ */

.rfq-page .rfq-product-info h3 {
    color: #333092;

    font-size: 14px;
    font-weight: 600;

    line-height: 1.3;
}


.rfq-page .rfq-product-info p {
    margin-top: 5px;

    color: #666666;

    font-size: 11px;
}


.rfq-page .rfq-product-info p span {
    color: #333092;
}


/* ============================================================
   FIELDS
============================================================ */

.rfq-page .rfq-field-group {
    min-width: 0;
}


.rfq-page .rfq-field-group > label {
    display: block;

    margin-bottom: 6px;

    color: #5147a4;

    font-size: 10px;
    font-weight: 500;
}


/* ============================================================
   QUANTITY
============================================================ */

.rfq-page .rfq-qty-control {
    display: grid;

    height: 38px;

    grid-template-columns:
        32px
        minmax(35px, 1fr)
        32px;

    overflow: hidden;

    border: 1px solid #aaa6a0;
    border-radius: 7px;
}


.rfq-page .rfq-qty-control button {
    border: 0;

    background: transparent;

    color: #333333;

    font-size: 16px;

    cursor: pointer;
}


.rfq-page .rfq-qty-control button:hover {
    background: #f1eee9;
}


.rfq-page .rfq-qty-control input {
    width: 100%;

    border: 0;
    border-left: 1px solid #dedad4;
    border-right: 1px solid #dedad4;

    outline: 0;

    background: transparent;

    color: #333333;

    font-size: 13px;
    font-weight: 500;

    text-align: center;

    -moz-appearance: textfield;
}


.rfq-page .rfq-qty-control input::-webkit-inner-spin-button,
.rfq-page .rfq-qty-control input::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


/* ============================================================
   SELECT
============================================================ */

.rfq-page .rfq-field-group select {
    width: 100%;
    height: 38px;

    padding: 0 32px 0 10px;

    border: 1px solid #aaa6a0;
    border-radius: 7px;

    outline: 0;

    color: #333333;
    background-color: #ffffff;

    font-size: 12px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;

    cursor: pointer;
}


/* ============================================================
   NOTES
============================================================ */

.rfq-page .rfq-notes-group textarea {
    display: block;

    width: 100%;
    min-height: 44px;

    resize: none;

    padding: 8px 10px;

    border: 1px solid #dedad4;
    border-radius: 7px;

    outline: none;

    background: #f6f5f2;

    color: #666666;

    font-family: inherit;
    font-size: 12px;

    line-height: 1.35;
}


.rfq-page .rfq-product-row.is-editing
.rfq-notes-group textarea {

    border-color: #5147a4;

    background: #ffffff;

    color: #333333;
}


/* ============================================================
   ACTIONS
============================================================ */

.rfq-page .rfq-row-actions {
    display: flex;

    align-items: flex-start;
    flex-direction: column;

    gap: 9px;
}

.rfq-page .rfq-row-actions button {
    display: inline-flex;

    width: auto;
    height: 30px;

    align-items: center;
    justify-content: flex-start;

    gap: 5px;

    padding: 0 4px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.rfq-page .rfq-action-text {
    display: inline-block;

    font-size: 11px;
    font-weight: 500;

    line-height: 1;
    white-space: nowrap;
}


.rfq-page .rfq-row-actions button:hover {
    background: rgba(51, 48, 146, 0.08);

    transform: translateY(-1px);
}


.rfq-page .rfq-action-icon {
    display: block;

    width: 17px;
    height: 17px;

    object-fit: contain;

    pointer-events: none;
}


.rfq-page .rfq-edit-btn {
    color: #333092;
}


.rfq-page .rfq-remove-btn {
    color: #f33b32;
}


/* ============================================================
   ADD MORE
============================================================ */

.rfq-page .rfq-add-more {
    display: flex;

    width: fit-content;

    align-items: center;

    gap: 11px;

    margin: 15px auto 0;

    border: 0;

    background: transparent;

    color: #333092;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}


.rfq-page .rfq-add-circle {
    display: flex;

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    border: 1px solid #333092;
    border-radius: 999px;

    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    padding-bottom: 2px;
}


/* ============================================================
   SUMMARY
============================================================ */

.rfq-page .rfq-summary {
    align-self: start;

    padding: 20px;

    border: 1px solid #dad6cf;
    border-radius: 12px;

    background: #fbfaf8;
}


.rfq-page .rfq-summary > h2 {
    color: #292929;

    font-size: 20px;
    font-weight: 600;

    letter-spacing: -0.02em;
}


.rfq-page .rfq-summary-divider {
    height: 1px;

    margin-top: 15px;

    background: #ddd8cf;
}


.rfq-page .rfq-summary-item {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 21px 0;

    border-bottom: 1px solid #ddd8cf;
}


.rfq-page .rfq-summary-icon {
    display: grid;

    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    place-items: center;

    border: 1px solid #333092;
    border-radius: 999px;
}


.rfq-page .rfq-summary-icon img {
    width: 22px;
    height: 22px;

    object-fit: contain;
}


.rfq-page .rfq-summary-item p {
    color: #333333;

    font-size: 11px;
    font-weight: 600;
}


.rfq-page .rfq-summary-item strong {
    display: block;

    margin-top: 6px;

    color: #242424;

    font-size: 21px;
    font-weight: 600;
}


.rfq-page .rfq-summary-item small {
    display: block;

    margin-top: 1px;

    color: #444444;

    font-size: 10px;
    font-weight: 600;
}


/* ============================================================
   PORT
============================================================ */

.rfq-page .rfq-port-select {
    width: 100%;
    height: 39px;

    margin-top: 9px;

    padding: 0 34px 0 10px;

    border: 1px solid #aaa6a0;
    border-radius: 6px;

    outline: 0;

    color: #666666;
    background-color: #ffffff;

    font-size: 11px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333092' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 12px 12px;

    cursor: pointer;
}


/* ============================================================
   CONTINUE
============================================================ */

.rfq-page .rfq-continue-btn {
    display: flex;

    width: 100%;
    height: 47px;

    align-items: center;
    justify-content: space-between;

    margin-top: 22px;

    padding: 0 16px;

    border: 0;
    border-radius: 5px;

    background: #37329b;

    color: #ffffff;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    box-shadow:
        0 4px 10px rgba(55, 50, 155, 0.18);
}


/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .rfq-page .rfq-product-info h3 {
        font-size: 16px;
    }


    .rfq-page .rfq-product-info p {
        font-size: 12px;
    }


    .rfq-page .rfq-field-group > label {
        font-size: 11px;
    }


    .rfq-page .rfq-summary > h2 {
        font-size: 22px;
    }

}


/* ============================================================
   DESKTOP SUMMARY STICKY
============================================================ */

@media (min-width: 1024px) {

    .rfq-page .rfq-summary {
        position: sticky;

        top: 100px;
    }

}

/* ============================================================
   RFQ COMPACT DESKTOP
   Fix action clipping between 1101px - 1320px
============================================================ */

@media (min-width: 1101px) and (max-width: 1320px) {

    .rfq-page .rfq-product-row {
        grid-template-columns:
            90px
            minmax(105px, 1fr)
            112px
            84px
            minmax(140px, 1.1fr)
            86px;

        gap: 10px;
    }


    .rfq-page .rfq-product-info h3 {
        font-size: 13px;
    }


    .rfq-page .rfq-product-info p {
        font-size: 10px;
    }


    .rfq-page .rfq-field-group > label {
        font-size: 9px;
    }


    .rfq-page .rfq-notes-group textarea {
        padding: 7px 8px;

        font-size: 10px;
    }


    .rfq-page .rfq-row-actions {
        min-width: 0;

        gap: 5px;
    }


    .rfq-page .rfq-row-actions button {
        max-width: 100%;

        gap: 4px;

        padding-inline: 2px;

        white-space: nowrap;
    }


    .rfq-page .rfq-action-icon {
        width: 14px;
        height: 14px;
    }


    .rfq-page .rfq-action-text {
        font-size: 9px;
    }

}

/* ============================================================
   MEDIUM / TABLET PRODUCT ROW
============================================================ */

@media (max-width: 1100px) {

    .rfq-page .rfq-product-row {
        grid-template-columns:
            85px
            minmax(140px, 1fr)
            120px
            90px;

        align-items: start;
    }


    .rfq-page .rfq-notes-group {
        grid-column: 2 / 4;
    }


    .rfq-page .rfq-row-actions {
        grid-column: 4;
    }

}

/* ============================================================
   RFQ MOBILE PRODUCT LAYOUT
============================================================ */

@media (max-width: 639px) {

    /* --------------------------------------------------------
       PRODUCT ROW

       Layout:

       image | title + code
       image | quantity | unit
             | notes    | actions
    --------------------------------------------------------- */

    .rfq-page .rfq-product-row {
        display: grid;

        grid-template-columns:
            72px
            minmax(0, 1fr)
            minmax(84px, 0.8fr)
            30px;

        grid-template-areas:
            "media info info info"
            "media quantity unit blank"
            ". notes notes actions";

        align-items: start;

        column-gap: 10px;
        row-gap: 10px;

        padding: 18px 0;
    }


    /* --------------------------------------------------------
       IMAGE
    --------------------------------------------------------- */

    .rfq-page .rfq-product-media {
        grid-area: media;

        width: 72px;
        height: 92px;

        align-self: start;

        border-radius: 8px;
    }


    .rfq-page .rfq-product-media img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    /* --------------------------------------------------------
       TITLE / CODE
    --------------------------------------------------------- */

    .rfq-page .rfq-product-info {
        grid-area: info;

        min-width: 0;

        align-self: start;
    }


    .rfq-page .rfq-product-info h3 {
        margin: 0;

        color: #333092;

        font-size: 14px;
        font-weight: 600;
        line-height: 1.25;
    }


    .rfq-page .rfq-product-info p {
        margin-top: 4px;

        font-size: 10px;
        line-height: 1.35;
    }


    /* --------------------------------------------------------
       QUANTITY
    --------------------------------------------------------- */

    .rfq-page .rfq-quantity-group {
        grid-area: quantity;

        min-width: 0;
    }


    /* Labels not needed in compact mobile design */
    .rfq-page .rfq-quantity-group > label,
    .rfq-page .rfq-unit-group > label {
        display: none;
    }


    .rfq-page .rfq-qty-control {
        width: 100%;
        height: 34px;

        grid-template-columns:
            30px
            minmax(30px, 1fr)
            30px;

        border-radius: 6px;
    }


    .rfq-page .rfq-qty-control button {
        font-size: 15px;
    }


    .rfq-page .rfq-qty-control input {
        font-size: 12px;
    }


    /* --------------------------------------------------------
       UNIT
    --------------------------------------------------------- */

    .rfq-page .rfq-unit-group {
        grid-area: unit;

        min-width: 0;
    }


    .rfq-page .rfq-unit-group select {
        width: 100%;
        height: 34px;

        padding: 0 8px;

        border-radius: 6px;

        font-size: 11px;
    }


    /* --------------------------------------------------------
       NOTES
    --------------------------------------------------------- */

    .rfq-page .rfq-notes-group {
        grid-area: notes;

        min-width: 0;
    }


    .rfq-page .rfq-notes-group > label {
        margin-bottom: 5px;

        font-size: 9px;
    }


    .rfq-page .rfq-notes-group textarea {
        width: 100%;
        min-height: 58px;

        padding: 7px 9px;

        border-radius: 6px;

        font-size: 10px;
        line-height: 1.4;
    }


    /* --------------------------------------------------------
       EDIT / REMOVE ICONS

       Pencil on first line
       Bin underneath
    --------------------------------------------------------- */

    .rfq-page .rfq-row-actions {
        grid-area: actions;

        display: flex;

        align-items: center;
        justify-content: flex-start;
        flex-direction: column;

        gap: 5px;

        padding-top: 18px;
    }


    .rfq-page .rfq-row-actions button {
        display: grid;

        width: 28px;
        height: 28px;

        flex: 0 0 28px;

        place-items: center;

        padding: 0;

        border: 0;
        border-radius: 5px;

        background: transparent;
    }

    .rfq-page .rfq-action-text {
    display: none;
}

    .rfq-page .rfq-action-icon {
        width: 15px;
        height: 15px;

        object-fit: contain;
    }


    /* --------------------------------------------------------
       ADD MORE
    --------------------------------------------------------- */

    .rfq-page .rfq-add-more {
        margin-top: 14px;

        gap: 8px;

        font-size: 12px;
    }


    .rfq-page .rfq-add-circle {
        width: 30px;
        height: 30px;

        font-size: 19px;
    }


    /* --------------------------------------------------------
       SUMMARY
    --------------------------------------------------------- */

    .rfq-page .rfq-summary {
        padding: 18px;
    }


    .rfq-page .rfq-summary > h2 {
        font-size: 20px;
    }

}


/* ============================================================
   CONTACT PAGE
============================================================ */

.contact-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   LOCATION TABS
============================================================ */

.contact-page .contact-tabs {
    display: grid;

    width: min(540px, 100%);

    grid-template-columns: repeat(3, minmax(0, 1fr));

    overflow: hidden;

    padding: 4px;

    border-radius: 12px;

    background: #ffffff;
}


.contact-page .contact-tab {
    position: relative;

    display: flex;

    min-height: 54px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 8px 14px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #333333;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


.contact-page .contact-tab::after {
    content: "";

    position: absolute;

    right: 18px;
    bottom: -4px;
    left: 18px;

    height: 2px;

    border-radius: 999px;

    background: transparent;

    transition:
        background-color 0.25s ease;
}


.contact-page .contact-tab.is-active {
    color: #29279d;

    background: #e9e7ff;
}


.contact-page .contact-tab.is-active::after {
    background: #29279d;
}


.contact-page .contact-tab-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    object-fit: contain;
}


/* ============================================================
   OFFICE PANEL
============================================================ */

.contact-page .contact-office-panel {
    display: grid;

    overflow: hidden;

    border-radius: 12px;

    background: #fbfaf8;

    padding: 24px;

    gap: 28px;
}


.contact-page .contact-office-panel[hidden] {
    display: none;
}


.contact-page .contact-office-details > h2 {
    color: #333333;

    font-size: 20px;
    font-weight: 600;

    line-height: 1.3;

    letter-spacing: -0.025em;
}


.contact-page .contact-title-line {
    display: block;

    width: 125px;
    height: 1px;

    margin-top: 12px;

    background: #f33b32;
}


/* ============================================================
   DETAIL ROW
============================================================ */

.contact-page .contact-detail-row {
    display: grid;

    grid-template-columns:
        44px
        minmax(0, 1fr);

    align-items: center;

    gap: 14px;

    padding: 18px 0;

    border-bottom: 1px solid #e1ddd6;
}


.contact-page .contact-detail-icon {
    display: grid;

    width: 44px;
    height: 44px;

    place-items: center;

    border-radius: 7px;

    background: #35309c;

    box-shadow:
        0 6px 12px rgba(53, 48, 156, 0.15);
}


.contact-page .contact-detail-icon img {
    width: 29px;
    height: 29px;

    object-fit: contain;
}


.contact-page .contact-detail-row h3 {
    color: #333333;

    font-size: 12px;
    font-weight: 700;
}


.contact-page .contact-detail-row p {
    margin-top: 5px;

    color: #666666;

    font-size: 12px;
    line-height: 1.5;
}


/* ============================================================
   ACTION BUTTONS
============================================================ */

.contact-page .contact-office-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 28px;
}


.contact-page .contact-action-btn {
    display: inline-flex;

    min-height: 42px;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 18px;

    border: 1px solid #35309c;
    border-radius: 6px;

    color: #35309c;

    background: transparent;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


.contact-page .contact-action-btn img {
    width: 17px;
    height: 17px;

    object-fit: contain;
}


.contact-page .contact-action-btn--primary {
    color: #ffffff;

    background: #35309c;
}


.contact-page .contact-action-btn {
    transition: all 0.25s ease;
}

.contact-page .contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


/* ============================================================
   MAP
============================================================ */

.contact-page .contact-office-map {
    position: relative;

    min-height: 360px;

    overflow: hidden;

    border-radius: 12px;

    background: #e8edf2;
}


.contact-page .contact-office-map iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


.contact-page .contact-map-placeholder {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    padding: 20px;

    background:
        linear-gradient(
            135deg,
            #edf1f4,
            #dce4e8
        );

    color: #777777;

    font-size: 13px;
    font-weight: 600;

    text-align: center;

    pointer-events: none;
}


/*
    Once you add real map iframe URLs,
    either remove .contact-map-placeholder
    from Blade or use:

    .contact-map-placeholder {
        display: none;
    }
*/


/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .contact-page .contact-tab {
        min-height: 58px;

        font-size: 14px;
    }


    .contact-page .contact-tab-icon {
        width: 38px;
        height: 38px;
    }


    .contact-page .contact-office-panel {
        padding: 28px;
    }


    .contact-page .contact-office-details > h2 {
        font-size: 24px;
    }


    .contact-page .contact-detail-row h3 {
        font-size: 13px;
    }


    .contact-page .contact-detail-row p {
        font-size: 13px;
    }


    .contact-page .contact-action-btn {
        min-height: 44px;

        font-size: 13px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .contact-page .contact-office-panel {
        grid-template-columns:
            minmax(340px, 0.95fr)
            minmax(440px, 1.05fr);

        align-items: stretch;

        padding: 22px;

        gap: 38px;
    }


    .contact-page .contact-office-map {
        min-height: 470px;
    }


    .contact-page .contact-office-details {
        padding: 4px 0 0;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .contact-page .contact-tabs {
        width: 100%;
    }


    .contact-page .contact-tab {
        min-height: 50px;

        flex-direction: column;

        gap: 4px;

        padding: 7px 5px;

        font-size: 10px;
    }


    .contact-page .contact-tab-icon {
        width: 25px;
        height: 25px;
    }


    .contact-page .contact-tab::after {
        right: 10px;
        left: 10px;
    }


    .contact-page .contact-office-panel {
        padding: 16px;

        gap: 20px;
    }


    .contact-page .contact-office-details > h2 {
        font-size: 18px;
    }


    .contact-page .contact-title-line {
        width: 100px;
    }


    .contact-page .contact-detail-row {
        grid-template-columns:
            38px
            minmax(0, 1fr);

        gap: 11px;

        padding: 14px 0;
    }


    .contact-page .contact-detail-icon {
        width: 38px;
        height: 38px;
    }


    .contact-page .contact-detail-icon img {
        width: 19px;
        height: 19px;
    }


    .contact-page .contact-detail-row h3 {
        font-size: 11px;
    }


    .contact-page .contact-detail-row p {
        font-size: 11px;
    }


    .contact-page .contact-office-actions {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 8px;

        margin-top: 20px;
    }


    .contact-page .contact-action-btn {
        min-height: 40px;

        padding: 0 10px;

        font-size: 11px;
    }


    .contact-page .contact-action-btn:last-child {
        grid-column: 1 / -1;
    }


    .contact-page .contact-office-map {
        min-height: 300px;
    }

}


/* ============================================================
   NEWS & INSIGHTS PAGE
============================================================ */

.news-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   GRID
============================================================ */

.news-page .news-grid {
    display: grid;

    grid-template-columns:
        repeat(1, minmax(0, 1fr));

    gap: 14px;
}


/* ============================================================
   CARD
============================================================ */

.news-page .news-card {
    display: flex;

    min-width: 0;

    flex-direction: column;

    overflow: hidden;

    border-radius: 8px;

    background: #fbfaf8;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.news-page .news-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(20, 28, 50, 0.07);
}


/* ============================================================
   IMAGE
============================================================ */

.news-page .news-card-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1.8 / 1;

    overflow: hidden;

    background: #e5e5e5;
}


.news-page .news-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}


.news-page .news-card:hover
.news-card-image img {

    transform: scale(1.025);

}


/* ============================================================
   CONTENT
============================================================ */

.news-page .news-card-content {
    display: flex;

    min-height: 190px;

    flex: 1;

    flex-direction: column;

    padding: 17px 16px 15px;
}


/* ============================================================
   TITLE
============================================================ */

.news-page .news-card-title-link {
    display: block;

    text-decoration: none;
}


.news-page .news-card-title-link h2 {
    color: #29279d;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.35;

    letter-spacing: -0.015em;

    transition:
        color 0.2s ease;
}


.news-page .news-card-title-link:hover h2 {
    color: #f33b32;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.news-page .news-card-description {
    margin-top: 13px;

    color: #666666;

    font-size: 12px;

    line-height: 1.45;
}


/* ============================================================
   DATE
============================================================ */

.news-page .news-card-date {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: auto;

    padding-top: 16px;

    color: #666666;

    font-size: 11px;
}


.news-page .news-card-date img {
    width: 20px;
    height: 20px;

    flex-shrink: 0;

    object-fit: contain;
}


/* ============================================================
   LOAD MORE
============================================================ */

.news-page .news-load-more {
    display: inline-flex;

    min-width: 120px;
    min-height: 36px;

    align-items: center;
    justify-content: center;

    padding: 8px 22px;

    border: 1px solid #29279d;
    border-radius: 999px;

    color: #29279d;

    background: transparent;

    font-size: 12px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


.news-page .news-load-more:hover {
    color: #ffffff;

    background: #29279d;

    transform: translateY(-1px);
}


.news-page .news-load-more[hidden] {
    display: none;
}


/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .news-page .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .news-page .news-card-title-link h2 {
        font-size: 17px;
    }


    .news-page .news-card-description {
        font-size: 13px;
    }


    .news-page .news-card-date {
        font-size: 12px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .news-page .news-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 14px;
    }


    .news-page .news-card-content {
        min-height: 200px;

        padding: 18px 16px 16px;
    }


    .news-page .news-card-title-link h2 {
        font-size: 18px;
    }


    .news-page .news-card-description {
        font-size: 13px;
    }

}


/* ============================================================
   LARGE DESKTOP
============================================================ */

@media (min-width: 1280px) {

    .news-page .news-grid {
        gap: 16px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .news-page .news-card-image {
        aspect-ratio: 1.7 / 1;
    }


    .news-page .news-card-content {
        min-height: 175px;

        padding: 15px;
    }


    .news-page .news-card-title-link h2 {
        font-size: 16px;
    }


    .news-page .news-card-description {
        margin-top: 10px;

        font-size: 12px;
    }


    .news-page .news-card-date {
        padding-top: 14px;

        font-size: 11px;
    }


    .news-page .news-load-more {
        min-width: 110px;

        min-height: 34px;

        font-size: 11px;
    }

}

/* ============================================================
   NEWS DETAILS PAGE
============================================================ */

.news-details-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   ARTICLE CARD
============================================================ */

.news-details-page .news-detail-article {
    min-width: 0;

    padding: 22px;

    border-radius: 12px;

    background: #fbfaf8;
}


/* ============================================================
   ARTICLE HEADING
============================================================ */

.news-details-page .news-detail-desktop-heading {
    margin-bottom: 22px;

    color: #333333;

    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}


.news-details-page .news-detail-mobile-heading {
    display: none;
}


/* ============================================================
   MAIN IMAGE
============================================================ */

.news-details-page .news-detail-main-image {
    overflow: hidden;

    border-radius: 8px;
}


.news-details-page .news-detail-main-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1.9 / 1;

    object-fit: cover;
}


/* ============================================================
   ARTICLE COPY
============================================================ */

.news-details-page .news-detail-copy {
    margin-top: 24px;

    color: #747474;
}


.news-details-page .news-detail-copy p {
    margin-top: 14px;

    font-size: 13px;
    line-height: 1.55;
}


.news-details-page .news-detail-copy p:first-child {
    margin-top: 0;
}


.news-details-page .news-detail-copy h3 {
    margin-top: 28px;

    color: #333333;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}


.news-details-page .news-detail-copy ul {
    margin-top: 8px;

    padding-left: 21px;

    list-style: disc;
}


.news-details-page .news-detail-copy li {
    margin-top: 3px;

    font-size: 13px;
    line-height: 1.45;
}


/* ============================================================
   SIDEBAR
============================================================ */

.news-details-page .news-detail-sidebar {
    display: flex;

    min-width: 0;

    flex-direction: column;

    gap: 18px;
}


.news-details-page .news-sidebar-box {
    padding: 15px;

    border-radius: 12px;

    background: #fbfaf8;
}


.news-details-page .news-sidebar-box > h3,
.news-details-page .news-recent-wrap > h3 {
    color: #333333;

    font-size: 14px;
    font-weight: 600;
}


/* ============================================================
   SEARCH
============================================================ */

.news-details-page .news-detail-search {
    position: relative;
}


.news-details-page .news-detail-search input {
    width: 100%;
    height: 42px;

    padding:
        0 42px
        0 14px;

    border: 1px solid #d8d4cf;
    border-radius: 7px;

    outline: none;

    background: #ffffff;

    color: #333333;

    font-family: inherit;
    font-size: 11px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.news-details-page .news-detail-search input:focus {
    border-color: #35309c;

    box-shadow:
        0 0 0 2px
        rgba(53, 48, 156, 0.08);
}


.news-details-page .news-detail-search > img {
    position: absolute;

    top: 50%;
    right: 13px;

    width: 18px;
    height: 18px;

    object-fit: contain;

    transform:
        translateY(-50%);

    pointer-events: none;
}


/* ============================================================
   SEARCH RESULTS
============================================================ */

.news-details-page .news-detail-search-results {
    display: grid;

    gap: 8px;

    margin-top: 10px;
}


.news-details-page .news-detail-search-results[hidden] {
    display: none;
}


.news-details-page .news-search-result {
    display: grid;

    grid-template-columns:
        60px
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    padding: 8px;

    border: 1px solid #ece8e2;
    border-radius: 7px;

    background: #ffffff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.news-details-page .news-search-result:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 6px 18px
        rgba(20, 20, 30, 0.06);
}


.news-details-page .news-search-result > img {
    width: 60px;
    height: 52px;

    border-radius: 6px;

    object-fit: cover;
}


.news-details-page .news-search-result h4 {
    color: #333333;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}


.news-details-page .news-search-result p {
    display: -webkit-box;

    margin-top: 4px;

    overflow: hidden;

    color: #777777;

    font-size: 9px;
    line-height: 1.35;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        2;
}


.news-details-page .news-search-empty {
    padding: 20px 10px;

    color: #777777;

    font-size: 11px;

    text-align: center;
}


/* ============================================================
   RECENT
============================================================ */

.news-details-page .news-recent-wrap {
    margin-top: 13px;
}


.news-details-page .news-sidebar-post {
    display: grid;

    grid-template-columns:
        68px
        minmax(0, 1fr);

    align-items: center;

    gap: 10px;

    padding: 10px 0;

    color: inherit;

    text-decoration: none;
}


.news-details-page .news-sidebar-post + .news-sidebar-post {
    border-top:
        1px solid #ede9e3;
}


.news-details-page .news-sidebar-post > img {
    width: 68px;
    height: 55px;

    border-radius: 7px;

    object-fit: cover;
}


.news-details-page .news-sidebar-post-content h4 {
    color: #333333;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;

    transition:
        color 0.2s ease;
}


.news-details-page .news-sidebar-post:hover h4 {
    color: #29279d;
}


.news-details-page .news-sidebar-post-content span {
    display: block;

    margin-top: 7px;

    color: #777777;

    font-size: 9px;
}


/* ============================================================
   RELATED DESKTOP
============================================================ */

.news-details-page .news-related-box {
    padding-bottom: 16px;
}


.news-details-page .news-related-load-more {
    display: flex;

    width: 105px;
    min-height: 32px;

    align-items: center;
    justify-content: center;

    margin: 15px auto 0;

    padding: 5px 15px;

    border: 1px solid #29279d;
    border-radius: 999px;

    color: #29279d;

    background: transparent;

    font-size: 10px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}


.news-details-page .news-related-load-more:hover {
    color: #ffffff;

    background: #29279d;
}


/* ============================================================
   MOBILE RELATED
============================================================ */

.news-details-page .news-mobile-related {
    display: none;
}


/* ============================================================
   TABLET+
============================================================ */

@media (min-width: 640px) {

    .news-details-page .news-detail-copy p,
    .news-details-page .news-detail-copy li {
        font-size: 14px;
    }


    .news-details-page .news-detail-copy h3 {
        font-size: 20px;
    }

}


/* ============================================================
   MOBILE / TABLET WITHOUT SIDEBAR
============================================================ */

@media (max-width: 1023px) {

    .news-details-page .news-detail-sidebar {
        display: none;
    }


    .news-details-page .news-detail-article {
        padding: 0;

        background: transparent;
    }


    .news-details-page .news-detail-desktop-heading {
        display: none;
    }


    .news-details-page .news-detail-mobile-heading {
        display: grid;

        grid-template-columns:
            auto
            minmax(0, 1fr);

        align-items: start;

        gap: 10px;

        margin-bottom: 18px;
    }


    .news-details-page .news-detail-mobile-heading h2 {
        color: #222222;

        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }


    .news-details-page .news-detail-back {
        display: inline-flex;

        min-height: 26px;

        align-items: center;
        justify-content: center;

        padding: 4px 10px;

        border: 1px solid #333333;
        border-radius: 999px;

        color: #333333;

        font-size: 10px;
        font-weight: 500;

        text-decoration: none;
        white-space: nowrap;
    }


    .news-details-page .news-mobile-related {
        display: block;

        margin-top: 40px;
    }


    .news-details-page .news-mobile-related > h2 {
        margin-bottom: 15px;

        color: #222222;

        font-size: 18px;
        font-weight: 600;
    }


    .news-details-page .news-mobile-related-grid {
    display: flex;

    gap: 10px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 6px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    scrollbar-width: none;

    cursor: grab;

    user-select: none;
    -webkit-user-select: none;

    touch-action: pan-y;

    overscroll-behavior-x: contain;
}


.news-details-page .news-mobile-related-grid::-webkit-scrollbar {
    display: none;
}


.news-details-page .news-mobile-related-grid.is-dragging {
    cursor: grabbing;

    scroll-snap-type: none;
    scroll-behavior: auto;
}


.news-details-page .news-mobile-related-card {
    flex: 0 0 calc(52% - 5px);

    min-width: 0;

    scroll-snap-align: start;

    -webkit-user-drag: none;
    user-drag: none;
}


.news-details-page .news-mobile-related-card img {
    pointer-events: none;

    -webkit-user-drag: none;
    user-drag: none;
}

    .news-details-page .news-mobile-related-image {
        aspect-ratio: 1.7 / 1;

        overflow: hidden;
    }


    .news-details-page .news-mobile-related-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }


    .news-details-page .news-mobile-related-body {
    display: flex;

    min-height: 125px;

    flex: 1;
    flex-direction: column;

    padding: 9px;
    }


    .news-details-page .news-mobile-related-body h3 {
        color: #29279d;

        font-size: 10px;
        font-weight: 500;
        line-height: 1.35;
    }


    .news-details-page .news-mobile-related-body p {
        margin-top: 7px;

        color: #666666;

        font-size: 8px;
        line-height: 1.4;
    }


    .news-details-page .news-mobile-related-date {
        display: flex;

        align-items: center;

        gap: 5px;

        margin-top: auto;

        padding-top: 10px;

        color: #666666;

        font-size: 8px;
    }


    .news-details-page .news-mobile-related-date img {
        width: 13px;
        height: 13px;

        object-fit: contain;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .news-details-page .news-details-hero {
        min-height: 355px;
    }


    .news-details-page .news-detail-main-image {
        border-radius: 8px;
    }


    .news-details-page .news-detail-main-image img {
        aspect-ratio:
            1.22 / 1;
    }


    .news-details-page .news-detail-copy {
        margin-top: 21px;
    }


    .news-details-page .news-detail-copy p {
        margin-top: 12px;

        font-size: 11px;
        line-height: 1.5;
    }


    .news-details-page .news-detail-copy h3 {
        margin-top: 25px;

        font-size: 14px;
    }


    .news-details-page .news-detail-copy ul {
        padding-left: 19px;
    }


    .news-details-page .news-detail-copy li {
        margin-top: 3px;

        font-size: 10px;
        line-height: 1.45;
    }

}

.news-details-page .news-mobile-related-grid {
    display: flex;
    gap: 10px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 6px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;

    cursor: grab;

    user-select: none;
    -webkit-user-select: none;

    /* IMPORTANT: native horizontal swipe */
    touch-action: pan-x;
}

.news-details-page .news-mobile-related-grid::-webkit-scrollbar {
    display: none;
}

.news-details-page .news-mobile-related-grid.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.news-details-page .news-mobile-related-card {
    flex: 0 0 calc(52% - 5px);
    min-width: 0;

    scroll-snap-align: start;

    -webkit-user-drag: none;
    user-drag: none;
}

.news-details-page .news-mobile-related-card img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

/* ============================================================
   POLICY LISTING PAGE
============================================================ */

.policy-listing-page {
    font-family:
        Manrope,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   BACK BUTTON
============================================================ */

.policy-listing-page .policy-listing-back {
    display: inline-flex;

    min-width: 92px;
    height: 42px;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 16px;

    border: 1px solid #222222;
    border-radius: 999px;

    color: #222222;

    background: transparent;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


.policy-listing-page .policy-listing-back:hover {
    color: #ffffff;

    background: #222222;

    transform: translateX(-2px);
}


/* ============================================================
   GRID
============================================================ */

.policy-listing-page .policy-listing-grid {
    display: grid;

    grid-template-columns:
        repeat(1, minmax(0, 1fr));

    gap: 14px;
}


/* ============================================================
   CARD
============================================================ */

.policy-listing-page .policy-listing-card {
    display: flex;

    min-height: 260px;

    align-items: center;
    flex-direction: column;

    padding: 28px 20px 24px;

    border-radius: 12px;

    background: #fbfaf8;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.policy-listing-page .policy-listing-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 28px
        rgba(23, 25, 45, 0.06);
}


/* ============================================================
   ICON
============================================================ */

.policy-listing-page .policy-listing-icon {
    display: grid;

    width: 55px;
    height: 55px;

    place-items: center;
}


.policy-listing-page .policy-listing-icon img {
    display: block;

    width: 46px;
    height: 46px;

    object-fit: contain;
}


/* ============================================================
   TITLE
============================================================ */

.policy-listing-page .policy-listing-card h3 {
    margin-top: 13px;

    color: #333092;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.25;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.policy-listing-page .policy-listing-card p {
    max-width: 220px;

    margin-top: 14px;

    color: #666666;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   BUTTON
============================================================ */

.policy-listing-page .policy-listing-btn {
    display: inline-flex;

    min-width: 132px;
    min-height: 39px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: auto;

    padding: 9px 17px;

    border: 1px solid #F33B32;
    border-radius: 8px;

    color: #ffffff;

    background: #F33B32;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}


.policy-listing-page .policy-listing-btn:hover {
    color: #F33B32;

    background: transparent;

    transform: translateY(-2px);
}


.policy-listing-page .policy-listing-arrow {
    font-size: 16px;
    font-weight: 400;

    line-height: 1;
}


/* ============================================================
   TABLET
============================================================ */

@media (min-width: 640px) {

    .policy-listing-page .policy-listing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 16px;
    }


    .policy-listing-page .policy-listing-card {
        min-height: 285px;

        padding:
            32px 22px
            26px;
    }


    .policy-listing-page .policy-listing-icon {
        width: 60px;
        height: 60px;
    }


    .policy-listing-page .policy-listing-icon img {
        width: 50px;
        height: 50px;
    }


    .policy-listing-page .policy-listing-card h3 {
        font-size: 20px;
    }


    .policy-listing-page .policy-listing-card p {
        font-size: 14px;
    }


    .policy-listing-page .policy-listing-btn {
        min-width: 138px;

        font-size: 14px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 1024px) {

    .policy-listing-page .policy-listing-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 14px;
    }


    .policy-listing-page .policy-listing-card {
        min-height: 280px;

        padding:
            30px 18px
            25px;
    }

}


/* ============================================================
   LARGE DESKTOP
============================================================ */

@media (min-width: 1280px) {

    .policy-listing-page .policy-listing-grid {
        gap: 16px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 639px) {

    .policy-listing-page .policy-listing-back {
        min-width: 78px;
        height: 36px;

        padding: 0 12px;

        font-size: 11px;
    }


    .policy-listing-page .policy-listing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .policy-listing-page .policy-listing-card {
        min-height: 235px;

        padding:
            20px 10px
            17px;

        border-radius: 10px;
    }


    .policy-listing-page .policy-listing-icon {
        width: 45px;
        height: 45px;
    }


    .policy-listing-page .policy-listing-icon img {
        width: 39px;
        height: 39px;
    }


    .policy-listing-page .policy-listing-card h3 {
        margin-top: 10px;

        font-size: 15px;
    }


    .policy-listing-page .policy-listing-card p {
        min-height: 46px;

        margin-top: 9px;

        font-size: 10px;
        line-height: 1.4;
    }


    .policy-listing-page .policy-listing-btn {
        min-width: auto;
        min-height: 34px;

        gap: 6px;

        padding:
            8px 11px;

        border-radius: 7px;

        font-size: 10px;
    }


    .policy-listing-page .policy-listing-arrow {
        font-size: 13px;
    }

}

/* ============================================================
   GLOBAL - REQUEST A QUOTE MODAL
============================================================ */

body.request-quote-locked {
    overflow: hidden;
}

.request-quote-modal {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.request-quote-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.request-quote-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 18, 34, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.request-quote-dialog {
    position: relative;
    z-index: 1;
    width: min(590px, 100%);
    max-height: calc(100svh - 36px);
    overflow-y: auto;
    border: 1px solid rgba(41, 39, 157, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(5, 23, 45, 0.28);
    color: #292929;
    transform: translateY(12px) scale(0.985);
    transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}

.request-quote-modal.is-open .request-quote-dialog {
    transform: translateY(0) scale(1);
}

.request-quote-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 15px;
    border-bottom: 1px solid #eeeae3;
}

.request-quote-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #f33b32;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.request-quote-head h2 {
    margin: 0;
    color: #29279d;
    font-size: 23px;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.request-quote-close {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid #e2ded7;
    border-radius: 999px;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}

.request-quote-close:hover {
    background: #f5f2ed;
    transform: rotate(4deg);
}

.request-quote-close svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.request-quote-form {
    padding: 18px 22px 20px;
}

.request-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.request-quote-field {
    display: block;
    min-width: 0;
}

.request-quote-field--wide {
    grid-column: 1 / -1;
}

.request-quote-field > span {
    display: block;
    margin-bottom: 5px;
    color: #484848;
    font-size: 11px;
    font-weight: 600;
}

.request-quote-field > span b {
    color: #f33b32;
    font-weight: 700;
}

.request-quote-field input,
.request-quote-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #dcd8d1;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #2c2c2c;
    font-family: inherit;
    font-size: 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.request-quote-field input {
    height: 41px;
    padding: 0 12px;
}

.request-quote-field textarea {
    min-height: 76px;
    resize: vertical;
    padding: 10px 12px;
    line-height: 1.45;
}

.request-quote-field input::placeholder,
.request-quote-field textarea::placeholder {
    color: #9a9690;
}

.request-quote-field input:focus,
.request-quote-field textarea:focus {
    border-color: #5147a4;
    box-shadow: 0 0 0 3px rgba(81, 71, 164, 0.09);
}

.request-quote-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 16px;
}

.request-quote-cancel,
.request-quote-submit {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.request-quote-cancel {
    border: 1px solid #d8d4cd;
    background: #ffffff;
    color: #444444;
}

.request-quote-submit {
    border: 1px solid #f33b32;
    background: #f33b32;
    color: #ffffff;
}

.request-quote-submit svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.request-quote-cancel:hover,
.request-quote-submit:hover {
    transform: translateY(-1px);
}

.request-quote-submit:hover {
    background: #dc3028;
}

@media (max-width: 639px) {
    .request-quote-modal {
        align-items: end;
        padding: 10px;
    }

    .request-quote-dialog {
        width: 100%;
        max-height: calc(100svh - 20px);
        border-radius: 16px;
    }

    .request-quote-head {
        padding: 16px 16px 12px;
    }

    .request-quote-head h2 {
        font-size: 20px;
    }

    .request-quote-form {
        padding: 14px 16px 16px;
    }

    .request-quote-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .request-quote-field--wide {
        grid-column: auto;
    }

    .request-quote-actions {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        margin-top: 13px;
    }

    .request-quote-cancel,
    .request-quote-submit {
        width: 100%;
        min-height: 40px;
        padding-inline: 10px;
    }
}


/* ============================================================
   PRODUCT DETAILS - RELATED PRODUCTS / MOBILE COMPACT CARD
   Matches the supplied mobile reference: compact horizontal card,
   smaller product image and View + Add to RFQ in one row.
============================================================ */

@media (max-width: 639px) {
    body.page-product-details #pdRelatedTrack {
        gap: 7px !important;
        padding-bottom: 8px !important;
    }

    body.page-product-details #pdRelatedTrack > article {
        width: 260px !important;
        min-height: 116px;
        align-items: center !important;
        gap: 8px !important;
        padding: 9px !important;
        border-radius: 9px !important;
        background: #fbfaf8 !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:first-child {
        width: 74px !important;
        height: 74px !important;
        padding: 3px !important;
        border-radius: 8px !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) h3 {
        font-size: 10px !important;
        font-weight: 650 !important;
        line-height: 1.25 !important;
        color: #292929 !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) p {
        margin-top: 4px !important;
        font-size: 8px !important;
        line-height: 1.25 !important;
        color: #4e4e4e !important;
        white-space: nowrap;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) p span {
        color: #ef2b22 !important;
        font-weight: 600 !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 7px !important;
    }

 

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 4px !important;
        margin-top: 7px !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div > a,
    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div > button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 24px !important;
        min-height: 24px !important;

        margin: 0 !important;
        padding: 0 7px !important;

        font-size: 7px !important;
        line-height: 1 !important;

        border-radius: 4px !important;
        white-space: nowrap !important;
    }

    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div > a {
        min-width: 53px !important;
    }
}
    body.page-product-details #pdRelatedTrack > article > div:nth-child(2) > div > button {
        padding-inline: 6px !important;
    }  


    @media (min-width: 1024px) {

    /* Related Product button row */
    body.page-product-details
    #pdRelatedTrack > article > div:nth-child(2) > div {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
        gap: 8px;
    }

    /* View + Add to RFQ */
    body.page-product-details
    #pdRelatedTrack > article > div:nth-child(2) > div > a,
    body.page-product-details
    #pdRelatedTrack > article > div:nth-child(2) > div > button {
        flex: 1 1 0 !important;
        width: 100% !important;

        display: flex !important;
        align-items: center;
        justify-content: center;

        white-space: nowrap;
    }
}
/* ============================================================
   GLOBAL - WHATSAPP FLOATING CONNECT WIDGET
============================================================ */

.rucha-whatsapp-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 115;

    display: flex;
    align-items: flex-end;
    flex-direction: column;
    gap: 10px;

    font-family: Manrope, ui-sans-serif, system-ui, sans-serif;

    /* IMPORTANT:
       Invisible parts of the widget must not block the page */
    pointer-events: none;
}
.rucha-whatsapp-trigger {
    pointer-events: auto;
}

.rucha-whatsapp-trigger {
    display: grid;
    width: 48px; 
    flex: 0 0 58px;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border: 0;   
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.rucha-whatsapp-trigger:hover {
    transform: translateY(-2px) scale(1.03); 
}

.rucha-whatsapp-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rucha-whatsapp-card {
    position: relative;
    width: min(300px, calc(100vw - 32px));
    overflow: hidden;
    border: 1px solid #e6e1da;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(4, 28, 42, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: bottom right;
    pointer-events: none;
    transition:
        opacity 180ms ease,
        transform 220ms cubic-bezier(.2, .8, .2, 1),
        visibility 0s linear 220ms;
}

.rucha-whatsapp-widget.is-open .rucha-whatsapp-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s;
}

.rucha-whatsapp-card-image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 150px;
    max-height: 280px;
    object-fit: cover;
    background: #f3f0ea;
}

.rucha-whatsapp-card-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.60);
    border-radius: 999px;
    background: rgba(5, 26, 48, 0.68);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.rucha-whatsapp-card-close svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.rucha-whatsapp-connect {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px;
    border-radius: 8px;
    background: #29279d;
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease;
}

.rucha-whatsapp-connect:hover {
    transform: translateY(-1px);
    background: #211f86;
}

.rucha-whatsapp-connect svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 639px) {
    .rucha-whatsapp-widget {
        right: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .rucha-whatsapp-trigger {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .rucha-whatsapp-card {
        width: min(270px, calc(100vw - 28px));
    }

    .rucha-whatsapp-connect {
        min-height: 42px;
        font-size: 12px;
    }
}


.rucha-whatsapp-box {
    width: 100%;
    background: #f4f1ea;
}


/* HEADER */

.rucha-whatsapp-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 62px;

    padding: 12px 16px;

    background: #29279d;
    color: #ffffff;
}


.rucha-whatsapp-box-header h4 {
    margin: 0;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}


.rucha-whatsapp-box-header p {
    margin-top: 3px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 10px;
    line-height: 1.3;
}


/* BODY */

.rucha-whatsapp-box-body {
    min-height: 245px;

    padding: 22px 15px;

    background-color: #f4f1ea;

    background-image:
        radial-gradient(
            circle at 20% 20%,
            rgba(41, 39, 157, 0.035) 0,
            rgba(41, 39, 157, 0.035) 2px,
            transparent 2px
        );

    background-size: 18px 18px;
}


/* CHAT BUBBLE */

.rucha-whatsapp-message {
    max-width: 92%;

    padding: 14px 15px;

    border-radius: 4px 12px 12px 12px;

    background: #ffffff;

    color: #282828;

    box-shadow:
        0 4px 14px rgba(10, 20, 40, 0.07);
}


.rucha-whatsapp-message strong {
    display: block;

    margin-bottom: 8px;

    color: #29279d;

    font-size: 13px;
    font-weight: 600;

    line-height: 1.5;
}


.rucha-whatsapp-message ul {
    margin: 0;

    padding-left: 18px;

    list-style: disc;
}


.rucha-whatsapp-message li {
    margin-top: 4px;

    color: #444444;

    font-size: 12px;

    line-height: 1.45;
}