/* ==========================================================================
   Only Natural — main.css
   --------------------------------------------------------------------------
   Section guide:
     1.  Tokens & resets
     2.  Typography
     3.  Layout helpers (containers, grid)
     4.  Buttons & form controls
     5.  Top bar (announcement strip)
     6.  Free shipping progress bar
     7.  Header & primary nav
     8.  Hero
     9.  Ticker
     10. Trust strip
     11. Categories grid
     12. Featured products grid
     13. Editorial quote
     14. Testimonials
     15. Newsletter
     16. Footer
     17. Generic page / breadcrumb / single-post
     18. Product page (single-product)
     19. Tabs / accordion (product page)
     20. Pairs well with
     21. Utilities + responsive tweaks
   ========================================================================== */


/* ==========================================================================
   1. Tokens & resets
   ========================================================================== */
:root {
    /* Color tokens — see HANDOFF.md for rationale */
    --bg:           #F7F2E5;
    --bg-warm:      #F0E8D2;
    --paper:        #FFFFFF;
    --ink:          #14180F;
    --ink-soft:     #6B7269;
    --ink-faint:    #B5B6A8;
    --line:         #E8E2D0;
    --green:        #2D4A3A;
    --green-deep:   #1F3528;
    --green-light:  #DCE5D8;
    --leaf:         #6B9F5B;
    --kraft:        #C9A878;
    --kraft-deep:   #9B7E50;
    --kraft-pale:   #EBD8B5;
    --gold:         #B8956A;

    /* Type scale */
    --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --fs-xxs: 0.75rem;   /* 12px */
    --fs-xs:  0.8125rem; /* 13px */
    --fs-sm:  0.875rem;  /* 14px */
    --fs-base: 1rem;     /* 16px */
    --fs-md:  1.125rem;  /* 18px */
    --fs-lg:  1.375rem;  /* 22px */
    --fs-xl:  1.75rem;   /* 28px */
    --fs-2xl: 2.5rem;    /* 40px */
    --fs-3xl: 3.5rem;    /* 56px */
    --fs-4xl: 4.5rem;    /* 72px */

    /* Spacing */
    --gap-xs: 0.5rem;
    --gap-sm: 0.75rem;
    --gap:    1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2rem;
    --gap-xl: 3rem;
    --gap-2xl: 5rem;

    /* Layout */
    --container: 1280px;
    --container-narrow: 960px;
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 18px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(20,24,15,0.04), 0 1px 3px rgba(20,24,15,0.05);
    --shadow:    0 4px 12px rgba(20,24,15,0.06), 0 2px 4px rgba(20,24,15,0.04);
    --shadow-lg: 0 12px 32px rgba(20,24,15,0.08), 0 4px 8px rgba(20,24,15,0.05);

    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.55;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--green-deep);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Skip link — accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: var(--ink);
    color: #fff;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    color: #fff;
}

/* Focus styles — visible without being ugly */
:focus-visible {
    outline: 2px solid var(--leaf);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

::selection {
    background: var(--green);
    color: #fff;
}


/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.4em;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); letter-spacing: -0.02em; }
h6 { font-size: var(--fs-base); letter-spacing: 0; text-transform: uppercase; font-weight: 700; }

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
}

.eyebrow--muted {
    color: var(--ink-soft);
}

/* Editorial italic accent — pulls from pouch voice */
.italic-accent,
em.accent,
.editorial em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
    letter-spacing: -0.02em;
}

.lede {
    font-size: var(--fs-md);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
}

.section-title {
    font-size: var(--fs-2xl);
    margin-bottom: 0.5rem;
}

.section-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.section-intro {
    color: var(--ink-soft);
    font-size: var(--fs-md);
    max-width: 50ch;
    margin: 0 auto 2.5rem;
}


