/* ════════════════════════════════════════════════════════════════
   GAYYAR PRO · صفحات المنتجات (Product Detail)
   ثيم: سماوي/كحلي (cyan/navy) — متّسق مع store.css و category.css
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:           #0a0f1e;
  --bg-2:         #0c1426;
  --bg-3:         #0e1830;
  --card:         rgba(228, 240, 246, 0.025);
  --card-hover:   rgba(228, 240, 246, 0.055);
  --ink:          #e4f0f6;
  --ink-soft:     #b9c8d4;
  --ink-dim:      #6b7d8f;
  --line:         rgba(228, 240, 246, 0.08);
  --line-strong:  rgba(228, 240, 246, 0.16);

  --gold:         #5ce1ff;
  --gold-light:   #a3f0ff;
  --gold-deep:    #1f8fb8;
  --gold-glow:    rgba(92, 225, 255, 0.42);
  --gold-soft:    rgba(92, 225, 255, 0.12);
  --gold-faint:   rgba(92, 225, 255, 0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Tajawal", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  direction: rtl;
  font-size: 16px;
  line-height: 1.55;
}
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; display: block; }

.mono   { font-family: "JetBrains Mono", monospace; letter-spacing: 0.05em; }
.latin  { font-family: "Orbitron", sans-serif; letter-spacing: 0.02em; }
.display{ font-family: "Rakkas", serif; }
.accent { color: var(--gold); }

.container {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 40px;
}

.grain {
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(228,240,246,0.022) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
  z-index: 1000;
  mix-blend-mode: overlay;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--gold);
}

/* HUD corner brackets */
.cc {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
}
.cc.tl { top: -1px; right: -1px; border-width: 1px 0 0 1px; }
.cc.tr { top: -1px; left: -1px; border-width: 1px 1px 0 0; }
.cc.bl { bottom: -1px; right: -1px; border-width: 0 0 1px 1px; }
.cc.br { bottom: -1px; left: -1px; border-width: 0 1px 1px 0; }

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(10, 15, 30, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .logo { width: 38px; height: 38px; display: grid; place-items: center; }
.nav .logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 12px var(--gold-glow)); }
.nav .name { display: flex; flex-direction: column; line-height: 1.1; }
.nav .name .b { font-family: "Orbitron", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.nav .name .s { font-family: "JetBrains Mono", monospace; font-size: 10px; color: var(--ink-dim); letter-spacing: 0.15em; margin-top: 2px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--ink-soft); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  position: relative;
  transition: 0.2s;
}
.nav-icon:hover { color: var(--gold); border-color: var(--gold-soft); background: var(--gold-faint); }
.cart-badge {
  position: absolute; top: -6px; left: -6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--ink-dim);
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  display: grid; place-items: center;
  border-radius: 9px;
  transition: 0.2s;
}
.nav .cta {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em;
  transition: 0.2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.nav .cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ════════════════════════════════════════════
   BREADCRUMBS
   ════════════════════════════════════════════ */
.crumbs {
  padding: 90px 40px 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  max-width: 1320px;
  margin-inline: auto;
  display: flex; align-items: center; gap: 10px;
}
.crumbs a { color: var(--ink-dim); transition: 0.2s; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { opacity: 0.4; }
.crumbs .cur { color: var(--gold); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.p-hero {
  position: relative;
  padding: 40px 40px 100px;
  min-height: 80vh;
  overflow: hidden;
}
.p-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 80% 30%, var(--gold-soft), transparent 65%),
    radial-gradient(60% 50% at 20% 80%, rgba(31, 143, 184, 0.10), transparent 60%);
  pointer-events: none;
}
.p-hero-grid {
  position: relative;
  max-width: 1320px; margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
  min-height: 70vh;
}
.p-hero-copy { position: relative; z-index: 2; }
.p-hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--gold-soft);
  background: var(--gold-faint);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; color: var(--gold);
  margin-bottom: 22px;
}
.p-hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.p-hero-code {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-dim); letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.p-hero h1 {
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.p-hero h1 .accent { color: var(--gold); }
.p-hero h1 em {
  font-style: normal;
  font-family: "Rakkas", serif;
  font-weight: 400;
  color: var(--gold);
}
.p-hero .slogan {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.p-hero-meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.p-hero-meta .pill {
  padding: 8px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.08em;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
}
.p-hero-meta .pill.gold {
  border-color: var(--gold);
  background: var(--gold-faint);
  color: var(--gold);
}

/* Buy block (price + qty + add to cart) */
.p-buy {
  margin-top: 32px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  position: relative;
  max-width: 540px;
}
.p-buy::before, .p-buy::after, .p-buy>.cc { }
.p-buy .price-row {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 18px;
}
.p-buy .price-now {
  font-family: "Orbitron", sans-serif;
  font-weight: 800; font-size: 36px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.p-buy .price-now small { font-size: 14px; color: var(--ink-soft); margin-inline-start: 6px; }
.p-buy .price-old { color: var(--ink-dim); text-decoration: line-through; font-size: 18px; }
.p-buy .price-empty {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}
.p-buy .price-empty::before { content: "// "; opacity: 0.4; }
.p-buy .buy-row {
  display: flex; gap: 10px; align-items: stretch;
}
.qty {
  display: flex; align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}
.qty button {
  width: 38px; height: 48px;
  font-size: 18px; color: var(--ink-soft);
  transition: 0.2s;
}
.qty button:hover { color: var(--gold); background: var(--gold-faint); }
.qty input {
  width: 44px; height: 48px; text-align: center;
  border: none; background: transparent; color: var(--ink);
  font-family: "JetBrains Mono", monospace; font-size: 14px;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn-add {
  flex: 1;
  height: 48px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.06em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-add:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-add svg { width: 16px; height: 16px; }

.p-buy .trust {
  margin-top: 16px;
  display: flex; gap: 20px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.08em; color: var(--ink-dim);
}
.p-buy .trust span { display: inline-flex; align-items: center; gap: 6px; }
.p-buy .trust span::before { content: "✓"; color: var(--gold); }

/* Hero stage (image side) */
.p-hero-stage {
  position: relative;
  height: 620px;
  display: grid; place-items: center;
}
.p-hero-stage .ring-glow {
  position: absolute; inset: 10%;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  filter: blur(60px);
  z-index: 0;
}
.p-hero-stage .hero-img {
  position: relative; z-index: 2;
  max-width: 90%; max-height: 90%;
  object-fit: contain;
  animation: float 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6));
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* HUD metrics around hero */
.p-hud {
  position: absolute;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  display: flex; align-items: center; gap: 8px;
  z-index: 3;
}
.p-hud .v { font-family: "Orbitron", sans-serif; color: var(--gold); font-size: 18px; font-weight: 700; }
.p-hud .ar { color: var(--ink); font-weight: 700; }
.p-hud .bar { width: 18px; height: 1px; background: var(--gold); opacity: 0.5; }
.p-hud.tl { top: 18px; right: 18px; }
.p-hud.tr { top: 18px; left: 18px; }
.p-hud.bl { bottom: 18px; right: 18px; }
.p-hud.br { bottom: 18px; left: 18px; }

/* HUD corner brackets in hero */
.p-hero-corners > div {
  position: absolute;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  opacity: 0.55;
}
.p-hero-corners .tl { top: 8px; right: 8px; border-width: 1.5px 0 0 1.5px; }
.p-hero-corners .tr { top: 8px; left: 8px; border-width: 1.5px 1.5px 0 0; }
.p-hero-corners .bl { bottom: 8px; right: 8px; border-width: 0 0 1.5px 1.5px; }
.p-hero-corners .br { bottom: 8px; left: 8px; border-width: 0 1.5px 1.5px 0; }

/* ════════════════════════════════════════════
   SECTION SCAFFOLD
   ════════════════════════════════════════════ */
.sec {
  padding: 100px 40px;
  position: relative;
}
.sec .head { margin-bottom: 60px; max-width: 800px; }
.sec h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.sec h2 em { font-style: normal; font-family: "Rakkas", serif; font-weight: 400; color: var(--gold); }
.sec .lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  line-height: 1.65;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   STORY SECTION (two-column: image + text)
   ════════════════════════════════════════════ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1320px; margin-inline: auto;
}
.story.flip { direction: ltr; }
.story.flip > * { direction: rtl; }
.story-img {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 60% at 50% 50%, var(--gold-soft), transparent 70%),
    linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  overflow: hidden;
}
.story-img::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(92, 225, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}
.story-img > img {
  position: relative;
  max-width: 78%; max-height: 78%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.55));
  transition: transform 0.6s;
}
.story-img:hover > img { transform: scale(1.04); }
.story-img .cc { width: 24px; height: 24px; border-width: 2px; opacity: 0.7; }
.story-img .cc.tl, .story-img .cc.tr, .story-img .cc.bl, .story-img .cc.br { }
.story-img .label {
  position: absolute; bottom: 14px; left: 14px; z-index: 3;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--gold);
  padding: 4px 8px;
  background: rgba(10,15,30,0.7);
  border: 1px solid var(--gold-soft);
}
.story-copy .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.story-copy h3 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.story-copy h3 em { font-style: normal; font-family: "Rakkas", serif; font-weight: 400; color: var(--gold); }
.story-copy p {
  font-size: 16px; color: var(--ink-soft); line-height: 1.7;
  margin-bottom: 14px;
}
.story-copy .stats {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.story-copy .stat .v {
  font-family: "Orbitron", sans-serif;
  font-weight: 800; font-size: 32px;
  color: var(--gold);
  line-height: 1;
}
.story-copy .stat .l {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.12em;
  color: var(--ink-dim);
  margin-top: 6px;
}

/* ════════════════════════════════════════════
   FEATURE GRID (3-4 cards)
   ════════════════════════════════════════════ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1320px; margin-inline: auto;
}
.feat-card {
  position: relative;
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: 0.3s;
  min-height: 220px;
  overflow: hidden;
}
.feat-card:hover {
  background: var(--card-hover);
  border-color: var(--gold-soft);
  transform: translateY(-3px);
}
.feat-card .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  opacity: 0.7;
}
.feat-card h4 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}
.feat-card h4 em { font-style: normal; font-family: "Rakkas", serif; font-weight: 400; color: var(--gold); }
.feat-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.feat-card .icon {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  color: var(--gold);
}
.feat-card .big {
  font-family: "Orbitron", sans-serif;
  font-weight: 800; font-size: 48px;
  color: var(--gold);
  line-height: 1;
  margin-top: 14px;
}
.feat-card .big small { font-size: 12px; color: var(--ink-dim); margin-inline-start: 6px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.1em; }

/* ════════════════════════════════════════════
   SHOWCASE — single image used as design element
   ════════════════════════════════════════════ */
.showcase {
  position: relative;
  max-width: 1320px; margin-inline: auto;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.showcase.center { grid-template-columns: 1fr; place-items: center; padding: 80px 40px; }
.showcase-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}
.showcase-glow {
  position: absolute;
  width: 70%; height: 70%;
  background: radial-gradient(circle, var(--gold-glow), transparent 65%);
  filter: blur(80px);
  z-index: 0;
}
.showcase-img {
  position: relative; z-index: 2;
  padding: 60px;
  display: grid; place-items: center;
}
.showcase-img img {
  max-width: 100%; max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
}
.showcase-copy {
  position: relative; z-index: 2;
  padding: 60px;
}
.showcase-copy .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 14px;
}
.showcase-copy h3 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1; margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.showcase-copy h3 em { font-style: normal; font-family: "Rakkas", serif; font-weight: 400; color: var(--gold); }
.showcase-copy p { font-size: 16px; color: var(--ink-soft); line-height: 1.65; }

