/* L'Atelier du Chocolat · storefront */
:root {
  --tan: #E9C9A3; --tan-2: #F1D9B8; --tan-3: #DDB98D; --cream: #F8ECD8; --paper: #FBF4E6;
  --brown: #5A2510; --brown-2: #3C180A; --ink: #2B1209; --muted: rgba(60, 24, 10, .7);
  --gold: #B98A3E; --gold-2: #D4AE62; --gold-3: #E7C98A;
  --line: rgba(90, 37, 16, .16); --line-2: rgba(90, 37, 16, .28);
  --d: 1; --hdr: 112px; --pad: clamp(20px, 5vw, 84px);
  --f-display: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --f-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
html[dir="rtl"] { --d: -1; }
html[lang="ar"] { --f-display: 'Amiri', 'Cormorant Garamond', Georgia, serif; --f-body: 'Tajawal', 'Jost', Arial, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
button, a, .qadd, .btn, .btn-primary, .btn-ghost, .btn-dark, .btn-gold, .btn-wa, .icon-btn, .cart-btn, .chips-f button, .qty button { touch-action: manipulation; }
body { margin: 0; background: var(--tan); color: var(--brown-2); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 300; background: var(--brown-2); color: var(--cream); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* paper grain */
body::after { content: ""; position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* type */
.wm { font-family: 'Pinyon Script', 'Snell Roundhand', cursive; font-size: 27px; line-height: 1; letter-spacing: .01em; white-space: nowrap; direction: ltr; }
.wm i { font-style: normal; }
.eyebrow { font: 500 12px/1.2 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
html[lang="ar"] .eyebrow { letter-spacing: .04em; font-size: 14px; }
.display, .h2 { font-family: var(--f-display); font-weight: 500; line-height: .98; letter-spacing: -.012em; color: var(--brown); }
.display { font-size: clamp(42px, 5.5vw, 96px); }
.display em, .h2 em { font-style: italic; font-weight: 500; color: var(--gold); }
.h2 { font-size: clamp(34px, 4vw, 66px); line-height: 1.02; }
html[lang="ar"] .display, html[lang="ar"] .h2 { line-height: 1.22; letter-spacing: 0; font-weight: 700; }
.ln { display: block; overflow: hidden; padding-block: .16em; margin-block: -.16em; }
html[lang="ar"] .ln { padding-block: .32em; margin-block: -.32em; }
.ln > span, .ln > em { display: inline-block; will-change: transform; }
.lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--muted); max-width: 30em; margin-top: 22px; }
.sub { color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); margin-top: 12px; max-width: 36em; }
.body { font-size: clamp(15px, 1.12vw, 17.5px); line-height: 1.7; color: var(--muted); max-width: 34em; margin-top: 16px; }
.body.strong { color: var(--brown); font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 30px; border-radius: 999px; font: 500 15px/1 var(--f-body); letter-spacing: .04em; transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn .arr { width: 18px; height: 18px; transition: transform .35s var(--ease); }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.btn-primary { background: var(--brown); color: var(--cream); box-shadow: 0 10px 26px -12px rgba(60, 24, 10, .7); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--brown); }
.btn-ghost:hover { background: rgba(90, 37, 16, .07); }
.btn-dark { background: var(--brown-2); color: var(--cream); }
.btn-gold { background: var(--gold-2); color: var(--brown-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--brown); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.link-arrow .arr { width: 18px; height: 18px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arr { transform: translateX(calc(4px * var(--d))) scaleX(var(--d)); }
  .btn-primary:hover { background: var(--brown-2); transform: translateY(-2px); }
  .btn-dark:hover { background: var(--brown); transform: translateY(-2px); }
  .btn-gold:hover { background: var(--gold-3); transform: translateY(-2px); }
  .link-arrow:hover .arr { transform: translateX(calc(4px * var(--d))) scaleX(var(--d)); }
}
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; transition: background .25s; font-size: 20px; }
.icon-btn:hover { background: rgba(90, 37, 16, .09); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 400; background: var(--tan); display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--brown); }
.loader img { width: 96px; }
.loader .wm { font-size: 34px; }

/* header */
.hdr { position: sticky; top: 0; inset-inline: 0; z-index: 100; color: var(--brown); transition: color .4s, background .4s, transform .5s var(--ease); will-change: transform; }
.hdr.hide { transform: translateY(-100%); }
.announce { height: 34px; background: var(--brown-2); color: var(--cream); font: 400 12.5px/34px var(--f-body); letter-spacing: .1em; text-align: center; overflow: hidden; position: relative; }
.announce-track { position: relative; height: 34px; }
.announce-track span { position: absolute; inset: 0; opacity: 0; text-transform: uppercase; }
html[lang="ar"] .announce { letter-spacing: .02em; font-size: 14px; }
html[lang="ar"] .announce-track span { text-transform: none; }
.announce b { color: var(--gold-3); font-weight: 500; }
.bar { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--pad); gap: 24px; transition: background .4s, backdrop-filter .4s, box-shadow .4s; }
.hdr.solid .bar { background: rgba(233, 201, 163, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.hdr.on-dark:not(.solid) { color: var(--cream); }
.hdr.on-dark.solid .bar { background: rgba(60, 24, 10, .82); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
@media (max-width: 760px) {
  /* backdrop-filter on a sticky/fixed header is a known WebKit compositor bug in mobile
     Safari and especially in-app WebViews (WhatsApp, Instagram, etc.) — it can flash
     stale scrolled content above the header. Drop the blur on small screens and go
     fully opaque instead; visually near-identical, but avoids the glitch entirely. */
  .hdr.solid .bar, .hdr.on-dark.solid .bar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hdr.solid .bar { background: rgb(237, 210, 178); }
  .hdr.on-dark.solid .bar { background: rgb(53, 21, 9); }
}
.hdr.on-dark.solid { color: var(--cream); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand .mark { height: 36px; width: auto; }
.brand .mark-light { display: none; }
.hdr.on-dark .mark-dark { display: none; }
.hdr.on-dark .mark-light { display: block; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); font: 500 14px/1 var(--f-body); letter-spacing: .06em; }
.nav a { position: relative; padding: 8px 0; opacity: .86; transition: opacity .25s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
html[dir="rtl"] .nav a::after { transform-origin: right; }
.nav a:hover, .nav a.on { opacity: 1; }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.tools { display: flex; align-items: center; gap: 10px; justify-self: end; }
.langs { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); }
.hdr.on-dark .langs { border-color: rgba(255, 255, 255, .28); }
.langs button { min-width: 38px; height: 30px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--f-body); letter-spacing: .08em; transition: background .25s, color .25s; }
.langs button.ar { font-family: 'Tajawal', var(--f-body); font-size: 14px; letter-spacing: 0; }
.langs button[aria-pressed="true"] { background: var(--brown); color: var(--cream); }
.hdr.on-dark .langs button[aria-pressed="true"] { background: var(--gold-2); color: var(--brown-2); }
.cart-btn { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; transition: background .25s; }
.cart-btn:hover { background: rgba(90, 37, 16, .09); }
.hdr.on-dark .cart-btn:hover { background: rgba(255, 255, 255, .12); }
.count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--brown); color: var(--cream); font: 500 11px/19px var(--f-body); text-align: center; padding: 0 5px; transform: scale(0); transition: transform .4s var(--ease); }
.count.on { transform: scale(1); }
.hdr.on-dark .count { background: var(--gold-2); color: var(--brown-2); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; inset-inline: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 90; background: var(--tan); padding: 150px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease), visibility 0s .6s; }
.mnav.open { visibility: visible; clip-path: inset(0); transition: clip-path .6s var(--ease); }
.mnav nav { display: grid; gap: 4px; }
.mnav nav a { font: 500 clamp(36px, 10vw, 54px)/1.15 var(--f-display); color: var(--brown); padding: 6px 0; }
.mnav .langs { align-self: flex-start; }

