/* ============================================
   Luxury Perfume Shop - Redesigned
   Minimalist • Responsive • Luxurious
   ============================================ */

/* ---------- Tanha Font (Local) ---------- */
@font-face {
  font-family: 'Tanha';
  src: url('../font/Tanha.woff2') format('woff2'),
       url('../font/Tanha.woff') format('woff'),
       url('../font/Tanha.ttf') format('truetype'),
       url('../font/Tanha.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tanha';
  src: url('../font/Without-Latin/Tanha-WOL.woff2') format('woff2'),
       url('../font/Without-Latin/Tanha-WOL.woff') format('woff'),
       url('../font/Without-Latin/Tanha-WOL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Tanha FD';
  src: url('../font/Farsi-Digits/Tanha-FD.woff2') format('woff2'),
       url('../font/Farsi-Digits/Tanha-FD.woff') format('woff'),
       url('../font/Farsi-Digits/Tanha-FD.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Tanha FD';
  src: url('../font/Farsi-Digits-Without-Latin/Tanha-FD-WOL.woff2') format('woff2'),
       url('../font/Farsi-Digits-Without-Latin/Tanha-FD-WOL.woff') format('woff'),
       url('../font/Farsi-Digits-Without-Latin/Tanha-FD-WOL.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

/* ---------- Light Theme ---------- */
:root {
  --primary: #0a0a0a;
  --secondary: #1a1a1a;
  --accent: #c9a96e;
  --accent-hover: #b8944f;
  --accent-light: rgba(201, 169, 110, 0.12);
  --bg: #faf8f5;
  --bg-primary: #faf8f5;
  --bg-secondary: #f0ece6;
  --bg-card: #ffffff;
  --text-primary: #0a0a0a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.1);
  --font-display: 'Playfair Display', 'Tanha', Georgia, serif;
  --font-body: 'Tanha', 'Segoe UI', sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 72px;
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --primary: #f5f0e8;
  --secondary: #e0d8cc;
  --accent: #c9a96e;
  --accent-hover: #d4b87d;
  --accent-light: rgba(201, 169, 110, 0.15);
  --bg: #0a0a0a;
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --text-primary: #f5f0e8;
  --text-secondary: #b0a898;
  --text-muted: #6a6258;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* ---------- Base & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.6s ease, color 0.6s ease;
}
[dir="rtl"] body { font-family: 'Tanha', var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast), opacity var(--transition-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: 'Tanha', var(--font-body);
  font-weight: 700;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes lineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #0a0a0a;
  border: none;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.3);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(250, 248, 245, 0.8);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition: background 0.6s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}
[data-theme="dark"] .site-header {
  background: rgba(10, 10, 10, 0.85);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.site-header.hidden { transform: translateY(-100%); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.logo span {
  color: var(--accent);
  font-size: 0.8em;
  margin: 0 0.15em;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  display: inline-block;
  opacity: 0.95;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background: transparent;
}
.logo:hover .logo-img { opacity: 1; transform: scale(1.08); }
/* Theme-adaptive: light logo shows in light mode, dark logo in dark mode */
.logo-img-light { display: none; }
.logo-img-dark  { display: inline-block; }
[data-theme="light"] .logo-img-light { display: inline-block; }
[data-theme="light"] .logo-img-dark  { display: none; }
/* Footer logo: always visible, never theme-adaptive */
.logo-img-footer { display: inline-block !important; }
@media (max-width: 768px) {
  .logo { font-size: 1.15rem; gap: 0.5rem; }
  .logo-img { width: 36px; height: 36px; border-radius: 8px; }
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-main a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
}
.nav-main a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}
[dir="rtl"] .nav-main a::after { transform-origin: left; }
.nav-main a:hover { color: var(--text-primary); }
.nav-main a:hover::after { transform: scaleX(1); }
.nav-main a.active { color: var(--accent); }
.nav-main a.active::after { transform: scaleX(1); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-actions .icon-btn,
.header-actions .cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 1.15rem;
}
.header-actions .icon-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
}
.header-actions .cart-count {
  position: absolute;
  top: 2px;
  right: 0px;
  min-width: 16px;
  height: 16px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
[dir="rtl"] .header-actions .cart-count { right: auto; left: 0px; }
.lang-toggle, .theme-toggle {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
}
.lang-toggle:hover, .theme-toggle:hover { color: var(--accent); background: var(--accent-light); }
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  font-size: 1.4rem;
}

/* ---------- Mobile Menu ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 88vw;
  height: 100%;
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 2001;
}
[dir="rtl"] .mobile-nav-panel {
  right: auto;
  left: 0;
  border-left: none;
  border-right: 1px solid var(--border);
  transform: translateX(-100%);
}
.mobile-nav.active .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-header .logo {
  font-size: 1.2rem;
  gap: 0.6rem;
}
.mobile-nav-header .logo-img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}
.mobile-nav-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.mobile-nav-close:hover { background: var(--accent-light); color: var(--accent); }
.mobile-nav-links {
  padding: 0.75rem 0;
  flex: 1;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.mobile-nav-links a svg { opacity: 0.5; flex-shrink: 0; }
.mobile-nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.mobile-nav-links a:hover svg { opacity: 1; }
.mobile-nav-links a.active { color: var(--accent); font-weight: 600; }
.mobile-nav-links a.active svg { opacity: 1; }
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 0 1.5rem;
}
.mobile-nav-actions {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-nav-cart { width: 100%; justify-content: center; }
.mobile-nav-actions .btn-outline { width: 100%; justify-content: center; }
.mobile-nav-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-nav-theme {
  display: flex;
  gap: 0.5rem;
}
.mobile-theme-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.mobile-theme-btn:hover { background: var(--accent-light); color: var(--accent); }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
  margin-top: var(--header-height);
}
.slider-container { position: relative; width: 100%; height: 100%; }
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slider-slide.active { opacity: 1; }
.slider-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.slider-slide.active .slider-bg { transform: scale(1); }
.slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.8) 100%);
}
.slider-link {
  display: block;
  width: 100%;
  height: 100%;
}
.slider-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.slider-content h2 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  text-align: center;
  max-width: 650px;
  line-height: 1.5;
  padding: 1.5rem 2.5rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}
.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 4px;
}
[dir="rtl"] .slider-prev svg { transform: scaleX(-1); }
[dir="rtl"] .slider-next svg { transform: scaleX(-1); }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, var(--accent-light) 100%);
  background-size: 200% 200%;
  animation: gradientShift 16s ease infinite;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.03) 0%, rgba(10,10,10,0.08) 50%, rgba(10,10,10,0.12) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201, 169, 110, 0.06) 0%, transparent 50%);
}
[dir="rtl"] .hero-bg::after { background: radial-gradient(circle at 70% 40%, rgba(201, 169, 110, 0.06) 0%, transparent 50%); }
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  z-index: 2;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
}
[data-theme="dark"] .hero-content {
  background: rgba(10, 10, 10, 0.7);
  border-color: rgba(201, 169, 110, 0.12);
}
.hero-content .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
.hero-content h1 {
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  color: var(--text-primary);
  text-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.hero-content .hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero-btns .btn { padding: 1rem 2.5rem; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: scaleIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}
.hero-visual .glow-circle {
  position: relative;
  width: min(380px, 48vw);
  height: min(380px, 48vw);
  max-width: 380px;
  max-height: 380px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--border);
}
.hero-visual .glow-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  animation: float 8s ease-in-out infinite;
}
.hero-visual .glow-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201, 169, 110, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ---------- Product Slider Section ---------- */
.product-slider-section {
  padding: 4rem 0 3rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0.75rem;
}
.product-slider-track {
  display: flex;
  gap: 1rem;
  padding: 1rem 0 2rem;
  margin: 0;
  will-change: transform;
}
.product-slider-card {
  flex: 0 0 calc(25% - 0.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
}
.product-slider-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 169, 110, 0.2);
}
.product-slider-btn {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.product-slider-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.product-slider-prev { left: 0.25rem; }
.product-slider-next { right: 0.25rem; }
[dir="rtl"] .product-slider-prev { left: auto; right: 0.25rem; }
[dir="rtl"] .product-slider-next { right: auto; left: 0.25rem; }
[dir="rtl"] .product-slider-prev svg { transform: scaleX(-1); }
[dir="rtl"] .product-slider-next svg { transform: scaleX(-1); }
@media (min-width: 901px) {
  .product-slider-wrap { padding: 0 2.5rem; }
  .product-slider-btn {
    width: 48px;
    height: 48px;
  }
  .product-slider-prev { left: 0; }
  .product-slider-next { right: 0; }
  [dir="rtl"] .product-slider-prev { left: auto; right: 0; }
  [dir="rtl"] .product-slider-next { right: auto; left: 0; }
}
.product-slider-img {
  width: 120px;
  height: 120px;
  min-width: 120px;
  min-height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.product-slider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.product-slider-card:hover .product-slider-img img { transform: scale(1.08); }
.product-slider-brand {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.product-slider-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--text-primary);
}
.product-slider-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ---------- Section Common ---------- */
.section {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
  display: block;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- Product Grid & Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 169, 110, 0.15);
}
.product-card .image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-secondary);
  overflow: hidden;
}
.product-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .image-wrap img { transform: scale(1.06); }
.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.4rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
}
[dir="rtl"] .product-card .badge { left: auto; right: 14px; }
.product-card .quick-add {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  transition: all var(--transition);
}
.product-card:hover .quick-add {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.product-card .quick-add .btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-card .quick-add .btn:hover { background: var(--accent); color: #fff; }
.product-card .info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.product-card .info .brand {
  font-size: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.product-card .info .title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.product-card .info .price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.product-card .info .price-old,
.price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85em;
  margin-left: 0.4rem;
  font-weight: 400;
}

/* ---------- Categories Strip ---------- */
.categories-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.cat-chip {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
  letter-spacing: 0.02em;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 169, 110, 0.25);
}

/* ---------- About Block ---------- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-block .image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  aspect-ratio: 4/5;
}
.about-block .image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-block .content h2 { margin-bottom: 1.25rem; }
.about-block .content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.newsletter-section .section-header { margin-bottom: 2.5rem; }
.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.newsletter-form .btn { padding: 1rem 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: #e0d8cc;
  padding: 5rem 0 2rem;
}
[data-theme="dark"] .site-footer { background: #050505; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand .logo {
  color: #f5f0e8;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  gap: 0.75rem;
}
.footer-brand .logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.footer-brand p {
  color: #a09888;
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  color: #c9a96e;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col a {
  color: #a09888;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: #f5f0e8; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: #6a6258; font-size: 0.85rem; }
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.social-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #a09888;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-4px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}
[dir="ltr"] .social-links a:hover { transform: translateX(4px); }
.social-links .social-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.social-links a:hover .social-icon {
  background: rgba(255, 255, 255, 0.2);
}
.social-links .social-label {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Shop Page ---------- */
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.shop-toolbar .result-count { color: var(--text-secondary); font-size: 0.9rem; }
.filter-sort select {
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
}

/* ---------- Product Detail ---------- */
.product-detail {
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}
.product-detail .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}
.product-gallery-main {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 1rem;
}
.gallery-zoom-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.gallery-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.gallery-zoom-wrap.zoomed { overflow: auto; cursor: grab; }
.gallery-zoom-wrap.zoomed:active { cursor: grabbing; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1.3rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}
.gallery-nav:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }
[dir="rtl"] .gallery-prev { left: auto; right: 0.75rem; }
[dir="rtl"] .gallery-next { right: auto; left: 0.75rem; }
.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.7;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); opacity: 1; }
.product-gallery .main-image {
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
  margin-bottom: 1rem;
  animation: fadeIn 0.6s ease;
}
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-meta .brand { font-size: 0.8rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem; font-weight: 600; }
.product-meta h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1.25rem; }
.product-meta .price-block {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.product-meta .description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.quantity-selector button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quantity-selector button:hover { border-color: var(--accent); color: var(--accent); }
.quantity-selector input {
  width: 60px;
  text-align: center;
  padding: 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
}
.product-actions .btn { width: 100%; padding: 1rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.features-list span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ---------- Cart Page ---------- */
.cart-page { padding: calc(var(--header-height) + 3rem) 0 4rem; }
.cart-table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 1.25rem 1rem; text-align: start; border-bottom: 1px solid var(--border); }
[dir="rtl"] .cart-table th, [dir="rtl"] .cart-table td { text-align: right; }
.cart-table th { font-weight: 600; color: var(--text-secondary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cart-table .cart-product { display: flex; align-items: center; gap: 1rem; }
.cart-table .cart-product img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); }
.cart-summary {
  max-width: 400px;
  margin-top: 2rem;
  margin-left: auto;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.cart-summary h3 { margin-bottom: 1.25rem; }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; color: var(--text-secondary); }
.cart-summary .row.total { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-state .icon { font-size: 4rem; margin-bottom: 1.5rem; opacity: 0.3; }
.empty-state h3 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-secondary); margin-bottom: 2rem; }

