:root {
  --espresso: #1a110b;
  --roast: #2a1c13;
  --gold: #e3ad3b;
  --gold-soft: #f3d38a;
  --cream: #f7f1e8;
  --paper: #fffaf3;
  --ink: #23180f;
  --muted: #7a6a5c;
  --line: #e6dccd;
  --ok: #2f7d4f;
  --err: #b3402f;
  --radius: 14px;
  --display: "Bebas Neue", "Cairo", sans-serif;
  --body: "Inter", "Cairo", system-ui, sans-serif;
}
html[dir="rtl"] { --body: "Cairo", system-ui, sans-serif; --display: "Bebas Neue", "Cairo", sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(26, 17, 11, .94); backdrop-filter: blur(8px); color: var(--cream); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .02em; font-size: 18px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang-switch button { background: none; border: 0; color: var(--cream); padding: 6px 12px; font-size: 13px; font-weight: 600; }
.lang-switch button.active { background: var(--gold); color: var(--espresso); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; background: var(--gold); color: var(--espresso); transition: transform .15s, background .15s; }
.btn:hover { background: var(--gold-soft); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* Ribbon */
.ribbon { background: var(--gold); color: var(--espresso); font-size: 13px; font-weight: 700; }
.ribbon .wrap { display: flex; justify-content: center; gap: 22px; padding: 8px 0; flex-wrap: wrap; }

/* Hero */
.hero { background: var(--espresso); color: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
html[dir="rtl"] .kicker { letter-spacing: 0; }
.hero h1 { font-family: var(--display); font-weight: 400; color: var(--gold); font-size: clamp(56px, 9vw, 108px); line-height: .92; margin: 14px 0 18px; letter-spacing: .01em; }
.hero p { font-size: 18px; color: #d9cbb8; max-width: 30em; margin: 0 0 28px; }
.hero-visual { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-visual img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.hero-visual img:nth-child(2) { transform: translateY(36px); }

/* Sections */
section.block { padding: 72px 0; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5vw, 56px); line-height: 1; margin: 0 0 8px; letter-spacing: .01em; }
html[dir="rtl"] .sec-head h2 { font-family: "Cairo", sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 40px); }
.sec-head p { color: var(--muted); margin: 0; }

/* Model cards */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card { background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(42,28,19,.08); display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4/5; background: #e9e0d3; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--espresso); color: var(--gold); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 34px; margin: 0; line-height: 1; letter-spacing: .01em; }
.card .price { font-size: 22px; font-weight: 800; white-space: nowrap; }

/* Color swatches */
.swatches { display: flex; gap: 10px; align-items: center; }
.swatch { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px 6px 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
html[dir="rtl"] .swatch { padding: 6px 6px 6px 14px; }
.swatch i { width: 22px; height: 22px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.swatch[data-color="b"] i { background: #141414; }
.swatch[data-color="w"] i { background: #fff; }
.swatch.active { border-color: var(--espresso); }

/* Spaces mosaic */
.spaces { background: var(--paper); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mosaic img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 12px; }

/* How */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--espresso); color: var(--gold); margin-bottom: 12px; }
.step h4 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); }

/* FAQ */
.faq { max-width: 720px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 8px 0 0; color: var(--muted); }

/* Product page */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; padding: 32px 0 72px; align-items: start; }
.back { display: inline-block; color: var(--muted); font-weight: 600; margin: 24px 0 0; }
.product > * { min-width: 0; }
.gallery { position: sticky; top: 84px; }
.stage { position: relative; background: #e9e0d3; border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.stage img, .stage video { width: 100%; height: 100%; object-fit: cover; }
.stage .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); font-size: 20px; color: var(--ink); }
.stage .prev { inset-inline-start: 12px; }
.stage .next { inset-inline-end: 12px; }
html[dir="rtl"] .stage .nav { transform: translateY(-50%) scaleX(-1); }
.counter { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(26,17,11,.7); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 72px; height: 90px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #e9e0d3; position: relative; }
.thumbs button.active { border-color: var(--espresso); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(0,0,0,.3); }

.info h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 64px); line-height: .95; margin: 6px 0 6px; letter-spacing: .01em; }
.info .sub { color: var(--muted); font-weight: 600; }
.info .big-price { font-size: 34px; font-weight: 800; margin: 18px 0 2px; }
.info .ship { color: var(--ok); font-weight: 600; font-size: 14px; }
.info .desc { color: #4c3d31; margin: 18px 0 22px; }
.opt-label { font-weight: 700; font-size: 14px; margin: 0 0 10px; }
.opt { margin-bottom: 22px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 20px; }
.qty span { min-width: 32px; text-align: center; font-weight: 700; }

.order { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; scroll-margin-top: 84px; }
.order h2 { margin: 0; font-size: 22px; }
.order .hint { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--ink); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227,173,59,.25); }
.field.bad input { border-color: var(--err); }
.field .err { display: none; color: var(--err); font-size: 13px; margin-top: 4px; }
.field.bad .err { display: block; }
.total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; padding: 14px 0; border-top: 1px dashed var(--line); margin-top: 6px; }
.order .btn { width: 100%; font-size: 17px; padding: 16px; }
.order .cod { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
.success { text-align: center; padding: 20px 0; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 32px; margin: 0 auto 14px; }
.success h2 { margin: 0 0 6px; }
.success p { color: var(--muted); margin: 0 0 18px; }

.sticky-cta { display: none; }

footer { background: var(--espresso); color: #bfae98; padding: 32px 0; font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 56px; gap: 32px; }
  .hero-visual img:nth-child(2) { transform: translateY(20px); }
  .models { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .gallery { position: static; }
  .sticky-cta { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(26,17,11,.96); align-items: center; justify-content: space-between; gap: 12px; color: var(--cream); transition: transform .25s; }
  .sticky-cta.hide { transform: translateY(110%); }
  .sticky-cta strong { font-size: 18px; }
  body.has-sticky { padding-bottom: 76px; }
  section.block { padding: 52px 0; }
  .top .btn-sm { display: none; }
}
.stage .dims { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; gap: 8px; background: var(--espresso); color: var(--gold); }
.stage .dims b { font-size: 18px; color: var(--cream); }
.stage .dims span { font-family: var(--display); font-size: 56px; }
html[dir="rtl"] .hero h1 { font-family: "Cairo", sans-serif; font-weight: 800; font-size: clamp(38px, 6vw, 64px); line-height: 1.2; }
.order .send-err { color: var(--err); font-weight: 600; font-size: 14px; text-align: center; margin: 10px 0 0; }