/* ==========================================================================
   3. Layout helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--gap-2xl) 0;
}

.section--tight {
    padding: var(--gap-xl) 0;
}

.section--warm {
    background: var(--bg-warm);
}

.section--cream {
    background: var(--bg);
}

.section--green {
    background: var(--green);
    color: #fff;
}

.section--green h1,
.section--green h2,
.section--green h3 {
    color: #fff;
}

.section-head {
    text-align: center;
    margin-bottom: var(--gap-xl);
}

.section-head--left {
    text-align: left;
}

.grid {
    display: grid;
    gap: var(--gap-md);
}

.grid--2  { grid-template-columns: repeat(2, 1fr); }
.grid--3  { grid-template-columns: repeat(3, 1fr); }
.grid--4  { grid-template-columns: repeat(4, 1fr); }


/* ==========================================================================
   4. Buttons & form controls
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1.5px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 1px 0 rgba(20, 24, 15, 0.06), 0 6px 16px -8px rgba(45, 74, 58, 0.45);
}
.btn--primary:hover,
.btn--primary:focus {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(20, 24, 15, 0.08), 0 10px 24px -10px rgba(45, 74, 58, 0.55);
}

.btn--secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--secondary:hover {
    background: var(--ink);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn--ghost:hover {
    background: var(--green);
    color: #fff;
}

.btn--leaf {
    background: var(--leaf);
    color: #fff;
    border-color: var(--leaf);
}
.btn--leaf:hover {
    background: #5a8b4c;
    border-color: #5a8b4c;
    color: #fff;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn--lg {
    padding: 1.125rem 2rem;
    font-size: var(--fs-base);
}

/* Form controls */
.input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: var(--fs-base);
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    transition: border-color var(--transition);
}

.input:focus {
    outline: none;
    border-color: var(--green);
}

.input::placeholder {
    color: var(--ink-faint);
}

/* Quantity stepper */
.qty {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    overflow: hidden;
}

.qty button {
    width: 40px;
    height: 44px;
    font-size: 1.25rem;
    color: var(--ink-soft);
    transition: color var(--transition);
}

.qty button:hover {
    color: var(--ink);
}

.qty input {
    width: 40px;
    height: 44px;
    border: 0;
    background: transparent;
    text-align: center;
    font-family: inherit;
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--ink);
    /* hide native spinner */
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ==========================================================================
   5. Top bar (single centred message — free-shipping aware)
   ========================================================================== */
.topbar {
    background: var(--ink);
    color: #fff;
    font-size: var(--fs-xs);
    letter-spacing: 0.04em;
    padding: 0.65rem 0;
    text-align: center;
}

.topbar__msg {
    color: #fff;
    line-height: 1.4;
}

.topbar__msg strong {
    color: #fff;
    font-weight: 700;
}

/* When the threshold is met, switch the strong colour to leaf for emphasis */
.topbar.is-met .topbar__msg strong {
    color: var(--leaf);
}

/* WooCommerce price markup inside the message — keep it inline and styled */
.topbar__msg .woocommerce-Price-amount,
.topbar__msg .woocommerce-Price-currencySymbol {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}


/* ==========================================================================
   6. (reserved — was: free shipping progress bar; now part of top bar)
   ========================================================================== */


/* ==========================================================================
   7. Header & primary nav
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 242, 229, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 0;
}

.site-header__nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.site-header__nav a {
    color: var(--ink);
    font-size: 0.9375rem; /* 15px — slightly larger than fs-sm to match the bigger logo */
    font-weight: 600;
    letter-spacing: 0.01em;
    position: relative;
}

.site-header__nav a:hover {
    color: var(--green);
}

.site-header__nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.site-header__nav a:hover::after,
.site-header__nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-logo {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
}

.site-logo a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

/* When a custom logo image is uploaded via Customize → Site Identity */
.site-logo .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-logo .custom-logo {
    max-height: 72px;
    width: auto;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 720px) {
    .site-logo .custom-logo {
        max-height: 48px;
        max-width: 220px;
    }
}

.site-header__tools {
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
    align-items: center;
}

.site-header__tools a,
.site-header__tools button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--ink);
    position: relative;
    transition: background var(--transition), color var(--transition);
}

.site-header__tools a:hover,
.site-header__tools button:hover {
    background: var(--green-light);
    color: var(--green);
}

.site-header__tools svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--green);
    color: #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* Mobile menu toggle — hidden on desktop */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--ink);
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
}

/* Mobile nav drawer */
@media (max-width: 860px) {
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    /* Hide the desktop nav links — drawer takes over below */
    .site-header__nav--desktop {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }
}


/* ==========================================================================
   7b. Mobile drawer (separate element, lives outside <header>)
   --------------------------------------------------------------------------
   Used at <=860px only. Slides in from the left, full viewport height,
   with a dimmed backdrop behind it. Markup is in header.php just after
   </header>.
   ========================================================================== */