/* ════════════════════════════════════════════
   IMAGE STRIP — multiple product photos laid out as a band
   ════════════════════════════════════════════ */
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin-inline: auto;
}
.strip-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
  transition: 0.3s;
}
.strip-cell:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.strip-cell::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(92, 225, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}
.strip-cell img {
  position: relative; z-index: 2;
  max-width: 78%; max-height: 78%;
  object-fit: contain;
  transition: transform 0.5s;
}
.strip-cell:hover img { transform: scale(1.06); }
.strip-cell .num {
  position: absolute; top: 12px; right: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--gold);
  letter-spacing: 0.15em;
  padding: 3px 8px;
  border: 1px solid var(--gold-soft);
  background: rgba(10,15,30,0.6);
  z-index: 3;
}
.strip-cell .lbl {
  position: absolute; bottom: 12px; right: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; color: var(--ink-soft);
  letter-spacing: 0.1em;
  z-index: 3;
}

/* ════════════════════════════════════════════
   SPECS TABLE
   ════════════════════════════════════════════ */
.specs-wrap {
  max-width: 1320px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.specs-head {
  position: sticky; top: 90px;
}
.specs-head .eyebrow { margin-bottom: 16px; }
.specs-head h2 { margin-bottom: 14px; }
.specs-head p { color: var(--ink-soft); }

.spec-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--gold-faint); }
.spec-row .k {
  padding: 16px 22px;
  background: rgba(228, 240, 246, 0.018);
  border-inline-end: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-dim);
  display: flex; align-items: center;
}
.spec-row .v {
  padding: 16px 22px;
  color: var(--ink);
  font-size: 14px;
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.tag-mini {
  display: inline-block;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  background: var(--gold-faint);
}

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: flex; flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  transition: 0.2s;
}
.faq-item[open] {
  border-color: var(--gold-soft);
  background: var(--card-hover);
}
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-weight: 700; font-size: 15px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "Orbitron", sans-serif;
  color: var(--gold);
  font-size: 22px; line-height: 1;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 14px; line-height: 1.7;
}

