/* ---------- Tokens ---------- */
:root {
  --bg: #F7F1E8;
  --bg-alt: #EFE4D3;
  --surface: #FFFCF7;
  --ink: #2A1C12;
  --ink-2: #6B5646;
  --line: #E2D3BE;
  --caramel: #E3B57F;
  --gold: #A57A3A;
  --gold-ink: #7E5A22;
  --rust: #B4471C;
  --rust-dark: #8E3613;
  --rust-tint: #FDF4EC;
  --ok: #2F6B3C;
  --err: #A3261B;

  --font-display: "El Messiri", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --sec: 2.5rem; /* vertical section padding: tighter on phones, see the 900px block */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  padding-bottom: 76px; /* room for the sticky bar, so it never covers the last lines */
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.25; margin: 0 0 var(--s4); font-weight: 700; }
h1 { font-size: clamp(2rem, 7.4vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 5vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 var(--s4); }
a { color: inherit; }
.nowrap { white-space: nowrap; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(680px, 100% - 2.5rem); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.eyebrow { font-size: .9rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .02em; margin-bottom: var(--s2); }
.fine { font-size: .95rem; color: var(--ink-2); }
.section-sub { color: var(--ink-2); margin-top: calc(-1 * var(--s2)); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: .7rem 1.4rem;
  border-radius: var(--r-md); border: 1.5px solid transparent;
  font: 700 1.05rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-primary[disabled] { opacity: .7; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-lg { min-height: 56px; font-size: 1.15rem; padding-inline: 1.8rem; }
.btn-block { width: 100%; }
.btn-wa { background: #1F7A44; color: #fff; }
.btn-wa:hover { background: #17603A; }

/* ---------- Top strip ---------- */
.strip {
  background: var(--ink); color: #F3E7D6;
  display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem 1.25rem;
  padding: .45rem 1rem; font-size: .85rem; font-weight: 500;
}
.strip span { display: inline-flex; align-items: center; gap: .4rem; }
.strip .ic { --bg: var(--ink); }
@media (max-width: 380px) { .strip-gift { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: 0 0 var(--sec); }
.hero-grid { display: grid; gap: var(--s4); }
.hero-media { position: relative; margin-inline: -1.25rem; }
.gallery {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  background: var(--caramel);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; scroll-snap-align: center; cursor: zoom-in; }
.gal-btn {
  position: absolute; top: calc(50% - 16px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 252, 247, .92); color: var(--ink);
  box-shadow: 0 1px 6px rgba(42, 28, 18, .18);
}
.gal-btn svg, .zoom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal-btn:hover { background: #fff; }
.gal-prev { right: 10px; }
.gal-next { left: 10px; }
.gal-zoom {
  position: absolute; bottom: 42px; left: 10px;
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 36px; padding: .25rem .7rem; border: 0; border-radius: 99px;
  background: rgba(42, 28, 18, .78); color: #fff; font: 500 .85rem var(--font-body); cursor: pointer;
}
.dots { display: flex; justify-content: center; gap: 6px; padding-top: var(--s3); }
.dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line); cursor: pointer; transition: width .2s, background-color .2s; }
.dots button[aria-current="true"] { width: 22px; background: var(--ink); }
.sticker {
  position: absolute; top: 14px; left: 14px; margin: 0;
  display: grid; place-items: center; text-align: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--ink); color: #F7E9D2;
  font-family: var(--font-display); line-height: 1.1; font-size: .8rem;
  transform: rotate(-12deg);
  box-shadow: 0 0 0 3px var(--bg);
}
.sticker b { font-size: 1.35rem; display: block; color: var(--caramel); }

.hero-copy { padding-top: var(--s1); }
.name-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s1) var(--s2); margin-bottom: var(--s2); }
.name-row .eyebrow { margin: 0; }
/* Small colour pills (dot + name) beside the product name (phones; larger screens keep the full swatches below) */
.mini-sws { display: none; gap: .3rem; flex: none; }
.mini-sw {
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 34px; padding: 0 .6rem 0 .45rem;
  background: var(--surface); color: var(--ink-2);
  border: 1.5px solid var(--line); border-radius: 99px;
  font: 600 .82rem var(--font-body); cursor: pointer;
}
.mini-sw .sw { width: 16px; height: 16px; }
.mini-sw[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.mini-sw:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.hero-copy h1 { margin-bottom: var(--s3); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36ch; margin-bottom: var(--s4); }

.hero-offer { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.price { margin: 0; font-family: var(--font-display); font-size: 1.5rem; }
.price b { font-size: 2.7rem; color: var(--rust); line-height: 1; }
.price-old { font-family: var(--font-body); font-size: 1.15rem; color: var(--ink-2); font-weight: 500; margin-inline-start: .35rem; }
.price-save { display: inline-block; background: var(--rust); color: #fff; font-weight: 700; font-size: .85rem; padding: .1rem .6rem; border-radius: var(--r-sm); }
.price-gift { margin: 0; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); background: var(--bg-alt); padding: .2rem .7rem; border-radius: 99px; font-size: .95rem; }

.duo-pick {
  position: relative; display: grid; gap: 2px; text-align: start; width: 100%;
  padding: var(--s4) var(--s4) var(--s3); margin-top: var(--s2);
  background: var(--rust-tint); color: var(--ink);
  border: 1.5px solid var(--rust); border-radius: var(--r-md);
  font: inherit; cursor: pointer;
}
.duo-pick:hover { background: #FBEADB; }
.duo-tag { position: absolute; top: -.8rem; right: var(--s3); background: var(--rust); color: #fff; font-size: .78rem; font-weight: 700; padding: .05rem .65rem; border-radius: 99px; }
.duo-main { font-size: 1.05rem; }
.duo-main b { font-family: var(--font-display); font-size: 1.45rem; color: var(--rust); }
.duo-main s { color: var(--ink-2); font-size: .95rem; margin-inline-start: .25rem; }
.duo-save { font-size: .9rem; font-weight: 700; color: var(--gold-ink); }

.swatches { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.swatch {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .35rem .9rem .35rem .6rem;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 99px;
  font: 500 .95rem var(--font-body); cursor: pointer;
}
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sw { width: 20px; height: 20px; border-radius: 50%; flex: none; display: inline-block; }
.sw-cream { background: linear-gradient(135deg, #F1E8D9 55%, #C9A061 55%); box-shadow: inset 0 0 0 1px #d8c8ae; }
.sw-black { background: linear-gradient(135deg, #2C2C33 55%, #A23DD1 55%); }

.btn-hero { width: 100%; }
.cod-line { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: var(--s2) 0 0; font-weight: 700; font-size: .98rem; color: var(--ok); }
.trust { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s1); font-size: .96rem; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: .6rem; }
.trust .ic { color: var(--gold); width: 1.3em; height: 1.3em; --bg: var(--bg); }

/* ---------- Pain ---------- */
.pain { background: var(--surface); border-block: 1px solid var(--line); padding: var(--sec) 0; }
.pain-scene { font-family: var(--font-display); font-size: clamp(1.4rem, 4.6vw, 2rem); line-height: 1.5; margin-bottom: var(--s4); }
.pain-body { color: var(--ink-2); margin: 0; }

/* ---------- Features ---------- */
.feature { padding: var(--sec) 0; }
.feature-alt { background: var(--bg-alt); }
.feature-grid { display: grid; gap: var(--s5); align-items: center; }
.feature-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; background: var(--caramel); }
.feature-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.num { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--gold-ink); margin-bottom: var(--s1); }
.temps { display: flex; gap: var(--s2); margin: var(--s4) 0; }
.temps span {
  flex: 1; display: grid; justify-items: center; gap: 2px;
  padding: var(--s3) var(--s2); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
  font-size: .9rem; color: var(--ink-2);
}
.temps b { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1.1; }
.temps span:nth-child(2) b { color: var(--gold-ink); }
.temps span:nth-child(3) b { color: var(--rust); }
.note-box { background: var(--surface); border-inline-start: 3px solid var(--gold); padding: var(--s3) var(--s4); border-radius: var(--r-sm); font-size: .97rem; }

.annotated .air { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.annotated .air path { fill: none; stroke: var(--rust); vector-effect: non-scaling-stroke; stroke-width: 2.5px; stroke-linecap: round; stroke-dasharray: 3 4; animation: air 1.6s linear infinite; }
.annotated .air path:nth-child(2) { animation-delay: -.5s; }
.annotated .air path:nth-child(3) { animation-delay: -1s; }
@keyframes air { to { stroke-dashoffset: -14; } }
.air-label {
  position: absolute; bottom: 4%; right: 5%;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  background: var(--surface); color: var(--rust); padding: .15rem .7rem; border-radius: var(--r-sm);
  transform: rotate(-3deg);
}

/* ---------- Close-up photos ---------- */
.details { padding: var(--sec) 0; background: var(--surface); border-block: 1px solid var(--line); }
.detail-grid { display: grid; gap: var(--s3); }
.detail-grid figure { margin: 0; }
.zoomable { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; background: var(--caramel); cursor: zoom-in; }
.zoomable img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.zoomable:hover img { transform: scale(1.03); }
.detail-grid figcaption { font-weight: 700; padding-top: var(--s2); font-size: .98rem; }

/* ---------- In the box ---------- */
.box { padding: var(--sec) 0; }
.box-grid { display: grid; gap: var(--s5); align-items: start; }
.box-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--caramel); }
.box-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.box-list { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); }
.box-list li { display: flex; gap: var(--s3); align-items: baseline; }
.box-list .ic { color: var(--ok); width: 1.25em; height: 1.25em; vertical-align: -.25em; }

/* ---------- Moments + gift ---------- */
.moments { padding: var(--sec) 0; }
.moments-grid { display: grid; gap: var(--s6); }
.moment-list { list-style: none; padding: 0; margin: 0; counter-reset: m; }
.moment-list li { counter-increment: m; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.moment-list li:last-child { border-bottom: 0; }
.moment-list li::before { content: counter(m); grid-row: span 2; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1.2; }
.moment-list b { font-size: 1.1rem; }
.moment-list span { color: var(--ink-2); }
.gift-card { margin: 0; background: var(--ink); color: #F3E7D6; border-radius: var(--r-lg); overflow: hidden; align-self: start; }
.gift-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gift-card figcaption { padding: var(--s5); display: grid; gap: var(--s1); }
.gift-card .eyebrow { color: var(--caramel); margin: 0; }
.gift-card b { font-family: var(--font-display); font-size: 1.6rem; }
.gift-card span:last-child { color: #D9C8B2; }

/* ---------- Colors ---------- */
.colors { padding: var(--sec) 0; background: var(--surface); border-block: 1px solid var(--line); }
.color-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.color-card {
  position: relative; display: grid; align-content: start; gap: 2px; text-align: start; padding: 0 0 var(--s3);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  font: inherit; color: inherit; cursor: pointer;
}
.color-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: var(--s2); }
.color-card[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.cc-name { display: flex; align-items: center; gap: .4rem; font-weight: 700; padding-inline: var(--s2); font-size: .88rem; line-height: 1.35; }
.cc-note { font-size: .8rem; color: var(--ink-2); padding-inline: var(--s2); line-height: 1.45; }
@media (min-width: 560px) { .cc-name { font-size: 1rem; padding-inline: var(--s3); } .cc-note { font-size: .88rem; padding-inline: var(--s3); } }

/* ---------- Delivery, payment + specs ---------- */
.specs { padding: var(--sec) 0; background: var(--bg-alt); }
.specs-grid { display: grid; gap: var(--s6); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.info-list li { display: flex; gap: var(--s3); align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); }
.info-list .ic { color: var(--gold-ink); width: 1.5em; height: 1.5em; margin-top: .15rem; --bg: var(--surface); }
.info-list div { display: grid; line-height: 1.6; }
.info-list span { color: var(--ink-2); font-size: .97rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: var(--s3); }
.steps li { counter-increment: s; display: flex; gap: var(--s3); align-items: baseline; }
.steps li::before { content: counter(s); flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .95rem; }
.specs-title { font-size: 1.2rem; margin-bottom: var(--s3); }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; gap: var(--s4); padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.spec-list dt { color: var(--ink-2); }
.spec-list dd { margin: 0; font-weight: 500; }

/* ---------- Reviews ---------- */
.reviews { padding: var(--sec) 0; background: var(--bg-alt); }
.review-list { display: grid; gap: var(--s3); }
.review { background: var(--surface); border-radius: var(--r-md); padding: var(--s4) var(--s5); border: 1px solid var(--line); }
.review p { margin: 0 0 var(--s2); }
.review footer { font-size: .9rem; color: var(--ink-2); }

/* ---------- Order: compact quick-buy form ---------- */
.order { padding: var(--s6) 0; background: var(--ink); }
.order-wrap { width: min(460px, 100% - 1.25rem); }
.order-card { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: var(--s4); }
.order-title { font-size: 1.2rem; margin: 0 0 var(--s3); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

.qf .field, .qf .opts { margin: 0 0 .6rem; }
.qf label:not(.chip), .qf legend { display: block; font-weight: 700; font-size: .88rem; margin: 0 0 .2rem; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 46px; padding: .4rem .75rem;
  font: 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid #CDBBA2; border-radius: var(--r-sm);
}
.field select:disabled { background: #F4EEE6; color: var(--ink-2); }
.field input[dir="ltr"] { text-align: right; }
.field input:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(180, 71, 28, .18); }
.field.has-err input, .field.has-err select { border-color: var(--err); background: #FFF7F6; }
.err { display: block; color: var(--err); font-size: .82rem; font-weight: 500; margin-top: 2px; line-height: 1.4; }
.err:empty { display: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .5rem; }
/* spam trap: never rendered (display:none), so browsers do not autofill it and customers never see it */
.hp { display: none !important; }

.chips { display: grid; gap: .4rem; }
.chips-2 { grid-template-columns: 1fr 1fr; }
.chip { position: relative; display: block; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip > span {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .1rem .35rem; text-align: center;
  min-height: 46px; padding: .3rem .35rem; line-height: 1.25;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: .9rem; font-weight: 500;
}
.chip em { font-style: normal; font-weight: 700; font-size: .84rem; color: var(--ink-2); }
.chip input:checked + span { border-color: var(--rust); background: var(--rust-tint); box-shadow: inset 0 0 0 1px var(--rust); }
.chip input:checked + span em { color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { background: var(--bg); color: var(--ink-2); border-style: dashed; }
.chip-offer > span { flex-direction: column; gap: 0; min-height: 52px; }
.chip-offer b { font-size: .98rem; }
.chip-offer s { font-weight: 400; font-size: .76rem; color: var(--ink-2); margin-inline-start: .15rem; }
.chip-best > span { border-color: #D9A27F; }
.best-tag { position: absolute; top: -.6rem; inset-inline: 0; width: max-content; margin: 0 auto; background: var(--ok); color: #fff; font-style: normal; font-size: .68rem; font-weight: 700; line-height: 1.5; padding: 0 .45rem; border-radius: 99px; pointer-events: none; }

.mini-sum { border-top: 1px solid var(--line); margin: .75rem 0; padding-top: .6rem; }
.ms-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.ms-head img { width: 44px; height: 44px; flex: none; border-radius: var(--r-sm); object-fit: cover; background: var(--caramel); }
.ms-head .ms-imgs { display: flex; flex: none; }
.ms-imgs img + img { margin-inline-start: -14px; box-shadow: 0 0 0 2px var(--surface); } /* 2 colours: second photo overlaps the first */
.ms-head p { margin: 0; display: grid; line-height: 1.35; font-size: .88rem; }
.ms-head span { color: var(--ink-2); font-size: .84rem; }
.ms-rows { margin: 0; }
.ms-rows div { display: flex; justify-content: space-between; gap: .5rem; padding: .08rem 0; font-size: .88rem; color: var(--ink-2); }
.ms-rows dd { margin: 0; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ms-rows .ms-total { border-top: 1px dashed var(--line); margin-top: .25rem; padding-top: .3rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.ms-total dd { color: var(--rust); font-family: var(--font-display); font-size: 1.15rem; }
.ms-total dd.is-partial { color: var(--ink); font-family: var(--font-body); font-size: .95rem; }

.btn-submit { min-height: 50px; font-size: 1.05rem; }
.btn-submit .spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-submit.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .55rem 0 0; font-size: .86rem; font-weight: 700; color: var(--ok); text-align: center; }
.form-note .ic { flex: none; --bg: var(--surface); }
.form-error { color: var(--err); font-weight: 500; font-size: .9rem; margin: .5rem 0 0; text-align: center; }
.form-error:empty { display: none; }

/* thank-you summary */
.summary { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s3) var(--s4); margin: 0 0 var(--s4); }
.summary div { display: flex; justify-content: space-between; gap: var(--s3); padding: .2rem 0; color: var(--ink-2); }
.summary div span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.summary .sum-total { color: var(--ink); font-weight: 700; font-size: 1.1rem; border-top: 1px dashed var(--line); margin-top: var(--s1); padding-top: var(--s2); }
.summary .sum-total span:last-child { color: var(--rust); font-family: var(--font-display); font-size: 1.25rem; }

.thanks { text-align: center; }
.thanks:focus { outline: none; }
.thanks-ic { width: 56px; height: 56px; color: #fff; background: var(--ok); border-radius: 50%; padding: 12px; margin: 0 auto var(--s4); display: block; }
.thanks .summary { text-align: start; }
.upsell { border: 2px dashed var(--gold); border-radius: var(--r-md); padding: var(--s5) var(--s4); margin-top: var(--s5); background: #FFF8EE; }
.upsell h3 { font-size: 1.4rem; }
.upsell-actions { display: flex; gap: var(--s2); justify-content: center; flex-wrap: wrap; }
.up-color { max-width: 320px; margin: 0 auto var(--s4); }
.up-color legend { display: block; font-weight: 700; font-size: .9rem; margin: 0 auto .3rem; }

/* ---------- End call-to-action ---------- */
.end-cta { padding: var(--sec) 0; background: var(--ink); color: #F3E7D6; text-align: center; }
.end-cta-title { font-family: var(--font-display); font-size: clamp(1.4rem, 4.4vw, 2rem); line-height: 1.4; margin-bottom: var(--s2); }
.end-cta-prices { margin-bottom: var(--s5); color: #E6D6C1; }
.end-cta-prices b { color: var(--caramel); }

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: var(--s4) 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: var(--s3); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--gold-ink); }
details[open] summary::after { content: "−"; }
details p { color: var(--ink-2); padding-bottom: var(--s4); margin: 0; }

/* ---------- Contact ---------- */
.contact { padding: 0 0 var(--sec); }
.contact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s5); text-align: center; }
.contact-box h2 { font-size: 1.5rem; margin-bottom: var(--s2); }
.contact-box p { color: var(--ink-2); }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: center; }
.contact-actions .btn { min-width: 10rem; }

/* ---------- Footer ---------- */
.foot { padding: var(--s6) 0 var(--s7); text-align: center; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .92rem; }
.foot .wrap { display: grid; justify-items: center; gap: var(--s3); }
.foot p { margin: 0; }
.wa-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ok); text-decoration: none; }
.tel-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.thanks-contact { font-size: .92rem; color: var(--ink-2); }
.thanks-contact a { font-weight: 700; color: var(--ink); }

/* ---------- Sticky CTA (phones) ---------- */
.sticky-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(42, 28, 18, .08);
  transition: transform .25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-price { display: grid; line-height: 1.25; }
.sticky-price b { font-family: var(--font-display); font-size: 1.3rem; color: var(--rust); }
.sticky-price s { font-family: var(--font-body); font-size: .8rem; color: var(--ink-2); font-weight: 400; }
.sticky-price small { color: var(--ink-2); font-size: .82rem; font-weight: 500; }
.sticky-cta .btn { flex: 0 0 auto; min-width: 9.5rem; min-height: 50px; }

/* ---------- Photo zoom ---------- */
.zoom { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #111; color: #fff; overflow: hidden; }
.zoom::backdrop { background: rgba(0, 0, 0, .85); }
.zoom[open] { display: grid; place-items: center; }
.zoom img { max-width: 100%; max-height: 100dvh; width: auto; height: auto; object-fit: contain; touch-action: pinch-zoom; }
.zoom-close, .zoom-nav { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.zoom-close { top: calc(12px + env(safe-area-inset-top)); left: 12px; }
.zoom-close .ic { width: 22px; height: 22px; }
.zoom-nav { top: 50%; transform: translateY(-50%); }
.zoom-prev { right: 12px; }
.zoom-next { left: 12px; }
.zoom-count { position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); inset-inline: 0; text-align: center; margin: 0; font-size: .95rem; }

/* ---------- Phones: the order form comes straight after the price ----------
   Colour and offer are picked in the form itself (its chips also switch the photos),
   so the hero's own swatches, 2-piece card and button are left out here. */
@media (max-width: 899px) {
  .hero { padding-bottom: var(--s3); }
  .hero-grid { gap: var(--s3); }
  .dots { padding-top: var(--s2); }
  .hero-copy h1 { margin-bottom: var(--s2); }
  .hero-offer { margin-bottom: 0; }
  .mini-sws { display: flex; }
  .hero .lead, .hero .duo-pick, .hero .swatches, .hero .btn-hero, .hero .cod-line, .hero .trust { display: none; }
  .order { padding: var(--s3) 0 var(--s5); }
}

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
  .row2 { grid-template-columns: 1fr 1fr; }
  .order-card { padding: var(--s5); }
  .review-list { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .btn-hero { width: auto; min-width: 16rem; }
  .cod-line { justify-content: flex-start; }
}
@media (min-width: 900px) {
  :root { --sec: var(--s8); }
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero { padding: var(--s6) 0 var(--s8); }
  .hero-grid { grid-template-columns: 1fr 1.05fr; gap: var(--s7); align-items: center; }
  .hero-media { margin-inline: 0; order: 2; }
  .gallery { border-radius: var(--r-lg); }
  .sticker { top: -12px; left: 8px; width: 104px; height: 104px; font-size: .92rem; } /* stays inside the page edge (no sideways scroll) */
  .sticker b { font-size: 1.65rem; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .feature-alt .feature-media { order: 2; }
  .detail-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .box-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s7); align-items: center; }
  .moments-grid { grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: start; }
  .color-cards { gap: var(--s5); max-width: 860px; }
  .specs-grid { grid-template-columns: 1.15fr 1fr; gap: var(--s7); }
  .contact { padding-bottom: var(--s8); }
}
