:root {
  --ivory: #fbf6ef;
  --paper: #fffdf9;
  --ink: #2b1622;
  --muted: #7c6a70;
  --line: #e9dfd3;
  --wine: #7a1f3d;
  --gold: #b08a4e;
  --whatsapp: #128c4f;
  --radius: 16px;
  --display: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 16px/1.6 var(--body); }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
.sr { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.page { max-width: 560px; margin: 0 auto; }

/* Catalog ---------------------------------------------------------------- */
.masthead { padding: 34px 16px 22px; text-align: center; }
.masthead h1 { margin: 0; font: 700 34px/1.25 var(--display); letter-spacing: 0; }
.masthead p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.masthead .zh-mark { margin: 2px 0 0; color: #c1272d; font: 700 14px/1.3 "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif; letter-spacing: .32em; text-indent: .32em; }
.masthead .slogan { color: var(--ink); font-size: 16px; font-weight: 700; }
.masthead .delivery { margin-top: 2px; color: var(--wine); font-size: 14px; }
.rule { width: 56px; height: 1px; margin: 14px auto 0; background: var(--gold); }

.brand-mark { display: block; margin: 0 auto 8px; border-radius: 20px; box-shadow: 0 4px 14px rgba(43, 22, 34, .22); }
[hidden] { display: none !important; }

.install-bar { position: fixed; z-index: 5; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; max-width: 536px; margin: 0 auto; display: flex; align-items: stretch; border-radius: 16px; background: linear-gradient(100deg, var(--wine), #a63a5f); color: #fff; box-shadow: 0 8px 22px rgba(43, 22, 34, .35); }
.install-go { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 68px; padding: 10px 12px 10px 4px; border: 0; background: none; color: #fff; text-align: start; cursor: pointer; }
.install-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); }
.install-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; font-weight: 500; line-height: 1.35; }
.install-text b { font-size: 15px; font-weight: 800; }
.install-pill { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--wine); font-size: 14px; font-weight: 800; box-shadow: 0 2px 8px rgba(43, 22, 34, .25); }
.install-pill svg { width: 18px; height: 18px; }
.install-x { flex: none; width: 34px; border: 0; background: none; color: #fff; font-size: 22px; cursor: pointer; }
.has-install .grid { padding-bottom: 96px; }

.install-help { width: min(350px, calc(100% - 32px)); padding: 22px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.install-help::backdrop { background: rgba(43, 22, 34, .55); }
.install-help h2 { margin: 0 0 12px; font: 700 21px/1.4 var(--display); }
.install-step { position: relative; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.install-step p { margin: 8px 0 0; font-size: 15px; }
.install-num { position: absolute; top: -9px; right: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 14px; font-weight: 700; }
.install-shot { padding: 10px; border-radius: 10px; background: #efe8df; }
.shot-bar { display: flex; align-items: center; justify-content: space-around; height: 40px; border-radius: 8px; background: #fff; }
.shot-bar i { width: 18px; height: 3px; border-radius: 2px; background: #cfc5ba; }
.shot-bar b, .shot-row b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e6f0ff; color: #0a66d8; }
.shot-bar svg, .shot-row svg { width: 20px; height: 20px; }
.shot-dots { font-size: 20px; }
.shot-row { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; }
.install-note { margin: 0 0 4px; color: var(--wine); font-size: 14px; }
.install-help > button { width: 100%; min-height: 46px; margin-top: 4px; border: 0; border-radius: 12px; background: var(--wine); color: #fff; font-weight: 700; cursor: pointer; }

.cart-fab { position: fixed; z-index: 4; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; min-height: 52px; padding: 8px 20px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 15px; white-space: nowrap; box-shadow: 0 8px 22px rgba(43, 22, 34, .4); }
.cart-fab b { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 99px; background: var(--gold); font-size: 14px; }
.cart-icon { font-size: 20px; }
.has-install .cart-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
.cart-fab.on-dress { top: calc(12px + env(safe-area-inset-top)); bottom: auto; left: 12px; transform: none; min-height: 44px; padding: 4px 12px; font-size: 13px; }

.toast { position: fixed; z-index: 9; top: 16px; left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: 99px; background: var(--whatsapp); color: #fff; font-weight: 700; white-space: nowrap; }

.colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; }
.color { display: block; padding: 4px 4px 5px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); text-align: center; cursor: pointer; }
.color img, .color i { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px; object-fit: cover; }
.color i { border: 1px solid var(--line); }
.color small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.35; }
input:checked + .color { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
input:focus-visible + .color { outline: 3px solid var(--gold); outline-offset: 2px; }
.chosen { color: var(--wine); font-weight: 500; }
.size-wide { grid-column: 1 / -1; }

.specs { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.specs summary { min-height: 50px; padding: 13px 14px; font-size: 15px; font-weight: 700; cursor: pointer; }
.specs dl { margin: 0; padding: 0 14px 10px; }
.specs dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: end; }

.cart-page { padding-bottom: 130px; }
.cart-head { display: flex; align-items: center; gap: 8px; padding: 14px 12px 8px; }
.cart-head h1 { margin: 0; font: 700 24px/1.3 var(--display); }
.back-plain { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.back-plain svg { width: 22px; height: 22px; }
.lines { display: grid; gap: 10px; padding: 0 12px; }
.line { position: relative; display: flex; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.line img { display: block; width: 84px; height: 112px; border-radius: 10px; object-fit: cover; }
.line-info { flex: 1; min-width: 0; padding-inline-end: 26px; }
.line h2 { margin: 2px 0 0; font: 500 15px/1.4 var(--body); }
.line p { margin: 2px 0 8px; color: var(--muted); font-size: 13px; }
.line-foot { display: flex; align-items: center; justify-content: space-between; }
.line-foot strong { color: var(--wine); }
.line-x { position: absolute; top: 2px; left: 2px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }
.qty { display: flex; align-items: center; gap: 4px; }
.qty button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); font-size: 18px; cursor: pointer; }
.qty b { min-width: 24px; text-align: center; }

.sheet { width: min(460px, calc(100% - 20px)); max-height: 92svh; padding: 0; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); }
.sheet::backdrop { background: rgba(43, 22, 34, .55); }
.sheet form { display: grid; gap: 10px; padding: 16px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; }
.sheet h2 { margin: 0; font: 700 21px/1.4 var(--display); }
.sheet-x { width: 44px; height: 44px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.sheet-total { margin: -6px 0 2px; color: var(--muted); font-size: 14px; }
.sheet-total b { color: var(--wine); }
.sheet-calm { margin: 4px 0 8px; padding: 9px 12px; border-radius: 12px; background: #f4e7ec; color: var(--wine); font-size: 14px; font-weight: 600; line-height: 1.5; }
.sheet label { display: grid; gap: 3px; font-size: 14px; font-weight: 500; }
.sheet input:not(.sr), .sheet select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 0; padding: 0; border: 0; }
.pay legend { margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 500; }
.pay-opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; text-align: center; cursor: pointer; }
.pay-opt svg { width: 26px; height: 26px; color: var(--wine); }
.pay-opt b { font-size: 13px; font-weight: 500; line-height: 1.35; }
input:checked + .pay-opt { border-color: var(--wine); background: #f8ecf0; box-shadow: 0 0 0 1.5px var(--wine); }
input:focus-visible + .pay-opt { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-error { margin: 0; color: #b3261e; font-size: 14px; font-weight: 500; }
.form-error:empty { display: none; }
.confirm { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 14px; background: var(--whatsapp); color: #fff; font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.confirm svg { width: 24px; height: 24px; }
.confirm:disabled { opacity: .7; cursor: wait; }
.done { display: grid; gap: 8px; padding: 12px 4px; text-align: center; }
.done p { margin: 0; }

.chips { position: sticky; top: 0; z-index: 2; display: flex; gap: 8px; margin-bottom: 14px; padding: 8px 12px; overflow-x: auto; background: var(--ivory); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: 15px; cursor: pointer; }
.chip.on { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 700; }
.subs { display: flex; gap: 6px; margin: -6px 0 12px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.subs::-webkit-scrollbar { display: none; }
.sub { flex: none; min-height: 34px; padding: 4px 13px; border: 0; border-radius: 99px; background: var(--line); color: var(--ink); font-size: 13px; cursor: pointer; }
.sub.on { background: var(--gold); color: #fff; font-weight: 700; }
.sorts { display: flex; gap: 8px; margin: -4px 0 14px; padding: 0 12px; }
.sort { flex: 1; min-height: 42px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px; cursor: pointer; }
.sort.on { border-color: var(--wine); background: var(--wine); color: #fff; font-weight: 700; }
.variants { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.variant { display: block; overflow: hidden; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); text-align: center; cursor: pointer; }
.variant img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.variant b { display: block; padding-top: 6px; font-size: 14px; }
.variant em { display: block; padding-bottom: 7px; color: var(--wine); font-size: 13px; font-style: normal; font-weight: 700; }
input:checked + .variant { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
input:focus-visible + .variant { outline: 3px solid var(--gold); outline-offset: 2px; }
.price-only { margin-top: 18px; text-align: center; }
.price-only input { display: none; }
.price-tag { color: var(--wine); font: 700 30px/1.3 var(--display); }
.price-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; text-align: center; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; padding: 0 12px 40px; }
.card { display: block; min-width: 0; }
.card-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; right: 8px; padding: 1px 10px; border-radius: 99px; background: rgba(43, 22, 34, .72); color: #fff; font-size: 12px; }
.card h2 { margin: 8px 2px 0; font: 500 15px/1.4 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-prices { margin: 1px 2px 0; color: var(--muted); font-size: 13px; }
.card-prices b { color: var(--wine); font-weight: 700; }

.skeleton { background: linear-gradient(100deg, var(--line) 40%, #f5eee5 50%, var(--line) 60%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.notice { padding: 70px 24px; text-align: center; color: var(--muted); }
.notice button { display: block; margin: 16px auto 0; padding: 10px 26px; border: 1px solid var(--ink); border-radius: 99px; background: none; cursor: pointer; }

/* Dress page ------------------------------------------------------------- */
.dress { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
.gallery-wrap { position: relative; }
.gallery { display: flex; width: 100%; aspect-ratio: 3 / 4; max-height: 58svh; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--line); }
.gallery::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.slide img, .slide video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--line); }
.back { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 253, 249, .92); cursor: pointer; }
.back svg { width: 20px; height: 20px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: background .2s, transform .2s; }
.dots i.on { background: #fff; transform: scale(1.25); }

.info { padding: 18px 16px 0; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.info h1 { margin: 0; font: 700 25px/1.35 var(--display); }
.code { flex: none; color: var(--muted); font-size: 14px; }
.step { margin: 22px 0 9px; font-size: 15px; font-weight: 700; }

.options { display: grid; gap: 10px; }
.option { display: flex; align-items: center; justify-content: center; min-height: 66px; padding: 10px 14px; border: 1.5px solid var(--wine); border-radius: var(--radius); background: var(--paper); color: var(--wine); font-size: 20px; font-weight: 700; text-align: center; cursor: pointer; transition: background .15s, color .15s; }
input:checked + .option { background: var(--wine); color: #fff; }
input:focus-visible + .option, input:focus-visible + .size { outline: 3px solid var(--gold); outline-offset: 2px; }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 8px; }
.size-note { margin: 8px 0 0; min-height: 22px; color: var(--muted); font-size: 14px; }
.size { display: block; padding: 10px 2px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); text-align: center; line-height: 1.35; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.size b { display: block; font-size: 15px; }
.size span { font-size: 14px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
input:checked + .size { border-color: var(--ink); background: var(--ink); color: #fff; }
input:checked + .size span { color: #e8dcd2; }

.missing .step { color: #b3261e; }
.missing .options, .missing .sizes, .missing .variants { animation: nudge .35s; }
@keyframes nudge { 25% { transform: translateX(5px); } 75% { transform: translateX(-5px); } }

.book-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.book-inner { max-width: 528px; margin: 0 auto; }
.summary { margin: 0 0 7px; min-height: 24px; text-align: center; font-size: 15px; color: var(--muted); }
.summary.ready { color: var(--ink); font-weight: 500; }
.book { display: flex; flex: 1.2; width: 100%; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 6px 8px; border: 0; border-radius: var(--radius); background: var(--whatsapp); color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.book svg { width: 22px; height: 22px; }
.book-row { display: flex; gap: 8px; }
.add { flex: 1; min-height: 56px; padding: 6px 8px; border: 1.5px solid var(--wine); border-radius: var(--radius); background: var(--paper); color: var(--wine); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }

@media (min-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Home: the three sections as large photo cards. */
.masthead.compact { padding: 14px 16px 10px; }
.masthead.compact .brand-mark { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 4px; }
.masthead.compact h1 { font-size: 24px; }
.sections { display: grid; gap: 14px; padding: 0 14px 18px; }
.section-card { position: relative; display: grid; grid-template-columns: 1fr 44%; min-height: 200px; overflow: hidden; border-radius: 22px; background: linear-gradient(135deg, #fffdf9, #f8efe3); color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(43, 22, 34, .12); outline: 1px solid rgba(176, 138, 78, .35); outline-offset: -7px; }
.section-card img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; object-position: center 18%; }
.section-card .sc-text { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px 18px; }
.section-card b { font: 700 30px/1.15 var(--display); color: var(--wine); }
.section-card small { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.section-card em { font-style: normal; font-size: 12px; letter-spacing: .02em; color: var(--gold); }
.section-card .sc-go { align-self: flex-start; margin-top: 10px; padding: 7px 16px; border-radius: 99px; background: var(--wine); color: #fff; font-style: normal; font-size: 14px; font-weight: 700; }
.section-card:nth-child(2) { background: linear-gradient(135deg, #2b1622, #4a1b2e); color: #fff; }
.section-card:nth-child(2) b { color: #f3dca6; }
.section-card:nth-child(2) small { color: rgba(255, 255, 255, .78); }
.section-card:nth-child(2) .sc-go { background: #f3dca6; color: var(--ink); }.ws-card { display: grid; gap: 4px; width: calc(100% - 28px); margin: 0 14px 34px; padding: 16px 18px; border: 1.5px dashed var(--wine); border-radius: 18px; background: var(--paper); color: var(--ink); text-align: right; font: inherit; cursor: pointer; }
.ws-card b { font: 700 20px/1.3 var(--display); color: var(--wine); }
.ws-card span { font-size: 14px; color: var(--muted); line-height: 1.6; }
.ws-bar { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px; background: #fff3e8; border: 1px solid #f0d2b4; }
.ws-bar p { margin: 0; flex: 1; font-size: 13px; line-height: 1.6; color: var(--ink); }
.ws-bar b { display: block; font-size: 15px; color: var(--wine); }
.ws-bar button { flex: none; padding: 8px 12px; border: 1px solid var(--wine); border-radius: 99px; background: #fff; color: var(--wine); font-weight: 700; cursor: pointer; }
.section-head { display: flex; align-items: center; gap: 4px; padding: 0 6px 4px; }
.section-head h2 { margin: 0; font: 700 26px/1.3 var(--display); }
.line-warn { margin: 4px 0 0; color: #b3261e; font-size: 13px; font-weight: 700; }
.ws-note { margin: 0 14px 10px; color: var(--wine); font-size: 14px; }
.book:disabled { opacity: .45; cursor: not-allowed; }

/* Wholesale cart: air or sea, each with its estimate. */
.ship-pick { margin: 6px 12px 130px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.ship-pick legend { padding: 0 6px; font-weight: 700; }
.ship-pick label { display: block; margin-top: 8px; cursor: pointer; }
.ship-pick label span { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; }
.ship-pick input:checked + span { border-color: var(--wine); background: #fff4f6; }
.ship-pick b { font-size: 16px; }
.ship-pick em { font-style: normal; color: var(--wine); font-weight: 700; text-align: left; }
.ship-pick small { grid-column: 1 / -1; color: var(--muted); }
.ship-pick p { margin: 10px 2px 0; color: var(--muted); font-size: 13px; }
.wa-soft { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding: 12px; border: 1.5px solid var(--whatsapp); border-radius: 14px; color: var(--whatsapp); font-weight: 700; text-decoration: none; }
.wa-soft svg { width: 20px; height: 20px; }

/* Designed section banners: the image carries the title. */
.banner-card { display: block; width: 100%; padding: 0; border: 0; border-radius: 20px; overflow: hidden; background: none; box-shadow: 0 10px 26px rgba(43, 22, 34, .16); cursor: pointer; }
.banner-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 620; }
/* The wholesale card stands apart: a slimmer black-and-gold strip with a gold glow. */
.banner-card.ws-banner { margin-top: 6px; border-radius: 16px; box-shadow: 0 10px 28px rgba(43, 10, 20, .32), 0 0 0 1px rgba(196, 154, 72, .55); }
.banner-card.ws-banner img { aspect-ratio: 1200 / 400; }
.ws-banner { width: calc(100% - 28px); margin: 0 14px 34px; }

/* Size table: the factory's own measurements, and the warning shown when we have none. */
.size-chart { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.chart-title { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.chart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-chart table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; white-space: nowrap; }
.size-chart th, .size-chart td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.size-chart thead th { color: var(--muted); font-weight: 500; font-size: 13px; }
.size-chart tbody th { color: var(--wine); font-weight: 700; }
.chart-how { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.chart-ask { display: grid; gap: 4px; margin-top: 12px; font-size: 14px; font-weight: 500; }
.chart-ask input { min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; }
.chart-pick { margin: 8px 0 0; color: #1a6b3c; font-weight: 700; font-size: 15px; line-height: 1.6; }
.chart-pick:empty { display: none; }
.chart-pick.warn { color: #9a4a00; }
.chart-wa { display: block; margin-top: 10px; color: var(--wine); font-size: 14px; font-weight: 600; }
.size-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff6e5; color: #6b4a00; font-size: 14px; line-height: 1.7; }
.size-warn a { color: var(--wine); font-weight: 700; }
.fit { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.fit-title { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.fit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fit label { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.fit input { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; }
.fit-bust { margin-top: 8px; color: var(--muted); }

/* The confirm button stays in view while the order form scrolls on short phones. */
.sheet form > .confirm { position: sticky; bottom: 10px; box-shadow: 0 0 0 10px var(--paper), 0 -14px 16px 6px var(--paper); }
/* "How to order" on the home screen. */
.info { margin: 16px 0 4px; padding: 4px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.info summary { padding: 12px 0; font-weight: 700; font-size: 16px; cursor: pointer; }
.info ol { margin: 0 0 10px; padding-inline-start: 20px; line-height: 1.9; font-size: 15px; }
.info p { margin: 0 0 8px; font-size: 15px; line-height: 1.8; }
.info-wa { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 14px; padding: 10px 18px; border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 700; text-decoration: none; }
.info-wa svg { width: 20px; height: 20px; }
/* Size helper, simple version: the calculator on top, the table folded under it. */
.size-chart .fit { margin-top: 0; padding-top: 0; border-top: 0; }
.chart-more { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 8px; }
.chart-more summary { font-size: 14px; font-weight: 600; color: var(--wine); cursor: pointer; padding: 4px 0; }
.chart-wa { display: inline-flex; align-items: center; gap: 6px; }
.chart-wa svg { width: 18px; height: 18px; }
.size-warn { background: #fbf3e4; }

.proof { margin: 8px 0 0; text-align: center; color: #5b4a3a; font-size: 14px; line-height: 1.9; }
