:root {
    /* ── Primary blue ─────────────────────────────────────────────── */
    --color-primary-100: #D6E9F7;   /* lightest tint */
    --color-primary-200: #A8D0EF;
    --color-primary-300: #7AB8E7;
    --color-primary-400: #4EA0DC;
    --color-primary:     #3688CD;   /* base */
    --color-primary-600: #2C72AE;
    --color-primary-700: #225990;
    --color-primary-800: #184071;
    --color-primary-900: #0E2852;   /* near-dark */

    /* ── Dark navy ────────────────────────────────────────────────── */
    --color-dark-100: #D0D5E3;
    --color-dark-200: #A2ACCA;
    --color-dark-300: #7382B0;
    --color-dark-400: #445997;
    --color-dark:     #061F5C;      /* base */
    --color-dark-700: #051A4D;
    --color-dark-800: #04143D;
    --color-dark-900: #020C27;

    /* ── Light blue (sky accent) ──────────────────────────────────── */
    --color-light-blue-100: #E8F8FF;
    --color-light-blue-300: #A9E4FD;
    --color-light-blue:     #65C8FA; /* base */
    --color-light-blue-700: #20A6E8;

    /* ── Neutrals ─────────────────────────────────────────────────── */
    --color-white:      #FFFFFF;
    --color-off-white:  #F5F7FA;
    --color-light-grey: #E8ECF0;
    --color-mid-grey:   #C2C9D4;
    --color-grey:       #8D8D8D;
    --color-dark-grey:  #555F6D;
    --color-text:       #333333;
    --color-text-muted: #6B7585;

    /* ── Eco / sustainability ─────────────────────────────────────── */
    --color-eco-100: #D4EFE1;
    --color-eco-300: #81CCA6;
    --color-eco:     #2E9E5B;        /* base */
    --color-eco-700: #1F7040;
    --color-eco-tint: #EAF6EF;       /* background tint */

    /* ── Semantic ─────────────────────────────────────────────────── */
    --color-success:      #2E9E5B;
    --color-success-tint: #EAF6EF;
    --color-warning:      #E6960A;
    --color-warning-tint: #FEF6E0;
    --color-error:        #D03B3B;
    --color-error-tint:   #FDEAEA;
    --color-info:         #3688CD;
    --color-info-tint:    #D6E9F7;

    /* ── Blue-tint section backgrounds ──────────────────────────────── */
    --color-blue-tint-50:  #F3F8FD;   /* lightest wash — process flow & stats section bg */
    --color-blue-tint-100: #EBF4FB;   /* light tint — account panels, blog callouts, shop notices */
    --color-blue-tint-150: #D3E4F5;   /* mid-light — process flow connectors, step markers */
    --color-blue-tint-200: #C2CEDF;   /* border default — category grid */
    --color-blue-tint-300: #97AECE;   /* border hover — category grid */
    --color-blue-border:   #C2D9F0;   /* shop / account primary-tinted border */
    --color-blue-tint-bg:  #EEF4FF;   /* dropdown selected / hover bg */

    /* ── Dark navy gradient stops ────────────────────────────────────── */
    --color-navy-bright:   #1C4FA6;   /* lighter navy — gradient highlight start */
    --color-navy-mid:      #0A2A6B;   /* deep navy — gradient mid stop */
    --color-navy-deep:     #1A4080;   /* product-finder hero dark start */
    --color-navy-text:     #D4DDF0;   /* subdued body text on dark navy bg */

    /* ── Star / rating amber ─────────────────────────────────────────── */
    --color-star:        #F59E0B;   /* filled star, amber accent */
    --color-star-empty:  #E0E0E0;   /* empty star */

    /* ── Quote & order status ────────────────────────────────────────── */
    --color-status-draft-bg:       #F3F4F6;
    --color-status-draft-text:     #6B7280;
    --color-status-submitted-bg:   #E3F0FB;
    --color-status-submitted-text: #1565C0;
    --color-status-sent-bg:        #FFF8E1;
    --color-status-sent-text:      #F57F17;
    --color-status-accepted-bg:    #E8F5E9;
    --color-status-accepted-text:  #2E7D32;
    --color-status-declined-bg:    #FCE4E4;
    --color-status-declined-text:  #C62828;

    /* ── Glass / overlay alphas ──────────────────────────────────────── */
    /* White overlays — frosted-glass panels, dark-bg cards */
    --glass-white-subtle: rgba(255, 255, 255, 0.06);
    --glass-white-faint:  rgba(255, 255, 255, 0.10);
    --glass-white-soft:   rgba(255, 255, 255, 0.15);
    --glass-white-mid:    rgba(255, 255, 255, 0.25);
    --glass-white-strong: rgba(255, 255, 255, 0.40);
    /* Dark overlays — image scrims, modal backdrops */
    --overlay-dark-light: rgba(0, 0, 0, 0.35);
    --overlay-dark-mid:   rgba(0, 0, 0, 0.50);
    --overlay-dark-heavy: rgba(0, 0, 0, 0.65);
    /* Primary-tinted overlays — hover states, focus rings */
    --overlay-primary-faint:  rgba(54, 136, 205, 0.07);
    --overlay-primary-soft:   rgba(54, 136, 205, 0.12);
    --overlay-primary-mid:    rgba(54, 136, 205, 0.25);

    /* ── Gradients ────────────────────────────────────────────────── */
    /* Core brand: navy → primary blue */
    --gradient-brand:      linear-gradient(135deg, #061F5C 0%, #3688CD 100%);
    /* Hero / dark sections: deep navy → mid navy */
    --gradient-dark:       linear-gradient(135deg, #020C27 0%, #061F5C 100%);
    /* Sky: primary blue → light blue */
    --gradient-blue:       linear-gradient(135deg, #3688CD 0%, #65C8FA 100%);
    /* Subtle page/card tint */
    --gradient-light:      linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
    /* Eco / sustainability */
    --gradient-eco:        linear-gradient(135deg, #1F7040 0%, #2E9E5B 100%);
    /* Promo hero fallback bg (no image): radial deep navy */
    --gradient-hero-dark:  radial-gradient(ellipse at center, #1C4FA6 0%, #0A2A6B 48%, #061F5C 100%);
    /* Product-finder block dark bg */
    --gradient-finder:     linear-gradient(155deg, #1A4080 0%, #0B2860 45%, #061F5C 100%);
    /* Radial primary glow — hero dark backgrounds */
    --gradient-glow:       radial-gradient(ellipse at 60% 40%, rgba(54,136,205,0.35) 0%, transparent 70%);
    /* Radial sky-blue glow — product image halo */
    --gradient-sky-glow:   radial-gradient(circle, rgba(101, 200, 250, 0.40) 0%, rgba(101, 200, 250, 0) 68%);
    /* Image scrim — text legibility over hero photos */
    --gradient-scrim:      linear-gradient(to bottom, rgba(6,31,92,0.00) 0%, rgba(6,31,92,0.65) 100%);
    /* Bento card scrim — bottom-weighted darkening */
    --gradient-card-scrim: linear-gradient(to bottom, rgba(6,31,92,0.15) 0%, rgba(6,31,92,0.35) 46%, rgba(6,31,92,0.90) 100%);
    /* Shimmer — skeleton loading states */
    --gradient-shimmer:    linear-gradient(90deg, var(--color-light-grey) 25%, var(--color-off-white) 50%, var(--color-light-grey) 75%);

    /* Typography */
    --font-heading: 'League Spartan', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --font-light:   'Lato', sans-serif;

    /* Spacing */
    --container-width: 1280px;
    /* Header/footer only — fluid width for large screens. Floors at 1280px
       (identical to --container-width) below ~1422px viewport, grows with
       viewport up to 1600px above ~1778px. */
    --container-width-wide: clamp(1280px, 90vw, 1600px);
    --section-padding: 80px;
    --card-radius: 8px;
    --btn-radius: 4px;

    /* Shadows */
    --shadow-card: 0 2px 12px rgba(6, 31, 92, 0.08);
    --shadow-hover: 0 6px 24px rgba(6, 31, 92, 0.15);
}

/* Primary button — Add to Quote */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover { background: #2a70b0; transform: translateY(-1px); }

/* ============================================================
   Global layout
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--color-primary); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   Header wrap — sticky container for top-bar + header + cat-bar
   ============================================================ */

.header-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(6, 31, 92, 0.09);
}

/* ============================================================
   Top bar
   ============================================================ */

.top-bar {
    background: var(--color-dark);
    color: rgba(255,255,255,0.85);
    font-family: var(--font-heading);
    font-size: 12px;
    padding: 0 24px;
}

.top-bar__inner {
    max-width: var(--container-width-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-bar__promo {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.top-bar__promo-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-weight: 500;
}

.top-bar__sep { opacity: 0.3; }

.top-bar__right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.top-bar__right a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s;
}

.top-bar__right a:hover { color: #fff; }

/* ============================================================
   Site header — main bar
   ============================================================ */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-light-grey);
}

.site-header__inner {
    max-width: var(--container-width-wide);
    margin: 0 auto;
    padding: 0 24px;
    height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

/* Center: primary nav + search, grouped and centered as a unit within the
   flexible middle grid column */
.site-header__center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-width: 0;
}

/* Brand */
.site-logo {
    text-decoration: none;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.site-logo__img { height: 80px; width: auto; display: block; }

.site-logo__text { color: var(--color-dark); }

/* Search — fixed comfortable width, sits centered alongside the nav */
.site-header__search { position: relative; width: 400px; flex-shrink: 0; }

.header-search__form {
    display: flex;
    align-items: center;
    background: var(--color-off-white);
    border: 1.5px solid var(--color-light-grey);
    border-radius: 40px;
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.header-search__form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(54,136,205,0.12);
    background: #fff;
}

.header-search__icon {
    padding: 0 2px 0 16px;
    color: var(--color-grey);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-search__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-dark);
    background: transparent;
    min-width: 0;
}

.header-search__input::placeholder { color: var(--color-grey); }

.header-search__submit {
    background: var(--color-primary);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    padding: 8px 16px;
    margin: 3px;
    color: #fff;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.15s;
    line-height: 1;
}

.header-search__submit:hover { background: #2a70b0; }

/* Header actions area */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.hdr-divider {
    width: 1px;
    height: 28px;
    background: var(--color-light-grey);
    flex-shrink: 0;
    margin: 0 6px;
}

/* Primary nav */
.primary-nav { display: flex; align-items: center; }

.primary-nav__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
    align-items: center;
}

.primary-nav__list li a {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--btn-radius);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
    display: block;
}

.primary-nav__list li a:hover,
.primary-nav__list li.current-menu-item > a {
    color: var(--color-primary);
}

/* Add class "nav-cta" to a menu item in WP Admin → Menus to style it as a button */
.primary-nav__list .nav-cta > a {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: var(--btn-radius) !important;
    padding: 10px 20px !important;
}

.primary-nav__list .nav-cta > a:hover {
    background: #2a70b0 !important;
    color: #fff !important;
}

/* ---- Primary nav: submenu support ---- */

/* Position context so sub-menu can be absolutely placed */
.primary-nav__list > li {
    position: relative;
}

/* Down-arrow indicator on items that have children */
.primary-nav__list > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
    opacity: 0.55;
    transition: transform 0.15s;
}

.primary-nav__list > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 0.9;
}

/* Sub-menu: hidden by default, shown on hover with fade+slide */
.primary-nav__list .sub-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-hover);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 150;
    /* hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.16s ease, visibility 0.16s, transform 0.16s ease;
    /* prevent gap between item and submenu from closing the hover */
    pointer-events: none;
}

/* Small bridge to prevent hover gap from closing the menu */
.primary-nav__list .sub-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.primary-nav__list > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Sub-menu link styles — plain, no CTA button look */
.primary-nav__list .sub-menu li {
    position: relative;
}

.primary-nav__list .sub-menu li a,
.primary-nav__list .sub-menu > li:last-child > a {
    display: block;
    padding: 9px 20px !important;
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--color-dark) !important;
    background: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
    transition: background 0.12s, color 0.12s;
}