.mobile-drawer,
.mobile-drawer-backdrop {
    /* Hidden completely on desktop — only show on mobile */
    display: none;
}

@media (max-width: 860px) {

    .mobile-drawer-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 998;
        background: rgba(20, 24, 15, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 240ms ease;
    }

    .mobile-drawer-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-drawer {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 999;
        width: 86%;
        max-width: 360px;
        background: var(--bg);
        box-shadow: 6px 0 24px rgba(20, 24, 15, 0.18);
        transform: translateX(-100%);
        transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-drawer.is-open {
        transform: translateX(0);
    }

    /* Drawer head */
    .mobile-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--line);
    }

    .mobile-drawer__title {
        font-size: var(--fs-xs);
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--green);
    }

    .mobile-drawer__close {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: var(--ink);
        background: transparent;
        cursor: pointer;
        transition: background var(--transition);
    }

    .mobile-drawer__close:hover,
    .mobile-drawer__close:focus-visible {
        background: var(--green-light);
    }

    .mobile-drawer__close svg {
        width: 22px;
        height: 22px;
    }

    /* Primary nav inside the drawer */
    .mobile-drawer__nav {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0;
        flex: 1;
    }

    .mobile-drawer__nav a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: var(--fs-md);
        font-weight: 600;
        color: var(--ink);
        text-decoration: none;
        border-bottom: 1px solid var(--line);
        transition: background var(--transition), color var(--transition);
    }

    .mobile-drawer__nav a:hover,
    .mobile-drawer__nav a:focus-visible {
        background: var(--green-light);
        color: var(--green-deep);
    }

    /* WordPress wraps menu items in <li> — flatten that */
    .mobile-drawer__nav ul,
    .mobile-drawer__nav li {
        list-style: none;
        margin: 0;
        padding: 0;
        display: block;
    }

    /* Tools row at the bottom of the drawer */
    .mobile-drawer__tools {
        display: flex;
        flex-direction: column;
        padding: 1rem 0 1.5rem;
        background: var(--bg-warm);
        border-top: 1px solid var(--line);
        margin-top: auto;
    }

    .mobile-drawer__tool {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 0.875rem 1.5rem;
        font-size: var(--fs-sm);
        font-weight: 600;
        color: var(--ink);
        text-decoration: none;
        transition: background var(--transition);
    }

    .mobile-drawer__tool:hover,
    .mobile-drawer__tool:focus-visible {
        background: rgba(45, 74, 58, 0.08);
        color: var(--green-deep);
    }

    .mobile-drawer__tool svg {
        width: 18px;
        height: 18px;
        color: var(--green);
        flex-shrink: 0;
    }

    .mobile-drawer__count {
        color: var(--green);
        font-weight: 700;
    }
}


/* ==========================================================================
   8. Hero
   ========================================================================== */
.hero {
    padding: var(--gap-2xl) 0 var(--gap-xl);
    overflow: hidden;
    position: relative;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--gap-2xl);
    align-items: center;
}

.hero__copy h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    line-height: 0.98;
    margin-bottom: 1.25rem;
}

.hero__copy h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
    display: block;
}

.hero__lede {
    font-size: var(--fs-md);
    color: var(--ink-soft);
    max-width: 44ch;
    margin-bottom: 2rem;
    line-height: 1.55;
}

