/* ============================================================
   Inspire Pack — design system
   Dark gamer-tech aesthetic · electric lime on near-black
   ============================================================ */

:root {
  --bg: #0C0C13;
  --bg-2: #11111a;
  --surface: #15151f;
  --surface-2: #1b1b27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(183, 255, 0, 0.22);
  --accent: #B7FF00;
  --accent-dim: #9ad400;
  --accent-glow: rgba(183, 255, 0, 0.35);
  --text: #ffffff;
  --muted: #a0a0b0;
  --muted-2: #6f6f80;
  --danger: #ff5470;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-accent: 0 18px 50px -20px var(--accent-glow);
  --font-body: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient glow backdrop */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(620px 420px at 12% -5%, rgba(183, 255, 0, 0.10), transparent 60%),
    radial-gradient(680px 520px at 100% 0%, rgba(120, 80, 255, 0.08), transparent 55%);
}

[dir='rtl'] { font-family: 'Tajawal', var(--font-body); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; position: relative; z-index: 1; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #0C0C13;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: #c8ff2e; box-shadow: 0 22px 55px -18px var(--accent-glow); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 12, 19, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand .brand-name b { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: 8px; }
.main-nav a {
  padding: 9px 14px;
  border-radius: 9px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  transition: color .15s, background .15s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface); }

.header-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  min-width: 210px;
  transition: border-color .15s, box-shadow .15s;
}
.search-box:focus-within { border-color: var(--line-strong); box-shadow: 0 0 0 3px rgba(183,255,0,0.08); }
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  width: 100%;
}
.search-box svg { flex-shrink: 0; color: var(--muted); }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color .15s, color .15s, background .15s;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--accent); }

.cart-count {
  position: absolute;
  top: -7px;
  inset-inline-end: -7px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #0C0C13;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count:empty, .cart-count[data-count='0'] { display: none; }

/* Language dropdown */
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  min-width: 140px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 60;
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--muted);
}
.lang-menu a:hover, .lang-menu a.active { background: var(--surface-2); color: var(--accent); }

.menu-toggle { display: none; }

/* ─── Hero ────────────────────────────────────────────────── */
.hero { padding: 64px 0 40px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(183, 255, 0, 0.08);
  border: 1px solid var(--line-strong);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-bottom: 18px;
}
.hero h1 .accent { display: block; color: var(--accent); text-shadow: 0 0 42px rgba(183, 255, 0, 0.35); }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 520px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Vertical slider */
.slider-wrap {
  position: relative;
  height: 460px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.slider-col { position: relative; overflow: hidden; }
.slider-track { display: flex; flex-direction: column; gap: 16px; animation: scrollUp 26s linear infinite; }
.slider-col.reverse .slider-track { animation: scrollDown 26s linear infinite; }
.slide {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  aspect-ratio: 1 / 1;
  position: relative;
  flex-shrink: 0;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(12,12,19,0.55));
}
@keyframes scrollUp   { from { transform: translateY(0); }      to { transform: translateY(-50%); } }
@keyframes scrollDown { from { transform: translateY(-50%); }   to { transform: translateY(0); } }
.slider-wrap:hover .slider-track { animation-play-state: paused; }

/* ─── Hero trust & stats panel ────────────────────────────── */
.hero-panel {
  position: relative;
  background:
    radial-gradient(420px 320px at 85% -10%, rgba(183, 255, 0, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero-panel-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  color: var(--muted); font-size: 13.5px; font-weight: 500;
}
.hero-panel-head .stars { display: flex; gap: 2px; color: var(--accent); flex-shrink: 0; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: border-color .2s, transform .2s;
}
.hero-stat:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.hs-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(183, 255, 0, 0.10); color: var(--accent);
  border: 1px solid var(--line-strong); margin-bottom: 12px;
}
.hs-value { display: block; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 27px); font-weight: 700; color: var(--accent); line-height: 1.05; }
.hs-label { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }

