/* Macro Home — Draft 2 "Modular Grid"
   Layout language from the logo: square modules, thin outlines, concentric "knob" circles. */
:root {
  --bg: #F3EEE6;
  --bg2: #EAE2D6;
  --paper: #FBF8F3;
  --ink: #1C1A17;
  --ink2: #3E3A34;
  --mute: #6F685E;
  --red: #D11919;
  --red2: #A91212;
  --green: #2E6B45;
  --line: 1px solid var(--ink);
  --soft: 1px solid rgba(28, 26, 23, .18);
  --gut: 16px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --mono: "JetBrains Mono", "Rubik", ui-monospace, monospace;
}
@media (min-width: 900px) { :root { --gut: 32px; --hdr: 76px; } }
@media (max-width: 899px) { :root { --hdr: 56px; } .hcell { min-width: 48px; padding-inline: 4px; } .hcell .count { top: 8px; inset-inline-end: 4px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Rubik", system-ui, sans-serif; font-size: 16px; line-height: 1.5;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.on-red :focus-visible, .red :focus-visible { outline-color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gut); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.knob { fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; width: 1em; height: 1em; }
.knob circle { vector-effect: non-scaling-stroke; }
.mark rect, .mark circle { vector-effect: non-scaling-stroke; }

/* ---------- type ---------- */
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; font-weight: 500; }
html[lang="en"] .mono { text-transform: uppercase; }
html[lang="ar"] .mono { font-size: 13px; letter-spacing: 0; }
.h1, .h2, .h3 { font-weight: 800; letter-spacing: -.01em; }
.h1 { font-size: clamp(38px, 6.2vw, 86px); line-height: .98; }
.h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.02; }
.h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
html[lang="en"] .h1, html[lang="en"] .h2, html[lang="en"] .up { text-transform: uppercase; letter-spacing: -.02em; }
html[lang="ar"] .h1 { line-height: 1.2; font-weight: 900; }
html[lang="ar"] .h2 { line-height: 1.25; font-weight: 900; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink2); max-width: 52ch; }
.red { background: var(--red); color: #fff; }
.ink { background: var(--ink); color: var(--bg); }
.paper { background: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1.5px solid var(--ink); background: transparent;
  font-weight: 700; font-size: 15px; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s, transform .2s;
  white-space: nowrap; text-align: center;
}
html[lang="en"] .btn { text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn .ico { width: 20px; height: 20px; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); border-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--red); }
.btn-white:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-line-w { border-color: #fff; color: #fff; }
.btn-line-w:hover { background: #fff; color: var(--red); }
.btn-wa { background: #fff; }
.btn-wa:hover { background: #1f8f4e; border-color: #1f8f4e; color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: color .2s, gap .2s; }
.link:hover { color: var(--red); gap: 12px; }
.link .ico { width: 18px; height: 18px; }

/* ---------- modular grid ---------- */
.mgrid { display: grid; border-top: var(--line); border-inline-start: var(--line); }
.mgrid > * { border-inline-end: var(--line); border-bottom: var(--line); min-width: 0; }
.sq { aspect-ratio: 1 / 1; }

/* ---------- top strip / header ---------- */
.strip { background: var(--ink); color: var(--bg); }
.strip-in { display: flex; align-items: center; gap: 28px; height: 36px; overflow: hidden; }
.strip-in span, .strip-in a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.strip-in .knob { width: 14px; height: 14px; color: var(--red); }
.strip-in .end { margin-inline-start: auto; }
.strip-in a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 899px) { .strip-in > :not(:first-child) { display: none; } .strip-in { justify-content: center; } }

.hdr { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: var(--line); }
.hdr-main { display: flex; align-items: stretch; height: var(--hdr); border-inline: var(--line); padding-inline: 0; max-width: calc(1440px - 2 * var(--gut)); }
@media (max-width: 1503px) { .hdr-main, .nav { margin-inline: var(--gut); } }
@media (max-width: 899px) { .hdr-main { margin-inline: 0; border-inline: 0; } }
.hcell { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: var(--hdr); padding-inline: 12px; border-inline-start: var(--line); position: relative; transition: background .2s, color .2s; font-weight: 700; font-size: 14px; }
.hcell:hover { background: var(--ink); color: var(--bg); }
.hcell .count { position: absolute; top: 12px; inset-inline-end: 10px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.hcell .count:empty { display: none; }
.hcell.burger { border-inline-start: 0; border-inline-end: var(--line); }
@media (min-width: 900px) { .hcell.burger { display: none; } }
.brand { display: flex; align-items: stretch; flex: none; }
.brand-sq { width: var(--hdr); background: var(--red); color: #fff; display: grid; place-items: center; transition: background .2s; }
.brand-sq .mark { width: 62%; height: 62%; }
.brand:hover .brand-sq { background: var(--ink); }
.brand-wm { display: flex; flex-direction: column; justify-content: center; padding-inline: 14px; font-weight: 800; font-size: 19px; line-height: .92; letter-spacing: .01em; border-inline-end: var(--line); }
@media (max-width: 420px) { .brand-wm { font-size: 16px; padding-inline: 10px; } }
.hsearch { flex: 1; display: flex; align-items: center; gap: 12px; padding-inline: 20px; color: var(--mute); text-align: start; min-width: 0; transition: background .2s; }
.hsearch:hover { background: var(--paper); }
.hsearch .ico { color: var(--ink); }
.hsearch span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hsearch kbd { margin-inline-start: auto; font-family: var(--mono); font-size: 11px; border: var(--line); padding: 2px 7px; color: var(--ink); }
@media (max-width: 899px) {
  .hsearch { display: none; }
  .brand { margin-inline-end: auto; }
  .hcell.lang-c, .hcell.wish-c { min-width: 46px; padding-inline: 4px; }
}
.hcell.s-mob { display: none; }
@media (max-width: 899px) { .hcell.s-mob { display: inline-flex; min-width: 46px; } }
@media (max-width: 380px) { .hcell.wish-c { display: none; } }
.mob-search { display: none; }
@media (max-width: 899px) {
  .mob-search { display: flex; align-items: center; gap: 10px; height: 48px; padding-inline: var(--gut); border-top: var(--line); width: 100%; color: var(--mute); background: var(--paper); text-align: start; }
  .mob-search .ico { color: var(--ink); width: 20px; }
}

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: stretch; height: 48px; border-top: var(--line); border-inline: var(--line); max-width: calc(1440px - 2 * var(--gut)); margin-inline: auto; padding: 0; }
  .nav-i { display: inline-flex; align-items: center; gap: 8px; padding-inline: 16px; font-weight: 600; font-size: 15px; border-inline-end: var(--line); white-space: nowrap; transition: background .2s, color .2s; position: relative; }
  .nav-i .knob { width: 12px; height: 12px; opacity: 0; transform: scale(.4); transition: .25s var(--ease); color: var(--red); }
  .nav-i:hover .knob, .nav-i[aria-expanded="true"] .knob { opacity: 1; transform: none; }
  .nav-i[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
  .nav-i.red-i { background: var(--red); color: #fff; margin-inline-start: auto; border-inline-start: var(--line); border-inline-end: 0; }
  .nav-i.red-i .knob { opacity: 1; transform: none; color: #fff; }
  .nav-i.red-i:hover { background: var(--ink); }
}
@media (min-width: 900px) and (max-width: 1180px) { .nav-i { padding-inline: 10px; font-size: 14px; } .nav-i .knob { display: none; } }

/* mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--bg); border-top: var(--line); border-bottom: var(--line); box-shadow: 0 30px 60px -30px rgba(28,26,23,.35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .22s var(--ease); }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 300px 1fr; max-width: calc(1440px - 2 * var(--gut)); margin-inline: auto; border-inline: var(--line); }
@media (max-width: 1503px) { .mega-in { margin-inline: var(--gut); } }
.mega-side { padding: 28px; border-inline-end: var(--line); display: flex; flex-direction: column; gap: 18px; }
.mega-side ul { display: grid; gap: 2px; }
.mega-side li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 500; transition: color .2s, padding .2s; }
.mega-side li a:hover { color: var(--red); padding-inline-start: 6px; }
.mega-side li .knob { width: 14px; height: 14px; color: var(--red); }
.mega-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.mtile { position: relative; aspect-ratio: 1; border-inline-end: var(--line); overflow: hidden; display: flex; flex-direction: column; }
.mtile img { flex: 1; width: 100%; min-height: 0; object-fit: cover; transition: transform .5s var(--ease); }
.mtile:hover img { transform: scale(1.05); }
.mtile span { padding: 10px 12px; border-top: var(--line); font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; background: var(--bg); }
.mtile.red-t { background: var(--red); color: #fff; justify-content: space-between; padding: 16px; }
.mtile.red-t .mark { width: 54%; height: auto; align-self: flex-end; opacity: .95; transition: transform .4s var(--ease); }
.mtile.red-t:hover .mark { transform: rotate(90deg); }
.mtile.red-t b { font-size: 18px; line-height: 1.15; }

/* search panel */
.spanel { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.spanel.open { visibility: visible; }
.spanel-bg { position: absolute; inset: 0; background: rgba(28,26,23,.45); opacity: 0; transition: opacity .25s; }
.spanel.open .spanel-bg { opacity: 1; }
.spanel-box { position: relative; background: var(--bg); border-bottom: var(--line); transform: translateY(-100%); transition: transform .32s var(--ease); max-height: 92vh; overflow: auto; }
.spanel.open .spanel-box { transform: none; }
.s-top { display: flex; align-items: stretch; height: 84px; border-bottom: var(--line); }
.s-top .brand-sq { width: 84px; }
.s-top input { flex: 1; min-width: 0; border: 0; background: transparent; padding-inline: 24px; font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; outline: none; }
.s-top input::placeholder { color: #A39B8F; font-weight: 500; }
.s-top button { width: 84px; border-inline-start: var(--line); display: grid; place-items: center; transition: background .2s; }
.s-top button:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 899px) { .s-top { height: 64px; } .s-top .brand-sq { display: none; } .s-top button { width: 64px; } .s-top input { padding-inline: 16px; } }
.s-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .s-body { grid-template-columns: 1.4fr 1fr; } .s-body > :first-child { border-inline-end: var(--line); } }
.s-col { padding: 24px var(--gut) 32px; }
.s-col h4 { margin-bottom: 14px; color: var(--mute); }
.s-res { display: grid; gap: 0; border-top: var(--soft); }
.s-res a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: var(--soft); transition: background .2s, padding .2s; }
.s-res a:hover, .s-res a.act { background: var(--paper); padding-inline: 8px; }
.s-res img { width: 64px; height: 64px; object-fit: cover; border: var(--line); }
.s-res b { display: block; font-weight: 600; }
.s-res small { color: var(--mute); }
.s-res mark { background: none; color: var(--red); font-weight: 800; }
.s-res .pr { font-weight: 800; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border: var(--line); font-weight: 600; font-size: 14px; background: transparent; transition: background .2s, color .2s; white-space: nowrap; }
.chip:hover, .chip.on { background: var(--ink); color: var(--bg); }
.chip.on-red { background: var(--red); border-color: var(--red); color: #fff; }
.chip .knob { width: 14px; height: 14px; color: var(--red); }
.chip:hover .knob, .chip.on .knob { color: #fff; }
.s-cats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.s-cats a { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; }
.s-cats img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.s-cats span { padding: 8px 10px; border-top: var(--line); }
.s-empty { padding: 24px 0; color: var(--mute); }

/* drawer / sheet */
.ov { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.ov.open { visibility: visible; }
.ov-bg { position: absolute; inset: 0; background: rgba(28,26,23,.5); opacity: 0; transition: opacity .25s; }
.ov.open .ov-bg { opacity: 1; }
.drawer { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: var(--bg); border-inline-start: var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .32s var(--ease); }
[dir="rtl"] .drawer { transform: translateX(-100%); }
.drawer.start { inset-inline-end: auto; inset-inline-start: 0; border-inline-start: 0; border-inline-end: var(--line); transform: translateX(-100%); }
[dir="rtl"] .drawer.start { transform: translateX(100%); }
.ov.open .drawer { transform: none; }
.d-head { display: flex; align-items: stretch; height: 64px; border-bottom: var(--line); flex: none; }
.d-head h3 { flex: 1; display: flex; align-items: center; gap: 10px; padding-inline: 20px; font-size: 18px; font-weight: 800; }
.d-head h3 .knob { width: 18px; height: 18px; color: var(--red); }
.d-head button { width: 64px; border-inline-start: var(--line); display: grid; place-items: center; transition: background .2s; }
.d-head button:hover { background: var(--ink); color: var(--bg); }
.d-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--line); flex: none; }
.d-tabs button { height: 46px; font-weight: 700; border-inline-end: var(--line); }
.d-tabs button:last-child { border-inline-end: 0; }
.d-tabs button.on { background: var(--ink); color: var(--bg); }
.d-body { flex: 1; overflow: auto; }
.d-foot { border-top: var(--line); padding: 18px 20px; display: grid; gap: 12px; flex: none; background: var(--paper); }
.d-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.d-row b { font-size: 20px; font-weight: 800; }
.line-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 16px 20px; border-bottom: var(--soft); }
.line-item img { width: 88px; height: 88px; object-fit: cover; border: var(--line); }
.line-item h4 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.line-item .sub { color: var(--mute); font-size: 13px; margin-top: 2px; }
.line-item .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; border: var(--line); height: 36px; }
.qty button { width: 36px; display: grid; place-items: center; font-size: 18px; font-weight: 600; transition: background .2s; }
.qty button:hover { background: var(--ink); color: var(--bg); }
.qty span { min-width: 36px; display: grid; place-items: center; border-inline: var(--line); font-weight: 700; }
.rm { color: var(--mute); font-size: 13px; text-decoration: underline; }
.rm:hover { color: var(--red); }
.d-empty { padding: 48px 24px; text-align: center; display: grid; justify-items: center; gap: 16px; color: var(--mute); }
.d-empty .knob { width: 80px; height: 80px; color: var(--ink); }
.mnav { display: grid; grid-template-columns: 1fr 1fr; }
.mnav a { display: flex; flex-direction: column; border-bottom: var(--line); font-weight: 700; font-size: 14px; }
.mnav a:nth-child(odd) { border-inline-end: var(--line); }
.mnav img { aspect-ratio: 1.3; object-fit: cover; width: 100%; }
.mnav span { padding: 10px 12px; border-top: var(--line); display: flex; justify-content: space-between; }
.mnav a.red-t { background: var(--red); color: #fff; }
.mnav a.red-t span { border-color: #fff; }
.mlinks a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: var(--soft); font-weight: 600; }
.mlinks .knob { width: 14px; height: 14px; color: var(--red); }

/* toast + chip */
.toast { position: fixed; z-index: 95; inset-inline: 16px; bottom: 16px; margin-inline: auto; max-width: 420px; background: var(--ink); color: var(--bg); display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 10px; transform: translateY(calc(100% + 40px)); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; border: 1px solid var(--ink); }
.toast.show { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.toast img { width: 64px; height: 64px; object-fit: cover; }
.toast b { display: block; font-size: 14px; }
.toast small { color: #CFC7BA; font-size: 13px; }
.toast a { background: var(--red); color: #fff; padding: 10px 14px; font-weight: 700; font-size: 13px; }
.draft-chip { position: fixed; z-index: 70; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding-inline: 6px 14px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); pointer-events: none; }
.draft-chip i { width: 22px; height: 22px; background: var(--red); display: grid; place-items: center; }
.draft-chip .knob { width: 14px; height: 14px; color: #fff; }
body[data-page="product"] .draft-chip { bottom: 86px; }
@media (min-width: 900px) { body[data-page="product"] .draft-chip { bottom: 14px; } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(48px, 7vw, 104px); }
.sec-tight { padding-block: clamp(32px, 4vw, 56px); }
.shead { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px 24px; margin-bottom: 28px; }
.shead .idx { display: flex; align-items: center; gap: 10px; color: var(--mute); margin-bottom: 12px; grid-column: 1 / -1; }
.shead .idx::after { content: ""; flex: 1; height: 1px; background: var(--ink); opacity: .25; }
.shead .idx .knob { width: 16px; height: 16px; color: var(--red); }
.shead p { color: var(--ink2); margin-top: 10px; max-width: 60ch; }
@media (max-width: 640px) { .shead { grid-template-columns: 1fr; } }

/* hero bento */
.hero { padding-top: var(--gut); }
.bento { grid-template-columns: 1fr 1fr; }
.bento .b-big { grid-column: 1 / -1; aspect-ratio: 1 / 1; position: relative; overflow: hidden; order: 2; }
.bento .b-red { grid-column: 1 / -1; order: 1; }
.bento .b-sm { aspect-ratio: 1 / 1; order: 3; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento .b-big { grid-column: 1 / 3; grid-row: 1 / 3; order: 0; aspect-ratio: auto; }
  .bento .b-big > img { position: absolute; inset: 0; }
  .bento .b-red { grid-column: 3 / 5; grid-row: 1; order: 0; }
  .bento .b-sm { order: 0; }
}
.b-big img { width: 100%; height: 100%; object-fit: cover; }
.b-big .cap { position: absolute; inset-inline-start: 0; bottom: 0; background: var(--bg); border-top: var(--line); border-inline-end: var(--line); padding: 14px 18px; max-width: 80%; }
.b-big .cap b { display: block; font-weight: 800; font-size: 17px; }
.b-red { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; min-height: 340px; }
.b-red .deco { position: absolute; inset-inline-end: -60px; top: -60px; width: 300px; height: 300px; color: rgba(255,255,255,.35); pointer-events: none; }
.b-red .h1 { position: relative; max-width: 11ch; font-size: clamp(38px, 4.8vw, 72px); }
html[lang="ar"] .b-red .h1 { max-width: 12ch; }
.b-red p { color: rgba(255,255,255,.88); max-width: 40ch; margin-top: 16px; font-size: 17px; position: relative; }
.b-red .acts { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.b-red .spec { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255,255,255,.85); position: relative; }
.b-red .spec span { display: inline-flex; align-items: center; gap: 6px; }
.b-red .spec .knob { width: 14px; height: 14px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--paper); }
.tile .ti { flex: 1; min-height: 0; overflow: hidden; }
.tile .ti img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .ti img { transform: scale(1.05); }
.tile .tb { border-top: var(--line); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg); }
.tile .tb b { font-weight: 700; font-size: 15px; line-height: 1.2; display: block; }
.tile .tb small { color: var(--mute); }
.tile .tb .go { width: 36px; height: 36px; border: var(--line); display: grid; place-items: center; flex: none; transition: background .2s, color .2s; }
.tile:hover .tb .go { background: var(--red); border-color: var(--red); color: #fff; }
.tile .tag { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--red); color: #fff; padding: 4px 8px; }
@media (max-width: 520px) { .tile .tb { padding: 10px; } .tile .tb b { font-size: 13px; } .tile .tb .go { display: none; } }

/* spec strip */
.specs { grid-template-columns: 1fr 1fr; margin-top: -1px; }
@media (min-width: 900px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs > div { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--paper); }
.specs .knob { width: 38px; height: 38px; color: var(--red); }
.specs b { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; }
.specs small { color: var(--mute); font-size: 13px; }
@media (max-width: 520px) { .specs > div { padding: 14px 12px; gap: 10px; flex-direction: column; align-items: flex-start; } .specs .knob { width: 28px; height: 28px; } }

/* rooms mosaic */
.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
.mosaic > a { aspect-ratio: 1 / 1; }
.mosaic .big { grid-column: span 2; grid-row: span 2; }
.mosaic .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.mosaic .big .tb b { font-size: 22px; }
.mosaic .wide.red { padding: clamp(18px, 2.5vw, 32px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; transition: background .25s; }
.mosaic .wide.red:hover { background: var(--red2); }
.mosaic .wide.red .mark { position: absolute; inset-inline-end: 24px; bottom: 24px; width: 34%; max-width: 180px; height: auto; color: #fff; transition: transform .5s var(--ease); }
.mosaic .wide.red:hover .mark { transform: rotate(90deg); }
.mosaic .wide.red .h3 { max-width: 16ch; }
@media (max-width: 899px) { .mosaic .wide.red { aspect-ratio: auto; min-height: 220px; gap: 14px; } .mosaic .wide.red .mark { width: 56px; top: 18px; bottom: auto; inset-inline-end: 18px; } .mosaic .wide.red .h3 { max-width: 20ch; } }

/* type rail */
.types { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; border-inline-start: var(--line); border-top: var(--line); scrollbar-width: thin; }
.types a { scroll-snap-align: start; border-inline-end: var(--line); border-bottom: var(--line); display: flex; flex-direction: column; background: var(--paper); transition: background .2s; }
.types a:hover { background: #fff; }
.types img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.types span { padding: 10px 12px; border-top: var(--line); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.types span .knob { width: 12px; height: 12px; color: var(--red); }
.types small { display: block; color: var(--mute); font-weight: 400; font-size: 12px; padding: 0 12px 10px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* product grid + card */
.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .pgrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); transition: background .2s; }
.card:hover { background: #fff; }
.card-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; background: var(--bg2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .25s; }
.card:hover .card-media img { transform: scale(1.04); }
.badges { position: absolute; top: 0; inset-inline-start: 0; display: flex; }
.badge { display: inline-flex; align-items: center; height: 26px; padding-inline: 9px; font-size: 11px; font-weight: 700; background: var(--ink); color: #fff; font-family: var(--mono); letter-spacing: .04em; }
html[lang="en"] .badge { text-transform: uppercase; }
html[lang="ar"] .badge { font-family: Rubik; font-size: 12px; }
.badge.r { background: var(--red); }
.badge.o { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.badge.g { background: var(--green); }
.card-wish { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--bg); border: var(--line); transition: background .2s, color .2s; z-index: 2; }
.card-wish:hover { background: var(--ink); color: var(--bg); }
.card-wish[aria-pressed="true"] { color: var(--red); }
.card-wish[aria-pressed="true"] .ico { fill: currentColor; }
.card-wish .ico { width: 20px; height: 20px; }
.card-body { border-top: var(--line); padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-meta { color: var(--mute); display: flex; align-items: center; gap: 6px; font-size: 11px; }
html[lang="ar"] .card-meta { font-size: 12px; }
.card-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.card-meta .dot.mto { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.25; }
.card-title a:hover { color: var(--red); }
.card-dims { color: var(--mute); font-size: 11px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink2); }
.sqs { display: inline-flex; gap: 2px; }
.sqs i { width: 9px; height: 9px; border: 1px solid var(--ink); }
.sqs i.f { background: var(--red); border-color: var(--red); }
.sqs i.h { background: linear-gradient(90deg, var(--red) 50%, transparent 50%); border-color: var(--red); }
[dir="rtl"] .sqs i.h { background: linear-gradient(270deg, var(--red) 50%, transparent 50%); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.price b.sale { color: var(--red); }
.price s { color: var(--mute); font-size: 14px; }
.price .per { font-size: 13px; color: var(--ink2); font-weight: 500; }
.monthly { color: var(--ink2); font-size: 12px; }
.monthly b { font-weight: 700; color: var(--ink); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sw { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 4px rgba(28,26,23,.35); transition: box-shadow .2s, transform .2s; margin: 4px; position: relative; }
.swatch::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: inset 0 0 0 1px rgba(0,0,0,.15), 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
.card-add { width: 44px; height: 44px; border: var(--line); display: grid; place-items: center; background: var(--bg); transition: background .2s, color .2s, border-color .2s; flex: none; }
.card-add:hover { background: var(--red); border-color: var(--red); color: #fff; }
.card-add.vis { width: auto; padding-inline: 10px; font-size: 12px; font-weight: 700; }
@media (max-width: 520px) {
  .card-body { padding: 10px 10px 12px; gap: 4px; }
  .card-title { font-size: 14px; }
  .price b { font-size: 17px; }
  .card-dims { display: none; }
  .swatch { width: 16px; height: 16px; margin: 3px; }
  .swatch::after { inset: 4px; }
  .card-add { width: 38px; height: 38px; }
  .card-add.vis { font-size: 11px; padding-inline: 6px; }
  .card-wish { width: 34px; height: 34px; }
  .badge { height: 22px; font-size: 10px; padding-inline: 6px; }
}

/* shoppable room */
.room { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .room { grid-template-columns: 1.6fr 1fr; } }
.room-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg2); }
.room-img > img { width: 100%; height: 100%; object-fit: cover; }
.hot { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; z-index: 2; }
.hot .knob { width: 44px; height: 44px; color: #fff; stroke-width: 2; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); transition: transform .3s var(--ease); }
.hot .knob circle:nth-child(3) { fill: var(--red); stroke: #fff; }
.hot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: pulse 2.2s infinite; }
.hot:hover .knob, .hot.on .knob { transform: rotate(90deg) scale(1.12); }
.hot.on .knob circle:nth-child(3) { fill: var(--ink); }
@keyframes pulse { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.pop { position: absolute; z-index: 3; width: 250px; background: var(--bg); border: var(--line); display: grid; grid-template-columns: 76px 1fr; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.pop img { width: 76px; height: 100%; object-fit: cover; border-inline-end: var(--line); }
.pop div { padding: 10px 12px; display: grid; gap: 2px; }
.pop b { font-size: 14px; line-height: 1.25; }
.pop .pr { font-weight: 800; }
.pop a.link { font-size: 12px; margin-top: 4px; justify-self: start; }
.room-side { display: flex; flex-direction: column; background: var(--paper); }
.room-side .rs-h { padding: 20px; border-bottom: var(--line); }
.room-list { flex: 1; }
.room-list a { display: grid; grid-template-columns: 30px 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 20px; border-bottom: var(--soft); transition: background .2s; }
.room-list a:hover, .room-list a.on { background: #fff; }
.room-list .n { font-family: var(--mono); font-size: 12px; width: 26px; height: 26px; border: var(--line); display: grid; place-items: center; }
.room-list a.on .n { background: var(--red); border-color: var(--red); color: #fff; }
.room-list img { width: 72px; height: 72px; object-fit: cover; border: var(--line); }
.room-list b { display: block; font-weight: 700; font-size: 14px; line-height: 1.25; }
.room-list small { color: var(--mute); font-size: 12px; }
.room-list .pr { font-weight: 800; white-space: nowrap; font-size: 15px; }
.room-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--line); }
.room-thumbs button { aspect-ratio: 1; border-inline-end: var(--line); overflow: hidden; position: relative; opacity: .55; transition: opacity .2s; }
.room-thumbs button:last-child { border-inline-end: 0; }
.room-thumbs button.on, .room-thumbs button:hover { opacity: 1; }
.room-thumbs button.on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--red); }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-total { padding: 16px 20px; border-top: var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* workshop */
.ws { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .ws { grid-template-columns: 1fr 1fr; } }
.ws-img { position: relative; min-height: 360px; overflow: hidden; }
.ws-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-img .stamp { position: absolute; bottom: 0; inset-inline-start: 0; width: 150px; height: 150px; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; border-top: var(--line); border-inline-end: var(--line); padding: 12px; }
.ws-img .stamp b { font-size: 40px; font-weight: 800; line-height: 1; display: block; }
.steps { grid-template-columns: 1fr 1fr; border: 0 !important; }
.steps > div { padding: clamp(16px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 10px; aspect-ratio: 1; background: var(--paper); position: relative; }
.steps > div:nth-child(2n) { border-inline-end: 0; }
.steps > div:nth-child(n+3) { border-bottom: 0; }
.steps .num { width: 56px; height: 56px; border: var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 20px; font-weight: 700; }
.steps > div:first-child .num { background: var(--red); color: #fff; border-color: var(--red); }
.steps h3 { font-size: 18px; font-weight: 800; margin-top: auto; }
.steps p { color: var(--ink2); font-size: 14px; }
.steps .knob { position: absolute; top: clamp(16px, 2.2vw, 28px); inset-inline-end: clamp(16px, 2.2vw, 28px); width: 40px; height: 40px; color: var(--ink); opacity: .25; }
@media (max-width: 520px) { .steps > div { aspect-ratio: auto; min-height: 210px; } .steps p { font-size: 13px; } .steps .num { width: 44px; height: 44px; font-size: 16px; } }
.ws-intro { padding: clamp(24px, 3vw, 40px); border-bottom: var(--line); display: grid; gap: 14px; }

/* custom red panel */
.cpanel { background: var(--red); color: #fff; border: var(--line); display: grid; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .cpanel { grid-template-columns: 1fr 1fr; } }
.cp-text { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; position: relative; overflow: hidden; }
.cp-text .lead { color: rgba(255,255,255,.9); }
.cp-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.7); border-inline-start: 1px solid rgba(255,255,255,.7); }
.cp-specs div { border-inline-end: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.7); padding: 14px; }
.cp-specs b { display: block; font-size: clamp(18px, 2vw, 26px); font-weight: 800; line-height: 1.1; }
.cp-specs small { opacity: .85; }
@media (max-width: 520px) { .cp-specs { grid-template-columns: 1fr; } }
.cp-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; border-inline-start: 1px solid #fff; }
@media (max-width: 999px) { .cp-imgs { border-inline-start: 0; border-top: 1px solid #fff; } }
.cp-imgs a { aspect-ratio: 1; min-height: 100%; overflow: hidden; border-inline-end: 1px solid #fff; border-bottom: 1px solid #fff; position: relative; }
.cp-imgs a:nth-child(2n) { border-inline-end: 0; }
.cp-imgs a:nth-child(n+3) { border-bottom: 0; }
.cp-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cp-imgs a:hover img { transform: scale(1.05); }
.cp-imgs span { position: absolute; bottom: 0; inset-inline-start: 0; background: var(--red); padding: 6px 10px; border-top: 1px solid #fff; border-inline-end: 1px solid #fff; }
.on-red-check li { display: flex; gap: 10px; align-items: center; }
.on-red-check .knob { width: 16px; height: 16px; }

/* installments strip */
.inst { background: var(--ink); color: var(--bg); }
.inst-g { display: grid; grid-template-columns: 1fr 1fr; border-inline-start: 1px solid rgba(243,238,230,.25); }
@media (min-width: 900px) { .inst-g { grid-template-columns: 1.6fr repeat(4, 1fr); } }
.inst-g > div { padding: 24px 20px; border-inline-end: 1px solid rgba(243,238,230,.25); border-bottom: 1px solid rgba(243,238,230,.25); }
.inst-g .first { grid-column: 1 / -1; }
@media (min-width: 900px) { .inst-g .first { grid-column: auto; } .inst-g > div { border-bottom: 0; } }
.inst-g b.p { font-size: 22px; font-weight: 800; display: block; }
.inst-g small { color: #BDB5A8; }
.inst-g .ms { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.inst-g .ms span { border: 1px solid rgba(243,238,230,.45); padding: 2px 7px; font-family: var(--mono); font-size: 11px; }

/* reviews */
.revs { grid-template-columns: 1fr; }
@media (min-width: 640px) { .revs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .revs { grid-template-columns: repeat(4, 1fr); } }
.rev { aspect-ratio: 1; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); position: relative; }
@media (max-width: 639px) { .rev { aspect-ratio: auto; min-height: 240px; } }
.rev q { font-size: 18px; font-weight: 500; line-height: 1.45; quotes: none; }
.rev .who { margin-top: auto; display: flex; align-items: center; gap: 12px; border-top: var(--soft); padding-top: 14px; }
.rev .av { width: 40px; height: 40px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; }
.rev:nth-child(2) .av { background: var(--red); }
.rev .who b { display: block; font-size: 14px; }
.rev .who small { color: var(--mute); font-size: 12px; }
.rev .ver { position: absolute; top: 24px; inset-inline-end: 24px; color: var(--green); display: inline-flex; gap: 4px; align-items: center; font-size: 11px; }
.rev-sum { padding: 24px; background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1; }
@media (max-width: 639px) { .rev-sum { aspect-ratio: auto; gap: 18px; } }
.rev-sum .big { font-size: 88px; font-weight: 800; line-height: .9; }
.rev-sum .sqs i { border-color: #fff; width: 14px; height: 14px; }
.rev-sum .sqs i.f { background: #fff; }

/* promise + newsletter */
.promise { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .promise { grid-template-columns: repeat(4, 1fr); } }
.promise > div { padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--paper); }
.promise .knob, .promise .ico { width: 32px; height: 32px; color: var(--red); }
.promise b { font-size: 16px; font-weight: 800; }
.promise p { font-size: 14px; color: var(--ink2); }
.news { display: grid; grid-template-columns: minmax(0, 1fr); border: var(--line); border-top: 0; background: var(--ink); color: var(--bg); }
@media (min-width: 900px) { .news { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.news > div { min-width: 0; }
.news > div { padding: clamp(24px, 3vw, 40px); }
.news form { display: flex; border: 1px solid var(--bg); height: 56px; margin-top: 16px; }
.news input { flex: 1; min-width: 0; background: transparent; border: 0; padding-inline: 16px; color: var(--bg); outline: none; }
.news input::placeholder { color: #A9A196; }
.news button { background: var(--red); color: #fff; font-weight: 700; padding-inline: 22px; }
.news button:hover { background: #fff; color: var(--red); }
.news small { color: #A9A196; display: block; margin-top: 10px; }

/* footer */
.ftr { background: var(--red); color: #fff; margin-top: clamp(48px, 7vw, 104px); overflow: hidden; }
.ftr-top { display: grid; grid-template-columns: 1fr 1fr; border-inline-start: 1px solid rgba(255,255,255,.7); }
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.ftr-top > div { padding: 28px 22px; border-inline-end: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.7); }
.ftr-brand { grid-column: 1 / -1; display: grid; gap: 16px; align-content: start; }
@media (min-width: 900px) { .ftr-brand { grid-column: auto; } }
.ftr-brand .mark { width: 88px; height: 88px; }
.ftr h4 { margin-bottom: 14px; opacity: .85; }
.ftr ul { display: grid; gap: 8px; }
.ftr ul a { opacity: .95; transition: opacity .2s, padding .2s; display: inline-flex; gap: 8px; align-items: center; }
.ftr ul a:hover { opacity: 1; text-decoration: underline; }
.ftr-pay { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.7); border-inline: 1px solid rgba(255,255,255,.7); align-items: center; }
.ftr-pay span.pm { border: 1px solid #fff; padding: 6px 10px; font-weight: 700; font-size: 13px; }
.ftr-pay .k { margin-inline-start: auto; display: inline-flex; gap: 8px; align-items: center; }
.ftr-word { padding-top: 32px; user-select: none; }
.ftr-word svg { width: 100%; height: auto; display: block; direction: ltr; }
.ftr-word text { font-family: Rubik, sans-serif; font-weight: 900; fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 16px 0 70px; font-size: 13px; opacity: .9; }
.ftr-soc { display: flex; gap: 0; }
.ftr-soc a { width: 44px; height: 44px; border: 1px solid #fff; margin-inline-end: -1px; display: grid; place-items: center; transition: background .2s, color .2s; }
.ftr-soc a:hover { background: #fff; color: var(--red); }

/* ---------- page head / breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding-block: 18px; color: var(--mute); font-size: 13px; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs .sep { width: 6px; height: 6px; border: 1px solid currentColor; }
.phead { grid-template-columns: 1fr; }
@media (min-width: 900px) { .phead { grid-template-columns: 1fr 300px; } }
.phead > div { padding: clamp(20px, 3vw, 40px); background: var(--paper); }
.phead .ph-red { background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; overflow: hidden; }
.phead .ph-red .mark { width: 120px; height: 120px; align-self: flex-end; }
@media (max-width: 899px) { .phead .ph-red { flex-direction: row; align-items: center; } .phead .ph-red .mark { width: 56px; height: 56px; } }
.subtiles { grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); margin-top: -1px; overflow-x: auto; scrollbar-width: thin; }
.subtiles a { display: flex; flex-direction: column; background: var(--paper); font-weight: 700; font-size: 13px; transition: background .2s; }
.subtiles a img { aspect-ratio: 1.25; object-fit: cover; width: 100%; }
.subtiles a span { padding: 10px; border-top: var(--line); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.subtiles a.on { background: var(--ink); color: var(--bg); }
.subtiles a:hover:not(.on) { background: #fff; }

/* toolbar + filters */
.tbar { display: flex; align-items: stretch; border: var(--line); margin-top: 24px; background: var(--paper); min-height: 52px; }
.tbar > * { display: flex; align-items: center; gap: 8px; padding-inline: 16px; border-inline-end: var(--line); }
.tbar > :last-child { border-inline-end: 0; }
.tbar .grow { flex: 1; color: var(--mute); font-size: 14px; }
.tbar select { border: 0; background: transparent; font-weight: 700; padding: 8px 4px; cursor: pointer; }
.tbar .fbtn { font-weight: 700; }
@media (min-width: 1000px) { .tbar .fbtn { display: none; } }
@media (max-width: 520px) { .tbar .sortlbl { display: none; } .tbar > * { padding-inline: 10px; } }
.cat-layout { display: grid; grid-template-columns: 1fr; margin-top: -1px; }
@media (min-width: 1000px) { .cat-layout { grid-template-columns: 280px 1fr; } }
.filters { display: none; border: var(--line); border-top: 0; align-self: start; background: var(--paper); position: sticky; top: calc(var(--hdr) + 60px); }
@media (min-width: 1000px) { .filters { display: block; border-inline-end: 0; } }
.fgroup { padding: 18px 20px; border-bottom: var(--line); }
.fgroup:last-child { border-bottom: 0; }
.fgroup h4 { margin-bottom: 12px; display: flex; justify-content: space-between; }
.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; }
.chk input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--ink); margin: 0; display: grid; place-items: center; flex: none; cursor: pointer; transition: background .15s; }
.chk input:checked { background: var(--red); border-color: var(--red); }
.chk input:checked::after { content: ""; width: 6px; height: 6px; background: #fff; }
.chk input[type="radio"] { border-radius: 50%; }
.chk input[type="radio"]:checked::after { border-radius: 50%; }
.chk .c { margin-inline-start: auto; color: var(--mute); font-family: var(--mono); font-size: 12px; }
.fcolors { display: flex; flex-wrap: wrap; gap: 6px; }
.fcolors .swatch { width: 26px; height: 26px; }
.prange { display: flex; gap: 8px; align-items: center; }
.prange input { width: 100%; height: 42px; border: var(--line); background: var(--bg); padding-inline: 10px; font-family: var(--mono); font-size: 13px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-weight: 600; }
.toggle input { appearance: none; width: 46px; height: 26px; border: 1.5px solid var(--ink); position: relative; cursor: pointer; flex: none; margin: 0; transition: background .2s; }
.toggle input::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--ink); transition: inset-inline-start .2s var(--ease), background .2s; }
.toggle input:checked { background: var(--red); border-color: var(--red); }
.toggle input:checked::after { inset-inline-start: 23px; background: #fff; }
[dir="rtl"] .toggle input::after { left: auto; right: 3px; inset-inline-start: auto; transition: right .2s var(--ease), background .2s; }
[dir="rtl"] .toggle input:checked::after { right: 23px; }
.active-f { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 0; }
.active-f .chip { height: 32px; font-size: 13px; }
.empty-res { padding: 64px 24px; text-align: center; display: grid; justify-items: center; gap: 14px; border-inline: var(--line); border-bottom: var(--line); background: var(--paper); }
.empty-res .knob { width: 72px; height: 72px; color: var(--red); }
.sheet { position: absolute; inset-inline: 0; bottom: 0; max-height: 86vh; background: var(--bg); border-top: var(--line); display: flex; flex-direction: column; transform: translateY(100%); transition: transform .32s var(--ease); }
.ov.open .sheet { transform: none; }
.sheet .grab { width: 44px; height: 4px; background: var(--ink); margin: 8px auto 0; opacity: .3; }
.sheet .d-body .filters { display: block; border: 0; position: static; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr; border: var(--line); }
@media (min-width: 1000px) { .pdp { grid-template-columns: 1.15fr 1fr; } }
.gal { border-bottom: var(--line); background: var(--paper); }
@media (min-width: 1000px) { .gal { border-bottom: 0; border-inline-end: var(--line); } .gal-in { position: sticky; top: calc(var(--hdr) + 60px); } }
.gal-main { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg2); cursor: zoom-in; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .4s var(--ease); }
.gal-main.zoom img { transform: scale(1.7); cursor: zoom-out; }
.gal-nav { position: absolute; bottom: 0; inset-inline-end: 0; display: flex; background: var(--bg); border-top: var(--line); border-inline-start: var(--line); }
.gal-nav button { width: 52px; height: 52px; display: grid; place-items: center; transition: background .2s; }
.gal-nav button + button { border-inline-start: var(--line); }
.gal-nav button:hover { background: var(--ink); color: var(--bg); }
.gal-count { position: absolute; bottom: 0; inset-inline-start: 0; background: var(--bg); border-top: var(--line); border-inline-end: var(--line); padding: 0 14px; height: 52px; display: flex; align-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: var(--line); }
.thumbs button { aspect-ratio: 1; border-inline-end: var(--line); overflow: hidden; position: relative; opacity: .7; transition: opacity .2s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; }
.thumbs button.on::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .tt { display: grid; place-items: center; text-align: center; font-size: 11px; padding: 6px; background: var(--bg); opacity: 1; gap: 4px; }
.thumbs .tt .knob { width: 26px; height: 26px; color: var(--red); }
.info { display: flex; flex-direction: column; }
.info > section { padding: 22px clamp(18px, 2.5vw, 32px); border-bottom: var(--line); }
.info > section:last-child { border-bottom: 0; }
.info h1 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; line-height: 1.1; margin: 10px 0; }
html[lang="en"] .info h1 { text-transform: uppercase; letter-spacing: -.01em; }
.info .price b { font-size: clamp(28px, 3vw, 38px); }
.info .price s { font-size: 17px; }
.save { background: var(--red); color: #fff; padding: 3px 8px; font-size: 13px; font-weight: 700; }
.opt-h { display: flex; justify-content: space-between; margin-bottom: 10px; align-items: baseline; gap: 8px; }
.opt-h b { font-weight: 700; }
.opt-h span { color: var(--mute); font-size: 14px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); border-top: var(--line); border-inline-start: var(--line); }
.sizes button { border-inline-end: var(--line); border-bottom: var(--line); padding: 12px; text-align: start; transition: background .2s; background: var(--paper); }
.sizes button b { display: block; font-weight: 700; }
.sizes button small { color: var(--mute); font-family: var(--mono); font-size: 11px; }
.sizes button:hover { background: #fff; }
.sizes button.on { background: var(--ink); color: var(--bg); }
.sizes button.on small { color: #CFC7BA; }
.lead-box { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); }
.lead-box > div { padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.lead-box > div + div { border-inline-start: var(--line); }
.lead-box .knob, .lead-box .ico { width: 26px; height: 26px; color: var(--red); }
.lead-box b { display: block; font-size: 14px; line-height: 1.25; }
.lead-box small { color: var(--mute); font-size: 12px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 16px; }
.buy .qty { height: 52px; }
.buy .qty button { width: 44px; }
.buy .qty span { min-width: 44px; }
.buy .btn { width: 100%; }
.buy .full { grid-column: 1 / -1; }
.pay-note { margin-top: 12px; font-size: 13px; color: var(--ink2); display: flex; gap: 8px; align-items: flex-start; }
.pay-note .knob { width: 16px; height: 16px; color: var(--red); margin-top: 2px; }
.calc { border: var(--line); background: var(--paper); }
.calc-prov { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: var(--line); }
.calc-prov button { padding: 10px 6px; font-weight: 700; font-size: 13px; border-inline-end: var(--line); transition: background .2s; line-height: 1.2; }
.calc-prov button:last-child { border-inline-end: 0; }
.calc-prov button.on { background: var(--ink); color: var(--bg); }
.calc-prov button:hover:not(.on) { background: #fff; }
.calc-body { padding: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.calc-res b { font-size: 24px; font-weight: 800; color: var(--red); }
.calc-res small { display: block; color: var(--mute); font-size: 12px; }
.sel { height: 46px; border: var(--line); background: var(--bg); padding-inline: 12px; font-weight: 600; width: 100%; cursor: pointer; }
.deliv { display: grid; gap: 10px; }
.deliv-res { display: grid; grid-template-columns: 1fr 1fr; border: var(--line); }
.deliv-res > div { padding: 10px 14px; }
.deliv-res > div + div { border-inline-start: var(--line); }
.deliv-res b { display: block; font-weight: 800; }
.deliv-res small { color: var(--mute); font-size: 12px; }
.pdp-sec { margin-top: clamp(40px, 5vw, 72px); }
.dimg { grid-template-columns: 1fr; }
@media (min-width: 900px) { .dimg { grid-template-columns: 1.4fr 1fr; } }
.dim-draw { background-color: var(--paper); background-image: linear-gradient(rgba(28,26,23,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(28,26,23,.07) 1px, transparent 1px); background-size: 24px 24px; padding: 24px; display: grid; place-items: center; }
.dim-draw svg { width: 100%; max-width: 680px; height: auto; direction: ltr; }
.dim-draw text { font-family: var(--mono); font-size: 13px; fill: var(--ink); }
.spec-tbl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 13px 20px; border-bottom: var(--soft); }
.spec-tbl > div:last-child { border-bottom: 0; }
.spec-tbl dt { color: var(--mute); }
.spec-tbl dd { margin: 0; font-weight: 600; }
.prev-list { grid-template-columns: 1fr; }
@media (min-width: 900px) { .prev-list { grid-template-columns: 320px 1fr 1fr !important; } }
.prev-list .rev, .prev-list .rev-sum { aspect-ratio: auto; min-height: 300px; }
.bars { display: grid; gap: 6px; margin-top: 16px; }
.bars div { display: grid; grid-template-columns: 30px 1fr 30px; gap: 8px; align-items: center; font-size: 13px; }
.bars i { height: 8px; border: 1px solid rgba(255,255,255,.8); display: block; position: relative; }
.bars i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--w); background: #fff; }
.stickybar { position: fixed; z-index: 65; inset-inline: 0; bottom: 0; background: var(--bg); border-top: var(--line); display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); transform: translateY(110%); transition: transform .3s var(--ease); }
.stickybar.show { transform: none; }
.stickybar img { width: 52px; height: 52px; object-fit: cover; border: var(--line); }
.stickybar .t { flex: 1; min-width: 0; }
.stickybar .t b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stickybar .t span { font-weight: 800; }
.stickybar .btn { min-height: 48px; padding-inline: 16px; }
@media (min-width: 1000px) { .stickybar { display: none; } }

/* ---------- cart / checkout ---------- */
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--line); margin-bottom: 24px; }
.stepper div { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-inline-end: var(--line); color: var(--mute); font-weight: 600; font-size: 14px; }
.stepper div:last-child { border-inline-end: 0; }
.stepper i { width: 28px; height: 28px; border: var(--line); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: 12px; flex: none; }
.stepper .on { color: var(--ink); background: var(--paper); }
.stepper .on i { background: var(--red); border-color: var(--red); color: #fff; }
.stepper .done i { background: var(--ink); color: var(--bg); }
@media (max-width: 520px) { .stepper div { flex-direction: column; gap: 4px; font-size: 12px; text-align: center; padding: 10px 4px; } }
.co { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .co { grid-template-columns: 1fr 400px; } }
.box { border: var(--line); background: var(--paper); }
.box-h { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: var(--line); }
.box-h .n { width: 32px; height: 32px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700; flex: none; }
.box-h h2 { font-size: 18px; font-weight: 800; }
html[lang="en"] .box-h h2 { text-transform: uppercase; letter-spacing: .01em; }
.box-b { padding: 20px; display: grid; gap: 16px; }
.cart-rows .line-item { grid-template-columns: 110px 1fr; padding: 18px 20px; }
.cart-rows .line-item img { width: 110px; height: 110px; }
.cart-rows .lp { font-weight: 800; font-size: 18px; }
.fld { display: grid; gap: 6px; }
.fld label { font-weight: 600; font-size: 14px; }
.fld input, .fld select, .fld textarea { height: 50px; border: var(--line); background: var(--bg); padding-inline: 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.fld textarea { height: 90px; padding-block: 12px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--red); border-color: var(--red); }
.fld.err input, .fld.err select { border-color: var(--red); background: #FBEAEA; }
.fld .em { color: var(--red); font-size: 12px; display: none; }
.fld.err .em { display: block; }
.fld small.h { color: var(--mute); font-size: 12px; }
.phone { display: flex; direction: ltr; }
.phone span { display: grid; place-items: center; padding-inline: 12px; border: var(--line); border-inline-end: 0; font-family: var(--mono); font-size: 14px; background: var(--bg2); direction: ltr; }
.phone input { direction: ltr; text-align: start; }
.g2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .g2 { grid-template-columns: 1fr 1fr; } }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: var(--line); border-inline-start: var(--line); }
.opt { border-inline-end: var(--line); border-bottom: var(--line); padding: 14px; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; background: var(--bg); transition: background .2s; position: relative; text-align: start; }
.opt:hover { background: #fff; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .rk { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; display: grid; place-items: center; margin-top: 2px; }
.opt .rk::after { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.opt.on { background: #fff; box-shadow: inset 0 0 0 2px var(--ink); }
.opt.on .rk { border-color: var(--red); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--red); }
.opt.on .rk::after { background: var(--red); }
.opt b { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; }
.opt small { color: var(--mute); font-size: 12px; display: block; margin-top: 2px; }
.opt .tag { margin-inline-start: auto; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--line); border-inline-start: var(--line); }
@media (min-width: 640px) { .slots { grid-template-columns: repeat(6, 1fr); } }
.slots button { border-inline-end: var(--line); border-bottom: var(--line); padding: 10px 6px; text-align: center; background: var(--bg); transition: background .2s; }
.slots button small { display: block; color: var(--mute); font-size: 11px; }
.slots button b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; }
.slots button:hover { background: #fff; }
.slots button.on { background: var(--red); color: #fff; }
.slots button.on small { color: rgba(255,255,255,.85); }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.summary { position: sticky; top: calc(var(--hdr) + 60px); }
.sum-items { padding: 6px 20px; border-bottom: var(--line); max-height: 260px; overflow: auto; }
.sum-items div { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 13px; }
.sum-items img { width: 48px; height: 48px; object-fit: cover; border: var(--line); }
.sum-rows { padding: 14px 20px; display: grid; gap: 8px; font-size: 15px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 10px; }
.sum-rows .tot { border-top: var(--line); padding-top: 12px; margin-top: 4px; font-weight: 800; font-size: 20px; }
.sum-rows .now { background: var(--red); color: #fff; margin-inline: -20px; padding: 12px 20px; font-weight: 800; }
.sum-rows .muted { color: var(--mute); font-size: 13px; }
.kashier { padding: 0 20px 20px; display: grid; gap: 10px; }
.kashier small { color: var(--mute); font-size: 12px; text-align: center; display: flex; gap: 6px; justify-content: center; align-items: center; }
.paying { position: fixed; inset: 0; z-index: 99; background: rgba(243,238,230,.94); display: none; place-items: center; text-align: center; }
.paying.show { display: grid; }
.loader { width: 90px; height: 90px; color: var(--red); margin: 0 auto 18px; }
.loader circle { transform-origin: 50% 50%; stroke-dasharray: 60 30; }
.loader circle:nth-child(1) { animation: spin 1.4s linear infinite; }
.loader circle:nth-child(2) { animation: spin 1s linear infinite reverse; stroke-dasharray: 40 22; }
.loader circle:nth-child(3) { fill: var(--red); stroke-dasharray: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { display: grid; grid-template-columns: 1fr; border: var(--line); }
@media (min-width: 1000px) { .success { grid-template-columns: 1fr 1.2fr; } }
.success .sv { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.success .sv .mark { width: 96px; height: 96px; }
.track { padding: clamp(24px, 3vw, 40px); background: var(--paper); }
.track ol { display: grid; margin-top: 18px; }
.track li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.track li:last-child { padding-bottom: 0; }
.track li::before { content: ""; position: absolute; top: 44px; bottom: 0; inset-inline-start: 21px; width: 1.5px; background: var(--ink); opacity: .25; }
.track li:last-child::before { display: none; }
.track li.done::before { background: var(--red); opacity: 1; }
.track .knob { width: 44px; height: 44px; color: var(--ink); opacity: .35; background: var(--paper); position: relative; }
.track li.done .knob, .track li.cur .knob { color: var(--red); opacity: 1; }
.track li.done .knob circle:nth-child(3) { fill: var(--red); }
.track li.cur .knob circle:nth-child(1) { animation: spin 3s linear infinite; transform-origin: 50% 50%; stroke-dasharray: 50 20; }
.track b { display: block; font-weight: 800; }
.track small { color: var(--mute); }
.track .when { font-family: var(--mono); font-size: 12px; color: var(--ink2); }

/* ---------- custom page ---------- */
.chero { grid-template-columns: 1fr; }
@media (min-width: 1000px) { .chero { grid-template-columns: 1fr 1fr; } }
.chero .red { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; justify-content: center; position: relative; overflow: hidden; min-height: 420px; }
.chero .red .deco { position: absolute; width: 380px; height: 380px; inset-inline-end: -110px; bottom: -110px; color: rgba(255,255,255,.3); }
.chero .im { position: relative; min-height: 340px; overflow: hidden; }
.chero .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.port { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .port { grid-template-columns: repeat(4, 1fr); } }
.port a { position: relative; overflow: hidden; aspect-ratio: 1; display: block; }
.port a.big { grid-column: span 2; grid-row: span 2; }
.port img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.port a:hover img { transform: scale(1.05); }
.port .cap { position: absolute; bottom: 0; inset-inline-start: 0; background: var(--bg); border-top: var(--line); border-inline-end: var(--line); padding: 8px 12px; font-size: 13px; }
.port .cap b { display: block; font-size: 14px; }
.wiz { display: grid; grid-template-columns: 1fr; border: var(--line); background: var(--paper); }
@media (min-width: 1000px) { .wiz { grid-template-columns: 280px 1fr; } }
.wiz-steps { border-bottom: var(--line); display: flex; overflow-x: auto; }
@media (min-width: 1000px) { .wiz-steps { flex-direction: column; border-bottom: 0; border-inline-end: var(--line); } }
.wiz-steps button { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-inline-end: var(--line); font-weight: 600; font-size: 14px; color: var(--mute); text-align: start; white-space: nowrap; flex: none; }
@media (min-width: 1000px) { .wiz-steps button { border-inline-end: 0; border-bottom: var(--line); } }
.wiz-steps i { width: 30px; height: 30px; border: var(--line); display: grid; place-items: center; font-family: var(--mono); font-style: normal; font-size: 12px; flex: none; }
.wiz-steps .on { color: var(--ink); background: #fff; }
.wiz-steps .on i { background: var(--red); border-color: var(--red); color: #fff; }
.wiz-steps .done { color: var(--ink); }
.wiz-steps .done i { background: var(--ink); color: var(--bg); }
.wiz-steps button:disabled { cursor: default; }
@media (max-width: 999px) { .wiz-steps button span { display: none; } .wiz-steps button.on span { display: inline; } }
.wiz-body { padding: clamp(20px, 3vw, 40px); display: grid; gap: 22px; align-content: start; min-height: 460px; }
.wiz-body .h3 { margin-bottom: -10px; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; border-top: var(--line); padding-top: 20px; margin-top: 8px; }
.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: var(--line); border-inline-start: var(--line); }
.pick button { border-inline-end: var(--line); border-bottom: var(--line); background: var(--bg); display: flex; flex-direction: column; text-align: start; transition: background .2s; position: relative; }
.pick button:hover { background: #fff; }
.pick button img { aspect-ratio: 1.3; object-fit: cover; width: 100%; }
.pick button svg.lay { width: 100%; aspect-ratio: 1.3; padding: 18px; }
.pick button .pl { padding: 12px 14px; border-top: var(--line); }
.pick button .pl b { display: block; font-weight: 700; }
.pick button .pl small { color: var(--mute); font-size: 12px; }
.pick button.on { background: #fff; box-shadow: inset 0 0 0 3px var(--red); }
.pick button.on::after { content: ""; position: absolute; top: 10px; inset-inline-end: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--red); }
.lay rect.wall { fill: var(--ink); }
.lay rect.cab { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.lay .fl { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 4; opacity: .4; }
.pick button.on .lay rect.cab { fill: #FBE3E3; stroke: var(--red); }
.meas { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.meas .fld input { font-family: var(--mono); font-size: 18px; }
.est { border: var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.est > div { padding: 16px; }
.est > div + div { border-inline-start: var(--line); background: var(--red); color: #fff; }
.est b { font-size: 26px; font-weight: 800; display: block; }
.est small { font-size: 12px; opacity: .8; }
.finishes { display: flex; gap: 12px; flex-wrap: wrap; }
.finishes button { display: grid; justify-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 10px; border: 1px solid transparent; min-width: 92px; }
.finishes button .swatch { width: 44px; height: 44px; margin: 6px; }
.finishes button .swatch::after { inset: 10px; }
.finishes button.on { border-color: var(--ink); background: #fff; }
.drop { border: 1.5px dashed var(--ink); padding: 30px; text-align: center; display: grid; justify-items: center; gap: 10px; cursor: pointer; background: var(--bg); transition: background .2s; }
.drop:hover { background: #fff; }
.drop .knob { width: 56px; height: 56px; color: var(--red); }
.ups { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ups div { aspect-ratio: 1; border: var(--line); position: relative; overflow: hidden; background: var(--bg2); }
.ups img { width: 100%; height: 100%; object-fit: cover; }
.ups button { position: absolute; top: 4px; inset-inline-end: 4px; width: 24px; height: 24px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.done-box { display: grid; gap: 16px; justify-items: start; }
.done-box .knob { width: 80px; height: 80px; color: var(--red); }
.ref { font-family: var(--mono); background: var(--ink); color: var(--bg); padding: 6px 12px; font-size: 15px; }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .nf { grid-template-columns: 1fr 1fr; } }
.nf-art { display: grid; grid-template-columns: repeat(2, 1fr); aspect-ratio: 1; border: var(--line); }
.nf-art > div { border-inline-end: var(--line); border-bottom: var(--line); display: grid; place-items: center; font-weight: 900; font-size: clamp(80px, 14vw, 200px); line-height: 1; }
.nf-art > div:nth-child(2n) { border-inline-end: 0; }
.nf-art > div:nth-child(n+3) { border-bottom: 0; }
.nf-art .knob, .nf-art .mark { width: 62%; height: 62%; color: #fff; }
.nf-art .r { background: var(--red); color: #fff; }
.nf-txt { padding: clamp(24px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.nf-txt form { display: flex; border: var(--line); height: 56px; background: var(--paper); }
.nf-txt input { flex: 1; min-width: 0; border: 0; background: transparent; padding-inline: 16px; outline: none; font-size: 16px; }
.nf-txt form button { width: 56px; background: var(--ink); color: var(--bg); display: grid; place-items: center; }

/* misc */
.fade-in { animation: fin .45s var(--ease) both; }
@keyframes fin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.btn[aria-pressed="true"] { color: var(--red); }
.btn[aria-pressed="true"] .ico { fill: currentColor; }
@media (max-width: 640px) { .mlay { grid-template-columns: 1fr !important; } .mlay > div:first-child { max-width: 240px; } }
.port .cta { background: var(--red); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; min-height: 170px; position: relative; overflow: hidden; transition: background .2s; }
.port .cta:hover { background: var(--red2); }
.port .cta .mark { position: absolute; inset-inline-end: 16px; bottom: 16px; width: 72px; height: 72px; }
.port .cta b { font-size: 20px; font-weight: 800; max-width: 14ch; line-height: 1.15; }
@media (max-width: 640px) { .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } .pick button .pl { padding: 8px; } .pick button .pl small { display: none; } .pick button .pl b { font-size: 13px; } .pick button svg.lay { padding: 8px; } }
