/* ==========================================================================
   CURVELLE — main stylesheet
   ========================================================================== */
:root {
  --burgundy: #702D40;
  --burgundy-dark: #4A1927;
  --ivory: #F8F5F0;
  --ivory-deep: #F1EBE3;
  --espresso: #292321;
  --rose: #D9A6AC;
  --rose-text: #A45E6E;
  --white: #FFFFFF;
  --grey: #85807C;
  --line: #E4DCD2;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;

  --container: 1320px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --radius: 4px;
  --radius-pill: 999px;
  --ease: 180ms ease;
  --section-y: clamp(36px, 4.6vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--espresso);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.55;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--burgundy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }
.icon { width: 20px; height: 20px; flex: none; }

:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
.site-footer :focus-visible, .manifesto :focus-visible, .announce :focus-visible { outline-color: #fff; }

/* ---------- image fallback frames ---------- */
.img-frame { position: relative; overflow: hidden; background: #e9dfd8; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.img-missing { background: #e4d3d0; }
.img-frame.img-missing img { visibility: hidden; }
.img-frame.img-missing::before {
  content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: 12px;
  text-align: center; font-family: var(--font-serif); font-size: 14px; color: var(--burgundy); opacity: .7;
}

/* ---------- typography ---------- */
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--espresso); }
.eyebrow--dark { color: var(--burgundy); font-weight: 600; letter-spacing: .16em; font-size: 10.5px; margin-bottom: 4px; }
.eyebrow--light { color: #f3e3dc; }
.h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.15; color: var(--espresso); }
.h3 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 28px; border-radius: var(--radius-pill); border: 1px solid var(--burgundy);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background var(--ease), color var(--ease), border-color var(--ease), opacity var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); }
.btn-outline { background: var(--ivory); color: var(--burgundy); }
.btn-outline:hover { background: var(--burgundy); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 24px; }
.btn-xs { min-height: 34px; padding: 0 16px; font-size: 10.5px; margin-top: 8px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover { background: var(--burgundy); }
.link-btn { background: none; border: 0; padding: 4px 0; font-size: 12px; color: var(--grey); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.link-btn .icon { width: 14px; height: 14px; }
.link-btn:hover { color: var(--burgundy); }
.link-btn--center { display: flex; margin: 14px auto 0; }

/* ---------- announcement bar ---------- */
.announce { background: var(--burgundy-dark); color: #fff; min-height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(10px, 2vw, 28px); }
.announce__text { flex: 1; text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 8px 6px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 0; }
.announce__div { display: inline-block; width: 1px; height: 11px; background: rgba(255,255,255,.7); margin: 0 18px; }
.announce__arrow { background: none; border: 0; color: #fff; width: 32px; height: 32px; display: grid; place-items: center; opacity: .85; }
.announce__arrow:hover { opacity: 1; }
.announce__arrow .icon { width: 14px; height: 14px; }

/* ---------- header ---------- */
.site-header { background: var(--ivory); border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 60; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__mark { font-family: var(--font-serif); font-weight: 400; font-size: 34px; letter-spacing: .1em; color: var(--burgundy); text-transform: uppercase; }
.logo__mark--sm { font-size: 22px; }
.logo__mark--footer { color: #fff; font-size: 28px; }
.logo__tag { font-size: 8px; font-weight: 500; letter-spacing: .3em; color: var(--espresso); margin-top: 7px; padding-left: 4px; }
.logo__tag--light { color: rgba(255,255,255,.85); }
.main-nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.main-nav a { font-size: 13px; font-weight: 500; padding: 8px 0; border-bottom: 1.5px solid transparent; transition: border-color var(--ease), color var(--ease); }
.main-nav a:hover, .main-nav a.is-active { color: var(--burgundy); border-color: var(--burgundy); }
.header__tools { display: flex; align-items: center; gap: 6px; }
.search { position: relative; display: flex; align-items: center; background: var(--ivory-deep); border: 1px solid var(--line); border-radius: var(--radius-pill); width: clamp(150px, 15vw, 210px); margin-right: 8px; transition: border-color var(--ease); }
.search:focus-within { border-color: var(--burgundy); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 4px 0 16px; height: 40px; font-size: 12px; }
.search input::placeholder { color: var(--grey); }
.search button { background: none; border: 0; width: 40px; height: 40px; display: grid; place-items: center; }
.search .icon { width: 17px; height: 17px; }
.icon-btn { position: relative; background: none; border: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background var(--ease); }
.icon-btn:hover { background: var(--ivory-deep); }
.icon-btn .icon { width: 22px; height: 22px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--burgundy); color: #fff; font-size: 10px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.badge--dot { background: var(--burgundy); }

.demo-note { background: #efe3dd; color: var(--burgundy-dark); font-size: 12px; text-align: center; padding: 7px 0; }
.demo-note button { background: none; border: 0; text-decoration: underline; margin-left: 8px; font-size: 12px; color: inherit; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ivory); overflow: hidden; min-height: clamp(460px, 43.75vw, 720px); display: flex; align-items: center; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; }
.hero__media img { object-position: 50% 22%; }
.hero__fade { position: absolute; top: 0; bottom: 0; left: 0; width: 66%; background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 48%, rgba(248,245,240,.88) 62%, rgba(248,245,240,0) 100%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 520px; padding: 30px 0; }
.hero__copy .eyebrow { margin-bottom: 22px; }
.hero__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 4.7vw, 70px); line-height: .96; color: var(--burgundy); letter-spacing: .01em; }
.hero__title span { display: block; }
.hero__title-accent { font-style: italic; color: var(--rose-text); font-weight: 400; }
.hero__text { margin-top: 26px; max-width: 360px; font-size: 14.5px; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__script { position: absolute; right: var(--gutter); top: 14%; font-family: var(--font-script); font-size: clamp(28px, 3.4vw, 50px); line-height: 1.05; color: var(--rose); transform: rotate(-9deg); text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.18); pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0 calc(var(--section-y) * .55); }
.section--tight-top { padding-top: calc(var(--section-y) * .5); padding-bottom: var(--section-y); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head--mt { margin-top: 56px; }
.section__head-tools { display: flex; align-items: center; gap: 18px; }
.view-all { display: inline-flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; color: var(--espresso); padding: 6px 0; white-space: nowrap; }
.view-all .icon { width: 14px; height: 14px; transition: transform var(--ease); }
.view-all:hover { color: var(--burgundy); }
.view-all:hover .icon { transform: translateX(3px); }
.circle-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); display: grid; place-items: center; transition: border-color var(--ease), background var(--ease); }
.circle-btn:hover { border-color: var(--burgundy); background: #fff; }
.circle-btn .icon { width: 16px; height: 16px; }
.scroll-ctrls { display: none; gap: 8px; }

/* tiles (category + edit cards) */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { display: block; border-radius: var(--radius); aspect-ratio: 4 / 3.15; color: #fff; }
.tile img { position: absolute; inset: 0; transition: transform 500ms ease; }
.tile:hover img { transform: scale(1.04); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,12,16,.82) 0%, rgba(26,12,16,.45) 28%, rgba(26,12,16,0) 55%); }
.tile__text { position: absolute; left: 14px; right: 44px; bottom: 14px; display: flex; flex-direction: column; gap: 2px; }
.tile__text strong { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; }
.tile__text small { font-size: 11px; opacity: .92; }
.tile__arrow { position: absolute; right: 14px; bottom: 16px; }
.tile__arrow .icon { width: 17px; height: 17px; transition: transform var(--ease); }
.tile:hover .tile__arrow .icon { transform: translateX(3px); }
.tile--tall { aspect-ratio: 150 / 166; }

/* product cards */
.product-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard__media { aspect-ratio: 1 / 1.08; border-radius: var(--radius); }
.pcard__media a { display: block; width: 100%; height: 100%; }
.pcard__media img { transition: transform 500ms ease, opacity var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__tag { position: absolute; left: 8px; top: 8px; background: var(--espresso); color: #fff; font-size: 10px; letter-spacing: .08em; padding: 3px 8px; border-radius: 2px; text-transform: uppercase; }
.wish-btn { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--espresso); display: grid; place-items: center; transition: background var(--ease), color var(--ease), transform var(--ease); z-index: 2; }
.wish-btn:hover { transform: scale(1.08); background: #fff; }
.wish-btn .icon { width: 16px; height: 16px; }
.wish-btn.is-on { color: var(--burgundy); }
.wish-btn.is-on .icon use { }
.wish-btn.is-on svg { fill: currentColor; }
.pcard__name { font-size: 12px; font-weight: 400; margin-top: 10px; color: var(--espresso); }
.pcard__name a:hover { color: var(--burgundy); }
.pcard__price { font-size: 14px; font-weight: 500; margin-top: 2px; }
.pcard__sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; margin-top: 8px; font-size: 9.5px; color: var(--grey); }
.pcard__lbl { margin-right: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0 2px; }
.size-chip { background: none; border: 0; padding: 4px 3px; font-size: 9.5px; color: var(--grey); border-bottom: 1px solid transparent; transition: color var(--ease), border-color var(--ease); min-width: 20px; }
.size-chip:hover { color: var(--espresso); }
.size-chip[aria-pressed="true"] { color: var(--burgundy); font-weight: 700; border-bottom-color: var(--burgundy); }
.pcard.needs-size .pcard__sizes .pcard__lbl { color: #b3261e; font-weight: 600; }
.pcard__swatches { display: flex; gap: 8px; margin: 8px 0 12px; }
.swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,.18); padding: 0; position: relative; transition: transform var(--ease); }
.swatch:hover { transform: scale(1.15); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--burgundy); }
.pcard .btn { min-height: 38px; font-size: 10px; padding: 0 10px; margin-top: auto; }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.shake { animation: shake 280ms ease; }

/* the curvelle edit */
.edit { background: var(--ivory-deep); padding: clamp(30px, 3.4vw, 48px) 0; }
.edit__inner { display: grid; grid-template-columns: minmax(250px, 1fr) 3fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.edit__intro .h2 { font-size: clamp(28px, 2.9vw, 38px); margin: 4px 0 20px; }
.edit__text { font-size: 13px; max-width: 280px; margin-bottom: 26px; }
.edit__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.edit__cards--page { gap: 20px; }

/* manifesto */
.manifesto { position: relative; background: var(--burgundy); color: #fbefe9; overflow: hidden; min-height: clamp(180px, 19vw, 280px); display: flex; align-items: center; }
.manifesto__media { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; }
.manifesto__media img { object-position: 30% 35%; }
.manifesto__fade { position: absolute; left: 0; top: 0; bottom: 0; width: 44%; background: linear-gradient(90deg, rgba(112,45,64,0) 55%, var(--burgundy) 100%); pointer-events: none; }
.manifesto__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 28px; }
.manifesto__copy { margin-left: clamp(0px, 34%, 480px); max-width: 560px; }
.manifesto__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.12; margin: 10px 0 12px; color: #fff; letter-spacing: .01em; }
.manifesto__text { font-size: 13px; max-width: 360px; opacity: .95; }
.script-sign { font-family: var(--font-script); font-size: clamp(22px, 2.2vw, 30px); margin-top: 12px; color: var(--rose); transform: rotate(-3deg); transform-origin: left; display: inline-block; }
.manifesto__brand { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding-top: 24px; }
.manifesto__brand .logo__mark { color: #fff; font-size: clamp(20px, 1.9vw, 26px); }
.manifesto__brand .logo__tag { margin: 0; }
.manifesto__rule { width: 32px; height: 1px; background: rgba(255,255,255,.4); margin-bottom: 14px; align-self: flex-end; display: none; }

/* benefits */
.benefits { background: var(--ivory); padding: 26px 0; border-bottom: 1px solid var(--line); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { display: flex; align-items: center; gap: 14px; justify-content: center; }
.benefit__icon { width: 34px; height: 34px; color: var(--burgundy); stroke-width: 1; }
.benefit strong { display: block; font-size: 12px; font-weight: 600; }
.benefit span { font-size: 10.5px; color: var(--grey); display: block; }

/* footer */
.site-footer { position: relative; background: var(--espresso); color: #efe8e0; padding-top: 44px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr .8fr 1.5fr; gap: 28px; padding-bottom: 38px; align-items: start; }
.footer__brand { display: flex; flex-direction: column; }
.footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer__col h3, .footer__news-title { font-family: var(--font-sans); font-size: 10px; font-weight: 600; letter-spacing: .16em; color: #fff; margin-bottom: 4px; }
.footer__news-title { font-size: 11px; letter-spacing: .02em; font-weight: 400; margin-bottom: 12px; }
.footer__col a { font-size: 11px; color: #d6cdc4; transition: color var(--ease); width: fit-content; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__col a.is-pending { opacity: .8; }
.news-field { display: flex; align-items: center; background: #3a3230; border: 1px solid #4b4240; border-radius: var(--radius-pill); padding: 4px 4px 4px 16px; max-width: 360px; }
.news-field:focus-within { border-color: var(--rose); }
.news-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font-size: 11px; height: 34px; }
.news-field input::placeholder { color: #a79e96; }
.news-field button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--burgundy); color: #fff; display: grid; place-items: center; transition: background var(--ease); }
.news-field button:hover { background: #8a3a50; }
.news-field button .icon { width: 15px; height: 15px; }
.news-msg { font-size: 11px; margin-top: 10px; min-height: 16px; max-width: 360px; }
.news-msg.is-error { color: #ffb4ab; }
.news-msg.is-ok { color: #b9e2c1; }
.news-msg.is-info { color: #f0d9b5; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #453d3b; padding-block: 18px; font-size: 10px; color: #a79e96; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 12px; align-items: center; margin-left: auto; }
.footer__legal a:hover { color: #fff; }
.footer__social { display: flex; gap: 14px; margin-left: 28px; margin-right: 56px; }
.footer__social a { color: #efe8e0; display: grid; place-items: center; }
.footer__social a:hover { color: var(--rose); }
.footer__social .icon { width: 18px; height: 18px; }
.to-top { position: absolute; right: var(--gutter); bottom: 54px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #5a504d; background: #3a3230; color: #fff; display: grid; place-items: center; transition: background var(--ease); }
.to-top:hover { background: var(--burgundy); }
.to-top .icon { width: 16px; height: 16px; }
@media (min-width: 900px) { .footer__bottom { padding-right: calc(var(--gutter) + 48px); } .footer__social { margin-right: 0; } }

/* ---------- inner pages ---------- */
.page { padding-block: 28px var(--section-y); min-height: 60vh; }
.page--narrow { max-width: 820px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: var(--grey); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--burgundy); text-decoration: underline; }
.count { font-size: 12px; color: var(--grey); }
.prose { max-width: 62ch; margin: 16px 0; }
.badge-note { display: inline-block; margin-top: 20px; font-size: 11px; letter-spacing: .06em; color: var(--burgundy); background: #f0e4e1; padding: 6px 12px; border-radius: 2px; }
.filters { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 28px; display: grid; gap: 14px; }
.filters__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 12px; transition: all var(--ease); min-height: 38px; }
.pill:hover { border-color: var(--burgundy); }
.pill.is-active { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.filters__row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.field input, .field select { min-width: 150px; height: 40px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 0 12px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--espresso); }
.field input:focus, .field select:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.pdetail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.pdetail__media { aspect-ratio: 1 / 1.1; border-radius: var(--radius); }
.pdetail__media .wish-btn { width: 40px; height: 40px; top: 14px; right: 14px; }
.pdetail__media .wish-btn .icon { width: 20px; height: 20px; }
.pdetail__name { margin: 4px 0 8px; }
.pdetail__price { font-size: 22px; font-weight: 500; }
.pdetail__desc { margin: 16px 0 22px; max-width: 52ch; color: #4b4340; }
.opt { margin-bottom: 22px; }
.opt__lbl { font-size: 12.5px; margin-bottom: 8px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.opt--row { display: flex; gap: 14px; align-items: center; }
.inline-link { margin-left: auto; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; color: var(--burgundy); }
.pcard__swatches--lg .swatch { width: 26px; height: 26px; }
.chips--lg { gap: 8px; }
.chips--lg .size-chip { border: 1px solid var(--line); border-radius: var(--radius); min-width: 48px; height: 44px; font-size: 14px; color: var(--espresso); padding: 0 12px; background: #fff; }
.chips--lg .size-chip:hover { border-color: var(--burgundy); }
.chips--lg .size-chip[aria-pressed="true"] { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.pdetail.needs-size .opt__lbl strong[data-size-label] { color: #b3261e; }
.fine { font-size: 11.5px; color: var(--grey); margin-top: 6px; }
.empty { text-align: center; padding: 40px 16px; display: grid; gap: 10px; justify-items: center; color: var(--grey); }
.empty--wide { grid-column: 1 / -1; padding: 60px 16px; }
.empty__title { font-family: var(--font-serif); font-size: 22px; color: var(--espresso); }

/* qty */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; margin-top: 8px; }
.qty button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: var(--ivory-deep); }
.qty .icon { width: 14px; height: 14px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 500; }
.qty--lg { margin-top: 0; height: 46px; }
.qty--lg button { width: 40px; height: 44px; }

/* ---------- drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(26,12,16,.5); z-index: 150; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 100vw); background: var(--ivory); z-index: 160; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform 260ms ease, visibility 0s linear 260ms; outline: none; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; }
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 260ms ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-serif); font-weight: 400; font-size: 24px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { padding: 16px 22px 20px; border-top: 1px solid var(--line); background: #fff; }
.drawer__nav { display: flex; flex-direction: column; margin-top: 8px; }
.drawer__nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
.drawer__nav a:hover { color: var(--burgundy); }
.drawer__nav hr { border: 0; height: 18px; }
.search--drawer { width: 100%; margin: 0 0 10px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: start; }
.line__img { width: 84px; aspect-ratio: 1 / 1.15; border-radius: var(--radius); display: block; }
.line__name { font-size: 13.5px; font-weight: 500; }
.line__meta { font-size: 12px; color: var(--grey); }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 13.5px; }
.subtotal { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 8px; }
.foot-note { font-size: 11.5px; color: var(--grey); margin-bottom: 12px; }
.foot-warn { font-size: 12px; color: #8a2a22; background: #fbeae7; padding: 8px 10px; border-radius: var(--radius); margin-top: 10px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--espresso); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: 13px; z-index: 400; max-width: calc(100vw - 32px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.toast--ok { background: var(--burgundy); }
.toast--warn { background: #8a2a22; }

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