/* ════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════ */
.final-cta {
  text-align: center;
  padding: 120px 40px;
  background:
    radial-gradient(60% 80% at 50% 50%, var(--gold-soft), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(92, 225, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 225, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.7;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
}
.final-cta .inner { position: relative; z-index: 2; max-width: 800px; margin-inline: auto; }
.final-cta .eyebrow { justify-content: center; margin-bottom: 18px; }
.final-cta h2 {
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.final-cta h2 em { font-style: normal; font-family: "Rakkas", serif; font-weight: 400; color: var(--gold); }
.final-cta .sub { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; }
.final-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 16px 28px;
  background: var(--gold);
  color: var(--bg);
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.06em;
  border: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: 0.2s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-secondary {
  padding: 16px 28px;
  background: transparent;
  color: var(--ink);
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  display: inline-flex; align-items: center; gap: 10px;
  transition: 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer-mini {
  padding: 30px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
}
.footer-mini .row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; align-items: center; }
.footer-mini a { color: var(--ink-soft); transition: 0.2s; }
.footer-mini a:hover { color: var(--gold); }

/* ════════════════════════════════════════════
   STICKY BUY BAR (mobile + scrolled state)
   ════════════════════════════════════════════ */
.sticky-buy {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 90;
  background: rgba(12, 20, 38, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-soft);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 14px;
  transform: translateY(120%);
  opacity: 0;
  transition: 0.35s;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.sticky-buy.show { transform: translateY(0); opacity: 1; }
.sticky-buy .thumb {
  width: 52px; height: 52px;
  background: var(--card);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.sticky-buy .thumb img { max-width: 80%; max-height: 80%; object-fit: contain; }
.sticky-buy .info { flex: 1; min-width: 0; }
.sticky-buy .info .nm { font-weight: 800; font-size: 14px; }
.sticky-buy .info .pr { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-dim); margin-top: 2px; }
.sticky-buy .btn-add { height: 44px; padding: 0 18px; flex: 0 0 auto; }

@media (max-width: 1024px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 30px; min-height: auto; }
  .p-hero-stage { height: 420px; }
  .story { grid-template-columns: 1fr; gap: 36px; }
  .specs-wrap { grid-template-columns: 1fr; gap: 30px; }
  .specs-head { position: static; }
  .showcase { grid-template-columns: 1fr; }
  .showcase-img, .showcase-copy { padding: 40px 28px; }
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .crumbs { padding: 84px 20px 20px; }
  .sec { padding: 70px 20px; }
  .spec-row { grid-template-columns: 130px 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   PD-* — صفحات المنتجات الديناميكية (product.js v2)
   ════════════════════════════════════════════════════════════════ */

/* ── Hero layout ─────────────────────────────────────────────── */
.pd-hero { padding: 20px 0 80px; min-height: 80vh; }
.pd-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 10px;
}

/* ── Gallery column ──────────────────────────────────────────── */
.pd-gallery-col { position: relative; }
.pd-gallery { position: sticky; top: 90px; }

.pd-main-img-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
  margin-bottom: 10px;
}
.pd-main-img {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  padding: 24px;
}
.pd-main-img img {
  max-width: 85%; max-height: 85%;
  object-fit: contain;
  transition: opacity 0.18s;
}
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; width: 36px; height: 36px;
  background: rgba(10,15,30,0.75); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 22px;
  display: grid; place-items: center; transition: 0.2s; cursor: pointer;
}
.pd-nav:hover { background: var(--gold-faint); border-color: var(--gold); color: var(--gold); }
.pd-prev { right: 10px; }
.pd-next { left: 10px; }

.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb {
  width: 72px; height: 72px;
  background: var(--bg-2); border: 1px solid var(--line);
  display: grid; place-items: center;
  cursor: pointer; transition: 0.2s; padding: 6px; flex-shrink: 0;
}
.pd-thumb:hover { border-color: var(--gold-soft); }
.pd-thumb.active { border-color: var(--gold); background: var(--gold-faint); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }

.pd-gallery-empty {
  aspect-ratio: 1 / 1; background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-dim);
}

/* ── Info column ─────────────────────────────────────────────── */
.pd-info-col { padding-block: 10px; }
.pd-eyebrow {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--gold); margin-bottom: 10px; opacity: 0.8;
}
.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pd-badge {
  display: inline-block; padding: 4px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
}
.pd-badge.new  { background: var(--gold); color: var(--bg); }
.pd-badge.sale { background: rgba(255,80,80,.15); color: #ff6b6b; border: 1px solid rgba(255,80,80,.3); }
.pd-badge.coming { background: var(--gold-faint); color: var(--gold); border: 1px solid var(--gold-soft); }

.pd-title { font-size: clamp(30px,4.5vw,56px); line-height: 1.1; margin-bottom: 14px; }
.pd-desc  { font-size: 16px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 26px; max-width: 480px; }

/* ── Buy box ─────────────────────────────────────────────────── */
.pd-buy {
  position: relative; padding: 24px;
  background: var(--card); border: 1px solid var(--line-strong);
  max-width: 500px;
}
.pd-buy.coming { border-color: var(--gold-soft); text-align: center; padding: 36px; }
.pd-soon-stamp {
  font-family: "JetBrains Mono", monospace; font-size: 13px;
  letter-spacing: .15em; color: var(--gold); margin-bottom: 14px;
}
.pd-soon-msg { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 22px; }

.pd-price-row {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.pd-price-now {
  font-family: "Orbitron", sans-serif; font-weight: 800;
  font-size: clamp(26px,3.5vw,38px); color: var(--gold); letter-spacing: .02em;
}
.pd-price-now small { font-size: 13px; color: var(--ink-soft); margin-inline-start: 4px; }
.pd-price-old { color: var(--ink-dim); text-decoration: line-through; font-size: 16px; }
.pd-disc-badge {
  display: inline-block; padding: 3px 8px;
  background: rgba(255,80,80,.15); color: #ff6b6b;
  border: 1px solid rgba(255,80,80,.25);
  font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .1em;
}
.pd-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .1em;
  margin-bottom: 14px; padding: 4px 10px;
}
.pd-stock.in  { color: #4ade80; }
.pd-stock.out { color: var(--ink-dim); }

.pd-buy-actions { display: flex; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.btn-add-to-cart {
  flex: 1; height: 48px;
  background: var(--gold); color: var(--bg);
  font-family: inherit; font-weight: 800; font-size: 14px; letter-spacing: .06em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: 0.2s; cursor: pointer; border: none;
  clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
}
.btn-add-to-cart:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.btn-add-to-cart:disabled {
  background: var(--line-strong); color: var(--ink-dim);
  cursor: not-allowed; clip-path: none; transform: none;
}

.pd-trust {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: .06em; color: var(--ink-dim);
}
.pd-trust span { display: inline-flex; align-items: center; gap: 5px; }

/* ── Sections ────────────────────────────────────────────────── */
.pd-sec {
  padding: 70px 40px;
  max-width: 1320px;
  margin-inline: auto;
}
.pd-sec-tag {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: .2em; color: var(--gold); margin-bottom: 24px; opacity: .8;
}

/* Specs table */
.pd-specs-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); }
.pd-specs-table td { padding: 13px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-specs-table tr:last-child td { border-bottom: none; }
.pd-specs-table tr:hover td { background: var(--gold-faint); }
.pd-specs-table .sk {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: .08em;
  color: var(--ink-dim); background: rgba(228,240,246,.018);
  border-inline-end: 1px solid var(--line); width: 200px; min-width: 130px;
}
.pd-specs-table .sv { color: var(--ink); font-size: 14px; }

/* Image strip */
.pd-strip { padding-block: 70px; border-top: 1px solid var(--line); }
.pd-strip-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 12px; }
.pd-strip-item {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg,var(--bg-2),var(--bg-3));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden; transition: 0.3s;
}
.pd-strip-item:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.pd-strip-item img { max-width: 80%; max-height: 80%; object-fit: contain; transition: transform 0.4s; }
.pd-strip-item:hover img { transform: scale(1.06); }

