/* ===================================================
   home.css  —  homepage-specific styles
   Ported from the Home3 UX Pilot design.
   Loaded only on is_front_page(). Scoped to body.home.
   =================================================== */

/* --------------------------------------------------
   HOMEPAGE PALETTE & FONT OVERRIDES
   Extends main.css tokens without breaking other pages.
   -------------------------------------------------- */
body.home {
    --hp-canvas:       #0a0e08;
    --hp-forest:       #1a3c2a;
    --hp-forest-dark:  #111a0f;
    --hp-ember:        #f5a623;
    --hp-ember-dark:   #d4891a;
    --hp-steel:        #e4e6ea;
    --hp-steel-muted:  #9aa0ab;
    --hp-font-display: 'Bebas Neue', 'Big Shoulders Display', Impact, sans-serif;
    --hp-font-cond:    'Barlow Condensed', 'DM Mono', sans-serif;
    --hp-font-body:    'Barlow', 'Work Sans', system-ui, sans-serif;
    --hp-grain-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
    --hp-panel:          #0a0e08;

    background-color: var(--hp-canvas);
}

/* Jungle background — sitewide; see jungle-background.css */

/* Homepage sections — no canvas slab bands or divider strips */
body.home.motark-textured .featured-product,
body.home.motark-textured .sourcing-section,
body.home.motark-textured .social-grid {
    background: transparent !important;
    box-shadow: none !important;
    isolation: auto;
}

body.home.motark-textured .home-section-divider::after {
    content: none !important;
}

/* Flat panel green — matches Straight From the Source copy */
body.home.motark-textured .sourcing-section__copy,
body.home.motark-textured .featured-product__body,
body.home.motark-textured .site-header {
    background: rgba(10, 14, 8, 0.88) !important;
    background-color: rgba(10, 14, 8, 0.88) !important;
}

body.home.motark-textured .sourcing-section__media {
    background: var(--hp-canvas) !important;
    position: relative;
    isolation: isolate;
}

body.home.motark-textured .sourcing-section__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hp-grain-texture);
    pointer-events: none;
    z-index: 0;
}

body.home.motark-textured .sourcing-section__media > * {
    position: relative;
    z-index: 1;
}

/* Hero, ticker, trust, shop-by-strain, reviews, ban list — let jungle bg show through */
body.home.motark-textured .home-hero--banners,
body.home.motark-textured .marquee-strip,
body.home.motark-textured .trust-strip,
body.home.motark-textured .products-section,
body.home.motark-textured .home-reviews,
body.home.motark-textured .section--ban-list,
body.home.motark-textured .site-footer {
    background: transparent !important;
    position: relative;
    isolation: isolate;
}

body.home.motark-textured .home-hero--banners::after,
body.home.motark-textured .marquee-strip::after,
body.home.motark-textured .trust-strip::after,
body.home.motark-textured .products-section::after,
body.home.motark-textured .home-reviews::after,
body.home.motark-textured .section--ban-list::after,
body.home.motark-textured .site-footer::after {
    content: none !important;
    display: none !important;
}

body.home.motark-textured .home-hero--banners > *,
body.home.motark-textured .marquee-strip > *,
body.home.motark-textured .trust-strip > *,
body.home.motark-textured .products-section > *,
body.home.motark-textured .home-reviews > *,
body.home.motark-textured .section--ban-list > *,
body.home.motark-textured .site-footer > * {
    position: relative;
    z-index: 1;
}

body.home .site-header {
    background: rgba(10, 14, 8, 0.88) !important;
    background-color: rgba(10, 14, 8, 0.88) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: rgba(245, 166, 35, 0.2);
}

body.home .site-header::before {
    content: none;
    display: none;
}

body.home .site-header[data-scrolled="true"] {
    border-bottom-color: rgba(245, 166, 35, 0.35);
}

body.home.motark-textured .strain-quiz--trail {
    background: transparent;
    box-shadow: none;
    isolation: auto;
}

.home-section-divider {
    display: none !important;
}

