/* ========================================
   ICHTIRAK — CSS
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --bg-dark: #000000;
  --bg-body: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  --text-white: #ffffff;
  --text-light: #e5e5e5;
  --text-muted: #a3a3a3;
  --text-dim: #737373;

  --accent: #c8ff00;
  --accent-soft: rgba(200, 255, 0, 0.12);
  --accent-hover: #d4ff33;
  --red-badge: #ef4444;
  --green-accent: #22c55e;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 100px;
  --transition: all 0.3s ease;

  --container-max: 1280px;
  --section-gap: 80px;
}

/* ---------- Light Mode Override ---------- */
[data-theme="light"] {
  --bg-dark: #f5f5f5;
  --bg-body: #ffffff;
  --bg-card: #f8f8f8;
  --bg-card-hover: #f0f0f0;
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-color: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.2);

  --text-white: #111111;
  --text-light: #222222;
  --text-muted: #555555;
  --text-dim: #888888;

  --accent: #6d8a00;
  --accent-soft: rgba(109, 138, 0, 0.1);
  --accent-hover: #7d9f00;
}

[data-theme="light"] .top-marquee {
  background: #6d8a00;
  color: #ffffff;
}

[data-theme="light"] .top-marquee .marquee-dot {
  color: rgba(255, 255, 255, 0.4);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .product-badge {
  background: #dc2626;
}

[data-theme="light"] .btn-primary {
  background: #6d8a00;
  color: #ffffff;
}

[data-theme="light"] .btn-primary:hover {
  background: #7d9f00;
  box-shadow: 0 8px 24px rgba(109, 138, 0, 0.2);
}

[data-theme="light"] .cart-count {
  background: #6d8a00;
  color: #ffffff;
}

[data-theme="light"] .add-to-cart-btn.added {
  background: #16a34a !important;
  color: #ffffff !important;
}

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode (Default) -> Moon is visible */
.theme-icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

/* Light Mode -> Sun is visible */
[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-body);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   TOP MARQUEE BANNER
   ======================================== */
.top-marquee {
  background: var(--accent);
  color: #000;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 32px;
  animation: marquee 25s linear infinite;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.marquee-dot {
  color: rgba(0, 0, 0, 0.3);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   FEATURES MARQUEE (dark)
   ======================================== */
.features-marquee {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
  padding: 16px 0;
}

.marquee-track-slow {
  animation-duration: 35s;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
}

.features-marquee .marquee-dot {
  color: var(--accent);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.04);
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(20, 184, 166, 0.35));
  transition: filter 0.3s ease;
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.55));
}

.nav-logo-text {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text-white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn:hover {
  color: var(--text-white);
  background: var(--bg-glass);
}

/* ---------- Inline Navbar Search ---------- */
.nav-search-wrapper {
  display: flex;
  align-items: center;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease;
}

.nav-search-wrapper.active {
  max-width: 280px;
  opacity: 1;
}

.nav-search-input {
  width: 100%;
  min-width: 180px;
  padding: 8px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.nav-search-input::placeholder {
  color: var(--text-dim);
}

.nav-search-input:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}

.nav-search-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 6px;
  margin-left: 4px;
  line-height: 1;
  transition: var(--transition);
}

.nav-search-close:hover {
  color: var(--text-white);
}

/* Search — No results message */
.search-no-results {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 40px 0;
}

.cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  background: var(--accent);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   BTN SYSTEM
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-full);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 255, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatImage {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  background: var(--bg-body);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(200, 255, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-image {
  display: block;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 24px;
  border-radius: 0;
  position: relative;
  z-index: 1;
  object-fit: contain;
  animation: floatImage 4s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 36px;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-content .btn {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-trust-badges span {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* ========================================
   ABOUT / WHAT MAKES US DIFFERENT
   ======================================== */
.about-section {
  padding: var(--section-gap) 0;
  background: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
  padding: var(--section-gap) 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.stats-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.stats-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}

.stat-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   SECTION TITLE
   ======================================== */
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

/* ========================================
   BUNDLE DEALS
   ======================================== */
.bundles-section {
  padding: var(--section-gap) 0;
  background: var(--bg-body);
}

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bundle-card {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.bundle-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 255, 0, 0.06);
}

.bundle-image {
  width: 200px;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.08), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.bundle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.bundle-card:hover .bundle-image img {
  transform: scale(1.05);
}

.bundle-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.bundle-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
}

.bundle-prices,
.product-prices {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sale-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
}

.original-price {
  font-size: 0.9rem;
  color: orange;
  text-decoration: line-through;
}

/* ========================================
   PRODUCTS GRID
   ======================================== */
.products-section {
  padding: var(--section-gap) 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-subtitle {
  grid-column: 1 / -1;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 16px 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 255, 0, 0.06);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red-badge);
  color: var(--text-white);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
  letter-spacing: 0.05em;
}

.product-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.05), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  padding: 16px 16px 8px;
  line-height: 1.4;
  flex: 1;
}