/* story stage */
.story { position: relative; background: var(--tan); }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.panel { position: absolute; inset: 0; overflow: hidden; }
.panel > * { position: relative; }
.p-hero { background: var(--tan); }
.p-about { background: var(--cream); }
.p-best { background: var(--tan); }
.p-reviews { background: var(--brown-2); color: var(--cream); }
.p-reviews .h2 { color: var(--cream); }
.p-reviews .eyebrow { color: var(--gold-3); }
.p-reviews .sub { color: rgba(248, 236, 216, .7); }
.p-hero::before, .p-best::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 55% at 78% 40%, rgba(255, 244, 224, .55), transparent 70%); pointer-events: none; }
.p-reviews::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 15% 0%, rgba(212, 174, 98, .16), transparent 70%); pointer-events: none; }

/* hero */
.hero-grid { height: 100%; padding: calc(var(--hdr) + 26px) var(--pad) 40px; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; max-width: 1720px; margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: 13.5px; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust svg { font-size: 18px; color: var(--gold); }
.hero-visual { position: relative; height: min(100%, 640px); min-height: 380px; }
.arch { position: absolute; inset-block: 0; inset-inline-start: 6%; width: 64%; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--tan-3); box-shadow: 0 40px 70px -40px rgba(60, 24, 10, .65); }
.arch img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 42%; will-change: transform; }
.orb { position: absolute; inset-inline-end: 3%; top: 6%; width: 33%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--tan); box-shadow: 0 24px 50px -28px rgba(60, 24, 10, .7); }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.seal { position: absolute; inset-inline-start: 0; bottom: 14%; width: clamp(96px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--brown-2); color: var(--gold-3); display: grid; place-items: center; box-shadow: 0 18px 36px -18px rgba(60, 24, 10, .8); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal-ring { font: 500 13px var(--f-body); letter-spacing: .21em; text-transform: uppercase; fill: currentColor; }
.seal-core b { direction: ltr; unicode-bidi: isolate; font: 500 clamp(24px, 2.3vw, 34px)/1 var(--f-display); color: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-card { position: absolute; inset-inline-end: 0; bottom: 4%; width: min(300px, 62%); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px; background: rgba(251, 244, 230, .94); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: 0 26px 50px -26px rgba(60, 24, 10, .6); }
.hero-card .th { width: 62px; height: 62px; border-radius: 14px; object-fit: cover; flex: none; }
.hero-card .tx { flex: 1; min-width: 0; }
.hero-card small { display: block; font: 500 10.5px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .hero-card small { letter-spacing: 0; font-size: 12px; }
.hero-card b { display: block; font: 500 19px/1.15 var(--f-display); color: var(--brown); margin: 3px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-card span { font-size: 14px; color: var(--muted); }
.qadd { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; font-size: 20px; transition: transform .35s var(--ease), background .25s; border: 0; padding: 0; cursor: pointer; }
@media (hover: hover) and (pointer: fine) {
  .qadd:not(.stepper):hover { transform: rotate(90deg) scale(1.06); background: var(--brown-2); }
}
.qadd.stepper { width: auto; min-width: 112px; border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 2px; padding-inline: 4px; }
.qadd.stepper .sb { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: inherit; border: 0; padding: 0; cursor: pointer; transition: background .2s; }
@media (hover: hover) and (pointer: fine) {
  .qadd.stepper .sb:hover { background: rgba(255, 255, 255, .16); }
}
.qadd.stepper .sb:disabled { opacity: .35; cursor: not-allowed; }
.qadd.stepper .sb:disabled:hover { background: transparent; }
.qadd.stepper .sn { min-width: 20px; text-align: center; font: 600 14.5px/1 var(--f-body); font-variant-numeric: tabular-nums; }

/* about */
.about-grid { height: 100%; padding: calc(var(--hdr) + 22px) var(--pad) 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 110px); align-items: center; max-width: 1720px; margin-inline: auto; }
.about-media { position: relative; height: min(100%, 620px); min-height: 360px; }
.frame { position: absolute; overflow: hidden; background: var(--tan-3); box-shadow: 0 34px 60px -38px rgba(60, 24, 10, .6); }
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.f1 { inset-block: 0; inset-inline-start: 0; width: 58%; border-radius: 999px 999px 24px 24px; }
.f2 { top: 4%; inset-inline-end: 0; width: 36%; aspect-ratio: 4/5; border-radius: 22px; }
.f3 { bottom: 4%; inset-inline-end: 6%; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 6px solid var(--cream); }
.chips { position: absolute; inset-inline-start: 0; bottom: -2px; display: flex; flex-wrap: wrap; gap: 8px; max-width: 70%; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(251, 244, 230, .94); font: 500 12.5px/1 var(--f-body); letter-spacing: .04em; color: var(--brown); box-shadow: 0 10px 22px -14px rgba(60, 24, 10, .5); }
.about-copy .btn { margin-top: 30px; }

/* best sellers */
.best-wrap { height: 100%; padding: calc(var(--hdr) + 22px) var(--pad) 40px; max-width: 1720px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 40px); }
.best-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.best-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }

/* product card (shared) */
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 22px 44px -32px rgba(60, 24, 10, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); cursor: pointer; }
.card .im { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tan-2); }
.best-grid .card .im { aspect-ratio: 1 / .98; }
.card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 34px 56px -30px rgba(60, 24, 10, .6); }
  .card:hover .im img { transform: scale(1.06); }
}
.card .ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(160deg, var(--tan-2), var(--tan-3)); color: var(--brown); }
.card .ph img { width: 44%; height: auto; opacity: .9; }
.card .ph span { font: 500 20px/1.1 var(--f-display); text-align: center; padding-inline: 14px; }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { padding: 6px 11px; border-radius: 999px; background: var(--brown-2); color: var(--cream); font: 500 10.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] .badge { letter-spacing: 0; font-size: 12px; }
.badge.gold { background: var(--gold-2); color: var(--brown-2); }
.badge.out { background: rgba(255, 255, 255, .92); color: var(--brown-2); }
.card .in { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 18px; flex: 1; }
html[dir="rtl"] .card .in { padding: 16px 18px 16px 16px; }
.card .in > div { min-width: 0; }
.card h3 { font: 500 clamp(18px, 1.5vw, 23px)/1.15 var(--f-display); color: var(--brown); }
html[lang="ar"] .card h3 { font-weight: 700; line-height: 1.35; }
.card .mt { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.card .pr { margin-top: 8px; font: 500 15.5px/1 var(--f-body); color: var(--brown-2); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card .pr s { font-weight: 400; font-size: 13px; color: var(--muted); }
.card .pr small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.card .qadd { width: 46px; height: 46px; }
.card .qadd.stepper { width: auto; min-width: 114px; }
.card.sold .im img { filter: grayscale(.5) opacity(.7); }

/* reviews */
.rev-wrap { height: 100%; padding: calc(var(--hdr) + 22px) var(--pad) 40px; max-width: 1720px; margin-inline: auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 48px); }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rev-score { display: grid; justify-items: end; gap: 6px; }
html[dir="rtl"] .rev-score { justify-items: start; }
.stars { display: inline-flex; gap: 4px; color: var(--gold-2); font-size: 22px; }
.rev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.rev { padding: clamp(24px, 2.2vw, 40px); border-radius: 24px; border: 1px solid rgba(231, 201, 138, .22); background: linear-gradient(170deg, rgba(255, 244, 224, .07), rgba(255, 244, 224, .02)); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.rev blockquote { margin: 0; font: italic 500 clamp(19px, 1.65vw, 27px)/1.34 var(--f-display); color: var(--cream); }
html[lang="ar"] .rev blockquote { font-style: normal; font-weight: 400; line-height: 1.7; }
.rev footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev cite { font: 500 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--gold-3); }
html[lang="ar"] .rev cite { letter-spacing: 0; font-size: 15px; }
.rev .stars { font-size: 16px; }
.rev-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stats { display: flex; gap: clamp(24px, 4vw, 70px); flex-wrap: wrap; }
.stats li { display: grid; gap: 4px; }
.stats b { font: 500 clamp(30px, 3vw, 48px)/1 var(--f-display); color: var(--gold-3); }
.stats span { font-size: 13px; color: rgba(248, 236, 216, .68); }

/* dots */
.dots { position: absolute; inset-inline-end: clamp(12px, 1.6vw, 26px); top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 14px; }
.dots button { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; transition: opacity .3s, background .3s, transform .3s; color: var(--brown); }
.dots.on-dark button { color: var(--cream); }
.dots button.on { background: currentColor; opacity: 1; transform: scale(1.15); }
.dots button::after { content: attr(data-label); position: absolute; inset-inline-end: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 500 11.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .25s; }
.dots button:hover { opacity: 1; }
.dots button:hover::after { opacity: 1; }

/* shop */
.wrap { max-width: 1520px; margin-inline: auto; padding-inline: var(--pad); }
.shop { background: var(--paper); padding-block: clamp(70px, 9vw, 140px); position: relative; z-index: 2; }
.sec-head { margin-bottom: clamp(28px, 4vw, 52px); }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 14px; border-block: 1px solid var(--line); }
.chips-f { display: flex; gap: 8px; flex-wrap: wrap; }
.chips-f button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 13.5px/1 var(--f-body); letter-spacing: .04em; color: var(--brown); transition: background .25s, color .25s, border-color .25s; }
.chips-f button:hover { background: rgba(90, 37, 16, .07); }
.chips-f button[aria-selected="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.sort { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.sort select { height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; padding: 0 34px 0 16px; font: 500 13.5px var(--f-body); color: var(--brown); appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%235A2510' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
html[dir="rtl"] .sort select { padding: 0 16px 0 34px; background-position: left 14px center; }
.count-line { margin: 20px 0 22px; font-size: 13.5px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 262px), 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.shop .card { background: var(--cream); }

/* visit + community */
.visit { background: var(--tan-2); padding-block: clamp(60px, 8vw, 120px); position: relative; z-index: 2; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.room { padding: 28px; border-radius: 22px; background: var(--paper); display: grid; gap: 14px; align-content: space-between; min-height: 190px; box-shadow: 0 22px 44px -34px rgba(60, 24, 10, .5); }
.room svg { font-size: 26px; color: var(--gold); }
.room h3 { font: 500 26px/1.1 var(--f-display); color: var(--brown); }
.room p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.room a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: 14px; color: var(--brown); }
.room a .arr { width: 16px; height: 16px; }
html[dir="rtl"] .room a .arr { transform: scaleX(-1); }
.community { background: var(--tan); padding-block: clamp(60px, 8vw, 120px); position: relative; z-index: 2; }
.com-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 100px); align-items: center; }
.com-list { margin-top: 26px; display: grid; gap: 12px; color: var(--muted); font-size: 16.5px; max-width: 36em; }
.com-list li { padding-inline-start: 22px; position: relative; }
.com-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.join { display: grid; gap: 12px; }
.join input { height: 58px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(251, 244, 230, .7); padding: 0 26px; font: 400 16px var(--f-body); color: var(--brown-2); }
.join input::placeholder { color: rgba(60, 24, 10, .5); }
.join .btn { justify-content: center; height: 58px; }
.join-msg { min-height: 22px; font-size: 14px; color: var(--brown); }
.join-msg.err { color: #9b2c1a; }

/* footer */
.ftr { background: var(--brown-2); color: var(--cream); padding-block: clamp(50px, 6vw, 90px) 28px; position: relative; z-index: 2; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.ftr-brand .mark { height: 64px; width: auto; margin-bottom: 14px; }
.ftr-brand .wm { font-size: 36px; color: var(--cream); }
.ftr-brand .tag { margin-top: 12px; color: rgba(248, 236, 216, .66); max-width: 22em; }
.ftr-col { display: grid; gap: 10px; align-content: start; font-size: 15px; color: rgba(248, 236, 216, .78); }
.ftr-col h4 { font: 500 12px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 8px; }
html[lang="ar"] .ftr-col h4 { letter-spacing: .03em; font-size: 14px; }
.ftr-col a:hover { color: var(--gold-3); }
.soc { display: flex; gap: 10px; }
.soc a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(248, 236, 216, .28); display: grid; place-items: center; font-size: 20px; transition: background .25s, color .25s; }
.soc a:hover { background: var(--gold-2); color: var(--brown-2); border-color: var(--gold-2); }
.ftr-bot { margin-top: clamp(40px, 5vw, 70px); padding-top: 22px; border-top: 1px solid rgba(248, 236, 216, .14); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(248, 236, 216, .56); }
.ftr-bot a:hover { color: var(--gold-3); }

/* whatsapp fab — always bottom right */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 120; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 34px; box-shadow: 0 16px 34px -12px rgba(9, 94, 84, .75), 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.8s var(--ease) infinite; transition: transform .35s var(--ease); }
.wa-tip { position: absolute; right: 74px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--brown-2); color: var(--cream); font: 500 13px/1 var(--f-body); padding: 11px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); direction: inherit; }
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover { transform: scale(1.08); }
  .wa-fab:hover .wa-tip { opacity: 1; transform: translate(0, -50%); }
}
@keyframes pulse { 0% { box-shadow: 0 16px 34px -12px rgba(9, 94, 84, .75), 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 16px 34px -12px rgba(9, 94, 84, .75), 0 0 0 20px rgba(37, 211, 102, 0); } }

