/* ==========================================================================
   AVYELLE DESIGN SYSTEM (2026 redesign)
   Loaded AFTER styles.css on every page. Tokens first, then base, then
   components. Mobile-first: base styles are for phones, @media (min-width)
   adds the desktop layout.
   ========================================================================== */

:root {
    /* Brand palette (brief, Nov 2026) */
    --ivory: #F8F6F2;        /* warm ivory: page background */
    --white: #FFFFFF;
    --champagne: #E9DFD1;    /* soft champagne: tinted bands, chips */
    --ink: #252525;          /* deep charcoal: text, primary buttons */
    --taupe: #A69A8C;        /* muted taupe: decoration and borders only (3:1, not for small text) */
    /* Derived, for accessible text (WCAG AA on ivory) */
    --stone: #6A6157;        /* secondary text, 5.6:1 */
    --bronze: #776A5B;       /* accent text (eyebrows, links), 4.9:1. Name kept for older rules */
    --hairline: #E6DED2;
    --mist: #F1ECE4;         /* image wells */
    --trust: #3D6B52;
    --warn: #8A4A10;

    /* ------------------------------------------------------------------
       TYPOGRAPHY SYSTEM: the only place fonts, sizes, weights and line
       heights are defined. Change a value here and it updates everywhere.
       Fonts are loaded once per page (FONTS in tools/build_site.py).
       Lora: headings and section titles. Manrope: everything else.
       ------------------------------------------------------------------ */
    --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --serif: var(--font-heading);   /* older rules use these names */
    --sans: var(--font-body);

    /* Weights */
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-heading: 500;              /* Lora headings: medium, never thin */

    /* Size scale, phone first (desktop values below) */
    --fs-display: 32px;             /* homepage hero h1 */
    --fs-h1: 30px;                  /* page titles, product name */
    --fs-h2: 26px;                  /* section titles */
    --fs-h3: 20px;                  /* sub-section titles */
    --fs-h4: 17px;
    --fs-lead: 16px;
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-xs: 12.5px;
    --fs-label: 11.5px;             /* uppercase eyebrows */
    --fs-button: 13.5px;
    --fs-price: 22px;               /* product page price */
    --fs-product: 15px;             /* product names in cards, search, cart */

    /* Line heights + tracking */
    --lh-heading: 1.2;
    --lh-display: 1.15;
    --lh-body: 1.65;
    --lh-tight: 1.35;
    --ls-label: .12em;
    --ls-button: .08em;
    --ls-logo: .2em;

    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
    --gutter: 20px;
    --radius: 4px;
    --header-h: 56px;
}