/* Brand SVG assets on homepage sections */
.home-brand-asset {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.home-brand-asset--tag {
    max-width: 11rem;
    margin: 0 0 0.85rem;
}

.home-brand-asset--map {
    max-width: min(100%, 22rem);
    margin: 0 0 1.5rem;
}

.home-brand-asset--finest {
    max-width: min(100%, 18rem);
    margin: 0 0 1.25rem;
}

.featured-product__body .home-brand-asset--finest {
    max-width: min(100%, clamp(18rem, 82vw, 34rem));
    width: 100%;
    margin: 0 0 1.75rem;
}

.home-brand-asset--mark {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(52vw, 14rem);
    max-width: 14rem;
    opacity: 0.14;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Eyebrow label override */
body.home .eyebrow {
    font-family: var(--hp-font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hp-ember);
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

/* Section title override — Bebas Neue on homepage */
body.home .section__title,
body.home h2.section__title {
    font-family: var(--hp-font-display);
    color: var(--hp-steel);
}

/* --------------------------------------------------
   SCROLL REVEAL
   JS (home-init.js) adds .visible on intersection.
   -------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------
   MARQUEE STRIP — scrolling ticker on canvas slab
   -------------------------------------------------- */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0.85rem 0;
    background: var(--hp-canvas);
    box-shadow: none;
    border: 0;
    position: relative;
    isolation: isolate;
}

.marquee-strip__track {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 28s linear infinite;
}

.marquee-strip__item {
    font-family: var(--hp-font-cond);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 1.5rem;
    color: rgba(228, 230, 234, 0.6);
    line-height: 1;
}

.marquee-strip + .products-section {
    padding-top: 2rem;
}

.marquee-strip__item--accent {
    color: var(--hp-ember);
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --------------------------------------------------
   HERO BANNER  —  continuous 2-slide CSS crossfade
   -------------------------------------------------- */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-banner__slide:nth-child(1) {
    position: relative;
    display: block;
    text-decoration: none;
    z-index: 2;
    animation: hero-fade-in 12s ease-in-out infinite;
}

.hero-banner__slide:nth-child(2) {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    z-index: 1;
    animation: hero-fade-out 12s ease-in-out infinite;
}

.hero-banner__img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner__slide:nth-child(2) .hero-banner__img {
    height: 100%;
    object-fit: cover;
}

@keyframes hero-fade-in {
    0%, 41%  { opacity: 1; }
    50%, 91% { opacity: 0; }
    100%     { opacity: 1; }
}

@keyframes hero-fade-out {
    0%, 41%  { opacity: 0; }
    50%, 91% { opacity: 1; }
    100%     { opacity: 0; }
}

/* --------------------------------------------------
   CATEGORY HERO  —  4-up grid → horizontal carousel on mobile
   -------------------------------------------------- */
.category-hero {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: 65vh;
    min-height: 420px;
}

.category-hero__card {
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.category-hero__card:active { transform: scale(0.98); }

.category-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.category-hero__card:hover .category-hero__img {
    transform: scale(1.04);
}

.category-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,14,8,0.92) 0%, rgba(10,14,8,0.2) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem 1.5rem;
    transition: background 0.3s ease;
}

.category-hero__card:hover .category-hero__overlay {
    background: linear-gradient(to top, rgba(10,14,8,0.96) 0%, rgba(10,14,8,0.45) 65%, rgba(10,14,8,0.08) 100%);
}

.category-hero__name {
    font-family: var(--hp-font-display);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    color: var(--hp-steel);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0 0 0.4rem;
}

.category-hero__cta {
    font-family: var(--hp-font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--hp-ember);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.category-hero__card:hover .category-hero__cta {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------
   CAROUSEL DOTS  —  hidden on desktop, visible on mobile
   -------------------------------------------------- */
.carousel-dots {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 0;
    background: var(--hp-canvas);
}

.carousel-dot {
    width: 8px;
    height: 4px;
    border-radius: 999px;
    background: rgba(228, 230, 234, 0.22);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease;
}

.carousel-dot.active {
    width: 24px;
    background: var(--hp-ember);
}

/* --------------------------------------------------
   TRUST STRIP — credibility row on canvas slab
   -------------------------------------------------- */
.trust-strip {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 1.75rem) 0;
    background: var(--hp-canvas);
    box-shadow: none;
    border: 0;
    position: relative;
    isolation: isolate;
}

.products-section + .trust-strip {
    padding-top: 0.75rem;
}

.trust-strip + .strain-quiz {
    margin-top: 0;
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
}

.trust-strip__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-strip__icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--hp-ember);
}

.trust-strip__label {
    font-family: var(--hp-font-cond);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-steel);
    margin: 0;
    line-height: 1.2;
}

