/* ============================================================================
   nwca-2026.css — NWCA 2026 design system: HOMEPAGE layer
   ----------------------------------------------------------------------------
   REQUIRES nwca-2026-core.css loaded FIRST (tokens/base, buttons/chips,
   masthead + mega-nav, drawer, footer, interior-page primitives live there).
   This file is index.html-only: hero, homepage bands, catalog results layer
   (search machinery), and the quick-view/compare modals.

   LAYERS in this file:
     1. Hero + trust band      3. Catalog results layer (search machinery)
     2. Homepage bands         4. Modals (quick view / compare)
        (services/shelf/          5. Reveal animation + responsive
         categories/how)
   ========================================================================== */

/* ── 1. Hero ─────────────────────────────────────────────────────── */
.hero-section { overflow: hidden; }
.hero-section.hidden { display: none; }

.hero-grid {
    max-width: var(--wrap); margin: 0 auto;
    padding: 46px 20px 20px;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 30px; align-items: center;
}
.hero-eyebrow {
    display: flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 700; color: var(--rush-deep);
    letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 14px;
}
.hero-copy h1 {
    font-size: clamp(33px, 4.8vw, 56px); font-weight: 800; line-height: 1.04;
    letter-spacing: -0.018em; margin-bottom: 16px;
}
.hero-underline {
    /* color emphasis, not an underline — the old bottom-wash band read as a
       spell-check squiggle at headline size (Erik, 2026-06-11) */
    color: var(--rush-deep);
}
.hero-sub { font-size: 17px; color: var(--ink-soft); max-width: 52ch; margin-bottom: 22px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust {
    list-style: none; display: flex; gap: 7px 20px; flex-wrap: wrap;
    margin: 20px 0 0; padding: 0; font-size: 13px; color: var(--ink-faint); font-weight: 600;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--green-700); flex: none; }
.hero-trust .is-rush svg { color: var(--rush); }

.hero-stage { position: relative; min-height: 300px; }
.hero-shirt { margin: 0; position: relative; display: grid; place-items: center; }
.hero-shirt img {
    grid-area: 1 / 1; /* all rotator frames stack in one cell — no layout shift */
    width: 100%; max-height: 470px; object-fit: contain;
    filter: drop-shadow(0 24px 34px rgba(24, 34, 25, 0.24));
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.9s ease;
}
.hero-shirt img.is-active { opacity: 1; }
/* dashed print-registration corners behind the shirt */
.hero-shirt::before {
    content: ""; position: absolute; inset: 6% 10%;
    border: 1.6px dashed var(--line-strong); border-radius: 18px;
    z-index: -1;
}
.hero-sticker {
    position: absolute; top: 4%; right: 6%;
    background: var(--rush); color: #fff; text-align: center;
    font-family: var(--font-display); font-weight: 800;
    font-size: 17px; line-height: 1.05; letter-spacing: 0.02em;
    padding: 13px 15px; border-radius: 999px; transform: rotate(7deg);
    box-shadow: 0 10px 22px -8px rgba(194, 65, 12, 0.6);
}
.hero-sticker em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.92; }

