/* Dorcas Porcelain - design system (brand guidelines: Lime #93C11F, Deep Navy #1F2437, White; Montserrat + Tajawal) */
:root {
  --navy: #1F2437;
  --navy-2: #171b2a;
  --navy-3: #2a3049;
  --lime: #93C11F;
  --lime-2: #a9d83a;
  --white: #ffffff;
  --stone: #F4F2ED;
  --stone-2: #E7E3D9;
  --ink: #1F2437;
  --muted: #6b7082;
  --line: rgba(31, 36, 55, .12);
  --line-light: rgba(255, 255, 255, .16);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-ar: 'Tajawal', 'Montserrat', sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); font-size: 17px; }
html[lang="ar"] .latin { font-family: var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; inset-inline-start: 16px; z-index: 300; background: var(--lime); color: var(--navy); padding: 10px 18px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); display: inline-flex; align-items: center; gap: 12px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.h-xl { font-size: clamp(40px, 7.4vw, 112px); font-weight: 800; line-height: .98; letter-spacing: -.03em; }
.h-lg { font-size: clamp(32px, 4.6vw, 68px); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; }
.h-md { font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
html[lang="ar"] .h-xl, html[lang="ar"] .h-lg, html[lang="ar"] .h-md { letter-spacing: 0; line-height: 1.25; }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); max-width: 60ch; }
.on-dark { color: var(--white); }
.on-dark .lead { color: rgba(255, 255, 255, .72); }
.lime { color: var(--lime); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--navy); box-shadow: 0 14px 30px -12px rgba(147, 193, 31, .7); }
.btn-lime:hover { background: var(--lime-2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost, .btn-ghost.light { border-color: var(--line-light); color: var(--white); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { border-color: var(--white); }
.btn svg { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .flip { transform: scaleX(-1); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px;
  display: flex; align-items: center; transition: background .4s, box-shadow .4s, transform .4s var(--ease);
  color: var(--white);
}
.header.solid { background: rgba(31, 36, 55, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-light); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark, .logo-word { display: block; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo-mark { --src: url(../brand/logo-mark.png); width: 40px; height: 28px; color: var(--lime); }
.logo-word { --src: url(../brand/logo-word.png); width: 118px; height: 34px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); font-size: 14px; font-weight: 600; }
.nav a { position: relative; padding: 8px 0; opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 10px; }
.pill { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-light); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: border-color .2s, background .2s; }
.pill:hover { border-color: var(--white); }
.pill svg { width: 18px; height: 18px; }
.count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--lime); color: var(--navy); font-size: 11px; font-weight: 800; display: inline-grid; place-items: center; }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line-light); place-items: center; }
.burger span { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
@media (max-width: 900px) {
  .burger { display: grid; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--pad) 28px; background: var(--navy); font-size: 20px; transform: translateY(-120%); transition: transform .45s var(--ease); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
  .nav.open { transform: none; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
  .logo-word { width: 96px; }
}

/* Intro loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--navy); display: grid; place-items: center; color: var(--white); transition: opacity .9s var(--ease), visibility .9s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-in { display: grid; justify-items: center; gap: 22px; }
.loader .logo-mark { width: 92px; height: 64px; animation: breathe 1.8s ease-in-out infinite; }
.loader .logo-word { width: 190px; height: 54px; }
.loader-bar { width: 190px; height: 2px; background: var(--line-light); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .3s; }
.loader small { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; opacity: .6; }
@keyframes breathe { 50% { transform: translateY(-6px) scale(1.04); } }

/* 3D hero */
.hero { position: relative; height: 520vh; background: var(--navy); color: var(--white); }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(31, 36, 55, .94) 0%, rgba(31, 36, 55, .82) 46%, rgba(31, 36, 55, 0) 70%); }
.stage { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(104px, 15vh, 160px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 0; pointer-events: none; opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.stage.on { opacity: 1; transform: none; }
.stage.on .btn, .stage.on a { pointer-events: auto; }
.stage .h-xl { max-width: 14ch; margin-top: 18px; font-size: clamp(38px, 6.2vw, 96px); text-shadow: 0 6px 40px rgba(23, 27, 42, .55); }
.stage .lead { max-width: 52ch; text-shadow: 0 2px 20px rgba(23, 27, 42, .8); }
.stage .lead { margin-top: 20px; }
.stage .cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.stage-num { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--lime); }
.stage-ar { font-family: var(--font-ar); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); color: var(--lime); margin-top: 6px; }
.hero-rail { position: absolute; inset-inline-end: var(--pad); top: 50%; transform: translateY(-50%); display: grid; gap: 12px; }
.hero-rail i { width: 3px; height: 26px; border-radius: 3px; background: var(--line-light); transition: background .4s, height .4s var(--ease); }
.hero-rail i.on { background: var(--lime); height: 46px; }
.hero-hint { position: absolute; inset: auto 0 26px 0; display: grid; justify-items: center; gap: 8px; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; pointer-events: none; transition: opacity .5s; }
.hero-hint::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--lime), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero.static { height: auto; }
.hero.static .hero-stick { position: relative; height: auto; min-height: 100svh; background: linear-gradient(180deg, rgba(31, 36, 55, .82), rgba(31, 36, 55, .5)), url(../rooms/bilawer-bayad.jpg) center / cover; }
.hero.static .stage { position: relative; opacity: 1; transform: none; padding-bottom: 80px; }
.hero.static .stage:not(:first-of-type), .hero.static .hero-rail, .hero.static .hero-hint, .hero.static canvas { display: none; }

