/* Built by website/local/scripts/build_css.py from assets/css/manifest.json. Edit the sources, then rebuild. */

/* fonts.css */
/* Self-hosted Levoro fonts, latin subset. Regenerate with scripts/self_host_fonts.py. */


@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../../fonts/CormorantGaramond-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../../fonts/CormorantGaramond.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../../fonts/Manrope.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback faces: written by self_host_fonts.py from the font files' own metrics. */

@font-face {
  font-family: 'Manrope Fallback Arial';
  src: local('Arial'), local('ArialMT');
  size-adjust: 104.14%;
  ascent-override: 102.37%;
  descent-override: 28.81%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope Fallback Roboto';
  src: local('Roboto'), local('Roboto-Regular');
  size-adjust: 102.21%;
  ascent-override: 104.29%;
  descent-override: 29.35%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond Fallback Georgia';
  src: local('Georgia');
  size-adjust: 88.96%;
  ascent-override: 103.87%;
  descent-override: 32.26%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond Fallback Noto Serif';
  src: local('Noto Serif'), local('NotoSerif-Regular');
  size-adjust: 82.45%;
  ascent-override: 112.07%;
  descent-override: 34.81%;
  line-gap-override: 0.00%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Each theme font's aspect (self_host_fonts.py, ASPECT_TOKENS): the CSS build pairs it with every declaration of its stack. */
:root {
  --font-display-aspect: none;
  --font-body-aspect: 0.54;
}

/* tokens.css */
/*
 * Levoro design tokens.
 *
 * These match the locked palette and typography from the static HTML mocks
 * in website/design-files/. Anything else (base, components, layout, page-*)
 * MUST consume these tokens — never hardcode hex values elsewhere.
 */

:root {
    /* Brand colour palette — earthy luxury with refined depth */
    --color-primary:    #2B2520;
    --color-secondary:  #8B6F47;
    --color-accent:     #A67C52;
    --color-bg-light:   #FAF8F5;
    --color-bg-warm:    #F5F0E8;
    --color-text-dark:  #1A1614;
    --color-text-mid:   #6B5D52;
    --color-border:     #E8DFD3;

    /* Functional aliases */
    --color-on-primary: #FAF8F5;
    /* --color-secondary measures 4.15:1 on the cream background, so
     * link text uses the AA-safe variant. The brand colour stays for
     * fills, rules and display type. */
    --color-link:       var(--color-accent-text);
    --color-link-hover: var(--color-primary);

    /* Display-heading colour. Retargeted by .on-dark (base.css) so a
     * heading inside a dark section stops painting itself in the same
     * colour as that section's background. */
    --heading-color:    var(--color-primary);

    /* Small-text-safe variants of the brand colours.
     *
     * At label and body sizes the brand palette does not clear WCAG AA
     * (4.5:1). Measured against #FFF / #FAF8F5 / #F5F0E8:
     *   --color-accent  #A67C52 -> 3.73 / 3.52 / 3.29   fails
     *   --color-second. #8B6F47 -> 4.71 / 4.44 / 4.15   fails on cream
     * Use the brand colours for fills, rules and large display type;
     * use these for anything at label, link or body size. */
    --color-accent-text:    #6E5638;  /* 6.88 / 6.49 / 6.07 */
    --color-success-text:   #3D7350;  /* 5.58 / 5.26 / 4.91 */
    --color-accent-on-dark: #C29B6E;  /* 5.91 on --color-primary        */

    /* Eyebrow labels. Retargeted by .on-dark, which is why this is a
     * token and not a literal — every page stylesheet used to redeclare
     * the colour itself and 22 of them picked a failing one. */
    --color-eyebrow:    var(--color-accent-text);

    /* Status / signalling colours. These were repeated as raw hex
     * across 5+ files (cart sidebar, checkout, home, product-detail,
     * wc-overrides) until promoted here. Treat them as semantic, not
     * brand — the goal is consistent meaning across the site. */
    --color-success:        #4A8B5F;  /* free-shipping qualified, savings rows  */
    --color-success-soft:   rgba(74, 139, 95, 0.06);
    --color-error:          #B23A48;  /* form validation, error notices         */
    --color-error-soft:     rgba(178, 58, 72, 0.06);
    --color-stock-in:       #6FCF8B;  /* solid green dot — plentiful stock      */
    --color-stock-low:      #D9A14B;  /* solid amber dot — low stock            */
    --color-stock-low-text: #B5832F;  /* amber on cream — low-stock label       */
    /* Star rating. WCAG 1.4.11 asks 3:1 for non-text UI; the old pair
     * (#D9A14B filled on #E8DFD3 empty) measured 2.30 and 1.32 against
     * white. These clear it — 3.35 and 3.27 — and the control also
     * switches glyph (★ / ☆) so state is not carried by colour alone. */
    --color-rating-star:    #B8822F;  /* filled star   — 3.35 on white          */
    --color-star-empty:     #9C8C74;  /* unfilled star — 3.27 on white          */

    /* Typography */
    /* Each font, then its metric-matched fallbacks (fonts.css), so the swap
     * when it arrives moves nothing (SF87), then the generic family. */
    --font-display: 'Cormorant Garamond', 'Cormorant Garamond Fallback Georgia', 'Cormorant Garamond Fallback Noto Serif', Georgia, serif;
    --font-body:    'Manrope', 'Manrope Fallback Arial', 'Manrope Fallback Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing scale */
    --spacing-xs:  8px;
    --spacing-sm:  16px;
    --spacing-md:  24px;
    --spacing-lg:  48px;
    --spacing-xl:  80px;
    --spacing-xxl: 120px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-soft:  0 6px 18px rgba(43, 37, 32, 0.06);
    --shadow-card:  0 14px 40px rgba(43, 37, 32, 0.08);
    --shadow-modal: 0 32px 64px rgba(43, 37, 32, 0.18);

    /* Layout */
    --container-max: 1280px;

    /* Fixed-header chrome.
     *
     * The announcement bar and the primary nav are both position:fixed,
     * so every page's first element has to clear them itself. --nav-height
     * used to say 76px, had zero consumers, and was 24px short of reality.
     *
     * Measured on the running site: the nav is 2 x --spacing-md + a 51.19px
     * logo line box + a 1px border, so it shrinks with the spacing scale.
     *   >=561px  24px spacing -> nav 100.19  -> offset 136
     *   401-560  20px spacing -> nav  92.19  -> offset 128
     *   <=400    16px spacing -> nav  84.19  -> offset 120
     * Rounded down to the whole pixel below the measurement so content
     * butts against the nav rather than leaving a hairline gap.
     *
     * Consume --header-offset for main's top padding (base.css), sticky `top` and
     * scroll-margin-top. Do not re-measure and hardcode a 25th copy. */
    --announce-height: 36px;
    --nav-height:      100px;
    --header-offset:   136px;

    /* Motion */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ── Responsive spacing scale ─────────────────────────────────────
 * The large steps do double duty across the whole theme: vertical
 * section rhythm AND horizontal page gutters. At their desktop values
 * a 360px phone lost 96px (--spacing-lg twice) to gutters before any
 * content rendered — and where a gutter-owning section nested inside
 * `.container` they stacked to 120px, i.e. a third of the screen.
 *
 * Scaling the tokens themselves fixes all ~360 consumers in one
 * place. Per-page mobile overrides are the thing this replaces: if a
 * page needs a tighter gutter on phones, it almost certainly just
 * needed the scale to shrink. Only `padding` / `margin` / `gap`
 * consume these tokens (no widths or font sizes), so shrinking them
 * cannot resize a component.
 * ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    :root {
        --spacing-xxl: 88px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-lg:  32px;
        --spacing-xl:  56px;
        --spacing-xxl: 72px;
    }
}

@media (max-width: 560px) {
    :root {
        --nav-height:    92px;
        --header-offset: 128px;
        --spacing-md:  20px;
        --spacing-lg:  24px;
        --spacing-xl:  44px;
        --spacing-xxl: 56px;
    }
}

@media (max-width: 400px) {
    :root {
        --nav-height:    84px;
        --header-offset: 120px;
        --spacing-md:  16px;
        --spacing-lg:  20px;
        --spacing-xl:  36px;
        --spacing-xxl: 44px;
    }
}

/* base.css */
/*
 * Levoro base — resets, typography defaults, layout primitives.
 * No component-level styling here.
 */

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

/* Root-level defensive clip on the horizontal axis. Off-canvas
 * panels (cart sidebar, mobile drawer) sit at `right: -100%` while
 * closed, and a few content surfaces (PDP info-card with long
 * unbreakable strings, header chrome on tight viewports) still
 * compute a min-content past the viewport edge. `overflow-x: clip`
 * — supported in every shipping browser back to early 2022 — clips
 * at the layout viewport WITHOUT creating a new scroll container,
 * so `position: sticky` and `fixed` descendants keep working
 * correctly (unlike `overflow-x: hidden`, which establishes a
 * containing block and breaks sticky in the announcement bar /
 * primary nav).
 *
 * We apply on both html and body because some browsers only honour
 * the rule on whichever element won the propagation race. Setting
 * both is belt-and-suspenders. */
html, body {
    overflow-x: clip;
}
html {
    -webkit-text-size-adjust: 100%;
    /* In-page links ("Skip to content", "Explore Collection") are the
     * browser's own jump, which also moves focus to the target; these make
     * it glide and stop below the fixed header. The reduced-motion block
     * below makes it a jump again (audit SF-A1). */
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset);
}

