/* Sweet Berry Lyfe storefront. Colors, type and layout follow the JMC proposal mockups. */
:root {
  --burgundy: #72182a;
  --burgundy-d: #55111f;
  --burgundy-l: #8e2b40;
  --cream: #fcf6ea;
  --cream-hd: #fdf8ee;
  --cream-d: #f3e7d3;
  --peach: #fbd1b4;
  --peach-l: #fde9d7;
  --card: #f9eddc;
  --gold: #f6c34a;
  --gold-d: #e3a928;
  --gold-text: #a8761c;
  --green: #1f4a33;
  --leaf: #5f8f3a;
  --ink: #2b1a1f;
  --muted: #6b5a5e;
  --line: #e6d6c2;
  --white: #fffdf9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(85, 17, 31, .12);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; }
img, svg { max-width: 100%; display: block; }
a { color: var(--burgundy); text-underline-offset: 3px; }
a:hover { color: var(--burgundy-d); }
h1, h2, h3 { text-wrap: balance; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--burgundy); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-d); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--burgundy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-bottom: .8em; }
.tiny-caps { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.gold-rule { display: block; width: 34px; height: 2px; background: var(--gold-d); margin: 14px 0; border: 0; }

/* Announcement bar */
.announce { background: #79182a; color: #fff; font-size: .78rem; padding: 6px 12px; letter-spacing: .03em; display: flex; justify-content: center; align-items: center; gap: 14px; }
.announce::before, .announce::after { content: ""; flex: 0 1 70px; height: 1px; background: rgba(255,255,255,.55); }
.announce p { margin: 0; text-align: center; }
.announce span + span::before { content: "\00b7"; margin: 0 .7em; opacity: .7; }

/* Header */
.site-header { background: var(--cream-hd); position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 26px; padding: 6px 0; min-height: 74px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 56px; width: auto; }
.primary-nav { display: flex; gap: 2px; margin-left: 6px; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 5px; text-decoration: none; color: var(--burgundy); font-weight: 500; font-size: .92rem; padding: 10px 12px; border-radius: 999px; }
.primary-nav .nav-item > a { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1440px) {
  .header-row { gap: 14px; }
  .primary-nav .nav-item > a { padding: 10px 8px; font-size: .86rem; }
  .search input { width: 150px; }
}
.nav-item > a:hover, .nav-item > a[aria-current="page"] { background: var(--peach-l); }
.chev { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); flex: none; }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--cream-hd); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; z-index: 70; }
.nav-item:hover .sub, .nav-item:focus-within .sub { display: block; }
.sub a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--burgundy); font-size: .9rem; white-space: nowrap; }
.sub a:hover { background: var(--peach-l); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search { position: relative; }
.search input { font: inherit; font-size: .84rem; border: 1px solid var(--burgundy-l); background: transparent; border-radius: 999px; padding: 10px 14px 10px 38px; width: 230px; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--burgundy); }
.cart-btn { position: relative; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--burgundy); border-radius: 50%; }
.cart-btn:hover { background: var(--peach-l); }
.cart-btn svg { width: 27px; height: 27px; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-weight: 500; color: var(--burgundy); cursor: pointer; padding: 8px; align-items: center; gap: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 500; font-size: .95rem; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--burgundy); background: var(--burgundy); color: #fff; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { background: var(--burgundy-d); border-color: var(--burgundy-d); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--burgundy); }
.btn.ghost:hover { background: var(--burgundy); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--burgundy-d); font-weight: 700; }
.btn.gold:hover { background: var(--gold-d); border-color: var(--gold-d); color: var(--burgundy-d); }
.btn.sm { padding: 10px 20px; font-size: .86rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--burgundy); padding-bottom: 2px; }

