/* ═══════════════════════════════════════════════════════════════════════════
   Eveitoys — Premium Cyberpunk Design System
   RTL · Vazirmatn · Dark theme
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts ─────────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/assets/fonts/Vazirmatn-Black.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --bg:          #080810;
  --bg-1:        #0e0e1a;
  --bg-2:        #131320;
  --bg-card:     rgba(14,14,26,0.85);
  --cyan:        #00D4FF;
  --cyan-dim:    rgba(0,212,255,0.15);
  --cyan-glow:   rgba(0,212,255,0.35);
  --pink:        #FF2D78;
  --pink-dim:    rgba(255,45,120,0.15);
  --pink-glow:   rgba(255,45,120,0.35);
  --orange:      #FF6B00;
  --orange-dim:  rgba(255,107,0,0.15);
  --orange-glow: rgba(255,107,0,0.4);
  --text:        #e8e8f0;
  --text-muted:  #7a7a9a;
  --text-dim:    #4a4a6a;
  --border:      rgba(255,255,255,0.08);
  --border-cyan: rgba(0,212,255,0.3);

  /* Type scale */
  --h1:   clamp(30px, 5vw, 52px);
  --h2:   clamp(24px, 3.5vw, 34px);
  --h3:   20px;
  --body: 16px;
  --sm:   14px;
  --xs:   13px;

  /* Spacing */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  --shadow-cyan: 0 0 20px var(--cyan-glow), 0 0 40px rgba(0,212,255,0.15);
  --shadow-pink: 0 0 20px var(--pink-glow), 0 0 40px rgba(255,45,120,0.15);
  --glow-orange: 0 0 20px var(--orange-glow), 0 0 40px rgba(255,107,0,0.2);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-color: var(--cyan-dim) var(--bg);
}

body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  font-size: var(--body);
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--s4);
}

.section {
  padding-block: var(--s7);
}

.section--alt {
  background: var(--bg-1);
  position: relative;
}

.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(0,212,255,0.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(255,45,120,0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Section Headers ────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--s6);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: 99px;
  padding: 4px 16px;
  margin-bottom: var(--s2);
  letter-spacing: 0;
}

.section-title {
  font-size: var(--h2);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: var(--s2);
}

.section-desc {
  font-size: var(--body);
  color: var(--text-muted);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.9;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 12px 28px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: var(--body);
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, #ff4500 100%);
  color: #fff;
  box-shadow: var(--glow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px var(--orange-glow), 0 8px 24px rgba(255,107,0,0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-cyan {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: inset 0 0 0 0 var(--cyan-dim);
}
.btn-cyan:hover {
  background: var(--cyan-dim);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--sm);
  border-radius: var(--r-sm);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,16,0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(0,212,255,0.08), 0 1px 0 var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--s3);
}

/* Logo (right in RTL) */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--cyan) 0%, #0099cc 100%);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cyan);
  font-size: 22px;
  font-weight: 900;
  color: var(--bg);
  letter-spacing: -1px;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo-text .brand-lat {
  font-size: 18px;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 12px var(--cyan-glow);
  letter-spacing: 0.5px;
  direction: ltr;
}
.site-logo-text .brand-fa {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex: 1;
  justify-content: center;
}

.site-nav a {
  font-size: var(--sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* Actions (left in RTL) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s1);
  flex-shrink: 0;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--text-muted);
  background: transparent;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
}

.header-btn:hover {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.cart-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--pink);
  color: #fff;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
  line-height: 1;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  color: var(--text);
  cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--s2) var(--s3) var(--s3);
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.mobile-nav a {
  font-size: var(--body);
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px var(--s2);
  border-radius: var(--r-md);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.mobile-nav a:hover {
  color: var(--cyan);
  background: var(--cyan-dim);
}

.mobile-nav.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(8,8,16,0.2) 0%, rgba(8,8,16,0.7) 50%, rgba(8,8,16,0.92) 100%),
    linear-gradient(to top, rgba(8,8,16,0.8) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: var(--s7);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-size: var(--sm);
  font-weight: 500;
  color: var(--cyan);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: 99px;
  padding: 6px 18px;
  margin-bottom: var(--s3);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: var(--h1);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: var(--s3);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title .accent {
  color: var(--cyan);
  text-shadow: var(--shadow-cyan);
}

.hero-title .accent-pink {
  color: var(--pink);
  text-shadow: var(--shadow-pink);
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: rgba(232,232,240,0.8);
  line-height: 1.9;
  margin-bottom: var(--s5);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--s4);
  margin-top: var(--s5);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: var(--xs);
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: var(--xs);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Category Strip ──────────────────────────────────────────────────────────── */
.cat-strip {
  background: var(--bg-1);
  padding-block: var(--s5);
  border-block: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cat-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(0,212,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  padding: var(--s4) var(--s3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--cyan-dim), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
}

.cat-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-6px);
}

