/* Maison Lumira — fresh petal palette, Bodoni display, Jost body, Pinyon script accents. RTL-ready via logical properties. */
:root {
  color-scheme: light;
  --bg: #fffaf9;
  --surface: #ffffff;
  --tile: #ffe4ea;      /* petal pink */
  --mint: #dff5ea;
  --peach: #ffead9;
  --butter: #fff4cf;
  --ink: #4b2e39;       /* soft plum */
  --muted: #8c707a;
  --line: #f4dde3;
  --gold: #c99a35;
  --rose: #ec5f86;      /* the one bold accent */
  --rose-dark: #d94673;
  --rose-ink: #ffffff;
  --wa: #25d366;
  --danger: #c0392b;
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --f-script: "Pinyon Script", "Snell Roundhand", cursive;
  --f-ar: "Noto Naskh Arabic", "Geeza Pro", "Segoe UI", Tahoma, serif;
  --f-ar-display: "Reem Kufi", "Noto Naskh Arabic", "Geeza Pro", serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-weight: 300; font-size: 16px; line-height: 1.6; }
html[lang="ar"] body { font-family: var(--f-ar); font-weight: 400; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.1; }
html[lang="ar"] :is(h1, h2, h3) { font-family: var(--f-ar-display); line-height: 1.35; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
em.script, h1 em, h2 em { font-family: var(--f-script); font-style: normal; font-weight: 400; color: var(--rose); }
h1 em { color: var(--gold); font-size: 1.15em; }
html[lang="ar"] :is(h1, h2) em { font-family: var(--f-ar-display); font-size: 1em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 500 14px/1.1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, color .2s; }
html[lang="ar"] .btn { font-family: var(--f-ar); letter-spacing: 0; font-size: 15px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose); color: var(--rose-ink); }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-wa { background: var(--wa); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-sm { padding: 11px 20px; font-size: 12px; }
.linkbtn { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; padding: 0; }

/* announcement + header (placeholders use display:contents so the header can stick to the page) */
#site-header, #site-footer { display: contents; }
.announce { background: var(--rose); color: var(--rose-ink); font-size: 13px; text-align: center; padding-block: 8px; letter-spacing: .04em; }
.announce a { text-decoration: none; font-weight: 500; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; direction: ltr; }
.logo .m { font-family: var(--f-display); letter-spacing: .32em; font-size: 13px; padding-left: .32em; }
.logo .l { font-family: var(--f-script); font-size: 34px; color: var(--gold); margin-top: -4px; }
.logo .g { font-family: var(--f-body); font-size: 8px; letter-spacing: .4em; color: var(--muted); margin-top: -2px; padding-left: .4em; }
.links { display: flex; gap: 28px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .links { letter-spacing: 0; font-size: 15px; }
.links a { text-decoration: none; padding-block: 6px; }
.links a:hover, .links a[aria-current="page"] { color: var(--rose); }
.tools { display: flex; align-items: center; gap: 10px; }
.lang { font: 400 14px var(--f-ar); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--surface); cursor: pointer; }
html[lang="ar"] .lang { font-family: var(--f-body); }
.iconbtn { position: relative; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; display: grid; place-items: center; }
.iconbtn svg { width: 24px; height: 24px; }
.cartcount { position: absolute; top: 0; inset-inline-end: -2px; background: var(--rose); color: var(--rose-ink); font: 500 11px var(--f-body); min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding-inline: 4px; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav .tools { justify-self: end; }
  .links { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .links a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .site-header.menu-open .links { display: flex; }
}

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: 64px 56px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 78px); letter-spacing: -.01em; margin-top: 14px; }
html[lang="ar"] .hero h1 { font-size: clamp(36px, 5.4vw, 64px); letter-spacing: 0; }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 22px 0 30px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; max-width: 100%; border-radius: 280px 280px 24px 24px; background: radial-gradient(90% 70% at 30% 20%, var(--butter), transparent 70%), radial-gradient(90% 80% at 80% 90%, var(--mint), transparent 70%), var(--tile); display: grid; place-items: center; overflow: hidden; }
.hero-art .art { display: contents; }
.hero-art svg.bq { width: 86%; height: auto; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art .tag { text-decoration: none; position: absolute; bottom: 22px; inset-inline-start: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; line-height: 1.35; box-shadow: 0 10px 24px rgba(236, 95, 134, .12); }
.hero-art .tag b { font-weight: 500; display: block; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-block: 36px; gap: 32px; } }