/* ---------- Base ---------- */
/* styles.css sets a serif font on "*"; undo it so everything inherits from body. */
* { font-family: inherit; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); }
h1, h2, .avy-serif {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.15;
}
h3, h4 { font-family: var(--sans); font-weight: 600; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.avy-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.avy-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.avy-section { padding: 56px 0; }
.avy-section--tint { background: var(--white); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.avy-label {
    display: block;
    font: 600 12px/1.4 var(--sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bronze);
    margin: 0 0 var(--s3);
}
.avy-h2 { font-size: 32px; margin: 0 0 var(--s4); }
.avy-lead { font-size: 16px; color: var(--stone); margin: 0 0 var(--s5); max-width: 560px; }
.avy-center { text-align: center; }
.avy-center .avy-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.avy-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 28px;
    font: 600 14px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
    border-radius: 2px; border: 1px solid var(--ink);
    background: var(--ink); color: var(--ivory);
    text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s;
    box-sizing: border-box;
}
.avy-btn:hover { background: #000; }
.avy-btn--outline { background: transparent; color: var(--ink); }
.avy-btn--outline:hover { background: var(--ink); color: var(--ivory); }
.avy-btn--block { display: flex; width: 100%; }
.avy-btn--wa {
    background: var(--white); color: var(--ink); border-color: var(--hairline);
    text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500;
}
.avy-btn--wa:hover { background: var(--white); border-color: var(--ink); }
.avy-btn--wa svg { color: #25D366; flex-shrink: 0; }
.avy-btn[disabled] { opacity: .5; pointer-events: none; }
.avy-link { color: var(--bronze); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Announcement bar ---------- */
.avy-announce {
    background: var(--champagne); color: var(--ink);
    font: 500 12.5px/1.4 var(--sans); text-align: center;
    padding: 8px var(--gutter); letter-spacing: 0.02em;
}

/* ---------- Header (overrides styles.css header/nav) ---------- */
header.avy-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(248, 246, 242, 0.94);
    -webkit-backdrop-filter: saturate(150%) blur(8px); backdrop-filter: saturate(150%) blur(8px);
    border-bottom: 1px solid var(--hairline);
    padding: 0; box-shadow: none;
}
header.avy-header nav {
    position: relative;
    display: grid; grid-template-columns: 48px 1fr 48px; align-items: center;
    height: var(--header-h); max-width: 1120px; margin: 0 auto; padding: 0 8px;
}
header.avy-header .logo {
    grid-column: 2; justify-self: center;
    font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--ink); text-decoration: none; padding-left: 0.22em;
}
header.avy-header .menu-toggle {
    grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; background: none; border: 0; cursor: pointer; box-sizing: border-box;
}
header.avy-header .hamburger-bar { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 0; transition: transform .2s, opacity .2s; }
header.avy-header .menu-toggle.open .hamburger-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
header.avy-header .menu-toggle.open .hamburger-bar:nth-child(2) { opacity: 0; }
header.avy-header .menu-toggle.open .hamburger-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.avy-cart-btn {
    grid-column: 3; grid-row: 1; justify-self: end; position: relative;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; color: var(--ink); padding: 0;
}
.avy-cart-btn #navCartCount {
    position: absolute; top: 6px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box;
    border-radius: 9px; background: var(--ink); color: var(--ivory);
    font: 600 10.5px/17px var(--sans); text-align: center;
}
.avy-cart-btn #navCartCount:empty, .avy-cart-btn[data-count="0"] #navCartCount { display: none; }
header.avy-header .nav-links {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; margin: 0; padding: 8px var(--gutter) 20px; list-style: none;
    background: var(--ivory); border-bottom: 1px solid var(--hairline);
    box-shadow: 0 12px 24px rgba(28, 26, 23, 0.06);
}
header.avy-header .nav-links.open { display: flex; }
header.avy-header .nav-links li { margin: 0; border-bottom: 1px solid var(--hairline); }
header.avy-header .nav-links li:last-child { border-bottom: 0; }
header.avy-header .nav-links a,
header.avy-header .nav-links .cart-toggle {
    display: block; padding: 14px 0; margin: 0 !important;
    font: 500 16px/1.3 var(--sans) !important; letter-spacing: 0; text-transform: none;
    color: var(--ink) !important; text-decoration: none; background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
}
header.avy-header .nav-links a.active { color: var(--bronze) !important; }
header.avy-header .avyelle-user-menu { margin: 0 !important; padding: 12px 0; }

@media (min-width: 900px) {
    header.avy-header nav { grid-template-columns: 1fr auto 1fr; padding: 0 var(--gutter); height: 68px; }
    header.avy-header .menu-toggle { display: none; }
    header.avy-header .logo { grid-column: 2; }
    header.avy-header .nav-links {
        display: flex !important; position: static; grid-column: 1; grid-row: 1; flex-direction: row; gap: 28px;
        padding: 0; background: none; border: 0; box-shadow: none;
    }
    header.avy-header .nav-links li { border: 0; }
    header.avy-header .nav-links a, header.avy-header .nav-links .cart-toggle { padding: 0; font-size: 14px !important; }
    .avy-cart-btn { grid-column: 3; }
}

/* ---------- Footer (footer.html is injected into #global-site-footer) ---------- */
#global-site-footer { background: var(--ink); color: #D9D2C6; padding: 0; margin: 0; min-height: 420px; }
.avy-footer { max-width: 1120px; margin: 0 auto; padding: 48px var(--gutter) 32px; font-size: 14.5px; line-height: 1.7; }
.avy-footer a { color: #F3EEE6; text-decoration: none; }
.avy-footer a:hover { text-decoration: underline; }
.avy-footer-brand { font-family: var(--serif); font-size: 26px; letter-spacing: 0.22em; color: #fff; margin: 0 0 8px; }
.avy-footer-tag { color: #B9B0A2; margin: 0 0 28px; max-width: 360px; }
.avy-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.avy-footer h3 { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #B9B0A2; margin: 0 0 12px; }
.avy-footer ul { list-style: none; margin: 0; padding: 0; }
.avy-footer li { margin: 0 0 6px; }
.avy-footer-bottom { border-top: 1px solid #3A3631; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #9A9184; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
@media (min-width: 760px) { .avy-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* styles.css styles the footer box in uppercase with padding: reset it. */
#global-site-footer { text-transform: none !important; letter-spacing: normal !important; font-size: 14.5px; padding: 0 !important; }
#global-site-footer a, #global-site-footer li { text-transform: none !important; letter-spacing: normal !important; }
.avy-footer h3 { text-transform: uppercase !important; letter-spacing: .14em !important; }

/* ---------- Floating WhatsApp ---------- */
.avy-wa-float {
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 900;
    width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(28, 26, 23, 0.18); border: 1px solid var(--hairline); transition: bottom .25s;
}
body.avy-has-sticky .avy-wa-float { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* ---------- Price ---------- */
.avy-price { display: inline-flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-family: var(--sans); }
.avy-price-now { font-weight: 600; color: var(--ink); }
.avy-price-was { color: var(--stone); font-size: .85em; }
.avy-price-was s { text-decoration: line-through; }
.avy-price-mrp { font-size: .78em; letter-spacing: .04em; font-weight: 600; }

/* ---------- Trust strip ---------- */
.avy-trust { background: var(--champagne); }
.avy-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.avy-trust-item { padding: 20px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--stone); }
.avy-trust-item:nth-child(odd) { border-right: 1px solid rgba(122, 92, 51, .18); }
.avy-trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(122, 92, 51, .18); }
.avy-trust-item strong { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }
.avy-trust-item svg { color: var(--bronze); flex-shrink: 0; margin-top: 2px; }
@media (min-width: 900px) {
    .avy-trust-grid { grid-template-columns: repeat(4, 1fr); }
    .avy-trust-item { padding: 26px 20px; border: 0 !important; border-right: 1px solid rgba(122, 92, 51, .18) !important; }
    .avy-trust-item:last-child { border-right: 0 !important; }
}

/* ---------- Hero ---------- */
.avy-hero { padding: 28px 0 40px; }
.avy-hero-grid { display: grid; gap: 28px; align-items: center; }
.avy-hero-media { position: relative; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.avy-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.avy-hero h1 { font-size: 40px; margin: 0 0 var(--s4); }
.avy-hero-sub { font-size: 16.5px; color: var(--stone); margin: 0 0 var(--s4); }
.avy-hero-price { font-size: 20px; margin: 0 0 var(--s5); }
.avy-hero-cta { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.avy-hero-cta .avy-link { text-align: center; font-size: 14.5px; }
@media (min-width: 900px) {
    .avy-hero { padding: 56px 0 72px; }
    .avy-hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
    .avy-hero-text { order: -1; }
    .avy-hero h1 { font-size: 56px; }
    .avy-hero-cta { flex-direction: row; align-items: center; gap: 28px; }
}
/* Phones: a shorter image so the headline, price and button fit on the first screen. */
@media (max-width: 899px) {
    .avy-hero { padding-top: 16px; }
    .avy-hero-grid { gap: 20px; }
    .avy-hero-media { aspect-ratio: 16 / 10; }
    .avy-hero h1 { font-size: 34px; margin-bottom: 10px; }
    .avy-hero-sub { font-size: 15.5px; margin-bottom: 12px; }
    .avy-hero-price { margin-bottom: 16px; }
}

/* ---------- Product cards ---------- */
.avy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 900px) { .avy-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } .avy-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.avy-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.avy-card-media { aspect-ratio: 4 / 5; background: #F4F1EC; overflow: hidden; }
.avy-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.avy-card:hover .avy-card-media img { transform: scale(1.03); }
.avy-card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.avy-card-name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; margin: 0; }
.avy-card-desc { font-size: 12.5px; color: var(--stone); line-height: 1.4; margin: 0 0 6px; }
.avy-card .avy-price { font-size: 15px; margin-top: auto; gap: 6px; }
.avy-card-note { font-size: 11.5px; color: var(--stone); margin-top: 2px; }
.avy-card-soldout { font-size: 12px; color: var(--warn); font-weight: 600; }

/* ---------- Steps ---------- */
.avy-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.avy-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--hairline); }
.avy-steps li:last-child { border-bottom: 1px solid var(--hairline); }
.avy-steps li::before { content: counter(s); font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--bronze); }
.avy-steps strong { display: block; font-size: 16px; margin-bottom: 2px; }
.avy-steps span { color: var(--stone); font-size: 15px; }
@media (min-width: 900px) { .avy-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } .avy-steps li { border-bottom: 1px solid var(--hairline); grid-template-columns: 1fr; } }

/* ---------- Split (text + image) ---------- */
.avy-split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .avy-split { grid-template-columns: 1fr 1fr; gap: 64px; } .avy-split--rev .avy-split-media { order: 2; } }
.avy-split-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--hairline); aspect-ratio: 1 / 1; object-fit: cover; background: var(--white); }
.avy-split p { color: var(--stone); }
.avy-signoff { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink) !important; }