.product-prices {
  padding: 0 16px 8px;
}

.product-option-group {
  padding: 0 16px 12px;
}

.product-option-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-option-wrapper select {
  width: 100%;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.78rem;
  padding: 10px 40px 10px 12px;
  transition: var(--transition);
}

.product-option-wrapper select:focus {
  outline: none;
  border-color: var(--accent);
}

.product-card-with-options .product-prices {
  padding-top: 0;
}

.product-card .sale-price {
  font-size: 1rem;
}

.product-card .btn {
  margin: 0 16px 16px;
  font-size: 0.82rem;
  padding: 10px 20px;
}

.view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ========================================
   STORE CTA
   ======================================== */
.store-cta {
  padding: var(--section-gap) 0;
  background: var(--bg-body);
}

.store-cta-inner {
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.08), rgba(200, 255, 0, 0.02));
  border: 1px solid rgba(200, 255, 0, 0.2);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
}

.store-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.store-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-section {
  padding: var(--section-gap) 0;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--text-dim);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   CART SIDEBAR
   ======================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.cart-close:hover {
  color: var(--text-white);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  text-align: center;
  color: var(--text-dim);
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.cart-empty p {
  font-size: 1rem;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  animation: cartSlideIn 0.3s ease;
}

@keyframes cartSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-body);
  color: var(--text-light);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-qty {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
  min-width: 18px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
  margin-left: 4px;
}

.cart-item-remove:hover {
  color: var(--red-badge);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-dark);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-total span:first-child {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-total-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
}

.cart-checkout-btn {
  width: 100%;
  margin-bottom: 12px;
}