.primary-nav__list .sub-menu li a:hover,
.primary-nav__list .sub-menu > li:last-child > a:hover {
    background: var(--color-off-white) !important;
    color: var(--color-primary) !important;
}

/* Nested sub-sub-menu: open to the right */
.primary-nav__list .sub-menu .sub-menu {
    top: -6px;
    left: 100%;
}

.primary-nav__list .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Quote cart */
.quote-cart-link {
    color: var(--color-dark);
    text-decoration: none;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: var(--btn-radius);
    transition: background 0.15s;
}

.quote-cart-link:hover { background: var(--color-off-white); color: var(--color-dark); }

.quote-count-badge {
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-family: var(--font-heading);
}

.quote-count-badge.is-empty {
    background: var(--color-light-grey);
    color: var(--color-grey);
}

/* ============================================================
   Header icon buttons (Account / Quotes / Cart)
   ============================================================ */

.hdr-icon-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    border-radius: 12px;
    color: var(--color-dark);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    flex-shrink: 0;
    transition: background 0.15s;
    line-height: 1;
}

.hdr-icon-btn:hover { background: var(--color-off-white); }

.hdr-icon-btn__icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.hdr-icon-btn svg { flex-shrink: 0; }

.hdr-icon-btn__badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    line-height: 1;
}

