:root {
  --bg: #0a0a0b;
  --line: rgba(255, 255, 255, .08);
  --text: #f4efe6;
  --muted: #a39e94;
  --gold: #d4a64a;
  --gold-hi: #f3d27a;
  --gold-grad: linear-gradient(135deg, #f6dc8f 0%, #c9952f 42%, #f3d27a 68%, #9c6b16 100%);
  --wa: #25d366;
  --r: 22px;
  --shadow-1: 0 1px 0 rgba(255,255,255,.06) inset, 0 -1px 0 rgba(0,0,0,.6) inset, 0 10px 30px -10px rgba(0,0,0,.8);
  --shadow-2: 0 1px 0 rgba(255,255,255,.08) inset, 0 24px 50px -18px rgba(0,0,0,.95), 0 6px 14px -6px rgba(0,0,0,.7);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --top-h: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 50% at 50% -5%, #2a2216 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
svg .fill { fill: currentColor; stroke: none; }
@media (min-width: 980px) { main { max-width: 1100px; margin: 0 auto; } }

/* ---------- hero: 3D coverflow ---------- */
.hero { position: relative; padding: 22px 0 6px; text-align: center; overflow: hidden; }
.hero-glow { position: absolute; left: 50%; top: 58%; width: 560px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(212,166,74,.25) 0%, rgba(212,166,74,.05) 45%, transparent 70%); pointer-events: none; }
.hero-copy { position: relative; padding: 0 16px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--gold-hi); padding: 6px 14px; border-radius: 999px; background: rgba(212,166,74,.1); border: 1px solid rgba(212,166,74,.28); }
.hero h1 { font-size: clamp(32px, 9.5vw, 54px); line-height: 1.1; margin: 12px 0 0; font-weight: 800; }
.hero h1 em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.flow { position: relative; height: min(118vw, 470px); perspective: 1100px; margin-top: 14px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow-card {
  position: absolute; top: 4%; left: 50%; width: min(64vw, 300px); aspect-ratio: 3 / 4; margin-left: calc(min(64vw, 300px) / -2);
  border-radius: 26px; overflow: hidden; cursor: pointer;
  background: #18181a;
  box-shadow: 0 40px 60px -25px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s, filter .6s;
  -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255,255,255,.18));
  will-change: transform;
}
.flow-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.flow-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(130deg, rgba(255,255,255,.18) 0%, transparent 35%, transparent 70%, rgba(0,0,0,.35)); pointer-events: none; }
.flow-card .tag { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; color: #1a1206; background: var(--gold-grad); }
.flow-caption { position: relative; margin-top: -4px; min-height: 52px; padding: 0 16px; display: grid; gap: 2px; justify-items: center; }
.flow-caption b { font-size: 17px; }
.flow-caption span { color: var(--gold-hi); font-weight: 800; font-size: 18px; direction: ltr; }
.flow-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.flow-dots i { width: 7px; height: 7px; border-radius: 9px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
.flow-dots i.on { width: 22px; background: var(--gold); }

/* ---------- promises ---------- */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 16px 0; }
.promise { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 18px; background: linear-gradient(160deg, #1d1d21, #131315); box-shadow: var(--shadow-1); border: 1px solid var(--line); }
.promise b { display: block; font-size: 13.5px; line-height: 1.25; }
.promise small { color: var(--muted); font-size: 11.5px; }
.p-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #1a1206; background: var(--gold-grad); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 14px -6px rgba(212,166,74,.8); }
.notice { margin: 12px 16px 0; padding: 10px 14px; border-radius: 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--gold-hi); background: rgba(212,166,74,.08); border: 1px dashed rgba(212,166,74,.35); }

/* ---------- sections ---------- */
.section { padding: 30px 16px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.sec-head h2 { margin: 0; font-size: 22px; font-weight: 800; position: relative; padding-inline-start: 14px; }
.sec-head h2::before { content: ''; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: var(--gold-grad); }
.see-all { flex: none; display: flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--gold-hi); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(212,166,74,.3); background: none; cursor: pointer; }
.see-all svg { width: 16px; height: 16px; }
.count { color: var(--muted); font-size: 13px; }

/* category tiles — real photos with depth */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; perspective: 1000px; }
.cat {
  position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1.15;
  box-shadow: var(--shadow-2); border: 1px solid var(--line); background: #151517;
  transform-style: preserve-3d; transition: transform .3s ease;
}
.cat.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.cat img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; transition: transform .6s ease; }
.cat:hover img, .cat:active img { transform: scale(1.06); }
.cat::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); }
.cat::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: 0 0 0 1px rgba(212,166,74,.0) inset; transition: box-shadow .3s; }
.cat:hover::after { box-shadow: 0 0 0 1.5px rgba(212,166,74,.7) inset; }
.cat .cat-txt { position: absolute; z-index: 2; bottom: 14px; inset-inline: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; transform: translateZ(30px); }
.cat .cat-txt b { display: block; font-size: 19px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.cat .cat-txt small { color: #e5dccb; font-size: 12.5px; }
.cat .go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #1a1206; background: var(--gold-grad); box-shadow: 0 8px 18px -6px rgba(0,0,0,.8); }
.cat .go svg { width: 18px; height: 18px; stroke-width: 2.4; }

/* per-category horizontal rows */
.row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -16px; padding: 4px 16px 18px; perspective: 1000px; }
.row::-webkit-scrollbar { display: none; }
.row .card { flex: none; width: min(46vw, 230px); scroll-snap-align: start; }
.row-empty { color: var(--muted); font-size: 14px; padding: 6px 0 12px; }

/* ---------- product cards ---------- */
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 50px; border-radius: 16px; margin-bottom: 12px; background: linear-gradient(180deg, #0e0e10, #18181b); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0,0,0,.6) inset; color: var(--muted); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 700; background: #151517; color: var(--muted); }
.filters button[aria-selected="true"] { color: #1a1206; background: var(--gold-grad); border-color: transparent; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; perspective: 1000px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 1px solid var(--line);
  background: linear-gradient(170deg, #1f1f23, #121214); box-shadow: var(--shadow-2);
  transform-style: preserve-3d; transition: transform .2s ease;
}
.card:active { transform: scale(.98); }
.card .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1a1a1c; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .ph img { transform: scale(1.05); }
.card .ph img.noimg { object-fit: contain; padding: 22%; opacity: .5; }
.card .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,.35)); pointer-events: none; }
.card .info { padding: 10px 12px 12px; }
.card h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price b { font-size: 16.5px; font-weight: 800; color: var(--gold-hi); direction: ltr; unicode-bidi: isolate; }
.price b small { font-size: 11px; color: var(--gold); font-weight: 700; margin-inline-start: 3px; }
.price s { font-size: 12px; color: var(--muted); direction: ltr; unicode-bidi: isolate; }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; color: #1a1206; background: var(--gold-grad); box-shadow: 0 4px 10px rgba(0,0,0,.5); }
.badge.out { background: #3a3a3f; color: #ddd; }
.card.sold .ph img { filter: grayscale(.85) brightness(.7); }
.skeleton { aspect-ratio: 1 / 1.55; border-radius: var(--r); background: linear-gradient(100deg, #151517 30%, #1f1f23 50%, #151517 70%); background-size: 300% 100%; animation: sk 1.3s infinite; }
@keyframes sk { to { background-position: -150% 0; } }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }
.reveal { opacity: 0; transform: translateY(24px) rotateX(10deg); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.footer { text-align: center; padding: 48px 16px calc(110px + var(--safe-b)); display: grid; justify-items: center; gap: 6px; }
.footer p { margin: 0; font-weight: 700; }
.muted { color: var(--muted); font-weight: 400 !important; }
.foot-links { display: flex; gap: 10px; margin: 12px 0; }
.btn-gold, .btn-ghost { padding: 12px 18px; border-radius: 14px; font-weight: 800; font-size: 14px; }
.btn-gold { background: var(--gold-grad); color: #1a1206; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 22px -10px rgba(212,166,74,.8); }
.btn-ghost { border: 1px solid rgba(212,166,74,.35); color: var(--gold-hi); }

.fab-wa { position: fixed; z-index: 30; bottom: calc(18px + var(--safe-b)); inset-inline-start: 16px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #2fe274, #12a34a); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 14px 28px -8px rgba(37,211,102,.7); }
.fab-wa svg { width: 30px; height: 30px; }
.toast { position: fixed; z-index: 60; bottom: calc(90px + var(--safe-b)); left: 50%; transform: translateX(-50%); background: #26262a; padding: 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-2); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 21; height: var(--top-h);
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  padding: 0 16px;
}
.brand { display: flex; align-items: center; justify-content: center; gap: 10px; }
.brand img { filter: drop-shadow(0 4px 10px rgba(212,166,74,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; direction: ltr; text-align: left; }
.brand-text b { font-family: 'Cinzel', Georgia, serif; font-size: 20px; letter-spacing: 2.5px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-text small { font-size: 9px; letter-spacing: 3.2px; color: var(--muted); text-transform: uppercase; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(212,166,74,.22); display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.03); color: var(--gold-hi); }
.icon-btn.wa { color: var(--wa); border-color: rgba(37,211,102,.3); }

/* category tabs: text only, sliding gold underline */
.catnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10,10,11,.88);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.catnav-in { position: relative; display: flex; justify-content: space-between; gap: 4px; max-width: 640px; margin: 0 auto; padding: 0 10px; overflow-x: auto; scrollbar-width: none; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav button { flex: 1 0 auto; border: 0; background: none; cursor: pointer; padding: 15px 8px 14px; font-size: 15px; font-weight: 700; color: var(--muted); transition: color .25s; white-space: nowrap; }
.catnav button.on { color: var(--text); }
.catnav .ink { position: absolute; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold-grad); box-shadow: 0 0 12px rgba(212,166,74,.7); transition: left .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1); }
html { scroll-padding-top: 64px; }

/* ---------- product page ---------- */
body.lock { overflow: hidden; }
.pdp { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: flex; flex-direction: column; animation: pdpIn .42s cubic-bezier(.2,.85,.25,1); }
.pdp.closing { animation: pdpOut .28s ease forwards; }
@keyframes pdpIn { from { transform: translateX(-35%) scale(.96); opacity: 0; } }
@keyframes pdpOut { to { transform: translateX(-25%) scale(.97); opacity: 0; } }
.pdp-scroll { position: relative; flex: 1; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 900px) {
  .pdp-scroll { display: grid; grid-template-columns: 1fr 1fr; align-content: start; max-width: 1100px; margin: 0 auto; width: 100%; column-gap: 32px; padding: 24px; }
  .pdp-top { grid-column: 1 / -1; position: relative !important; padding: 0 0 14px !important; }
  .pdp-gallery { grid-column: 1; border-radius: 26px; overflow: hidden; }
  .pg-thumbs { grid-column: 1; }
  .pdp-info { grid-column: 2; grid-row: 2 / span 2; }
}
.pdp-top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 14px 16px; pointer-events: none; }
.round-btn { pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff; background: rgba(12,12,14,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 20px -8px rgba(0,0,0,.8); font-size: 16px; }

.pdp-gallery { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; background: #141416; perspective: 1200px; }
.pg-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pg-track::-webkit-scrollbar { display: none; }
.pg-slide { flex: none; width: 100%; height: 100%; scroll-snap-align: center; scroll-snap-stop: always; position: relative; overflow: hidden; cursor: zoom-in; }
.pg-slide img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.pg-slide img.noimg { object-fit: contain; padding: 25%; opacity: .45; }
.pdp-gallery::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(180deg, transparent, rgba(10,10,11,.85)); pointer-events: none; }
.pg-count { position: absolute; z-index: 3; bottom: 16px; left: 16px; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: rgba(12,12,14,.6); backdrop-filter: blur(8px); direction: ltr; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset; }
.pg-zoom { position: absolute; z-index: 3; bottom: 14px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(12,12,14,.6); pointer-events: none; }
.pg-zoom svg { width: 17px; height: 17px; }
.pg-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px 4px; scrollbar-width: none; }
.pg-thumbs::-webkit-scrollbar { display: none; }
.pg-thumbs button { flex: none; width: 64px; height: 78px; border-radius: 14px; overflow: hidden; padding: 0; border: 2px solid transparent; cursor: pointer; background: #1a1a1c; opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.pg-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs button.on { opacity: 1; border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(212,166,74,.7); }

.pdp-info { padding: 16px 16px 24px; }
.pdp-meta { display: flex; justify-content: space-between; align-items: center; }
.p-cat { font-size: 13px; font-weight: 700; color: var(--gold-hi); }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #7be3a4; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.stock.out { color: #ff8a8a; }
.pdp-info h1 { margin: 8px 0 10px; font-size: 25px; line-height: 1.35; font-weight: 800; }
.pdp-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pdp-price b { font-size: 30px; font-weight: 800; color: var(--gold-hi); direction: ltr; unicode-bidi: isolate; letter-spacing: -.5px; }
.pdp-price b small { font-size: 14px; color: var(--gold); margin-inline-start: 4px; }
.pdp-price s { color: var(--muted); font-size: 16px; direction: ltr; unicode-bidi: isolate; }
.save { font-size: 12.5px; font-weight: 800; padding: 5px 10px; border-radius: 999px; color: #1a1206; background: var(--gold-grad); }
.pdp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0; }
.icard { display: grid; justify-items: center; gap: 3px; text-align: center; padding: 12px 6px; border-radius: 16px; background: linear-gradient(165deg, #1d1d21, #131315); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.icard svg { color: var(--gold-hi); margin-bottom: 2px; }
.icard b { font-size: 13.5px; }
.icard small { font-size: 11.5px; color: var(--muted); }
.pdp-desc h2, .pdp-similar h2 { font-size: 17px; margin: 18px 0 8px; }
.pdp-desc p { margin: 0; color: #d6d0c5; line-height: 1.85; white-space: pre-line; font-size: 15px; }
.pdp-similar .row { margin: 0 -16px; }
.pdp-bar { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(16,16,18,.96); border-top: 1px solid var(--line); box-shadow: 0 -16px 30px -10px rgba(0,0,0,.8); }
.pdp-bar-price { flex: none; display: grid; line-height: 1.15; }
.pdp-bar-price small { color: var(--muted); font-size: 11.5px; }
.pdp-bar-price b { color: var(--gold-hi); font-size: 18px; font-weight: 800; direction: ltr; unicode-bidi: isolate; }
.btn-wa { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; border-radius: 17px; font-weight: 800; font-size: 16.5px; color: #fff; background: linear-gradient(180deg, #2fe274, #12a34a); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 -3px 0 rgba(0,0,0,.25) inset, 0 14px 26px -12px rgba(37,211,102,.75); }
.btn-wa:active { transform: translateY(2px); }
.btn-wa.disabled { background: #2b2b30; color: #999; box-shadow: none; pointer-events: none; }

/* fullscreen viewer */
.lightbox { position: fixed; inset: 0; z-index: 70; background: #000; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track div { flex: none; width: 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; overflow: auto; }
.lb-track img { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pinch-zoom; }
.lb-close { position: absolute; z-index: 2; top: 16px; right: 16px; }
.lb-count { bottom: 24px; left: 50%; transform: translateX(-50%); }
.flow-card .tag { font-size: 13.5px; padding: 6px 12px; }
.flow-caption small { color: var(--muted); font-size: 13px; }

/* ---------- v3: pages, currency, search ---------- */
.topbar { grid-template-columns: 84px 1fr 84px; }
#searchBtn { justify-self: start; }
.cur {
  justify-self: end; position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 84px; height: 38px; padding: 3px;
  border-radius: 999px; border: 1px solid rgba(212,166,74,.3); background: #121214; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.6) inset;
}
.cur::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; width: calc(50% - 3px); right: 3px; border-radius: 999px;
  background: var(--gold-grad); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 4px 10px -4px rgba(212,166,74,.8);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.cur.usd::before { transform: translateX(calc(-100% - 0px)); }
.cur span { position: relative; z-index: 1; display: grid; place-items: center; font-size: 13.5px; font-weight: 800; color: var(--muted); transition: color .3s; }
.cur:not(.usd) span[data-c="syp"], .cur.usd span[data-c="usd"] { color: #1a1206; }

.view { animation: viewIn .35s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } }
.section.tight { padding-top: 14px; }
.promises:empty { display: none; }
.promises.one { grid-template-columns: 1fr; }

/* category page banner */
.cat-hero { position: relative; height: 230px; overflow: hidden; margin: 0; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.08); animation: kb 12s ease-out forwards; }
@keyframes kb { to { transform: scale(1); } }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.55) 55%, var(--bg) 100%); }
.cat-hero-txt { position: absolute; z-index: 1; bottom: 16px; inset-inline: 16px; }
.crumb { font-size: 12.5px; color: #d9d0bf; }
.crumb a { color: var(--gold-hi); }
.cat-hero h1 { margin: 6px 0 2px; font-size: 32px; font-weight: 800; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.cat-hero small { color: #d9d0bf; font-size: 13.5px; }
@media (min-width: 980px) { .cat-hero { height: 300px; border-radius: 0 0 28px 28px; } }
.cat-tools { position: sticky; top: 50px; z-index: 15; padding: 10px 16px; background: rgba(10,10,11,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sort { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sort::-webkit-scrollbar { display: none; }
.sort button { flex: none; border: 1px solid var(--line); background: #151517; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.sort button.on { color: #1a1206; background: var(--gold-grad); border-color: transparent; }

/* search page */
.search.big { height: 56px; border-radius: 18px; border-color: rgba(212,166,74,.3); }
.search.big input { font-size: 17px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 14px; }
.quick button { border: 1px solid var(--line); background: #151517; color: #d8d1c4; padding: 8px 13px; border-radius: 12px; font-size: 13.5px; cursor: pointer; }
#searchCount { margin: 0 0 10px; }

.price b small, .pdp-price b small { margin-inline-start: 4px; }
.card { display: block; color: inherit; }
.nimg { position: absolute; z-index: 2; bottom: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.p-cat a { color: inherit; }
.price b small { font-size: 11px; color: var(--gold); font-weight: 700; }
.topbar { grid-template-columns: 80px 1fr 80px; gap: 4px; padding: 0 14px; }
.cur { width: 80px; }
.brand { gap: 7px; min-width: 0; }
.brand img { width: 34px; height: 34px; }
.brand-text b { font-size: 17px; letter-spacing: 2px; }
.brand-text small { font-size: 8px; letter-spacing: 2.4px; }