.payment-icons {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

.add-to-cart-btn.added {
  background: var(--green-accent) !important;
  pointer-events: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 64px 0 32px;
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4,
.footer-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 5px 0;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-info p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

.payment-strip {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-bottom>p {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    gap: 40px;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  .nav-logo img {
    height: 64px;
  }

  :root {
    --section-gap: 56px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .bundles-grid {
    grid-template-columns: 1fr;
  }

  .bundle-card {
    flex-direction: column;
  }

  .bundle-image {
    width: 100%;
    min-height: 140px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card h3 {
    font-size: 0.78rem;
  }

  .store-cta-inner {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cart-sidebar {
    width: 100%;
    max-width: 100vw;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 12px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
      0 0 0 20px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* ========================================
   CONTACT / ORDER SECTION
   ======================================== */
.contact-section {
  padding: var(--section-gap) 0;
  background: var(--bg-body);
}

.contact-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: -32px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.contact-form-wrapper {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-white);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-group input::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* WhatsApp input with icon */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.input-with-icon input {
  padding-left: 42px;
}

/* Custom select */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 42px;
}

.select-wrapper select option {
  background: var(--bg-card);
  color: var(--text-white);
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Submit button */
.contact-submit-btn {
  width: 100%;
  margin-top: 8px;
  font-size: 1.05rem;
  padding: 16px 36px;
  position: relative;
}

.contact-submit-btn .btn-loader {
  color: #000;
}

/* Success message */
.contact-success {
  text-align: center;
  padding: 32px 16px;
  animation: fadeInUp 0.5s ease;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.contact-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.contact-success p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Light mode overrides */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select {
  background: #f0f0f0;
  color: #111;
}

[data-theme="light"] .form-group input::placeholder {
  color: #999;
}

[data-theme="light"] .select-wrapper select option {
  background: #f8f8f8;
  color: #111;
}

/* Responsive */
@media (max-width: 640px) {
  .contact-form-wrapper {
    padding: 32px 20px;
    border-radius: var(--radius);
  }

  .contact-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
}

/* ========================================
   LEGAL PAGES (Privacy, Refund, Terms)
   ======================================== */
.legal-page {
  padding: 100px 0 var(--section-gap);
  background: var(--bg-body);
  min-height: 100vh;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.legal-updated {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}

.legal-content ul li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-hover);
}

/* ========================================
   CONTACT PAGE SPECIFIC
   ======================================== */
.contact-page-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 560px;
  margin: 0 auto 48px;
}

.contact-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.contact-method-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(200, 255, 0, 0.06);
}

.contact-method-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.contact-method-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.contact-method-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-method-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

.form-section-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 28px;
}

/* Textarea styling */
.form-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-white);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  resize: vertical;
  min-height: 100px;
}

.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

[data-theme="light"] .form-group textarea {
  background: #f0f0f0;
  color: #111;
}

[data-theme="light"] .form-group textarea::placeholder {
  color: #999;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 80px 0 60px;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   LANGUAGE TOGGLE BUTTON
   ======================================== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px !important;
  border-radius: var(--radius-full) !important;
  border: 1px solid var(--border-color) !important;
  background: var(--bg-glass) !important;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.lang-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.lang-toggle:hover::before {
  opacity: 1;
}

.lang-toggle:hover {
  border-color: var(--accent) !important;
  transform: scale(1.05);
}

.lang-toggle:active {
  transform: scale(0.95);
}

.lang-globe {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.lang-toggle:hover .lang-globe {
  transform: rotate(180deg);
}

.lang-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-white);
  line-height: 1;
  position: relative;
  z-index: 1;
}

[data-theme="light"] .lang-toggle {
  border-color: rgba(0, 0, 0, 0.15) !important;
}

/* ========================================
   RTL / ARABIC OVERRIDES
   ======================================== */

/* Arabic Font */
[dir="rtl"] {
  --font: 'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[dir="rtl"] body {
  font-family: var(--font);
}

/* Marquee — reverse direction for RTL */
[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}

/* Navbar */
[dir="rtl"] .nav-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .nav-search-close {
  margin-left: 0;
  margin-right: 4px;
}

/* Cart badge position */
[dir="rtl"] .cart-count {
  right: auto;
  left: -2px;
}

/* FAQ */
[dir="rtl"] .faq-question {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .faq-icon {
  margin-left: 0;
  margin-right: 16px;
}

/* About Section */
[dir="rtl"] .about-text {
  text-align: right;
}

/* Stats */
[dir="rtl"] .stats-section {
  text-align: center;
}

/* Footer */
[dir="rtl"] .footer-col {
  text-align: right;
}

[dir="rtl"] .footer-info {
  text-align: right;
}

/* Product badge */
[dir="rtl"] .product-badge {
  left: auto;
  right: 12px;
}

/* Cart Sidebar — slide from left in RTL */
[dir="rtl"] .cart-sidebar {
  right: auto;
  left: -420px;
  border-left: none;
  border-right: 1px solid var(--border-color);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

[dir="rtl"] .cart-sidebar.active {
  right: auto;
  left: 0;
}

[dir="rtl"] .cart-header {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-item {
  flex-direction: row-reverse;
}

[dir="rtl"] .cart-item-info {
  text-align: right;
}

[dir="rtl"] .cart-item-remove {
  margin-left: 0;
  margin-right: 4px;
}

[dir="rtl"] .cart-total {
  flex-direction: row-reverse;
}

/* Contact Form */
[dir="rtl"] .form-group label {
  text-align: right;
  display: block;
}

[dir="rtl"] .form-group input,
[dir="rtl"] .form-group select,
[dir="rtl"] .form-group textarea {
  text-align: right;
}

[dir="rtl"] .input-with-icon {
  flex-direction: row-reverse;
}

[dir="rtl"] .select-arrow {
  left: 16px;
  right: auto;
}

/* Store CTA */
[dir="rtl"] .store-cta-inner {
  text-align: center;
}

/* Bundle card */
[dir="rtl"] .bundle-card {
  flex-direction: row-reverse;
}

[dir="rtl"] .bundle-info {
  text-align: right;
}

[dir="rtl"] .bundle-prices,
[dir="rtl"] .product-prices {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

/* WhatsApp Float — flip side in RTL */
[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

/* Hamburger — flip side in RTL */
[dir="rtl"] .hamburger {
  order: 1;
}

/* ─── RTL Mobile Responsive ─── */
@media (max-width: 768px) {
  [dir="rtl"] .nav-links.active {
    text-align: right;
  }

  [dir="rtl"] .bundle-card {
    flex-direction: column-reverse;
  }

  [dir="rtl"] .footer-grid {
    text-align: right;
  }
}

/* ========================================
   SALES OPTIMIZATION & UX ENHANCEMENTS
   ======================================== */

/* 1. Flash Sale Banner */
.flash-sale-banner {
  background: var(--red-badge);
  color: var(--text-white);
  padding: 12px 0;
  text-align: center;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

.flash-sale-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flash-icon {
  font-size: 1.2rem;
  animation: pulse 1.5s infinite;
}

.flash-text {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  /* keep timer ltr */
}

.time-block {
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.1rem;
  min-width: 40px;
}

.time-block small {
  font-size: 0.7rem;
  margin-left: 2px;
  opacity: 0.8;
}

.time-sep {
  font-weight: bold;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

[data-theme="light"] .flash-sale-banner {
  background: #dc2626;
}

/* 3. Testimonials Section */
.testimonials-section {
  padding: var(--section-gap) 0;
  background: var(--bg-body);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--text-white);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.reviewer-details h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}

.reviewer-details span {
  font-size: 0.75rem;
  color: var(--green-accent);
  font-weight: 600;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. Best Value Highlight */
.best-value-card {
  position: relative;
  border: 2px solid var(--accent) !important;
  box-shadow: 0 0 24px rgba(200, 255, 0, 0.15);
}

.best-value-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(200, 255, 0, 0.3);
}

[dir="rtl"] .best-value-badge {
  right: auto;
  left: 12px;
}

/* 5. Cart Trust Badges */
.cart-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

.cart-trust-badges span {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Defensive kill-switch for any stale cached purchase popup markup */
#purchasePopup,
.recent-purchase-popup,
.purchase-icon,
.purchase-info,
.purchase-name,
.purchase-product,
.purchase-time {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
