/* Tajwar — storefront styles. Palette and type are taken from the TAJWAR banner
   logo: deep navy, antique gold and ivory, classical serif display type. */

@font-face { font-family: "Cormorant Garamond"; src: url(/assets/fonts/CormorantGaramond.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/assets/fonts/CormorantGaramond-Italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(/assets/fonts/Jost.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #FAF6EE;
  --surface: #FFFDF9;
  --sand: #F1E9DA;
  --ink: #1B1A2E;
  --ink-2: #3A3850;
  --muted: #6B6578;
  --line: #E6DCC8;
  --line-2: #CFC1A6;
  --navy: #1C2150;
  --navy-2: #2B3176;
  --gold: #B8913E;
  --gold-ink: #85651F;
  --gold-soft: #E3C277;
  --error: #A3261F;
  --ok: #2F6B3A;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); font-weight: 500; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center-text { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font: 500 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .9rem; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 200; }
.skip:focus { left: 1rem; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: 0 1.6rem; border: 1px solid transparent; border-radius: 2px; font: 500 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { flex: none; }
.btn-primary { background: var(--navy); color: #FAF6EE; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #FAF6EE; }
.btn-ghost { background: transparent; color: var(--navy); padding: 0 .25rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.btn-ghost:hover { border-bottom-color: var(--navy); }
.btn-ghost-light { background: transparent; color: var(--gold-soft); border: 1px solid rgba(227,194,119,.5); min-height: 40px; }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; font-size: .86rem; }
.link-arrow { font: 500 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow::after { content: " \2192"; }
.link-sm { font: 400 .85rem var(--sans); letter-spacing: 0; text-transform: none; margin-left: .75rem; display: inline-block; padding: .7rem 0; }

/* ---------- header */
.announce { background: var(--navy); color: var(--gold-soft); text-align: center; }
.announce p { margin: 0; padding: .55rem 1rem; font: 500 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,.97); border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); height: var(--header-h); }
.brand { display: block; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; justify-content: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.main-nav a:hover { color: var(--gold-ink); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: .4rem; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 2px; text-decoration: none; }
.icon-btn:hover { color: var(--gold-ink); }
.menu-btn { display: none; }
.bag-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font: 600 .68rem/18px var(--sans); text-align: center; }

/* ---------- sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.page-top { padding-top: 1.75rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.section-head h2 { margin-bottom: .5rem; }

/* ---------- hero */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.hero-media a { display: block; background: var(--sand); overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; transition: transform .6s ease; }
.hero-media a:hover img { transform: scale(1.02); }
.hero-inset { margin-top: 3.5rem; }
.hero-copy h1 { margin-bottom: .45em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.8rem 0 1.4rem; }
.hero-note { font: 500 .78rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.6rem 1.75rem; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: .3rem; }
.fact p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- product cards */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 1.6rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { position: relative; aspect-ratio: 2 / 3; background: var(--sand); overflow: hidden; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .45s ease, transform .6s ease; }
.card-img-alt { opacity: 0; }
@media (hover: hover) {
  .card-link:hover .card-img-alt { opacity: 1; }
  .card-link:hover .card-img { transform: scale(1.02); }
}
.card-body { padding-top: .95rem; }
.card-cat { font: 500 .7rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }
.card-title { font-size: 1.32rem; font-weight: 600; margin: 0 0 .3rem; line-height: 1.2; }
.card-link:hover .card-title { color: var(--navy); }
.card-price { font-weight: 500; color: var(--ink); margin: 0; letter-spacing: .02em; }

/* ---------- angrakha trio */
.trio { background: var(--navy); color: #D9D5E6; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.trio h2 { color: #FAF6EE; }
.trio .eyebrow { color: var(--gold-soft); }
.trio-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.swatches { list-style: none; padding: 0; margin: 1.8rem 0 0; border-top: 1px solid rgba(227,194,119,.25); }
.swatches a { display: flex; align-items: center; gap: .9rem; padding: .95rem 0; color: #FAF6EE; text-decoration: none; border-bottom: 1px solid rgba(227,194,119,.25); font: 500 .85rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.swatches a:hover { color: var(--gold-soft); }
.swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px rgba(227,194,119,.6); }
.swatch-price { margin-left: auto; letter-spacing: .04em; color: var(--gold-soft); }
.trio-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trio-img { display: block; text-decoration: none; color: #FAF6EE; }
.trio-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; background: #262B60; }
.trio-img span { display: block; margin-top: .7rem; font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.trio-img:nth-child(2) { margin-top: 2.5rem; }

/* ---------- COD steps */
.cod { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.step-n { display: block; font: 500 3rem/1 var(--serif); color: var(--gold); margin-bottom: .8rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- FAQ / accordions */
.faq-list { border-top: 1px solid var(--line); }
.faq-item, .accordion details { border-bottom: 1px solid var(--line); }
.faq-item summary, .accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font: 600 1.22rem/1.3 var(--serif); color: var(--ink); min-height: 44px; }
.faq-item summary::-webkit-details-marker, .accordion summary::-webkit-details-marker { display: none; }
.faq-item summary::after, .accordion summary::after { content: "+"; font: 300 1.5rem/1 var(--sans); color: var(--gold-ink); flex: none; transition: transform .2s; }
details[open] > summary::after { transform: rotate(45deg); }
.faq-a, .acc-body { padding: 0 0 1.2rem; max-width: 68ch; }
.faq-a p:last-child, .acc-body p:last-child { margin-bottom: 0; }

/* ---------- breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: -.6rem 0 .9rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; display: inline-block; padding: .6rem 0; }
.crumbs ol { align-items: center; }
.crumbs a:hover { color: var(--navy); }

/* ---------- shop */
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.shop-head h1 { margin-bottom: .2rem; }
.shop-head .muted { margin: 0; }
.shop-tools { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line-2); background: transparent; border-radius: 22px; font: 500 .78rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; color: var(--ink); }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #FAF6EE; }
.sort { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.sort select { min-height: 44px; padding: 0 2rem 0 .8rem; border: 1px solid var(--line-2); background: var(--surface); border-radius: 2px; color: var(--ink); }
.card.is-hidden { display: none; }

/* ---------- product page */
.product-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 4.5vw, 4rem); align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.thumbs { display: flex; flex-direction: column; gap: .6rem; }
.thumb { display: block; border: 1px solid transparent; background: var(--sand); opacity: .7; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--navy); }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--sand); }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
.slide img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; }
.product-info { padding-top: .25rem; }
.product-title { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: .35em; }
.product-price { font: 500 1.35rem/1 var(--sans); color: var(--ink); letter-spacing: .02em; margin-bottom: 1.1rem; }
.product-summary { color: var(--ink-2); }
.buy { margin-top: 1.5rem; }
.sizes { border: 0; padding: 0; margin: 0 0 1.25rem; }
.sizes legend, .qty-label { font: 500 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; padding: 0; }
.size-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size-opt span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 86px; padding: 0 1rem; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); cursor: pointer; font-weight: 500; transition: all .15s; }
.size-opt span:hover { border-color: var(--navy); }
.size-opt input:checked + span { background: var(--navy); color: #FAF6EE; border-color: var(--navy); }
.size-opt input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.custom-fields { border: 1px solid var(--line); background: var(--surface); padding: 1.1rem 1.1rem .4rem; margin-bottom: 1.25rem; }
.custom-fields > .muted { font-size: .9rem; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 2.4rem; }
.input-unit > span { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
.qty-row { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.1rem; }
.qty-label { margin: 0; }
.qty { display: inline-flex; border: 1px solid var(--line-2); border-radius: 2px; background: var(--surface); }
.qty button { width: 44px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--ink); }
.qty input { width: 46px; border: 0; text-align: center; background: none; -moz-appearance: textfield; appearance: textfield; font-weight: 500; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-actions { display: grid; gap: .7rem; }
.assurance { list-style: none; padding: 1.1rem 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: .45rem; font-size: .92rem; color: var(--muted); }
.assurance strong { color: var(--ink); font-weight: 500; margin-right: .35rem; }
.ask { margin: 1.1rem 0 1.5rem; }
.ask a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; min-height: 44px; }
.ask svg { color: #1F8F4E; }
.specs { margin: 0 0 1rem; display: grid; gap: .55rem; }
.specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; }
.specs dt { font: 500 .75rem/1.6 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 0; }
.related { padding-top: 1rem; }
.sticky-buy { display: none; }

/* ---------- forms */
.field { display: block; margin-bottom: 1rem; }
.field > span:first-child { display: block; font: 500 .8rem/1.3 var(--sans); letter-spacing: .04em; color: var(--ink); margin-bottom: .4rem; }
.field em { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.field textarea { resize: vertical; min-height: 76px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field-sm input { min-height: 46px; }
.form-error { color: var(--error); font-weight: 500; min-height: 1.2em; margin: 0 0 .8rem; }
.form-error:empty { margin: 0; min-height: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- checkout */
.checkout-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; margin-top: 1.5rem; }
.step-title { font-size: 1.55rem; margin: 0 0 1.1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.checkout-form .step-title:not(:first-child) { margin-top: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.span-2 { grid-column: span 2; }
.pay-option { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1.5px solid var(--navy); background: var(--surface); margin-bottom: 1.2rem; }
.radio-dot { flex: none; width: 20px; height: 20px; margin-top: .15rem; border-radius: 50%; border: 2px solid var(--navy); box-shadow: inset 0 0 0 3px var(--surface); background: var(--navy); }
.pay-title { font-weight: 600; color: var(--ink); margin: 0 0 .2rem; }
.pay-option .muted { margin: 0; font-size: .92rem; }
.fine { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.summary { background: var(--surface); border: 1px solid var(--line); padding: 1.5rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: start; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 64px; aspect-ratio: 2 / 3; object-fit: cover; object-position: center top; background: var(--sand); }
.line-name { font: 600 1.1rem/1.2 var(--serif); color: var(--ink); margin: 0 0 .25rem; }
.line-name a { color: inherit; text-decoration: none; }
.line-meta { font-size: .85rem; color: var(--muted); margin: 0; }
.line-price { font-weight: 500; color: var(--ink); white-space: nowrap; }
.line-actions { display: flex; align-items: center; gap: .8rem; margin-top: .5rem; }
.line-actions .qty button { width: 40px; height: 40px; }
.line-actions .qty span { min-width: 28px; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.line-remove { border: 0; background: none; padding: .5rem 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; min-height: 40px; }
.totals { margin: 1rem 0 0; display: grid; gap: .45rem; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; color: var(--ink); font-weight: 500; }
.totals .grand { border-top: 1px solid var(--line-2); padding-top: .75rem; margin-top: .35rem; }
.totals .grand dt, .totals .grand dd { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
.totals-note { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-2); }

/* ---------- drawer */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(27,26,46,.45); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); background: var(--bg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; outline: none; }
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.6rem; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 1.25rem; }
.drawer-foot { padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); background: var(--surface); }
.drawer-foot .totals { margin: 0 0 1rem; }
.drawer-foot .btn + .btn { margin-top: .6rem; }
.drawer-empty { text-align: center; padding: 3rem 0; }

/* ---------- prose / legal */
.prose-wrap { max-width: 860px; }
.prose { max-width: 72ch; }
.prose h1 { margin-bottom: .35em; }
.prose h2 { font-size: 1.65rem; margin: 2.4rem 0 .7rem; }
.prose li { margin-bottom: .45rem; }
.legal-meta { font-size: .85rem; color: var(--muted); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.legal-contact { border: 1px solid var(--line); background: var(--surface); padding: 1.2rem 1.4rem; }
.legal-contact p:last-child { margin: 0; }
.legal-contact a { display: inline-block; padding: .55rem 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; margin: .5rem 0 1.25rem; font-size: .95rem; background: var(--surface); }
.table th, .table td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.table thead th { font: 500 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.table tbody th { font-weight: 500; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 2.5rem; }
.contact-card { border: 1px solid var(--line); background: var(--surface); padding: 1.4rem; }
.contact-card h2 { font-size: 1.25rem; margin: 0 0 .6rem; }
.contact-big { font: 600 1.3rem/1.3 var(--serif); color: var(--ink); word-break: break-word; }
.contact-big a { color: inherit; }
.contact-card .muted { font-size: .9rem; margin: 0; }

/* ---------- confirmation */
.order-box { border: 1px solid var(--line); background: var(--surface); padding: 1.4rem; margin: 1.5rem 0 2rem; }
.order-no { font: 600 2rem/1 var(--serif); color: var(--navy); letter-spacing: .04em; margin: .2rem 0 1rem; }
.next-steps li { margin-bottom: .6rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 1.75rem; }
.center-text .cta-row { justify-content: center; }
.status-badge { display: inline-block; padding: .3rem .7rem; border-radius: 2px; background: var(--sand); font: 500 .74rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }

/* ---------- footer */
.site-footer { background: var(--navy); color: #C9C6DA; padding: 3.5rem 0 0; margin-top: 2rem; font-size: .93rem; }
.site-footer a { color: #EDEAF5; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-h { font: 500 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: .4rem 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.3; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-base { border-top: 1px solid rgba(227,194,119,.2); margin-top: 2.5rem; padding-top: 1.2rem; padding-bottom: 1.4rem; font-size: .8rem; color: #A6A2BC; }
.footer-base p { margin: 0; }

/* ---------- admin */
.admin { background: #F4F1EA; }
.admin-bar { display: flex; align-items: center; gap: 1rem; background: var(--navy); color: var(--gold-soft); padding: .7rem 1.25rem; font: 500 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.admin-bar [data-logout] { margin-left: auto; }
.admin-main { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
.admin-login { max-width: 380px; margin: 3rem auto; background: #fff; border: 1px solid var(--line); padding: 2rem; }
.admin-login h1 { font-size: 2rem; }
.admin-tools { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.admin-search { flex: 1; min-width: 220px; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; }
.order-card { background: #fff; border: 1px solid var(--line); margin-bottom: .8rem; }
.order-card > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 7.5rem 1fr 8rem 7rem 8rem; gap: 1rem; align-items: center; padding: .9rem 1.1rem; }
.order-card > summary::-webkit-details-marker { display: none; }
.order-card .oid { font-weight: 600; color: var(--navy); }
.order-card .st { justify-self: start; }
.st-pending { background: #FBE9C8; } .st-confirmed { background: #DCE6F7; } .st-dispatched { background: #E4DCF5; }
.st-delivered { background: #D8EDDC; } .st-cancelled, .st-returned { background: #F3D9D6; }
.order-detail { padding: 1rem 1.1rem 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid var(--line); }
.order-detail h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.order-detail p { margin: 0 0 .4rem; font-size: .93rem; }
.order-items { margin: 0; padding-left: 1.1rem; font-size: .93rem; }
.order-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.order-edit .field { margin-bottom: .7rem; }
.order-edit .span-2 { grid-column: span 2; }
.order-edit select { width: 100%; min-height: 44px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff; padding: 0 .6rem; }
.save-msg { font-size: .85rem; color: var(--ok); margin-left: .8rem; }

/* ---------- offer prices */
:root { --sale: #9E1B32; --wa: #0F7F42; --wa-hover: #0C6E39; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: .5rem; row-gap: .25rem; }
.price-was { color: var(--muted); font-weight: 400; font-size: .84em; text-decoration-thickness: 1px; }
.price.is-offer .price-now { color: var(--sale); font-weight: 600; }
.price-save { align-self: center; font: 600 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--sale); padding: .4rem .5rem; border-radius: 2px; }
.card-badge { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: var(--sale); color: #fff; font: 600 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: .42rem .55rem; border-radius: 2px; }
.offer-tag { display: inline-block; font: 600 .66rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--sale); padding: .34rem .45rem; border-radius: 2px; margin-right: .45rem; vertical-align: .12em; }
.hero-offer { font-weight: 500; color: var(--ink); margin: 0 0 .55rem; }
.offer-note { font-size: .93rem; color: var(--ink-2); margin: -.3rem 0 1rem; }
.product-price { font-size: 1.5rem; }
.announce strong { color: #fff; font-weight: 600; }
.totals .save-row dt, .totals .save-row dd { color: var(--sale); font-weight: 500; }
.line-meta s { color: var(--muted); }
.sticky-price .price-was { font-size: .8em; }

/* ---------- floating WhatsApp button (always visible) */
.wa-float { position: fixed; right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 45; display: inline-flex; align-items: center; gap: .55rem; height: 56px; padding: 0 1.3rem 0 1rem; border-radius: 28px; background: var(--wa); color: #fff; text-decoration: none; font: 600 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 24px rgba(15,127,66,.32), 0 2px 6px rgba(0,0,0,.12); transition: opacity .2s ease, transform .2s ease, bottom .25s ease, background .2s; }
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:hover { background: var(--wa-hover); color: #fff; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (max-width: 900px) {
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
  body.sticky-on .wa-float { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .footer-base { padding-bottom: calc(1.4rem + 76px); }
}
@media (max-width: 600px) {
  .announce .hide-sm { display: none; }
}

/* ---------- responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 46px; }
  .hdr-wa { display: none; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem; box-shadow: 0 12px 24px rgba(27,26,46,.08); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .85rem; min-height: 52px; }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-btn { margin-right: -10px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { gap: .6rem; }
  .hero-inset { margin-top: 2rem; }
  .facts-row { grid-template-columns: 1fr; }
  .fact { padding: 1.1rem 0; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .card-title { font-size: 1.12rem; }
  .trio-grid { grid-template-columns: 1fr; }
  .trio-images { gap: .6rem; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-grid { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; margin: 0 calc(-1 * var(--gutter)); }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; padding: 0 var(--gutter); }
  .thumb { flex: 0 0 60px; }
  .slide img { aspect-ratio: 3 / 4; }
  .checkout-grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem var(--gutter); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(27,26,46,.08); }
  .sticky-buy[hidden] { display: none !important; }
  .sticky-buy p { margin: 0; }
  .sticky-name { font: 600 1rem/1.2 var(--serif); color: var(--ink); max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-price { font-size: .9rem; font-weight: 500; }
  .order-card > summary { grid-template-columns: 1fr auto; }
  .order-card > summary .hide-sm { display: none; }
  .order-detail { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .shop-tools { width: 100%; justify-content: space-between; }
  .size-opt span { min-width: 0; padding: 0 .9rem; }
  .announce p { font-size: .66rem; letter-spacing: .1em; }
  .hero-cta .btn-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
