/* ==========================================
   Little Legends — Premium Light Mode Design
   Arabic RTL | Cairo Font | 3D Effects
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================
   Design Tokens
   ========================================== */
:root {
  /* Brand Palette (Inspired by Logo Dominant Colors) */
  --primary-color: #228191;
  /* Teal/Cyan dominant color */
  --primary-light: #52adb9;
  /* Light teal */
  --primary-dark: #155c69;
  /* Dark teal */
  --secondary-color: #9f3f3d;
  /* Burgundy/Rose accent */
  --secondary-light: #d2815f;
  /* Soft orange/sand */
  --accent-color: #eea318;
  /* Gold yellow accent */
  --accent-orange: #d2815f;
  /* Soft coral/sand */
  --success-color: #00b894;
  --warning-color: #eea318;
  --danger-color: #9f3f3d;

  /* Light Background Layers */
  --bg-color: #f2f7f8;
  /* Soft teal-gray background tint */
  --bg-layer1: #ffffff;
  --bg-layer2: #e5eff1;
  /* Layer 2 teal tint */
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(34, 129, 145, 0.04);
  --bg-glass-hover: rgba(34, 129, 145, 0.08);

  /* Text — Dark on Light */
  --text-dark: #1a2a2d;
  --text-muted: #536b6f;
  --text-light: #9ab4b7;
  --border-color: rgba(34, 129, 145, 0.12);
  --border-glass: rgba(34, 129, 145, 0.15);

  /* Fonts */
  --font-display: 'Cairo', 'Outfit', sans-serif;
  --font-body: 'Cairo', 'Outfit', sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows — Soft & Elegant */
  --shadow-sm: 0 2px 12px rgba(34, 129, 145, 0.07);
  --shadow-md: 0 8px 30px rgba(34, 129, 145, 0.10);
  --shadow-lg: 0 20px 60px rgba(34, 129, 145, 0.13);
  --shadow-glow: 0 0 25px rgba(34, 129, 145, 0.20), 0 8px 20px rgba(34, 129, 145, 0.12);
  --shadow-glow-pink: 0 0 25px rgba(159, 63, 61, 0.20);
  --shadow-float: 0 24px 64px rgba(34, 129, 145, 0.18), 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 4px 24px rgba(34, 129, 145, 0.09), 0 1px 4px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-fast: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-cinematic: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* 3D */
  --perspective: 1000px;
}

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

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button,
input,
select,
textarea {
  font-family: inherit;
  direction: rtl;
  text-align: right;
}

/* ==========================================
   Custom Scrollbar
   ========================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f0eeff;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--radius-full);
}

/* ==========================================
   App Shell
   ========================================== */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
  position: relative;
}

/* Soft ambient orbs */
.app-container::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(108, 92, 231, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.app-container::after {
  content: '';
  position: fixed;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(232, 67, 147, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.main-content {
  flex-grow: 1;
  padding: 70px 0 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ==========================================
   Premium Glass Header — Light
   ========================================== */
.glass-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-bottom: 1px solid rgba(34, 129, 145, 0.10);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  direction: rtl;
  box-shadow: 0 2px 20px rgba(34, 129, 145, 0.07);
  transition: var(--transition-smooth);
}

.glass-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 129, 145, 0.3), rgba(159, 63, 61, 0.3), transparent);
  opacity: 0.6;
}

.desktop-nav>a {
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.desktop-nav>a:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.desktop-nav>a.active {
  color: var(--primary-color);
}

/* ==========================================
   Premium Header Cart Icon
   ========================================== */
.header-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-bounce);
  will-change: transform, box-shadow, background-color;
}

.header-cart-btn:hover {
  background: rgba(34, 129, 145, 0.08);
  border-color: rgba(34, 129, 145, 0.25);
  transform: translateY(-2px) scale(1.08);
  color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(34, 129, 145, 0.15);
}

.header-cart-btn:active {
  transform: translateY(1px) scale(0.95);
  box-shadow: var(--shadow-sm);
}

.header-cart-btn .header-cart-icon {
  transition: var(--transition-bounce);
}

.header-cart-btn:hover .header-cart-icon {
  transform: rotate(-10deg) scale(1.05);
}

/* Premium Badge styling */
.header-cart-badge {
  position: absolute;
  top: -5px;
  left: -5px;
  /* RTL position - top left */
  background: linear-gradient(135deg, var(--secondary-color), #c0306a);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(159, 63, 61, 0.35);
  font-family: var(--font-display);
  transform-origin: center;
  animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Pulse animation for a non-empty cart badge */
.header-cart-badge.pulse {
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  70% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes badge-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(159, 63, 61, 0.5), 0 4px 10px rgba(159, 63, 61, 0.35);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(159, 63, 61, 0), 0 4px 10px rgba(159, 63, 61, 0.35);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(159, 63, 61, 0), 0 4px 10px rgba(159, 63, 61, 0.35);
  }
}

/* ==========================================
   Typography
   ========================================== */
.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 800;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  margin: 10px auto 0;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.35);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ==========================================
   Buttons — Premium Light
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  font-size: 0.95rem;
  direction: rtl;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(108, 92, 231, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), #c0306a);
  color: white;
  box-shadow: 0 4px 16px rgba(232, 67, 147, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(232, 67, 147, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(108, 92, 231, 0.3);
  color: var(--primary-color);
}

.btn-outline:hover {
  background: rgba(108, 92, 231, 0.06);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.15);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(108, 92, 231, 0.15);
  color: var(--text-dark);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
}