/* Placeholder for photos the owner still has to shoot */
.avy-photo-todo {
    aspect-ratio: 1 / 1; border: 1px dashed #CBBFAE; border-radius: var(--radius); background: #F4EFE7;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
    font-size: 13px; color: var(--stone);
}
.avy-photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 20px; }
.avy-photo-row .avy-photo-todo { font-size: 11.5px; padding: 8px; }

/* ---------- Note box / honesty block ---------- */
.avy-note { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.avy-note h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.avy-note p { margin: 0 0 12px; color: var(--stone); font-size: 15px; }
.avy-note p:last-child { margin-bottom: 0; }

/* ---------- Promise list ---------- */
.avy-promises { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.avy-promises li { padding: 16px 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: 1fr; gap: 2px; }
.avy-promises li:last-child { border-bottom: 1px solid var(--hairline); }
.avy-promises strong { font-size: 15px; }
.avy-promises span { color: var(--stone); font-size: 15px; }
.avy-promises a { font-size: 13.5px; }
@media (min-width: 900px) { .avy-promises li { grid-template-columns: 200px 1fr auto; gap: 24px; align-items: baseline; } }

/* ---------- FAQ (native details/summary, no JS) ---------- */
.avy-faq { border-top: 1px solid var(--hairline); }
.avy-faq details { border-bottom: 1px solid var(--hairline); }
.avy-faq summary {
    list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
    font-weight: 500; font-size: 16px; line-height: 1.4;
}
.avy-faq summary::-webkit-details-marker { display: none; }
.avy-faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 300; color: var(--bronze); }
.avy-faq details[open] summary::after { content: '−'; }
.avy-faq .avy-faq-a { padding: 0 0 18px; color: var(--stone); font-size: 15px; }
.avy-faq .avy-faq-a p { margin: 0 0 10px; }

/* ---------- Instagram row ---------- */
.avy-insta { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; }
.avy-insta svg { color: var(--ink); }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.avy-pdp { padding: 0 0 40px; }
.avy-pdp-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .avy-pdp { padding-top: 32px; } .avy-pdp-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } .avy-pdp-info { position: sticky; top: 92px; } }

.avy-gallery { margin: 0 calc(-1 * var(--gutter)); }
@media (min-width: 900px) { .avy-gallery { margin: 0; } }
.avy-gallery-track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    background: var(--white);
}
.avy-gallery-track::-webkit-scrollbar { display: none; }
.avy-gallery-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; position: relative; background: var(--white); }
.avy-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.avy-gallery-cap { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); font-size: 12px; padding: 4px 10px; border-radius: 2px; color: var(--stone); }
.avy-gallery-dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
.avy-gallery-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #D6CDBF; cursor: pointer; }
.avy-gallery-dots button[aria-current="true"] { background: var(--ink); width: 18px; border-radius: 4px; }
.avy-gallery-thumbs { display: none; }
@media (min-width: 900px) {
    .avy-gallery-track { border: 1px solid var(--hairline); border-radius: var(--radius); }
    .avy-gallery-dots { display: none; }
    .avy-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
    .avy-gallery-thumbs button { width: 72px; height: 72px; padding: 0; border: 1px solid var(--hairline); border-radius: 2px; background: var(--white); cursor: pointer; overflow: hidden; }
    .avy-gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
    .avy-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
}

.avy-pdp-brand { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; color: var(--bronze); margin: 0 0 4px; }
.avy-pdp h1 { font-size: 36px; margin: 0 0 4px; }
.avy-pdp-tagline { color: var(--stone); font-size: 15px; margin: 0 0 14px; }
.avy-pdp-info .avy-price { font-size: 24px; }
/* The real stock count, as plain text (styles.css hides the old image badge). */
#stockScarcityBadge.avy-pdp-stock { display: block !important; font-size: 13.5px; color: var(--stone); margin: 4px 0 16px; }
.avy-pdp-section ul { padding-left: 18px; margin: 0; color: var(--stone); font-size: 15px; }
.avy-pdp-ship { font-size: 13.5px; color: var(--stone); margin: 2px 0 0; }
.avy-delivery {
    display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; padding: 12px 14px;
    background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); font-size: 14px; line-height: 1.5;
}
.avy-delivery svg { color: var(--trust); flex-shrink: 0; margin-top: 2px; }
.avy-delivery strong { font-weight: 600; }
.avy-pdp-actions { display: grid; gap: 10px; }
.avy-promise-box { margin: 20px 0 0; padding: 18px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); }
.avy-promise-box h2 { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 10px; }
.avy-promise-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.avy-promise-box li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 14.5px; line-height: 1.45; }
.avy-promise-box li::before { content: '✓'; color: var(--trust); font-weight: 700; }

.avy-pin { margin: 16px 0 0; }
.avy-pin label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.avy-pin-row { display: flex; gap: 8px; }
.avy-pin input {
    flex: 1; min-width: 0; height: 48px; padding: 0 14px; font: 400 16px var(--sans);
    border: 1px solid #CFC5B6; border-radius: 2px; background: var(--white); color: var(--ink); box-sizing: border-box;
}
.avy-pin button { height: 48px; padding: 0 20px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font: 600 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; cursor: pointer; }
.avy-pin-result { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.avy-pin-result:empty { display: none; }
.avy-pin-result.is-ok { color: var(--trust); }
.avy-pin-result.is-no { color: var(--warn); }

.avy-pdp-section { margin-top: 28px; }
.avy-pdp-section > h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; }
.avy-pdp-desc { color: var(--stone); font-size: 15.5px; }
.avy-specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.avy-specs th, .avy-specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.avy-specs th { width: 34%; font-weight: 500; color: var(--stone); padding-right: 12px; }
.avy-specs-note { font-size: 12.5px; color: var(--stone); margin: 8px 0 0; }
.avy-box { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; }
.avy-box img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--hairline); }
.avy-box ul { margin: 0; padding: 0 0 0 18px; font-size: 14.5px; color: var(--stone); }
.avy-box-note { font-size: 13.5px; color: var(--stone); margin: 10px 0 0; }

