/* the site's own colours: rose, plum ink, cream, gold */
:root { --rose: #e00672; --rose-d: #b0004f; --ink: #2b1b2e; --mute: #8a7a86; --cream: #fbf6f3; --line: #ecdbe3; --gold: #c9a24a;
  --sans: "Tajawal", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; --serif: "Cormorant Garamond", "Amiri", Georgia, serif; --ease: cubic-bezier(.22,.8,.2,1); }
:lang(ar) { --serif: "Amiri", "Cormorant Garamond", serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #f3ebe6; color: var(--ink); font-family: var(--sans); overscroll-behavior: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
/* lens vignette: the edges of the picture fall off a little, like a real camera */
.vig { position: fixed; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(ellipse 85% 80% at 50% 48%, transparent 55%, rgba(43, 27, 46, 0.22) 100%); }
body.story .vig { display: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

.top { position: fixed; inset: 0 0 auto; z-index: 5; display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { text-decoration: none; color: var(--ink); font-size: 19px; font-weight: 800; direction: ltr; display: flex; align-items: baseline; gap: 4px; background: #ffffffd9; padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 12px #2b1b2e14; }
.brand b { color: var(--rose); }
.brand small { font-size: 10px; font-weight: 500; color: var(--mute); margin-inline-start: 6px; }
.cats { margin-inline: auto; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ffffffd9; box-shadow: 0 2px 12px #2b1b2e14; max-width: 56vw; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button { white-space: nowrap; font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px; color: var(--mute); transition: .3s var(--ease); }
.cats button.on { background: var(--rose); color: #fff; box-shadow: 0 4px 12px #e0067244; }
.actions { display: flex; gap: 8px; }
.chip { background: #ffffffe6; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; color: var(--ink); text-decoration: none; box-shadow: 0 2px 12px #2b1b2e14; display: inline-flex; align-items: center; gap: 6px; }
.cart b { min-width: 22px; padding: 1px 6px; border-radius: 999px; background: var(--rose); color: #fff; text-align: center; }
.cart.bump { animation: bump .6s var(--ease); }
@keyframes bump { 35% { transform: scale(1.16); } }

.hint { position: fixed; z-index: 4; top: 70px; left: 50%; transform: translateX(-50%); background: #2b1b2ecc; color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; pointer-events: none; white-space: nowrap; }
.label { position: fixed; z-index: 3; transform: translate(-50%, -100%); pointer-events: none; text-align: center; background: #fff; border-radius: 14px; padding: 8px 14px; box-shadow: 0 8px 24px #2b1b2e26; animation: pop .3s var(--ease); }
.label::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.label b { display: block; font-size: 14px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.label span { display: block; font-size: 13px; font-weight: 800; color: var(--rose); direction: ltr; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -90%); } }


/* product story: scroll down to watch it form, then order */
.story { position: fixed; inset: 0; z-index: 7; }
.svideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sscroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; z-index: 1; touch-action: pan-y; scroll-behavior: smooth; overscroll-behavior: contain; }
.sbar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: max(64px, calc(env(safe-area-inset-top) + 58px)) 18px 8px; pointer-events: none; }
.sbar > * { pointer-events: auto; }
.sbar .chip i { font-style: normal; display: inline-block; }
[dir=rtl] .sbar .chip i { transform: scaleX(-1); }
.spager { display: flex; align-items: center; gap: 10px; direction: ltr; background: #ffffffd9; border-radius: 999px; padding: 4px; box-shadow: 0 2px 12px #2b1b2e14; font-size: 13px; font-weight: 700; color: var(--mute); }
.spager button { width: 34px; height: 34px; border-radius: 50%; background: #fff; font-size: 18px; color: var(--ink); }
.ssec { min-height: 100vh; display: flex; align-items: center; padding: 0 6vw; }
.ssec .sbox { width: min(420px, 38vw); opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.ssec.in .sbox { opacity: 1; transform: none; }
.ssec.hero { min-height: calc(100vh - 110px); }
.story h1 { margin: 0 0 12px; font: 600 clamp(34px, 4.6vw, 62px)/1.05 var(--serif); }
.story h2 { margin: 0 0 14px; font: 600 clamp(26px, 3vw, 40px)/1.1 var(--serif); }
.story h1 em, .story h2 em { font-style: italic; color: var(--rose); }
:lang(ar) .story h1 em { font-style: normal; }
.shint { color: var(--mute); font-size: 14px; letter-spacing: .04em; }
.sarrow { font-size: 22px; color: var(--rose); animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }
.ings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ings li { display: flex; align-items: center; gap: 12px; background: #ffffffcc; backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 14px; font-weight: 700; box-shadow: 0 4px 16px #2b1b2e10; }
.ings li span { font-size: 22px; }
.ings li img { width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 4px #2b1b2e30); }
.sdesc { font-size: 15px; line-height: 1.8; color: #5a4a56; background: #ffffffb3; backdrop-filter: blur(8px); border-radius: 18px; padding: 14px 16px; margin: 0; }
.ssec.last { min-height: 100vh; }
.sbox.card { background: #fffffff2; backdrop-filter: blur(14px); border-radius: 28px; padding: 22px; box-shadow: 0 24px 60px #2b1b2e26; }
.specs { display: flex; gap: 8px; margin-bottom: 14px; }
.specs span { flex: 1; background: #faf2f5; border-radius: 14px; padding: 8px 12px; }
.specs i { display: block; font-style: normal; font-size: 11px; color: var(--mute); }
.specs b { font-size: 14px; }
.price { margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; direction: ltr; }
[dir=rtl] .price { justify-content: flex-end; }
.price b { font-size: 28px; font-weight: 800; }
.price s { color: var(--mute); }
.price span:not(:empty) { background: var(--rose); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.buy { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 38px; height: 44px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.btn { flex: 1; display: block; border-radius: 16px; padding: 13px 16px; background: var(--rose); color: #fff; font-weight: 800; font-size: 15px; text-align: center; box-shadow: 0 8px 20px #e0067244; transition: transform .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; box-shadow: none; }
.more { display: flex; gap: 16px; font-size: 13px; font-weight: 700; }
.more a, .more button { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rose); }
.sfade { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: 0; transition: opacity .38s var(--ease); background: radial-gradient(circle at 50% 45%, #fffaf7, #f6d9e5); }
.sfade.on { opacity: 1; }
body.story .top .cats, body.story #pad, body.story #hint { display: none; }
.credits { margin: 12px 0 0 !important; font-size: 10px; color: var(--mute) !important; }

.spin { position: fixed; inset: 0; z-index: 8; background: #fff; display: grid; place-items: center; }
.spin canvas { width: min(92vw, 640px); height: min(80vh, 640px); touch-action: none; cursor: grab; }

.intro { position: fixed; inset: 0; z-index: 9; display: grid; place-items: safe center; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: radial-gradient(circle at 50% 35%, #fff8fbcc, #f3e3eaee); backdrop-filter: blur(6px); transition: opacity .7s var(--ease), visibility .7s; }
.intro.done { opacity: 0; visibility: hidden; }
.intro .card { width: min(430px, 100%); background: #fff; border-radius: 30px; padding: 28px 24px; text-align: center; box-shadow: 0 24px 60px #2b1b2e26; }
.kicker { margin: 0; color: var(--rose); font-weight: 800; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.intro h1 { margin: 8px 0; font: 600 30px/1.2 var(--serif); }
.intro p { margin: 0 0 10px; line-height: 1.7; color: #5a4a56; }
.how { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; text-align: start; font-size: 14px; }
.how li { background: #faf2f5; border-radius: 12px; padding: 9px 12px; }
.load { height: 5px; border-radius: 99px; background: #f1e3e9; overflow: hidden; margin-top: 12px; }
.load i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rose), var(--gold)); transition: width .25s; }
.btn.big { width: 100%; margin-top: 14px; padding: 15px; font-size: 17px; }

.toast { position: fixed; z-index: 10; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 8px 24px #0005; }
.nojs { position: fixed; inset: 45% 0 auto; text-align: center; }

@media (max-width: 760px) {
  .ssec { align-items: flex-end; padding: 0 16px max(20px, env(safe-area-inset-bottom)); }
  .ssec .sbox { width: 100%; }
  .ssec.hero { min-height: calc(100vh - 120px); }
  .story h1 { font-size: 32px; }
  .story h2 { font-size: 26px; }
  .sbar { padding-top: max(110px, calc(env(safe-area-inset-top) + 104px)); }

  .top { flex-wrap: wrap; row-gap: 8px; padding: max(10px, env(safe-area-inset-top)) 12px 8px; }
  .brand { font-size: 16px; padding: 6px 12px; }
  .brand small { display: none; }
  .cats { order: 3; flex-basis: 100%; max-width: 100%; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01s !important; animation-duration: .01s !important; } }

/* the real shop in 360° */
.btn.big.alt { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #e0067233; }
.chip.mode { background: var(--ink); color: #fff; }
body.pano #pad, body.pano-points .top .cats { display: none; }
body.pano .vig { background: radial-gradient(ellipse 90% 85% at 50% 50%, transparent 60%, rgba(43, 27, 46, 0.25) 100%); }
.pload { position: fixed; inset: 0; z-index: 2; display: grid; place-items: center; pointer-events: none; }
.pload i { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #e0067233; border-top-color: var(--rose); animation: spinr 0.9s linear infinite; }
@keyframes spinr { to { transform: rotate(360deg); } }

/* contact buttons (WhatsApp, Messenger, call…), same channels as the site */
.cfab { position: fixed; z-index: 6; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cfab ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; transition: opacity .25s, transform .25s; opacity: 0; transform: translateY(14px); pointer-events: none; }
.cfab.open ul { opacity: 1; transform: none; pointer-events: auto; }
.cfab a, .cfab .cmain { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 16px #2b1b2e33; border: 2px solid #ffffffb0; }
.cfab .cmain { width: 52px; height: 52px; background: var(--rose); border: 0; cursor: pointer; transition: transform .25s; }
.cfab.open .cmain { background: var(--ink); transform: rotate(90deg); }
body.story .cfab { bottom: auto; top: 120px; }
body.story .cfab .cmain { width: 44px; height: 44px; }
body.story .cfab { flex-direction: column-reverse; }
body.story .cfab ul { transform: translateY(-14px); }
body.story .cfab.open ul { transform: none; }
.cfab .cmain svg.x, .cfab.open .cmain svg:not(.x) { display: none; }
.cfab.open .cmain svg.x { display: block; }

/* ---------- thumbsticks, drawn after a PlayStation controller's sticks ---------- */
.pad { position: fixed; z-index: 4; inset: auto 0 0 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 0 max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-right)); pointer-events: none; transition: opacity .4s; direction: ltr; }
body.focus .pad, body.gamepad .pad { opacity: 0; pointer-events: none; }
body.focus .pad .stick, body.gamepad .pad .stick { pointer-events: none; }
.stick { --s: 128px; position: relative; width: var(--s); height: var(--s); border-radius: 50%; pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab;
  background: radial-gradient(circle at 50% 42%, #ffffffee 0 52%, #f4eef3e6 53% 64%, #ffffffcc 65% 100%);
  box-shadow: 0 10px 28px #2b1b2e33, inset 0 2px 0 #fff, inset 0 -6px 14px #2b1b2e14; }
.stick .ring { position: absolute; inset: 17%; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2b2b33, #121217 70%); box-shadow: inset 0 4px 10px #000a, 0 1px 0 #fff; }
.stick i { position: absolute; left: 50%; top: 50%; width: 46%; height: 46%; margin: -23% 0 0 -23%; border-radius: 50%; transition: transform .18s cubic-bezier(.2, .9, .3, 1.3);
  background:
    radial-gradient(circle at 50% 50%, transparent 0 30%, #ffffff10 31% 33%, transparent 34%),
    radial-gradient(#ffffff1f 0.9px, transparent 1.3px) 0 0 / 5px 5px,
    radial-gradient(circle at 40% 30%, #4a4a55, #1c1c22 55%, #0d0d10 100%);
  box-shadow: 0 6px 12px #000a, inset 0 -3px 6px #0008, inset 0 2px 3px #ffffff33, 0 0 0 3px #1b1b20; }
.stick.on { cursor: grabbing; }
.stick.on i { transition: none; box-shadow: 0 3px 8px #000a, inset 0 -3px 6px #0008, inset 0 2px 3px #ffffff33, 0 0 0 3px var(--rose); }
.stick .tag { position: absolute; top: -6px; inset-inline-end: -4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--rose); font-size: 12px; font-weight: 900; box-shadow: 0 2px 8px #2b1b2e2a; pointer-events: none; }
.stick.R .tag { inset-inline-end: auto; inset-inline-start: -4px; }
@media (max-width: 380px) { .stick { --s: 112px; } }
@media (min-width: 900px) and (pointer: fine) { .stick { --s: 112px; opacity: .85; } .stick:hover { opacity: 1; } }
/* the contact button sits above the right stick while walking */
body:not(.story):not(.pano):not(.focus):not(.gamepad) .cfab { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 146px); }

/* ---------- staff: name tags, conversation sheet, quick-order tablet ---------- */
.ntags { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.ntag { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; flex-direction: column; align-items: center; background: #ffffffe8; border-radius: 14px; padding: 4px 11px; box-shadow: 0 4px 14px #2b1b2e26; line-height: 1.15; white-space: nowrap; }
.ntag b { font-size: 13px; color: var(--ink); }
.ntag small { font-size: 10px; color: var(--rose); font-weight: 700; }
.ntag::after { content: ""; position: absolute; bottom: -5px; left: 50%; width: 10px; height: 10px; background: #ffffffe8; transform: translateX(-50%) rotate(45deg); }
.talk { position: fixed; z-index: 7; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(560px, calc(100% - 24px)); background: #fffffffa; border-radius: 26px; padding: 14px 16px 16px; box-shadow: 0 18px 50px #2b1b2e33; animation: rise .35s var(--ease); max-height: 62vh; overflow-y: auto; }
.thead { display: flex; align-items: center; gap: 10px; }
.av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 17px; background: var(--rose); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e0067233; }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.who b { font-size: 15px; } .who small { font-size: 11px; color: var(--rose); font-weight: 700; }
.tx, .qx { width: 34px; height: 34px; border-radius: 50%; background: #f6eef2; font-size: 20px; line-height: 1; color: var(--mute); }
.line { margin: 10px 2px 12px; font-size: 15.5px; line-height: 1.75; min-height: 2.2em; color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button { flex: 1 1 auto; min-height: 44px; padding: 9px 14px; border-radius: 16px; background: var(--rose); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px #e0067233; display: flex; align-items: center; justify-content: center; gap: 10px; text-align: start; }
.choices button span { flex: 1; } .choices button em { font-style: normal; font-size: 12.5px; background: #ffffff33; border-radius: 999px; padding: 2px 9px; direction: ltr; white-space: nowrap; }
.choices button.ghost { flex-basis: 100%; background: transparent; color: var(--mute); box-shadow: none; min-height: 36px; font-weight: 700; text-decoration: underline; }
body.talking .pad, body.talking #hint, body.story .talk, body.pano .talk, body.pano .ntags, body.story .ntags { display: none; }
.calladv { position: fixed; z-index: 5; left: 50%; transform: translateX(-50%); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 8px); background: #ffffffeb; color: var(--ink); font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 6px 18px #2b1b2e2a; }
body.focus .calladv, body.story .calladv, body.pano .calladv, body.talking .calladv { display: none; }
.qo { position: fixed; z-index: 8; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 20px)); height: min(680px, calc(100% - 40px)); display: flex; flex-direction: column; background: #1b1b20; border-radius: 30px; padding: 12px; box-shadow: 0 30px 80px #000a; animation: rise2 .35s var(--ease); }
.qo > * { background: #fff; }
.qhead { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 20px 20px 0 0; }
.qhead .av { background: #4a1d45; }
.qhead h2 { flex: 1; margin: 0; font-size: 18px; }
.qgros { margin: 0; padding: 0 14px; font-size: 12.5px; color: var(--mute); }
.qgros:empty { display: none; }
.qgros a { color: var(--rose); font-weight: 800; }
.qo.gros .qgros { padding-bottom: 8px; }
.qsearch { border: 0; border-top: 1px solid #f1e6eb; border-bottom: 1px solid #f1e6eb; padding: 12px 14px; font: inherit; font-size: 15px; outline: none; }
.qlist { flex: 1; overflow-y: auto; padding: 6px 10px; }
.qrow { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid #f6eef2; }
.qrow.on { background: #fdf0f6; border-radius: 12px; }
.qn { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.qn b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qn small { font-size: 12px; color: var(--mute); direction: ltr; text-align: start; }
.qq { display: flex; align-items: center; gap: 6px; direction: ltr; }
.qq button { width: 34px; height: 34px; border-radius: 50%; background: #f6eef2; font-size: 18px; font-weight: 800; color: var(--ink); }
.qq button[data-d="1"] { background: var(--rose); color: #fff; }
.qq span { min-width: 22px; text-align: center; font-weight: 800; }
.qmsg { text-align: center; color: var(--mute); padding: 30px 10px; }
.qfoot { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 0 0 20px 20px; border-top: 1px solid #f1e6eb; }
.qfoot .qtot { flex: 1; direction: ltr; text-align: start; }
.qfoot .btn { flex: none; }
.qfoot .btn:disabled { opacity: .45; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 24px); } }
@keyframes rise2 { from { opacity: 0; transform: translate(-50%, -46%); } }

/* short screens (phone held sideways): the welcome card scrolls and gets more compact */
.intro .card { margin: auto; }
@media (max-height: 560px) {
  .intro .card { padding: 16px 18px; }
  .intro h1 { font-size: 22px; margin: 2px 0; }
  .intro p { margin-bottom: 6px; line-height: 1.5; font-size: 14px; }
  .how { margin: 6px 0; gap: 4px; font-size: 12.5px; }
  .how li { padding: 6px 10px; }
  .talk { max-height: 78vh; padding: 10px 12px 12px; }
  .line { margin: 6px 2px 8px; font-size: 14px; line-height: 1.55; }
  .choices button { min-height: 38px; padding: 7px 12px; }
}