/* ─── Trust badges ────────────────────────────────────────── */
.trust-strip { padding: 18px 0 8px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color .2s, transform .2s;
}
.trust-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.trust-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(183, 255, 0, 0.10);
  color: var(--accent);
  border: 1px solid var(--line-strong);
}
.trust-card h3 { font-size: 16px; margin-bottom: 2px; }
.trust-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* ─── Section headers ─────────────────────────────────────── */
.section { padding: 56px 0; position: relative; }
.section-head { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-head p { margin: 8px 0 0; color: var(--muted); }

/* ─── Category grid ───────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-accent); }
.cat-media {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #1d1d2b, #0c0c13);
}
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-body { padding: 16px 18px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cat-body h3 { font-size: 17px; }
.cat-body p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.cat-arrow {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: rgba(183, 255, 0, 0.10);
  color: var(--accent);
  border: 1px solid var(--line-strong);
  transition: background .2s, transform .2s;
}
.cat-card:hover .cat-arrow { background: var(--accent); color: #0C0C13; transform: translateX(3px); }
[dir='rtl'] .cat-card:hover .cat-arrow { transform: translateX(-3px) scaleX(-1); }
[dir='rtl'] .cat-arrow svg { transform: scaleX(-1); }

/* ─── Country grid ────────────────────────────────────────── */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.country-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  isolation: isolate;
}
.country-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.country-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12,12,19,0.25) 0%, rgba(12,12,19,0.86) 100%);
}
.country-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-accent); }
.country-flag {
  width: 56px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  margin-bottom: 14px;
}
.country-card h3 { font-size: 19px; }
.country-card .country-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }

/* ─── Value (card price) grid ─────────────────────────────── */
.value-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.value-hero {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  top: 92px;
}
.value-hero .vh-media { aspect-ratio: 16 / 10; background: radial-gradient(circle at 50% 30%, #1d1d2b, #0c0c13); }
.value-hero .vh-media img { width: 100%; height: 100%; object-fit: cover; }
.value-hero .vh-body { padding: 22px; }
.value-hero .vh-region { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.value-hero .vh-region img { width: 34px; height: 23px; border-radius: 4px; object-fit: cover; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.value-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  cursor: pointer;
  transition: border-color .18s, transform .18s, background .18s;
  position: relative;
}
.value-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.value-card.selected { border-color: var(--accent); background: rgba(183,255,0,0.06); box-shadow: 0 0 0 3px rgba(183,255,0,0.10); }
.value-card .v-label { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.value-card .v-price { color: var(--accent); font-weight: 700; margin-top: 6px; font-size: 15px; }
.value-card .v-check {
  position: absolute; top: 12px; inset-inline-end: 12px;
  width: 22px; height: 22px; border-radius: 999px;
  border: 2px solid var(--line); display: grid; place-items: center;
  color: #0C0C13; transition: all .15s;
}
.value-card.selected .v-check { background: var(--accent); border-color: var(--accent); }
.value-card:not(.selected) .v-check svg { opacity: 0; }
.value-card .v-price .v-old { color: var(--muted-2); text-decoration: line-through; font-weight: 600; margin-inline-end: 6px; font-size: 13px; }
.value-card .v-sale-tag {
  display: inline-block;
  background: var(--accent); color: #0C0C13; font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; padding: 2px 8px; border-radius: 6px; margin-bottom: 10px;
}
.value-card.oos { opacity: 0.55; cursor: not-allowed; }
.value-card.oos:hover { transform: none; border-color: var(--line); }
.value-card.oos .v-check { display: none; }
.value-card .v-oos {
  display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--danger);
  background: rgba(255,84,112,0.12); border: 1px solid rgba(255,84,112,0.3);
  padding: 2px 8px; border-radius: 6px;
}

/* ─── Forms ───────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, select.input:focus, textarea.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(183,255,0,0.10); }
.input::placeholder { color: var(--muted-2); }

.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.checkbox-row input[type='checkbox'] { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.checkbox-row a { color: var(--accent); font-weight: 600; }
.checkbox-row a:hover { text-decoration: underline; }

.btn-google { background: #ffffff; color: #1f2330; border: 1px solid var(--line); gap: 10px; }
.btn-google:hover { background: #ececf0; box-shadow: none; transform: translateY(-1px); }
.btn-google svg { flex-shrink: 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }

/* ─── Panels / summary ────────────────────────────────────── */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.panel h3 { font-size: 18px; margin-bottom: 16px; }

.summary-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; color: var(--text); font-weight: 700; }
.summary-row.total b { color: var(--accent); }

.pay-options { display: grid; gap: 10px; }
.pay-option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pay-option:hover { border-color: var(--line-strong); }
.pay-option.selected { border-color: var(--accent); background: rgba(183,255,0,0.05); }
.pay-option .radio {
  width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--line); flex-shrink: 0; position: relative;
}
.pay-option.selected .radio { border-color: var(--accent); }
.pay-option.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 999px; background: var(--accent); }
.pay-option .pm-name { font-weight: 600; }
.pay-option .pm-logo {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
}
.pay-option .pm-logo img { width: 100%; height: 100%; object-fit: contain; }
.pay-detail .pd-logo { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; flex-shrink: 0; margin-inline-end: 10px; }
.pay-detail .pd-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ─── Cart rows ───────────────────────────────────────────── */
.cart-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-item .ci-media { width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--surface-2); flex-shrink: 0; }
.cart-item .ci-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-info h4 { font-family: var(--font-body); font-size: 15px; font-weight: 600; }
.cart-item .ci-info p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.qty-ctrl { display: flex; align-items: center; gap: 8px; }
.qty-ctrl button { width: 30px; height: 30px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font-size: 16px; }
.qty-ctrl button:hover { border-color: var(--accent); color: var(--accent); }
.qty-ctrl span { min-width: 22px; text-align: center; font-weight: 600; }
.ci-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.ci-remove { background: none; border: none; color: var(--muted-2); padding: 6px; }
.ci-remove:hover { color: var(--danger); }

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 9, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { font-size: 18px; }
.modal-body { padding: 24px; }
.modal-close { background: none; border: none; color: var(--muted); font-size: 22px; line-height: 1; }
.modal-close:hover { color: var(--accent); }

