/* ============================================
   SupplementPrices.co.nz - Main Stylesheet
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:        #1DB954;
    --green-dark:   #17a349;
    --green-light:  rgba(29,185,84,0.1);
    --orange:       #FF6B35;
    --orange-light: rgba(255,107,53,0.1);
    --dark:         #1e293b;
    --dark2:        #1a2332;
    --white:        #ffffff;
    --bg:           #f8f9fa;
    --card:         #ffffff;
    --border:       rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
    --text:         #111827;
    --text-muted:   #6b7280;
    --text-light:   #9ca3af;
    --radius-sm:    6px;
    --radius-md:    10px;
    --radius-lg:    14px;
    --shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:    0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
    --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition:   0.15s ease;
    --container:    1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-green { background: linear-gradient(135deg, #1DB954, #17a349); color: #fff; border-color: var(--green); }
.btn-green:hover { opacity: 0.9; border-color: var(--green-dark); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-hover); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); }

/* ---- SITE HEADER ---- */
.site-header {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a2840 60%, #0d1a2b 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.site-header::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #FF6B35, #ff9a1a, #1DB954, #FF6B35);
    background-size: 200% 100%;
    animation: headerBorder 4s linear infinite;
}
@keyframes headerBorder {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.header-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Logo */
.site-logo {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.3px;
    text-decoration: none;
}
.site-logo span { color: var(--green); }
.site-logo .logo-tld { color: rgba(255,255,255,0.4); font-size: 14px; font-weight: 400; }

/* Header Search */
.header-search-wrap {
    flex: 1;
    max-width: 540px;
    margin-left: auto;
    position: relative;
}
.header-search { width: 100%; }
.search-inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    overflow: hidden;
}
.search-inner:focus-within {
    border-color: var(--green);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(29,185,84,0.15);
}
.search-icon {
    margin-left: 14px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.header-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 12px;
    font-family: var(--font);
    font-size: 14px;
    color: #fff;
    outline: none;
}
.header-search input::placeholder { color: rgba(255,255,255,0.35); }
.search-btn {
    background: linear-gradient(135deg, #FF6B35, #ff9a1a);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--transition);
    flex-shrink: 0;
}
.search-btn:hover { opacity: 0.88; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(255,255,255,0.14); }
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -5px; }
.hamburger::after  { top:  5px; }
/* Open state — becomes X */
.nav-toggle.is-open .hamburger { background: transparent; }
.nav-toggle.is-open .hamburger::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .hamburger::after  { transform: translateY(-5px) rotate(-45deg); }

/* Mobile nav search bar — hidden on desktop */
.mobile-nav-search { display: none; }

/* Header Actions */
.header-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Nav */
.header-nav { overflow: visible; background: var(--dark); }
.nav-scroll { overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-list {
    display: flex;
    gap: 2px;
    padding: 8px 0;
    overflow: visible;
    width: max-content;
    min-width: 100%;
}
.nav-link {
    display: block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--green); background: rgba(29,185,84,0.1); }