body {
    margin: 0;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    color: var(--color-text-dark);
    background: var(--color-bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset block defaults that the design overrides per-component */
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 200ms var(--ease-out);
}
a:hover, a:focus-visible { color: var(--color-link-hover); }

/* A link inside running text is underlined, so its colour is not all that
 * sets it apart from the words around it (WCAG 1.4.1, audit SF56). No
 * specificity beyond the tag, so a component that styles its own links (a
 * button, a card, a menu) keeps its look. */
:where(main p, main td, main dd, main blockquote, main figcaption) a:where(:not(.btn, .button, [class*="btn-"])) {
    text-decoration: underline;
}

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

input, textarea, select {
    font: inherit;
    color: inherit;
}

/* iOS Safari zooms the viewport in when a tap lands on an input
 * whose computed font-size is below 16px — once zoomed, it doesn't
 * snap back, leaving the user stranded on a too-wide layout. The
 * design system uses 13–15px input copy for visual hierarchy, so
 * we cap it at 16px on tap-capable viewports without disturbing
 * the desktop scale. !important justifies its weight here as an
 * accessibility / UX requirement, not a design override. */
@media (hover: none), (max-width: 700px) {
    input:not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }
}

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

/* Display headings — Cormorant Garamond.
 *
 * Colour goes through --heading-color rather than straight to
 * --color-primary so a section can retarget it. See .on-dark below for
 * why that indirection has to exist. */
h1, h2, h3, .display {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--heading-color, var(--color-primary));
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem);    line-height: 1.1;  }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem);  line-height: 1.2;  }

/* Layout primitives */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--spacing-md);
}

.section { padding-block: var(--spacing-xl); }

.eyebrow {
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-eyebrow);
    font-weight: 600;
}

.muted { color: var(--color-text-mid); }

/*
 * Dark surfaces.
 *
 * Any section that paints itself --color-primary and puts a heading on
 * top hits the same trap: the heading rule above sets an explicit
 * colour, and an explicit rule beats the `color: #fff` the section
 * inherits down. The heading ends up the exact colour of its own
 * backdrop — measured contrast 1.00, i.e. genuinely invisible, not just
 * hard to read. Twelve sections shipped that way.
 *
 * So the foreground palette for a dark section lives here, once, and
 * sections opt in with `class="… on-dark"` instead of each re-declaring
 * `color: white` and hoping. Muted text, borders and links are
 * retargeted too — the light-surface values of those tokens are equally
 * unreadable on brown.
 */
.on-dark {
    color: #fff;
    /* currentColor, not inherit: `inherit` on a custom property inherits
     * the PROPERTY from the parent (i.e. --color-primary again), which
     * is exactly the bug. currentColor defers to use time, where
     * `color: currentColor` resolves to the inherited colour — white. */
    --heading-color: currentColor;
    --color-text-mid: rgba(255, 255, 255, 0.74);
    --color-text-dark: #fff;
    --color-border: rgba(255, 255, 255, 0.18);
    /* --color-accent is only 4.05:1 on this backdrop; the lighter tint
     * clears AA for link and label sizes. */
    --color-link: var(--color-accent-on-dark);
    --color-link-hover: #fff;
    --color-eyebrow: var(--color-accent-on-dark);
    --color-accent-text: var(--color-accent-on-dark);
    --color-success-text: var(--color-success);
}

/* No transition while the page loads (audit SF97): the theme's transitions
   are for a person's actions. WebKit styles the parsed page while these
   stylesheets are still loading, and when they apply each element whose
   style changes runs its declared transition: the closed menu drawer slid
   across a phone's screen and its overlay faded at every load in Safari.
   levoro-features.js adds lvr-ready to <html> once the stylesheets apply;
   until then nothing transitions, whatever a widget's own rule declares
   (hence !important). Without JavaScript the class never comes, and the
   drawer and dialogs open and close without animating, as they do for
   reduced motion. */
html:not(.lvr-ready),
html:not(.lvr-ready) *,
html:not(.lvr-ready) *::before,
html:not(.lvr-ready) *::after {
    transition: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Clearance for the fixed announcement bar + nav: the one <main> (opened
   in header.php) starts below them, so whatever a template prints first,
   a WooCommerce notice included, is never under the header. Until 14 Oct
   each page offset only its own hero, and every notice printed above a
   hero (checkout errors, "added to your cart") sat behind the nav.
   --header-offset is defined once in tokens.css and tracks the three
   breakpoints where the nav changes height. Never hardcode the pixel
   value, and never offset a page's first element again. */
.site-main {
    padding-top: var(--header-offset);
}

/* ── Universal narrow-viewport overrides ─────────────────────────
   Each page CSS duplicates the announcement bar / nav rules at the
   default size, so we patch only the narrow-screen tweaks here. The
   selectors are intentionally generic. */
@media (max-width: 460px) {
    .announcement-bar { padding: 0 8px !important; }
    .announcement-track {
        /* Was 9px, which is below the point where uppercase tracked-out
           Manrope stays legible on a phone. With .ann-secondary hidden
           there is room for 11px. */
        font-size: 11px !important;
        letter-spacing: 0.04em !important;
        gap: var(--spacing-xs) !important;
    }
    .announcement-track .ann-secondary { display: none !important; }
}

/* ── Touch targets ───────────────────────────────────────────────
   Native checkboxes, radios and selects render at ~13-16px, and a
   `<select>` with only inherited padding comes out ~26px tall. All
   three sit below the 44px WCAG 2.5.5 / platform-guideline minimum,
   and every one of them is on the checkout critical path (country,
   state, "ship to a different address", the payment-method radios).

   Sizing the control itself keeps the hit area and the visual in the
   same place — no invisible ::before overlay to get out of sync. */
@media (hover: none), (max-width: 700px) {
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
    }

    select {
        min-height: 44px;
    }

    button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"] {
        min-height: 44px;
    }

    /* A label sitting next to a checkbox / radio is part of the same
       target — give the pair room to breathe so neither is a
       pixel-hunt. */
    label > input[type="checkbox"],
    label > input[type="radio"] {
        margin-right: 4px;
    }
}

/* WordPress's toolbar (signed-in staff), in its own system font
 * (wp-includes/css/admin-bar.css): declared here too so the CSS build pairs
 * it with font-size-adjust: none, which the toolbar's text and its
 * dashicons inherit. Without it they took the body's aspect and were drawn
 * about 4% larger (SF87). */
#wpadminbar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; font-size-adjust: none;
}

/* components.css */
/*
 * Levoro components — site-wide chrome shared by every template.
 *
 * Page-specific styling lives in `assets/css/pages/<slug>.css`. The
 * rules here apply to:
 *   - small a11y utilities (skip link, screen-reader-text)
 *   - the global site footer (chrome rendered by footer.php)
 *
 * The Add to cart buttons have add-to-cart.css; WooCommerce
 * default-element overrides live in dedicated stylesheets loaded
 * alongside this one (wc-overrides.css, wc-forms.css). Splitting
 * by domain keeps each file focused and under the project's 450-line
 * limit.
 */

/* ──────────────────────────────────────────────────────────────────
 * A11y utilities
 * ────────────────────────────────────────────────────────────────── */

/* Visually hidden but available to screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute !important;
    word-wrap: normal !important;
}

/* Skip link: focusable for keyboard users, off screen until focused.
   It is moved up by its own height, whatever its text wraps to, and 16 px
   more: a fixed -40px left the bottom of its 45px box showing above the
   header on every page, and at exactly its own height its anti-aliased
   bottom row painted a 1 px line over the open side panels at 390 (SF120). */
.skip-link {
    position: absolute !important;
    top: 0;
    left: 16px;
    transform: translateY(calc(-100% - 16px));
    background: var(--color-primary);
    color: #fff;
    padding: 12px 16px;
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s;
}
.skip-link:focus {
    transform: translateY(16px);
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* ──────────────────────────────────────────────────────────────────
 * Generic CTA buttons — .btn-primary / .btn-secondary
 *
 * Every design file defines these identically, so the extractor
 * scrubs them as "components.css owns" (see COMMON_SELECTORS in
 * scripts/extract_designs.py) — but they were never actually written
 * here. The result: the homepage hero CTAs, the Our Story footer
 * CTAs, the empty-cart button and the order-confirmation actions all
 * rendered as bare underline-less text links.
 *
 * Values are the design's: 16px/40px padding, 15px 600-weight body
 * type, square corners, primary fill or 2px outline.
 * ────────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    /* min-height keeps the control at a comfortable touch size even
     * when a translation shortens the label. */
    min-height: 48px;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-on-primary);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--color-primary);
    color: #fff;
}

/* On phones a side-by-side CTA pair can't fit two 40px-padded labels
 * on one line, so stack the pair full-width. `.hero-cta` (front page)
 * and `.cta-buttons` (Our Story) are the two containers that hold a
 * pair; anywhere else the button is alone and only needs to not
 * overflow. */
@media (max-width: 560px) {
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
    }

    /* Full width rather than `align-items: stretch` on the container:
     * both containers are declared in their own page CSS, which loads
     * after this file and sets `align-items: center`. Sizing the
     * button is a property those rules don't touch, so it lands
     * without a specificity fight — and a lone CTA elsewhere (empty
     * cart, order confirmation) reads better full-width on a phone
     * too. */
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding-inline: var(--spacing-md);
    }
}

/* ──────────────────────────────────────────────────────────────────
 * Compact button family — .btn + .btn--primary / .btn--ghost
 *
 * A smaller, quieter control than .btn-primary above: used for
 * "View order", "See all", "Track order", "Edit address", the empty
 * cart CTA. Lived in pages/account.css, which only loads on
 * /my-account/ — so the same markup on the product page, order
 * tracking, cart-empty and the 404 rendered as a bare 22px text link.
 * ────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    /* Comfortable touch target without changing the visual weight —
     * padding alone put these at ~34px. */
    min-height: 44px;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background: var(--color-bg-warm);
    border-color: var(--color-secondary);
    color: var(--color-primary);
}