.hero__cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero__meta {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.hero__meta-divider {
    width: 1px;
    height: 16px;
    background: var(--line);
}

/* Three-pouch composition */
.hero__visual {
    position: relative;
    aspect-ratio: 1 / 1.05;
    display: grid;
    place-items: center;
}

.hero__pouches {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__pouch {
    position: absolute;
    border-radius: 8px 8px 4px 4px;
    overflow: hidden;
    background: var(--kraft-pale);
    box-shadow: var(--shadow-lg);
}

.hero__pouch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__pouch--center {
    width: 56%;
    aspect-ratio: 0.78 / 1;
    left: 22%;
    top: 8%;
    z-index: 3;
    transform: rotate(0deg);
}

.hero__pouch--left {
    width: 44%;
    aspect-ratio: 0.78 / 1;
    left: 0;
    top: 22%;
    z-index: 2;
    transform: rotate(-7deg);
    opacity: 0.95;
}

.hero__pouch--right {
    width: 44%;
    aspect-ratio: 0.78 / 1;
    right: 0;
    top: 22%;
    z-index: 1;
    transform: rotate(7deg);
    opacity: 0.95;
}

/* Placeholder pouches — kraft body with deep green band, no product labels.
   The decorative leaf mark on the band ties to the brand without naming
   any specific product. */
.hero__pouch.is-placeholder {
    background:
        linear-gradient(180deg, var(--kraft) 0%, var(--kraft) 18%, transparent 18%, transparent 82%, var(--kraft) 82%, var(--kraft) 100%),
        linear-gradient(180deg, var(--green) 0%, var(--green) 100%);
    background-size: 100% 100%, 100% 14%;
    background-position: 0 0, 0 50%;
    background-repeat: no-repeat;
}

.hero__pouch.is-placeholder::after {
    /* Small decorative leaf icon, centred on the green band */
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='0.85'><path d='M21 3c0 9-6 14-13 14a8 8 0 0 1-5-2c0-7 5-13 13-13 2 0 4 0.5 5 1z'/><path d='M3 21c4-6 9-10 18-12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

@media (max-width: 860px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--gap-xl);
    }
    .hero__visual {
        max-width: 480px;
        margin: 0 auto;
        aspect-ratio: 1 / 1;
    }
}


/* ==========================================================================
   9. Ticker
   ========================================================================== */
.ticker {
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticker__track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ticker__item span:nth-child(2) {
    color: var(--leaf);
}

.ticker__dot {
    width: 6px;
    height: 6px;
    background: var(--leaf);
    border-radius: 50%;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ticker__track { animation: none; }
}


/* ==========================================================================
   10. Trust strip
   ========================================================================== */
.trust {
    padding: var(--gap-xl) 0;
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

.trust__item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--line);
}

.trust__num {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--green);
    letter-spacing: 0.18em;
    font-feature-settings: 'tnum';
}

.trust__title {
    font-size: var(--fs-md);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.trust__copy {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    line-height: 1.55;
}

@media (max-width: 720px) {
    .trust__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
    }
}

@media (max-width: 480px) {
    .trust__grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   11. Categories grid (Shop by goal)
   ========================================================================== */
.cats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

.cat-card {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    color: var(--ink);
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green-light);
    color: var(--ink);
}

.cat-card__count {
    align-self: flex-start;
    font-size: var(--fs-xxs);
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--green);
    text-transform: uppercase;
}

.cat-card__title {
    font-size: var(--fs-xl);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
    color: var(--ink);
}

.cat-card__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.cat-card__arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    transition: transform var(--transition);
}

.cat-card:hover .cat-card__arrow {
    transform: translateX(2px);
}

.cat-card__arrow svg {
    width: 14px;
    height: 14px;
}

/* Decorative leafy mark in the corner */
.cat-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--green-light);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

.cat-card > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {
    .cats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .cats__grid { grid-template-columns: 1fr; }
    .cat-card { aspect-ratio: 16 / 9; }
}


/* ==========================================================================
   12. Featured products grid
   ========================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-md);
}

.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--ink);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.product-card__media {
    aspect-ratio: 1 / 1;
    background: var(--paper);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

/* Placeholder mock pouch for products with no image yet */
.product-card__media.is-placeholder {
    background: var(--bg-warm);
}

.product-card__media.is-placeholder::after {
    content: attr(data-label);
    color: var(--ink-faint);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    background: var(--ink);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
}