.nav-link--deals { color: #FF6B35; font-weight: 600; margin-left: 12px; }
.nav-link--deals:hover { color: #FF6B35; background: rgba(255,107,53,0.12); }

/* Nav dropdown (subcategories) */
.nav-item { position: relative; list-style: none; }
.nav-arrow { font-size: 9px; margin-left: 3px; opacity: 0.5; display: inline-block; transition: transform 0.2s; vertical-align: middle; }
.nav-item.nav-item--open > .nav-link .nav-arrow { transform: rotate(180deg); }
.nav-dropdown {
    display: none;
    position: fixed;
    min-width: 200px;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 9999;
    padding: 6px 0;
    list-style: none;
    margin: 0;
}
.nav-item--open > .nav-dropdown { display: block; }
.nav-dropdown-link {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-dropdown-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Subcategory tiles (category page) */
.subcat-section { padding: 0 0 20px; }
.subcat-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.subcat-card {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    transition: all var(--transition);
}
.subcat-card:hover { border-color: var(--green); color: var(--green); background: rgba(29,185,84,0.04); }
.subcat-card-icon { font-size: 16px; line-height: 1; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a2840 40%, #0d1a2b 100%);
    padding: 56px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 30%;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(29,185,84,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: 20%;
    width: 400px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(255,107,53,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,107,53,0.12);
    color: #FF6B35;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,107,53,0.3);
}
.hero h1 {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-sub {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 36px;
}
.hero-search-wrap {
    max-width: 580px;
    margin: 0 auto 28px;
}
.hero-search {
    display: flex;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0 0 4px rgba(29,185,84,0.2), 0 8px 32px rgba(0,0,0,0.3);
}
.hero-search input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--text);
    outline: none;
}
.hero-search input::placeholder { color: var(--text-light); }
.hero-search button {
    background: linear-gradient(135deg, #FF6B35, #ff9a1a);
    color: #fff;
    border: none;
    padding: 16px 28px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--transition);
}
.hero-search button:hover { opacity: 0.88; }

.hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
}
.hero-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}
.hero-stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---- MAIN CONTENT ---- */
.main-content { padding: 40px 0; }

/* ---- SECTION ---- */
.section { margin-bottom: 48px; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.section-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #FF6B35, #1DB954);
    border-radius: 2px;
    flex-shrink: 0;
}
.section-link {
    font-size: 13px;
    color: var(--green);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.section-link:hover { color: var(--green-dark); }

/* ---- CATEGORY GRID ---- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.category-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.category-card:hover {
    border-color: var(--cat-accent, var(--green));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.category-card.featured { border-color: rgba(29,185,84,0.35); }
.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}
.category-card:hover::after { transform: scaleX(1); }
.cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--green);
    background: var(--green-light);
    padding: 3px 7px;
    border-radius: 4px;
}
.cat-icon { font-size: 32px; margin-bottom: 12px; display: block; line-height: 1; }
.cat-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* Category card: main link + subcategory quick links */
.category-card { display: flex; flex-direction: column; cursor: default; }

/* Per-card accent colours via CSS custom property */
.category-card { --cat-accent: var(--green); }
.category-card:nth-child(1) { --cat-accent: #1db954; border-color: rgba(29,185,84,0.3);  background: linear-gradient(135deg, rgba(29,185,84,0.06) 0%, var(--card) 60%); }
.category-card:nth-child(2) { --cat-accent: #f59e0b; border-color: rgba(245,158,11,0.3); background: linear-gradient(135deg, rgba(245,158,11,0.07) 0%, var(--card) 60%); }
.category-card:nth-child(3) { --cat-accent: #3b82f6; border-color: rgba(59,130,246,0.3); background: linear-gradient(135deg, rgba(59,130,246,0.07) 0%, var(--card) 60%); }
.category-card:nth-child(4) { --cat-accent: #ec4899; border-color: rgba(236,72,153,0.3); background: linear-gradient(135deg, rgba(236,72,153,0.07) 0%, var(--card) 60%); }
.category-card::after { background: var(--cat-accent); }
.cat-main-link:hover .cat-name { color: var(--cat-accent); }
.cat-sublink:hover { color: var(--cat-accent); border-color: var(--cat-accent); background: rgba(0,0,0,0.04); }

/* ---- FAQ SECTION (homepage) ---- */
.faq-section {
    padding: 56px 0 64px;
    background: #fff;
    margin-top: 32px;
    border-top: 1px solid var(--border);
}
.faq-section h2 { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -0.3px; }
.faq-section .faq-intro { font-size: 14px; color: var(--text-muted); margin-bottom: 32px; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}
.faq-item-home {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item-home:hover { border-color: var(--border-hover); }
.faq-q-home {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}
.faq-q-home:hover { color: var(--green); }
.faq-q-home[aria-expanded="true"] { color: var(--green); }
.faq-chevron { font-size: 11px; color: var(--text-light); flex-shrink: 0; transition: transform 0.2s; }
.faq-q-home[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--green); }
.faq-a-home {
    display: none;
    padding: 0 18px 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.faq-a-home.is-open { display: block; }
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---- DEALS HERO WRAP (above-fold strip) ---- */
.deals-hero-wrap {
    background: #fff;
    padding: 20px 0 26px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.deals-hero-wrap::after {
    content: none;
}
.deals-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.deals-hero-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.2px;
    text-shadow: none;
}
.deals-hero-link {
    font-size: 13px;
    font-weight: 500;
    color: #FF6B35;
    text-decoration: none;
    opacity: 0.9;
}
.deals-hero-link:hover { opacity: 1; }

/* ---- DEAL CARDS GRID ---- */
.deal-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.deal-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    transition: all var(--transition);
    overflow: hidden;
}
.deal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.deal-card:hover {
    border-color: #FF6B35;
    box-shadow: 0 6px 24px rgba(255,107,53,0.18);
    transform: translateY(-2px);
}
.deal-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FF6B35, #ff9a1a);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 9px;
    border-radius: 5px;
    line-height: 1;
}
.deal-card-icon {
    width: 72px;
    height: 72px;
    background: #f8f9fa;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    overflow: hidden;
}
.deal-card-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.deal-card-body { flex: 1; }
.deal-card-brand {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.deal-card-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 8px;
}
.deal-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.deal-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
}
.deal-card-rrp {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}
.deal-card-cta {
    font-size: 12px;
    font-weight: 600;
    color: #FF6B35;
    align-self: flex-end;
    margin-top: auto;
}

/* Dark deal cards (inside deals-hero-wrap) */
.deals-hero-wrap .deal-card {
    background: var(--card);
    border-color: var(--border);
    backdrop-filter: none;
}
.deals-hero-wrap .deal-card::before {
    background: linear-gradient(135deg, rgba(255,107,53,0.06) 0%, transparent 60%);
}
.deals-hero-wrap .deal-card:hover {
    background: var(--card);
    border-color: #FF6B35;
    box-shadow: 0 6px 24px rgba(255,107,53,0.18);
}
.deals-hero-wrap .deal-card-brand { color: var(--text-muted); }
.deals-hero-wrap .deal-card-name  { color: var(--text); }
.deals-hero-wrap .deal-card-rrp   { color: var(--text-light); }
.deals-hero-wrap .deal-card-price { color: var(--green); }
.deals-hero-wrap .deal-card-cta   { color: #FF6B35; }
.deals-hero-wrap .deal-card-icon  { background: #f8f9fa; }
.deals-hero-wrap .deal-card-badge { background: linear-gradient(135deg, #FF6B35, #ff9a1a); color: #fff; border: none; }

/* ---- COMPACT HERO ---- */
.hero-compact {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a2840 60%, #0d1a2b 100%);
    padding: 28px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-compact-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-compact-text {
    flex: 1;
    min-width: 0;
}
.hero-compact-tagline {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--green);
    margin-bottom: 8px;
}
.hero-compact-heading {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin: 0;
}
.hero-compact-heading em {
    font-style: normal;
    color: var(--green);
}
.hero-compact-search-col {
    flex: 0 0 440px;
    max-width: 440px;
}
.hero-compact .hero-search {
    display: flex;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    margin-bottom: 10px;
}
.hero-compact .hero-search:focus-within {
    border-color: var(--green);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(29,185,84,0.15);
}
.hero-compact .hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 13px 14px;
    font-family: var(--font);
    font-size: 14px;
    color: #fff;
    outline: none;
    min-width: 0;
}
.hero-compact .hero-search input::placeholder { color: rgba(255,255,255,0.35); }
.hero-compact .hero-search button {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    border: none;
    padding: 13px 20px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.hero-compact .hero-search button:hover { opacity: 0.88; }
.hero-compact-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}
.hero-compact-stats strong { color: rgba(255,255,255,0.75); }
.hero-stat-sep { opacity: 0.3; }

/* ---- BROWSE CATEGORY TILES ---- */
.browse-cat-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.browse-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 8px 14px;
    text-decoration: none;
    transition: all var(--transition);
    text-align: center;
}
.browse-cat-tile:hover {
    border-color: var(--green);
    box-shadow: 0 4px 14px rgba(29,185,84,0.15);
    transform: translateY(-2px);
}
.browse-cat-icon { font-size: 28px; line-height: 1; }
.browse-cat-name { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.3; }
.browse-cat-count {
    font-size: 10px;
    color: var(--text-light);
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 10px;
}

/* ---- PER-CATEGORY PRODUCT SECTIONS ---- */
.cat-product-section {
    background: var(--card);
    border: 1px solid var(--cat-accent-border, var(--border));
    border-radius: var(--radius-lg);
    padding: 24px;
    background: linear-gradient(170deg, var(--cat-accent-bg, rgba(29,185,84,0.05)) 0%, var(--card) 50%);
}
.cat-section-header { margin-bottom: 16px; }
.cat-section-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.cat-section-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.cat-section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    flex: 1;
    margin: 0;
}
.cat-section-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--cat-pill-color, var(--green));
    white-space: nowrap;
    text-decoration: none;
    opacity: 0.85;
}
.cat-section-link:hover { opacity: 1; }

/* Subcategory pills */
.cat-subpills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cat-subpill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--cat-pill-color, var(--green));
    background: var(--cat-pill-bg, rgba(29,185,84,0.08));
    border: 1px solid transparent;
    padding: 4px 11px;
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1.4;
}
.cat-subpill:hover {
    background: var(--cat-pill-color, var(--green));
    color: #fff;
    border-color: transparent;
}

/* Product row */
.cat-product-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.cat-product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.cat-product-card:hover {
    border-color: var(--cat-accent-border, var(--border));
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.cat-product-img {
    height: 110px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    flex-shrink: 0;
}
.cat-product-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.cat-product-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 3px;
}
.cat-product-brand {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
}
.cat-product-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.cat-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.cat-product-meta-item {
    font-size: 10px;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #d1fae5;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.cat-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}
.cat-product-from { font-size: 10px; color: var(--text-light); line-height: 1; }
.cat-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--green);
    line-height: 1.1;
}
.cat-product-stores {
    font-size: 10px;
    color: var(--text-muted);
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

/* ---- DEAL CARDS GRID ---- */

    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.deals-strip::-webkit-scrollbar { display: none; }
.deal-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    transition: all var(--transition);
}
.deal-pill:hover { border-color: #FF6B35; box-shadow: 0 4px 16px rgba(255,107,53,0.2); }
.deal-name { font-size: 13px; color: var(--text-muted); margin-bottom: 2px; }
.deal-price { font-size: 15px; font-weight: 700; color: var(--text); }
.deal-discount {
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255,107,53,0.15), rgba(255,107,53,0.08));
    color: #FF6B35;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255,107,53,0.2);
}