.btn-text:hover {
  color: var(--primary-color);
  background: rgba(108, 92, 231, 0.05);
}

/* ==========================================
   Cards — Floating Light Glass
   ========================================== */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 92, 231, 0.10);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
  will-change: transform, box-shadow;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 92, 231, 0.15), transparent);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-float);
  border-color: rgba(108, 92, 231, 0.22);
}

/* ==========================================
   Age Badges
   ========================================== */
.badge-age {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: white;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-family: var(--font-display);
}

.age-0-3 {
  background: linear-gradient(135deg, #00b894, #00cec9);
}

.age-4-6 {
  background: linear-gradient(135deg, #e84393, #fd79a8);
}

.age-7-9 {
  background: linear-gradient(135deg, #e17055, #d63031);
}

.age-10-12 {
  background: linear-gradient(135deg, #6c5ce7, #4834d4);
}

/* ==========================================
   Product Grid
   ========================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

/* ==========================================
   Form Inputs — Light Theme
   ========================================== */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(108, 92, 231, 0.18);
  background: #ffffff;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  text-align: right;
  direction: rtl;
  font-family: var(--font-body);
  box-shadow: 0 1px 6px rgba(108, 92, 231, 0.05);
}

.form-control:focus {
  border-color: var(--primary-color);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.10), 0 2px 10px rgba(108, 92, 231, 0.08);
}

.form-control option {
  background: #fff;
  color: var(--text-dark);
}

.form-control::placeholder {
  color: var(--text-light);
}

/* ==========================================
   Tables — Light
   ========================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  direction: rtl;
}

.data-table thead {
  background: rgba(108, 92, 231, 0.05);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(108, 92, 231, 0.07);
}

.data-table th {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 0.85rem;
  letter-spacing: 0.4px;
}

.data-table tbody tr {
  transition: var(--transition-fast);
}

.data-table tbody tr:hover {
  background: rgba(108, 92, 231, 0.03);
}

/* ==========================================
   User Dropdown
   ========================================== */
.user-dropdown {
  position: absolute;
  top: 52px;
  left: 0;
  right: auto;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(108, 92, 231, 0.12);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   Category Bubble
   ========================================== */
.category-bubble {
  background: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(108, 92, 231, 0.12);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
  direction: rtl;
}

.category-bubble:hover,
.category-bubble.active {
  background: rgba(108, 92, 231, 0.04);
  border-color: rgba(108, 92, 231, 0.35);
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   Glass Panel Helpers
   ========================================== */
.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(108, 92, 231, 0.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.glass-panel-elevated {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid rgba(108, 92, 231, 0.14);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   Gradient Text
   ========================================== */
.gradient-text-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes float-particle {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.3;
  }

  33% {
    transform: translateY(-18px) rotate(120deg);
    opacity: 0.6;
  }

  66% {
    transform: translateY(-8px) rotate(240deg);
    opacity: 0.4;
  }
}

@keyframes drift {
  0% {
    transform: translateX(0) translateY(0);
  }

  25% {
    transform: translateX(12px) translateY(-8px);
  }

  50% {
    transform: translateX(4px) translateY(-16px);
  }

  75% {
    transform: translateX(-8px) translateY(-6px);
  }

  100% {
    transform: translateX(0) translateY(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.65;
    transform: scale(1.04);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 16px rgba(108, 92, 231, 0.2);
  }

  50% {
    box-shadow: 0 0 32px rgba(108, 92, 231, 0.4), 0 0 60px rgba(108, 92, 231, 0.15);
  }
}

.animate-fadeUp {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fadeUp-delay1 {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.animate-fadeUp-delay2 {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.animate-fadeUp-delay3 {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-fadeUp-delay4 {
  opacity: 0;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

/* ==========================================
   Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .glass-header {
    padding: 0 24px;
  }

  .main-content {
    padding: 90px 0 40px;
  }
}

@media (max-width: 768px) {
  .glass-header {
    padding: 0 16px;
  }

  .main-content {
    padding: 70px 0 30px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* TV / no-hover devices */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-card);
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* ==========================================
   Responsive Mobile Header Styles
   ========================================== */
@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: flex !important;
  }
}

.mobile-nav-drawer a {
  transition: var(--transition-fast);
}

.mobile-nav-drawer a:hover {
  background-color: var(--bg-glass-hover);
  color: var(--primary-color) !important;
}

.mobile-nav-drawer a.active {
  background-color: rgba(34, 129, 145, 0.08);
  color: var(--primary-color) !important;
}

/* ==========================================
   Scroll Reveal Animations (High Performance)
   ========================================== */
html.js-enabled .reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

html.js-enabled .reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-enabled .reveal-element {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================
   Exclusive Promo Pop-up Modal
   ========================================== */
.exclusive-promo-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 32, 35, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: promoFadeIn 0.3s ease-out;
}

.exclusive-promo-content {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 60px rgba(15, 32, 35, 0.25);
  border-radius: 24px;
  width: 100%;
  max-width: 520px;
  padding: 32px;
  position: relative;
  direction: rtl;
  text-align: right;
  animation: promoScaleIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Glassmorphism gradient shine */
.exclusive-promo-content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(238, 163, 24, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.exclusive-promo-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(15, 32, 35, 0.05);
  border: none;
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}

.exclusive-promo-close:hover {
  background: rgba(15, 32, 35, 0.1);
  color: var(--text-dark);
  transform: rotate(90deg);
}

.exclusive-promo-header {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.exclusive-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(238, 163, 24, 0.15), rgba(238, 163, 24, 0.05));
  border: 1px solid rgba(238, 163, 24, 0.25);
  color: #d4880a;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.exclusive-promo-body {
  position: relative;
  z-index: 1;
}

.exclusive-promo-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 12px;
  font-family: var(--font-display);
  line-height: 1.35;
}

.exclusive-promo-discount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.exclusive-promo-discount .discount-value {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--font-display);
  line-height: 1;
  letter-spacing: -1px;
}

.exclusive-promo-discount .discount-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(108, 92, 231, 0.08);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

.exclusive-promo-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.exclusive-promo-products-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.exclusive-promo-products {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  max-height: 200px;
  overflow-y: auto;
  padding-left: 4px;
}

.promo-product-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 32, 35, 0.06);
  border-radius: 16px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.promo-product-item:hover {
  background: #ffffff;
  border-color: rgba(108, 92, 231, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 32, 35, 0.04);
}

.promo-product-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f5f7;
}

.promo-product-info {
  flex: 1;
  min-width: 0;
}

.promo-product-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-product-price {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 2px;
}

.promo-product-arrow {
  color: var(--text-light);
  transition: transform 0.2s;
  width: 18px;
  height: 18px;
}

.promo-product-item:hover .promo-product-arrow {
  transform: translateX(-4px);
  color: var(--primary-color);
}

.exclusive-promo-countdown-wrapper {
  background: linear-gradient(135deg, rgba(34, 129, 145, 0.08) 0%, rgba(34, 129, 145, 0.02) 100%);
  border: 1px solid rgba(34, 129, 145, 0.18);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(34, 129, 145, 0.04);
}

.exclusive-promo-countdown-wrapper .countdown-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.exclusive-promo-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.exclusive-promo-countdown .countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(34, 129, 145, 0.15);
  padding: 8px 12px;
  border-radius: 12px;
  min-width: 58px;
  box-shadow: 0 2px 8px rgba(34, 129, 145, 0.03);
}

.exclusive-promo-countdown .countdown-num {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-color);
  font-family: var(--font-display);
  line-height: 1.1;
}

.exclusive-promo-countdown .countdown-label {
  font-size: 0.68rem;
  color: var(--text-dark);
  margin-top: 4px;
  font-weight: 700;
}

.exclusive-promo-countdown .countdown-separator {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent-color);
  margin-top: -16px;
}

.exclusive-promo-footer {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.exclusive-promo-btn {
  width: 100%;
  padding: 14px;
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(108, 92, 231, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.exclusive-promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(108, 92, 231, 0.35);
}

@keyframes promoFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes promoScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 576px) {
  .exclusive-promo-content {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .exclusive-promo-title {
    font-size: 1.4rem;
  }

  .exclusive-promo-discount .discount-value {
    font-size: 2.3rem;
  }
}

/* General Countdown Timer Styles (Overrides for site.js template) */
.countdown-container {
  display: flex !important;
  gap: 6px !important;
  direction: rtl !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  color: var(--text-dark) !important;
  margin-top: 5px;
}

.countdown-item {
  background: rgba(15, 32, 35, 0.04) !important;
  border: 1px solid rgba(15, 32, 35, 0.08) !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  min-width: 50px !important;
  text-align: center;
}

.countdown-value {
  display: block !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

.countdown-label {
  font-size: 0.65rem !important;
  color: #c1c5c6 !important;
  opacity: 0.9 !important;
  font-weight: 700 !important;
}

.countdown-divider {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  margin-bottom: 2px;
}