/* Secondary duo: golf concierge + hats teaser */
.hero-duo {
    max-width: var(--wrap); margin: 0 auto;
    padding: 14px 20px 42px;
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 18px;
}
.duo-golf {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 240px; border-radius: var(--radius); overflow: hidden;
    color: #fff; text-decoration: none;
    background: var(--green-950);
    box-shadow: var(--shadow-card);
}
.duo-golf-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.duo-golf::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(12deg, rgba(18, 43, 24, 0.92) 18%, rgba(18, 43, 24, 0.25) 70%);
}
.duo-golf-body { position: relative; z-index: 1; padding: 22px 24px 20px; }
.duo-badge {
    display: inline-block; background: rgba(255, 255, 255, 0.16);
    border: 1px dashed rgba(255, 255, 255, 0.55); border-radius: 999px;
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 4px 11px; margin-bottom: 10px;
}
.duo-golf h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; margin-bottom: 6px; }
.duo-golf p { font-size: 13.5px; opacity: 0.92; max-width: 52ch; margin-bottom: 12px; }
.duo-golf-cta { font-weight: 800; font-family: var(--font-display); font-size: 15px; color: #fff; }
.duo-golf:hover .duo-golf-cta { text-decoration: underline; }
.duo-golf:hover .duo-golf-img { opacity: 0.65; }

.duo-hats {
    border: 1.6px dashed var(--line-strong); border-radius: var(--radius);
    background: var(--card); padding: 22px 24px 20px;
    display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
    position: relative; min-height: 240px;
    /* now a live link to /custom-caps (store launched 2026-06-11) */
    text-decoration: none; color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.duo-hats:hover { border-color: var(--green-700); box-shadow: var(--shadow-card); }
.duo-hats-icon { color: var(--green-700); margin-bottom: auto; }
.duo-hats .duo-badge { align-self: flex-start; background: var(--rush-soft); border-color: var(--rush); color: var(--rush-deep); }
.duo-hats h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.duo-hats p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 10px; }
.duo-hats-cta { font-weight: 800; font-family: var(--font-display); font-size: 15px; color: var(--green-700); }
.duo-hats:hover .duo-hats-cta { text-decoration: underline; }

/* Trust band */
.trust-strip { background: linear-gradient(100deg, var(--green-950), var(--green-900)); color: #fff; }
.trust-strip ul {
    list-style: none; margin: 0 auto; padding: 14px 20px;
    max-width: var(--wrap);
    display: flex; align-items: center; justify-content: space-between; gap: 10px 26px; flex-wrap: wrap;
}
.trust-strip li {
    display: inline-flex; align-items: baseline; gap: 8px;
    font-size: 13px; font-weight: 600; color: #d8e8d8;
}
.trust-strip strong { font-family: var(--font-display); font-size: 16px; color: #fff; letter-spacing: 0.01em; }

/* ── 2. Homepage bands ───────────────────────────────────────────── */
/* Section headers (homepage bands) */
.band-head { margin-bottom: 22px; }
.band-eyebrow {
    font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--green-700); margin: 0 0 6px;
}
.band-head h2 {
    font-size: clamp(24px, 3.2vw, 34px); font-weight: 800;
    letter-spacing: -0.01em; line-height: 1.1;
}
.band-sub { color: var(--ink-soft); font-size: 15px; max-width: 60ch; margin: 8px 0 0; }
.band-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.band-more { font-weight: 700; color: var(--green-700); text-decoration: none; white-space: nowrap; padding: 10px 0; }
.band-more:hover { color: var(--green-900); text-decoration: underline; }

.band { padding: 46px 0 50px; }
.band + .band { border-top: 1px solid var(--line); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
    position: relative; display: flex; flex-direction: column; gap: 7px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 20px 20px 18px;
    color: var(--ink); text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--green-700); box-shadow: var(--shadow-pop); }
.svc-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--green-50); color: var(--green-700);
    display: grid; place-items: center; margin-bottom: 6px;
}
.svc-card--lead .svc-icon { background: var(--rush-soft); color: var(--rush-deep); }
.svc-flag { position: absolute; top: 16px; right: 16px; }
.svc-card h3 { font-size: 17.5px; font-weight: 800; }
.svc-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; flex: 1 1 auto; }
.svc-cta { font-weight: 700; font-size: 13.5px; color: var(--green-700); margin-top: 8px; }
.svc-card:hover .svc-cta { color: var(--green-900); text-decoration: underline; }