.avy-more { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
.avy-more::-webkit-scrollbar { display: none; }
.avy-more .avy-card { flex: 0 0 42%; scroll-snap-align: start; }
@media (min-width: 900px) { .avy-more { margin: 0; padding: 0; } .avy-more .avy-card { flex-basis: 22%; } }

/* Sticky add-to-cart bar (mobile) */
.avy-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    display: flex; align-items: center; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--hairline); box-shadow: 0 -6px 18px rgba(28,26,23,.06);
    transform: translateY(110%); transition: transform .25s ease-out;
}
.avy-sticky.is-visible { transform: none; }
.avy-sticky-meta { flex: 1; min-width: 0; line-height: 1.25; }
.avy-sticky-name { display: block; font-size: 13px; color: var(--stone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avy-sticky-price { font-weight: 600; font-size: 16px; }
.avy-sticky .avy-btn { min-height: 48px; padding: 0 22px; flex-shrink: 0; }
@media (min-width: 900px) { .avy-sticky { display: none; } }

/* ==========================================================================
   CART DRAWER (markup injected by cart.js) — restyle only
   ========================================================================== */
.cart-sidebar { background: var(--ivory) !important; font-family: var(--sans) !important; color: var(--ink); }
.cart-sidebar h3, #cartSidebarTitle { font-family: var(--serif) !important; font-weight: 500 !important; font-size: 26px !important; }
.cart-sidebar .cart-promo-box { display: none !important; }
.cart-sidebar .cart-item { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); }
.cart-sidebar .cart-item-name { font-family: var(--serif) !important; font-size: 19px !important; font-weight: 500 !important; }
.cart-sidebar .btn, .cart-sidebar .cart-checkout-btn {
    background: var(--ink) !important; color: var(--ivory) !important; border-radius: 2px !important;
    min-height: 52px; font: 600 14px/1 var(--sans) !important; letter-spacing: .12em !important; text-transform: uppercase;
}
.cart-sidebar .cart-total-final { font-family: var(--sans) !important; }
.avy-cart-assure { margin: 0 0 14px; padding: 12px 14px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); font-size: 13.5px; line-height: 1.6; color: var(--stone); }
.avy-cart-assure strong { color: var(--trust); }

/* ==========================================================================
   LEGACY CONTENT PAGES (about, contact, policies, faq, care) — tone them in
   ========================================================================== */