/* drawer + modal */
.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(43, 18, 9, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.on { opacity: 1; visibility: visible; transition: opacity .4s; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; z-index: 150; width: min(460px, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(calc(104% * var(--d))); transition: transform .6s var(--ease); box-shadow: -30px 0 60px -30px rgba(43, 18, 9, .5); }
html[dir="rtl"] .drawer { box-shadow: 30px 0 60px -30px rgba(43, 18, 9, .5); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 14px; }
.drawer-head h3 { font: 500 30px/1 var(--f-display); color: var(--brown); }
.ship-meter { padding: 0 24px 18px; border-bottom: 1px solid var(--line); }
.ship-meter p { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.ship-meter p b { color: var(--brown); font-weight: 500; }
.bar-track { height: 6px; border-radius: 6px; background: rgba(90, 37, 16, .12); overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .7s var(--ease); }
html[dir="rtl"] .bar-track i { margin-inline-start: auto; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; overscroll-behavior: contain; }
.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 60px 10px; color: var(--muted); }
.empty img { width: 70px; opacity: .8; }
.empty h4 { font: 500 26px/1.1 var(--f-display); color: var(--brown); }
.empty .btn { margin-top: 16px; }
.line { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line .th { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; background: var(--tan-2); }
.line .thph { width: 74px; height: 74px; border-radius: 14px; background: var(--tan-2); display: grid; place-items: center; }
.line .thph img { width: 46px; }
.line h4 { font: 500 18px/1.2 var(--f-display); color: var(--brown); }
.line .mt { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.line .cn { font-size: 12px; color: var(--gold); margin-top: 4px; }
.line .rm { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 8px; }
.line .rm:hover { color: var(--brown); }
.line .tot { font-weight: 500; font-size: 15px; text-align: end; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 36px; margin-top: 10px; }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; font-size: 16px; border-radius: 50%; }
.qty button:hover { background: rgba(90, 37, 16, .08); }
.qty span { min-width: 26px; text-align: center; font-weight: 500; font-size: 14px; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--cream); display: grid; gap: 14px; }
.promo { display: flex; gap: 8px; }
.promo input { flex: 1; min-width: 0; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); padding: 0 18px; font: 400 14px var(--f-body); text-transform: uppercase; letter-spacing: .06em; color: var(--brown-2); }
.promo input::placeholder { text-transform: none; letter-spacing: 0; color: rgba(60, 24, 10, .45); }
.promo button { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--brown); font: 500 13.5px var(--f-body); color: var(--brown); }
.promo button:hover { background: var(--brown); color: var(--cream); }
.promo-msg { font-size: 12.5px; min-height: 0; color: var(--brown); }
.promo-msg.err { color: #9b2c1a; }
.sums { display: grid; gap: 8px; font-size: 14.5px; }
.sums div { display: flex; justify-content: space-between; color: var(--muted); }
.sums .g { color: #4c6b2f; }
.sums .t { color: var(--brown-2); font-weight: 500; font-size: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.drawer-foot .btn { justify-content: center; width: 100%; }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; background: rgba(43, 18, 9, .55); backdrop-filter: blur(4px); transition: opacity .35s, visibility 0s .35s; overflow: auto; }
.modal.open { visibility: visible; opacity: 1; transition: opacity .35s; }
.modal-card { position: relative; background: var(--paper); border-radius: 28px; width: 100%; max-height: calc(100dvh - 32px); overflow: auto; transform: translateY(24px) scale(.98); transition: transform .55s var(--ease); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.modal.open .modal-card { transform: none; }
.modal-x { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5; background: rgba(251, 244, 230, .9); }
.pm-card { max-width: 1000px; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm-img { background: var(--tan-2); min-height: 460px; }
.pm-img img { width: 100%; height: 100%; object-fit: cover; }
.pm-img .ph { height: 100%; min-height: 460px; display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(160deg, var(--tan-2), var(--tan-3)); }
.pm-img .ph img { width: 40%; height: auto; }
.pm-info { padding: clamp(26px, 3.4vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.pm-info .col { font: 500 12px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .pm-info .col { letter-spacing: 0; font-size: 14px; }
.pm-info h3 { font: 500 clamp(30px, 3.2vw, 44px)/1.05 var(--f-display); color: var(--brown); }
html[lang="ar"] .pm-info h3 { font-weight: 700; line-height: 1.3; }
.pm-info .pp { font: 500 22px var(--f-body); color: var(--brown-2); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pm-info .pp s { font-size: 15px; color: var(--muted); font-weight: 400; }
.pm-info .d { color: var(--muted); line-height: 1.7; }
.pm-info .stock { font-size: 13px; color: #4c6b2f; }
.pm-info .stock.low { color: #a3601c; }
.pm-info .stock.out { color: #9b2c1a; }
.pm-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.pm-row .qty { margin: 0; height: 54px; }
.pm-row .qty button { width: 46px; height: 52px; }
.pm-row .btn { flex: 1; justify-content: center; min-width: 190px; }
.pm-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 500; font-size: 14.5px; color: var(--brown); transition: background .25s; }
.pm-wa svg { color: #25D366; font-size: 22px; }
.pm-wa:hover { background: rgba(37, 211, 102, .1); }
.pm-note { font-size: 12.5px; color: var(--muted); }

/* checkout */
.co-card { max-width: 1040px; }
.co { display: grid; grid-template-columns: 1.15fr .85fr; }
.co-form { padding: clamp(24px, 3.2vw, 48px); display: grid; gap: 22px; align-content: start; }
.co-form h3 { font: 500 clamp(28px, 3vw, 40px)/1.05 var(--f-display); color: var(--brown); }
.co-back { justify-self: start; font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.fs { display: grid; gap: 12px; }
.fs > h5, .pay-head > h5 { font: 500 12px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0; }
html[lang="ar"] .fs > h5, html[lang="ar"] .pay-head > h5 { letter-spacing: 0; font-size: 14px; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 13px; color: var(--muted); }
.fld input, .fld textarea, .fld select { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--cream); padding: 0 16px; font: 400 15.5px var(--f-body); color: var(--brown-2); transition: border-color .25s, box-shadow .25s; }
.fld textarea { height: 84px; padding: 12px 16px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(185, 138, 62, .2); }
.fld.bad input, .fld.bad textarea { border-color: #b23a25; }
.fld .er { display: none; font-size: 12px; color: #b23a25; }
.fld.bad .er { display: block; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--cream); font-size: 14.5px; transition: border-color .25s, background .25s, box-shadow .25s; }
.opt span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.opt input:checked + span { border-color: var(--brown); background: #fff8ea; box-shadow: 0 0 0 1px var(--brown); }
.opt input:checked + span::before { border-color: var(--brown); background: var(--brown); box-shadow: inset 0 0 0 3px #fff8ea; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-ic { width: 18px; height: 18px; flex: none; color: var(--brown); }
.pay-brands { margin-inline-start: auto; font-size: 10px; font-weight: 700; letter-spacing: .03em; color: var(--muted); text-transform: uppercase; font-style: normal; white-space: nowrap; }
.pay-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.pay-lock { width: 13px; height: 13px; flex: none; color: var(--muted); }
@media (max-width: 420px) { .pay-brands { display: none; } }
.co-side { background: var(--cream); padding: clamp(24px, 3vw, 44px); border-inline-start: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.co-side h5 { font: 500 26px/1 var(--f-display); color: var(--brown); margin: 0; }
.mini { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.mini img, .mini .thph { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--tan-2); }
.mini .thph { display: grid; place-items: center; } .mini .thph img { width: 34px; height: auto; }
.mini b { font-weight: 500; color: var(--brown); display: block; font-family: var(--f-display); font-size: 17px; line-height: 1.15; }
.mini small { color: var(--muted); }
.done { padding: clamp(34px, 5vw, 70px); display: grid; justify-items: center; text-align: center; gap: 16px; max-width: 620px; margin-inline: auto; }
.done .tick { width: 74px; height: 74px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; font-size: 34px; }
.done h3 { font: 500 clamp(30px, 3.4vw, 46px)/1.05 var(--f-display); color: var(--brown); }
.done p { color: var(--muted); }
.btn-wa { background: #25D366; color: #06331c; box-shadow: 0 14px 30px -14px rgba(9, 94, 84, .8); }
@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover { background: #2fe174; transform: translateY(-2px); }
}
.btn-wa svg { font-size: 22px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; background: var(--brown-2); color: var(--cream); padding: 14px 22px; border-radius: 999px; font: 500 14px/1 var(--f-body); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* flow mode (mobile / short screens): panels stack as normal sections */
.stage.flow { height: auto; overflow: visible; }
.stage.flow .panel { position: relative; inset: auto; overflow: hidden; }
.stage.flow .dots { display: none; }
.stage.flow .hero-grid, .stage.flow .about-grid { height: auto; padding-block: calc(var(--hdr) + 12px) 56px; }
.stage.flow .best-wrap, .stage.flow .rev-wrap { height: auto; padding-block: 64px; }
.stage.flow .p-about .about-grid, .stage.flow .p-best .best-wrap { padding-top: 64px; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .burger { display: block; }
  .best-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr: 100px; }
  .langs { display: none; }
  .mnav .langs { display: flex; }
  .hero-grid, .about-grid, .com-grid, .pm, .co { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin-top: 8px; }
  .about-media { height: 460px; }
  .rev-grid { grid-template-columns: 1fr; }
  .best-head, .rev-head { flex-direction: column; align-items: flex-start; }
  .rev-score { justify-items: start; }
  .pm-img, .pm-img .ph { min-height: 300px; height: 320px; }
  .co-side { border-inline-start: 0; border-top: 1px solid var(--line); order: -1; }
  .display { font-size: clamp(40px, 11vw, 64px); }
  .wa-tip { display: none; }
}
@media (max-width: 560px) {
  .announce { font-size: 11px; letter-spacing: .05em; }
  .brand .wm { font-size: 23px; }
  .best-grid { gap: 10px; }
  .card .in { padding: 12px; flex-direction: column; align-items: stretch; gap: 10px; }
  html[dir="rtl"] .card .in { padding: 12px; }
  .card .qadd { width: 100%; height: 40px; border-radius: 12px; }
  .card .qadd.stepper { padding-inline: 8px; }
  .card .qadd.stepper .sb { width: 32px; height: 32px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts, .two { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .wa-fab { right: 14px; bottom: 14px; width: 56px; height: 56px; font-size: 30px; }
  .hero-card { width: 88%; }
  .cta-row .btn { flex: 1; justify-content: center; }
  .chips { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ---- editable visibility (theme editor toggles) ---- */
body.h-seal .seal, body.h-heroCard .hero-card, body.h-trust .trust, body.h-stats .stats, body.h-waFab .wa-fab, body.h-adminLink .ftr-bot a { display: none !important; }
body.h-shop #shop, body.h-visit #visit, body.h-community #community { display: none !important; }
body.h-shop [data-go="shop"] { display: none !important; }
body.h-visit [data-go="visit"] { display: none !important; }

/* ---- theme editor preview ---- */
.is-editor [data-sec] { cursor: pointer; }
.is-editor [data-sec].sec-hover { outline: 2px solid #3b82f6; outline-offset: -2px; }
#edLabel { position: fixed; top: 8px; left: 50%; transform: translateX(-50%); z-index: 9999; background: #3b82f6; color: #fff; font: 600 12px/1 -apple-system, 'Segoe UI', sans-serif; padding: 6px 10px; border-radius: 6px; pointer-events: none; opacity: 0; transition: opacity .12s; }
#edLabel.on { opacity: 1; }

/* ---- catalogue import: transparent product cut-outs, price on request, options, 360° viewer ---- */
.card .im img.cut { object-fit: contain; padding: 8% 7%; }
.pm-img { position: relative; overflow: hidden; }
.pm-img img.cut { object-fit: contain; padding: 7%; max-height: 640px; }
.line .th.cut, .mini img.cut { object-fit: contain; padding: 4px; }
.hero-card .th { object-fit: contain; }
.card .pr .ask, .pm-info .pp .ask { font: italic 500 1.06em/1.1 var(--f-display); color: var(--brown); letter-spacing: .01em; }
.pm-info .pp .ask { font-size: 26px; }
html[lang="ar"] .card .pr .ask, html[lang="ar"] .pm-info .pp .ask { font-style: normal; font-family: var(--f-body); }
.qadd.view .arr { width: 18px; height: 18px; }
html[dir="rtl"] .qadd.view .arr { transform: scaleX(-1); }
.qadd.view .vt { display: none; }
@media (hover: hover) and (pointer: fine) { .qadd.view:hover { transform: translateX(3px); } html[dir="rtl"] .qadd.view:hover { transform: translateX(-3px); } }
.pm-meta { color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; }
.pm-meta .ref { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .pm-meta .ref { letter-spacing: 0; }
.pm-opts { display: grid; gap: 8px; }
.pm-opts .lbl { font: 500 11.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .pm-opts .lbl { letter-spacing: 0; font-size: 13px; }
.chips-o { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-o button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--brown); font: 500 13.5px/1.2 var(--f-body); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chips-o button[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.chips-o button:disabled { cursor: default; opacity: 1; }
@media (hover: hover) and (pointer: fine) { .chips-o button:not([aria-pressed="true"]):not(:disabled):hover { background: rgba(90, 37, 16, .07); } }
.sw { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.sw-N { background: #3b1c0f; } .sw-L { background: #8b5a36; } .sw-B { background: #f4e7cf; } .sw-G { background: linear-gradient(135deg, #e2bd7c, #b98a3e); }
.chips-o button[aria-pressed="true"] .sw { box-shadow: 0 0 0 2px var(--cream); }
.pm-ask { justify-content: center; width: 100%; margin-top: 4px; }
.more-wrap { display: flex; justify-content: center; margin-top: clamp(26px, 4vw, 44px); }
.more-wrap:empty { display: none; }
.badge.b360 { background: rgba(251, 244, 230, .94); color: var(--brown-2); }
.pm-img.is3d { cursor: grab; touch-action: pan-y; }
.pm-img.is3d:active { cursor: grabbing; }
.pm-img .stage3d { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.pm-img.ready .stage3d { opacity: 1; }
.pm-img .stage3d canvas { display: block; width: 100% !important; height: 100% !important; }
.pm-img.is3d.ready > img { opacity: 0; }
.pm-img > img { transition: opacity .5s; }
.hint3d { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: rgba(251, 244, 230, .88); color: var(--brown); font: 500 12px/1 var(--f-body); letter-spacing: .06em; pointer-events: none; transition: opacity .6s; }
.pm-img.touched .hint3d { opacity: 0; }
@media (max-width: 560px) {
  .card .qadd.view { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .card .qadd.view .vt { display: inline; font: 500 13px/1 var(--f-body); }
  .card .im img.cut { padding: 6%; }
}

/* ---- shop by sections: most popular first, then the catalogue chapters ---- */
.shop { --railpad: max(var(--pad), calc((100vw - 1520px) / 2 + var(--pad))); }
.shop > .wrap .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
.shop-nav { position: sticky; top: var(--hdr); z-index: 40; background: rgba(251, 244, 230, .9); backdrop-filter: blur(12px) saturate(1.15); -webkit-backdrop-filter: blur(12px) saturate(1.15); border-block: 1px solid var(--line); }
.shop-nav-in { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--railpad); scrollbar-width: none; scroll-behavior: smooth; }
.shop-nav-in::-webkit-scrollbar { display: none; }
.shop-nav button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--brown); font: 500 13.5px/1 var(--f-body); letter-spacing: .02em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.shop-nav button svg { width: 13px; height: 13px; color: var(--gold); transition: color .3s; }
.shop-nav button[aria-current="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }
.shop-nav button[aria-current="true"] svg { color: var(--gold-3); }
@media (hover: hover) and (pointer: fine) { .shop-nav button:not([aria-current="true"]):hover { background: rgba(90, 37, 16, .07); } }
.ss { position: relative; padding-block: clamp(48px, 6vw, 92px) clamp(36px, 4.5vw, 64px); overflow-x: clip; }
.ss + .ss { border-top: 1px solid var(--line); }
.ss-pop { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.ss-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: clamp(14px, 2.4vw, 40px); }
.ss-num { font: 400 clamp(84px, 11vw, 186px)/.78 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--gold); letter-spacing: -.02em; user-select: none; will-change: transform; }
.ss-num.star { display: grid; place-items: center; width: clamp(70px, 8vw, 128px); aspect-ratio: 1; border: 1.2px solid var(--gold); border-radius: 50%; }
.ss-num.star svg { width: 38%; height: 38%; color: var(--gold); }
.ss-eye { font: 500 12px/1.2 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
html[lang="ar"] .ss-eye { letter-spacing: 0; font-size: 14px; }
.ss-h { font: 400 clamp(40px, 5.4vw, 88px)/1 var(--f-display); color: var(--brown); }
html[lang="ar"] .ss-h { font-weight: 700; line-height: 1.25; }
.ss-ctrl { display: flex; gap: 10px; padding-bottom: 6px; }
.ss-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--brown); display: grid; place-items: center; cursor: pointer; transition: background .3s, opacity .3s, transform .3s var(--ease); }
.ss-ctrl button:disabled { opacity: .28; cursor: default; }
.ss-ctrl .arr { width: 20px; height: 20px; }
.ss-ctrl .arr.back, html[dir="rtl"] .ss-ctrl .arr:not(.back) { transform: scaleX(-1); }
html[dir="rtl"] .ss-ctrl .arr.back { transform: none; }
@media (hover: hover) and (pointer: fine) { .ss-ctrl button:not(:disabled):hover { background: var(--brown); color: var(--cream); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(232px, 21vw, 300px); gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--railpad); padding: clamp(26px, 3vw, 40px) var(--railpad) 34px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail > .card { scroll-snap-align: start; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging .card { pointer-events: none; }
.rail img { -webkit-user-drag: none; user-select: none; }
.ss .card { background: var(--cream); }
.ss-pop .card { background: var(--paper); }
.ss-foot { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rail-prog { position: relative; flex: 1; max-width: 340px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-prog i { position: absolute; top: 0; inset-inline-start: 0; height: 100%; width: 30%; background: var(--brown); border-radius: 2px; transition: transform .25s linear; }
.ss.no-ovf .rail-prog, .ss.no-ovf .ss-ctrl { visibility: hidden; }
.ss-next { display: inline-flex; align-items: center; gap: 16px; margin-inline-start: auto; background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: end; color: var(--brown); }
.ss-next .k { display: block; font: 500 11.5px/1.2 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .ss-next .k { letter-spacing: 0; font-size: 13px; }
.ss-next .v { display: block; font: 400 clamp(22px, 2vw, 30px)/1.1 var(--f-display); }
.ss-next .k + .v { margin-top: 4px; }
.ss-next > span { display: block; }
.ss-next { flex-direction: row; }
.ss-next .ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--brown); color: var(--cream); display: grid; place-items: center; transition: transform .45s var(--ease), background .3s; }
.ss-next .ic .arr { width: 22px; height: 22px; transform: rotate(90deg); }
@media (hover: hover) and (pointer: fine) { .ss-next:hover .ic { transform: translateY(6px); background: var(--brown-2); } }
.ss-next { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.ss-next .k { grid-column: 1; grid-row: 1; align-self: end; }
.ss-next .v { grid-column: 1; grid-row: 2; align-self: start; margin-top: 4px; }
.ss-next .ic { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) {
  .ss-ctrl { display: none; }
  .ss-head { grid-template-columns: auto minmax(0, 1fr); }
  .rail { grid-auto-columns: 64vw; cursor: auto; }
  .ss-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .rail-prog { max-width: none; }
  .ss-next { margin-inline-start: 0; justify-content: space-between; grid-template-columns: 1fr auto; text-align: start; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 18px; }
  .ss-next .ic { width: 48px; height: 48px; }
}
.co-err { color: #9b2c1a; font-size: 13.5px; margin: 0 0 10px; min-height: 0; }
.co-err:empty { display: none; }
.btn.busy { opacity: .6; pointer-events: none; }

/* ---------- payment (gateway-style) ---------- */
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-test { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 99px; border: 1px dashed var(--gold); color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-m { position: relative; }
.pay-m input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pay-in { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--cream); transition: border-color .25s, background .25s, box-shadow .25s, transform .25s var(--ease); }
.pay-in b { font-weight: 500; font-size: 14px; line-height: 1.2; align-self: end; }
.pay-in small { grid-column: 2; font-size: 11px; color: var(--muted); line-height: 1.3; align-self: start; }
.pay-in small:empty { display: none; }
.pay-in b:only-of-type { grid-row: span 1; }
.pay-mark { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brown); color: var(--gold-3); font: 600 11px/1 var(--f-body); letter-spacing: .02em; font-style: normal; }
.pay-mark svg { width: 18px; height: 18px; }
.pay-card .pay-mark, .pay-cod .pay-mark { background: transparent; color: var(--brown); border: 1px solid var(--line-2); }
.pay-m:hover .pay-in { border-color: var(--brown); }
.pay-m input:checked + .pay-in { border-color: var(--brown); background: #fff8ea; box-shadow: 0 0 0 1px var(--brown), 0 10px 24px -16px rgba(60, 24, 10, .5); }
.pay-m input:focus-visible + .pay-in { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay-detail { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 248, 234, .6); border: 1px solid var(--line); }
.pay-detail .fld { margin-bottom: 6px; }
.pay-sub { font-size: 12.5px; color: var(--muted); margin: 0; }
.pay-fs .pay-note { margin-top: 12px; }
.co-submit { gap: 10px; }
.co-submit .pay-lock { color: currentColor; width: 15px; height: 15px; }
.proc { padding: clamp(50px, 8vw, 110px) 24px; display: grid; justify-items: center; text-align: center; gap: 12px; }
.proc h3 { font: 500 clamp(28px, 3vw, 40px)/1.1 var(--f-display); color: var(--brown); }
.proc p { color: var(--muted); }
.proc .proc-amt { font: 500 22px/1 var(--f-body); color: var(--brown-2); margin: 4px 0 6px; }
.proc-ring { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: var(--brown); }
.proc-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--brown); animation: procspin 1s linear infinite; }
.proc-ring svg { width: 24px; height: 24px; }
@keyframes procspin { to { transform: rotate(360deg); } }
.done-sum { width: 100%; max-width: 420px; margin: 6px 0 10px; padding: 6px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff8ea; }
.done-sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.done-sum div:last-child { border-bottom: 0; }
.done-sum dt { color: var(--muted); }
.done-sum dd { margin: 0; color: var(--brown-2); font-weight: 500; text-align: end; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .proc-ring::before { animation-duration: 3s; } }