/* trust strip */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 22px; }
.trust .item { display: flex; gap: 12px; align-items: center; font-size: 14px; line-height: 1.4; }
.trust svg { width: 28px; height: 28px; color: var(--rose); flex: none; }
.trust b { font-weight: 500; display: block; }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: 1fr 1fr; } }

/* sections */
.section { padding-block: 80px; }
.section.tight-top { padding-top: 0; }
.sechead { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sechead h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 10px; }
.sechead p { color: var(--muted); max-width: 44ch; margin: 0; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding-block: 56px; } }

/* stage colors cycle pink → mint → peach → butter */
.stage { background: var(--tile); }
:is(.occ, .card, .insta a):nth-child(4n+2) .stage, .insta a:nth-child(4n+2) { background: var(--mint); }
:is(.occ, .card, .insta a):nth-child(4n+3) .stage, .insta a:nth-child(4n+3) { background: var(--peach); }
:is(.occ, .card, .insta a):nth-child(4n) .stage, .insta a:nth-child(4n) { background: var(--butter); }

/* occasions */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.occ { text-decoration: none; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.occ .stage { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 160px 160px 16px 16px; display: grid; place-items: center; overflow: hidden; transition: transform .35s; }
.occ:hover .stage { transform: translateY(-4px); }
.occ .stage svg { width: 82%; }
.occ h3 { font-size: 22px; }
.occ span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .occasions { grid-template-columns: 1fr 1fr; } }