body:not(.avy-page) .container, body:not(.avy-page) main { font-family: var(--sans); }
body:not(.avy-page) h1, body:not(.avy-page) .page-title { font-family: var(--serif) !important; font-weight: 500 !important; }
body:not(.avy-page) .btn { background: var(--ink); color: var(--ivory); border-radius: 2px; font-family: var(--sans); letter-spacing: .12em; }
.promo-banner { display: none !important; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.avy-checkout { max-width: 1040px; margin: 0 auto; padding: 20px var(--gutter) 48px; }
.avy-checkout h1 { font-size: 32px; margin: 0 0 4px; }
.avy-checkout-sub { color: var(--stone); margin: 0 0 18px; font-size: 15px; }
.avy-checkout-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .avy-checkout-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; } .avy-checkout-summary { position: sticky; top: 92px; } }
.avy-panel { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.avy-panel h2 { font: 600 12px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin: 0 0 16px; }
.avy-field { margin: 0 0 16px; }
.avy-field label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.avy-field .avy-hint { display: block; font-size: 12.5px; color: var(--stone); margin-top: 6px; line-height: 1.45; }
.avy-field input, .avy-field textarea {
    width: 100%; box-sizing: border-box; height: 50px; padding: 0 14px;
    font: 400 16px var(--sans); color: var(--ink); background: var(--white);
    border: 1px solid #CFC5B6; border-radius: 2px;
}
.avy-field input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(122, 92, 51, .15); }
.avy-phone { display: flex; }
.avy-phone span { display: flex; align-items: center; padding: 0 12px; border: 1px solid #CFC5B6; border-right: 0; background: #F4F1EC; border-radius: 2px 0 0 2px; font-size: 16px; color: var(--stone); }
.avy-phone input { border-radius: 0 2px 2px 0; }
.avy-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.avy-check { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--ivory); cursor: pointer; font-size: 14.5px; line-height: 1.45; }
.avy-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.avy-pay { padding: 16px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ivory); }
.avy-pay strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.avy-pay span { color: var(--stone); font-size: 14px; }
.avy-sum-line { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; }
.avy-sum-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; padding: 14px 0 4px; border-top: 1px solid var(--hairline); margin-top: 8px; }
.avy-sum-sub { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--stone); }
.avy-next { list-style: none; margin: 18px 0; padding: 0; counter-reset: n; }
.avy-next li { counter-increment: n; display: grid; grid-template-columns: 26px 1fr; gap: 8px; font-size: 14px; line-height: 1.45; padding: 5px 0; color: var(--stone); }
.avy-next li::before { content: counter(n); width: 20px; height: 20px; border-radius: 50%; background: var(--champagne); color: var(--bronze); font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.avy-small { font-size: 12.5px; color: var(--stone); text-align: center; margin: 12px 0 0; }
#pincodeNotice { font-size: 13.5px !important; border-radius: 2px !important; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }


/* ==========================================================================
   V2 EDITORIAL LAYER (Nov 2026 brief)
   Ivory / champagne / charcoal / taupe. Overrides the rules above where they
   overlap, so the two can be read separately.
   ========================================================================== */

/* ---------- Base refinements ---------- */
body { background: var(--ivory); color: var(--ink); }
::selection { background: var(--champagne); color: var(--ink); }
.avy-skip { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--ink); color: var(--ivory); padding: 10px 16px; font-size: 14px; text-decoration: none; border-radius: 2px; }
.avy-skip:focus { top: 12px; }
body.avy-no-scroll { overflow: hidden; }
.avy-narrow { max-width: 760px; }
.avy-section { padding: 64px 0; }
@media (min-width: 900px) { .avy-section { padding: 96px 0; } }
.avy-section--tint { background: var(--mist); border: 0; }
.avy-section--flush { padding-top: 8px; }
.avy-section--dark { background: var(--ink); color: #E9E4DC; }
.avy-section--dark h2 { color: var(--ivory); }
.avy-section--dark .avy-label { color: var(--taupe); }
.avy-section--dark .avy-lead { color: #CFC7BB; }
.avy-section--dark .avy-insta, .avy-section--dark .avy-insta a, .avy-section--dark .avy-insta svg { color: #E9E4DC; }
.avy-label { font-size: 11.5px; letter-spacing: .2em; color: var(--bronze); }
.avy-h1 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.1; margin: 0 0 12px; }
.avy-h2 { font-size: 32px; line-height: 1.12; }
@media (min-width: 900px) { .avy-h1 { font-size: 52px; } .avy-h2 { font-size: 42px; } }
.avy-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.avy-section-head .avy-h2 { margin: 0; }
.avy-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 4px; }
.avy-link:hover { text-decoration-color: var(--ink); }
.avy-link--arrow { white-space: nowrap; font-size: 14px; letter-spacing: .04em; }
.avy-link--arrow::after { content: ' →'; }
.avy-ticks { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.avy-ticks li { position: relative; padding-left: 26px; color: var(--stone); font-size: 15px; line-height: 1.5; }
.avy-ticks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.avy-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.avy-btn-row--center { justify-content: center; }
.avy-btn { border-radius: 0; font-size: 13px; letter-spacing: .16em; transition: background .25s, color .25s, border-color .25s; }
.avy-btn:hover { background: #111; }
.avy-btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.avy-btn--outline:hover { background: var(--ink); color: var(--ivory); }
.avy-btn--light { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.avy-btn--light:hover { background: var(--white); }
.avy-btn--wa { border-radius: 0; letter-spacing: .02em; }
.avy-note--quiet { background: transparent; border: 0; border-left: 2px solid var(--champagne); border-radius: 0; padding: 4px 0 4px 16px; margin: 20px 0; }
.avy-note--quiet h3 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 4px; }
.avy-note--quiet p { font-size: 14.5px; }

/* ---------- Announcement + header ---------- */
.avy-announce { background: var(--ink); color: #E9E4DC; font-size: 12px; letter-spacing: .06em; padding: 9px var(--gutter); }
header.avy-header { border-bottom-color: var(--hairline); }
header.avy-header nav { display: flex; align-items: center; gap: 0; grid-template-columns: none; padding: 0 6px; }
header.avy-header .logo { position: absolute; left: 50%; transform: translateX(-50%); font-size: 23px; letter-spacing: .26em; padding-left: .26em; }
header.avy-header .menu-toggle { order: 1; }
.avy-icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; text-decoration: none; flex-shrink: 0; }
.avy-icon-btn:hover { color: #000; }
.avy-search-btn { order: 2; }
.avy-account-btn { order: 3; margin-left: auto; }
.avy-account-btn.is-signed-in::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--trust); transform: translate(9px, -9px); }
.avy-cart-btn { order: 4; }
@media (max-width: 359px) { header.avy-header .logo { font-size: 19px; letter-spacing: .18em; } }
@media (min-width: 900px) {
    header.avy-header nav { padding: 0 var(--gutter); height: 72px; }
    header.avy-header .logo { font-size: 26px; }
    header.avy-header .nav-links { order: 1; gap: 30px; }
    header.avy-header .nav-links a, header.avy-header .nav-links .cart-toggle { font-size: 12.5px !important; letter-spacing: .14em !important; text-transform: uppercase !important; }
    header.avy-header .nav-links a.active { color: var(--ink) !important; text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--taupe); }
    /* cart.js adds a text "Login" link; on desktop the account icon does that job */
    header.avy-header .nav-links li > a[href="login.html"] { display: none; }
    .avy-search-btn { order: 2; margin-left: auto; }
    .avy-account-btn { margin-left: 0; }
}

/* ---------- Search dialog ---------- */
.avy-search { position: fixed; inset: 0; z-index: 2000; background: rgba(37, 37, 37, .38); }
.avy-search[hidden] { display: none; }
.avy-search-panel { background: var(--ivory); max-height: 86vh; overflow: auto; box-shadow: 0 20px 40px rgba(37, 37, 37, .12); transform: translateY(-8px); opacity: 0; transition: transform .2s ease-out, opacity .2s; }
.avy-search.is-open .avy-search-panel { transform: none; opacity: 1; }
.avy-search-form { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; padding: 10px 12px 10px 20px; border-bottom: 1px solid var(--hairline); }
.avy-search-form > svg { color: var(--stone); flex-shrink: 0; }
.avy-search-form input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; font: 400 18px var(--sans); color: var(--ink); outline: none; }
.avy-search-form input::-webkit-search-cancel-button { display: none; }
.avy-search-results { max-width: 720px; margin: 0 auto; padding: 8px 20px 24px; }
.avy-search-results ul { list-style: none; margin: 0; padding: 0; }
.avy-search-results li a { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--hairline); text-decoration: none; color: var(--ink); }
.avy-search-results li a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.avy-search-results img { width: 56px; height: 56px; object-fit: cover; background: var(--mist); flex-shrink: 0; }
.avy-search-results strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.avy-search-results small { display: block; color: var(--stone); font-size: 13px; }
.avy-search-count { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 8px 0 4px; }
.avy-search-empty { color: var(--stone); font-size: 15px; }
.avy-search-empty button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }

/* ---------- Hero (editorial) ---------- */
.avy-hero { padding: 0; background: var(--ivory); }
.avy-hero-grid { display: block; }
.avy-hero-media { border: 0; border-radius: 0; aspect-ratio: 3 / 2; background: var(--mist); }
.avy-hero-media picture, .avy-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.avy-hero-text { padding: 24px var(--gutter) 32px; }
.avy-hero h1 { font-size: 34px; line-height: 1.08; margin: 0 0 12px; letter-spacing: -.005em; }
.avy-hero-sub { font-size: 15.5px; line-height: 1.55; margin: 0 0 20px; max-width: 460px; }
.avy-hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
.avy-hero-cta .avy-btn--outline { min-height: 46px; }
.avy-hero-price { font-size: 14px; color: var(--stone); margin: 16px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.avy-hero-price .avy-price { font-size: 16px; }
@media (min-width: 900px) {
    .avy-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: min(calc(100vh - 110px), 760px); }
    .avy-hero-media { order: 2; aspect-ratio: auto; height: 100%; }
    .avy-hero-media img { object-position: center; }
    .avy-hero-text { order: 1; align-self: center; padding: 64px 64px 64px max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); max-width: 600px; }
    .avy-hero h1 { font-size: 60px; margin-bottom: 20px; }
    .avy-hero-sub { font-size: 17px; margin-bottom: 32px; }
    .avy-hero-cta { display: flex; gap: 14px; }
    .avy-hero-price { margin-top: 24px; }
}