/* ---------- Checkout ---------- */
.checkout-page { padding: calc(var(--header-height) + 3rem) 0 4rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 3rem; }
.checkout-form .form-group { margin-bottom: 1.25rem; }
.checkout-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.checkout-form input, .checkout-form textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.checkout-form input:focus, .checkout-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.order-summary {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  height: fit-content;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.order-summary h3 { margin-bottom: 1.25rem; }
.order-summary .item { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.95rem; }
.order-summary .divider { height: 1px; background: var(--border); margin: 1rem 0; }
.order-summary .total { font-size: 1.2rem; font-weight: 700; }
[dir="rtl"] .cart-summary { margin-left: 0; margin-right: auto; }

/* ---------- Contact Page ---------- */
.contact-page { padding: calc(var(--header-height) + 3rem) 0 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.7; }
.contact-details { margin-bottom: 2rem; }
.contact-details .item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.contact-details .item .icon {
  width: 52px; height: 52px; min-width: 52px; border-radius: 14px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.2);
}
.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { padding: 1rem 2rem; border-radius: var(--radius); font-weight: 600; }

/* ---------- About Page ---------- */
.about-page { padding: calc(var(--header-height) + 3rem) 0 4rem; }
.about-page .about-block { margin-bottom: 5rem; }
.about-page .values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.about-page .value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.about-page .value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(201, 169, 110, 0.15); }
.about-page .value-card .icon { font-size: 2.5rem; margin-bottom: 1.25rem; }
.about-page .value-card h4 { margin-bottom: 0.75rem; }
.about-page .value-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* ---------- Trust Strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.trust-item {
  padding: 1.5rem;
}
.trust-item .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.trust-item strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* ---------- Utility: Farsi Digits ---------- */
.fd { font-family: 'Tanha FD', 'Tanha', var(--font-body); }
.fw { font-family: 'Tanha', 'Tanha FD', var(--font-body); }