/* Vertical tagline used on photos */
.tagline-stack { position: absolute; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #7a6a5a; line-height: 1.75; font-weight: 500; pointer-events: none; }
.tagline-stack::after { content: ""; display: block; width: 28px; height: 1.5px; background: #b89868; margin-top: 6px; }

/* Hero */
.hero { position: relative; background: var(--cream); overflow: hidden; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(62%, 980px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%); mask-image: linear-gradient(90deg, transparent 0, #000 26%); }
.hero-photo .tagline-stack { right: 3%; top: 16%; }
.hero-inner { position: relative; z-index: 2; min-height: clamp(460px, 28vw, 560px); display: flex; align-items: center; }
.hero-copy { padding: 44px 0; max-width: 520px; }
.hero-copy h1 { font-size: clamp(3rem, 6.2vw, 5.2rem); line-height: .98; margin-bottom: .3em; }
.hero-copy .lede { font-size: clamp(1.15rem, 2vw, 1.5rem); max-width: 17em; color: var(--ink); line-height: 1.3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0 1.8em; }
.hero-copy .tiny-caps { display: block; }
.hero-copy .tiny-caps::after { content: ""; display: block; width: 26px; height: 1.5px; background: var(--gold-d); margin-top: 10px; }

.flavor-strip { background: var(--peach); display: flex; align-items: center; justify-content: center; gap: 20px; height: 62px; padding: 0 160px; position: relative; overflow: hidden; background-image: url(/images/deco-strip-left.jpg), url(/images/deco-strip-right.jpg); background-repeat: no-repeat; background-position: left center, right center; background-size: auto 100%; }
.flavor-strip::before, .flavor-strip::after { content: ""; flex: 1 1 40px; max-width: 150px; height: 1px; background: #c9a27f; }
.flavor-strip p { margin: 0; font-family: var(--font-display); font-size: clamp(1.05rem, 2.1vw, 1.55rem); color: var(--burgundy); text-align: center; }

/* Sections */
.section { padding: 56px 0; }
.section.tight { padding: 36px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head h2 { margin-bottom: 0; }

/* Family cards with photography */
.family-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.family-card { position: relative; overflow: hidden; border-radius: 6px; min-height: 250px; background: var(--card); box-shadow: 0 6px 18px rgba(85, 17, 31, .1); display: flex; align-items: center; }
.family-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.family-card .copy { position: relative; z-index: 2; padding: 26px 26px 26px 30px; max-width: 52%; }
.family-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.08; margin-bottom: .35em; }
.family-card .from { color: var(--ink); font-size: 1.05rem; margin-bottom: .9em; }

/* Collection band */
.band { position: relative; background: linear-gradient(90deg, var(--peach-l), #f9dcc3); overflow: hidden; }
.band-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 62%; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.band-inner { position: relative; z-index: 2; min-height: 320px; display: flex; align-items: center; justify-content: flex-end; }
.band-copy { width: min(100%, 440px); padding: 36px 0; }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.02; margin-bottom: .35em; }
.band p { font-size: 1.1rem; max-width: 22em; }
.band .gold-rule { margin: 16px 0 0; }

/* Know before your first sip */
.know-sec { background: var(--cream-hd); background-image: url(/images/deco-know-left.jpg), url(/images/deco-know-right.jpg); background-repeat: no-repeat; background-position: left center, right center; background-size: auto 100%; padding: 36px 0 44px; }
.know-sec h2 { text-align: center; margin-bottom: 22px; }
.know { display: flex; justify-content: center; align-items: center; max-width: 880px; margin: 0 auto; }
.know a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 12px 20px; text-decoration: none; color: var(--burgundy); font-weight: 500; font-size: 1rem; line-height: 1.3; }
.know a + a { border-left: 1px solid #cdb89a; }
.know a:hover { color: var(--burgundy-d); }
.know a:hover .arr { transform: translateX(3px); }
.know .ico { width: 54px; height: 54px; color: var(--green); flex: none; }
.know .ico svg { width: 100%; height: 100%; }
.arr { display: inline-block; transition: transform .15s; }
.explore-all { display: none; }
.know .mob-only { display: none; }

/* Newsletter */
.newsletter { background: #72182a; background-image: url(/images/deco-news-left.jpg), url(/images/deco-news-right.jpg); background-repeat: no-repeat; background-position: left center, right center; background-size: auto 100%; color: #fff; padding: 46px 0 50px; text-align: center; }
.newsletter h2 { color: #fff; font-size: 1.9rem; margin-bottom: .2em; }
.newsletter p { opacity: .9; margin-bottom: 0; font-size: .92rem; }
.news-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.news-form input[type=email] { font: inherit; font-size: .9rem; padding: 14px 22px; border-radius: 999px; border: 0; width: min(100%, 370px); }
.form-note { font-size: .78rem; opacity: .75; margin-top: 12px; }

/* Footer */
.site-footer { background: var(--cream-hd); border-top: 1px solid var(--line); padding: 20px 0 14px; font-size: .84rem; }
.footer-row { display: flex; align-items: center; gap: 0; }
.footer-row .brand img { height: 56px; }
.footer-links { display: flex; align-items: center; margin-left: 22px; }
.footer-links a, .footer-social, .footer-tag { padding: 6px 22px; border-left: 1px solid #d9c7ac; }
.footer-links a { text-decoration: none; color: var(--ink); }
.footer-links a:hover { text-decoration: underline; }
.footer-social { display: flex; gap: 14px; margin-left: auto; align-items: center; }
.footer-social a { color: var(--ink); display: grid; }
.footer-social svg { width: 22px; height: 22px; }
.footer-tag { color: var(--ink); font-size: .78rem; line-height: 1.4; border-left: 1px solid #d9c7ac; }
.footer-tag::after { content: ""; display: block; width: 28px; height: 1.5px; background: var(--gold-d); margin-top: 4px; }
.footer-bottom { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--muted); font-size: .78rem; }
.footer-bottom a { color: var(--muted); }

/* Shop: page hero */
.page-hero { position: relative; background: var(--cream); overflow: hidden; }
.page-hero .hero-photo { width: min(62%, 900px); }
.page-hero .hero-photo img { object-position: 30% 40%; }
.page-hero .hero-inner { min-height: clamp(290px, 20vw, 380px); }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: .98; }
.page-hero .lede { font-size: 1.3rem; line-height: 1.3; max-width: 17em; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 26px 0 8px; }
.chip { font: inherit; font-weight: 500; font-size: .9rem; padding: 11px 32px; border-radius: 999px; border: 1.5px solid var(--burgundy); background: transparent; color: var(--burgundy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--burgundy); color: #fff; }
.filter-note { text-align: center; color: var(--ink); font-size: .92rem; margin: 6px 0 26px; }
.flavor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flavor-card { background: var(--card); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-align: center; padding-bottom: 20px; transition: box-shadow .2s, transform .2s; }
.flavor-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.flavor-card .art { display: block; background: var(--card); aspect-ratio: 618 / 446; overflow: hidden; }
.flavor-card .art img, .flavor-card .art svg { width: 100%; height: 100%; }
img.ph.contain { object-fit: contain; }
img.ph.cover { object-fit: cover; }
.flavor-card h3 { font-size: 1.55rem; margin: 2px 0 2px; }
.flavor-card h3 a { text-decoration: none; }
.flavor-card .kind { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; display: block; }
.flavor-card .btn { align-self: center; }
.flavor-card .info { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--peach); color: var(--burgundy-d); margin-bottom: 8px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.view-all { text-align: center; margin: 22px 0 0; }
.view-all button { font: inherit; background: none; border: 0; color: var(--burgundy); font-weight: 500; cursor: pointer; border-bottom: 1.5px solid var(--burgundy); padding: 0 0 2px; }

.size-band { position: relative; background: linear-gradient(90deg, var(--peach-l), #f9dcc3); overflow: hidden; margin-top: 44px; }
.size-band .band-photo { width: 58%; }
.size-band .band-inner { min-height: 300px; }
.size-band h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); white-space: nowrap; }
.questions { background: #72182a; background-image: url(/images/deco-news-left.jpg), url(/images/deco-news-right.jpg); background-repeat: no-repeat; background-position: left center, right center; background-size: auto 100%; color: #fff; padding: 24px 0; }
.questions .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.questions strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.questions .btn.ghost { color: #fff; border-color: #fff; }
.questions .btn.ghost:hover { background: #fff; color: var(--burgundy); }

/* Product page */
.crumbs { font-size: .8rem; color: var(--muted); padding: 14px 0 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding: 8px 0 36px; align-items: start; }
.gallery .main { position: relative; border-radius: 4px; overflow: hidden; background: var(--card); aspect-ratio: 524 / 438; }
.gallery .main img, .gallery .main svg { width: 100%; height: 100%; }
.gallery .main .tagline-stack { left: 6%; top: 17%; }
.thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumbs button { width: 120px; aspect-ratio: 1.2; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--card); }
.thumbs button[aria-current="true"] { border-color: var(--burgundy); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.04; margin-bottom: .2em; }
.buy .flavor-name { font-family: var(--font-body); font-size: 1.55rem; color: var(--ink); margin-bottom: .35em; font-weight: 400; }
.price-line { font-size: 1.7rem; font-weight: 700; color: var(--burgundy); margin: .1em 0 .2em; }
.selected-line { font-size: .88rem; color: var(--ink); margin-bottom: 1.1em; padding-bottom: 6px; border-bottom: 1px solid #cdb89a; }
.blurb { color: var(--ink); max-width: 52ch; font-size: .96rem; }
.opts { display: flex; flex-direction: column; }
fieldset.opt { border: 0; padding: 0; margin: 0 0 20px; }
fieldset.opt legend { font-weight: 500; font-size: 1.05rem; margin-bottom: 10px; color: var(--ink); padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: block; padding: 10px 20px; border: 1.5px solid #a08f84; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink); background: transparent; transition: background .15s; }
.pill input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--gold-d); outline-offset: 2px; }
.pill input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.qty-label { font-weight: 500; font-size: 1.05rem; margin-bottom: 10px; }
.buy-row { display: flex; gap: 14px; align-items: stretch; margin: 0 0 16px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #a08f84; border-radius: 6px; background: transparent; }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; height: 46px; text-align: center; border: 0; border-inline: 1px solid #cdb89a; background: none; font: inherit; font-weight: 500; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row .btn { flex: 1; font-size: 1.05rem; }
.care-note { font-size: .92rem; color: var(--ink); border-top: 1px solid #cdb89a; padding-top: 14px; margin-top: 4px; }
.care-note a { font-weight: 500; }
.stock-msg { font-size: .85rem; font-weight: 500; color: var(--leaf); margin: -6px 0 10px; }
.stock-msg.out { color: var(--burgundy-l); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--green); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .3s; z-index: 120; font-weight: 500; font-size: .9rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.details { padding: 20px 0 36px; max-width: 900px; margin-inline: auto; }
.details h2 { display: flex; align-items: center; gap: 22px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.details h2::after { content: ""; flex: 1; height: 1px; background: #c9a27f; }
details.acc { background: #fffaf1; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
details.acc summary { cursor: pointer; padding: 15px 22px; font-weight: 500; color: var(--burgundy); display: flex; align-items: center; gap: 18px; list-style: none; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary .ico { width: 30px; height: 30px; color: var(--green); flex: none; }
details.acc summary .ico svg { width: 100%; height: 100%; }
details.acc summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--burgundy); border-bottom: 2px solid var(--burgundy); transform: rotate(45deg); transition: transform .2s; }
details.acc[open] summary::after { transform: rotate(-135deg); }
details.acc .acc-body { padding: 0 22px 18px 70px; color: var(--ink); font-size: .95rem; }
details.acc .acc-body ul { margin: 0 0 .8em; padding-left: 1.2em; }

.more-band { background: var(--peach-l); padding: 24px 0 26px; }
.more-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.more-head h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.more-head .tiny-caps { display: flex; align-items: center; gap: 14px; }
.more-head .tiny-caps::after { content: ""; width: 50px; height: 1px; background: #c9a27f; }
.more-band .flavor-grid { gap: 22px; }
.more-band .flavor-card { background: transparent; padding-bottom: 10px; }
.more-band .flavor-card .art { border-radius: 2px; }
.more-band .flavor-card h3 { font-size: 1.3rem; margin: 10px 0 8px; }
.plan { background: var(--cream-hd); padding: 24px 0; }
.plan .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: 960px; }
.plan strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--burgundy); display: block; line-height: 1.15; }
.plan span { font-size: 1rem; }
.plan .btn { padding-inline: 44px; }
.mobile-buy { display: none; }

/* Content pages */
.prose { max-width: 760px; margin-inline: auto; padding: 44px 0 64px; }
.prose h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.callout { background: #fffaf1; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 8px; padding: 18px 22px; margin: 1.4em 0; }
.callout p:last-child { margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.4em 0; }
.tier { background: #fffaf1; border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.tier b { font-family: var(--font-display); color: var(--burgundy); font-size: 1.15rem; display: block; margin-bottom: 4px; }

/* Forms */
.form { display: grid; gap: 14px; }
.form label { font-weight: 500; font-size: .88rem; color: var(--burgundy-d); display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }

/* Cart drawer and cart page */
.scrim { position: fixed; inset: 0; background: rgba(43, 26, 31, .45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(100%, 420px); background: var(--cream); z-index: 100; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.18); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.5rem; }
.icon-btn { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--burgundy); padding: 4px 10px; border-radius: 8px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px 22px; background: var(--white); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item .thumb { width: 76px; height: 76px; border-radius: 6px; overflow: hidden; background: var(--card); }
.line-item .thumb img, .line-item .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.line-item .t { font-weight: 700; color: var(--burgundy); line-height: 1.25; }
.line-item .s { font-size: .82rem; color: var(--muted); }
.line-item .qty { transform: scale(.85); transform-origin: left center; margin-top: 4px; }
.line-item .rm { background: none; border: 0; color: var(--muted); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 0; margin-left: 4px; }
.line-item .p { font-weight: 700; }
.subtotal { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.progress { margin: 10px 0 14px; font-size: .85rem; }
.bar { height: 8px; background: var(--cream-d); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--leaf)); width: 0; transition: width .3s; }
.empty-cart { text-align: center; padding: 48px 0; color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; padding: 30px 0 64px; }
.panel { background: #fffaf1; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.panel h2 { font-size: 1.5rem; }
.fine { font-size: .82rem; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav .nav-item > a { padding: 10px 8px; }
  .search input { width: 170px; }
  .footer-links a, .footer-social, .footer-tag { padding: 6px 14px; }
}
@media (min-width: 961px) and (max-width: 1320px) {
  /* With several product menus the full menu no longer fits: use the compact menu button. */
  .primary-nav, .search { display: none; }
  .menu-btn { display: inline-flex; }
  .header-row { gap: 8px; min-height: 68px; }
  .brand img { height: 48px; }
  .primary-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-hd); flex-direction: column; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); margin: 0; max-height: calc(100vh - 120px); overflow: auto; box-shadow: var(--shadow); }
  .nav-item > a { font-weight: 700; }
  .chev { display: none; }
  .sub { display: block; position: static; border: 0; box-shadow: none; background: none; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { padding: 6px 12px; font-size: .86rem; color: var(--muted); }
}
@media (max-width: 960px) {
  .primary-nav, .search { display: none; }
  .menu-btn { display: inline-flex; }
  .header-row { gap: 8px; min-height: 68px; }
  .brand img { height: 48px; }
  .primary-nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-hd); flex-direction: column; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); margin: 0; max-height: calc(100vh - 120px); overflow: auto; box-shadow: var(--shadow); }
  .nav-item > a { font-weight: 700; }
  .chev { display: none; }
  .sub { display: block; position: static; border: 0; box-shadow: none; background: none; padding: 0 0 6px 14px; min-width: 0; }
  .sub a { padding: 6px 12px; font-size: .86rem; color: var(--muted); }
  .hero-photo, .page-hero .hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 594 / 402; }
  .hero-photo img { object-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .page-hero .hero-photo { aspect-ratio: 604 / 285; }
  .hero-inner, .page-hero .hero-inner { min-height: 0; }
  .hero-copy { padding: 30px 0 4px; max-width: none; }
  .hero-photo .tagline-stack { display: none; }
  .flavor-strip { padding: 0 80px; height: 56px; }
  .family-grid { grid-template-columns: 1fr; }
  .band-photo, .size-band .band-photo { position: relative; width: 100%; height: 240px; }
  .band-photo img { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); object-position: center; }
  .band-inner { min-height: 0; justify-content: flex-start; }
  .size-band h2 { white-space: normal; }
  .product, .cart-layout { grid-template-columns: 1fr; gap: 20px; }
  .tiers { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-row { flex-wrap: wrap; row-gap: 10px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; order: 3; width: 100%; }
  .footer-links a:first-child { border-left: 0; padding-left: 0; }
  .footer-social { margin-left: auto; border-left: 0; }
  .footer-tag { display: none; }
  .section { padding: 40px 0; }
  .mobile-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--cream); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); z-index: 70; box-shadow: 0 -6px 20px rgba(85,17,31,.1); }
  .mobile-buy .btn { width: 100%; }
  body.has-mobile-buy { padding-bottom: 76px; }
  .buy-row .btn { display: none; }
  .gallery .main { border-radius: 0; margin-inline: -16px; aspect-ratio: 1 / 1.02; }
  .gallery .main img { object-position: center; }
  .opt-flavor { order: 2; }
  .opt-size { order: 1; }
  .stock-msg { order: 3; }
  .more-band .flavor-grid { grid-template-columns: 1fr; }
  .know { gap: 0; }
  .know a { flex-direction: column; text-align: center; gap: 8px; padding: 8px 10px; font-size: .86rem; }
  .know .ico { width: 44px; height: 44px; }
  .know a:first-child { display: none; }
  .know .mob-only { display: flex; }
  .explore-all { display: block; text-align: center; margin-top: 20px; }
  .explore-all .btn { width: min(100%, 360px); font-size: 1.05rem; padding: 16px 28px; }
}
@media (max-width: 560px) {
  .announce { font-size: .72rem; }
  .announce span:nth-child(2) { display: none; }
  .announce::before, .announce::after { display: none; }
  .family-card { min-height: 0; flex-direction: column; align-items: stretch; background: var(--cream-hd); }
  .family-card img { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 972 / 496; object-position: center; }
  .family-card .copy { max-width: none; padding: 20px 20px 16px; }
  .family-card h3 { font-size: 1.55rem; }
  .family-card .from { font-size: .95rem; margin-bottom: .8em; }
  .form .two { grid-template-columns: 1fr; }
  .flavor-card h3 { font-size: 1.15rem; }
  .flavor-card .kind { font-size: .62rem; letter-spacing: .2em; }
  .flavor-card .btn { padding: 9px 14px; font-size: .78rem; }
  .band-copy { padding: 22px 0 30px; }
  .chip { padding: 10px 18px; font-size: .85rem; }
  .filters { gap: 8px; }
  .flavor-strip { height: auto; min-height: 56px; padding: 14px 20px; background-image: none; }
  .flavor-strip::before, .flavor-strip::after { display: none; }
  .questions strong { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