/* `.btn--inline` opts out of the touch minimum for buttons that sit
 * inline in a sentence. */
.btn--inline {
    min-height: 0;
}

/* ──────────────────────────────────────────────────────────────────
 * Site footer — chrome shared by every page
 *
 * footer.php is included site-wide. Owning the rules here (rather
 * than per-page) means pages without page-specific CSS — search
 * results, account dashboard, lost-password, 404 — still render the
 * 4-column footer layout.
 * ────────────────────────────────────────────────────────────────── */
footer[role="contentinfo"] {
    background: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.8);
    /* Top padding bumped past `--spacing-xl` (80px) so the brand
     * column sits clearly below the newsletter section, which has a
     * near-identical dark brown (`--color-primary` vs `--color-
     * text-dark`) and otherwise reads as one continuous block. */
    padding: 112px var(--spacing-lg) var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* The newsletter strip (template-parts/footer/newsletter-strip.php), a
 * panel in the footer's column with the footer's own gap below it. */
.lvr-news-strip {
    max-width: 1400px;
    margin: 0 auto var(--spacing-xl);
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--spacing-md) var(--spacing-lg);
    align-items: center;
    background: var(--color-primary);
}
.lvr-news-strip .eyebrow { margin: 0 0 6px; font-size: 11px; }
.lvr-news-strip h2 { margin: 0 0 4px; font-size: 28px; line-height: 1.2; }
.lvr-news-strip-text p:last-child { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.lvr-news-strip-form { display: flex; gap: 8px; min-width: 0; }
.lvr-news-strip-form input[type="email"] {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-size: 14px;
}
.lvr-news-strip-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.lvr-news-strip-form input[type="email"]:focus-visible { outline: 2px solid var(--color-accent-on-dark); outline-offset: 2px; }
.lvr-news-strip-form button {
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    background: var(--color-bg-light);
    color: var(--color-primary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}
.lvr-news-strip-form button:hover { background: var(--color-accent); color: #fff; }

@media (max-width: 760px) {
    .lvr-news-strip { grid-template-columns: minmax(0, 1fr); padding: var(--spacing-md); }
    .lvr-news-strip-form { flex-direction: column; }
    .lvr-news-strip h2 { font-size: 24px; }
}

footer[role="contentinfo"] .footer-container {
    max-width: 1400px;
    margin: 0 auto var(--spacing-lg);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}

/* The footer's headings went up a level in SF54 (the h3 brand followed a
 * page's h1 directly on pages with no h2); each keeps its old look. */
footer[role="contentinfo"] .footer-brand-name {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 28px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

footer[role="contentinfo"] .footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

footer[role="contentinfo"] .footer-column-title {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 18px;
    font-weight: 700;
    line-height: inherit;
    letter-spacing: normal;
    color: #fff;
    margin-bottom: var(--spacing-sm);
}

footer[role="contentinfo"] .footer-links {
    list-style: none;
    display: grid;
    gap: var(--spacing-xs);
    padding: 0;
    margin: 0;
}

footer[role="contentinfo"] .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

footer[role="contentinfo"] .footer-links a:hover {
    color: var(--color-accent);
}

footer[role="contentinfo"] .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    footer[role="contentinfo"] .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    footer[role="contentinfo"] .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

/* Mini footer — checkout + order-received (footer.php streamlined
 * branch). One slim row: copyright left, essential links right. */
footer[role="contentinfo"].footer--mini {
    padding: var(--spacing-md) var(--spacing-lg);
}

.footer-mini {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-mini p { margin: 0; }

.footer-mini-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-mini-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-mini-links a:hover { color: var(--color-accent); }

/* ──────────────────────────────────────────────────────────
 * WooCommerce's password strength meter
 *
 * WooCommerce adds the meter after a password field (Create account, Edit
 * account, Reset password, checkout's account password) on its keyup and
 * change events. A password a password manager fills presses no key, so
 * the meter first appeared as the field lost focus, which the click on the
 * form's button itself causes: it pushed the button 31 to 38px down
 * mid-click and the click sent nothing (audit SF67). A password strong
 * enough to submit (good, strong) now shows its one-word verdict on the
 * label's line, out of the flow, so nothing below it moves; the label
 * always keeps room for it. A weak one stays in the flow with its hint:
 * WooCommerce disables the button until the password is strong enough, so
 * the shift costs no click. scripts/test_account_pages.py pins it.
 * ────────────────────────────────────────────────────────── */
:is(.auth-field, .form-row):has(> .woocommerce-password-strength) {
    position: relative;
}

label:is([for="reg_password"], [for="password_1"], [for="account_password"]) {
    padding-right: 7em;
}

.woocommerce-password-strength:is(.good, .strong) {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-mid);
}

/* breadcrumb.css */
/*
 * The breadcrumb: one definition of its look on every page that has one:
 * cart, checkout, the account, the wishlist, search, the product page,
 * Shipping & Returns, and the shop and its categories, where WooCommerce's
 * breadcrumb prints this markup (inc/woocommerce.php). A page places it,
 * its padding and width, in its own stylesheet and nothing more. Until
 * 20 Oct seven page stylesheets each had a copy, two of them at 14px, and
 * the shop's had none of it, flush under the nav (SF111, test_page_top.py).
 */
.breadcrumb {
    display: flex;
    gap: var(--spacing-xs);
    font-size: 13px;
    color: var(--color-text-mid);
    margin-bottom: var(--spacing-xs);
}

.breadcrumb a {
    color: var(--color-text-mid);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* add-to-cart.css */
/* Levoro: every Add to cart button's look, the product cards' and how
 * each says its add is on its way (audit SF78). Moved out of
 * components.css, which had grown past the 450-line cap, on 16 Oct. */

/* ──────────────────────────────────────────────────────────────────
 * Product-card "Add to cart" button
 *
 * Used on the home page's product grid AND the shop archive's product
 * cards. The button text is short ("Add to cart"); the full
 * "Add <product name> to cart" string lives in aria-label so long
 * names don't force the button to wrap. Flex + min-height keeps
 * single-line buttons the same visual weight as wrapped ones.
 *
 * Specificity note: WooCommerce ships a `.woocommerce a.button` rule
 * (specificity 0,2,1) that wins against a bare `.add-to-cart`. We
 * pair the class with the element selector to match WC's specificity,
 * and the theme enqueues components.css after WC's core stylesheet so
 * cascade order tips the win to us.
 * ────────────────────────────────────────────────────────────────── */
a.add-to-cart,
button.add-to-cart,
.add-to-cart.button.add_to_cart_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

a.add-to-cart:hover,
button.add-to-cart:hover,
.add-to-cart.button.add_to_cart_button:hover {
    background: var(--color-secondary);
    color: white;
}

/* ──────────────────────────────────────────────────────────────────
 * Every Add to cart while its add is on its way (audit SF78):
 * LevoroFeatures.addingToCart puts "Adding…" beside this spinner at the
 * button's size and marks it aria-busy; the product page's buttons and
 * the cards' share it. On a card, WooCommerce's own look while it adds
 * (the button faded to a quarter, its icon-font spinner, where its
 * stylesheet loads at all) gives way to this one.
 * ────────────────────────────────────────────────────────────────── */
.lvr-spinner {
    display: inline-block;
    flex: none;
    width: 1em;
    height: 1em;
    margin-right: 0.6em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    vertical-align: -0.15em;
    animation: lvr-spin 0.8s linear infinite;
}

@keyframes lvr-spin {
    to { transform: rotate(360deg); }
}

/* Still, it is a ring beside "Adding…": the words say it. */
@media (prefers-reduced-motion: reduce) {
    .lvr-spinner { animation: none; }
}

[aria-busy="true"].is-adding {
    cursor: progress;
}

.add-to-cart.button.add_to_cart_button.loading {
    opacity: 1;
    padding-right: 16px;
}

.add-to-cart.button.add_to_cart_button.loading::after {
    content: none;
    display: none;
}

/* wc-overrides.css */
/*
 * Levoro WooCommerce overrides — notice family + product-display chrome
 *
 * WooCommerce ships its own visual style for elements that don't have
 * a theme template override (notices, sale badges, star ratings, etc.).
 * Defaults read as plug-in chrome instead of theme. The rules here
 * repaint them in Levoro's palette; selectors target the WC-emitted
 * markup as-is so the per-template HTML can stay default.
 *
 * This file: the notice family, validation states, sale and stock
 * badges, star ratings and the quantity input. `wc-overrides-pages.css`,
 * loaded right after it, has the parts WooCommerce prints on its pages
 * (review form stars, pagination, cross-sells, order and
 * customer details, the generic `.button`), and `wc-forms.css` the
 * form-style defaults (coupon, shipping calculator, search form,
 * comment form, validation rings). Each stays under the project's
 * 450-line file limit.
 */

/* ──────────────────────────────────────────────────────────────────
 * Notice family (.woocommerce-info / message / error / NoticeGroup)
 *
 * Defaults are pastel blue / green / red with WC's blocky leading
 * icon. We repaint to the brand cream surface with a colored left
 * border and strip the icon glyph so it doesn't fight our typography.
 * The store notice is not one of them: store-notice.css.
 * ────────────────────────────────────────────────────────────────── */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce ul.woocommerce-error,
.woocommerce-NoticeGroup .woocommerce-message {
    background: var(--color-bg-warm) !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-border) !important;
    border-left: 3px solid var(--color-secondary) !important;
    border-radius: 0 !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
    margin: 0 0 var(--spacing-md) !important;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    line-height: 1.5;
    list-style: none;
}

/* WooCommerce focuses a new notice so a screen reader announces it.
 * The notice is not a control, so it gets no focus ring. */
.woocommerce-info:focus,
.woocommerce-message:focus,
.woocommerce-error:focus,
.woocommerce-NoticeGroup:focus {
    outline: none;
}

/* Errors get a distinct red-tinted surface so they don't blend into
 * the page's warm cream backdrop on submit-failure pages (the cream
 * /cream/cream sandwich was easy to miss). The text stays primary
 * for readability — only the bg + left rule carry the urgency. */
.woocommerce-error,
.woocommerce ul.woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    background: var(--color-error-soft) !important;
    border-color: rgba(178, 58, 72, 0.18) !important;
    border-left-color: var(--color-error) !important;
}

/* Each line in the field-error list reads as one line of "<Field>
 * is required" — give a discreet bullet so the items separate
 * visually without WC's default disc glyph. */
.woocommerce-error li,
.woocommerce ul.woocommerce-error li {
    list-style: none;
    padding-left: 18px;
    position: relative;
    margin: 0;
}
.woocommerce-error li + li,
.woocommerce ul.woocommerce-error li + li {
    margin-top: 6px;
}
.woocommerce-error li::before,
.woocommerce ul.woocommerce-error li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 1px;
    background: var(--color-error);
}
.woocommerce-error li strong,
.woocommerce ul.woocommerce-error li strong {
    color: var(--color-primary);
    font-weight: 600;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before,
.woocommerce-noreviews::before {
    content: none !important;
    display: none !important;
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    color: var(--color-accent-text) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.woocommerce-info a:hover,
.woocommerce-message a:hover,
.woocommerce-error a:hover {
    color: var(--color-primary) !important;
}

/* "View cart" button WC emits next to a success notice. */
.woocommerce-message .button.wc-forward,
.woocommerce-info .button.wc-forward {
    float: right;
    background: transparent !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    padding: 6px 14px !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none !important;
}

/* ──────────────────────────────────────────────────────────────────
 * Validation states — `.woocommerce-invalid` adds a generic red
 * outline; we tone it to the brand error red. `.woocommerce-validated`
 * resets to the neutral border so a previously-invalid field doesn't
 * stay highlighted after the user corrects it.
 * ────────────────────────────────────────────────────────────────── */
.woocommerce-invalid input.input-text,
.woocommerce-invalid input,
.woocommerce-invalid select,
.woocommerce-invalid textarea {
    border-color: var(--color-error) !important;
    box-shadow: 0 0 0 1px rgba(178, 58, 72, 0.08);
}

.woocommerce-validated input.input-text {
    border-color: var(--color-border) !important;
}

/* ──────────────────────────────────────────────────────────────────
 * Sale + stock badges
 *
 * WC paints `.onsale` as a pink circle with white text in the corner
 * of a product image. Replace with a small rectangular tag in brand
 * bronze. Stock indicators ("in stock" / "out of stock") get muted
 * brand colours instead of WC's stoplight green/red.
 * ────────────────────────────────────────────────────────────────── */
.onsale,
.woocommerce span.onsale {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--color-secondary);
    color: #fff;
    padding: 4px 10px;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    line-height: 1.4;
    min-height: 0;
    min-width: 0;
}

.out-of-stock,
.stock.out-of-stock {
    color: var(--color-error);
    font-weight: 500;
}

.stock.in-stock,
.stock.available-on-backorder {
    color: var(--color-text-mid);
    font-size: 13px;
}

/* ──────────────────────────────────────────────────────────────────
 * Star ratings
 *
 * WC outputs a font-icon span with stacked ★ glyphs (font-family:
 * 'star'). Default colour is black; we override to brand-bronze on a
 * faint border-coloured backdrop so unfilled stars stay visible.
 * ────────────────────────────────────────────────────────────────── */
.star-rating {
    color: var(--color-secondary);
    overflow: hidden;
    position: relative;
    height: 1em;
    line-height: 1;
    font-size: 14px;
    width: 5.4em;
    font-family: 'star'; font-size-adjust: none;
    letter-spacing: 0;
}

.star-rating::before {
    content: "\53\53\53\53\53";
    color: var(--color-border);
    float: left;
    top: 0;
    left: 0;
    position: absolute;
}

.star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}

.star-rating span::before {
    content: "\53\53\53\53\53";
    top: 0;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* ──────────────────────────────────────────────────────────────────
 * Quantity input — the +/- spinner WC renders in cart, single-product,
 * and checkout. Replace browser-native number control with a flat
 * brand-styled stepper. We hide the browser's native arrows so users
 * type or click WC's own .qty buttons without two competing controls.
 * ────────────────────────────────────────────────────────────────── */
.quantity input.qty,
input.qty {
    -moz-appearance: textfield;
    appearance: textfield;
    width: 60px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    background: #fff;
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input.qty:focus,
input.qty:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.quantity .plus,
.quantity .minus {
    width: 36px;
    height: 44px;
    padding: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity .plus:hover,
.quantity .minus:hover {
    background: var(--color-bg-warm);
}

/* WooCommerce's icon font, on the selectors WooCommerce 11.2.1 draws it on
 * (woocommerce.css), copied as they are so they outrank nothing: declared
 * here too so the CSS build pairs it with font-size-adjust: none
 * (scripts/css_aspect.py), as the property inherits and the body's aspect
 * would otherwise resize these glyphs (SF87). The star ratings are left
 * out: the theme draws them in 'star' (above). Re-check them against the
 * new version's icon selectors when the daily check's plugin drift reports
 * WooCommerce; its font check (monitor/font_faces.py) and
 * scripts/test_font_aspect.py catch what that misses. */
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item--chosen a::before,
.woocommerce .widget_layered_nav_filters ul li a::before,
.woocommerce .widget_rating_filter ul li.chosen a::before,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.added::after,
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-account ul.digital-downloads li::before,
#add_payment_method .cart-collaterals .shipping-calculator-button::after,
.woocommerce-cart .cart-collaterals .shipping-calculator-button::after,
.woocommerce-checkout .cart-collaterals .shipping-calculator-button::after {
    font-family: WooCommerce; font-size-adjust: none;
}

/* wc-overrides-pages.css */
/*
 * Levoro WooCommerce overrides, the parts WooCommerce prints on its
 * pages: the review form's stars, pagination, the
 * cart's cross-sells, the order and customer details, the generic
 * `.button`. Split from wc-overrides.css (the notice family, badges,
 * ratings and the quantity input) under the line cap; loaded right
 * after it (manifest.json).
 */


/* Review form stars. WC ships bare digit links (~15x15); make each a
 * 36x36 ★ glyph (digit kept for AT via text-indent), :has() fills 1..N
 * on hover. WC's click sets .active for persistent state. */
.comment-form-rating p.stars,
.comment-form-rating p.stars > span { display: inline-flex; gap: 4px; margin: 0 0 var(--spacing-sm); }
.comment-form-rating p.stars a {
    position: relative; width: 36px; height: 36px;
    overflow: hidden; text-indent: -9999em;
    /* Was --color-border (#E8DFD3): 1.32:1 on white, so the rating
     * control a reviewer has to aim at was all but invisible. */
    color: var(--color-star-empty); text-decoration: none;
    transition: color 0.15s;
}
/* Hollow vs solid glyph, so filled and empty are not distinguished by
 * colour alone. */
.comment-form-rating p.stars a::before {
    content: '☆'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; line-height: 1; text-indent: 0;
}
.comment-form-rating p.stars a.active::before,
.comment-form-rating p.stars a:hover::before,
.comment-form-rating p.stars a:has(~ a:hover)::before { content: '★'; }
.comment-form-rating p.stars a.active,
.comment-form-rating p.stars a:hover,
.comment-form-rating p.stars a:has(~ a:hover) { color: var(--color-rating-star); }

/* ──────────────────────────────────────────────────────────────────
 * Pagination — WC default is a tight row of links with default
 * browser underlines. Replace with square page tiles in brand surface.
 * ────────────────────────────────────────────────────────────────── */
.woocommerce-pagination {
    margin: var(--spacing-lg) 0;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 6px;
}

.woocommerce-pagination ul.page-numbers li {
    display: inline-block;
}

.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span.current,
.woocommerce-pagination ul.page-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-pagination ul.page-numbers a:hover {
    background: var(--color-bg-warm);
    border-color: var(--color-secondary);
}

.woocommerce-pagination ul.page-numbers span.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* ──────────────────────────────────────────────────────────────────
 * Cart cross-sells — products WC suggests below the cart table.
 * Same wrapper pattern as related products on the single product
 * page (heading + grid of content-product cards).
 * ────────────────────────────────────────────────────────────────── */
.cross-sells {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.cross-sells > h2 {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 28px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md);
    letter-spacing: -0.005em;
}

.cross-sells ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-md);
}

.cross-sells ul.products li.product {
    list-style: none;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────
 * Order details + customer details blocks
 *
 * Renders on three surfaces: /my-account/view-order/, /order-tracking/
 * (anonymous public lookup) and the order-received thank-you page.
 * The original WC default h2s were hidden defensively with an
 * .account-main-scoped CSS rule that didn't reach the public tracker;
 * the templates were overridden so the duplicate "Order details" h2
 * is gone at the source, and the customer-details h2s are now
 * h3.customer-details-title from our markup.
 * ────────────────────────────────────────────────────────────────── */
.order-details-card,
.customer-details-card {
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
}

.customer-details-title {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-sm);
    letter-spacing: -0.005em;
}

.customer-details-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.customer-details-address {
    margin: 0;
    font-style: normal;
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-text-dark);
}

.customer-details-phone,
.customer-details-email {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--color-text-mid);
}

@media (max-width: 760px) {
    .customer-details-cols { grid-template-columns: 1fr; }
}

.woocommerce-order-downloads__title {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
    letter-spacing: -0.005em;
}

/* ──────────────────────────────────────────────────────────────────
 * Generic WooCommerce `.button`
 *
 * WC emits these outside any template we own — "View cart" after an
 * add-to-cart, "Return to shop" on an empty wishlist / cart, the
 * shipping-calculator toggle. Without a rule they fell through to
 * WC's own pill (or, for the calculator toggle, to a bare 21px-tall
 * text link) and read as if they came from a different site.
 *
 * Specificity is 0,2,1 — deliberately below the product-card
 * `.add-to-cart.button.add_to_cart_button` rule (0,3,0) in
 * components.css and below the notice-scoped `.wc-forward` rule
 * above, so both keep their own treatment.
 * ────────────────────────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-page a.button,
.woocommerce-page button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-on-primary);
    border: 1px solid var(--color-primary);
    border-radius: 0;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s, color 0.2s;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: #fff;
}

/* The cart's "Change address" toggle is a link, not a button — keep it
 * quiet but give it a real touch target. */
.woocommerce a.shipping-calculator-button {
    display: inline-block;
    padding: 10px 0;
    color: var(--color-accent-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* wc-forms.css */
/*
 * Levoro WooCommerce form overrides — coupon, shipping calculator,
 * search form, comment / review form.
 *
 * Pair files: `wc-overrides.css` and `wc-overrides-pages.css` cover
 * the rest of WC's default chrome (notices, badges, stars, quantity;
 * pagination, order details, the generic button).
 */

/* ──────────────────────────────────────────────────────────────────
 * Coupon form — appears on cart and checkout. Default WC renders a
 * bare input + button without any frame. Wrap it in the brand cream
 * surface used by other supplemental panels (terms-and-conditions,
 * shipping calculator) for a consistent inner-form look.
 * ────────────────────────────────────────────────────────────────── */
.checkout_coupon,
.woocommerce-form-coupon {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-secondary);
    padding: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.checkout_coupon p,
.woocommerce-form-coupon p {
    margin: 0 0 var(--spacing-sm);
    color: var(--color-text-mid);
    font-size: 13px;
}

.checkout_coupon .form-row,
.woocommerce-form-coupon .form-row-first,
.woocommerce-form-coupon .form-row-last {
    margin-bottom: 0;
}

.checkout_coupon input[type="text"],
.woocommerce-form-coupon input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
}

.checkout_coupon input[type="text"]:focus,
.woocommerce-form-coupon input[type="text"]:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.checkout_coupon button[type="submit"],
.woocommerce-form-coupon button[type="submit"],
.shipping-calculator-form button[type="submit"] {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.checkout_coupon button[type="submit"]:hover,
.woocommerce-form-coupon button[type="submit"]:hover,
.shipping-calculator-form button[type="submit"]:hover {
    background: var(--color-secondary);
}

/* ──────────────────────────────────────────────────────────────────
 * Shipping calculator (cart) — collapses into a small toggle by
 * default; align its frame with the coupon form.
 * ────────────────────────────────────────────────────────────────── */
.shipping-calculator-form {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-secondary);
    padding: var(--spacing-md);
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

.shipping-calculator-form input[type="text"],
.shipping-calculator-form select {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    margin-bottom: var(--spacing-sm);
}

/* ──────────────────────────────────────────────────────────────────
 * Search form — get_search_form() output, used by the magnifier in
 * the nav. Default WP renders a bare <input type="search"> + submit.
 * ────────────────────────────────────────────────────────────────── */
.search-form,
form[role="search"] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-form input[type="search"],
form[role="search"] input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
}

.search-form input[type="search"]:focus,
form[role="search"] input[type="search"]:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.search-form button[type="submit"],
form[role="search"] button[type="submit"] {
    padding: 10px 18px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.search-form button[type="submit"]:hover,
form[role="search"] button[type="submit"]:hover {
    background: var(--color-secondary);
}

/* ──────────────────────────────────────────────────────────────────
 * WordPress comment list + form, used by the journal/blog posts and
 * by the WP-side comment_form() output. WC's review form goes through
 * comment_form() too with a different wrapper, so styling these
 * carries through to the product reviews page.
 * ────────────────────────────────────────────────────────────────── */
.commentlist,
.comment-list,
ol.commentlist {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.commentlist li.comment,
.comment-list li.comment,
ol.commentlist li.comment {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.comment-meta,
.comment_container {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.comment-author .avatar,
.comment_container .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.comment-author .fn,
.comment_container .meta strong {
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
}

.comment-metadata,
.comment_container .meta time {
    font-size: 12px;
    color: var(--color-text-mid);
}

#commentform,
#review_form #commentform,
.comment-form {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

#commentform .comment-form-comment,
#commentform .comment-form-author,
#commentform .comment-form-email,
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email {
    margin-bottom: var(--spacing-sm);
}

#commentform label,
.comment-form label,
.comment-form-rating label {
    display: block;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
}

#commentform input:focus,
#commentform textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

#commentform input[type="submit"],
.comment-form input[type="submit"],
input[type="submit"]#submit {
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 28px !important;
    font-family: var(--font-body) !important; font-size-adjust: var(--font-body-aspect) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.2s;
}

#commentform input[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
input[type="submit"]#submit:hover {
    background: var(--color-secondary) !important;
}

/* ──────────────────────────────────────────────────────────────────
 * Review form rating select (#rating)
 *
 * WC's review form emits a bare `<select id="rating">`. Without a
 * theme rule it falls through to browser defaults (1px inset border,
 * zero padding) — visibly different from the other inputs in the
 * same form. Match the brand input style so the rating dropdown
 * sits naturally next to the name / email / review text fields.
 * ────────────────────────────────────────────────────────────────── */
#review_form select#rating,
.comment-form-rating select {
    width: 100%;
    max-width: 240px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    border-radius: 0;
    box-shadow: none;
}

#review_form select#rating:focus,
.comment-form-rating select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* wc-product.css */
/*
 * Levoro WooCommerce overrides — single-product elements
 *
 * Sibling to wc-overrides.css and wc-forms.css. The styles here only
 * appear on /product/<slug>/ but they're WC default elements (related
 * products section, variation form, review list) so we live in the
 * site-wide stack rather than the per-page product-detail.css —
 * which is already over its line budget.
 */

/* ──────────────────────────────────────────────────────────────────
 * Related products + Up-sells sections (single product page)
 *
 * WC outputs these as <section class="related products"> and
 * <section class="up-sells upsells products"> with an <h2> heading
 * and a <ul class="products"> grid of product cards. The product
 * cards inside reuse content-product.php (already themed). What
 * needs branding is the section wrapper + the heading.
 * ────────────────────────────────────────────────────────────────── */
.related.products,
.upsells.upsells.products,
section.up-sells.products {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.related.products > h2,
.upsells.upsells.products > h2,
section.up-sells.products > h2 {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-md);
    letter-spacing: -0.005em;
}

.related.products ul.products,
.upsells.upsells.products ul.products,
section.up-sells.products ul.products {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-md);
}

.related.products ul.products li.product,
.upsells.upsells.products ul.products li.product,
section.up-sells.products ul.products li.product {
    list-style: none;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────
 * Variation form (variable products: size / colour selectors)
 *
 * WC's default emits a <table class="variations"> with one row per
 * attribute and a <select>. The "Clear" link sits below. We brand
 * the labels + selects to match the rest of the product info-sticky
 * panel, and turn the Clear link into a small ghost button.
 * ────────────────────────────────────────────────────────────────── */
.variations_form table.variations {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-md);
}

.variations_form table.variations th,
.variations_form table.variations td {
    padding: var(--spacing-xs) 0;
    border: none;
    vertical-align: middle;
    background: transparent;
}

.variations_form table.variations th.label {
    width: 30%;
    text-align: left;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-mid);
    padding-right: var(--spacing-sm);
}

.variations_form table.variations select {
    width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    border-radius: 0;
}

.variations_form table.variations select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.variations_form .reset_variations {
    display: inline-block;
    margin-top: var(--spacing-xs);
    color: var(--color-accent-text);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.variations_form .reset_variations:hover {
    color: var(--color-primary);
}

/* The price / availability row WC inserts between variations and the
 * add-to-cart button when a variation is selected. */
.single_variation_wrap .woocommerce-variation-price {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 24px;
    color: var(--color-primary);
    margin: var(--spacing-sm) 0;
}

.single_variation_wrap .woocommerce-variation-availability {
    font-size: 13px;
    color: var(--color-text-mid);
    margin-bottom: var(--spacing-sm);
}

/* ──────────────────────────────────────────────────────────────────
 * Product reviews list (single product page)
 *
 * WC reuses WP's `<ol class="commentlist">` for reviews; the base
 * comment list styling lives in wc-forms.css. The bits below extend
 * that for review-specific markup (`.meta`, `.description`, the
 * star-rating block emitted inside each review).
 * ────────────────────────────────────────────────────────────────── */
#reviews .commentlist li.review,
#reviews ol.commentlist li.review {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    list-style: none;
}

#reviews .commentlist .comment_container .meta {
    flex: 1;
}

#reviews .commentlist .comment_container .meta strong {
    display: block;
    margin-bottom: 4px;
}

#reviews .commentlist .comment_container .description {
    margin-top: var(--spacing-sm);
    color: var(--color-primary);
    font-size: 14px;
    line-height: 1.6;
}