.product-card__badge--new   { background: var(--leaf); }
.product-card__badge--sale  { background: #c25e3a; }
.product-card__badge--limited { background: var(--kraft-deep); }

.product-card__body {
    padding: 1rem 1.125rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.product-card__cat {
    font-size: var(--fs-xxs);
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--green);
    text-transform: uppercase;
}

.product-card__title {
    font-size: var(--fs-md);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    color: var(--ink);
}

.product-card__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.stars {
    display: inline-flex;
    color: var(--gold);
    letter-spacing: 0;
}

.stars svg {
    width: 13px;
    height: 13px;
}

.product-card__price {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: var(--fs-md);
    font-weight: 800;
    color: var(--ink);
}

.product-card__price del {
    color: var(--ink-faint);
    font-weight: 500;
    font-size: var(--fs-sm);
    text-decoration: line-through;
}

.product-card__price ins {
    text-decoration: none;
    color: var(--ink);
}

@media (max-width: 860px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   13. Editorial quote
   ========================================================================== */
.editorial {
    background: var(--green);
    color: #fff;
    padding: var(--gap-2xl) 0;
    text-align: center;
}

.editorial__inner {
    max-width: 880px;
    margin: 0 auto;
}

.editorial__mark {
    font-family: 'Hanken Grotesk', serif;
    font-size: 5rem;
    line-height: 0;
    color: var(--leaf);
    margin: 0 auto 1.5rem;
    display: block;
}

.editorial__quote {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 1.5rem;
}

.editorial__quote em {
    font-style: italic;
    font-weight: 300;
    color: var(--leaf);
}

.editorial__attr {
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-light);
    opacity: 0.85;
}

.editorial__attr-name {
    color: #fff;
    margin-right: 0.5rem;
}


/* ==========================================================================
   14. Testimonials
   ========================================================================== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

.review-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-card__verified {
    font-size: var(--fs-xxs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--leaf);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.review-card__title {
    font-size: var(--fs-md);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0;
}

.review-card__body {
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
}

.review-card__author {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    margin-top: auto;
}

.review-card__author strong {
    color: var(--ink);
    font-weight: 700;
}

@media (max-width: 860px) {
    .testimonials__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   15. Newsletter
   ========================================================================== */
.newsletter {
    background: var(--ink);
    color: #fff;
    padding: var(--gap-2xl) 0;
    text-align: center;
}

.newsletter__inner {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.newsletter h2 em {
    font-style: italic;
    font-weight: 300;
    color: var(--leaf);
}

.newsletter p {
    color: rgba(255,255,255,0.7);
    font-size: var(--fs-md);
    margin-bottom: 2rem;
}

.newsletter__form {
    display: flex;
    gap: 0.5rem;
    max-width: 460px;
    margin: 0 auto 1rem;
}

.newsletter__form .input {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.16);
    color: #fff;
}

.newsletter__form .input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter__form .input:focus {
    border-color: var(--leaf);
    background: rgba(255,255,255,0.1);
}

.newsletter__small {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.5);
}

@media (max-width: 560px) {
    .newsletter__form {
        flex-direction: column;
    }
}


/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer {
    background: var(--bg-warm);
    color: var(--ink);
    padding: var(--gap-2xl) 0 var(--gap-md);
    border-top: 1px solid var(--line);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--gap-xl);
    padding-bottom: var(--gap-xl);
}

.site-footer__brand h3 {
    font-size: var(--fs-xl);
    margin-bottom: 0.5rem;
}

.site-footer__brand h3 em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.site-footer__brand p {
    color: var(--ink-soft);
    font-size: var(--fs-sm);
    line-height: 1.6;
    max-width: 36ch;
    margin-bottom: 1rem;
}

.site-footer__social {
    display: flex;
    gap: 0.5rem;
}

.site-footer__social a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--paper);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.site-footer__social a:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.site-footer__social svg {
    width: 16px;
    height: 16px;
}

.site-footer__col h4 {
    font-size: var(--fs-xxs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--green);
    margin-bottom: 1rem;
}

.site-footer__col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.site-footer__col a {
    color: var(--ink);
    font-size: var(--fs-sm);
}

.site-footer__col a:hover {
    color: var(--green);
}

.site-footer__bottom {
    padding-top: var(--gap-md);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.site-footer__bottom a {
    color: var(--ink-soft);
}

.site-footer__bottom a:hover {
    color: var(--green);
}

@media (max-width: 860px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-lg);
    }
    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   17. Generic page / breadcrumb / single post
   ========================================================================== */
.page-content {
    padding: var(--gap-xl) 0 var(--gap-2xl);
    max-width: 760px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: 1rem;
}

.page-content h2 {
    margin-top: 2.5rem;
}

.page-content h3 {
    margin-top: 2rem;
}

.page-content p,
.page-content li {
    color: var(--ink);
    line-height: 1.7;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.5rem 1.25rem;
    padding-left: 1rem;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content blockquote {
    border-left: 3px solid var(--green);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--ink-soft);
    font-style: italic;
}

.page-content code {
    background: var(--bg-warm);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-size: 0.92em;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0 0;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.breadcrumb a {
    color: var(--ink-soft);
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb__sep {
    margin: 0 0.5rem;
    color: var(--ink-faint);
}


/* ==========================================================================
   18. Product page (single-product)
   ========================================================================== */
.product-page {
    padding: var(--gap-md) 0 var(--gap-2xl);
}

.product-page__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--gap-2xl);
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
}