.hdr-icon-btn__badge.is-empty {
    background: var(--color-light-grey);
    color: var(--color-grey);
}

.hdr-icon-btn__lbl {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.hdr-icon-btn__lbl small {
    font-size: 11px;
    color: var(--color-grey);
    font-family: var(--font-heading);
    font-weight: 500;
}

.hdr-icon-btn__lbl strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-dark);
    font-family: var(--font-heading);
    white-space: nowrap;
}

/* Mobile search toggle — hidden on desktop, icon-only on mobile */
.hdr-search-toggle { display: none; }

/* Mobile search drop-down bar */
.mobile-search-bar {
    background: #fff;
    border-bottom: 1px solid var(--color-light-grey);
    padding: 10px 16px;
    /* slide-down animation */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease, padding 0.22s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.mobile-search-bar.is-open {
    max-height: 80px;
    padding: 10px 16px;
}

.mobile-search-bar__form {
    display: flex;
    align-items: center;
    background: var(--color-off-white);
    border: 1.5px solid var(--color-light-grey);
    border-radius: 40px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.mobile-search-bar__form:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(54,136,205,0.12);
    background: #fff;
}

.mobile-search-bar__icon {
    padding: 0 2px 0 14px;
    color: var(--color-grey);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.mobile-search-bar__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 11px 8px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--color-dark);
    background: transparent;
    min-width: 0;
}