.pay-detail {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.pay-detail .pd-label { font-size: 13px; color: var(--muted); }
.pay-detail .pd-value { font-weight: 700; font-size: 15px; }
.pay-detail .pd-value.amount { color: var(--accent); font-size: 18px; }
.copy-btn { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 7px; padding: 4px 9px; font-size: 12px; margin-inline-start: 8px; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.upload-zone {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 26px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.upload-zone:hover { border-color: var(--accent); background: rgba(183,255,0,0.04); }
.upload-zone.has-file { border-color: var(--accent); color: var(--accent); }
.upload-zone img.preview { max-height: 160px; margin: 12px auto 0; border-radius: 8px; }

/* ─── Order confirmation ──────────────────────────────────── */
.confirm-hero { text-align: center; padding: 40px 0 10px; }
.confirm-badge {
  width: 84px; height: 84px; border-radius: 999px;
  background: rgba(183,255,0,0.10); border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--accent); margin: 0 auto 22px;
  box-shadow: 0 0 50px rgba(183,255,0,0.25);
}
.order-id-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 8px 18px; font-size: 15px; margin-top: 14px;
}
.order-id-pill b { color: var(--accent); font-family: var(--font-display); }

/* ─── Contact ─────────────────────────────────────────────── */
.contact-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.contact-chip {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 24px; min-width: 200px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.contact-chip:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-accent); }
.contact-chip .cc-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(183,255,0,0.10); color: var(--accent); border: 1px solid var(--line-strong); flex-shrink: 0;
}
.contact-chip .cc-text small { display: block; color: var(--muted); font-size: 12px; }
.contact-chip .cc-text strong { font-size: 15px; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 44px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; font-family: var(--font-body); }
.footer-grid a { display: block; color: var(--muted); padding: 5px 0; font-size: 14px; transition: color .15s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand img { height: 40px; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); padding: 24px 0 4px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--muted-2); }