/* ---- PRODUCT CARDS ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.product-card {
    background: linear-gradient(160deg, #f0fdf4 0%, #ffffff 50%);
    border: 1px solid #d1fae5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    display: block;
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: #6ee7b7;
}
.product-img {
    height: 140px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-body { padding: 16px; }
.product-brand {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
    font-weight: 500;
}
.product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}
.product-price-from { font-size: 11px; color: var(--text-muted); }
.product-price { font-size: 18px; font-weight: 600; color: var(--green); }
.product-stores {
    font-size: 11px;
    color: var(--text-muted);
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ---- STORES SECTION ---- */
.stores-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.stores-section-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}
.stores-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.store-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.store-card:hover {
    border-color: var(--green);
    box-shadow: 0 4px 16px rgba(29,185,84,0.12);
    transform: translateY(-1px);
}
.store-card-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #0f1c2e, #1a2840);
    color: var(--green);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.store-card-body { flex: 1; min-width: 0; }
.store-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.store-card-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.store-card-soon {
    color: var(--orange);
    font-weight: 500;
}
.store-card-arrow {
    font-size: 14px;
    color: var(--text-light);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.store-card:hover .store-card-arrow { transform: translateX(3px); color: var(--green); }

/* ---- HOW IT WORKS (redesigned) ---- */
.hiw-section { padding-bottom: 8px; }
.hiw-inner {
    background: linear-gradient(135deg, #0f1c2e 0%, #162236 50%, #0d1a2b 100%);
    border-radius: var(--radius-lg);
    padding: 40px 44px;
    position: relative;
    overflow: hidden;
}
.hiw-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #ff9a1a, #1DB954);
}
.hiw-header {
    text-align: center;
    margin-bottom: 36px;
}
.hiw-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}
.hiw-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}
.hiw-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 32px;
}
.hiw-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}
.hiw-step-num {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.hiw-step-icon {
    font-size: 40px;
    margin-top: 20px;
    margin-bottom: 14px;
    line-height: 1;
    display: block;
}
.hiw-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.hiw-step-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 200px;
    margin: 0 auto;
}
.hiw-connector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 46px;
    color: rgba(255,255,255,0.15);
    font-size: 22px;
    font-weight: 300;
}
.hiw-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hiw-trust-item {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.2px;
}