.mobile-search-bar__input::placeholder { color: var(--color-grey); }

.mobile-search-bar__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 6px;
    color: var(--color-grey);
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.15s;
}

.mobile-search-bar__close:hover { color: var(--color-dark); }

.mobile-search-bar__submit {
    background: var(--color-primary);
    border: none;
    border-radius: 40px;
    cursor: pointer;
    padding: 8px 14px;
    margin: 3px;
    color: #fff;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.mobile-search-bar__submit:hover { background: #2a70b0; }

/* Mobile submit spinner (mirrors desktop .header-search__submit spinner) */
.mobile-search-bar__submit .icon-spinner { display: none; }
.mobile-search-bar__submit.is-loading .icon-search  { display: none; }
.mobile-search-bar__submit.is-loading .icon-spinner { display: block; }

/* Mobile live-search suggest panel */
.mobile-search-suggest {
    display: none;
    background: #fff;
    border-top: 1px solid var(--color-light-grey);
    border-bottom: 1px solid var(--color-light-grey);
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-search-suggest.is-visible { display: block; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Search suggest dropdown
   ============================================================ */

.search-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--color-light-grey);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.11);
    z-index: 300;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.search-suggest.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.search-suggest__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-dark);
    border-bottom: 1px solid var(--color-light-grey);
    transition: background 0.12s;
}
.search-suggest__item:last-of-type { border-bottom: none; }
.search-suggest__item:hover { background: var(--color-off-white); }