/* ── Footer CTA ──────────────────────────────────────────────── */
.pd-cta { padding: 56px 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.pd-cta .container { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-cat-back, .btn-store-back {
  padding: 14px 26px; font-family: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px;
  transition: 0.2s; cursor: pointer; border: none;
}
.btn-cat-back {
  background: var(--gold); color: var(--bg);
  clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);
}
.btn-cat-back:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-store-back { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-store-back:hover { border-color: var(--gold); color: var(--gold); }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border: 1px solid var(--gold-soft);
  color: var(--gold); font-family: inherit; font-size: 13px; transition: 0.2s; margin-top: 8px;
}
.btn-back:hover { background: var(--gold-faint); }

/* ── Sticky bar (ID-based, used by product.js) ───────────────── */
#stickyBar .sb-name { font-weight: 800; font-size: 14px; }
#stickyBar .sb-price {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--ink-dim); margin-top: 2px;
}

/* ── Responsive pd-* ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pd-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .pd-gallery { position: static; }
  .pd-sec { padding: 56px 20px; }
  .pd-buy { max-width: 100%; }
  .pd-cta { padding: 44px 20px; }
}
@media (max-width: 640px) {
  .pd-buy-actions { flex-wrap: wrap; }
  .btn-add-to-cart { min-width: 100%; }
  .pd-specs-table .sk { width: 120px; min-width: 100px; }
}