.product-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-gallery__thumb {
    width: 80px;
    height: 80px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: border-color var(--transition);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.2rem;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    border-color: var(--green);
}

.product-gallery__main {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

/* Info column */
.product-info__eyebrow {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 0.75rem;
}

.product-info h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.product-info h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.product-info__rating {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

.product-info__rating a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-info__lede {
    font-size: var(--fs-md);
    line-height: 1.55;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

/* Benefit pills */
.benefit-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: var(--green-light);
    color: var(--green-deep);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
}

.benefit-pill svg {
    width: 13px;
    height: 13px;
}

/* Single price block */
.price-block {
    padding: 0.5rem 0 1.25rem;
    margin-bottom: 1.25rem;
    max-width: 460px;
    border-bottom: 1px solid var(--line);
}

.price-block__price {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}

.price-block__amount {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}

.price-block__amount del {
    color: var(--ink-faint);
    font-weight: 500;
    font-size: 1.25rem;
    text-decoration: line-through;
    margin-right: 0.25rem;
}

.price-block__per {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

.price-block__stock {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--leaf);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.price-block__stock::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--leaf);
    border-radius: 50%;
}

.price-block__stock--low {
    color: var(--kraft-deep);
}
.price-block__stock--low::before { background: var(--kraft-deep); }

/* Cart actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    /* Cap the column width so buttons don't stretch absurdly wide on
       large screens. The product info column is already constrained,
       but this keeps the buttons in a comfortable touch-friendly size. */
    max-width: 460px;
}

.cart-actions form {
    margin: 0;
}

.cart-actions__row {
    display: flex;
    gap: 0.625rem;
    align-items: stretch;
}

/* The qty stepper sits flush against the Add to bag button — they read
   as one unit visually. */
.cart-actions__row .qty {
    flex: 0 0 auto;
    height: 54px;
    border-color: var(--ink);
    border-width: 1.5px;
    background: var(--paper);
}

.cart-actions__row .qty button,
.cart-actions__row .qty input {
    height: 100%;
}

.cart-actions__row .qty button {
    width: 44px;
    font-size: 1.1rem;
    color: var(--ink);
}

.cart-actions__row .qty input {
    width: 44px;
    font-size: var(--fs-sm);
}

.cart-actions__row .btn {
    flex: 1;
    height: 54px;
    padding: 0 1.75rem;
    font-size: var(--fs-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   Buy Now button — restyled as outlined ghost so it complements rather than
   competes with the primary "Add to bag" button. The leaf-green fill was
   visually too loud on the cream page; deep-green outlined reads as a
   considered "express checkout" affordance.
   --------------------------------------------------------------------------- */
.btn--buynow {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
    height: 54px;
    width: 100%;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all var(--transition);
}

.btn--buynow:hover,
.btn--buynow:focus {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -8px rgba(45, 74, 58, 0.4);
}

@media (max-width: 480px) {
    .cart-actions__row .btn {
        padding: 0 1rem;
    }
    .cart-actions__row .qty button { width: 38px; }
    .cart-actions__row .qty input { width: 36px; }
}

/* Guarantee row */
.guarantee-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-warm);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.guarantee-row__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.guarantee-row__item svg {
    width: 22px;
    height: 22px;
    color: var(--green);
}

.guarantee-row__item strong {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
    line-height: 1.2;
}

.guarantee-row__item span {
    font-size: var(--fs-xxs);
    color: var(--ink-soft);
}

@media (max-width: 860px) {
    .product-page__grid {
        grid-template-columns: 1fr;
        gap: var(--gap-xl);
    }
    .product-gallery {
        position: static;
        grid-template-columns: 1fr;
    }
    .product-gallery__thumbs {
        flex-direction: row;
        overflow-x: auto;
        order: 2;
    }
    .product-gallery__main {
        order: 1;
    }
    .guarantee-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .guarantee-row__item {
        flex-direction: row;
        text-align: left;
    }
}


/* ==========================================================================
   19. Tabs / accordion (product page)
   ========================================================================== */
.product-tabs {
    margin-top: var(--gap-2xl);
    border-top: 1px solid var(--line);
    padding-top: var(--gap-xl);
}

.tabs-nav {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 2rem;
    overflow-x: auto;
}

.tabs-nav button {
    padding: 1rem 0;
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--transition), border-color var(--transition);
    margin-bottom: -1px;
}