.search-suggest__img {
    width: 44px; height: 44px; object-fit: cover;
    border-radius: 6px; flex-shrink: 0; background: var(--color-off-white);
}
.search-suggest__img--empty {
    display: inline-block; width: 44px; height: 44px;
    background: var(--color-off-white); border-radius: 6px; flex-shrink: 0;
}
.search-suggest__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.search-suggest__name {
    font-size: 13px; font-family: var(--font-heading); font-weight: 600;
    line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-suggest__name mark {
    background: none;
    color: var(--color-primary);
    font-weight: 700;
}
.search-suggest__cats {
    font-size: 11px; color: var(--color-grey);
    font-family: var(--font-heading); letter-spacing: 0.05em;
}
.search-suggest__tag {
    display: inline-block; align-self: flex-start;
    font-size: 10px; line-height: 1.4; color: var(--color-primary);
    background: rgba(54, 136, 205, 0.1);
    border-radius: 3px; padding: 1px 6px;
    font-family: var(--font-heading); letter-spacing: 0.03em;
}
.search-suggest__all {
    display: block; padding: 12px 14px; background: var(--color-primary);
    color: #fff; text-align: center; font-size: 13px; font-family: var(--font-heading);
    font-weight: 600; text-decoration: none; transition: background 0.15s;
}
.search-suggest__all:hover { background: var(--color-dark); color: #fff; }
.search-suggest__all em { font-style: normal; }

/* ── Empty state ─────────────────────────────────────────────── */
.search-suggest__empty {
    padding: 22px 16px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--color-grey);
    line-height: 1.5;
}
.search-suggest__empty strong {
    display: block;
    font-size: 14px;
    color: var(--color-dark);
    margin-bottom: 4px;
}

/* ── Skeleton loader rows ────────────────────────────────────── */
.search-suggest__skeleton {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-light-grey);
}
.search-suggest__skeleton:last-child { border-bottom: none; }

@keyframes ss-shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}
.ss-bone {
    background: linear-gradient(90deg, #f0f0f0 25%, #e4e4e4 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: ss-shimmer 1.2s ease infinite;
    border-radius: 4px;
    flex-shrink: 0;
}
.ss-bone--thumb { width: 44px; height: 44px; border-radius: 6px; }
.ss-bone--title { height: 12px; width: 62%; }
.ss-bone--cat   { height: 10px; width: 38%; margin-top: 6px; }

/* ── Submit button spinner ───────────────────────────────────── */
.header-search__submit .icon-spinner { display: none; }
.header-search__submit.is-loading .icon-search  { display: none; }
.header-search__submit.is-loading .icon-spinner { display: block; }

@keyframes hs-spin { to { transform: rotate(360deg); } }
.icon-spinner { animation: hs-spin 0.7s linear infinite; transform-origin: center; }

/* ============================================================
   Category Bar
   ============================================================ */

.cat-bar {
    background: #fff;
    position: relative;
    border-bottom: 1px solid var(--color-light-grey);
}

.cat-bar__inner {
    max-width: var(--container-width-wide);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.cat-bar__scroll {
    overflow-x: auto;
    scrollbar-width: none;
}
.cat-bar__scroll::-webkit-scrollbar { display: none; }

.cat-bar__scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--color-light-grey);
    box-shadow: 0 1px 6px rgba(6,31,92,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    color: var(--color-dark);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s, box-shadow 0.15s;
    padding: 0;
}
.cat-bar__scroll-btn:hover { box-shadow: 0 2px 8px rgba(6,31,92,0.2); }
.cat-bar__scroll-btn--prev { left: 4px; }
.cat-bar__scroll-btn--next { right: 4px; }
.cat-bar__scroll-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cat-bar__list {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.cat-bar__item { position: relative; flex-shrink: 0; }

.cat-bar__link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    border-bottom: 3px solid transparent;
}

.cat-bar__link svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.cat-bar__item:hover > .cat-bar__link,
.cat-bar__item.is-open  > .cat-bar__link {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* "All Categories" — filled blue pill at the start */
.cat-bar__item--all {
    margin-right: 10px;
}

.cat-bar__link--all {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: 8px;
    padding: 0 18px;
    height: 36px;
    margin: 9px 0;
    border-bottom: none !important;
    font-weight: 600;
    gap: 8px;
    transition: background 0.15s;
}

.cat-bar__link--all svg { color: #fff; }

.cat-bar__link--all:hover {
    background: var(--color-dark) !important;
    border-bottom-color: transparent !important;
}

/* ============================================================
   Mega Menu
   ============================================================ */

.mega-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(760px, 92%);
    background: linear-gradient(160deg, #ffffff 0%, #f3f9fe 60%, #eaf5fd 100%);
    border: 1px solid #d8ebf9;
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 26px 56px rgba(6, 31, 92, 0.20);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s, transform 0.18s ease;
    pointer-events: none;
    overflow: hidden;
}

.mega-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-panel__inner {
    display: grid;
    grid-template-columns: 1fr 250px;
    min-height: 240px;
}

.mega-panel__inner--no-feature {
    grid-template-columns: 1fr;
}

.mega-panel__links {
    padding: 24px 28px 26px;
    border-right: 1px solid #d8ebf9;
}

.mega-panel__heading {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0 0 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid #d8ebf9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-panel__heading svg {
    flex-shrink: 0;
}

.mega-panel__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px 22px;
}

.mega-panel__list a {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    color: var(--color-dark);
    text-decoration: none;
    font-family: var(--font-body);
    border-radius: 7px;
    transition: background 0.12s, color 0.12s;
}

.mega-panel__list a:hover {
    background: #fff;
    color: var(--color-primary);
}

.mega-panel__view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.15s;
}
.mega-panel__view-all svg { transition: transform 0.15s; }
.mega-panel__view-all:hover { gap: 9px; }
.mega-panel__view-all:hover svg { transform: translateX(2px); }

/* Feature card */
.mega-panel__feature {
    padding: 16px 16px 16px 0;
    display: flex;
    flex-direction: column;
}

.mega-feature-card {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    width: 100%;
    flex: 1; /* fill the flex column — height driven by left links section */
    background: var(--color-off-white, #ffffff);
    box-shadow: 0 8px 24px rgba(6, 31, 92, 0.16);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.mega-feature-card:hover {
    box-shadow: 0 12px 36px rgba(6, 31, 92, 0.24);
    transform: translateY(-2px);
}

.mega-feature-card__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.mega-feature-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.4s ease;
    display: block;
}

.mega-feature-card:hover .mega-feature-card__img img { transform: scale(1.06); }

.mega-feature-card__body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px 16px 16px;
    background: linear-gradient(
        to top,
        rgba(6, 31, 92, 0.94) 0%,
        rgba(6, 31, 92, 0.35) 60%,
        transparent 100%
    );
}

.mega-feature-card__body strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 5px;
}