/* Best sellers shelf */
.shelf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shelf-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.shelf-card:hover { transform: translateY(-3px); border-color: var(--green-700); box-shadow: var(--shadow-pop); }
.shelf-photo {
    background: var(--paper-deep); height: 230px;
    display: grid; place-items: center;
    border-bottom: 1px dashed var(--line-strong); padding: 14px;
}
.shelf-photo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.shelf-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.shelf-brand { height: 20px; display: flex; align-items: center; }
.shelf-brand img { max-height: 18px; width: auto; max-width: 120px; }
.shelf-style { font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em; color: var(--green-700); text-transform: uppercase; margin-top: 6px; }
.shelf-name { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; line-height: 1.25; }
.shelf-desc { font-size: 13px; color: var(--ink-soft); margin: 3px 0 0; flex: 1; }
.shelf-link {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 11px;
    font-weight: 700; font-size: 13.5px; color: var(--green-700); text-decoration: none;
    min-height: 24px;
}
.shelf-card:hover .shelf-link { color: var(--green-900); text-decoration: underline; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-tile {
    position: relative; display: flex; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 18px; min-height: 76px;
    color: var(--ink); text-decoration: none;
    transition: transform 0.12s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.cat-tile:hover { transform: translateY(-2px); border-color: var(--green-700); box-shadow: var(--shadow-card); }
.cat-num {
    font-family: var(--font-display); font-weight: 800; font-size: 17px;
    color: transparent; -webkit-text-stroke: 1.3px var(--green-700);
    border: 1.4px dashed var(--line-strong); border-radius: 9px;
    width: 40px; height: 40px; display: grid; place-items: center; flex: none;
}
.cat-tile:hover .cat-num { border-color: var(--green-700); }
.cat-tile-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.2; }
.cat-tile-go { margin-left: auto; color: var(--line-strong); font-size: 19px; font-weight: 700; transition: color 0.15s ease, transform 0.15s ease; }
.cat-tile:hover .cat-tile-go { color: var(--green-700); transform: translateX(3px); }
.cat-all { justify-content: center; border-style: dashed; border-width: 1.6px; border-color: var(--line-strong); background: transparent; font-weight: 700; color: var(--ink-soft); }
.cat-all:hover { color: var(--green-900); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-step {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 22px 22px 20px;
}
.how-num {
    font-family: var(--font-display); font-weight: 800; font-size: 26px;
    color: transparent; -webkit-text-stroke: 1.6px var(--green-700);
    border: 1.6px dashed var(--line-strong); border-radius: 10px;
    width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 12px;
}
.how-step h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.how-step p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.how-call {
    margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--ink-soft);
}
.how-call a { color: var(--green-900); font-weight: 800; text-decoration: none; font-family: var(--font-display); }
.how-call a:hover { text-decoration: underline; }

/* ── 3. Catalog results layer ────────────────────────────────────── */
/* Filter bar (markup in index.html, driven by catalog-search.js) */
.filters-bar-container { max-width: var(--wrap); margin: 18px auto 0; padding: 0 20px; }
.filters-bar {
    position: relative;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 12px 16px;
}
.filters-bar-top-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filters-label { font-weight: 800; font-family: var(--font-display); font-size: 14px; }
.filter-controls { position: relative; }
.filter-dropdown-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 999px;
    padding: 9px 16px; min-height: 40px; font-weight: 700; font-size: 13.5px; color: var(--ink-soft);
}
.filter-dropdown-btn:hover, .filter-dropdown-btn.active { border-color: var(--green-700); color: var(--green-900); }
.filter-count {
    background: var(--green-900); color: #fff; border-radius: 999px;
    font-size: 11px; font-weight: 800; padding: 1px 7px;
}
.filter-dropdown-panel {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 80;
    width: 290px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-pop);
}
.filter-dropdown-panel.show { display: block; }
.filter-panel-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px 10px; border-bottom: 1px dashed var(--line-strong);
}
.filter-panel-header h4 { font-size: 14px; font-weight: 800; margin: 0; }
.filter-panel-close { background: none; border: none; font-size: 20px; color: var(--ink-faint); width: 32px; height: 32px; }
.filter-panel-close:hover { color: var(--ink); }
.filter-panel-search { padding: 10px 14px 4px; }
.filter-panel-search input {
    width: 100%; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
    padding: 9px 12px; min-height: 40px;
}
.filter-panel-search input:focus { outline: none; border-color: var(--green-700); }
.filter-panel-options { max-height: 260px; overflow-y: auto; padding: 8px 8px; }
.filter-panel-options .filter-option {
    display: flex; align-items: center; gap: 9px;
    padding: 8px 10px; border-radius: var(--radius-sm); font-size: 13.5px;
}
.filter-panel-options .filter-option:hover { background: var(--green-50); }
.filter-panel-options .filter-option input { accent-color: var(--green-700); width: 16px; height: 16px; }
.filter-panel-footer { padding: 10px 14px 14px; border-top: 1px dashed var(--line-strong); }
.btn-apply-filter {
    width: 100%; background: var(--green-900); color: #fff; border: none;
    border-radius: var(--radius-sm); font-weight: 700; padding: 10px; min-height: 42px;
}
.btn-apply-filter:hover { background: var(--green-700); }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.active-filters:empty { display: none; }
.filter-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--green-50); border: 1px solid var(--green-100); border-radius: 999px;
    color: var(--green-900); font-size: 12.5px; font-weight: 700; padding: 5px 6px 5px 12px;
}
.filter-chip-remove {
    background: none; border: none; color: var(--green-700); font-size: 15px;
    width: 24px; height: 24px; border-radius: 50%; line-height: 1; padding: 0;
}
.filter-chip-remove:hover { background: var(--green-100); color: var(--green-950); }
.clear-all-filters-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none; color: var(--rush-deep); font-weight: 700; font-size: 13px;
    padding: 8px 10px; margin-top: 4px;
}
.clear-all-filters-btn:hover { text-decoration: underline; }

