/* خزانة هوم — a store layout: announcement bar, dark header, sections strip, banners, product grid */
:root {
  /* the brand: Khazana's logo — the dark square, the gold door, the blue door */
  --brand: #18171f;
  --brand-2: #24232e;
  --gold: #e0a617;
  --gold-ink: #18171f;
  --blue: #4ba3e7;
  --blue-deep: #1f6fb2;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --sunk: #f0efec;
  --ink: #18171f;
  --muted: #64626b;
  --line: #e6e4df;
  --accent: #18171f;
  --accent-ink: #ffffff;
  --accent-soft: #fcf0d2;
  --wa: #1f9d55;
  --bad: #b3261e;
  --ok: #1f7a4a;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(24 23 31 / .06), 0 10px 28px rgb(24 23 31 / .08);
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(26px, 4.6vw, 40px); }
h2 { font-size: clamp(20px, 3vw, 26px); }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ic { flex: none; display: inline-block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
section { padding: 28px 0; }

/* ---------- the shared chrome ---------- */
#site-head { min-height: 104px; }
.promo { background: var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 600; overflow: hidden; white-space: nowrap; height: 36px; display: flex; align-items: center; }
.promo-track { display: inline-flex; gap: 48px; padding-inline-start: 48px; animation: promo 40s linear infinite; }
.promo-track span { display: inline-flex; align-items: center; gap: 8px; }
@keyframes promo { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .promo-track { animation: none; } }

.top { position: sticky; top: 0; z-index: 20; background: var(--brand); color: #fff; }
.top .wrap { display: flex; align-items: center; min-height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand b { color: var(--gold); font-weight: 700; }
.brand-mark { width: 38px; height: 38px; }
.top .brand-mark { outline: 1px solid rgb(255 255 255 / .14); border-radius: 10px; }
/* the sections, inside the dark header */
.cats { display: flex; gap: 6px; flex: 1; margin-inline-start: 16px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; color: rgb(255 255 255 / .7); transition: color .2s; }
.cat:hover { color: #fff; }
.cat-ic { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .14); border-radius: 11px; color: rgb(255 255 255 / .75); flex: none; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
.cat:hover .cat-ic { border-color: rgb(255 255 255 / .32); color: #fff; }
/* the active section: a gold tile with a soft glow, white text, and a slim gold line on the header's edge */
.cat.on { color: #fff; }
.cat.on .cat-ic { background: var(--gold); border-color: var(--gold); color: var(--brand); box-shadow: 0 6px 18px rgb(224 166 23 / .35); }
.cat.on::after { content: ""; position: absolute; inset-inline: 12px; bottom: -11px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold); }
.cat.soon { color: rgb(255 255 255 / .55); cursor: default; }
.cat.soon small { background: var(--blue); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 999px; font-weight: 600; }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 8px; }
  .top .btn { margin-inline-start: auto; }
  /* on a phone the sections share the row equally, the icon over its name, like an app's tab bar */
  .cats { order: 3; flex: 0 0 100%; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; overflow: visible; }
  .cat { flex-direction: column; justify-content: center; gap: 4px; padding: 6px 2px; font-size: 11.5px; min-height: 64px; white-space: normal; text-align: center; line-height: 1.25; }
  .cat.on::after { inset-inline: 30%; bottom: -8px; }
  .cat-ic { width: 32px; height: 32px; }
}

/* fingers: every control at least 44px high on a phone */
@media (max-width: 760px) {
  .swatch i { width: 44px; height: 44px; }
  .num input { padding: 12px 8px; }
  .foot-grid a:not(.btn), .foot-grid .soon-link { padding: 9px 0; margin: 0; }
  .crumbs { padding-top: 8px; }
  .crumbs a { padding: 8px 0; display: inline-flex; align-items: center; }
  .v3-btn { min-height: 44px; }
  .view-tabs button { min-height: 44px; }
  .choice { min-height: 52px; }
  .faq summary { padding: 16px 0; }
}

.foot { background: var(--brand); color: rgb(255 255 255 / .72); margin-top: 48px; font-size: 15px; }
.foot-promises { background: var(--brand-2); border-bottom: 1px solid rgb(255 255 255 / .06); }
.foot-promises .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.foot-promises .wrap > div { display: flex; gap: 12px; align-items: center; }
.foot-promises .ic { color: var(--gold); flex: none; }
.foot-promises span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; }
.foot-promises b { color: #fff; font-size: 15px; }
@media (max-width: 900px) { .foot-promises .wrap { grid-template-columns: repeat(2, 1fr); } }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-top: 40px; padding-bottom: 32px; }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot-about p { max-width: 30em; line-height: 1.8; margin-bottom: 16px; }
.foot h4 { color: #fff; font-size: 16px; margin-bottom: 14px; position: relative; padding-bottom: 10px; }
.foot h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 28px; height: 3px; border-radius: 2px; background: var(--gold); }
.foot-grid a:not(.btn), .foot-grid .soon-link { display: block; text-decoration: none; margin-bottom: 10px; }
.foot-grid a:not(.btn):hover { color: #fff; }
.foot-grid .soon-link small { background: var(--blue); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 999px; margin-inline-start: 6px; }
.foot-contact { display: flex !important; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-contact .ic { color: var(--gold); flex: none; }
.foot-bottom { border-top: 1px solid rgb(255 255 255 / .08); font-size: 13px; }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 22px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-grid > div:first-child, .foot-grid > div:last-child { grid-column: 1 / -1; } }

.fab-wa { position: fixed; bottom: 18px; left: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .22); }
.fab-wa:hover { transform: scale(1.05); }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .08s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #2d2b37; }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-gold:hover { background: #efb42a; }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--sunk); }
.btn-light { background: #fff; color: var(--brand); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #188547; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.chip .ic { color: var(--blue-deep); }

/* ---------- home: banner slider ---------- */
.slider { position: relative; margin-top: 20px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 20px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; min-height: 340px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 32px 40px; color: #fff; background: var(--brand); position: relative; overflow: hidden; text-decoration: none; }
.slide.gold { background: var(--gold); color: var(--gold-ink); }
.slide.blue { background: var(--blue-deep); }
.slide h2 { font-size: clamp(24px, 4vw, 40px); margin-bottom: 8px; }
.slide p { opacity: .85; font-size: 17px; }
.slide .from { font-size: 15px; opacity: .85; }
.slide .big { font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.05; display: block; margin: 4px 0 16px; }
.slide .big small { font-size: .38em; font-weight: 600; }
.slide-art { background: rgb(255 255 255 / .1); border-radius: 18px; height: 100%; min-height: 260px; display: grid; place-items: center; padding: 18px; }
.slide.gold .slide-art { background: rgb(255 255 255 / .35); }
.slide-art svg { width: 100%; height: 100%; max-height: 300px; }
.slide-art.has-photo { padding: 0; overflow: hidden; background: #f1ede6; }
.slide-art.has-photo img { width: 100%; height: 100%; max-height: 320px; object-fit: contain; }
.slider .arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; padding: 0; }   /* padding: not the thanks page's .next list */
/* each arrow centred on the slider's edge, half over the photo, half outside */
.slider .arrow.prev { right: -20px; } .slider .arrow.next { left: -20px; }
@media (max-width: 1120px) { .slider .arrow.prev { right: 10px; } .slider .arrow.next { left: 10px; } }   /* no room outside: inside the photo */
.slider .arrow:hover { transform: translateY(-50%) scale(1.06); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #cfcdc7; padding: 0; cursor: pointer; transition: width .2s; }
.dots button[aria-current="true"] { width: 22px; background: var(--gold); }
@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; padding: 24px 22px; min-height: 0; }
  .slide-art { min-height: 0; height: 190px; order: -1; padding: 12px; }
  .slide-art svg { max-height: 100%; }
  .slide p { font-size: 15px; }
  .slider .arrow { display: none; }
}

/* ---------- home: round shortcuts ---------- */
.rounds { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; }
.round { flex: none; width: 104px; text-align: center; text-decoration: none; font-weight: 600; font-size: 14px; }
.round i { display: block; width: 92px; height: 92px; margin: 0 auto 8px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.round:hover i { box-shadow: 0 0 0 2px var(--gold), var(--shadow); }

/* ---------- home: section heads, product cards ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.section-head a { color: var(--blue-deep); font-weight: 600; text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 2px; min-height: 44px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard .art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(180deg, #f4f2ee, #ebe8e2); }
.pcard .art svg, .pcard .art img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.pcard .art img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a 3D render (transparent around the unit) on the same dark studio backdrop as the 3D view */
.pcard .art:has(img.r3d) { background: radial-gradient(120% 90% at 50% 30%, #3a3844 0%, #24232c 60%, #18171f 100%); }
.pcard .art img.r3d { inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.slide-art.has-3d { background: rgb(255 255 255 / .06); position: relative; overflow: hidden; }
.slide.gold .slide-art.has-3d { background: rgb(24 23 31 / .1); }
.slide-art.has-3d img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
/* realistic room photos: fill the frame */
.pcard .art img.real { inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pcard:hover .art img.real { transform: scale(1.04); }
/* the same photo with the doors open: over the closed one, shown on hover (a mouse) or by the door button */
.pcard .art img.real-open { opacity: 0; transition: opacity .35s ease, transform .5s ease; }
@media (hover: hover) { .pcard:hover .art img.real-open { opacity: 1; } }
.pcard .art.show-open img.real-open { opacity: 1; }
.pcard .open-btn { position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: var(--ink); box-shadow: 0 2px 8px rgb(0 0 0 / .18); cursor: pointer; }
.pcard .open-btn[aria-pressed="true"] { background: var(--gold); color: #18171f; }
.pcard .open-btn svg { position: static; width: 17px; height: 17px; }
/* a photo slide: the whole slide is one photo (a wide room photo of the unit, the room extended around it), the
   text on the wall beside the unit over a soft light wash; on a phone, the square photo with the text over its foot */
.slide.photo { isolation: isolate; display: block; padding: 0; min-height: 0; aspect-ratio: 1170 / 450; background: #ece7df; color: var(--ink); }
.slide.photo picture, .slide.photo img { position: absolute; inset: 0; }
/* the unit moved off the text: the photo a little wider than the slide, its left part cut (--shift) */
.slide.photo img { inset-block: 0; right: auto; left: calc(-1 * var(--shift, 12%));   /* (right: auto, or RTL drops the left) */ width: calc(100% + var(--shift, 12%)); height: 100%; object-fit: cover; object-position: 50% var(--y, 55%); }
.slide.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgb(250 247 242 / .93) 0%, rgb(250 247 242 / .82) 26%, rgb(250 247 242 / .35) 40%, rgb(250 247 242 / 0) 52%); }
.slide.photo .slide-txt { position: absolute; z-index: 1; inset-block: 0; inset-inline-start: 0; width: 44%; padding: 28px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.slide-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; margin-bottom: 10px; }
.slide.photo .slide-sub { margin: 0 0 10px; font-size: 16px; opacity: .75; }
.slide.photo .big { margin: 0; }
.slide-note { font-size: 13px; opacity: .7; margin: 2px 0 16px; }
@media (max-width: 1000px) and (min-width: 761px) { .slide.photo { aspect-ratio: 16 / 7; } .slide.photo .slide-txt { width: 50%; padding: 22px 30px; } .slide.photo::after { background: linear-gradient(to left, rgb(250 247 242 / .94) 0%, rgb(250 247 242 / .82) 32%, rgb(250 247 242 / 0) 58%); } }
@media (max-width: 760px) {
  .slide.photo { aspect-ratio: 1 / 1.08; }
  .slide.photo img { left: 0; width: 100%; object-position: 50% 30%; }
  .slide.photo::after { background: linear-gradient(to top, rgb(250 247 242 / .96) 0%, rgb(250 247 242 / .88) 30%, rgb(250 247 242 / 0) 52%); }
  .slide.photo .slide-txt { inset: auto 0 0 0; width: auto; padding: 0 18px 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 12px; }
  .slide.photo .slide-tag { display: none; }
  .slide.photo .slide-txt h2 { grid-column: 1 / -1; font-size: 22px; margin-bottom: 2px; }
  .slide.photo .slide-sub { grid-column: 1 / -1; font-size: 14px; margin-bottom: 6px; }
  .slide.photo .slide-txt .big { grid-column: 1; font-size: 30px; margin: 0; }
  .slide.photo .slide-note { grid-column: 1; font-size: 12px; margin: 0; }
  .slide.photo .slide-txt .btn { grid-column: 2; grid-row: 3 / 5; align-self: end; }
}
.badge { position: absolute; top: 10px; right: 10px; background: var(--blue-deep); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.badge.gold { background: var(--gold); color: var(--gold-ink); }
.badges { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 20px); }
.badges .badge { position: static; }
.badge.badge-alt { background: var(--gold); color: var(--gold-ink); }
.badge.badge-ind { background: #1d1e21; color: #fff; }
#coffee-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) { #coffee-grid { grid-template-columns: repeat(2, 1fr); } }
.preview .badges { top: 14px; right: 14px; }
.pcard .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .title { font-weight: 600; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3em; }
.pcard .meta { font-size: 13px; color: var(--muted); }
.pcard .price { margin-top: auto; font-size: 22px; font-weight: 700; }
.pcard .price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.pcard .note { font-size: 12px; color: var(--ok); font-weight: 600; display: flex; align-items: center; gap: 4px; }
@media (max-width: 720px) { .pcard .price { font-size: 18px; } .pcard .body { padding: 10px; } }

/* ---------- why us: the store against ready-made furniture ---------- */
.vs { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.vs-row { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.vs-row:last-child { border-bottom: 0; }
.vs-row span { color: var(--muted); font-weight: 600; }
.vs-row b { color: var(--ink); font-weight: 600; display: flex; gap: 8px; align-items: center; }
.vs-row b::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--gold); color: var(--brand); font-size: 13px; flex: none; }
.vs-row em { font-style: normal; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.vs-row em::before { content: "✕"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #fbe4e2; color: #c2410c; font-size: 12px; font-weight: 700; flex: none; }
.vs-head { background: var(--brand); color: #fff; }
.vs-head b { color: var(--gold); font-size: 16px; }
.vs-head b::before { display: none; }
.vs-head b:last-child { color: rgb(255 255 255 / .6); }
/* the store's column: its mark, «خزانة» in white and «هوم» in gold, as the header's */
.vs-head .vs-brand { color: #fff; font-size: 18px; font-weight: 700; gap: 10px; }
.vs-head .vs-brand .vs-name { display: inline; color: #fff; font-weight: 700; }
.vs-head .vs-brand i { font-style: normal; color: var(--gold); }
.vs-head .vs-brand img { width: 30px; height: 30px; flex: none; }
@media (max-width: 640px) {
  .vs-row { grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 16px; }
  .vs-row span { grid-column: 1 / -1; font-size: 13px; }
  .vs-head span { display: none; }
}

/* ---------- promises, steps, faq ---------- */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* the promises: set apart from the products above and the table below, in the brand's gold */
.promise { background: #fdf3dc; border: 1px solid #f0d58f; border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.promise .ic { flex: none; width: 38px; height: 38px; padding: 8px; box-sizing: border-box; border-radius: 10px; background: var(--gold); color: var(--brand); margin-top: 0; }
.promise b { display: block; font-size: 15px; }
.promise span { color: #6b5a33; font-size: 14px; }
@media (max-width: 900px) { .promises { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .promises { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--gold); color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.steps b { display: block; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: left; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* ---------- product (model) page ---------- */
/* all on one line, the link's larger tap area (phones) centred with the rest */
.crumbs { font-size: 14px; color: var(--muted); padding: 16px 0 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; line-height: 1.4; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; padding-top: 12px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 20px; } }
.gallery-col { position: sticky; top: 80px; }
@media (max-width: 860px) { .gallery-col { position: static; } }
.preview { position: relative; background: linear-gradient(180deg, #f4f2ee, #ebe8e2); border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px 18px; display: grid; place-items: center; min-height: 420px; }
.info .tagline { font-size: 16px; margin-bottom: 18px; }

/* the preview's views: 3D, photo, measurements */
.view-tabs { display: flex; gap: 6px; margin-bottom: 10px; background: var(--sunk); padding: 4px; border-radius: 12px; }
.view-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 9px; background: transparent; font: 600 14px var(--font); color: var(--muted); cursor: pointer; }
.view-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
/* the 3D view sits on a dark studio backdrop, so white and light units stand out */
.preview.is-3d { padding: 0; overflow: hidden; display: block; background: radial-gradient(120% 90% at 50% 30%, #3a3844 0%, #24232c 55%, #18171f 100%); border-color: #18171f; }
.preview.is-3d .badge { z-index: 2; }
.preview.is-3d .layout-note { position: absolute; bottom: 10px; inset-inline: 0; margin: 0; z-index: 2; pointer-events: none; color: rgb(255 255 255 / .72); }
.preview.is-3d .v3-hint, .preview.is-3d .v3-load { background: rgb(255 255 255 / .1); color: rgb(255 255 255 / .8); }
.view3d { position: relative; width: 100%; height: min(62vh, 520px); min-height: 340px; }
.view3d canvas { display: block; border-radius: 18px; }
.v3-tools { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 8px; }
.v3-btn { min-height: 38px; padding: 0 14px 0 12px; border-radius: 10px; border: 1px solid var(--line); background: rgb(255 255 255 / .92); font: 600 13px var(--font); color: var(--ink); cursor: pointer; box-shadow: 0 2px 8px rgb(0 0 0 / .08); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; flex: none; }
.v3-btn:hover { background: #fff; }
.preview .v3-btn svg.ic { width: 18px; height: 18px; max-height: none; }
.v3-btn.on {background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.v3-scale { position: absolute; top: 58px; inset-inline-end: 14px; z-index: 2; font-size: 12px; color: rgb(255 255 255 / .6); pointer-events: none; }
.preview:not(.is-3d) .v3-scale { display: none; }
.v3-hint, .v3-load { position: absolute; inset-inline: 0; margin: auto; width: max-content; max-width: 90%; z-index: 2; font-size: 13px; color: var(--muted); background: rgb(255 255 255 / .85); padding: 4px 12px; border-radius: 999px; pointer-events: none; }
.v3-hint { bottom: 40px; }
.v3-load { top: 46%; }
@media (max-width: 860px) { .view3d { height: 50vh; min-height: 300px; } }

/* the order page's steps */
.step { padding: 20px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 16px; }
.step-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: var(--gold); font-size: 15px; font-weight: 700; flex: none; margin-inline-end: 10px; vertical-align: middle; }
.step h3 .step-n { margin: 0; }
.types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.type-art img.thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the small link under the unit's description to its twin of the other style */
.twin-link { display: inline-block; margin: -4px 0 14px; font-size: 14px; color: var(--blue-deep); text-decoration: none; }
.twin-link b { text-decoration: underline; text-underline-offset: 3px; }
.twin-link[hidden] { display: none; }
/* the link to the other family (classic ↔ industrial) */
.family-link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #1d1e21; color: #fff; text-decoration: none; font-size: 13.5px; }
.family-link b { color: var(--gold); }
.family-link .new { font-size: 10.5px; font-weight: 700; background: var(--gold); color: var(--gold-ink); padding: 1px 7px; border-radius: 999px; }
.family-link:hover { background: #2a2b30; }
/* compact: a small picture beside the name and the starting price */
.type { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); text-align: start; min-width: 0; transition: border-color .15s, box-shadow .15s, transform .15s; }
.type-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.type:hover { border-color: #d9d5cc; transform: translateY(-1px); }
.type[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); background: #fffdf7; }
.type b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.type small { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.type-art { flex: none; width: 54px; height: 54px; display: grid; place-items: center; background: var(--sunk); border-radius: 8px; padding: 4px; }
.type-art svg { width: 100%; height: 100%; }
.type-art { position: relative; overflow: hidden; }
.type-art:has(img.r3d) { background: radial-gradient(120% 100% at 50% 30%, #3a3844 0%, #24232c 60%, #18171f 100%); }
/* the render is pinned to the box, whatever its own size: it can never push the card out */
.type-art img.r3d { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.type.soon { cursor: default; opacity: .7; }
.type-soon { font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.type-soon { font-size: 11px; }
/* the handles: a shape (a door with its handle drawn) and a finish */
.hshapes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hshape { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); }
.hshape small { font-size: 11px; line-height: 1.3; text-align: center; }
.hshape[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px var(--accent-soft); background: #fffdf7; }
.hs-art { width: 34px; height: 34px; }
.hs-art svg { width: 100%; height: 100%; }
.hs-art .d { fill: #efe9df; stroke: #b9b2a6; stroke-width: 1.4; }
.hs-art .h { stroke: #222226; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.hs-art .h.t { stroke-width: 1.6; }
.hs-art .h.w { stroke-width: 3.4; stroke: #9aa0a8; }
.hs-art .k { fill: #222226; }
.hs-art .p { stroke: var(--gold); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hcolors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hcolors[hidden] { display: none; }
.hcolor { display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; font: 500 12.5px var(--font); color: var(--ink); }
.hcolor i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15), inset 0 6px 8px rgb(255 255 255 / .35); }
.hcolor[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 2px var(--accent-soft); }
@media (max-width: 420px) { .hshape small { font-size: 10px; } }
.type-desc { font-size: 13px; margin: 10px 0 0; line-height: 1.6; }
/* narrow: two to a row still, a little smaller */
@media (max-width: 420px) {
  .types { gap: 6px; }
  .type { gap: 6px; padding: 5px; }
  .type-art { width: 46px; height: 46px; }
  .type b { font-size: 12.5px; }
  .type small { font-size: 10.5px; }
}

.price-card { background: var(--brand); color: #fff; border-radius: 16px; padding: 18px 20px 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.price-card .price-line { border-top: 0; padding-top: 0; }
/* the quantity: − n + */
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.qty-row .label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgb(255 255 255 / .25); border-radius: 12px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: rgb(255 255 255 / .06); color: #fff; font: 600 20px var(--font); cursor: pointer; }
.qty button:hover:not(:disabled) { background: rgb(255 255 255 / .14); }
.qty button:disabled { opacity: .35; cursor: default; }
.qty input { width: 52px; height: 40px; border: 0; background: transparent; color: #fff; text-align: center; font: 700 18px var(--font); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-note { font-size: 13px; color: rgb(255 255 255 / .7); }
.price-card .label { display: block; font-size: 13px; color: rgb(255 255 255 / .6); margin-bottom: 2px; }
.price-card .price { color: #fff; }
.price-card .cur { color: rgb(255 255 255 / .7); }
.price-card .muted { color: rgb(255 255 255 / .6); }
.price-card .deposit { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 10px 14px; background: rgb(255 255 255 / .08); border-radius: 10px; margin: 12px 0 16px; color: rgb(255 255 255 / .9); }
.price-card .deposit .ic { color: var(--gold); margin-top: 2px; }
.price-card .deposit b { color: var(--gold); }
.price-card .cta-row { margin: 0; }
.price-card .btn-primary { background: var(--gold); color: var(--brand); }
.price-card .btn-primary:hover { background: #efb42a; }
.price-card .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .25); }
.price-card .btn-ghost:hover { background: rgb(255 255 255 / .08); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 16px 0 6px; border-top: 1px solid var(--line); }
.price-line .price { font-size: 38px; font-weight: 700; line-height: 1.1; }
.price-line .cur { font-size: 17px; font-weight: 600; color: var(--muted); }
.price-line .muted { font-size: 14px; }
.info > .deposit { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 10px 14px; background: var(--accent-soft); border-radius: 10px; margin: 6px 0 16px; }
.info > .deposit .ic { color: #9a6c00; margin-top: 2px; }
.info .hint { font-size: 14px; margin: 8px 0 0; }
/* a wardrobe's open end: a switch row under the sizes */
.opt-toggle { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.opt-toggle[hidden] { display: none; }
.opt-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-toggle .opt-switch { flex: none; width: 42px; height: 24px; border-radius: 999px; background: #d6d3cd; position: relative; transition: background .2s; }
.opt-toggle .opt-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: inset-inline-start .2s; }
.opt-toggle input:checked + .opt-switch { background: var(--gold); }
.opt-toggle input:checked + .opt-switch::after { inset-inline-start: 21px; }
.opt-toggle input:focus-visible + .opt-switch { outline: 2px solid var(--blue-deep); outline-offset: 2px; }
.opt-toggle b { display: block; font-size: 15px; }
.opt-toggle small { display: block; color: var(--muted); font-size: 13px; }
.opt-toggle:has(input:checked) { border-color: var(--gold); background: #fffaf0; }
.opt-toggle.off { opacity: .55; cursor: not-allowed; }
.cta-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 4px 0 14px; }
.cta-row .btn { min-height: 52px; }
@media (max-width: 420px) { .cta-row { grid-template-columns: 1fr; } }

.pdetails { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; padding-top: 32px; }
.pdetails.single { grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }
@media (max-width: 760px) { .pdetails { grid-template-columns: 1fr; } }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: right; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 34%; color: var(--muted); font-weight: 500; padding-left: 12px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.incl li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.incl .ic { color: var(--ok); flex: none; }

.order-wrap { max-width: 780px; margin: 0 auto; padding-top: 16px; }
.order-card { padding: 26px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.order-card h2 { display: flex; align-items: center; }
.order-sum { display: flex; align-items: center; gap: 14px; background: var(--sunk); border-radius: 12px; padding: 12px 14px; }
.order-sum .sw { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgb(0 0 0 / .12); flex: none; }
.order-sum > div:nth-child(2) { display: flex; flex-direction: column; flex: 1; font-size: 15px; }
.order-sum .muted { font-size: 13px; }
.sum-price { font-size: 22px; font-weight: 700; white-space: nowrap; }
.sum-price small { font-size: 13px; color: var(--muted); font-weight: 500; }

.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: flex; position: fixed; inset: auto 0 0 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(0 0 0 / .08); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; transition: transform .2s; }
  .mbar.away { transform: translateY(110%); }
  .mbar .mprice { font-size: 22px; font-weight: 700; }
  .mbar small { font-size: 12px; }
  .mbar .btn { min-height: 46px; padding: 0 26px; }
  .has-mbar .fab-wa { bottom: 84px; }
  .has-mbar .foot { padding-bottom: 72px; }
}
.preview svg { width: 100%; max-height: 60vh; }
.preview .badge { top: 14px; right: 14px; }
.layout-note { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.gallery { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.gallery img[aria-current="true"], .gallery .thumb-draw[aria-current="true"] { border-color: var(--gold); }
/* the unit's own pictures to pick from: the 3D, its room photo, the photo with its doors open */
.gallery .thumb-img { position: relative; width: 76px; height: 76px; flex: none; padding: 0; border-radius: 10px; border: 2px solid var(--line); overflow: hidden; cursor: pointer; background: var(--sunk); }
.gallery .thumb-img img { width: 100%; height: 100%; border: 0; border-radius: 0; }
.gallery .thumb-img span { position: absolute; inset-inline: 0; bottom: 0; padding: 2px 4px; font: 600 10.5px/1.5 var(--font); color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .65)); text-align: center; }
.gallery .thumb-img[aria-current="true"] { border-color: var(--gold); }
.gallery .thumb-draw svg { width: 22px; height: 22px; }
/* a room photo fills the whole frame (square), the layout line over its foot */
.preview.is-real { padding: 0; overflow: hidden; display: block; }
.preview.is-real #art img.real { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 0; }
.preview.is-real .badge { z-index: 2; }
.preview.is-real .layout-note { position: absolute; bottom: 10px; inset-inline: 0; margin: 0 auto; width: fit-content; max-width: calc(100% - 24px); padding: 4px 12px; border-radius: 999px; background: rgb(255 255 255 / .86); z-index: 2; pointer-events: none; }
.gallery .thumb-draw { width: 76px; height: 76px; flex: none; border-radius: 10px; border: 2px solid var(--line); background: var(--sunk); font: 600 12px var(--font); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.preview img { width: 100%; height: auto; border-radius: 12px; }
@media (max-width: 760px) { .preview { position: relative; top: 0; min-height: 0; } }

.info h1 { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 6px; }
.info .chips { margin: 10px 0 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.panel h3 { margin-bottom: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
/* the color alone: a square, no name (it shows in the step's title and on hover), no frame */
.swatch { display: block; padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; line-height: 0; transition: transform .15s; }
.swatch:hover { transform: translateY(-1px); }
.swatch i { display: block; width: 40px; height: 40px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.swatch[aria-pressed="true"] { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.swatch:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 2px; }
/* the finishes by family */
#swatches { display: grid; gap: 14px; }
.fam-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.fam-head b { font-size: 14px; }
.fam-head span { font-size: 12px; color: var(--muted); }
.fam-list { display: flex; flex-wrap: wrap; gap: 8px; }
/* the swatch chip tells its family: a gloss shine, a soft velvet for super matte */
.swatch i { position: relative; overflow: hidden; flex: none; }
.swatch i.chip-gloss::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgb(255 255 255 / .6) 0%, rgb(255 255 255 / 0) 48%); }
.swatch i.chip-supermatte { filter: saturate(.9); }

.dim { display: grid; grid-template-columns: 80px 1fr 104px; align-items: center; column-gap: 12px; row-gap: 0; padding: 2px 0; }
.dim label { font-weight: 600; }
.dim input[type=range] { width: 100%; accent-color: var(--gold); }
.num { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; direction: ltr; }
.num input { width: 100%; border: 0; padding: 10px 8px; font: 600 16px var(--font); text-align: center; background: transparent; color: var(--ink); -moz-appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num span { padding: 0 10px; color: var(--muted); font-size: 13px; }
.num.bad { border-color: var(--bad); }
.dim .range-note { grid-column: 2 / 4; font-size: 12px; color: var(--muted); margin-top: -4px; line-height: 1.4; }
.dim + .dim { margin-top: 4px; }
.dim .num input { padding-block: 7px; }
.dim .range-note.bad { color: var(--bad); }
@media (max-width: 420px) { .dim { grid-template-columns: 66px 1fr 92px; column-gap: 8px; } }

.buybox { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.buybox .label { font-size: 14px; color: var(--muted); }
.buybox .price { font-size: 34px; font-weight: 700; line-height: 1.2; }
.buybox .price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.buybox .deposit { font-size: 14px; margin: 6px 0 14px; padding: 8px 12px; background: var(--accent-soft); border-radius: 10px; }
.buybox ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 14px; display: grid; gap: 8px; }
.buybox li { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); }
.buybox li .ic { color: var(--blue-deep); margin-top: 2px; }
@media (max-width: 1080px) { .buybox { position: static; } }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; position: relative; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: 400 16px var(--font); color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .num input:focus { outline: 2px solid var(--accent-soft); border-color: var(--gold); }
.field.bad input, .field.bad select, .field.bad textarea { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: 13px; display: none; }
.field.bad .err { display: block; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: var(--surface); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--accent-soft); }
.choice input { accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
/* a choice with a title and a line under it (the order or a visit first) */
.choice-2l { align-items: flex-start; }
.choice-2l input { margin-top: 3px; }
.choice-2l span { display: flex; flex-direction: column; gap: 2px; }
.choice-2l small { color: var(--muted); font-size: 13px; line-height: 1.55; }
.choice-2l b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.choice-2l .days { font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--sunk); color: var(--ink); padding: 1px 8px; border-radius: 999px; }
/* the visit link under the price */
.visit-cta { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed rgb(255 255 255 / .18); font-size: 13.5px; text-decoration: none; color: inherit; opacity: .92; }
.visit-cta b { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.visit-cta .ic { color: var(--gold); flex: none; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-error { color: var(--bad); font-weight: 500; display: none; margin: 0; }
.form-error.on { display: block; }

/* ---------- policy pages (warranty & installation) ---------- */
.policy { max-width: 880px; }
.policy-head { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; margin: 8px 0 14px; border-top: 4px solid var(--gold); }
.policy-head h1 { font-size: clamp(24px, 4vw, 32px); }
.policy-head p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.policy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.policy-chips .chip { padding: 8px 12px; font-size: 14px; }
.policy-toc { display: flex; gap: 8px; margin-bottom: 8px; position: sticky; top: 68px; z-index: 5; background: var(--bg); padding: 8px 0; }
.policy-toc a { flex: 1; text-align: center; text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.policy-toc a:hover { border-color: var(--gold); }
.policy section { padding: 12px 0; scroll-margin-top: 130px; }
/* the home page's categories, reached from the header's (under the sticky header) */
#cat-sections > section { scroll-margin-top: 150px; }
.sec-link { color: inherit; text-decoration: none; }
.sec-link:hover { text-decoration: underline; }
/* a category's own page: its title, its units to design by size, its ready sizes */
.cat-head { margin: 6px 0 18px; }
.cat-head h1 { font-size: 32px; margin: 0 0 6px; }
.cat-head p { margin: 0; font-size: 16px; }
.cat-sub { font-size: 20px; margin: 0 0 12px; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.cat-tile:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.cat-tile .badge { position: static; }
.cat-tile > b { font-size: 18px; }
.cat-tile .muted { font-size: 14px; }
.cat-tile .from { font-size: 14px; color: var(--muted); }
.cat-tile .from b { color: var(--ink); font-size: 17px; }
.cat-tile .go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--blue-deep); }
.cat-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-filter button { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 14px; font: 500 14px var(--font); cursor: pointer; color: var(--ink); }
.cat-filter button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.policy .part { font-size: 20px; padding: 10px 0; border-bottom: 2px solid var(--line); margin-bottom: 14px; }
.policy-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px; }
.policy-card.highlight { background: var(--accent-soft); border-color: #f1d995; }
.policy-card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue-deep); background: #e6f1fb; padding: 2px 10px; border-radius: 6px; margin-bottom: 8px; }
.policy-card h3 { font-size: 18px; margin-bottom: 10px; }
.policy-card p, .policy-card li { line-height: 1.9; }
.policy-card ul, .policy-card ol { padding-inline-start: 20px; margin: 0 0 12px; }
.policy-card li { margin-bottom: 6px; }
.timeline { list-style: none; padding: 0 !important; counter-reset: t; }
.timeline li { counter-increment: t; position: relative; padding-inline-start: 44px; margin-bottom: 14px; display: flex; flex-direction: column; }
.timeline li::before { content: counter(t); position: absolute; inset-inline-start: 0; top: 2px; width: 30px; height: 30px; border-radius: 8px; background: var(--brand); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.timeline span { color: var(--muted); }
.policy-foot { text-align: center; color: var(--muted); padding: 12px 0; }
@media (max-width: 760px) { .policy-head { padding: 20px; } .policy-card { padding: 18px; } .policy-toc { position: static; } .policy section { scroll-margin-top: 12px; } }
/* on a phone the header (with the sections) scrolls away: the screen is the content's; the order bar stays */
@media (max-width: 760px) { .top { position: relative; } }

/* ---------- thanks, 404 ---------- */
.thanks { max-width: 640px; margin: 0 auto; padding: 40px 16px; }
.check { width: 64px; height: 64px; border-radius: 50%; background: #e3f2e9; color: var(--ok); display: grid; place-items: center; font-size: 32px; margin-bottom: 16px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin: 20px 0; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: left; }
.next { padding: 0 20px 0 0; }
.next li { margin-bottom: 8px; }