.mega-feature-card__body p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.88);
    margin: 0 0 9px;
    line-height: 1.45;
}

.mega-feature-card__cta {
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--color-light-blue, #65C8FA);
}

.mega-feature-card__cta::after {
    content: ' →';
}

/* ============================================================
   Mobile nav overlay
   ============================================================ */

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 250;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav__inner {
    padding: 80px 24px 40px;
}

.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__list li a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--color-light-grey);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
}

.mobile-nav__cats {
    margin-bottom: 28px;
}

.mobile-nav__cats-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-grey);
    margin: 0 0 12px;
}

.mobile-nav__cats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav__cats ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-light-grey);
    font-size: 15px;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.15s;
}

.mobile-nav__cats ul li a svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.mobile-nav__cats ul li a:hover { color: var(--color-primary); }

/* Mobile close button (injected by JS) */
.mobile-nav__close {
    position: fixed;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-dark);
    z-index: 260;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   Responsive: tablet / mobile
   ============================================================ */

/* ── 1200px: compress nav links ── */
@media (max-width: 1200px) {
    .site-header__inner { gap: 14px; }
    .primary-nav__list li a { padding: 8px 10px; font-size: 13px; }
}

/* ── 1080px: drop icon-button text labels ── */
@media (max-width: 1080px) {
    .hdr-icon-btn__lbl { display: none; }
    .hdr-icon-btn { padding: 7px 8px; gap: 0; }
}

/* ── 960px: collapse nav to hamburger, keep search + icons ── */
@media (max-width: 960px) {
    /* Top bar: keep only the first promo item */
    .top-bar__promo .top-bar__promo-item:nth-child(n+2),
    .top-bar__promo .top-bar__sep { display: none; }

    /* Hide desktop nav, reveal hamburger */
    .site-header__center .primary-nav { display: none; }
    .nav-toggle { display: flex; }

    /* Compact search */
    .site-header__search { width: 240px; }

    /* Mobile nav: display:block so JS transform animation can fire */
    .mobile-nav { display: block; }
}

