:root {
  --bg: #07090f;
  --bg-2: #0b1020;
  --surface: rgba(16, 22, 40, 0.88);
  --card: rgba(18, 24, 42, 0.92);
  --text: #f3f6ff;
  --muted: #9aa8c7;
  --dim: #6d7a99;
  --accent: #5b8cff;
  --accent-2: #8b6cff;
  --accent-soft: rgba(91, 140, 255, 0.16);
  --accent-b: rgba(91, 140, 255, 0.42);
  --success: #3dd68c;
  --warn: #f5b942;
  --danger: #ff5d73;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", "Cairo", "Segoe UI", sans-serif;
  --display: "Syne", "Cairo", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.85rem;
  --fs-2xl: 2.75rem;
  --fs-3xl: clamp(2.4rem, 4vw, 3.6rem);
  --space: 8px;
  --red: var(--accent);
  --red-l: #9cbcff;
  --red-dim: var(--accent-soft);
  --red-b: var(--accent-b);
  --primary: var(--accent);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
html[dir="rtl"] body { font-family: "Cairo", var(--font); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .brand-name, html[dir="rtl"] .kicker, html[dir="rtl"] .stat-value {
  font-family: "Cairo", var(--display);
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  position: relative;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-size: var(--fs-md);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1000px 560px at 8% -8%, rgba(91, 140, 255, 0.22), transparent 58%),
    radial-gradient(820px 520px at 108% 6%, rgba(139, 108, 255, 0.18), transparent 52%),
    radial-gradient(700px 420px at 50% 120%, rgba(61, 214, 140, 0.08), transparent 55%),
    var(--bg);
}
.atmosphere-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 78%);
  animation: grid-drift 28s linear infinite;
  opacity: 0.5;
}
.atmosphere-glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  inset-inline-end: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(91,140,255,0.22), transparent 68%);
  filter: blur(10px);
  animation: glow-shift 12s ease-in-out infinite alternate;
}
@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 72px, 72px 0; }
}
@keyframes glow-shift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-8%, 10%, 0) scale(1.12); }
}

a { color: var(--red-l); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.container { width: min(1220px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }

h1, h2, h3, .logo, .brand-name, .kicker, .stat-value {
  font-family: var(--display);
  letter-spacing: -0.03em;
}
h1, h2, h3 { margin: 0 0 12px; font-weight: 700; text-transform: none; }
h1 { font-size: var(--fs-3xl); line-height: 1.05; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
.navbar-inner, .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.brand, .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover, .logo:hover { color: #fff; }
.brand-mark, .logo-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--accent-b);
  background: linear-gradient(160deg, rgba(91,140,255,0.28), rgba(139,108,255,0.12));
  color: #dce7ff;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.18);
}
.brand-mark svg, .logo-mark svg { width: 20px; height: 20px; }
.logo img, .brand img { height: 38px; width: auto; }
.header-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.header-links > a { color: var(--muted); font-weight: 600; }
.header-links > a:hover { color: var(--text); }
.cat-nav {
  flex: 1 1 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.cat-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cat-nav a:hover, .cat-nav a.is-on { color: var(--text); border-color: var(--accent-b); }
.cat-nav img { width: 16px; height: 16px; object-fit: contain; }
.sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 600;
}
.sort-bar a {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
}
.sort-bar a.is-on, .sort-bar a:hover { color: #071018; background: var(--accent); border-color: var(--accent); }
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) 1fr;
  gap: 24px;
  align-items: start;
}
.cat-filter nav { display: flex; flex-direction: column; gap: 8px; }
.cat-filter a { color: var(--muted); font-weight: 600; }
.cat-filter a.is-on, .cat-filter a:hover { color: var(--text); }
.pref-switch { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.lang-btn.is-on { color: #071018; background: var(--accent); border-color: var(--accent); }
.currency-wrap select { width: auto; padding: 6px 10px; margin: 0; border-radius: 999px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 700;
}
.cart-link:hover { border-color: var(--accent-b); color: #fff; }
.cart-link.cart-pop { animation: cart-pop 0.45s ease; }
.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 420px;
}
.header-search input[type="search"] {
  margin: 0;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
}
.header-search .btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  margin: 0;
}
@keyframes cart-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero-show {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 420px;
  margin: 28px 0 36px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,22,40,0.4), rgba(7,9,15,0.2));
  box-shadow: var(--shadow);
}
.hero-slide { display: none; position: relative; min-height: 420px; }
.hero-slide.is-on { display: grid; }
.hero-art-wrap { position: absolute; inset: 0; }
.hero-art {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7,9,15,0.88) 0%, rgba(7,9,15,0.45) 48%, rgba(7,9,15,0.1) 100%);
}
html[dir="rtl"] .hero-slide::after {
  background: linear-gradient(270deg, rgba(7,9,15,0.88) 0%, rgba(7,9,15,0.45) 48%, rgba(7,9,15,0.1) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 56px 48px;
}
.hero-copy h1 { margin-bottom: 14px; }
.hero-copy p { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }
.kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--red-l);
  font-weight: 800;
  margin-bottom: 10px;
}
.hero-dots {
  position: absolute;
  inset-inline-end: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255,255,255,0.28); cursor: pointer;
}
.hero-dots button.is-on { background: var(--red-l); width: 22px; }