/* ---- STORE PILLS (kept for other pages) ---- */
.stores-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.store-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.store-pill:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.store-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}
.store-pill-name { font-size: 13px; font-weight: 500; color: var(--text); }
.store-pill-count { font-size: 11px; color: var(--text-muted); }

/* ---- HOW IT WORKS ---- */
.how-it-works {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.how-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 28px;
    position: relative;
}
.how-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(16.66% + 18px);
    right: calc(16.66% + 18px);
    height: 1px;
    background: var(--border);
}
.how-step { text-align: center; position: relative; }
.how-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF6B35, #1DB954);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(255,107,53,0.35);
}
.how-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.how-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- ALERT BANNER ---- */
.alert-banner {
    background: var(--dark);
    padding: 28px 0;
}
.alert-banner-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.alert-banner-icon { font-size: 32px; flex-shrink: 0; }
.alert-banner-text { flex: 1; }
.alert-banner-text strong {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-bottom: 3px;
}
.alert-banner-text span { font-size: 13px; color: rgba(255,255,255,0.45); }
.alert-banner-form { display: flex; gap: 8px; flex-shrink: 0; }
.alert-banner-form input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    width: 220px;
    transition: border-color var(--transition);
}
.alert-banner-form input::placeholder { color: rgba(255,255,255,0.3); }
.alert-banner-form input:focus { border-color: var(--green); }