.cat-card:hover::before { opacity: 1; }

.cat-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-dim);
  color: var(--cyan);
  transition: all 0.3s;
  flex-shrink: 0;
}

.cat-card:hover .cat-icon {
  background: rgba(0,212,255,0.25);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.cat-img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
}

.cat-name {
  font-size: var(--h3);
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.cat-count {
  font-size: var(--sm);
  color: var(--text-muted);
}

/* ── Product Grid ────────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.1);
  transform: translateY(-6px);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-2);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  box-shadow: var(--shadow-pink);
}

.product-body {
  padding: var(--s3);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  flex: 1;
}

.product-cat {
  font-size: var(--xs);
  color: var(--cyan);
  font-weight: 500;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--s2);
  border-top: 1px solid var(--border);
  gap: var(--s2);
  flex-wrap: wrap;
}

.product-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--orange);
  white-space: nowrap;
}

.product-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-sm);
  font-size: var(--sm);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.product-add:hover {
  background: rgba(0,212,255,0.25);
  box-shadow: var(--shadow-cyan);
}

/* ── Trust Strip ─────────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-2);
  padding-block: var(--s5);
  border-block: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s3);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
  text-align: center;
  padding: var(--s3);
  position: relative;
}

.trust-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.trust-item:hover::after { opacity: 1; }

.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.trust-item:hover .trust-icon {
  background: rgba(0,212,255,0.2);
  box-shadow: var(--shadow-cyan);
}

.trust-title {
  font-size: var(--sm);
  font-weight: 700;
  color: var(--text);
}

.trust-desc {
  font-size: var(--xs);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Blog Cards ──────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}

.blog-card:hover {
  border-color: rgba(255,45,120,0.25);
  box-shadow: var(--shadow-pink), 0 8px 32px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

.blog-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-img img { transform: scale(1.06); }

.blog-body {
  padding: var(--s3);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.blog-date {
  font-size: var(--xs);
  color: var(--pink);
  font-weight: 500;
}

.blog-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read {
  margin-top: auto;
  padding-top: var(--s2);
  font-size: var(--sm);
  color: var(--pink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding-top: var(--s6);
  padding-bottom: var(--s4);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--s5);
  margin-bottom: var(--s5);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--s1);
}

.footer-desc {
  font-size: var(--sm);
  color: var(--text-muted);
  line-height: 1.9;
}

.footer-socials {
  display: flex;
  gap: var(--s1);
  margin-top: var(--s1);
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  text-decoration: none;
}

.social-btn:hover {
  color: var(--pink);
  background: var(--pink-dim);
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
}

.footer-col h4 {
  font-size: var(--sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: var(--sm);
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--cyan); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s1);
  font-size: var(--sm);
  color: var(--text-muted);
}

.footer-contact-item svg {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--text-muted);
  transition: color 0.2s;
  text-decoration: none;
}

.footer-contact-item a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer-copy {
  font-size: var(--xs);
  color: var(--text-dim);
}

.footer-trust-logos {
  display: flex;
  gap: var(--s2);
  align-items: center;
}

.enamad-badge {
  width: 80px;
  height: 80px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  background: var(--bg-card);
}

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--sm);
  font-weight: 500;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: inherit;
  font-size: var(--body);
  transition: all 0.2s;
}

.form-input::placeholder { color: var(--text-dim); }

.form-input:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-input:invalid { border-color: var(--pink); }

textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.9;
}

.form-error {
  font-size: var(--xs);
  color: var(--pink);
}

.form-hint {
  font-size: var(--xs);
  color: var(--text-muted);
}

/* ── Alerts ─────────────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: var(--sm);
  display: flex;
  align-items: flex-start;
  gap: var(--s1);
  margin-bottom: var(--s3);
}

.alert-success {
  background: rgba(0,212,100,0.1);
  border: 1px solid rgba(0,212,100,0.25);
  color: #00d464;
}

.alert-error {
  background: var(--pink-dim);
  border: 1px solid rgba(255,45,120,0.25);
  color: var(--pink);
}

.alert-info {
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
}

/* ── Page Hero (inner pages) ─────────────────────────────────────────────────── */
.page-hero {
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 50% 0%, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: var(--h2);
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  font-size: var(--sm);
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--cyan); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb-sep { color: var(--text-dim); }

/* ── Auth pages ──────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s5) var(--s2);
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(0,212,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(255,45,120,0.05) 0%, transparent 60%),
    var(--bg);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s5);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
}

.auth-card h1 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}

.auth-card .auth-sub {
  font-size: var(--sm);
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--s4);
}

.auth-divider {
  text-align: center;
  font-size: var(--sm);
  color: var(--text-muted);
  margin-block: var(--s3);
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  position: relative;
  background: var(--bg-card);
  padding-inline: var(--s2);
}

.auth-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.auth-link:hover { opacity: 0.8; }

/* ── Cart ────────────────────────────────────────────────────────────────────── */
.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  font-size: var(--sm);
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px var(--s2);
  border-bottom: 1px solid var(--border);
  text-align: right;
}

