/* ==========================================================================
   HAPPYPIP SHOP PAGE — Warm Analogous v3
   Uses existing design tokens from global.css
   ========================================================================== */

/* ── Hide all Astra shop page defaults ── */
.woocommerce-products-header,
.ast-woocommerce-container .woocommerce-result-count,
.ast-woocommerce-container .woocommerce-ordering,
.woocommerce-breadcrumb,
.ast-archive-description,
.entry-header.ast-no-title,
.page-header { display: none !important; }

/* ── Prevent horizontal scroll on shop page (Astra wrappers) ── */
/* Uses overflow-x: clip instead of hidden — clip does NOT create a scroll
   container, so it won't break position: sticky on descendant elements. */
body.post-type-archive-product,
body.post-type-archive-product #page,
body.post-type-archive-product #content,
body.post-type-archive-product .ast-container {
    overflow-x: clip !important;
}

/* ── Shop page scoped variables ── */
.hp-shop-page {
    --sp-border: rgba(237, 228, 212, 0.5);
    --sp-border-hover: rgba(236, 169, 110, 0.3);
    --sp-glow-jade: rgba(236, 169, 110, 0.08);
    --sp-glow-gold: rgba(236, 169, 110, 0.06);
    --sp-danger: #D4534B;
    --sp-vape-purple: #9B8BFF;
    --sp-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --sp-transition-fast: 0.15s ease;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: clip;
}

/* ============================================================
   SECTION 01: HERO — MOOD-BASED ENTRY
   ============================================================ */
.hp-sp-hero {
    padding: 40px 0 24px;
    text-align: center;
    position: relative;
    background: var(--bg-page);
}

.hp-sp-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(244,192,138,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hp-sp-hero__title {
    font-family: var(--font-body);
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--green-dark);
    letter-spacing: -0.5px;
    animation: hpSpFadeDown 0.6s ease 0.1s both;
}

.hp-sp-hero__title .accent { color: var(--green-dark); }

.hp-sp-hero__subtitle {
    font-size: 16px;
    color: #3A5A4A;
    max-width: 480px;
    margin: 0 auto 36px;
    font-weight: 300;
    font-family: var(--font-body);
    animation: hpSpFadeDown 0.6s ease 0.2s both;
}

@keyframes hpSpFadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mood Pills */
.hp-sp-mood-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: hpSpFadeDown 0.6s ease 0.3s both;
}

.hp-sp-mood-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 16px 18px 13px;
    min-width: 85px;
    border-radius: 14px;
    cursor: pointer;
    transition: all .3s ease;
    border: 1px solid var(--border-input);
    background: var(--bg-card);
    font-family: var(--font-heading);
    text-decoration: none;
}

.hp-sp-mood-pill__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-sp-mood-pill__icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--green-dark);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-sp-mood-pill__text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--green-dark);
}

.hp-sp-mood-pill:hover {
    border-color: var(--green-light);
}

.hp-sp-mood-pill:hover .hp-sp-mood-pill__icon svg {
    stroke: var(--green-mid);
}

.hp-sp-mood-pill:hover .hp-sp-mood-pill__text {
    color: var(--green-dark);
}

.hp-sp-mood-pill:active {
    transform: none;
}

.hp-sp-mood-pill.active {
    border-color: transparent;
    background: var(--gradient-sunset);
    box-shadow: 0 3px 12px rgba(236, 169, 110, 0.3);
}

.hp-sp-mood-pill.active .hp-sp-mood-pill__icon svg {
    stroke: var(--green-dark);
    stroke-width: 2;
    fill: var(--sunset-mid);
}

.hp-sp-mood-pill.active .hp-sp-mood-pill__text {
    color: var(--green-dark);
}

/* Mood indicator */
.hp-sp-mood-indicator {
    display: none;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--text-muted);
    animation: hpSpFadeDown 0.3s ease;
}

.hp-sp-mood-indicator.show { display: block; }

.hp-sp-mood-indicator strong { color: var(--green-dark); }

.hp-sp-mood-indicator a {
    color: var(--green-mid);
    text-decoration: underline;
    cursor: pointer;
}

/* ============================================================
   SECTION 02: STICKY FILTER BAR
   ============================================================ */