/* Results */
.results-section { max-width: var(--wrap); margin: 0 auto; padding: 22px 20px 60px; }
.results-header {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-strong);
}
.results-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin: 0; }
/* ink-soft (not ink-faint) on the four informational texts below — 3.9:1
   fails AA for meaningful small text (AA contrast fix 2026-06-11) */
.breadcrumb-text { font-family: var(--font-body); font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-left: 8px; }
.results-count { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.sort-dropdown { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.sort-select, #sortSelect {
    border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
    background: var(--card); padding: 8px 10px; min-height: 40px; font-size: 13.5px; color: var(--ink);
}
.sort-select:focus, #sortSelect:focus { outline: none; border-color: var(--green-700); }

.results-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 16px;
}

/* Product cards (markup from catalog-search.js buildProductCard) */
.results-grid .product-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); overflow: hidden;
    transition: transform 0.12s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.results-grid .product-card:hover {
    transform: translateY(-3px); border-color: var(--green-700); box-shadow: var(--shadow-pop);
}
.results-grid .product-image-container { background: var(--paper-deep); border-bottom: 1px dashed var(--line-strong); }
.results-grid .product-image img {
    width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
}
.top-seller-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: var(--rush-deep); color: #fff;
    font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
    padding: 4px 8px; border-radius: 5px;
}
.btn-quick-view {
    position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--green-950); color: #fff; border: none; border-radius: 999px;
    font-size: 12.5px; font-weight: 700; padding: 9px 16px; min-height: 38px;
    opacity: 0; transition: opacity 0.15s ease; white-space: nowrap; z-index: 2;
}
.results-grid .product-card:hover .btn-quick-view,
.btn-quick-view:focus-visible { opacity: 1; }
.btn-quick-view:hover { background: var(--green-700); }
.results-grid .product-info { padding: 13px 15px 6px; }
.results-grid .product-style {
    font-size: 11.5px; font-weight: 800; letter-spacing: 0.07em;
    color: var(--green-700); text-transform: uppercase; margin-bottom: 3px;
}
.product-title { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.product-colors-count { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }
.results-grid .product-price { font-weight: 800; color: var(--ink); margin: 7px 0 0; font-size: 15.5px; }
.results-grid .product-price .as-low-as { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.product-actions { padding: 8px 15px 14px; }
.btn-compare {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 1.5px solid var(--line-strong); border-radius: 999px;
    font-size: 12.5px; font-weight: 700; color: var(--ink-soft);
    padding: 7px 14px; min-height: 36px;
}
.btn-compare:hover { border-color: var(--green-700); color: var(--green-900); }
.btn-compare.active { background: var(--green-50); border-color: var(--green-700); color: var(--green-900); }

/* Notices, loading, errors */
.search-notice, .smart-filters-notice {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: var(--green-50); border: 1px dashed var(--green-700);
    border-radius: var(--radius-sm); color: var(--green-900);
    font-size: 13.5px; font-weight: 600; padding: 10px 14px;
}
.smart-filter-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.smart-filter-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--card); border: 1px solid var(--green-100); border-radius: 999px;
    font-size: 12.5px; padding: 4px 6px 4px 10px;
}
.badge-remove { background: none; border: none; color: var(--green-700); font-size: 14px; width: 22px; height: 22px; padding: 0; }
.badge-remove:hover { color: var(--green-950); }

.loading, .loading-more-indicator {
    grid-column: 1 / -1; text-align: center; color: var(--ink-faint);
    padding: 40px 0; font-weight: 600;
}
/* .brands-loading .spinner half of this rule moved to core (brands flyout
   ships on every page) */
.loading-more-indicator .spinner {
    width: 30px; height: 30px; margin: 0 auto 10px;
    border: 3px solid var(--line); border-top-color: var(--green-700);
    border-radius: 50%; animation: spin 1s linear infinite;
}
.no-results { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--ink-soft); }
.no-results-icon { font-size: 38px; margin-bottom: 8px; }
.no-results h3 { font-size: 20px; margin-bottom: 6px; }
.btn-show-all {
    margin-top: 12px; background: var(--green-900); color: #fff; border: none;
    border-radius: var(--radius-sm); font-weight: 700; padding: 11px 18px; min-height: 44px;
}
.btn-show-all:hover { background: var(--green-700); }
.error-message { grid-column: 1 / -1; text-align: center; padding: 40px 16px; color: var(--bad); font-weight: 600; }
.error-icon { font-size: 30px; margin-bottom: 6px; }