/* ---------- Trust strip ---------- */
.avy-trust { background: var(--champagne); }
.avy-trust-item { color: var(--stone); }
.avy-trust-item svg { color: var(--ink); }
.avy-trust-item:nth-child(odd) { border-right-color: rgba(37, 37, 37, .1); }
.avy-trust-item:nth-child(-n+2) { border-bottom-color: rgba(37, 37, 37, .1); }
@media (min-width: 900px) { .avy-trust-item { border-right-color: rgba(37, 37, 37, .1) !important; justify-content: center; } }

/* ---------- Product cards ---------- */
.avy-grid { gap: 28px 14px; }
@media (min-width: 900px) { .avy-grid { gap: 48px 28px; } }
.avy-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.avy-card[hidden] { display: none; }
.avy-card-media { display: block; aspect-ratio: 1 / 1; background: var(--mist); overflow: hidden; }
.avy-card-media img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.avy-card:hover .avy-card-media img { transform: scale(1.04); }
.avy-card-body { padding: 12px 0 0; gap: 3px; }
.avy-card-meta { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.avy-card-name { font-size: 20px; }
.avy-card-name a { color: var(--ink); text-decoration: none; }
.avy-card-name a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); }
.avy-card-desc { font-size: 13px; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.avy-card .avy-price { font-size: 15px; margin-top: 2px; }
.avy-card-stock { margin: 2px 0 0; font-size: 12px; color: var(--trust); }
.avy-card.is-sold-out .avy-card-stock { color: var(--warn); }
.avy-card.is-sold-out .avy-card-media img { opacity: .55; }
.avy-card-add {
    margin-top: 10px; min-height: 42px; width: 100%; border: 1px solid var(--ink); background: transparent; color: var(--ink);
    font: 600 11.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; border-radius: 0; transition: background .2s, color .2s;
}
.avy-card-add:hover { background: var(--ink); color: var(--ivory); }
.avy-card-add:disabled, .avy-card-add.sold-out { background: transparent !important; color: var(--stone) !important; border-color: var(--hairline) !important; }
@media (min-width: 900px) { .avy-card-name { font-size: 22px; } }

/* Swatches: a little square dial inside its case colour */
.avy-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 30%; background: var(--dial); box-shadow: inset 0 0 0 2px var(--case), 0 0 0 1px rgba(37, 37, 37, .12); flex-shrink: 0; }

/* ---------- Shop by finish ---------- */
.avy-finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 900px) { .avy-finishes { gap: 28px; } }
.avy-finish { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.avy-finish-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--white); margin-bottom: 8px; }
.avy-finish-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.avy-finish:hover img { transform: scale(1.04); }
.avy-finish-name { font-family: var(--serif); font-size: 19px; line-height: 1.15; }
.avy-finish-line { font-size: 12px; color: var(--stone); line-height: 1.4; }
@media (min-width: 900px) { .avy-finish-name { font-size: 26px; } .avy-finish-line { font-size: 14px; } }

/* ---------- Split sections ---------- */
.avy-split-media img { border: 0; border-radius: 0; background: var(--mist); }
@media (min-width: 900px) { .avy-split { gap: 80px; } }
.avy-signoff { font-size: 18px; margin-top: 12px; }

/* ---------- Steps / promises / FAQ tone ---------- */
.avy-steps li::before { color: var(--taupe); font-size: 38px; }
.avy-promises li { border-color: rgba(37, 37, 37, .1); }
.avy-faq summary::after { color: var(--ink); }

/* ---------- Breadcrumbs ---------- */
.avy-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 12.5px; color: var(--stone); }
.avy-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--taupe); }
.avy-crumbs a { color: var(--stone); text-decoration: none; }
.avy-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.avy-crumbs [aria-current] { color: var(--ink); }