.hp-sp-filter-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    background: var(--bg-page);
    /* Only transition visual properties — never layout (padding, border)
       to prevent vibration when position: sticky recalculates on scroll */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-sp-filter-wrap.scrolled {
    background: rgba(250, 246, 239, 0.95);
    backdrop-filter: blur(20px) saturate(1.5);
    /* box-shadow instead of border-bottom — no layout shift */
    box-shadow: 0 1px 0 0 var(--sp-border);
}

.hp-sp-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.hp-sp-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hp-sp-filter-group::-webkit-scrollbar { display: none; }

/* All filter chips — pill shape, unified style */
.hp-sp-filter-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-input);
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all .3s ease;
    white-space: nowrap;
    user-select: none;
}

.hp-sp-filter-chip:hover {
    border-color: var(--sunset-mid);
    color: var(--color-text-primary);
    background: rgba(236, 169, 110, 0.08);
}

.hp-sp-filter-chip.active {
    border-color: transparent;
    color: #fff;
    background: var(--gradient-sunset);
    box-shadow: 0 3px 12px rgba(236, 169, 110, 0.3);
}

/* Category chip images (generic) */
.hp-sp-filter-chip__img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Category pills — image on page bg, text below */
.hp-sp-cat-pill {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    min-width: 85px;
    height: 76px;
    border-radius: 14px;
    border: 1px solid var(--border-input);
    background-color: var(--color-card);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all .3s ease;
    user-select: none;
    flex-shrink: 0;
    overflow: hidden;
}

.hp-sp-cat-pill__text {
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-primary);
    text-align: center;
    padding: 6px 10px;
    width: 100%;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--tile-color, var(--color-bg)) 70%, transparent),
        color-mix(in srgb, var(--tile-color, var(--color-bg)) 50%, transparent)
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    line-height: 1.2;
}

.hp-sp-cat-pill:hover {
    border-color: var(--green-light);
}

.hp-sp-cat-pill.active {
    border-color: transparent;
    background-color: var(--tile-color, var(--green-mid));
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

.hp-sp-cat-pill.active .hp-sp-cat-pill__text {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

/* Filter toggle — dark outline icon, no fill */
.hp-sp-filter-toggle {
    position: relative;
    flex-shrink: 0;
}

.hp-sp-filter-toggle svg {
    width: 18px;
    height: 18px;
    stroke: var(--green-dark);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.hp-sp-filter-toggle:hover svg {
    stroke: var(--sunset-mid);
}

#hpSpFilterToggle.active svg {
    stroke: var(--sunset-text);
}

/* Filter count badge */
.hp-sp-filter-count {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sunset-deep);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 18px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
}

.hp-sp-filter-count.show {
    display: block;
}

/* Non-toggle chip SVGs (if any remain) */
.hp-sp-filter-chip:not(.hp-sp-filter-toggle) svg {
    width: 14px;
    height: 14px;
    opacity: 0.5;
}

/* Drawer chips with images */
.hp-sp-filter-chip--has-img {
    padding-left: 6px;
}

.hp-sp-filter-chip--has-img .hp-sp-filter-chip__img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
}

/* Mood-synced effect chips (highlighted from mood pills) */
.hp-sp-filter-chip.mood-synced {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    background: rgba(107, 168, 160, 0.08);
}

/* Section hidden class for tier/preroll visibility */
.hp-sp-tier-section.hp-sp-hidden { display: none !important; }

/* Filter drawer (expandable) */
.hp-sp-filter-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-sp-filter-drawer.open {
    max-height: 800px;
}

/* Drawer header — hidden on desktop */
.hp-sp-drawer-header { display: none; }

/* Drawer actions (Apply + Clear) — desktop: inline row */
.hp-sp-drawer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    padding: 14px 0 6px;
}

.hp-sp-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--border-default);
}

.hp-sp-filter-row:first-child { border-top: none; padding-top: 14px; }

.hp-sp-filter-row__label {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 60px;
    flex-shrink: 0;
}

.hp-sp-filter-row__chips {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.hp-sp-filter-row__chips::-webkit-scrollbar { display: none; }

.hp-sp-filter-row__chips .hp-sp-filter-chip {
    padding: 7px 16px;
    font-size: 11px;
}

.hp-sp-apply-btn {
    padding: 10px 32px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.hp-sp-clear-filters {
    font-size: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--sp-transition-fast);
}

.hp-sp-clear-filters:hover { color: var(--sunset-text); }

/* Filter toggle active state */
#hpSpFilterToggle.active {
    border-color: var(--sunset-mid);
    color: var(--sunset-text);
    background: rgba(236, 169, 110, 0.1);
}