.tabs-nav button.is-active,
.tabs-nav button:hover {
    color: var(--ink);
    border-bottom-color: var(--green);
}

.tab-panel {
    display: none;
    max-width: 720px;
}

.tab-panel.is-active {
    display: block;
}

.tab-panel h3 {
    font-size: var(--fs-lg);
    margin-bottom: 0.75rem;
}

.tab-panel h3:not(:first-child) {
    margin-top: 1.75rem;
}

.tab-panel p {
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.tab-panel ul {
    margin: 0 0 1.25rem 1.25rem;
    list-style: disc;
}

.tab-panel ul li {
    color: var(--ink-soft);
    line-height: 1.55;
    margin-bottom: 0.4rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.spec-table tr {
    border-bottom: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
    text-align: left;
    padding: 0.75rem 0;
    font-size: var(--fs-sm);
}

.spec-table th {
    font-weight: 600;
    color: var(--ink-soft);
    width: 35%;
}

.spec-table td {
    color: var(--ink);
    font-weight: 600;
}

/* Reviews summary inside Reviews tab */
.reviews-summary {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--bg-warm);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.reviews-summary__score {
    text-align: center;
}

.reviews-summary__num {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.04em;
}

.reviews-summary__count {
    font-size: var(--fs-xs);
    color: var(--ink-soft);
    margin-top: 0.25rem;
}

.reviews-summary__bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reviews-bar {
    display: grid;
    grid-template-columns: 60px 1fr 30px;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-xs);
    color: var(--ink-soft);
}

.reviews-bar__track {
    height: 6px;
    background: rgba(0,0,0,0.06);
    border-radius: 999px;
    overflow: hidden;
}

.reviews-bar__fill {
    height: 100%;
    background: var(--gold);
    border-radius: 999px;
}

@media (max-width: 560px) {
    .reviews-summary {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   20. Pairs well with
   ========================================================================== */
.pairs-with {
    padding: var(--gap-2xl) 0;
    border-top: 1px solid var(--line);
    margin-top: var(--gap-2xl);
}

.pairs-with__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--gap-lg);
    flex-wrap: wrap;
    gap: 1rem;
}

.pairs-with__head h2 {
    font-size: var(--fs-xl);
    margin: 0;
}

.pairs-with__head h2 em {
    font-style: italic;
    font-weight: 300;
    color: var(--green);
}

.pairs-with__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-md);
}

@media (max-width: 860px) {
    .pairs-with__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .pairs-with__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   21. Utilities + responsive tweaks
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hide-mobile {
    display: revert;
}
@media (max-width: 720px) {
    .hide-mobile { display: none !important; }
}

.show-mobile {
    display: none;
}
@media (max-width: 720px) {
    .show-mobile { display: revert; }
}

/* Small-screen typography tweak */
@media (max-width: 560px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.375rem; }
    .section { padding: var(--gap-xl) 0; }
    .section-head { margin-bottom: var(--gap-lg); }
}


/* ==========================================================================
   22. Cart toast notification
   --------------------------------------------------------------------------
   Small kraft-and-green pill that slides up from the bottom-right when a
   product is added to the bag. Replaces WC's default "added to cart"
   banner on shop archive + product pages. Behaviour: 3.5s auto-dismiss
   (paused on hover), or × to dismiss early.
   ========================================================================== */
.on-toast-container {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.on-toast {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem 0.875rem 1.125rem;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 28px -10px rgba(20, 24, 15, 0.45), 0 4px 8px rgba(20, 24, 15, 0.18);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
    max-width: 360px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 240ms ease, transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.on-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.on-toast.is-leaving {
    opacity: 0;
    transform: translateY(8px);
    transition-duration: 240ms;
}

.on-toast__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--leaf);
    color: #fff;
}

.on-toast__icon svg {
    width: 13px;
    height: 13px;
}

.on-toast__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.on-toast__close {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: color var(--transition), background var(--transition);
    margin-left: 0.25rem;
}

.on-toast__close:hover,
.on-toast__close:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.on-toast__close svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 560px) {
    .on-toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .on-toast {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .on-toast {
        transition: opacity 200ms linear;
        transform: none !important;
    }
}