.trust-strip__sub {
    font-family: var(--hp-font-body);
    font-size: 0.7rem;
    color: var(--hp-steel-muted);
    margin: 0;
    line-height: 1.2;
}

/* --------------------------------------------------
   SECTION HEADER — split layout
   -------------------------------------------------- */
.section__header--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section__header--split .section__title { margin: 0; }

.link-cta {
    font-family: var(--hp-font-cond);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hp-ember);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}
.link-cta:hover { color: var(--hp-ember-dark); }

/* --------------------------------------------------
   SECTION RHYTHM — gradient zone backgrounds
   -------------------------------------------------- */
body.home .trust-badges {
    background: transparent !important;
    border-top: none;
    border-bottom: none;
}

body.home .section--best-sellers {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--hp-forest) 10%,
        var(--hp-forest) 88%,
        transparent 100%
    );
    border-top: none;
    border-bottom: none;
}

body.home .section--reviews {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--hp-canvas) 16%,
        var(--hp-canvas) 82%,
        transparent 100%
    );
    border-top: none;
    border-bottom: none;
}

body.home .section--feature {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--hp-forest) 16%,
        var(--hp-forest) 80%,
        transparent 100%
    );
    padding-top: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    border-top: none;
    border-bottom: none;
}

body.home .section--feature::before,
body.home .section--feature::after {
    display: none;
}

body.home .home-premium {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--hp-canvas) 12%,
        var(--hp-canvas) 85%,
        transparent 100%
    ) !important;
}

body.home .section--ban-list {
    padding: 0;
    border-top: none;
    border-bottom: none;
}

/* --------------------------------------------------
   BEST SELLERS — card star ratings
   -------------------------------------------------- */