#reviews .star-rating {
    display: inline-block;
    margin-bottom: 6px;
}

#reviews .woocommerce-review__verified {
    display: inline-block;
    margin-left: var(--spacing-xs);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

/* wc-wishlist.css */
/*
 * Levoro overrides — TI WooCommerce Wishlist plugin
 *
 * The plugin renders a heart-icon "Add to Wishlist" button + a
 * wishlist table page. Plugin defaults clash with the brand palette
 * (red heart on light blue accent, default WC table). Repaint here.
 *
 * Plugin DOM anchors:
 *   .tinv-wraper                    — wrapper around the button
 *   .tinvwl_add_to_wishlist_button  — the button itself
 *   .tinvwl-icon-heart              — heart icon variant
 *   .tinvwl-tooltip                 — hover tooltip
 *   .tinv-wishlist                  — wishlist page wrapper
 *   .tinvwl-table-manage-list       — wishlist table
 */

/* TI Wishlist's icon font, as its own stylesheet declares it where that
 * sheet loads (the wishlist, cart, checkout and account): declared here
 * too so the CSS build pairs it with font-size-adjust: none
 * (scripts/css_aspect.py). The property inherits, and the body's aspect
 * would otherwise resize these glyphs (SF87). */
.ftinvwl,
.icon_big_heart_check,
.icon_big_times {
    font-family: tinvwl-webfont !important; font-size-adjust: none !important;
}