/* Sections */
section { position: relative; }
.sec { padding: clamp(72px, 11vw, 160px) 0; }
.sec-dark { background: var(--navy); color: var(--white); }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 72px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Marquee */
.marquee { overflow: hidden; background: var(--lime); color: var(--navy); padding: 16px 0; font-weight: 800; font-size: clamp(16px, 2vw, 24px); white-space: nowrap; }
.marquee div { display: inline-flex; gap: 44px; padding-inline-end: 44px; animation: slide 30s linear infinite; }
html[dir="rtl"] .marquee div { animation-direction: reverse; }
.marquee span::after { content: "\2726"; margin-inline-start: 44px; opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Manifesto */
.manifesto-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 80px -40px rgba(31, 36, 55, .55); }
.manifesto-img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-img .tag { position: absolute; inset: auto 18px 18px 18px; background: rgba(31, 36, 55, .86); backdrop-filter: blur(10px); color: var(--white); border-radius: 14px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2437' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .coll-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .coll-grid { grid-template-columns: 1fr; } }
.coll { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 26px; border-radius: var(--radius); overflow: hidden; color: var(--white); isolation: isolate; perspective: 900px; }
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.coll::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31, 36, 55, .1) 20%, rgba(31, 36, 55, .92) 100%); }
.coll:hover img { transform: scale(1.08); }
.coll-n { position: absolute; top: 22px; inset-inline-start: 26px; font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.coll-chips { position: absolute; top: 18px; inset-inline-end: 18px; display: flex; }
.coll-chips i { width: 34px; height: 34px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, .9); background: center / cover; margin-inline-start: -10px; box-shadow: 0 8px 16px rgba(0, 0, 0, .3); transition: transform .5s var(--ease); }
.coll:hover .coll-chips i { transform: translateY(-4px) rotate(-6deg); }
.coll h3 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.coll .ar { font-family: var(--font-ar); font-size: 24px; font-weight: 800; color: var(--lime); }
.coll p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.coll .more { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.coll .more svg { width: 18px; transition: transform .4s var(--ease); }
.coll:hover .more svg { transform: translateX(6px); }
html[dir="rtl"] .coll:hover .more svg { transform: scaleX(-1) translateX(6px); }

/* Quality */
.q-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-light); }
@media (max-width: 1000px) { .q-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .q-grid { grid-template-columns: 1fr; } }
.q { padding: 30px 22px 34px; border-bottom: 1px solid var(--line-light); border-inline-end: 1px solid var(--line-light); transition: background .4s; }
.q:hover { background: rgba(255, 255, 255, .04); }
.q b { display: block; font-size: 40px; font-weight: 800; color: var(--lime); letter-spacing: -.03em; line-height: 1; }
.q h3 { margin: 18px 0 8px; font-size: 18px; font-weight: 700; }
.q p { font-size: 14px; color: rgba(255, 255, 255, .68); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; counter-increment: s; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.step:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(31, 36, 55, .4); }
.step::before { content: "0" counter(s); display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--lime); font-weight: 800; }
.step h3 { margin: 20px 0 8px; font-size: 19px; font-weight: 700; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Audience */
.aud { display: flex; flex-wrap: wrap; gap: 10px; }
.aud span { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; background: var(--white); }

/* CTA band */
.band { background: var(--lime); color: var(--navy); border-radius: calc(var(--radius) + 10px); padding: clamp(32px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.band::after { content: ""; position: absolute; inset-inline-end: -60px; bottom: -80px; width: 360px; height: 250px; background: var(--navy); opacity: .1; -webkit-mask: url(../brand/logo-mark.png) center / contain no-repeat; mask: url(../brand/logo-mark.png) center / contain no-repeat; }
.band .eyebrow { color: var(--navy); }
.band p { margin-top: 14px; font-weight: 500; max-width: 46ch; }
.band .cta { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy-2); color: rgba(255, 255, 255, .72); padding: 72px 0 28px; font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { margin: 0 0 16px; color: var(--white); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
html[lang="ar"] .footer h4 { letter-spacing: 0; font-size: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--lime); }
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .sig { font-weight: 700; color: var(--white); margin-top: 6px; }
.footer .base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* Page hero (inner pages) */
.phero { background: var(--navy); color: var(--white); padding: 150px 0 64px; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; inset-inline-end: -80px; top: 40px; width: 520px; height: 360px; background: var(--lime); opacity: .08; -webkit-mask: url(../brand/logo-mark.png) center / contain no-repeat; mask: url(../brand/logo-mark.png) center / contain no-repeat; }
.phero .lead { margin-top: 18px; }
.crumbs { font-size: 13px; opacity: .7; display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--lime); }

/* Shop */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; position: sticky; top: 76px; z-index: 20; padding: 14px 0; background: var(--stone); }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; transition: all .25s; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip small { font-weight: 600; opacity: .6; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -34px rgba(31, 36, 55, .45); }
.card-media { position: relative; aspect-ratio: 1; background: var(--stone-2); overflow: hidden; perspective: 900px; display: grid; place-items: center; }
.card-media .room { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s, transform 1.2s var(--ease); }
.card-media .tile { width: 62%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; box-shadow: 0 30px 40px -18px rgba(31, 36, 55, .5), 0 0 0 1px rgba(31, 36, 55, .06); transition: transform .8s var(--ease), opacity .5s; transform: rotateX(18deg) rotateZ(-8deg); }
.card:hover .tile { transform: rotateX(0) rotateZ(0) scale(.5) translate(-70%, 70%); }
html[dir="rtl"] .card:hover .tile { transform: rotateX(0) rotateZ(0) scale(.5) translate(70%, 70%); }
.card:hover .room { opacity: 1; transform: none; }
.card-tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; background: rgba(31, 36, 55, .88); color: var(--white); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 999px; letter-spacing: .06em; }
.card-body { padding: 20px 20px 22px; display: grid; gap: 6px; }
.card-name { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-name b { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.card-name span { font-family: var(--font-ar); font-size: 20px; font-weight: 700; color: var(--lime); }
.card-meta { font-size: 13px; color: var(--muted); }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.dots { display: flex; gap: 6px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: center / cover; border: 1px solid var(--line); }

/* Product */
.prod { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding: 120px 0 80px; }
@media (max-width: 960px) { .prod { grid-template-columns: 1fr; padding-top: 100px; } }
.viewer { position: sticky; top: 96px; }
@media (max-width: 960px) { .viewer { position: static; } }
.stagebox { position: relative; aspect-ratio: 1 / .92; border-radius: calc(var(--radius) + 6px); background: radial-gradient(90% 70% at 50% 35%, #ffffff 0%, var(--stone-2) 100%); overflow: hidden; border: 1px solid var(--line); }
.stagebox canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.stagebox canvas:active { cursor: grabbing; }
.stagebox img.fallback { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: cover; box-shadow: 0 40px 60px -30px rgba(31, 36, 55, .5); }
.stagebox .hint { position: absolute; inset: auto 0 16px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); pointer-events: none; }
.stagebox .badge3d { position: absolute; top: 16px; inset-inline-start: 16px; background: var(--navy); color: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 7px 12px; border-radius: 999px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--stone-2); }
.thumbs button[aria-pressed="true"] { border-color: var(--lime); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.roomview { margin-top: 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.roomview img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(40px, 5.4vw, 76px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.pinfo .ar { font-family: var(--font-ar); font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--lime); }
.pinfo .mean { margin-top: 14px; color: var(--muted); font-size: 17px; }
.price { margin: 24px 0; padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.price b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.price small { color: var(--muted); font-size: 13px; }
.field-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; display: block; }
html[lang="ar"] .field-label { letter-spacing: 0; font-size: 15px; }
.variants { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 16px 5px 6px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; font-size: 14px; }
html[dir="rtl"] .variant { padding: 5px 6px 5px 16px; }
.variant i { width: 36px; height: 36px; border-radius: 50%; background: center / cover; border: 1px solid var(--line); }
.variant[aria-pressed="true"] { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(147, 193, 31, .45); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc label, .form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.input { min-height: 52px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); padding: 0 16px; font: inherit; font-weight: 700; color: var(--ink); width: 100%; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(147, 193, 31, .4); }
.calc-out { grid-column: 1 / -1; background: var(--navy); color: var(--white); border-radius: 12px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.calc-out b { font-size: 22px; color: var(--lime); }
.actions { display: grid; gap: 10px; margin-top: 24px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .actions .row, .calc { grid-template-columns: 1fr; } }
.specs { margin-top: 34px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: end; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
.assure div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13.5px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.assure svg { width: 22px; height: 22px; color: var(--lime); flex: none; }

/* Cart drawer */
.scrim { position: fixed; inset: 0; z-index: 150; background: rgba(23, 27, 42, .6); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer-clip { position: fixed; inset: 0; z-index: 160; overflow: hidden; pointer-events: none; }
.drawer { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(460px, 100%); background: var(--stone); display: flex; flex-direction: column; transform: translateX(105%); visibility: hidden; transition: transform .55s var(--ease), visibility .55s; box-shadow: -30px 0 80px rgba(0, 0, 0, .3); pointer-events: auto; }
.drawer.open { visibility: visible; }
html, body { max-width: 100%; overflow-x: clip; }
html[dir="rtl"] .drawer { transform: translateX(-105%); }
.drawer.open { transform: none !important; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; background: var(--navy); color: var(--white); }
.drawer-head h2 { font-size: 20px; font-weight: 800; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-light); display: grid; place-items: center; font-size: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 24px; display: grid; gap: 12px; align-content: start; }
.empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.line b { display: block; font-weight: 800; }
.line small { color: var(--muted); font-size: 13px; }
.line button { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: underline; padding: 8px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form .full { grid-column: 1 / -1; }
.note { font-size: 12.5px; color: var(--muted); }
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 250; transform: translate(-50%, 120px); background: var(--navy); color: var(--white); padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); transition: transform .5s var(--ease); display: flex; gap: 10px; align-items: center; }
.toast.on { transform: translate(-50%, 0); }
.toast::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.wa-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; box-shadow: 0 18px 34px -10px rgba(147, 193, 31, .8); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