/* ── 768px: mobile — logo + icons + hamburger only ── */
@media (max-width: 768px) {
    .top-bar { display: none; }

    .site-header__inner {
        height: 60px;
        gap: 8px;
        padding: 0 16px;
    }

    /* Desktop inline search hidden — search icon in actions used instead */
    .site-header__search { display: none; }

    /* Reveal mobile search toggle */
    .hdr-search-toggle { display: flex; }

    /* Drop account icon on mobile */
    .hdr-icon-btn[aria-label="My Account"] { display: none; }

    .hdr-divider { display: none; }
    .hdr-icon-btn__lbl { display: none; }
    .cat-bar { display: none; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
    .site-header__inner {
        padding: 0 12px;
        gap: 6px;
    }

    .site-logo__img { height: 44px; }

    .top-bar { display: none; }
}

/* ============================================================
   Secondary button — Add to Cart */
.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    padding: 13px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Core Button block puts the className on the wrapping .wp-block-button div,
   not the link itself -- if only the div gets styled, WordPress core's own
   default button style (dark pill) still shows on the inner <a>, producing a
   button-in-a-button look. Style the actual link so it works everywhere this
   class is used, not just on templates that happen to load page-sections.css. */
.wp-block-button.btn-primary .wp-block-button__link {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}
.wp-block-button.btn-primary .wp-block-button__link:hover {
    background: #2a70b0;
}
.wp-block-button.btn-secondary .wp-block-button__link {
    background: transparent;
    color: var(--color-primary);
    padding: 13px 28px;
    border-radius: var(--btn-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--color-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
.wp-block-button.btn-secondary .wp-block-button__link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================================
   Site Footer
   ============================================================ */

.site-footer {
    background: var(--color-dark);
    color: #fff;
    padding: 48px 0 0;
    margin-top: auto;
}

.site-footer__inner {
    max-width: var(--container-width-wide);
    margin: 0 auto;
    padding: 0 24px;
}

/* brand col wider than the 3 nav cols */
.site-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 36px;
}

/* Brand column */
.site-footer__col--brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Logo + tagline stacked tightly */
.site-footer__brand-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-footer__brand-logo {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.site-footer__tagline {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.4);
}

.site-footer__about {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 260px;
}

/* Column heading */
.site-footer__col-heading {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin: 0 0 14px;
}

/* Nav menu links (reset WP defaults) */
.site-footer__links,
.site-footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__links li { margin-bottom: 0; }

.site-footer__links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.4;
    display: block;
    padding: 4px 0;
    transition: color 0.15s;
}

.site-footer__links a:hover { color: #fff; }

/* WP nav menu wraps items in <li class="menu-item"> */
.site-footer__links .menu-item a { color: rgba(255,255,255,0.7); }
.site-footer__links .menu-item a:hover { color: #fff; }

/* Contact list (in brand column) */
.site-footer__contact-list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

.site-footer__contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.5;
}

.site-footer__contact-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__contact-item a:hover { color: #fff; }

/* Social icons (in brand column) */
.site-footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-footer__social a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.site-footer__social a:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.07);
}

/* ===== Bottom bar ===== */
.site-footer__bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer__copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin: 0;
    line-height: 1.5;
}

/* Payment badges */
.pay-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    border-radius: 5px;
    overflow: hidden;
    font-family: var(--font-heading);
}

.pay-badge--visa {
    background: #1A1F71;
    font-style: italic;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.04em;
}

.pay-badge--mc {
    background: #252525;
}

.pay-badge--mc svg {
    width: 32px;
    height: 20px;
}

.pay-badge--amex {
    background: #2E77BC;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.12em;
}

.pay-badge--paypal {
    background: #fff;
    font-size: 10px;
    font-weight: 700;
}

.pay-badge__pp-dark { color: #003087; }
.pay-badge__pp-light { color: #009CDE; }

/* ===== Responsive ===== */

@media (max-width: 1024px) {
    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 0;
    }

    .site-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        padding-bottom: 32px;
    }

    .site-footer__about { max-width: 100%; }

    .site-footer__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 0 22px;
    }
}

@media (max-width: 480px) {
    .site-footer__cols {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hide-mobile { display: none; }

    .site-footer__social {
        gap: 8px;
    }
}

/* ── Global CTA button grow effect ───────────────────────────── */
.wp-block-button__link,
.btn-primary,
.gt-product-finder__btn {
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.45s ease,
                background-color 0.25s ease !important;
}

.wp-block-button__link:hover,
.btn-primary:hover,
.gt-product-finder__btn:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 8px 24px rgba(6, 31, 92, 0.18) !important;
}
/* ── Why Us Bento pattern ─────────────────────────────────────── */
.why-us-bento {
    align-items: stretch !important;
    gap: 16px !important;
}