/* "Add to Wishlist" button inline next to the add-to-cart on the
 * product page. Plugin default is a small bright-red heart link;
 * we render it as a quiet ghost button matching the rest of the
 * info-sticky panel. */
.tinv-wraper.tinv-wishlist {
    margin: var(--spacing-sm) 0;
}

.tinvwl_add_to_wishlist_button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px !important;
    background: transparent !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 0 !important;
    font-family: var(--font-body) !important; font-size-adjust: var(--font-body-aspect) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s;
}

.tinvwl_add_to_wishlist_button:hover {
    background: var(--color-bg-warm) !important;
    border-color: var(--color-secondary) !important;
}

/* The heart-icon variant. Plugin uses a CSS-injected ::before glyph. */
.tinvwl-icon-heart::before,
.tinvwl_add_to_wishlist_button.tinvwl-icon-heart::before {
    color: var(--color-secondary) !important;
}

/* "Already in wishlist" state — plugin adds a class with red fill. */
.tinvwl_add_to_wishlist_button.tinvwl-product-in-list {
    background: var(--color-bg-warm) !important;
    border-color: var(--color-secondary) !important;
}

.tinvwl_add_to_wishlist_button.tinvwl-product-in-list .tinvwl-icon-heart::before {
    color: var(--color-secondary) !important;
}