.load-more-container { text-align: center; padding: 26px 0 6px; }
.load-more-btn {
    background: var(--card); color: var(--green-900);
    border: 1.5px solid var(--green-700); border-radius: 999px;
    font-weight: 800; font-family: var(--font-display); font-size: 15px;
    padding: 13px 28px; min-height: 48px;
}
.load-more-btn:hover { background: var(--green-50); }
.load-more-count { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; color: var(--ink-soft); margin-left: 8px; }

/* ── 4. Modals: quick view + compare ─────────────────────────────── */
/* .modal-close (+ :hover) moved to core layer 7j — both modals consume it */
.quick-view-modal, .compare-modal {
    position: fixed; inset: 0; z-index: 260;
    background: rgba(18, 34, 22, 0.6);
    display: grid; place-items: center; padding: 18px;
}
.quick-view-content, .compare-modal-content {
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow-pop);
    width: min(940px, 96vw); max-height: 90vh; overflow-y: auto;
}
.quick-view-header, .compare-modal-header {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--card); border-bottom: 1px dashed var(--line-strong);
    padding: 14px 20px;
}
.quick-view-header h2, .compare-modal-header h2 { font-size: 18px; font-weight: 800; }
.quick-view-body { display: grid; grid-template-columns: 5fr 6fr; gap: 24px; padding: 20px; }
.quick-view-images img { width: 100%; object-fit: contain; background: var(--paper-deep); border-radius: var(--radius-sm); mix-blend-mode: multiply; }
.quick-view-style { font-size: 14px; font-weight: 800; letter-spacing: 0.07em; color: var(--green-700); text-transform: uppercase; margin: 0 0 2px; }
.quick-view-title { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.quick-view-price { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.quick-view-section { margin-bottom: 14px; }
.quick-view-section h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 6px; }
.selected-color { color: var(--green-700); }
.size-list { font-size: 13.5px; color: var(--ink-soft); }
.product-description { font-size: 13.5px; color: var(--ink-soft); }
.color-swatches { display: flex; gap: 7px; flex-wrap: wrap; }
.color-swatches .color-swatch {
    width: 34px; height: 34px; border-radius: 50%; overflow: hidden; cursor: pointer;
    border: 2px solid var(--line-strong); padding: 0;
}
.color-swatches .color-swatch img, .color-swatch-fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.color-swatches .color-swatch:hover { border-color: var(--green-600); transform: scale(1.08); }
.color-swatches .color-swatch.selected { border-color: var(--green-900); box-shadow: 0 0 0 2px var(--green-100); }
.quick-view-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.btn-add-compare {
    background: none; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
    font-weight: 700; padding: 11px 16px; min-height: 44px; color: var(--ink-soft);
}
.btn-add-compare:hover, .btn-add-compare.active { border-color: var(--green-700); color: var(--green-900); }
.btn-full-details {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--green-900); color: #fff; border-radius: var(--radius-sm);
    font-weight: 700; padding: 11px 18px; min-height: 44px; text-decoration: none;
}
.btn-full-details:hover { background: var(--green-700); }

/* Richardson cap pricing block inside quick view */
.quick-view-pricing { margin-top: 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; }
.pricing-header { font-size: 14px; font-weight: 800; }
.pricing-subtitle { font-size: 12px; color: var(--ink-faint); margin: 2px 0 8px; }
.ltm-notice { font-size: 12px; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: 6px 9px; margin-bottom: 8px; }
.quick-view-pricing-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.quick-view-pricing-table th, .quick-view-pricing-table td { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; }
.quick-view-pricing-table .price-cell { font-weight: 700; }
.quick-view-pricing-table .highlight { color: var(--green-700); }
.pricing-calculator-link { display: inline-block; margin-top: 9px; font-weight: 700; color: var(--green-700); }