.cart-table td {
  padding: 16px var(--s2);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-product {
  display: flex;
  align-items: center;
  gap: var(--s2);
}

.cart-product-img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.cart-qty-wrap {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.qty-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

.qty-val {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

/* ── Shop filters ────────────────────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--s4);
  align-items: start;
}

.filter-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s3);
  position: sticky;
  top: 90px;
}

.filter-title {
  font-size: var(--sm);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--s2);
  padding-bottom: var(--s1);
  border-bottom: 1px solid var(--border);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: var(--s1);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: var(--sm);
  color: var(--text-muted);
}

.filter-item:hover,
.filter-item.active {
  color: var(--cyan);
  background: var(--cyan-dim);
}

/* ── Pagination ──────────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--s5);
  flex-wrap: wrap;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: var(--sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}

.page-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--bg);
}

/* ── Sticky scroll reveal ────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Utility ─────────────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-cyan   { color: var(--cyan); }
.text-pink   { color: var(--pink); }
.text-orange { color: var(--orange); }
.text-muted  { color: var(--text-muted); }
.font-bold   { font-weight: 700; }
.mt-auto     { margin-top: auto; }
.gap-2       { gap: var(--s2); }
.flex        { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2      { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.grid-3      { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); }
.w-full      { width: 100%; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: var(--s4); }
}

@media (max-width: 900px) {
  .cat-grid    { grid-template-columns: repeat(2, 1fr); }
  .trust-grid  { grid-template-columns: repeat(2, 1fr); }
  .blog-grid   { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }

  .site-nav { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 680px) {
  :root {
    --s7: 64px;
    --s6: 48px;
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats   { gap: var(--s3); }
  .container    { padding-inline: var(--s2); }
}

@media (max-width: 390px) {
  .cat-grid     { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .product-grid { grid-template-columns: 1fr; }
  .trust-grid   { grid-template-columns: 1fr; }
  .header-inner { gap: var(--s1); }
  .site-logo-text .brand-lat { font-size: 15px; }
  .hero-title   { font-size: clamp(28px, 8vw, 42px); }
}

/* ── Product Detail ─────────────────────────────────────────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: start;
}

/* Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  position: sticky;
  top: 90px;
}

.gallery-main {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.gallery-main img.fading {
  opacity: 0;
}

.gallery-thumbs {
  display: flex;
  gap: var(--s1);
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  padding: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: rgba(0,212,255,0.4);
}

.gallery-thumb.active {
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Info column */
.product-info-col {
  display: flex;
  flex-direction: column;
}

/* Size / variant picker */
.size-options {
  display: flex;
  gap: var(--s1);
  flex-wrap: wrap;
}

.size-btn {
  padding: 8px 18px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  font-family: inherit;
  font-size: var(--sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.size-btn:hover {
  border-color: rgba(0,212,255,0.35);
  color: var(--cyan);
}

input[type="radio"]:checked + .size-btn {
  border-color: var(--cyan);
  background: var(--cyan-dim);
  color: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Qty input */
.qty-input {
  width: 56px;
  text-align: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: var(--body);
  font-weight: 700;
  -moz-appearance: textfield;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.qty-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0,212,255,0.15);
}

@media (max-width: 860px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .product-gallery { position: static; }
}

/* ── Neon effects ────────────────────────────────────────────────────────────── */
@keyframes neon-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--cyan-glow), 0 0 20px rgba(0,212,255,0.2); }
  50% { box-shadow: 0 0 20px var(--cyan-glow), 0 0 40px rgba(0,212,255,0.3), 0 0 60px rgba(0,212,255,0.1); }
}

@keyframes neon-pulse-pink {
  0%, 100% { box-shadow: 0 0 10px var(--pink-glow), 0 0 20px rgba(255,45,120,0.2); }
  50% { box-shadow: 0 0 20px var(--pink-glow), 0 0 40px rgba(255,45,120,0.3); }
}

.neon-pulse { animation: neon-pulse 3s ease infinite; }
.neon-pulse-pink { animation: neon-pulse-pink 3s ease infinite; }

/* ── Glow text ──────────────────────────────────────────────────────────────── */
.glow-cyan {
  text-shadow: 0 0 10px var(--cyan-glow), 0 0 20px rgba(0,212,255,0.3);
}
.glow-pink {
  text-shadow: 0 0 10px var(--pink-glow), 0 0 20px rgba(255,45,120,0.3);
}

/* ── Section divider line ────────────────────────────────────────────────────── */
.neon-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--pink) 70%, transparent);
  margin-block: var(--s1);
}