.tinvwl_add_to_wishlist_button .tinvwl_add_to_wishlist-text {
    line-height: 1;
}

/* Hover tooltip — plugin's default is a black bubble. */
.tinvwl-tooltip {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-family: var(--font-body) !important; font-size-adjust: var(--font-body-aspect) !important;
    font-size: 11px !important;
    letter-spacing: 0.06em;
    padding: 6px 10px !important;
}

/* ──────────────────────────────────────────────────────────────────
 * Wishlist page (typically /wishlist/) — plugin emits its own table
 * `.tinvwl-table-manage-list` with default WC styling.
 * ────────────────────────────────────────────────────────────────── */
.tinv-wishlist .tinvwl-table-manage-list,
.tinv-wishlist table.tinvwl-table-manage-list {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    margin: var(--spacing-md) 0;
}

.tinv-wishlist table.tinvwl-table-manage-list th {
    text-align: left;
    padding: var(--spacing-sm);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-mid);
    border-bottom: 1px solid var(--color-border);
}

.tinv-wishlist table.tinvwl-table-manage-list td {
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-primary);
    vertical-align: middle;
}

.tinv-wishlist .product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.tinv-wishlist .product-name a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.tinv-wishlist .product-name a:hover {
    color: var(--color-accent-text);
}

.tinv-wishlist .product-price {
    color: var(--color-primary);
    font-weight: 600;
}

/* The plugin's "Remove from list" / "Move to cart" buttons in the
 * table action column. */
.tinv-wishlist .button.alt,
.tinv-wishlist input[type="submit"],
.tinv-wishlist button[type="submit"],
.tinv-wishlist .tinvwl-button {
    background: var(--color-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 18px !important;
    font-family: var(--font-body) !important; font-size-adjust: var(--font-body-aspect) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background 0.2s;
}

.tinv-wishlist .button.alt:hover,
.tinv-wishlist .tinvwl-button:hover {
    background: var(--color-secondary) !important;
}

/* The plugin's bulk-action button is `Apply <span class="tinvwl-mobile">
 * Action</span>` — the span is meant to appear only on narrow screens,
 * and the plugin's own stylesheet is not loaded here, so it rendered as
 * "APPLYACTION" on desktop. Restore the intended behaviour. */
.tinv-wishlist .tinvwl-mobile { display: none; }
@media (max-width: 600px) {
    .tinv-wishlist .tinvwl-mobile { display: inline; }
}

/* The bulk-action row is a select plus its submit button; without the
 * plugin's input-group CSS they sat flush against each other. */
.tinv-wishlist .tinvwl-input-group {
    display: flex;
    align-items: stretch;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

/* Plugin's "view wishlist" / quantity bubble in nav (if shown). */
.tinvwl_top_wishlist_view {
    color: var(--color-primary) !important;
    text-decoration: none !important;
}

/* Empty-wishlist state. */
.tinv-wishlist .tinv-empty {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-secondary);
    color: var(--color-primary);
    padding: var(--spacing-md);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
}

/* Suppress the "added to wishlist" confirmation modal that the plugin
 * pops open on every wishlist click. The heart's filled state and the
 * permanent Wishlist icon in the header carry the feedback; a focus-
 * stealing modal on every click feels out of place on a product page.
 *
 * product-detail.js also removes these nodes via MutationObserver, but
 * CSS gets there a paint earlier and covers the brief window before
 * the observer wires up.
 */
.tinvwl_added_to_wishlist,
.tinvwl_added_to_wishlist.tinv-modal,
.tinvwl_added_to_wishlist.tinv-modal-open {
    display: none !important;
}

/* wc-express-checkout.css */
/*
 * Stripe's express checkout row (Apple Pay, Google Pay, Link) at
 * checkout; product pages have no wallets since 15 Oct (audit SF8).
 *
 * WooCommerce Stripe (11.1.1 here; 11.0.1 and 11.1.0 the same) mounts each
 * wallet as its own Express Checkout Element in its own container, flex: 1
 * and at least 260px wide (its build/express-checkout.css). A wallet the
 * browser cannot use should lose its container, but the plugin's ready
 * handler tests availablePaymentMethods for truthiness
 * (`e.on("ready",({availablePaymentMethods:e})=>{e||t(`#${n}`).remove()})`
 * in build/express-checkout.js), and that object always lists every method,
 * so the empty container stays and takes its slot: in a browser with
 * Google Pay and no Apple Pay, Google Pay shared its row with a blank box
 * (audit SF20). The plugin shows the row and its "OR" separator when any
 * wallet's element reports a method available (its `_.on("ready",...)`
 * there) and never hides a single wallet, only the whole row (.hide()).
 *
 * One signal decides both rules below: Stripe sizes an empty wallet's
 * frame to 8px (no content, its own 4px margins), a button's to 56px.
 *   - A wallet whose frame is 8px takes no space.
 *   - A row with no frame but 8px ones goes, its separator with it, so its
 *     label and the space it keeps for a line of buttons go too (SF109: on
 *     19 Oct a load on levoro.us settled with the row shown and every
 *     wallet hidden: "Express checkout", 76px of empty box and "OR").
 *     !important: the plugin's jQuery show() writes an inline display. A
 *     frame Stripe is still sizing (0 or 2px) keeps the row.
 * Change one with the other. Remove the wallet rule once the plugin removes
 * an unavailable wallet's container itself. If Stripe changes how it sizes
 * the frame, both stop matching and the row looks as the plugin draws it.
 * scripts/test_express_checkout.py.
 */
#wc-stripe-express-checkout-element > div:has(> .__PrivateStripeElement > iframe[style*="height: 8px"]) {
    display: none;
}
#wc-stripe-express-checkout-element:not(:has(> div > .__PrivateStripeElement > iframe:not([style*="height: 8px"]))),
#wc-stripe-express-checkout-element:not(:has(> div > .__PrivateStripeElement > iframe:not([style*="height: 8px"]))) ~ #wc-stripe-express-checkout-button-separator {
    display: none !important;
}

/* product-card.css */
/*
 * The product card (template-parts/product/card.php) and the grid that
 * lays cards out: the shop and its categories, search results, the home
 * page's featured collection and "You may also like" on a product page.
 * Loaded on every page, so the card looks the same wherever it appears.
 */

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-lg);
}

/* Section padding for the home page's grid; the shop has its own header. */
.products-section {
    padding: var(--spacing-xxl) var(--spacing-lg);
    background: var(--color-bg-light);
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--color-border);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 8px 24px rgba(43, 37, 32, 0.08);
}

/* Photo: the front, 4:5 like the photography, with the first gallery
 * shot fading in on hover where the device can hover. */
.product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--color-bg-warm);
}

.product-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__img--hover {
    opacity: 0;
    transition: opacity 0.35s ease;
}