/* Left column — stretch cover to match right column height */
.why-us-bento__left {
    display: flex !important;
    flex-direction: column;
}

.why-us-bento__left > .wp-block-cover {
    flex: 1;
}

/* Right column — flex column so video fills leftover space */
.why-us-bento__right-col {
    display: flex !important;
    flex-direction: column;
}

.why-us-bento__right {
    flex: 1;
    display: flex !important;
    flex-direction: column;
    gap: 16px !important;
}

.why-us-bento__right > .wp-block-columns {
    flex: 0 0 auto;
    margin-block: 0 !important;
    gap: 16px !important;
}

.why-us-bento__right > .wp-block-cover.why-us-bento__video {
    flex: 1;
    min-height: 180px;
}

/* Play button */
.why-us-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    margin: 0 auto;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.2s ease;
}

.why-us-play-btn:hover {
    transform: scale(1.14);
    background: #fff;
}

/* Responsive — stack on mobile */
@media (max-width: 781px) {
    .why-us-bento__right > .wp-block-columns {
        flex-wrap: wrap !important;
    }
}

/* ── Popular Categories + Finder ─────────────────────────────── */
.hp-popular {
    padding: 76px 24px 60px;
    background: #fff;
}

.hp-popular__in {
    max-width: var(--container-width, 1280px);
    margin: 0 auto;
}

.hp-popular__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.hp-popular__left {
    display: flex;
    flex-direction: column;
}

.hp-popular__eyebrow {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary, #3688CD);
    margin: 0 0 10px;
}

.hp-popular__heading {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--color-dark, #061F5C);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.hp-popular__lede {
    font-size: 15px;
    color: #5b6573;
    margin: 0 0 22px;
    max-width: 440px;
    line-height: 1.55;
}

/* ── Category cards grid ── */
.hp-popular__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    flex: 1;
    align-content: start;
}

.hp-popular-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.hp-popular-card:hover {
    box-shadow: 0 10px 30px rgba(6, 31, 92, 0.14);
    transform: translateY(-3px);
    border-color: #cfe0f0;
}

.hp-popular-card__img {
    aspect-ratio: 1.3;
    background: var(--color-off-white, #F5F7FA);
    overflow: hidden;
}

.hp-popular-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.hp-popular-card:hover .hp-popular-card__img img {
    transform: scale(1.06);
}

.hp-popular-card__img-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #c0ccd8;
}

.hp-popular-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hp-popular-card__name {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark, #061F5C);
    margin: 0;
}

.hp-popular-card__count {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: 11.5px;
    color: #8d8d8d;
}

/* ── Right panel — dark finder box ── */
.hp-popular__panel {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 12%, rgba(101, 200, 250, 0.42), transparent 55%),
        linear-gradient(160deg, #0a2a73, var(--color-dark, #061F5C) 72%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
    gap: 16px;
    color: #fff;
}

.hp-popular__panel-deco {
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 1.5px solid rgba(101, 200, 250, 0.18);
    box-shadow: 0 0 0 30px rgba(101, 200, 250, 0.05);
    pointer-events: none;
}

.hp-popular__panel-badge {
    align-self: flex-start;
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-dark, #061F5C);
    background: var(--color-light-blue, #65C8FA);
    padding: 6px 14px;
    border-radius: 30px;
}

.hp-popular__panel-heading {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.01em;
    color: #fff;
}

.hp-popular__panel-heading mark {
    background: none;
    color: var(--color-light-blue, #65C8FA);
}

.hp-popular__panel-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 0;
}

/* Product finder overrides — compact inside the panel */
.hp-popular__panel .gt-product-finder--on-dark {
    padding: 24px 28px;
    max-width: none;
    border-radius: 18px;
}

.hp-popular__panel .gt-product-finder__prefix,
.hp-popular__panel .gt-product-finder__mid {
    font-size: clamp(15px, 1.8vw, 20px);
}

.hp-popular__panel .gt-product-finder__trigger {
    font-size: clamp(15px, 1.8vw, 20px);
}

.hp-popular__panel .gt-product-finder__btn {
    margin-top: 16px;
    padding: 13px 36px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .hp-popular__grid {
        grid-template-columns: 1fr;
    }

    .hp-popular__panel {
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .hp-popular__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-popular {
        padding: 48px 16px 40px;
    }
}