/* ─── Toast ───────────────────────────────────────────────── */
.toast-wrap { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); padding: 13px 18px; color: var(--text);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  font-size: 14px; animation: toastIn .25s ease; max-width: 320px;
}
.toast .ti { color: var(--accent); flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
[dir='rtl'] @keyframes toastIn { from { transform: translateX(-20px); } }

/* ─── Empty state ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { color: var(--muted-2); margin-bottom: 16px; }

/* ─── Promo banner ────────────────────────────────────────── */
.promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(420px 220px at 12% 0%, rgba(183, 255, 0, 0.16), transparent 70%),
    linear-gradient(135deg, #14160c, var(--surface));
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}
.promo-banner h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); }
.promo-banner p { margin: 6px 0 0; color: var(--muted); }
.promo-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
}
.promo-code .pc-label { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--accent); }
.promo-code .copy-btn { font-size: 13px; padding: 6px 12px; }

/* ─── Why choose us ───────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.why-card .why-icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(183, 255, 0, 0.10); color: var(--accent); border: 1px solid var(--line-strong); margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ─── Reviews ─────────────────────────────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}
.review-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .dim { color: var(--muted-2); }
.review-text { color: #d7d7e0; font-size: 14.5px; line-height: 1.65; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: rgba(183, 255, 0, 0.12); color: var(--accent); border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-display);
}
.review-author .ra-name { font-weight: 600; font-size: 14px; }
.review-author .ra-loc { color: var(--muted); font-size: 12.5px; }
.verified-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--accent); margin-inline-start: auto; }

/* ─── FAQ accordion ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s; }
.faq-item[open] { border-color: var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-weight: 600; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex-shrink: 0; color: var(--accent); transition: transform .2s; font-size: 20px; line-height: 1; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ─── Legal / content pages ───────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin: 28px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin: 0 0 14px; line-height: 1.75; }
.prose ul { color: var(--muted); line-height: 1.8; padding-inline-start: 22px; margin: 0 0 14px; }
.prose a { color: var(--accent); }
.prose .updated { font-size: 13px; color: var(--muted-2); margin-bottom: 24px; }

.note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.alert { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert-err { background: rgba(255,84,112,0.10); border: 1px solid rgba(255,84,112,0.35); color: #ffb3c0; }
.alert-ok { background: rgba(183,255,0,0.08); border: 1px solid var(--line-strong); color: var(--accent); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .slider-wrap { height: 360px; }
  .value-layout { grid-template-columns: 1fr; }
  .value-hero { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav, .search-box { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-search { display: flex !important; }
}

@media (max-width: 640px) {
  .header-inner { height: 64px; gap: 10px; }
  .brand .brand-name { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .icon-btn { width: 40px; height: 40px; }
  .modal-body { padding: 18px; }
}

/* Cart rows: stack the controls onto a second line on small phones so the
   remove button and price never overflow the row. */
@media (max-width: 560px) {
  .cart-item { flex-wrap: wrap; row-gap: 12px; }
  .cart-item .ci-info { flex: 1 1 calc(100% - 88px); min-width: 0; }
  .cart-item .qty-ctrl { order: 2; }
  .cart-item .ci-price { order: 3; margin-inline-start: auto; }
  .cart-item .ci-remove { order: 4; }
}

/* Mobile nav drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 90; background: rgba(5,5,9,0.6); backdrop-filter: blur(4px);
  display: none;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-panel {
  position: absolute; top: 0; inset-inline-end: 0; height: 100%; width: 82%; max-width: 340px;
  background: var(--bg-2); border-inline-start: 1px solid var(--line); padding: 22px; overflow-y: auto;
  animation: drawerIn .22s ease;
}
@keyframes drawerIn { from { transform: translateX(100%); } to { transform: none; } }
[dir='rtl'] @keyframes drawerIn { from { transform: translateX(-100%); } to { transform: none; } }
.mobile-drawer .search-box { display: flex; width: 100%; margin-bottom: 18px; }
.mobile-drawer .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; }
.mobile-drawer .main-nav a { padding: 12px 14px; font-size: 15px; }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