/* Compare bar + modal */
.compare-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 220;
    background: var(--green-950); color: #fff;
    box-shadow: 0 -8px 30px rgba(18, 43, 24, 0.35);
}
.compare-bar-content {
    max-width: var(--wrap); margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.compare-count { font-family: var(--font-display); font-weight: 800; }
.compare-items { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.compare-item {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255, 255, 255, 0.12); border-radius: 999px;
    font-size: 12.5px; font-weight: 700; padding: 5px 7px 5px 12px;
}
.remove-compare { background: none; border: none; color: #cfe0cf; font-size: 14px; width: 22px; height: 22px; padding: 0; }
.remove-compare:hover { color: #fff; }
.compare-actions { display: flex; gap: 10px; }
/* rush-deep (not rush) ground: white small text on --rush is 3.58:1 — fails AA
   (AA contrast fix 2026-06-11, same edge as .btn-cta) */
.btn-view-compare {
    background: var(--rush-deep); color: #fff; border: none; border-radius: var(--radius-sm);
    font-weight: 700; padding: 10px 18px; min-height: 42px;
}
.btn-view-compare:hover { background: var(--rush-deeper); }
.btn-clear-compare {
    background: none; color: #cfe0cf; border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-sm); font-weight: 700; padding: 10px 14px; min-height: 42px;
}
.btn-clear-compare:hover { border-color: #fff; color: #fff; }
.compare-modal-body { padding: 18px 20px; }
.compare-loading { text-align: center; color: var(--ink-faint); padding: 30px 0; }
.compare-table { display: grid; gap: 0; overflow-x: auto; }
.compare-row { display: grid; grid-template-columns: 130px repeat(auto-fit, minmax(150px, 1fr)); border-bottom: 1px solid var(--line); }
.compare-row.compare-header { font-weight: 800; }
.compare-cell { padding: 10px 12px; font-size: 13.5px; }
.compare-cell img { max-width: 110px; mix-blend-mode: multiply; background: var(--paper-deep); border-radius: 6px; }
.compare-label { font-weight: 800; color: var(--ink-soft); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-product-title { font-weight: 700; }
.compare-product-style { font-size: 12px; color: var(--green-700); font-weight: 700; }
.btn-view-details, .btn-remove-from-compare {
    display: block; width: 100%; margin-bottom: 6px;
    border-radius: var(--radius-sm); font-weight: 700; font-size: 12.5px;
    padding: 8px 10px; min-height: 38px;
}
.btn-view-details { background: var(--green-900); color: #fff; border: none; }
.btn-view-details:hover { background: var(--green-700); }
.btn-remove-from-compare { background: none; border: 1.5px solid var(--line-strong); color: var(--ink-soft); }
.btn-remove-from-compare:hover { border-color: var(--bad); color: var(--bad); }

/* ── 5. Reveal animation (page load) ─────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise 0.5s ease backwards; }
    .hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
    .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
    .hero-copy > *:nth-child(4) { animation-delay: 0.21s; }
    .hero-copy > *:nth-child(5) { animation-delay: 0.28s; }
    .hero-stage { animation: rise 0.6s 0.12s ease backwards; }
    .hero-duo > * { animation: rise 0.55s 0.25s ease backwards; }
    .hero-duo > *:nth-child(2) { animation-delay: 0.33s; }
    @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
}

/* ── Responsive (homepage layers; core handles nav/util/footer) ──── */
@media (max-width: 1100px) {
    .svc-grid, .shelf-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; padding: 26px 18px 6px; gap: 14px; }
    .hero-stage { order: -1; min-height: 0; }
    .hero-shirt img { max-height: 250px; }
    .hero-sticker { font-size: 14px; padding: 10px 12px; top: 0; right: 2%; }
    .hero-duo { grid-template-columns: 1fr; padding-bottom: 30px; }
    .duo-golf, .duo-hats { min-height: 0; }
    .duo-hats { padding-top: 18px; }
    .duo-hats-icon { display: none; }
    .trust-strip ul { justify-content: flex-start; gap: 8px 22px; padding: 12px 18px; }

    .quick-view-body { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .band { padding: 36px 0 40px; }
    .svc-grid, .shelf-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-tile { padding: 13px 14px; gap: 10px; min-height: 64px; min-width: 0; }
    .cat-num { width: 34px; height: 34px; font-size: 14px; }
    .cat-tile-name { font-size: 14px; min-width: 0; overflow-wrap: break-word; }
    .how-grid { grid-template-columns: 1fr; }
    .hero-ctas .btn { flex: 1 1 auto; }
    .hero-trust { gap: 6px 14px; }
    .trust-strip strong { font-size: 14.5px; }
    .results-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
    .results-section { padding: 16px 14px 50px; }
    .filters-bar-container { padding: 0 14px; }
    .compare-bar-content { padding: 10px 14px; }
}