/* ---------- Shop header + toolbar ---------- */
.avy-shop-head { padding: 20px 0 16px; }
.avy-shop-head .avy-crumbs { margin-bottom: 18px; }
.avy-shop-head .avy-lead { max-width: 620px; margin-bottom: 0; }
@media (min-width: 900px) { .avy-shop-head { padding: 36px 0 24px; } }
.avy-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); position: sticky; top: var(--header-h); background: var(--ivory); z-index: 20; }
@media (min-width: 900px) { .avy-toolbar { top: 72px; } }
.avy-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.avy-chips::-webkit-scrollbar { display: none; }
.avy-chip { flex-shrink: 0; min-height: 40px; padding: 0 16px; border: 1px solid var(--hairline); background: var(--white); color: var(--ink); font: 500 13.5px var(--sans); border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.avy-chip span { color: var(--stone); margin-left: 2px; font-size: 12px; }
.avy-chip:hover { border-color: var(--ink); }
.avy-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.avy-chip[aria-pressed="true"] span { color: var(--taupe); }
.avy-sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--stone); }
.avy-sort select { height: 40px; padding: 0 32px 0 12px; border: 1px solid var(--hairline); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23252525' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: 500 13.5px var(--sans); color: var(--ink); border-radius: 0; cursor: pointer; }
@media (max-width: 899px) { .avy-chips { flex: 1 1 100%; } .avy-sort { margin-left: auto; } }
.avy-result-count { font-size: 12.5px; color: var(--stone); margin: 14px 0 18px; letter-spacing: .04em; }

/* ---------- Product page ---------- */
.avy-pdp-crumbs { padding-top: 12px; padding-bottom: 12px; }
@media (min-width: 900px) { .avy-pdp { padding-top: 8px; } .avy-pdp-crumbs { padding-bottom: 24px; } }
.avy-gallery-stage { position: relative; }
.avy-gallery-track, .avy-gallery-slide { background: var(--mist); }
@media (min-width: 900px) { .avy-gallery-track { border: 0; border-radius: 0; } }
.avy-gallery-nav { display: none; }
.avy-gallery-count { position: absolute; right: 12px; bottom: 12px; background: rgba(248, 246, 242, .9); font-size: 12px; letter-spacing: .08em; padding: 4px 10px; color: var(--ink); }
@media (max-width: 899px) { .avy-gallery-count { display: none; } }
@media (min-width: 900px) {
    .avy-gallery-nav { display: flex; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(248, 246, 242, .92); color: var(--ink); cursor: pointer; box-shadow: 0 2px 10px rgba(37, 37, 37, .08); transition: opacity .2s; }
    .avy-gallery-nav--prev { left: 14px; } .avy-gallery-nav--next { right: 14px; }
    .avy-gallery-nav:disabled { opacity: 0; pointer-events: none; }
    .avy-gallery-nav[hidden] { display: none; }
    .avy-gallery-thumbs button { border-radius: 0; background: var(--mist); }
    .avy-gallery-thumbs button[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
}
.avy-gallery-dots button { background: var(--taupe); opacity: .45; }
.avy-gallery-dots button[aria-current="true"] { background: var(--ink); opacity: 1; }
.avy-pdp-brand { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); margin: 0 0 8px; }
.avy-pdp h1 { font-size: 38px; line-height: 1.08; margin-bottom: 6px; }
@media (min-width: 900px) { .avy-pdp h1 { font-size: 48px; } }
.avy-pdp-tax { font-size: 13px; color: var(--stone); margin: 4px 0 0; }
#stockScarcityBadge.avy-pdp-stock { display: flex !important; align-items: center; gap: 8px; color: var(--trust); font-weight: 500; margin: 10px 0 18px; }
.avy-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.avy-variants { margin: 0 0 20px; padding: 16px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.avy-variants-label { font-size: 14px; color: var(--stone); margin: 0 0 10px; }
.avy-variants-label strong { color: var(--ink); font-weight: 600; }
.avy-variants-row { display: flex; flex-wrap: wrap; gap: 6px; }
.avy-swatch-link { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; transition: border-color .2s; }
.avy-swatch-link:hover { border-color: var(--taupe); }
.avy-swatch-link.is-current { border-color: var(--ink); }
.avy-swatch-link .avy-swatch { width: 26px; height: 26px; box-shadow: inset 0 0 0 4px var(--case), 0 0 0 1px rgba(37, 37, 37, .14); }
.avy-promise-box, .avy-delivery { background: var(--white); border-color: var(--hairline); border-radius: 0; }
.avy-promise-box h2 { color: var(--ink); }
.avy-pin input, .avy-pin button { border-radius: 0; }
.avy-pdp-section > h2 { font-size: 28px; }
.avy-sticky { background: rgba(248, 246, 242, .97); }

/* ---------- Footer ---------- */
#global-site-footer { background: var(--ink); }
.avy-footer-bottom { border-top-color: #3B3936; }

/* ---------- Cart drawer & checkout tone ---------- */
.cart-sidebar .btn, .cart-sidebar .cart-checkout-btn { border-radius: 0 !important; }
.avy-panel { border-radius: 0; }
.avy-field input, .avy-field textarea, .avy-phone span { border-radius: 0; border-color: #D5CBBD; }
.avy-field input:focus { box-shadow: 0 0 0 3px rgba(166, 154, 140, .28); }
.avy-pay { border-radius: 0; }
.avy-next li::before { background: var(--champagne); color: var(--ink); }
.avy-check { border-radius: 0; }

@media (prefers-reduced-motion: reduce) { .avy-card-media img, .avy-finish-media img, .avy-search-panel { transition: none !important; } }

/* Fixes: grid children must be allowed to shrink (gallery is a scroll container) */
.avy-pdp-grid > *, .avy-gallery, .avy-gallery-stage { min-width: 0; }
nav.avy-crumbs { padding: 0 !important; margin: 0; background: none !important; box-shadow: none !important; position: static; height: auto; display: block; border: 0; }
@media (max-width: 899px) {
    .avy-pdp-crumbs { padding-top: 10px; padding-bottom: 10px; }
    .avy-pdp-brand { font-size: 10.5px; letter-spacing: .12em; }
}
/* Horizontal scrollers: keep their off-screen content from widening the mobile layout viewport */
.avy-more, .avy-gallery-track, .avy-chips { contain: paint; }
@media (min-width: 900px) {
    .avy-hero-text { max-width: none; padding-right: 56px; }
    .avy-hero-text > * { max-width: 540px; }
    .avy-hero h1 { font-size: clamp(48px, 4.4vw, 64px); }
    .avy-hero-cta .avy-btn { white-space: nowrap; }
}

/* ---------- Checkout: compact order bar (phones only) ---------- */
.avy-order-bar { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 14px; background: var(--white); border: 1px solid var(--hairline); color: var(--ink); text-decoration: none; }
.avy-order-bar[hidden] { display: none; }
.avy-order-bar-thumbs { display: flex; flex-shrink: 0; }
.avy-order-bar-thumbs img { width: 40px; height: 40px; object-fit: cover; background: var(--mist); border: 2px solid var(--white); }
.avy-order-bar-thumbs img + img { margin-left: -14px; }
.avy-order-bar-text { flex: 1; min-width: 0; line-height: 1.3; }
.avy-order-bar-text strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avy-order-bar small { display: block; font-size: 12px; color: var(--stone); }
.avy-order-bar-total { text-align: right; font-weight: 600; font-size: 16px; line-height: 1.3; flex-shrink: 0; }
.avy-order-bar-total small { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--taupe); font-weight: 500; }
@media (min-width: 900px) { .avy-order-bar { display: none !important; } }
#orderSummary { scroll-margin-top: 72px; }

/* ==========================================================================
   TYPOGRAPHY SYSTEM: assignments (keep last in this file)
   Every font, size, weight and line height below comes from the tokens in
   :root. Lora: headings and section titles. Manrope: body, navigation,
   product names, prices, buttons, forms.
   ========================================================================== */
@media (min-width: 900px) {
    :root {
        --fs-display: 46px;
        --fs-h1: 38px;
        --fs-h2: 32px;
        --fs-h3: 22px;
        --fs-lead: 17px;
        --fs-price: 24px;
        --fs-product: 16px;
    }
}

/* Base */
html body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); font-weight: var(--fw-regular); }
body p, body li, body td, body th, body input, body select, body textarea, body button, body label, body summary { font-family: var(--font-body); }
body p, body li { line-height: var(--lh-body); }

/* Headings: Lora, medium weight, balanced sizes */
body h1, body h2, body .avy-serif, body .avy-h1, body .avy-h2, body .page-title {
    font-family: var(--font-heading) !important; font-weight: var(--fw-heading) !important;
    line-height: var(--lh-heading); letter-spacing: -0.005em; text-wrap: balance;
}
body h1, body .avy-h1, body .page-title { font-size: var(--fs-h1); }
body h2, body .avy-h2 { font-size: var(--fs-h2); }
body h3, body h4 { font-family: var(--font-body); font-weight: var(--fw-semibold); line-height: var(--lh-tight); }
body h3 { font-size: var(--fs-h4); }
.avy-hero h1 { font-size: var(--fs-display) !important; line-height: var(--lh-display); }
.avy-pdp h1 { font-size: var(--fs-h1); line-height: var(--lh-display); }
.avy-checkout h1 { font-size: var(--fs-h1); }
.avy-pdp-section > h2, .avy-note h3 { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: var(--fs-h3); }
.avy-note--quiet h3 { font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-small); }
/* Small uppercase panel headings stay in Manrope */
.avy-panel h2, .avy-promise-box h2 {
    font-family: var(--font-body) !important; font-weight: var(--fw-semibold) !important; font-size: var(--fs-label);
    letter-spacing: var(--ls-label); text-transform: uppercase; line-height: 1.4;
}