/* ---- SITE FOOTER ---- */
.site-footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 56px 0 0;
    color: rgba(255,255,255,0.55);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-logo--footer { font-size: 16px; margin-bottom: 14px; display: block; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.35); line-height: 1.7; margin-bottom: 14px; }
.footer-update {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--green);
    margin-bottom: 20px;
}
.update-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.footer-social { display: flex; gap: 10px; }
.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    transition: all var(--transition);
}
.social-link:hover { background: rgba(29,185,84,0.15); color: var(--green); border-color: rgba(29,185,84,0.3); }
.footer-heading {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
    padding: 20px 0;
    text-align: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); margin-bottom: 5px; }
.footer-disclaimer { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ---- UTILITY ---- */
.text-green { color: var(--green); }
.text-orange { color: var(--orange); }
.text-muted { color: var(--text-muted); }
.strike { text-decoration: line-through; }
.tag {
    display: inline-block;
    font-size: 11px;
    background: #f3f4f6;
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .how-steps { grid-template-columns: 1fr; }
    .how-steps::before { display: none; }
    .stores-card-grid { grid-template-columns: repeat(2, 1fr); }
    .hiw-steps { flex-direction: column; align-items: center; }
    .hiw-connector { padding-top: 0; transform: rotate(90deg); }
    .faq-grid { grid-template-columns: 1fr; }
    /* New homepage elements */
    .deal-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .browse-cat-grid { grid-template-columns: repeat(4, 1fr); }
    .cat-product-row { grid-template-columns: repeat(3, 1fr); }
    .cat-product-row .cat-product-card:nth-child(n+4) { display: none; }
    .hero-compact-inner { flex-direction: column; gap: 20px; align-items: flex-start; }
    .hero-compact-search-col { flex: none; max-width: 100%; width: 100%; }
}

/* Mobile */
@media (max-width: 600px) {
    .hero { padding: 36px 0 44px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 15px; }
    .hero-stats { gap: 20px; }
    .hero-stat strong { font-size: 17px; }

    /* Mobile header */
    .header-top { gap: 10px; flex-wrap: nowrap; padding: 10px 0; }
    .header-actions { display: none; }
    /* Hide desktop search + show hamburger on mobile */
    .header-search-wrap { display: none; }
    .nav-toggle { display: inline-flex; }
    /* Collapsible nav on mobile */
    .header-nav {
        display: none;
        background: var(--dark);
        overflow: visible;
    }
    .header-nav.nav-open {
        display: block;
    }
    .header-nav .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
    }
    .header-nav .nav-link {
        padding: 11px 16px;
        font-size: 14px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-dropdown { display: none !important; }
    .nav-arrow { display: none; }
    /* Mobile search inside nav */
    .header-nav::before {
        content: '';
        display: none;
    }
    .mobile-nav-search {
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-nav-search .search-inner {
        border-radius: var(--radius-md);
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-nav-search input {
        font-size: 14px;
        min-width: 0;
        flex: 1;
    }
    .mobile-nav-search .search-btn {
        flex-shrink: 0;
    }
    .search-dropdown { min-width: 100%; left: 0; right: 0; }
    .search-btn { padding: 10px 14px; font-size: 13px; }

    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    /* New homepage elements — mobile */
    .deal-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .deal-card--hide-mobile { display: none; }
    .deal-card-icon { width: 56px; height: 56px; font-size: 28px; }
    .deal-card-price { font-size: 17px; }
    .browse-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .browse-cat-tile { padding: 12px 6px 10px; }
    .browse-cat-icon { font-size: 24px; }
    .cat-product-section { padding: 16px; }
    .cat-product-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .cat-product-row .cat-product-card:nth-child(n+3) { display: none; }
    .cat-section-title { font-size: 15px; }
    .hero-compact { padding: 20px 0 24px; }
    .hero-compact-heading { font-size: 20px; }
    .hero-compact-search-col { flex: none; max-width: 100%; width: 100%; }
    .deals-hero-wrap { padding: 16px 0 20px; }

    .section-title { font-size: 16px; }

    .alert-banner-inner { flex-direction: column; text-align: center; gap: 16px; }
    .alert-banner-form { flex-direction: column; width: 100%; }
    .alert-banner-form input { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .how-it-works { padding: 24px 20px; }
    .hiw-inner { padding: 28px 20px; }
    .hiw-steps { gap: 8px; }
    .stores-card-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ---- SEARCH AUTOCOMPLETE DROPDOWN ---- */
.search-dropdown-wrap { position: relative; }

.search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.16);
    z-index: 300;
    overflow: hidden;
    min-width: 320px;
}

.sd-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    padding: 10px 16px 4px;
}

.sd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    font-size: 14px;
    color: #111827;
    text-decoration: none;
    transition: background 0.1s;
    cursor: pointer;
}
.sd-item:hover,
.sd-item.sd-active {
    background: #f3f4f6;
}

.sd-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.sd-name {
    flex: 1;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-count {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

/* Product rows */
.sd-product { align-items: flex-start; }
.sd-product .sd-icon { margin-top: 2px; }
.sd-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}
.sd-product-info .sd-name {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sd-meta {
    font-size: 11px;
    color: #9ca3af;
}
.sd-price {
    font-size: 14px;
    font-weight: 600;
    color: #1DB954;
    flex-shrink: 0;
}

/* Footer link */
.sd-footer {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: #1DB954;
    font-weight: 500;
    text-decoration: none;
    border-top: 1px solid rgba(0,0,0,0.06);
    transition: background 0.1s;
}
.sd-footer:hover { background: #f0fdf4; }

/* Hero search — dropdown sits below .hero-search-wrap */
.hero-search-wrap { position: relative; }
.hero-search-wrap .search-dropdown { top: calc(100% + 4px); }

/* Header search — dropdown sits below .header-search */
.header-search { position: relative; }
.header-search .search-dropdown { min-width: 360px; }