/* ============================================================
   Site Popup
   ============================================================ */
.site-popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  animation: fadeIn 0.4s ease;
}
.site-popup {
  max-width: 480px; width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.2);
  position: relative; padding: 2.5rem; text-align: center;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.site-popup-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.site-popup-close:hover { background: var(--accent); color: #fff; }
[dir="rtl"] .site-popup-close { right: auto; left: 1rem; }
.site-popup-img { margin-bottom: 1.25rem; border-radius: var(--radius-lg); overflow: hidden; }
.site-popup-img img { width: 100%; height: auto; max-height: 220px; object-fit: cover; }
.site-popup-title { margin-bottom: 1rem; font-size: 1.3rem; }
.site-popup-content { margin-bottom: 1.75rem; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   Frontend Responsive (non-admin)
   ============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual .glow-circle { width: min(300px, 55vw); height: min(300px, 55vw); }
  .hero-slider { height: 420px; }
  .product-slider-card { flex: 0 0 calc(50% - 0.5rem); padding: 1rem 0.75rem; }
  .product-slider-img { width: 90px; height: 90px; min-width: 90px; min-height: 90px; }
  .product-slider-name { font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail .grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .checkout-grid { grid-template-columns: 1fr; }
  .about-block { grid-template-columns: 1fr; gap: 3rem; }
  .about-block .image-wrap { order: -1; aspect-ratio: 16/9; }
}
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .container { padding: 0 1.25rem; }
  .nav-main { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: block; }
  .hero { padding: calc(var(--header-height) + 1.5rem) 0 3rem; min-height: auto; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-slider { height: 360px; margin-top: var(--header-height); }
  .slider-content h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .section { padding: 3rem 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .product-card .info { padding: 0.75rem 1rem; }
  .product-card .info .title { font-size: 0.9rem; }
  .product-slider-section { padding: 3rem 0 2rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-page .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .features-list { grid-template-columns: 1fr; }
  .cart-table .cart-product { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }
  .hero-slider { height: 300px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: 100%; }
  .product-slider-card { flex: 0 0 calc(100% - 0.5rem); padding: 1rem; }
  .product-slider-img { width: 100px; height: 100px; min-width: 100px; min-height: 100px; }
}