/* Lead + secondary text */
.avy-lead, .avy-hero-sub { font-size: var(--fs-lead); line-height: var(--lh-body); }
.avy-hero-sub { font-size: var(--fs-lead); }

/* Eyebrow labels */
.avy-label, .avy-search-count, .avy-pdp-brand, .avy-card-meta, .avy-footer h3 {
    font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: var(--fs-label); letter-spacing: var(--ls-label);
}
.avy-card-meta { font-size: 10.5px; }

/* Logo: Lora keeps the wordmark recognisable */
header.avy-header .logo, .avy-footer-brand { font-family: var(--font-heading); font-weight: var(--fw-medium); letter-spacing: var(--ls-logo); }
header.avy-header .logo { font-size: 22px; padding-left: var(--ls-logo); }
@media (min-width: 900px) { header.avy-header .logo { font-size: 24px; } }

/* Navigation */
header.avy-header .nav-links a, header.avy-header .nav-links .cart-toggle { font-family: var(--font-body) !important; font-weight: var(--fw-medium) !important; }
@media (min-width: 900px) {
    header.avy-header .nav-links a, header.avy-header .nav-links .cart-toggle { font-size: 13px !important; letter-spacing: .06em !important; text-transform: none !important; }
}
.avy-announce { font-family: var(--font-body); font-weight: var(--fw-medium); font-size: var(--fs-xs); letter-spacing: .03em; }

/* Product names everywhere: Manrope semibold */
.avy-card-name, .avy-search-results strong, .avy-order-bar-text strong, .avy-sticky-name,
.cart-sidebar .cart-item-name, #checkoutItemsList span {
    font-family: var(--font-body) !important; font-weight: var(--fw-semibold) !important; letter-spacing: 0;
}
.avy-card-name, .avy-search-results strong { font-size: var(--fs-product) !important; line-height: var(--lh-tight); }
.cart-sidebar .cart-item-name { font-size: var(--fs-product) !important; }
.avy-order-bar-text strong { font-size: var(--fs-small); }
.avy-finish-name { font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: 17px; }
@media (min-width: 900px) { .avy-finish-name { font-size: 22px; } }
.avy-card-desc { font-size: 13px; line-height: 1.45; }

/* Prices: Manrope, tabular figures so totals line up */
.avy-price, .avy-price-now, .avy-sticky-price, .avy-sum-line, .avy-sum-total, .avy-order-bar-total,
.cart-sidebar .cart-item-price, .cart-sidebar .cart-total, .cart-sidebar .cart-total-final, #checkoutTotal {
    font-family: var(--font-body) !important; font-variant-numeric: tabular-nums;
}
.avy-price-now { font-weight: var(--fw-bold); }
.avy-pdp-info .avy-price { font-size: var(--fs-price); }
.avy-card .avy-price { font-size: var(--fs-product); }

/* Buttons + chips + forms */
.avy-btn, .avy-card-add, .avy-pin button, .cart-sidebar .btn, .cart-sidebar .cart-checkout-btn {
    font-family: var(--font-body) !important; font-weight: var(--fw-semibold) !important;
    font-size: var(--fs-button) !important; letter-spacing: var(--ls-button) !important;
}
.avy-card-add { font-size: 12px !important; }
.avy-btn--wa { text-transform: none; letter-spacing: 0 !important; font-weight: var(--fw-medium) !important; font-size: 15px !important; }
.avy-chip, .avy-sort select { font-family: var(--font-body); font-weight: var(--fw-medium); }
.avy-field label, .avy-pin label { font-weight: var(--fw-semibold); }

/* Steps, FAQ, sign-off */
.avy-steps li::before { font-family: var(--font-heading); font-size: 30px; }
.avy-faq summary { font-weight: var(--fw-semibold); font-size: var(--fs-body); }
.avy-signoff { font-family: var(--font-heading); font-style: italic; font-size: 17px; }

/* Cart drawer title */
.cart-sidebar h3, #cartSidebarTitle { font-family: var(--font-heading) !important; font-weight: var(--fw-heading) !important; font-size: 22px !important; }

/* Older content pages (policies, watch care, contact): same scale as the rest */
body .policy-header h1, body .care-hero h1, body .page-title, body main > .avy-wrap > h1 { font-size: var(--fs-h1); }
body .policy-section h2, body .care-footer-banner h2 { font-size: var(--fs-h3); }
body .policy-intro, body .care-hero p { font-family: var(--font-body); font-style: normal; }

/* Phase 1 (16 Nov 2026): "why buy from us" line in the product trust box; checkout reassurance */
.avy-promise-why { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--hairline); font-size: var(--fs-small); line-height: var(--lh-tight); color: var(--stone); }
.avy-promise-why strong { color: var(--ink); }
.avy-place-assure { text-align: center; margin: 10px 0 4px; color: var(--trust); font-weight: 600; }

/* Collection pages (gifts, rose gold, silver), 16 Nov 2026 */
.avy-collection-more { margin-top: 24px; color: var(--stone); }
.avy-gift-how { background: var(--champagne); }
.avy-gift-steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.avy-gift-steps li { position: relative; padding-left: 28px; line-height: var(--lh-tight); }
.avy-gift-steps li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--trust); }

/* Header, 900–1099px (small laptops, tablets in landscape): six menu items plus
   the centred logo don't fit side by side, so keep the hamburger menu here. */
@media (min-width: 900px) and (max-width: 1099px) {
    header.avy-header .menu-toggle { display: flex; }
    header.avy-header .nav-links {
        display: none !important; position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px;
        background: var(--ivory); border-bottom: 1px solid var(--hairline);
        box-shadow: 0 12px 24px rgba(28, 26, 23, 0.06);
    }
    header.avy-header .nav-links.open { display: flex !important; }
    header.avy-header .nav-links li { border-bottom: 1px solid var(--hairline); }
    header.avy-header .nav-links li:last-child { border-bottom: 0; }
    header.avy-header .nav-links a, header.avy-header .nav-links .cart-toggle { padding: 14px 0; }
    .avy-search-btn { margin-left: 0; }
    .avy-account-btn { margin-left: auto; }
}