@media (hover: hover) {
    .product-card.has-hover:hover .product-card__img--hover { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card__img--hover { transition: none; }
}

.product-card__badge {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    z-index: 2;
    padding: 4px 10px;
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex: 1;
    padding: var(--spacing-md);
}

/* Scoped to .product-card: WooCommerce reuses `.product-name` as a <th>
 * class on the checkout review table. */
.product-card .product-name {
    margin: 0;
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.005em;
    color: var(--color-primary);
}

.product-card .product-name a {
    color: inherit;
    text-decoration: none;
}

/* The whole card is the product link's target area. */
.product-card .product-name a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.product-card .product-name a:focus-visible {
    outline: none;
}

.product-card:has(.product-name a:focus-visible) {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* The design's colours, each a link to that colour. They sit above the
 * card-wide link. Each target is 32 px, the dot inside it 20. */
.product-card__colors {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 0 0 -6px;
    padding: 0;
    list-style: none;
}

.product-card__swatch {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.product-card__swatch::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.product-card__swatch.is-current::before,
.product-card__swatch:hover::before {
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--color-primary);
}

.product-card__swatch:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 0;
}

.product-card__foot {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.product-card .product-price {
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary);
}

/* The quick add sits above the card-wide link. */
.product-card .add-to-cart {
    position: relative;
    z-index: 1;
}

/* WooCommerce appends "View cart" after an AJAX add; the cart drawer
 * opens instead (cart-sidebar.js), and the link would grow one card. */
.product-card .added_to_cart { display: none; }

@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--spacing-md);
    }
}

@media (max-width: 640px) {
    .products-grid { grid-template-columns: minmax(0, 1fr); }
    .product-card .product-name { font-size: 22px; }
}

/* site-header.css */
/*
 * Site header — chrome shared by every page.
 *
 * Until this file existed, every per-page CSS (home, cart, account,
 * etc.) shipped its own copy of these rules; pages without their
 * own page-CSS — shop archive, search results, 404 — rendered the
 * announcement bar + nav + utility icons unstyled (huge SVGs, links
 * stacking vertically). Hoisting here means those pages get a
 * functional default, and pages that have their own intentional
 * overrides (e.g. checkout's streamlined sticky nav) still win
 * because per-page CSS loads after this file.
 */

/* ──────────────────────────────────────────────────────────────────
 * Announcement bar — pinned to the top of the viewport, used by
 * the "Free US shipping" / "60-day returns" / "Lifetime warranty"
 * trio in header.php.
 * ────────────────────────────────────────────────────────────────── */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    height: 36px;
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.announcement-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.announcement-track > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.ann-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.7;
}

@media (max-width: 700px) {
    .announcement-track {
        font-size: 10px;
        gap: var(--spacing-sm);
        letter-spacing: 0.06em;
    }
    .announcement-track .ann-secondary {
        display: none;
    }
}

/* ──────────────────────────────────────────────────────────────────
 * Primary navigation
 * ────────────────────────────────────────────────────────────────── */
nav[role="navigation"] {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* The logo lives on the left; .nav-links sits in the middle on desktop;
 * .nav-actions (utility icons + cart, plus the hamburger on mobile)
 * pins to the right via auto-margin so the cart is always against the
 * trailing edge regardless of how many primary nav items exist. */
.logo {
    margin-right: auto;
}

/* Utility/cart cluster on the trailing edge. Sits OUTSIDE .nav-links
 * so the mobile drawer can collapse the link list without also hiding
 * the cart icon; the menu button (drawer.css) sits here beside it. */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 32px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    list-style: none;
    margin: 0;
    margin-right: var(--spacing-md);
    padding: 0;
}

.nav-links a {
    color: var(--color-text-mid);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--color-primary);
}

/* Utility icons (search, account) + the cart link share the same
 * visual treatment: a thin icon button that picks up the brand text
 * colour on hover. SVGs are constrained to 20px so they don't render
 * at the SVG's intrinsic 300px when the parent doesn't constrain them. */
.utility-link {
    color: var(--color-text-mid);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.utility-link:hover {
    color: var(--color-primary);
}

.utility-link svg {
    width: 20px;
    height: 20px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: var(--color-text-mid);
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.cart-icon:hover {
    color: var(--color-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* Empty cart shouldn't render a bronze bubble with "0" — that reads as
 * "you have nothing" but the badge itself draws the eye to the icon
 * for the wrong reason. The data-count attribute on .cart-count is
 * kept in sync by levoro_cart_fragments() in inc/woocommerce.php so
 * AJAX adds reveal the badge, and removing the last item hides it
 * again, all without a page reload. */
.cart-count[data-count="0"] {
    display: none;
}

/* Streamlined checkout nav: the .secure-badge appears in place of
 * the .nav-links list. Style it consistently across surfaces. */
.secure-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-mid);
    letter-spacing: 0.04em;
}

.secure-badge::before {
    content: '🔒';
    font-size: 16px;
}

/* Mobile chrome: below 900px .nav-links collapse into the drawer
 * (drawer.css) and the menu button shows inside .nav-actions. The non-cart utility icons
 * (search, account, wishlist) collapse too — they all have entries in
 * the drawer body — but the cart icon stays so users can always see
 * what's in their bag without opening the menu. */
@media (max-width: 900px) {
    .nav-actions-desktop {
        display: none;
    }
}

/* panel.css */
/*
 * A panel that slides in from the right, and the dimmed page behind it:
 * the mini-cart (template-parts/cart/sidebar.php) and the phone menu
 * (template-parts/nav/drawer.php). One closed state for both: off screen
 * and hidden, so nothing of it paints, its shadow included (its script also
 * makes it inert). Closing, it stays visible for the slide and is hidden as
 * the slide ends; opening, it is visible at once. Each panel sets only its
 * width, background, z-index and --panel-shadow. Until 20 Oct the closed
 * mini-cart was only moved off the page, and its shadow laid a grey band
 * down every page's right edge (SF114, test_side_panels.py).
 */
.lvr-panel {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    box-shadow: var(--panel-shadow, none);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1), visibility 0s linear 0.4s;
}

.lvr-panel.open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.2, 1), visibility 0s;
}

/* One header for both panels: its title or logo at the left, its close at
 * the right, across the panel's width. Each panel sets its padding
 * (--panel-header-padding). Until 20 Oct the mini-cart's header was
 * .cart-header, the cart page's own name, and on /cart/ that page's rules
 * crushed it into the middle of the panel (SF120, test_side_panels.py). */
.lvr-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: var(--panel-header-padding);
    border-bottom: 1px solid var(--color-border);
}
/* The close: a 44 px target (WCAG 2.5.8 asks 24 at least; the mini-cart's
 * was 20 x 32), its glyph or icon centred. */
.lvr-panel-close {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text-mid);
    cursor: pointer;
}

.lvr-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.lvr-panel-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .lvr-panel, .lvr-panel.open, .lvr-panel-overlay { transition: none; }
}

/* drawer.css */
/*
 * The mobile menu: the header's menu button and the drawer it opens
 * (template-parts/nav/drawer.php, assets/js/mobile-drawer.js). Below
 * 900px the header's links collapse into the drawer; the cart and the
 * menu button stay in the header.
 */

.lvr-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-text-mid);
    cursor: pointer;
    transition: color 0.2s;
}
.lvr-hamburger:hover { color: var(--color-primary); }
.lvr-hamburger svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
    .lvr-hamburger { display: inline-flex; }
    nav .nav-links { display: none; }
}

/* A side panel (panel.css): closed, it is off screen, hidden and `inert`, so
 * it is neither seen, focused nor read; its slide and its overlay are the
 * shared ones. Here only what is the menu's own. */
.lvr-drawer-overlay { z-index: 2100; }

.lvr-drawer {
    z-index: 2200;
    width: min(360px, 100%);
    background: var(--color-bg-light);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    --panel-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
}

/* Its header is the panels' one (panel.css). */
.lvr-drawer { --panel-header-padding: 20px 24px; }
.lvr-drawer-logo {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-primary);
    text-decoration: none;
}
.lvr-drawer .lvr-panel-close svg { width: 22px; height: 22px; }

.lvr-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}
.lvr-drawer-section { padding: 12px 0; }
.lvr-drawer-section + .lvr-drawer-section { border-top: 1px solid var(--color-border); }
.lvr-drawer-section ul { margin: 0; padding: 0; list-style: none; }
.lvr-drawer-section-label {
    margin: 0;
    padding: 0 24px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}

.lvr-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}
.lvr-drawer-link:hover { background: var(--color-bg-warm); }
.lvr-drawer-link[aria-current="page"] { background: var(--color-bg-warm); }
.lvr-drawer-link:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.lvr-drawer-link svg { width: 18px; height: 18px; color: var(--color-text-mid); }

.lvr-drawer-search {
    border: none;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.lvr-drawer-footer {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 20px 24px;
    list-style: none;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-warm);
}
.lvr-drawer-promo {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-mid);
}
.lvr-drawer-promo strong { color: var(--color-primary); }

/* search-overlay.css */
/*
 * Site search dialog (template-parts/nav/search-overlay.php,
 * assets/js/search-overlay.js). The results page is pages/search.css.
 */

.lvr-search {
    width: min(720px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 120px);
    margin: 80px auto auto;
    padding: 0;
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    overflow: hidden;
}
.lvr-search[open] {
    display: flex;
    flex-direction: column;
    animation: lvr-search-in 0.25s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.lvr-search::backdrop {
    background: rgba(43, 37, 32, 0.5);
    backdrop-filter: blur(8px);
}

@keyframes lvr-search-in {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lvr-search[open] { animation: none; }
}

.lvr-search-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.lvr-search-input-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 12px 14px 20px;
    border-bottom: 1px solid var(--color-border);
}
.lvr-search-input-row > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-text-mid); }

/* Above wc-forms.css's form[role="search"] input[type="search"] (0,2,2), which boxes every search field. */
.lvr-search form[role="search"] input.lvr-search-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 6px 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    color: var(--color-primary);
    font-family: inherit;
    font-size: 17px;
}
.lvr-search form[role="search"] input.lvr-search-input:focus { outline: none; box-shadow: none; }
.lvr-search form[role="search"] input.lvr-search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.lvr-search form[role="search"] input.lvr-search-input::placeholder { color: var(--color-text-mid); }
/* The field shows no box, so the row shows focus. */
.lvr-search-input-row:focus-within { box-shadow: inset 0 -2px 0 var(--color-primary); }