.card__stars {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.card__stars-icons {
    color: var(--hp-ember);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    line-height: 1;
}

.card__review-count {
    font-family: var(--hp-font-cond);
    font-size: 0.65rem;
    color: var(--hp-steel-muted);
    line-height: 1;
}

/* --------------------------------------------------
   TRUST BAR — slim single row (announcement strip)
   -------------------------------------------------- */
body.home .trust-badges {
    padding: 0.85rem 0;
}

body.home .trust-badges__list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

body.home .trust-badge {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

body.home .trust-badge__sub { display: none; }
body.home .trust-badge__label { font-size: 0.68rem; }

@media (max-width: 899px) {
    body.home .site-header .trust-badges {
        padding: 0.4rem 0;
    }

    body.home .site-header .trust-badges__list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
        justify-content: stretch;
    }

    body.home .site-header .trust-badge {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-align: center;
    }

    body.home .site-header .trust-badge__label,
    body.home .site-header .trust-badge__sub {
        display: none;
    }

    body.home .site-header .trust-badge__icon svg {
        width: 20px;
        height: 20px;
    }
}

/* --------------------------------------------------
   STRAIN QUIZ  —  legacy centered layout (not trail)
   -------------------------------------------------- */
.strain-quiz:not(.strain-quiz--trail) {
    padding: 3.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--hp-canvas);
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__heading {
    font-family: var(--hp-font-display);
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: var(--hp-steel);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 0.4rem 0 0;
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__divider {
    width: 3rem;
    height: 2px;
    background: var(--hp-ember);
    margin: 1rem auto 1rem;
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__sub {
    font-family: var(--hp-font-body);
    font-size: 0.88rem;
    color: var(--hp-steel-muted);
    line-height: 1.65;
    max-width: 340px;
    margin: 0 auto 2rem;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__step-label {
    font-family: var(--hp-font-cond);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--hp-steel);
    margin: 0 0 1rem;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 480px;
    margin: 0 auto;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.4rem;
    min-height: 54px;
    width: 100%;
    background: transparent;
    border: 2px solid rgba(228, 230, 234, 0.18);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
    color: var(--hp-steel-muted);
    font-family: var(--hp-font-cond);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option:hover {
    border-color: var(--hp-ember);
    color: var(--hp-steel);
    background: rgba(245, 166, 35, 0.06);
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option:active { transform: scale(0.97); }

/* JS in strain-quiz.js toggles .selected on the chosen button */
.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option.selected {
    background: var(--hp-ember);
    border-color: var(--hp-ember);
    color: #0a0e08;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option-icon {
    font-size: 1.1rem;
    line-height: 1;
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
    color: var(--hp-ember);
    transition: color 0.2s;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option.selected .strain-quiz__option-icon {
    color: #0a0e08;
}

.strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__option-label {
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

/* Result panel — legacy centered quiz only */
.strain-quiz:not(.strain-quiz--trail) .strain-quiz__result {
    max-width: 480px;
    margin: 1.5rem auto 0;
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 16px;
    padding: 2rem;
    background: rgba(10, 14, 8, 0.5);
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__result-name {
    font-family: var(--hp-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--hp-ember);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0.4rem 0 1rem;
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__result-desc {
    font-family: var(--hp-font-body);
    font-size: 0.9rem;
    color: var(--hp-steel-muted);
    line-height: 1.65;
    margin: 0 0 1.75rem;
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__result-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.strain-quiz:not(.strain-quiz--trail) .strain-quiz__restart {
    background: none;
    border: none;
    color: var(--hp-steel-muted);
    font-family: var(--hp-font-cond);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.2s;
    padding: 0;
}
.strain-quiz:not(.strain-quiz--trail) .strain-quiz__restart:hover { opacity: 1; }

/* FDA disclaimer inside quiz */
.strain-quiz:not(.strain-quiz--trail) .strain-quiz__disclaimer {
    font-family: var(--hp-font-cond);
    font-size: 0.65rem;
    color: var(--hp-steel-muted);
    letter-spacing: 0.05em;
    opacity: 0.45;
    margin: 2rem auto 0;
    max-width: 400px;
    line-height: 1.55;
}

/* --------------------------------------------------
   REVIEWS  —  Home3 card style
   -------------------------------------------------- */
body.home .section--reviews {
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.reviews-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

body.home .review-card {
    background: var(--hp-forest);
    padding: 1.5rem;
    border-left: none;
    border: 1px solid rgba(245, 166, 35, 0.4);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: none;
}

body.home .review-card:first-child {
    border-color: rgba(245, 166, 35, 0.55);
}

body.home .review-card__stars {
    color: var(--hp-ember);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    line-height: 1;
}

body.home .review-card__text {
    font-family: var(--hp-font-body);
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--hp-steel);
    flex: 1;
    margin: 0;
    font-style: italic;
}

body.home .review-card__author {
    font-family: var(--hp-font-cond);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hp-steel-muted);
    margin: 0;
}

body.home .review-card__verified {
    color: var(--hp-ember);
    margin-left: 0.25rem;
}

/* --------------------------------------------------
   SOCIAL GRID — reuses About page media blocks
   -------------------------------------------------- */
.social-grid {
    background: transparent;
}

body.home .social-grid .about-media-grid {
    gap: 0;
}

body.home .social-grid .about-media-block {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    min-height: clamp(420px, 42vw, 520px);
}

body.home .social-grid .about-media-grid__item--reconstructed .about-media-block--has-bg {
    background-position: center bottom;
}

/* --------------------------------------------------
   RESPONSIVE
   -------------------------------------------------- */
@media (max-width: 900px) {
    .category-hero {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    .category-hero__card {
        height: 42vw;
        min-height: 180px;
    }
    .reviews-strip {
        grid-template-columns: 1fr;
    }
    body.home .review-card {
        padding: 1.15rem 1.15rem 1.25rem;
    }
}

@media (max-width: 680px) {
    /* Category hero → swipeable horizontal carousel */
    .category-hero {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        height: auto;
        min-height: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0;
    }
    .category-hero::-webkit-scrollbar { display: none; }

    .category-hero__card {
        flex-shrink: 0;
        scroll-snap-align: start;
        width: 76vw;
        height: 360px;
        border-radius: 12px;
        margin-right: 0.75rem;
    }
    .category-hero__card:first-child { margin-left: 1.25rem; }
    .category-hero__card:last-child  { margin-right: 1.25rem; }

    .carousel-dots { display: flex; }

    .trust-strip__grid {
        gap: 0.85rem 1rem;
    }
}

@media (max-width: 520px) {
    .strain-quiz:not(.strain-quiz--v2):not(.strain-quiz--trail) .strain-quiz__options {
        padding: 0 1.25rem;
    }
}

@media (max-width: 420px) {
    body.home .trust-badge__label { display: none; }
    body.home .trust-badges__list { gap: 0.4rem; }
}