/* product grid + cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 22px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .stage { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 18px; display: grid; place-items: center; overflow: hidden; text-decoration: none; }
.card .stage svg { width: 78%; transition: transform .4s; }
.card .stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card .stage:hover :is(svg, img) { transform: scale(1.04); }
.badge { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--surface); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; font-weight: 500; color: var(--rose); }
html[lang="ar"] .badge { letter-spacing: 0; font-size: 12px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 21px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--rose); }
.price { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; font-family: var(--f-body); }
.price small { font-weight: 300; color: var(--muted); }
.card p { margin: 0; font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .btn { align-self: start; }
@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .grid { grid-template-columns: 1fr; } }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { border-top: 2px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.step .n { font-family: var(--f-display); font-style: italic; color: var(--rose); font-size: 30px; line-height: 1; }
.step h3 { font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }

/* custom favors */
.custom { background: linear-gradient(120deg, var(--tile), var(--peach) 55%, var(--butter)); }
.custom .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.custom h2 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 12px; }
.custom p { color: var(--muted); max-width: 44ch; }
.ticks { padding: 0; list-style: none; display: grid; gap: 10px; margin: 26px 0 0; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: "✦"; color: var(--rose); font-size: 12px; }
@media (max-width: 900px) { .custom .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* forms */
.panel { background: var(--surface); border-radius: 24px; padding: 30px; box-shadow: 0 18px 40px rgba(236, 95, 134, .14); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full, .form-grid > .full { grid-column: 1 / -1; }
.field label, .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
html[lang="ar"] :is(.field label, .label) { letter-spacing: 0; font-size: 14px; }
.field input, .field select, .field textarea { font: 400 15px var(--f-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
html[lang="ar"] :is(.field input, .field select, .field textarea) { font-family: var(--f-ar); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 18%, transparent); }
.field .invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 14px; margin: 0; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .panel { padding: 22px; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.review .stars { color: var(--gold); letter-spacing: .2em; }
.review p { margin: 0; font-family: var(--f-display); font-size: 19px; line-height: 1.45; }
html[lang="ar"] .review p { font-family: var(--f-ar); }
.review footer { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* instagram strip */
.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta a { aspect-ratio: 1; max-width: 100%; border-radius: 12px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.insta svg { width: 80%; }
.insta img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .insta { grid-template-columns: repeat(3, 1fr); } }

/* shop page */
.page-head { padding-block: 48px 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 10px; }
.page-head p { color: var(--muted); max-width: 60ch; margin: 14px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 400 14px var(--f-body); cursor: pointer; text-decoration: none; }
html[lang="ar"] .chip { font-family: var(--f-ar); }
.chip:hover { border-color: var(--rose); }
.chip[aria-pressed="true"] { background: var(--rose); color: var(--rose-ink); border-color: var(--rose); }
.toolbar .right { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.search { position: relative; }
.search svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input, .sort select { font: 400 14px var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; }
html[lang="ar"] :is(.search input, .sort select) { font-family: var(--f-ar); }
.search input { padding-inline-start: 38px; width: min(260px, 100%); }
.count { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.empty-state { text-align: center; color: var(--muted); padding-block: 48px; }

/* product page */
.crumbs { padding-block: 24px 0; font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--rose); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; padding-block: 24px 72px; }
.pdp .stage { aspect-ratio: 1; max-width: 100%; border-radius: 24px; display: grid; place-items: center; overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.pdp .stage svg { width: 80%; }
.pdp .stage img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.pdp-info h1 { font-size: clamp(34px, 4.4vw, 52px); margin-top: 8px; }
.pdp-info .price { font-size: 26px; }
.pdp-info .desc { color: var(--muted); font-size: 17px; margin: 0; max-width: 52ch; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px 6px 6px; cursor: pointer; font: 400 14px var(--f-body); color: var(--ink); }
html[lang="ar"] .swatch { font-family: var(--f-ar); padding: 6px 6px 6px 14px; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.swatch[aria-pressed="true"] { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.qtybox { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); align-self: start; }
.qtybox button { background: none; border: 0; width: 42px; height: 42px; cursor: pointer; color: var(--ink); font-size: 18px; }
.qtybox output { min-width: 40px; text-align: center; font: 500 16px var(--f-body); font-variant-numeric: tabular-nums; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp-actions .btn { flex: 1 1 220px; }
.made { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.made svg { width: 18px; height: 18px; color: var(--rose); }
.hint { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 28px; } .pdp .stage { position: static; } }

/* footer */
.site-footer { background: var(--mint); padding-block: 56px 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .logo { align-items: flex-start; }
.site-footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; font-weight: 500; }
html[lang="ar"] .site-footer h4 { letter-spacing: 0; font-size: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { color: var(--rose); }
.site-footer .about { color: var(--muted); max-width: 34ch; margin-top: 14px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent); border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.socials a:hover { border-color: var(--rose); color: var(--rose); }
.socials svg { width: 18px; height: 18px; }
.legal { margin-top: 40px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ar { font-family: var(--f-ar); }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* floating WhatsApp */
.wa-float { position: fixed; inset-inline-end: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(75, 46, 57, .35); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg); z-index: 41; display: flex; flex-direction: column; border-inline-start: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: -20px 0 40px rgba(75, 46, 57, .12); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.x { background: none; border: 0; font-size: 28px; cursor: pointer; color: var(--ink); line-height: 1; padding: 4px 8px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 18px; }
.lines { display: grid; gap: 16px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.line .th { width: 64px; height: 64px; border-radius: 12px; background: var(--tile); display: grid; place-items: center; overflow: hidden; }
.line .th svg { width: 90%; }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.line b { font-weight: 500; display: block; font-size: 15px; }
.line .opts { font-size: 12px; color: var(--muted); display: block; line-height: 1.4; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-top: 6px; background: var(--surface); }
.qty button { background: none; border: 0; width: 28px; height: 28px; cursor: pointer; color: var(--ink); font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font: 400 14px var(--f-body); font-variant-numeric: tabular-nums; }
.line .amt { font-variant-numeric: tabular-nums; font-weight: 500; text-align: end; font-family: var(--f-body); }
.line .amt .linkbtn { display: block; margin-top: 6px; font-size: 12px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; display: grid; gap: 16px; justify-items: center; }
.checkout { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.totals { display: grid; gap: 6px; font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals span:last-child { font-variant-numeric: tabular-nums; font-family: var(--f-body); }
.totals .grand { font-size: 19px; font-weight: 500; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot small { color: var(--muted); text-align: center; font-size: 12px; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; z-index: 50; max-width: calc(100% - 32px); text-align: center; }

/* 404 */
.notfound { text-align: center; padding-block: 96px; display: grid; gap: 18px; justify-items: center; }
.notfound svg.bq { width: 220px; }