.lvr-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--color-text-mid);
    cursor: pointer;
}
.lvr-search-close:hover { color: var(--color-primary); }
.lvr-search-close svg { width: 20px; height: 20px; }

.lvr-search-body {
    flex: 1;
    min-height: 0;
    padding: 8px 0 12px;
    overflow-y: auto;
}

.lvr-search-section + .lvr-search-section {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border);
}
.lvr-search-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 6px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent-text);
}
.lvr-search-list { margin: 0; padding: 0; list-style: none; }

.lvr-search-result {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 20px;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s;
}
.lvr-search-result:hover,
.lvr-search-result:focus-visible { background: var(--color-bg-warm); outline: none; }
.lvr-search-result.is-page { grid-template-columns: minmax(0, 1fr) auto; }

.lvr-search-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    background: var(--color-bg-warm);
}
.lvr-search-name {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
}
.lvr-search-price { font-size: 13px; font-weight: 600; color: var(--color-primary); }

.lvr-search-all {
    display: block;
    margin: 8px 20px 0;
    padding: 12px 0 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-accent-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.lvr-search-all:hover { color: var(--color-primary); }

.lvr-search-empty {
    margin: 0;
    padding: 28px 20px;
    color: var(--color-text-mid);
    font-size: 14px;
    text-align: center;
}

.lvr-search-clear {
    padding: 0;
    border: none;
    background: none;
    color: var(--color-text-mid);
    font: inherit;
    cursor: pointer;
}
.lvr-search-clear:hover { color: var(--color-primary); }

.lvr-recent-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 4px 20px 12px;
    list-style: none;
}
.lvr-recent-chip {
    padding: 8px 14px;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-bg-warm);
    color: var(--color-text-dark);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.lvr-recent-chip:hover { background: var(--color-secondary); border-color: var(--color-secondary); color: #fff; }

@media (max-width: 640px) {
    .lvr-search { margin-top: 16px; max-height: calc(100dvh - 32px); }
}

/* consent.css */
/*
 * The cookie choice (template-parts/consent-banner.php): a card at the
 * bottom of the screen on a wide one, a compact sheet on a phone that
 * leaves most of the first screen to the page. The footer's
 * "Cookie settings" button reopens it.
 */

.lvr-cookie {
    position: fixed;
    right: 24px;
    bottom: calc(24px + var(--store-notice-height, 0px)); /* above the store notice while it shows (store-notice.css) */
    z-index: 1200;
    width: min(440px, calc(100% - 48px));
    padding: 20px;
    display: grid;
    gap: 14px;
    background: rgba(43, 37, 32, 0.97);
    color: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1), opacity 0.35s;
}
.lvr-cookie.show { transform: none; opacity: 1; }
.lvr-cookie[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .lvr-cookie { transition: none; }
}

.lvr-cookie-title {
    margin: 0 0 4px;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.lvr-cookie-text p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.85); }
.lvr-cookie-text a { color: var(--color-accent-on-dark); text-decoration: underline; }

.lvr-cookie-detail { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.85); }
.lvr-cookie-detail summary { cursor: pointer; color: var(--color-accent-on-dark); }
.lvr-cookie-detail ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.5; }
.lvr-cookie-detail li + li { margin-top: 4px; }

.lvr-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.lvr-cookie-btn {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
/* Cream on brown measures 15:1; white on --color-accent only 3.73:1. */
.lvr-cookie-btn.primary { background: var(--color-bg-light); border-color: var(--color-bg-light); color: var(--color-primary); }
.lvr-cookie-btn.primary:hover { background: var(--color-accent-on-dark); border-color: var(--color-accent-on-dark); }
.lvr-cookie-btn.ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.lvr-cookie-btn.ghost:hover { border-color: #fff; }
.lvr-cookie-btn:focus-visible,
.lvr-cookie-detail summary:focus-visible,
.lvr-cookie-text a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

@media (max-width: 640px) {
    .lvr-cookie {
        right: 0;
        bottom: var(--store-notice-height, 0px);
        width: 100%;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        gap: 10px;
    }
}

/* The footer's way back to the choice. */
.footer-cookie-settings {
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.footer-cookie-settings:hover { color: #fff; }

/* cart-sidebar.css */
/*
 * Cart sidebar slide-in. Lives in footer.php on every page so any
 * "Add to cart" click can open it. Markup mirrors the design's
 * #cartSidebar / #cartOverlay block from Levoro E-commerce.html.
 *
 * The contents of .lvr-cart-items, .freeship-meter, and .lvr-cart-footer are
 * driven by WC's add_to_cart_fragments AJAX response — see
 * inc/woocommerce.php and assets/js/cart-sidebar.js.
 */

/* A side panel (panel.css): its slide, its closed state and its overlay are
 * the shared ones; here only what is the cart's own. */
.lvr-cart-panel {
    width: 450px;
    background: white;
    z-index: 2000;
    --panel-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.lvr-cart-overlay { z-index: 1999; }

/* Its header is the panels' one (panel.css), padded to the item list's gutter. */
.lvr-cart-panel { --panel-header-padding: var(--spacing-md) var(--spacing-lg); }
.lvr-cart-panel .lvr-panel-title {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 24px;
    font-weight: 500;
    color: var(--color-primary);
    margin: 0;
}
.lvr-cart-panel .lvr-panel-close { font-size: 24px; line-height: 1; }

/* Items section sizes to its content rather than expanding to fill,
 * so the freeship-meter + total + checkout button sit directly below
 * the last item instead of being shoved to the drawer's bottom with a
 * yawning gap in between. If there are too many items the area gets
 * its own scroll via `max-height` + `overflow-y: auto`. */
.lvr-cart-panel .lvr-cart-items {
    flex: 0 1 auto;
    overflow-y: auto;
    max-height: calc(100vh - 360px);
    padding: var(--spacing-lg);
}

.lvr-cart-panel .lvr-cart-item {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}
.lvr-cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4BFA5 0%, #A67C52 100%);
    flex-shrink: 0;
    overflow: hidden;
}
.lvr-cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.lvr-cart-item-details { flex: 1; }
.lvr-cart-item-name {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--color-primary);
}
.lvr-cart-item-name a { color: inherit; text-decoration: none; }
.lvr-cart-item-color {
    font-size: 13px;
    color: var(--color-text-mid);
    margin-bottom: var(--spacing-xs);
}
.lvr-cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lvr-cart-item-actions .lvr-cart-qty {
    display: flex;
    gap: 12px;
    align-items: center;
}
.lvr-cart-item-actions .lvr-cart-qty-btn {
    width: 28px;
    height: 28px;
    background: var(--color-bg-warm);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lvr-cart-item-price {
    font-weight: 600;
    color: var(--color-primary);
}

.lvr-cart-panel .lvr-cart-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg);
}
.lvr-cart-panel .lvr-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 18px;
}
.lvr-cart-panel .lvr-cart-total span:first-child {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 22px;
    color: var(--color-primary);
}
.lvr-cart-total-amount {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
}
.lvr-cart-panel .lvr-cart-checkout {
    width: 100%;
    display: block;
    padding: 18px;
    background: var(--color-primary);
    color: white;
    border: none;
    font-family: var(--font-body); font-size-adjust: var(--font-body-aspect);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.lvr-cart-panel .lvr-cart-checkout:hover { background: var(--color-secondary); color: white; }

/* Free-shipping progress meter (sidebar + cart page).
 * No bottom margin in the sidebar context — it sits directly above
 * the cart-footer's border-top so the two read as one totals area. */
.freeship-meter {
    margin: 0 var(--spacing-lg);
    padding: var(--spacing-sm);
    background: var(--color-bg-warm);
    border-left: 3px solid var(--color-secondary);
}

.lvr-cart-panel .freeship-meter {
    margin-bottom: 0;
}
.freeship-meter.qualified {
    background: var(--color-success-soft);
    border-left-color: var(--color-success-text);
}
.freeship-meter-text {
    font-size: 13px;
    color: var(--color-text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
}
.freeship-meter-text strong { color: var(--color-primary); font-weight: 600; }
.freeship-meter.qualified .freeship-meter-text strong { color: var(--color-success-text); }
.freeship-bar {
    height: 6px;
    background: rgba(43, 37, 32, 0.08);
    border-radius: 3px;
    overflow: hidden;
}
.freeship-fill {
    height: 100%;
    background: var(--color-secondary);
    transition: width 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.freeship-meter.qualified .freeship-fill { background: var(--color-success); }

/* The empty cart's look is empty-cart.css (SF119); here only its place, outside the item list and its cap. */
.lvr-cart-panel .empty-cart { padding: var(--spacing-xxl) var(--spacing-lg); }

@media (max-width: 600px) {
    .lvr-cart-panel { width: 100%; }
}

/* empty-cart.css */
/*
 * The empty cart (template-parts/cart/empty.php): the one look of the
 * store's empty state, in the mini-cart and on the cart page (audit SF119).
 * Where each sits is its caller's (cart-sidebar.css, cart-recommended.css);
 * .empty-cart--page is the cart page's larger scale.
 */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-text-mid);
}
/* A centred column: the bag, an svg base.css makes a block, sits on the
 * text's axis (SF116). */
.empty-cart-icon {
    margin-bottom: var(--spacing-md);
    opacity: 0.3;
}
.empty-cart-title {
    font-family: var(--font-display); font-size-adjust: var(--font-display-aspect);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}
.empty-cart-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.empty-cart--page .empty-cart-title {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
}
.empty-cart--page .empty-cart-text {
    font-size: 17px;
    line-height: inherit;
    margin-bottom: var(--spacing-lg);
}