/* Card styles (.hp-pc, .hp-bdg, .hp-efx) in product-card.css (global) */

/* ============================================================
   SECTION 03: STAFF PICKS
   ============================================================ */
.hp-sp-staff-picks {
    padding: 24px 0 16px;
}

/* Staff picks container — rose-tinted, distinct from tier colors */
.hp-sp-tier-section--staff {
    background: linear-gradient(135deg, #FDF2F0, #FAE8E4);
    border: 2px solid rgba(199, 107, 122, 0.35);
}
.hp-sp-tier-section--staff::before { background: none; }
.hp-sp-tier-section--staff .hp-sp-tier-label { color: #C76B7A; }

/* Shared section header */
.hp-sp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hp-sp-section-header__left h2 {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 600;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-sp-section-header__left h2 .icon { font-size: 18px; }

.hp-sp-section-header__left p {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-top: 4px;
    font-family: var(--font-heading);
}

.hp-sp-section-header__right a {
    font-size: 13px;
    color: var(--sunset-text);
    text-decoration: none;
    font-weight: 500;
    font-family: var(--font-heading);
    transition: all var(--sp-transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hp-sp-section-header__right a:hover { color: var(--color-text-primary); gap: 8px; }

/* Staff picks now uses .hp-sp-tier-scroll (same horizontal scroll as tier worlds) */

/* ============================================================
   SECTION 04: TIER WORLDS
   ============================================================ */
.hp-sp-tier-worlds { padding: 16px 0; }

.hp-sp-tier-section {
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    transition: all var(--sp-transition);
}

.hp-sp-tier-section::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
}

.hp-sp-tier-section:hover { transform: scale(1.005); }

/* Tier world backgrounds — matches homepage flat tint + radial glow */
.hp-sp-tier-section--classic {
    background: linear-gradient(135deg, #F5F2ED, #EDEAD5);
    border: 2px solid rgba(168, 168, 168, 0.5);
}
.hp-sp-tier-section--classic::before { background: none; }

.hp-sp-tier-section--exotic {
    background: linear-gradient(135deg, #EFF7F2, #E6F0EA);
    border: 2px solid rgba(92, 139, 116, 0.55);
}
.hp-sp-tier-section--exotic::before { background: none; }

.hp-sp-tier-section--super {
    background: linear-gradient(135deg, #FDF3EB, #FAE9DA);
    border: 2px solid rgba(212, 113, 42, 0.5);
}
.hp-sp-tier-section--super::before { background: none; }

.hp-sp-tier-section--rapper {
    background: linear-gradient(135deg, #F5F0FA, #EDE6F6);
    border: 2px solid rgba(123, 107, 164, 0.6);
}
.hp-sp-tier-section--rapper::before { background: none; }

/* Pre-roll type backgrounds */
.hp-sp-preroll-worlds { padding: 16px 0; }

.hp-sp-tier-section--hash-holes {
    background: linear-gradient(135deg, #FBF0EE, #F7E5E2);
    border: 2px solid rgba(192, 57, 43, 0.45);
}
.hp-sp-tier-section--hash-holes::before { background: none; }
.hp-sp-tier-section--hash-holes .hp-sp-tier-label { color: #C0392B; }

.hp-sp-tier-section--diamond {
    background: linear-gradient(135deg, #EBF3F8, #E0EDF5);
    border: 2px solid rgba(107, 168, 196, 0.55);
}
.hp-sp-tier-section--diamond::before { background: none; }
.hp-sp-tier-section--diamond .hp-sp-tier-label { color: #6BA8C4; }

.hp-sp-tier-section--infused {
    background: linear-gradient(135deg, #FDF3EB, #FAE9DA);
    border: 2px solid rgba(212, 113, 42, 0.5);
}
.hp-sp-tier-section--infused::before { background: none; }
.hp-sp-tier-section--infused .hp-sp-tier-label { color: var(--tier-super); }

.hp-sp-tier-section--thc-a {
    background: linear-gradient(135deg, #EBF6EF, #DFF0E5);
    border: 2px solid rgba(92, 139, 116, 0.55);
}
.hp-sp-tier-section--thc-a::before { background: none; }
.hp-sp-tier-section--thc-a .hp-sp-tier-label { color: var(--tier-exotic); }

.hp-sp-tier-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hp-sp-tier-label {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hp-sp-tier-label .glyph { font-size: 14px; opacity: 0.7; }

.hp-sp-tier-section--classic .hp-sp-tier-label { color: var(--tier-classic); }
.hp-sp-tier-section--exotic .hp-sp-tier-label  { color: var(--tier-exotic); }
.hp-sp-tier-section--super .hp-sp-tier-label   { color: var(--tier-super); }
.hp-sp-tier-section--rapper .hp-sp-tier-label  { color: var(--tier-rapper); }

.hp-sp-tier-tagline {
    font-size: 12px;
    color: var(--color-text-secondary);
    font-style: italic;
    font-family: var(--font-body);
}

/* "See All" / "View All" buttons use .hp-btn--outline from homepage (global) */

/* Tier scroll — horizontal scroll of .hp-pc cards */
.hp-sp-tier-scroll {
    display: flex;
    gap: var(--space-lg);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hp-sp-tier-scroll::-webkit-scrollbar { display: none; }

.hp-sp-tier-empty {
    font-family: var(--font-body);
    font-size: 14px;
    font-style: italic;
    color: var(--color-text-muted);
    padding: 24px 0;
}

.hp-sp-tier-scroll .hp-pc {
    min-width: 280px;
    max-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* ============================================================
   SECTION 05: MAIN PRODUCT GRID
   ============================================================ */
.hp-sp-product-grid-section { padding: 24px 0; }

.hp-sp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 280px));
    gap: var(--space-lg);
    justify-content: center;
}


/* Load more */
.hp-sp-load-more-wrap {
    text-align: center;
    padding: 24px 0 16px;
}

.hp-sp-load-more-btn {
    background: transparent;
    border: 1px solid var(--sp-border);
    color: var(--color-text-secondary);
    padding: 13px 40px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--sp-transition);
    letter-spacing: 0.5px;
}

.hp-sp-load-more-btn:hover {
    border-color: var(--sunset-mid);
    color: var(--sunset-text);
    background: rgba(236, 169, 110, 0.08);
    transform: translateY(-2px);
}

.hp-sp-load-more-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   SECTION 06: QUIZ CTA
   ============================================================ */
.hp-sp-quiz-section {
    padding: 24px 0;
    margin: 0;
}

.hp-sp-quiz-card {
    background: linear-gradient(135deg, rgba(244,192,138,0.15) 0%, var(--bg-card) 50%, rgba(236, 169, 110, 0.08) 100%);
    border: 1px solid var(--sp-border);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-sp-quiz-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(203, 122, 62, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hp-sp-quiz-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 169, 110, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hp-sp-quiz__eyebrow {
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sunset-text);
    margin-bottom: 16px;
    position: relative;
}

.hp-sp-quiz__heading {
    font-family: var(--font-body);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 12px;
    position: relative;
}

.hp-sp-quiz__sub {
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    max-width: 440px;
    margin: 0 auto 32px;
    font-weight: 300;
    position: relative;
}

.hp-sp-quiz__steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 36px;
    position: relative;
    flex-wrap: wrap;
}

.hp-sp-quiz__step { text-align: center; }

.hp-sp-quiz__step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-input);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 18px;
    transition: all 0.3s;
}

.hp-sp-quiz__step:hover .hp-sp-quiz__step-circle {
    border-color: var(--green-mid);
    background: #F2F8F5;
    transform: scale(1.1);
}

.hp-sp-quiz__step-label {
    font-size: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* Quiz CTA uses .hp-btn--primary from global.css */

.hp-sp-quiz__time {
    font-size: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    margin-top: 16px;
    position: relative;
}

/* ============================================================
   SECTION 07: EDUCATION
   ============================================================ */
.hp-sp-education-section { padding: 24px 0 16px; }

.hp-sp-edu-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hp-sp-edu-grid::-webkit-scrollbar { display: none; }

.hp-sp-edu-card {
    min-width: 240px;
    max-width: 260px;
    background: var(--color-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    cursor: pointer;
    transition: all var(--sp-transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    scroll-snap-align: start;
    text-decoration: none;
}

.hp-sp-edu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
}

.hp-sp-edu-card:hover::before { opacity: 1; }

.hp-sp-edu-card:hover {
    border-color: var(--sp-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(200, 165, 100, 0.15);
}

.hp-sp-edu-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(137, 181, 160, 0.06), transparent); }
.hp-sp-edu-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(199, 166, 94, 0.06), transparent); }
.hp-sp-edu-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(203, 122, 62, 0.06), transparent); }
.hp-sp-edu-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(123, 104, 238, 0.06), transparent); }
.hp-sp-edu-card:nth-child(5)::before { background: linear-gradient(135deg, rgba(88, 173, 114, 0.06), transparent); }

.hp-sp-edu-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hp-sp-edu-card:nth-child(1) .hp-sp-edu-card__icon { background: rgba(137, 181, 160, 0.1); }
.hp-sp-edu-card:nth-child(2) .hp-sp-edu-card__icon { background: rgba(199, 166, 94, 0.1); }
.hp-sp-edu-card:nth-child(3) .hp-sp-edu-card__icon { background: rgba(203, 122, 62, 0.1); }
.hp-sp-edu-card:nth-child(4) .hp-sp-edu-card__icon { background: rgba(123, 104, 238, 0.1); }
.hp-sp-edu-card:nth-child(5) .hp-sp-edu-card__icon { background: rgba(88, 173, 114, 0.1); }

.hp-sp-edu-card__title {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.hp-sp-edu-card__desc {
    font-size: 12px;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.hp-sp-edu-card__link {
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--sunset-text);
    margin-top: 14px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.hp-sp-edu-card:hover .hp-sp-edu-card__link { gap: 8px; }

.hp-sp-edu-card__read-time {
    font-size: 10px;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   SECTION: REVIEWS
   ============================================================ */
.hp-sp-reviews-section { padding: 24px 0 16px; }

.hp-sp-reviews-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hp-sp-reviews-avg { display: flex; align-items: baseline; gap: 8px; }
.hp-sp-reviews-avg__number { font-family: var(--font-body); font-size: 36px; font-weight: 700; color: var(--sunset-mid); }
.hp-sp-reviews-avg__stars { font-size: 16px; color: var(--sunset-mid); display: flex; gap: 2px; }
.hp-sp-reviews-avg__count { font-size: 12px; font-family: var(--font-heading); color: var(--color-text-secondary); }

.hp-sp-reviews-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.hp-sp-reviews-scroll::-webkit-scrollbar { display: none; }

.hp-sp-review-card {
    min-width: 300px;
    max-width: 320px;
    background: var(--color-card);
    border: 1px solid var(--sp-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: all var(--sp-transition);
}

.hp-sp-review-card:hover {
    border-color: var(--sp-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(200, 165, 100, 0.15);
}

.hp-sp-review-card__stars {
    font-size: 14px;
    color: var(--sunset-mid);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hp-sp-review-card__text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--green-dark);
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.hp-sp-review-card__footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hp-sp-review-card__name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--green-dark);
}

.hp-sp-review-card__product {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--green-mid);
}

.hp-sp-review-card__date {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--color-text-muted);
}

/* ============================================================
   SECTION: LOYALTY / INSIDERS PROGRAM
   ============================================================ */
.hp-sp-loyalty-section { padding: 16px 0 24px; }

.hp-sp-loyalty-banner {
    background: linear-gradient(135deg, rgba(244, 192, 138, 0.1) 0%, var(--bg-card) 35%, rgba(236, 169, 110, 0.12) 100%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.hp-sp-loyalty-banner:hover {
    border-color: rgba(199, 166, 94, 0.25);
    box-shadow: 0 8px 32px rgba(200, 165, 100, 0.15);
}

.hp-sp-loyalty__content { flex: 1; }

.hp-sp-loyalty__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--sunset-text);
    margin-bottom: 12px;
}

.hp-sp-loyalty__eyebrow-icon { font-size: 16px; }

.hp-sp-loyalty__heading {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--green-dark);
    margin: 0 0 8px;
}

.hp-sp-loyalty__desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 540px;
}

.hp-sp-loyalty__perks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.hp-sp-loyalty__perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--color-text-primary);
}

.hp-sp-loyalty__perk-icon { font-size: 18px; }

.hp-sp-loyalty__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.hp-sp-loyalty__members {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.hp-sp-trust-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 24px 0;
    border-top: 1px solid var(--sp-border);
    margin-top: 8px;
    flex-wrap: wrap;
}

.hp-sp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
}

.hp-sp-trust-item__icon {
    font-size: 20px;
    filter: grayscale(1) brightness(1.8);
    opacity: 0.85;
}

.hp-sp-trust-item strong {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* ============================================================
   CART TOAST
   ============================================================ */
.hp-sp-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-card);
    border: 1px solid var(--color-success);
    color: var(--color-text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 40px rgba(200, 165, 100, 0.2);
    pointer-events: none;
}

.hp-sp-toast.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.hp-sp-toast__check {
    width: 24px;
    height: 24px;
    background: var(--color-success);
    color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   FILTER DRAWER SCROLL LOCK
   ============================================================ */
body.hp-filter-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    top: var(--filter-scroll-y, 0);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.hp-sp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hp-sp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ── ≤900px — tablet ── */
@media (max-width: 900px) {
    /* Mood pills → horizontal scroll */
    .hp-sp-mood-row {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .hp-sp-mood-row::-webkit-scrollbar { display: none; }
    .hp-sp-mood-pill {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* Scroll cards scale down to match homepage */
    .hp-sp-tier-scroll .hp-pc {
        min-width: 260px;
        max-width: 260px;
    }

    /* Filter toggle → circle icon, hide text */
    .hp-sp-filter-toggle__text { display: none; }
    #hpSpFilterToggle.hp-sp-filter-toggle {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center;
        gap: 0;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    .hp-sp-filter-count {
        top: -4px;
        right: -4px;
    }

    /* ── Fullscreen filter drawer ── */
    .hp-sp-filter-drawer {
        position: fixed;
        inset: 0;
        z-index: 500;
        max-height: none !important;
        background: var(--bg-page);
        display: none;
        flex-direction: column;
        overflow: hidden;
    }

    .hp-sp-filter-drawer.open {
        display: flex;
        animation: hpDrawerSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

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

    /* Drawer header */
    .hp-sp-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-default);
        flex-shrink: 0;
    }

    .hp-sp-drawer-header__title {
        font-family: var(--font-heading);
        font-size: 18px;
        font-weight: 700;
        color: var(--green-dark);
    }

    .hp-sp-drawer-header__close {
        width: 36px;
        height: 36px;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s;
        -webkit-appearance: none;
        appearance: none;
        outline: none;
    }

    .hp-sp-drawer-header__close:hover {
        background: rgba(0,0,0,0.05) !important;
    }

    .hp-sp-drawer-header__close svg,
    .hp-sp-drawer-header__close svg line,
    .hp-sp-drawer-header__close svg path {
        width: 20px;
        height: 20px;
        stroke: var(--text-primary) !important;
        stroke-width: 2 !important;
        fill: none !important;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .hp-sp-drawer-header__close svg line,
    .hp-sp-drawer-header__close svg path {
        width: auto;
        height: auto;
    }

    /* Drawer body — scrollable */
    .hp-sp-drawer-body {
        flex: 1;
        overflow-y: auto;
        padding: 8px 20px;
        -webkit-overflow-scrolling: touch;
    }

    /* Filter rows — stack vertically */
    .hp-sp-filter-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 0;
    }

    .hp-sp-filter-row:first-child { padding-top: 10px; }

    .hp-sp-filter-row__label {
        font-size: 12px;
        min-width: auto;
    }

    .hp-sp-filter-row__chips {
        flex-wrap: wrap;
        overflow-x: visible;
    }

    /* Drawer actions — sticky bottom */
    .hp-sp-drawer-actions {
        flex-shrink: 0;
        padding: 16px 20px;
        border-top: 1px solid var(--border-default);
        background: var(--bg-page);
        gap: 12px;
    }

    .hp-sp-drawer-actions .hp-sp-apply-btn {
        flex: 1;
    }

}

/* ── ≤768px — small tablet / large mobile ── */
@media (max-width: 768px) {
    .hp-sp-hero { padding: 32px 0 20px; }
    .hp-sp-mood-row { gap: 8px; }
    .hp-sp-mood-pill { padding: 13px 14px 9px; min-width: 72px; }

    .hp-sp-cat-pill { min-width: 72px; height: 66px; }
    .hp-sp-cat-pill__text { font-size: 10px; }

    .hp-sp-quiz-card { padding: 36px 24px; }
    .hp-sp-quiz__steps { gap: 20px; }

    .hp-sp-trust-bar { gap: 20px; padding: 20px 0; }

    .hp-sp-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

    /* Product grid → 2 columns on smaller screens */
    .hp-sp-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
    }

    .hp-sp-loyalty-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }

    .hp-sp-loyalty__eyebrow { justify-content: center; }
    .hp-sp-loyalty__desc { max-width: 100%; }
    .hp-sp-loyalty__heading { font-size: 20px; }

    .hp-sp-loyalty__perks {
        justify-content: center;
    }

    .hp-sp-loyalty__cta { width: 100%; }

    /* Review cards — fit smaller screens */
    .hp-sp-review-card {
        min-width: 260px;
        max-width: 280px;
    }

    .hp-sp-reviews-avg__number { font-size: 28px; }

}

/* ── ≤480px — mobile ── */
@media (max-width: 480px) {
    .hp-shop-page { padding: 0 16px; }

    .hp-sp-mood-pill { padding: 11px 13px 7px; min-width: 65px; }
    .hp-sp-mood-pill__text { font-size: 9px; }
    .hp-sp-mood-pill__icon svg { width: 22px; height: 22px; }

    .hp-sp-cat-pill { min-width: 65px; height: 58px; }
    .hp-sp-cat-pill__text { font-size: 9px; letter-spacing: 0.5px; }

    .hp-sp-product-grid { gap: 12px 8px; }

    /* All scroll cards scale to 240px on small screens */
    .hp-sp-tier-scroll .hp-pc {
        min-width: 240px;
        max-width: 240px;
    }

    .hp-sp-tier-section { padding: 20px 16px; }
    .hp-sp-tier-top { flex-direction: column; align-items: flex-start; gap: 10px; }

    .hp-sp-toast { left: 16px; right: 16px; bottom: 16px; }

    .hp-sp-filter-row__label { min-width: auto; }

    /* Review cards — fit phone screens */
    .hp-sp-review-card {
        min-width: 230px;
        max-width: 260px;
        padding: 20px;
    }

    .hp-sp-reviews-avg__number { font-size: 24px; }
    .hp-sp-reviews-avg__stars { font-size: 14px; }

    /* Loyalty perks stack on small screens */
    .hp-sp-loyalty__perks { flex-direction: column; gap: 10px; }
    .hp-sp-loyalty__perk { justify-content: center; }
    .hp-sp-loyalty__heading { font-size: 18px; }
    .hp-sp-loyalty__desc { font-size: 13px; }
}

/* ============================================================
   STAFF PICKS — EXPANDED GRID STATE
   ============================================================ */
.hp-sp-staff--expanded .hp-sp-tier-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow-x: visible;
    scroll-snap-type: none;
}

.hp-sp-staff--expanded .hp-sp-tier-scroll .hp-pc {
    min-width: unset;
    max-width: unset;
}

@media (max-width: 480px) {
    .hp-sp-staff--expanded .hp-sp-tier-scroll {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   CATEGORY PAGE OVERRIDES
   ============================================================ */

/* Hero with background image */
.hp-sp-hero--has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for text readability */
.hp-sp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(21, 44, 36, 0.75) 0%,
        rgba(30, 58, 47, 0.6) 50%,
        rgba(21, 44, 36, 0.8) 100%
    );
    z-index: 1;
}

.hp-sp-hero--has-image .hp-sp-hero__content {
    position: relative;
    z-index: 2;
}

/* White text on image hero */
.hp-sp-hero--has-image .hp-sp-hero__title {
    color: #FAF6EF;
}

.hp-sp-hero--has-image .hp-sp-hero__subtitle {
    color: rgba(250, 246, 239, 0.8);
}

.hp-sp-hero--has-image .hp-sp-mood-pill {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hp-sp-hero--has-image .hp-sp-mood-pill__text {
    color: rgba(255, 255, 255, 0.9);
}

.hp-sp-hero--has-image .hp-sp-mood-pill__icon svg {
    stroke: rgba(255, 255, 255, 0.8);
}

.hp-sp-hero--has-image .hp-sp-mood-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
}

.hp-sp-hero--has-image .hp-sp-mood-indicator {
    color: rgba(250, 246, 239, 0.6);
}

.hp-sp-hero--has-image .hp-sp-mood-indicator strong {
    color: #FAF6EF;
}

.hp-sp-hero--has-image .hp-sp-mood-indicator a {
    color: rgba(250, 246, 239, 0.8);
}

/* 2-column grid on category pages */
.hp-sp-product-grid--2col {
    grid-template-columns: repeat(2, 1fr) !important;
}

.hp-sp-product-grid--2col .hp-pc {
    min-width: unset;
    max-width: unset;
}

/* Category pills as links — remove default link styling */
a.hp-sp-cat-pill {
    text-decoration: none;
}

@media (max-width: 480px) {
    .hp-sp-product-grid--2col {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