.banner {
  margin: 0 0 28px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent-b);
  background: var(--accent-soft);
  color: var(--text);
  text-align: center;
}

.how { margin: 8px 0 48px; }
.how h2, .shelf-head h2, .media-block h2, .reqs h2 { margin-bottom: 16px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-grid article {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 180px;
}
.how-grid span { color: var(--accent); font-family: var(--display); font-size: 1.4rem; font-weight: 800; }
.how-grid p { color: var(--muted); margin: 8px 0 0; }

.shelf { margin-bottom: 56px; }
.shelf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.shelf-icon { width: 32px; height: 32px; object-fit: contain; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.card, .panel, .stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}
.card {
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-b);
  box-shadow: 0 18px 50px rgba(91, 140, 255, 0.14);
}
.panel { padding: 24px; margin-bottom: 18px; }
.card .cover {
  aspect-ratio: 16 / 10;
  background: #0a0e18;
  overflow: hidden;
}
.card .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .cover img { transform: scale(1.05); }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price { font-weight: 800; color: #fff; font-size: 1.2rem; font-family: var(--display); }
.stock { color: var(--muted); font-size: var(--fs-sm); }
.stock.is-low { color: var(--warn); font-weight: 700; }
.stock.is-out { color: var(--danger); font-weight: 700; }
.rating-summary { color: var(--accent); font-size: var(--fs-sm); font-weight: 700; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; }

.btn, button[type=submit] {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(180deg, #7aa3ff, var(--accent));
  color: #071018;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.28);
  transition: transform 0.18s ease, filter 0.18s ease;
}
.btn:hover, button[type=submit]:hover { filter: brightness(1.06); transform: translateY(-1px); color: #071018; }
.btn.ghost, .btn.secondary, .secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}
.btn.ghost:hover, .btn.secondary:hover { border-color: var(--accent-b); color: #fff; }
.btn.danger, .danger { background: #8b2e2e; color: #fff; box-shadow: none; }
.btn-steam { background: linear-gradient(180deg, #5c7e10, #3e5a08); color: #f2f8d8; }
.btn-whatsapp { background: linear-gradient(180deg, #25d366, #128c7e); color: #04140c; box-shadow: 0 10px 24px rgba(18, 140, 126, 0.28); }
.btn-pulse { animation: btn-pulse 0.42s ease; }
@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(0.96); }
}

label { display: block; margin: 12px 0 6px; color: var(--muted); font-weight: 600; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: #0b1020; color: var(--text); font-family: inherit;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: start; }
th { color: var(--dim); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
}
.flash { margin: 12px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); }
.flash.error { background: rgba(255, 93, 115, 0.12); color: #ffd5d5; }
.flash.success { background: rgba(61, 214, 140, 0.12); color: #d4ffe6; }

.product-hero { display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 28px; padding: 16px 0 48px; }
.cover-lg {
  position: relative; aspect-ratio: 16 / 9; height: auto; border-radius: 22px;
  overflow: hidden; isolation: isolate;
  background: #0b1020;
  border: 1px solid var(--border);
}
.cover-lg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: contain; object-position: center;
}
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumb {
  position: relative; width: 76px; height: 58px; border-radius: 12px;
  border: 1px solid var(--border); background: #0b1020; cursor: pointer;
  overflow: hidden; flex: 0 0 76px;
}
.thumb img {
  position: absolute; inset: 4px;
  width: calc(100% - 8px); height: calc(100% - 8px); max-width: none;
  object-fit: contain; pointer-events: none;
}
.thumb.is-on { outline: 2px solid var(--accent); }
.inline-icon { width: 16px; height: 16px; display: inline-block; vertical-align: middle; }
.media-block, .reqs { margin: 0 0 42px; }
.video-frame { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { width: 100%; border-radius: 18px; border: 1px solid var(--border); }
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-grid dt { color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.req-grid dd { margin: 0 0 10px; }
.product-buy { position: sticky; top: 92px; }

.site-footer {
  margin: 64px 0 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links, .social-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.footer-copy { margin: 0; font-size: var(--fs-sm); color: var(--dim); }
.footer-love { color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; font-family: var(--display); }
.social-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--border); color: var(--text);
}
.social-btn:hover, .social-btn:active { border-color: var(--accent-b); color: #fff; }
.wa-float {
  position: fixed;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  z-index: 40;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18, 140, 126, 0.35);
  transition: transform 0.2s ease;
}
html[data-float-wa="start"] .wa-float {
  inset-inline-start: 22px;
  inset-inline-end: auto;
}
html[data-float-cart="end"] .cart-bubble {
  inset-inline-end: 22px;
  inset-inline-start: auto;
}
html[data-float-wa="start"][data-float-cart="start"] .cart-bubble,
html[data-float-wa="end"][data-float-cart="end"] .cart-bubble {
  inset-block-end: 92px;
}
.float-label {
  position: absolute;
  inset-block-end: 100%;
  inset-inline-start: 50%;
  translate: -50% -6px;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--text);
}
.wa-float:hover { color: #04140c; transform: translateY(-3px); }

.cart-bubble {
  position: fixed;
  inset-inline-start: 22px;
  inset-block-end: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 18px;
  color: #071018;
  background: linear-gradient(180deg, var(--accent), #4a74e6);
  box-shadow: 0 16px 40px rgba(91, 140, 255, 0.35);
  cursor: pointer;
}
.cart-bubble:hover { color: #071018; transform: translateY(-3px); }
.cart-bubble-badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-end: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #071018;
  font-size: 0.72rem;
  font-weight: 800;
}
.cart-bubble.is-pulse .cart-bubble-badge { animation: cart-pop 0.45s ease; }
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(4, 8, 18, 0.62);
}
.cart-drawer {
  --cart-drawer-size: min(400px, 100%);
  position: fixed;
  inset-block: 0;
  inset-inline-end: calc(-1 * var(--cart-drawer-size));
  z-index: 71;
  inline-size: var(--cart-drawer-size);
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-inline-start: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.28);
  transition: inset-inline-end 0.28s ease;
}
.cart-drawer.is-open { inset-inline-end: 0; }
.cart-bubble[hidden],
.cart-drawer[hidden],
.cart-drawer-backdrop[hidden] {
  display: none;
}
.cart-drawer-head, .cart-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-block-end: 1px solid var(--border);
}
.cart-drawer-foot { border-block-end: 0; border-block-start: 1px solid var(--border); margin-top: auto; }
.cart-drawer-head h2 { margin: 0; font-size: 1.2rem; }
.cart-drawer-body { padding: 12px 18px; overflow: auto; flex: 1; }
.cart-drawer-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-block-end: 1px solid var(--border);
}
.cart-drawer-item:last-child { border-block-end: 0; }

.trust-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0 40px; color: var(--muted); font-size: var(--fs-sm); }
.trust-row span { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; background: rgba(255,255,255,0.03); }

.toast-host {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.cart-toast {
  pointer-events: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  opacity: 0; transform: translateY(8px);
  transition: 0.2s ease;
}
.cart-toast.is-in { opacity: 1; transform: translateY(0); }
.cart-toast.is-out { opacity: 0; }
.fly-clone {
  position: fixed; z-index: 60; pointer-events: none; width: 72px; height: 48px;
  object-fit: cover; border-radius: 10px;
}

.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-thumb {
  width: 64px; height: 44px; border-radius: 10px; overflow: hidden; background: #0b1020; flex: 0 0 64px;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.checkout-line { display: flex; align-items: center; gap: 12px; }
.checkout-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 20px; }
.checkout-summary { position: sticky; top: 92px; height: fit-content; }
.card-pay {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.card-pay-kicker {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.card-field-row { margin-bottom: 4px; }
.card-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card-field-host {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b1020;
  color: var(--text);
}
.card-field-host iframe { width: 100%; min-height: 24px; }
html[dir="rtl"] .card-field-host { text-align: start; }
.card-pay .btn { width: 100%; margin-top: 8px; }
.checkout-contact .btn.ghost { width: 100%; }
.cart-layout { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 20px; align-items: start; }
.cart-totals p { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; }
.empty-state { padding: 48px 24px; text-align: center; }
.empty-state h1 { margin-bottom: 8px; }

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}
.sidebar {
  background: rgba(9, 12, 22, 0.92);
  border-inline-end: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 0;
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.sidebar .brand { padding: 0 20px 18px; flex: 0 0 auto; font-family: var(--display); font-weight: 800; }
.sidebar nav {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
}
.sidebar a {
  padding: 11px 20px;
  color: var(--muted);
  border-inline-end: 3px solid transparent;
  font-weight: 650;
  font-size: 0.92rem;
}
.sidebar a:hover { color: var(--text); background: var(--accent-soft); }
.sidebar a.is-active {
  color: var(--text);
  background: var(--accent-soft);
  border-inline-end-color: var(--accent);
}
.sidebar .badge {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; margin-inline-start: 8px;
  border-radius: 99px; background: var(--accent); color: #071018; font-size: 0.68rem;
}
.sidebar .logout { margin-top: auto; padding: 18px; border-top: 1px solid var(--border); flex: 0 0 auto; }
.admin-main { padding: 28px 32px 56px; min-width: 0; }
.admin-nav { display: none; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-card { padding: 18px 20px; }
.stat-label { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; }
.stat-value { font-size: 1.8rem; color: #fff; margin-top: 6px; }
.setting-row {
  display: grid; grid-template-columns: minmax(160px, 220px) 1fr auto;
  gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border);
}
.setting-row label { margin: 0; }
.chart-wrap { padding: 16px; margin-bottom: 16px; }
.chart-wrap canvas { width: 100%; height: 220px; display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fetch-row { display: flex; gap: 8px; }
.admin-gallery, .icon-grid, .icon-picker { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-thumb, .icon-tile, .icon-choice {
  border: 1px solid var(--border); border-radius: 12px; padding: 8px; background: rgba(0,0,0,0.2);
}
.admin-thumb img, .icon-tile img, .icon-choice img { width: 72px; height: 48px; object-fit: contain; }

.creds-box {
  border: 1px solid var(--accent-b);
  background: rgba(11, 16, 32, 0.92);
  border-radius: 16px;
  padding: 4px 0;
  font-family: var(--mono);
}
.cred-row {
  display: grid; grid-template-columns: 140px 1fr auto;
  gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.cred-row:last-child { border-bottom: 0; }
.cred-row span:first-child { color: var(--dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cred-value, .cred, .code { font-family: var(--mono); color: var(--red-l); word-break: break-all; }
.code {
  font-size: 2rem; letter-spacing: 0.18em; background: #0b1020;
  padding: 16px; border-radius: 12px; text-align: center; border: 1px solid var(--accent-b);
}

.muted { color: var(--muted); }
.content-page { margin: 12px 0 48px; min-height: 180px; }
.content-page p { white-space: pre-wrap; color: var(--muted); }
.order-chip {
  font-family: var(--mono); font-size: 1.4rem; letter-spacing: 0.08em;
  border: 1px dashed var(--accent); border-radius: 14px; padding: 12px 16px; margin: 12px 0;
  background: var(--accent-soft);
}
.login-wrap { max-width: 420px; margin: 10vh auto; }
.toolbar { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.row-actions form { margin: 0; }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.pill.ok { background: rgba(61,214,140,.12); color: var(--success); }
.pill.busy { background: rgba(245,185,66,.12); color: var(--warn); }
.pill.bad { background: rgba(255,93,115,.12); color: var(--danger); }
.pill.idle { background: var(--accent-soft); color: var(--muted); }
.pill.pay-alert { font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
tr.row-alert td { background: rgba(255, 93, 115, 0.10); }
.pay-banner { font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: 180px 1fr; gap: 10px 16px; margin: 0; }
.detail-grid dt { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.detail-grid dd { margin: 0; }

.live-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 18px;
}
.live-head h1 { margin: 0; }
.live-count {
  min-width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 2rem; font-weight: 800;
  background: var(--accent-soft); border: 1px solid var(--accent-b); color: #fff;
}
.live-table td { vertical-align: top; }
.live-who { font-weight: 700; }
.live-meta { font-size: 0.78rem; margin-top: 2px; }
.live-table code {
  font-family: var(--mono); font-size: 0.82rem; color: var(--text);
}
.live-feed { list-style: none; margin: 0; padding: 0 4px 8px; }
.live-feed li { padding: 8px 0; border-block-end: 1px solid var(--border); }

.newsletter-form { max-width: 320px; }
.newsletter-row { display: flex; gap: 8px; align-items: center; }
.newsletter-row input { margin: 0; }
.newsletter-row .btn { flex: 0 0 auto; }
.faq-list details {
  border-block-end: 1px solid var(--border);
  padding: 12px 0;
}
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { color: var(--muted); margin: 10px 0 0; }
.verified-badge {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.14);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 800;
}
.review-list { list-style: none; padding: 0; margin: 18px 0 0; }
.review-list li { padding: 12px 0; border-block-end: 1px solid var(--border); }
.landing-page img { max-width: 100%; border-radius: 16px; }

html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: start; }
html[dir="rtl"] .how-grid article, html[dir="rtl"] th, html[dir="rtl"] td { text-align: start; }

.theme-picker { display: none; }

@media (max-width: 980px) {
  .hero-copy { padding: 36px 24px; }
  .how-grid, .product-hero, .req-grid, .checkout-layout, .cart-layout, .card-field-grid, .catalog-layout { grid-template-columns: 1fr; }
  .product-buy { position: static; }
}
@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { height: auto; position: relative; overflow: visible; }
  .sidebar nav { flex-direction: row; flex-wrap: wrap; overflow: visible; flex: 0 0 auto; min-height: unset; }
  .sidebar a { border-inline-end: 0; border-bottom: 3px solid transparent; }
  .sidebar a.is-active { border-bottom-color: var(--accent); }
  .sidebar .logout { margin-top: 0; }
  .form-grid, .setting-row { grid-template-columns: 1fr; }
  .admin-main { padding: 16px; }
}
@media (max-width: 640px) {
  .container { width: min(1220px, calc(100% - 24px)); }
  .cred-row { grid-template-columns: 1fr; }
  .navbar-inner {
    padding: 12px 0;
    align-items: stretch;
  }
  .header-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
  .hero-show, .hero-slide { min-height: 340px; }
  .hero-copy h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
}

.legal-page h2 { margin-top: 28px; font-size: var(--fs-lg); }
.legal-page p { margin: 8px 0 0; }
.receipt-sheet { margin-top: 16px; }
.receipt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.error-page .kicker { font-family: var(--mono); letter-spacing: 0.14em; }
.header-mail { color: var(--accent); font-weight: 700; }
.footer-contact a { color: var(--text); font-weight: 700; }
.cookie-banner {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 80;
  background: var(--card); border: 1px solid var(--accent-b); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 16px 18px;
}
.cookie-banner-inner { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner p { margin: 6px 0 0; color: var(--muted); max-width: 52ch; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media print {
  .atmosphere, .navbar, .site-footer, .wa-float, .cart-bubble, .cart-drawer,
  .cart-drawer-backdrop, .toast-host, .newsletter-form, .receipt-lookup, .receipt-actions, .cookie-banner {
    display: none !important;
  }
  body { background: #fff; color: #111; }
  .panel, .receipt-page, .receipt-sheet { background: #fff; box-shadow: none; border: 0; color: #111; }
  .order-chip { border-color: #111; background: #fff; color: #111; }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere-grid, .atmosphere-glow, .card, .card .cover img, .cart-bubble.is-pulse .cart-bubble-badge { animation: none !important; transition: none !important; }
  .cart-drawer { transition: none !important; }
}
