/* source: style.css */
/* ==========================================
   TAHOURSA - MODERN ARABIC E-COMMERCE CSS
   (ORANGE THEME + WHITE BACKGROUNDS)
   ========================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ==========================================
     ORANGE THEME (keep backgrounds WHITE)
     ========================================== */
  --primary-green: #E45A2A;
  /* ✅ Primary Orange */
  --secondary-green: #FF8A3D;
  /* ✅ Secondary Orange */
  --light-green: #FFF1E8;
  /* ✅ Light Orange tint */
  --accent-green: #FF6A1A;
  /* ✅ Accent Orange */
  --dark-green: #B93F16;
  /* ✅ Dark Orange */

  /* Neutrals */
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #EEEEEE;
  --neutral-300: #E0E0E0;
  --neutral-400: #BDBDBD;
  --neutral-500: #9E9E9E;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;

  --white: #FFFFFF;
  --black: #000000;

  /* Utility colors */
  --whatsapp: #25D366;
  --error: #F44336;
  --success: #4CAF50;
  --warning: #FF9800;

  /* Typography */
  --font-primary: 'Tajawal', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  /* ✅ FIXED */
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-medium: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
}

/* Base */
html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--neutral-800);
  background-color: var(--white);
  /* ✅ keep white */
  text-align: initial;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-900);
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--neutral-700);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--light-green);
  color: var(--dark-green);
  border-color: var(--dark-green);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background: #128C7E;
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: var(--white);
}

.btn-block {
  width: 100%;
  margin-bottom: var(--spacing-sm);
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-medium);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) 0;
  gap: var(--spacing-xl);
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  color: var(--primary-green);
  text-decoration: none;
}

.logo {
  max-width: 160px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-weight: 500;
  color: var(--neutral-700);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
  background: var(--light-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-shrink: 0;
}

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--neutral-700);
  background: transparent;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-cart i {
  font-size: 1.1rem;
}

.nav-cart-count {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--primary-green);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-cart:hover {
  background: var(--light-green);
  color: var(--primary-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: var(--light-green);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--neutral-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-medium);
}

/* Overlay for Mobile Menu */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  background: rgba(15, 23, 42, 0.4);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hero Section */
.hero {
  background: linear-gradient(var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('/images/leaf-pattern.png') no-repeat center right;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--dark-green);
  /* ✅ dark orange */
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--neutral-600);
  margin-bottom: var(--spacing-2xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Hero Features */
.hero-features-section {
  background: var(--white);
  padding: 0;
  /* Removed padding */
  margin-top: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.features-swiper {
  padding: 5px var(--spacing-xs);
  /* Reduced from lg */
}

.features-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  transition: transform var(--transition-fast);
  height: 100%;
  /* ensure consistent height */
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(228, 90, 42, .10);
  /* ✅ orange tint */
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: var(--font-size-lg);
  color: var(--dark-green);
  margin-bottom: var(--spacing-xs);
}

.feature-text p {
  color: var(--neutral-600);
  margin: 0;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.section-title {
  font-size: var(--font-size-4xl);
  color: var(--dark-green);
  margin-bottom: var(--spacing-md);
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--neutral-600);
  margin: 0;
}

/* Testimonials section special styling */
.testimonials-section .section-title {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.postv2-article .blog-details img {
  width: 80% !important;
  height: 80% !important;
}

/* Products Section */
.products-section {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
  /* ✅ keep white */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  min-height: 520px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-medium);
  border: 1px solid var(--neutral-100);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-green);
  /* ✅ orange */
}

.product-image {
  position: relative;
  width: 100%;
  height: 600px;
  /* Increased for more prominent product display */
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Show full image without cropping */
  transition: transform var(--transition-medium);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--secondary-green);
  /* ✅ orange */
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
  z-index: 3;
}

.discount-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  gap: 5px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  background: linear-gradient(180deg, #ff7a18 0%, #ff3d00 42%, #c41e0a 100%);
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  line-height: 1.2;
  border: 2px solid rgba(255, 220, 120, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow:
    0 0 14px rgba(255, 150, 0, 0.75),
    0 0 28px rgba(255, 80, 0, 0.55),
    0 0 40px rgba(255, 60, 0, 0.3),
    0 4px 14px rgba(180, 30, 0, 0.45);
  overflow: visible;
  isolation: isolate;
  animation: fire-badge-flicker 1.2s ease-in-out infinite;
}

.discount-badge__icon {
  color: #ffe566;
  font-size: 0.9rem;
  order: 2;
  filter: drop-shadow(0 0 6px rgba(255, 200, 0, 1));
  animation: fire-icon-flicker 0.55s ease-in-out infinite;
}

.discount-badge__text {
  position: relative;
  z-index: 1;
  order: 1;
}

.discount-badge__flames,
.discount-badge__flame {
  display: none !important;
}

.discount-badge::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.65) 0%, rgba(255, 80, 0, 0.25) 45%, transparent 70%);
  z-index: -1;
  opacity: 0.9;
  animation: fire-glow 1.4s ease-in-out infinite;
  pointer-events: none;
}

.discount-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255, 240, 180, 0.45) 48%,
    transparent 70%
  );
  mix-blend-mode: screen;
  animation: fire-sheen 1.6s linear infinite;
  pointer-events: none;
}

@keyframes fire-badge-flicker {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1.05);
    box-shadow:
      0 0 14px rgba(255, 150, 0, 0.75),
      0 0 28px rgba(255, 80, 0, 0.55),
      0 0 40px rgba(255, 60, 0, 0.3),
      0 4px 14px rgba(180, 30, 0, 0.45);
  }
  50% {
    transform: scale(1.04) rotate(-1deg);
    filter: brightness(1.18);
    box-shadow:
      0 0 18px rgba(255, 170, 0, 0.85),
      0 0 34px rgba(255, 90, 0, 0.65),
      0 0 48px rgba(255, 60, 0, 0.4),
      0 4px 16px rgba(180, 30, 0, 0.5);
  }
}

@keyframes fire-icon-flicker {
  0%,
  100% {
    transform: scale(1);
    color: #ffe566;
    filter: drop-shadow(0 0 6px rgba(255, 200, 0, 1));
  }
  40% {
    transform: scale(1.15);
    color: #fff3a0;
    filter: drop-shadow(0 0 10px rgba(255, 180, 0, 1));
  }
  70% {
    transform: scale(0.98);
    color: #ffb300;
  }
}

@keyframes fire-glow {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes fire-sheen {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .discount-badge,
  .discount-badge::before,
  .discount-badge::after,
  .discount-badge__icon {
    animation: none;
  }

  .discount-badge {
    box-shadow:
      0 0 14px rgba(255, 150, 0, 0.75),
      0 0 28px rgba(255, 80, 0, 0.55),
      0 0 40px rgba(255, 60, 0, 0.3),
      0 4px 14px rgba(180, 30, 0, 0.45);
  }

  .discount-badge::before {
    opacity: 0.9;
  }
}

/* =============================================
   Offer Countdown Timer
   ============================================= */
.offer-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid rgba(228, 90, 42, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: #92400e;
  white-space: nowrap;
}

.offer-timer__icon {
  color: #e45a2a;
  font-size: 0.85rem;
  animation: timer-tick 1s steps(2) infinite;
}

.offer-timer__label {
  color: #78350f;
}

.offer-timer__digits {
  font-family: "Tajawal", system-ui, monospace;
  font-size: 0.95rem;
  font-weight: 900;
  color: #dc2626;
  letter-spacing: 0.06em;
  min-width: 5.5em;
  text-align: center;
  direction: ltr;
}

.offer-timer--urgent {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: rgba(220, 38, 38, 0.25);
  animation: timer-urgent-pulse 0.8s ease-in-out infinite;
}

.offer-timer--urgent .offer-timer__icon {
  color: #dc2626;
}

.offer-timer--urgent .offer-timer__digits {
  color: #b91c1c;
}

/* Carousel cards */
.c-body .offer-timer {
  margin: 4px 0 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  border-radius: 8px;
}

.c-body .offer-timer__digits {
  font-size: 0.82rem;
}

@keyframes timer-tick {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.4; }
}

@keyframes timer-urgent-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-timer__icon,
  .offer-timer--urgent {
    animation: none;
  }
}

.product-info {
  padding: var(--spacing-lg);
  /* Restored to original */
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--dark-green);
  margin-bottom: var(--spacing-sm);
  /* Restored to original */
  min-height: 3em;
  /* ensures alignment across cards */
  line-height: 1.5em;
}

.product-description {
  color: var(--neutral-600);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-md);
  /* Restored to original */
  line-height: 1.5;
  min-height: 4.5em;
  /* ensures alignment across cards */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =============================================
   Product Price — clean inline design
   ============================================= */
.product-price {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: var(--spacing-md) !important;
  min-height: 2em !important;
  white-space: nowrap !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.price {
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  color: var(--primary-green) !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  white-space: nowrap !important;
  display: inline !important;
}

.old-price-wrapper {
  display: inline !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.old-price,
.old {
  text-decoration: line-through !important;
  text-decoration-color: rgba(228, 90, 42, 0.5) !important;
  text-decoration-thickness: 2px !important;
  color: #e45a2a !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  opacity: 0.7 !important;
}

/* --- When discount is active: solid red sale price (avoid transparent text-fill — it vanishes when background is overridden) --- */
.product-price--has-discount .price,
.product-price .old-price-wrapper + .price {
  font-size: 1.5rem !important;
  font-weight: 900 !important;
  position: relative !important;
  color: #dc2626 !important;
  background: none !important;
  -webkit-text-fill-color: #dc2626 !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  filter: none !important;
  animation: none !important;
}

.product-price--has-discount .old-price-wrapper {
  order: 1 !important;
}

/* =============================================
   Carousel price — same solid red sale style
   ============================================= */
.c-item .c-price--has-discount .new,
.c-price--has-discount .new {
  color: #dc2626 !important;
  background: none !important;
  -webkit-text-fill-color: #dc2626 !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 900 !important;
  filter: none !important;
  animation: none !important;
  position: relative !important;
}

.c-price--has-discount .old-price-wrapper {
  order: 1 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.c-price--has-discount {
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.discount-pct {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

@keyframes discount-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}

/* Carousel / Offers Card Alignment */
.c-item .c-price {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

.c-item .c-price .new {
  font-size: var(--font-size-xl) !important;
  font-weight: 900 !important;
  color: var(--primary-green) !important;
  -webkit-text-fill-color: var(--primary-green) !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  display: inline !important;
}

.c-item .c-price.c-price--has-discount .new {
  color: #dc2626 !important;
  -webkit-text-fill-color: #dc2626 !important;
  background: none !important;
}

.c-item .c-price .old {
  display: inline !important;
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  white-space: nowrap !important;
  text-decoration: line-through !important;
  text-decoration-color: rgba(228, 90, 42, 0.5) !important;
  text-decoration-thickness: 2px !important;
  color: #e45a2a !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  opacity: 0.7 !important;
}

.btn-applepay {
  font-size: 11px !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
}

.product-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: auto;
  /* pushes buttons to bottom */
}

/* Offers Section */
.offers-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
  /* ✅ light orange tint to white */
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-green);
}

/* ✅ FIXED: true center badge (works RTL/LTR) */
.offer-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  background: var(--secondary-green);
  color: var(--white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--font-size-sm);
}

.offer-content h3 {
  font-size: var(--font-size-2xl);
  color: var(--dark-green);
  margin-bottom: var(--spacing-md);
}

.offer-content p {
  color: var(--neutral-600);
  margin-bottom: var(--spacing-lg);
}

.offer-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.new-price {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--primary-green);
}

/* Testimonials */
.testimonials-section {
  padding: var(--spacing-3xl) 0;
  background:
    linear-gradient(135deg, rgba(228, 90, 42, 0.88) 0%, rgba(255, 138, 61, 0.78) 100%),
    url('/images/arabic-wellness.webp') center/cover;
  background-attachment: fixed;
  color: var(--white);
  position: relative;
}

.testimonials-slider {
  position: relative;
  max-width: 1200px;
  /* Increased for multi-card layout */
  margin: 0 auto;
  padding: 0 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  width: 100%;
  /* Important for slider consistency */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  transition: transform .3s ease;
  /* Hardware acceleration to reduce lag from heavy images */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.testimonials-swiper .swiper-slide {
  height: auto !important;
  display: flex;
}

.testimonial-card:hover {
  transform: scale(1.02);
}

.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--primary-green);
  font-size: var(--font-size-2xl);
  border: 2px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: var(--warning);
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-sm);
}

.testimonial-text {
  color: var(--neutral-600);
  font-size: var(--font-size-base);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  flex-grow: 1;
}

.testimonial-author strong {
  display: block;
  color: var(--dark-green);
  font-size: var(--font-size-base);
  margin-bottom: 2px;
}

/* Swiper Nav Controls */
.testimonial-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.test-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  color: var(--primary-green);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  pointer-events: auto;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-btn:hover {
  background: var(--primary-green);
  color: var(--white);
}

.swiper-pagination-bullet-active {
  background: var(--primary-green) !important;
}

.testimonial-author span {
  color: var(--neutral-500);
  font-size: var(--font-size-sm);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary-green);
  color: var(--white);
}

/* Trust Section */
.trust-section {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  text-align: center;
}

.trust-item {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--neutral-50);
  transition: all var(--transition-medium);
}

.trust-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  /* ✅ orange */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.trust-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.trust-item h3 {
  color: var(--dark-green);
  margin-bottom: var(--spacing-sm);
}

.trust-item p {
  color: var(--neutral-600);
  margin: 0;
}

/* Footer */
.footer {
  background: #0F1C2E !important;
  padding: 64px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-section h4 {
  color: #FF7A2F !important;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-lg);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section ul li a {
  color: var(--neutral-200);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.footer-logo {

  height: 40px;

  object-fit: cover;
}

.footer-brand h3 {
  color: var(--white);
  margin: 0;
  font-size: var(--font-size-2xl);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: var(--spacing-lg);
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.4);
  /* Dark translucent background for contrast */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  /* Subtle glass effect */
}

.social-links a:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(228, 90, 42, 0.3);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-200);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--neutral-200);
}

.footer-bottom p {
  margin: var(--spacing-xs) 0;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 360px;
  background: #fff;
  z-index: 1000;

  /* default closed */
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  color: var(--dark-green);
  margin: 0;
}

.close-cart {
  background: none;
  border: none;
  font-size: var(--font-size-xl);
  color: var(--neutral-500);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.close-cart:hover {
  background: var(--neutral-100);
  color: var(--neutral-700);
}

.cart-items {
  flex: 1;
  padding: var(--spacing-lg);
  overflow-y: auto;
}

.cart-footer {
  padding: var(--spacing-lg);
  border-top: 1px solid var(--neutral-200);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark-green);
}

/* Page Headers with different backgrounds */
.page-header {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
  padding: var(--spacing-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header.about-header {
  background:
    linear-gradient(135deg, rgba(228, 90, 42, 0.88) 0%, rgba(255, 138, 61, 0.78) 100%),
    url('/images/arabic-herbal-traditional.jpg') center/cover;
  color: var(--white);
}

.page-header.faq-header {
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.88) 0%, rgba(228, 90, 42, 0.78) 100%),
    url('/images/herbal-medicine-arabic.jpg') center/cover;
  color: var(--white);
}

.page-header.contact-header {
  background:
    linear-gradient(135deg, rgba(255, 138, 61, 0.88) 0%, rgba(185, 63, 22, 0.78) 100%),
    url('/images/arabic-wellness.jpg') center/cover;
  color: var(--white);
}

.page-header.about-header .page-title,
.page-header.about-header .page-subtitle,
.page-header.faq-header .page-title,
.page-header.faq-header .page-subtitle,
.page-header.contact-header .page-title,
.page-header.contact-header .page-subtitle {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('/images/leaf-pattern.png') no-repeat center right;
  opacity: 0.1;
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: var(--font-size-5xl);
  color: var(--dark-green);
  margin-bottom: var(--spacing-md);
}

.page-subtitle {
  font-size: var(--font-size-xl);
  color: var(--neutral-600);
  margin-bottom: var(--spacing-xl);
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-sm);
  color: var(--neutral-500);
}

.breadcrumb a {
  color: var(--primary-green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  color: var(--neutral-400);
}

.breadcrumb .current {
  color: var(--neutral-600);
  font-weight: 500;
}

/* =========================================================
   About Page Styles (kept as-is from your file)
   ========================================================= */

.about-story-section {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.about-description {
  color: var(--neutral-700);
  line-height: 1.8;
  font-size: var(--font-size-base);
  margin: 0;
}

.about-stats {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--primary-green);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: var(--neutral-600);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.about-badge {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  background: var(--primary-green);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.about-badge i {
  font-size: var(--font-size-lg);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .about-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .about-badge {
    position: static;
    margin-top: var(--spacing-md);
    align-self: flex-start;
  }
}

/* =========================================================
   ✅ UI UPGRADE OVERRIDES (FEATURES + FOOTER + HEADER polish)
   ========================================================= */

:focus-visible {
  outline: 3px solid rgba(228, 90, 42, 0.25);
  /* ✅ orange focus */
  outline-offset: 2px;
  border-radius: 12px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header search polish (base) */
.search-input {
  padding-right: var(--spacing-xl);
  padding-left: 3rem;
  /* space for icon */
}

.search-btn {
  left: var(--spacing-md);
  right: auto;
}

.search-btn:hover {
  color: var(--primary-green);
}

/* HERO FEATURES — premium wrapper */
.hero-features {
  background: transparent;
  padding: 0;
  margin-top: var(--spacing-2xl);
  border-radius: 0;
  box-shadow: none;
}

.hero-features .container {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 22px;
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
}

.features-grid {
  gap: clamp(12px, 2vw, 18px);
}

/* Feature card layout fix */
.feature-item {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  border: 1px solid var(--neutral-200);
  border-radius: 18px;
  padding: 18px;
  align-items: center;
  min-height: 110px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

@media (max-width: 768px) {
  .hero-features-section .feature-item {
    padding: 8px 12px !important;
    min-height: 52px !important;
    height: auto !important;
    border-radius: 12px !important;
    gap: 10px !important;
  }
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, .08);
  border-color: rgba(234, 103, 57, .35);
  /* ✅ orange */
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(234, 103, 57, .10);
  /* ✅ orange tint */
  color: #000;
  box-shadow: none;
}

@media (max-width: 768px) {
  .hero-features-section .feature-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    font-size: 0.85rem !important;
    background: rgba(234, 103, 57, .10) !important;
    color: #000 !important;
    display: flex !important;
    margin: 0 !important;
  }

  .hero-features-section .feature-icon i {
    color: white !important;
    font-size: 0.9rem !important;
  }
}

.hero-features-section .feature-text {
  text-align: start;
  padding: 0 !important;
}

.feature-text h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--neutral-900);
}

@media (max-width: 768px) {
  .hero-features-section .feature-text h3 {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
  }
}

.feature-text p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--neutral-600);
}

@media (max-width: 768px) {
  .hero-features-section .feature-text p {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    margin-top: 1px !important;
  }
}

/* Footer Upgrade */
/* Footer Baseline */
.footer {
  background: #0F1C2E !important;
  padding: 64px 0 24px;
}

.footer-content {
  gap: 28px;
  margin-bottom: 28px;
}

.footer-section {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.footer-section p {
  color: rgba(255, 255, 255, .78);
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-section h4 {
  margin-bottom: 14px;
  font-size: 1.05rem;
  color: #fff;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, .80);
  display: inline-flex;
  padding: 6px 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-section ul li a:hover {
  color: #fff;
  transform: translateX(-2px);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-info p {
  color: rgba(255, 255, 255, .82);
  gap: 10px;
}

.contact-info i {
  opacity: .95;
}

.contact-info p a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.contact-info p a:hover {
  color: #25D366;
  transform: scale(1.05) translateY(-1px);
  text-shadow: 0 0 10px rgba(37, 211, 102, 0.3);
}

/* Consistently styled across footer variants */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  margin-top: 16px;
  padding-top: 18px;
  color: rgba(255, 255, 255, .70);
}

/* Footer Payment Section */
.footer-payment-section {
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.footer-divider {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, .1);
  margin-bottom: 1.5rem;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.pm-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-tooltip {
  visibility: hidden;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #666;
  color: #fff;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.pm-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #666 transparent transparent transparent;
}

.pm-item:hover .pm-tooltip {
  visibility: visible;
  opacity: 1;
  bottom: 140%;
}

.pm-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: .95;
  transition: all .3s ease;
  cursor: pointer;
}

.pm-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.pm-icon[src*="tabby"] {
  height: 55px;
}

.pm-icon[src*="tamara"] {
  height: 48px;
}

.pm-icon[src*="applePay"] {
  height: 42px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, .70);
}

/* =========================================================
   ✅ CLEAN RTL/LTR (FIXES ALL “CENTER BREAKS”)
   ========================================================= */

/* Direction + default alignment only */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.ltr {
  direction: ltr;
  text-align: left;
}

/* Don’t force h1/p alignment globally (it breaks centered sections). */
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.ltr h1,
body.ltr h2,
body.ltr h3,
body.ltr h4,
body.ltr h5,
body.ltr h6,
body.ltr p {
  text-align: inherit !important;
}

/* Navbar direction logic - removed redundant flex overrides that break mobile */
body.ltr .nav-link {
  text-align: left;
}

body.rtl .nav-link {
  text-align: right;
}

/* Search icon position + padding per direction */
body.ltr .search-btn {
  right: var(--spacing-md);
  left: auto;
}

body.rtl .search-btn {
  left: var(--spacing-md);
  right: auto;
}

body.ltr .search-input {
  padding-left: var(--spacing-xl);
  padding-right: 3rem;
}

body.rtl .search-input {
  padding-right: var(--spacing-xl);
  padding-left: 3rem;
}

/* Keep all these sections centered always */
.section-header,
.page-header,
.breadcrumb,
.about-hero__content,
.about-hero__crumb {
  text-align: center !important;
}

.breadcrumb {
  justify-content: center !important;
}

.about-hero__content {
  margin-inline: auto;
}

/* Feature text should follow direction naturally */
.feature-text {
  text-align: start !important;
}

/* =========================================================
   CART SIDEBAR – FINAL & CLEAN (NO AUTO OPEN)
   ========================================================= */

.cart-sidebar {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 360px;
  background: #ffffff;
  z-index: 2000;
  overflow-y: auto;
  transition: transform 0.35s ease;
}

/* RTL */
body.rtl .cart-sidebar {
  right: 0;
  left: auto;
  transform: translateX(100%);
}

body.rtl .cart-sidebar.active {
  transform: translateX(0);
}

/* LTR */
body.ltr .cart-sidebar {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}

body.ltr .cart-sidebar.active {
  transform: translateX(0);
}

/* Cart header */
.cart-header {
  padding: 1.25rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Close button */
.close-cart {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: .7;
}

.close-cart:hover {
  opacity: 1;
}

/* Cart items */
.cart-items {
  padding: 1rem;
  flex: 1;
}

/* Cart footer */
.cart-footer {
  padding: 1.25rem;
  border-top: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* =========================
   (Your second theme vars) -> switched to ORANGE
   ========================= */
:root {
  --p-green: var(--primary-green);
  --p-green-2: var(--dark-green);
  --p-ink: #0f172a;
  --p-muted: #64748b;
  --p-border: rgba(15, 23, 42, .10);
  --p-card: rgba(255, 255, 255, .92);
  --p-shadow: 0 18px 50px rgba(2, 6, 23, .10);
  --p-shadow-sm: 0 10px 30px rgba(2, 6, 23, .08);
  --p-radius: 22px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
  transition: top .2s ease;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.about-hero {
  position: relative;
  padding: 64px 0 46px;
  background:
    radial-gradient(1200px 500px at 70% -40%, rgba(228, 90, 42, .20), transparent 60%),
    radial-gradient(900px 400px at 10% -20%, rgba(255, 138, 61, .14), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
}

.about-hero__content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(228, 90, 42, .22);
  background: rgba(228, 90, 42, .06);
  color: var(--p-green-2);
  font-weight: 900;
  font-size: 13px;
}

.about-hero__title {
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: var(--p-ink);
}

.about-hero__sub {
  margin: 0;
  color: var(--p-muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-hero__crumb {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--p-muted);
  font-weight: 700;
  font-size: 13px;
}

.about-hero__crumb a {
  color: var(--p-ink);
  text-decoration: none;
  opacity: .9;
}

.about-hero__crumb a:hover {
  color: var(--p-green-2);
}

.p-section {
  padding: 70px 0;
}

.p-section--tight {
  padding: 58px 0;
}

.p-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: stretch;
}

.p-card {
  background: var(--p-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
}

.p-card__pad {
  padding: 22px;
}

.p-h2 {
  margin: 0 0 10px;
  font-size: 28px;
  color: var(--p-ink);
  letter-spacing: -0.2px;
}

.p-text {
  margin: 0 0 12px;
  color: var(--p-muted);
  line-height: 1.9;
  font-size: 15px;
}

.p-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.p-stat {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: #fff;
  padding: 14px 14px;
  text-align: center;
}

.p-stat__num {
  font-size: 22px;
  font-weight: 900;
  color: var(--p-green-2);
  margin-bottom: 4px;
}

.p-stat__label {
  font-size: 13px;
  color: var(--p-muted);
  font-weight: 700;
}

.p-media {
  position: relative;
  min-height: 360px;
  background: #f1f5f9;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.p-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 14px 40px rgba(2, 6, 23, .12);
  color: var(--p-ink);
  font-weight: 900;
  font-size: 13px;
}

.p-badge i {
  color: var(--p-green);
}

.p-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 22px;
}

.p-head .p-h2 {
  font-size: 32px;
}

.p-head .p-text {
  margin: 0;
}

.p-mvv {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.mvv-card {
  flex: 1 1 320px;
  max-width: 400px;
}

.mvv-card {
  background: var(--p-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mvv-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(228, 90, 42, .18), transparent 45%);
  opacity: 0;
  transition: .18s ease;
  pointer-events: none;
}

.mvv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 90, 42, .22);
  box-shadow: var(--p-shadow);
}

.mvv-card:hover::after {
  opacity: .12;
}

.mvv-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(228, 90, 42, .18), rgba(228, 90, 42, .06));
  border: 1px solid rgba(228, 90, 42, .22);
  color: var(--p-green-2);
  margin-bottom: 12px;
  font-size: 18px;
}

.mvv-card h3 {
  margin: 0 0 8px;
  color: var(--p-ink);
  font-size: 18px;
  font-weight: 900;
}

.mvv-card p {
  margin: 0 0 12px;
  color: var(--p-muted);
  line-height: 1.8;
  font-size: 14px;
}

.mvv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.mvv-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--p-ink);
  font-weight: 700;
  font-size: 13px;
}

.mvv-list li i {
  color: var(--p-green);
  margin-top: 3px;
}

.p-feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.p-feature {
  flex: 1 1 300px;
  max-width: calc(33.333% - 14px);
}

.p-feature {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 20px;
  padding: 16px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 10px 28px rgba(2, 6, 23, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.p-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(228, 90, 42, .22);
  box-shadow: 0 18px 44px rgba(2, 6, 23, .10);
}

.p-feature__ic {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(228, 90, 42, .08);
  border: 1px solid rgba(228, 90, 42, .18);
  color: var(--p-green-2);
  flex: 0 0 auto;
}

.p-feature h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--p-ink);
}

.p-feature p {
  margin: 0;
  color: var(--p-muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.p-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}

.p-checks {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.p-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: #fff;
}

.p-check i {
  color: var(--p-green);
  margin-top: 3px;
}

.p-check span {
  color: var(--p-ink);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.6;
}

.p-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.p-member {
  background: var(--p-card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--p-radius);
  box-shadow: var(--p-shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.p-member:hover {
  transform: translateY(-4px);
  border-color: rgba(228, 90, 42, .22);
  box-shadow: var(--p-shadow);
}

.p-member__img {
  height: 220px;
  background: #f1f5f9;
}

.p-member__img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.p-member__body {
  padding: 16px;
}

.p-member__name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  color: var(--p-ink);
}

.p-member__role {
  margin: 0 0 12px;
  color: var(--p-muted);
  font-weight: 700;
  font-size: 13px;
}

.p-social {
  display: flex;
  gap: 10px;
}

.p-social a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  color: var(--p-ink);
  text-decoration: none;
  transition: .18s ease;
}

.p-social a:hover {
  color: var(--p-green-2);
  border-color: rgba(228, 90, 42, .22);
  background: rgba(228, 90, 42, .06);
}

.p-cta {
  padding: 70px 0;
  background:
    radial-gradient(1100px 450px at 70% -30%, rgba(228, 90, 42, .22), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid rgba(15, 23, 42, .06);
}

.p-cta__box {
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(228, 90, 42, .16), rgba(228, 90, 42, .06));
  border: 1px solid rgba(228, 90, 42, .22);
  box-shadow: var(--p-shadow-sm);
  padding: 26px 22px;
  text-align: center;
  overflow: hidden;
}

.p-cta__box h2 {
  margin: 0 0 8px;
  font-size: 30px;
  color: var(--p-ink);
  font-weight: 900;
}

.p-cta__box p {
  margin: 0 0 16px;
  color: var(--p-muted);
  font-weight: 700;
  line-height: 1.8;
}

.p-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.p-cta__actions .btn {
  border-radius: 999px;
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 1100px) {
  .p-grid {
    grid-template-columns: 1fr;
  }

  .p-split {
    grid-template-columns: 1fr;
  }

  .p-mvv {
    grid-template-columns: 1fr;
  }

  .p-feature-grid {
    grid-template-columns: 1fr;
  }

  .p-team {
    grid-template-columns: 1fr;
  }

  .p-media {
    min-height: 320px;
  }

  .about-hero__title {
    font-size: 34px;
  }

  .p-stats {
    grid-template-columns: 1fr;
  }
}

.lang-toggle {
  min-width: 52px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--neutral-200);
  background: var(--white);
  color: var(--neutral-800);
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.lang-toggle:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
}

/* =========================
   HEADER RTL FIX (SIMPLIFIED)
   ========================= */

.navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Let direction: rtl/ltr handle the order naturally */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex-shrink: 0;
}

/* =========================
   PRODUCT CARD BUTTONS FIX
   ========================= */

.product-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.product-actions .btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.product-actions .btn-whatsapp {
  width: 100%;
}

.product-actions .btn i {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}

.product-actions .btn-whatsapp i {
  margin-inline-start: 0;
}

@media (max-width: 520px) {
  .product-actions {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   HARD FIX: PRODUCT CTA ROW
   ========================= */

.product-card,
.product-info {
  overflow: hidden;
}

.product-card .product-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: 12px;
}

.product-card .product-actions .btn,
.product-card .product-actions a,
.product-card .product-actions button {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.product-card .product-actions .btn-whatsapp {
  flex: unset !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}

.product-card .product-actions .btn-whatsapp,
.product-card .product-actions .btn-primary {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 520px) {
  .product-card .product-actions {
    grid-template-columns: 1fr !important;
  }
}

body.rtl .product-card .product-actions {
  direction: rtl;
}

body.ltr .product-card .product-actions {
  direction: ltr;
}

.product-card .product-actions .btn,
.product-card .product-actions a,
.product-card .product-actions button {
  width: 100% !important;
}

/* =========================
   FILTERS = CENTER MODAL (like screenshot)
   ========================= */

#overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .45);
  opacity: 0;
  visibility: hidden;
  transition: .18s ease;
  z-index: 9990;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   Creative Filter Hub
   ========================= */
.filter-hub {
  margin-bottom: 30px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
  padding: 10px;
  position: relative;
  z-index: 100;
}

.filter-hub__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px;
}

/* Category Ribbon */
.category-ribbon {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
  /* Hide scrollbar for clean look */
  -ms-overflow-style: none;
}

.category-ribbon::-webkit-scrollbar {
  display: none;
}

.ribbon-item {
  cursor: pointer;
  flex: 0 0 auto;
}

.ribbon-item input {
  display: none;
}

.ribbon-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #64748b;
  font-weight: 800;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.ribbon-content i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.ribbon-item input:checked+.ribbon-content {
  background: var(--primary-green);
  color: #fff;
  border-color: var(--primary-green);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.ribbon-item:hover .ribbon-content {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.ribbon-item input:checked:hover+.ribbon-content {
  background: var(--primary-green);
}

/* Actions Hub */
.hub-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-refine {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-refine:hover {
  background: #f8fafc;
  border-color: var(--primary-green);
}

.btn-refine.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Glassmorphic Shelf */
.filter-shelf {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  margin: 0 8px;
}

.filter-shelf.open {
  max-height: 500px;
  margin-top: 15px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 40px;
  align-items: start;
}

.shelf-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shelf-title i {
  color: var(--primary-green);
}

.shelf-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shelf-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 700;
  color: #475569;
  transition: color 0.2s ease;
}

.shelf-option:hover {
  color: var(--primary-green);
}

.shelf-option input {
  display: none;
}

.shelf-option .dot {
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.shelf-option input:checked+.dot {
  border-color: var(--primary-green);
  background: var(--primary-green);
  box-shadow: inset 0 0 0 2px #fff;
}

.shelf-option .toggle-switch {
  width: 36px;
  height: 20px;
  background: #cbd5e1;
  border-radius: 99px;
  position: relative;
  transition: all 0.3s ease;
}

.shelf-option .toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.shelf-option input:checked+.toggle-switch {
  background: var(--primary-green);
}

.shelf-option input:checked+.toggle-switch::after {
  left: 18px;
}

.shelf-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.btn-clear {
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  background: transparent;
  color: #ef4444;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-clear:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  transform: scale(0.98);
}

/* Hub Stats */
.hub-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  margin-top: 10px;
}

.active-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #f1f5f9;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
}

.chip i {
  cursor: pointer;
  font-size: 11px;
}

#apply-filters-mobile {
  height: 54px;
  border-radius: 12px;
  font-weight: 900;
}

#close-filters-mobile {
  height: 54px;
  border-radius: 12px;
  font-weight: 900;
  background: #fff;
  border: 2px solid rgba(15, 23, 42, .14);
}

/* Sidebar + Main Grid */
.products-layout {
  display: block;
}

.products-main {
  width: 100%;
}

/* Mobile Overrides (mostly handled in Filter Hub) */
@media (max-width: 640px) {
  .filters-header h3 {
    font-size: 22px;
  }

  .filter-title {
    font-size: 20px;
  }

  .filter-options {
    gap: 12px;
  }
}

.logo {
  height: 42px;
  width: auto;
  display: block;
}


/* ===========================
   HERO FEATURES – CENTERED BOX
   =========================== */

.hero-features {
  padding: 24px 16px;
  background: transparent;
}

.hero-features .container {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-item {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 96px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 22px;
  color: #0f172a;
}

.feature-text {
  text-align: right;
}

.feature-text h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   GLOBAL SPACING + HERO + FEATURES FIX (FINAL)
   ================================================== */

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}


.hero-features {
  padding-top: 8px;
  padding-bottom: 12px;
}

.hero-features .container {
  background: #fff;
  border-radius: 24px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .10);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 14px 18px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 20px;
  color: #ea6739;
}

.feature-text {
  text-align: right;
}

.feature-text h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
}

.feature-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #64748b;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ✅ 3 cards fill the whole strip */
.features-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.features-grid .feature-item {
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
}

/* FIX feature card RTL layout */
.feature-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  text-align: right;
  gap: 16px;
}

.feature-text {
  flex: 1;
  text-align: right;
}

.feature-icon {
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 0;
}

/* =========================================
   PRODUCT CTA: Add to Cart + Apple Pay (side-by-side)
   ========================================= */

.product-card .product-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  flex-direction: unset !important;
}

.product-card .product-actions .btn {
  width: 100% !important;
  min-height: 52px;
  justify-content: center;
}

.btn-applepay {
  background: linear-gradient(135deg, #1e293b 0%, #020617 100%) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1px;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  font-size: 11px !important;
  padding: 0 6px !important;
}

.btn-applepay i {
  color: #fbbf24;
  /* Vibrant bolt color */
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5));
}

.btn-applepay:hover {
  background: linear-gradient(135deg, #334155 0%, #020617 100%) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.15);
  border-color: rgba(251, 191, 36, 0.4) !important;
}

.btn-applepay:active {
  transform: translateY(0) scale(0.98);
}

.btn-applepay:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 520px) {
  .product-card .product-actions {
    grid-template-columns: 1fr !important;
  }
}

.btn-applepay::before,
.pdp-apple-pay-v2::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.15),
      transparent);
  transition: all 0.6s;
}

.btn-applepay:hover::before,
.pdp-apple-pay-v2:hover::before {
  left: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.product-card .product-actions {
  margin-top: auto !important;
}

/* =========================================
   Fix stock row causing uneven button levels
   ========================================= */

.product-description {
  min-height: 44px;
}

.product-price {
  min-height: 34px;
}

.product-stock {
  min-height: 26px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.product-stock span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ===========================
   OFFERS CAROUSEL (Ivita-like)
   =========================== */

.offers-section-carousel {
  padding: 0 0 10px;
  /* Removed top padding */
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.carousel-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--neutral-900);
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: .18s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}


.c-item {
  width: 100%;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--neutral-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-medium);
  min-height: 300px;
}

.c-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-green);
}

.c-item {
  width: 100%;
}

.c-top {
  position: relative;
  height: 140px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform var(--transition-medium);
}

.c-item:hover .c-top img {
  transform: scale(1.05);
}

.c-badge {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: var(--secondary-green);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.c-body {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.c-brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid rgba(228, 90, 42, .22);
  background: rgba(228, 90, 42, .06);
  font-size: 12px;
  font-weight: 800;
  width: fit-content;
}

.c-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.c-rating .stars {
  display: flex;
  gap: 1px;
  color: #f59e0b;
  font-size: 12px;
}

.c-rating .count {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.c-name {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--dark-green);
  line-height: 1.4em;
  min-height: 2.8em;
  margin-bottom: var(--spacing-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-price {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-sm);
  min-height: 1.5em;
}

.c-price .new {
  font-weight: 900;
  color: var(--primary-green);
  font-size: var(--font-size-xl);
}

.c-price .old {
  text-decoration: line-through;
  color: var(--neutral-400);
  font-size: var(--font-size-sm);
}

.c-stars {
  color: var(--warning);
  font-size: 14px;
}

.c-cta {
  margin-top: auto;
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  justify-content: space-between;
}

.c-cta .btn {
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 12px !important;
  /* font-size: 1rem !important; */
  font-weight: 600 !important;
  flex: 1 !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ── Mobile compact carousel cards ── */
@media (max-width: 640px) {
  .c-top {
    height: 110px;
  }

  .c-body {
    padding: 10px;
    gap: 4px;
  }

  .c-brand {
    font-size: 10px;
    padding: 2px 8px;
  }

  .c-name {
    font-size: 0.85rem;
    min-height: 2.4em;
    line-height: 1.3;
    margin-bottom: 2px;
  }

  .c-price {
    margin-bottom: 6px;
  }

  .c-price .new {
    font-size: 0.9rem;
  }

  .c-price .old {
    font-size: 0.7rem;
  }

  .c-cta {
    gap: 4px;
  }

  .c-cta .btn {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 0.75rem;
    border-radius: 10px;
  }
}

/* Swiper buttons */
.offers-section-carousel .offers-swiper {
  min-height: 340px;
}

.offers-swiper {
  padding: 10px 4px 30px;
  min-height: 340px;
}

/* Removed fixed width on .offers-swiper .swiper-slide to allow Swiper to control slidesPerView */

.swiper-button-prev,
.swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: var(--shadow-sm);
  color: #111;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 16px;
  font-weight: bold;
}


.offers-section-carousel .offers-swiper .swiper-slide {
  height: auto !important;
  display: flex;
}

.offers-section-carousel .offers-swiper .swiper-slide>* {
  width: 100%;
}

/* ===========================
   PROMO BANNER
   =========================== */

.promo-banner {
  padding: 24px 0;
}

.banner-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
}

.banner-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 8%;
  color: #fff;
  z-index: 2;
  max-width: 480px;
}

.banner-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}

.banner-subtitle {
  font-size: 16px;
  margin-bottom: 18px;
  opacity: 0.9;
}

.banner-btn {
  padding: 12px 28px;
  font-size: 16px;
}

.promo-banner {
  padding: 40px 0;
}

.banner-box {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

.banner-box img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}


/* ==============================
   TRUST STATS SECTION (UPGRADED)
   ============================== */

.stats-section {
  padding: 50px 0;
  background: #ffffff;
}

/* ── Desktop grid ── */
.stats-grid-desktop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .stats-grid-desktop {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-grid-desktop {
    display: none;
  }
}

/* ── Mobile CSS marquee ── */
.stats-marquee {
  display: none;
  overflow: hidden;
  width: 100%;
  pointer-events: none;
  /* touch passes through to page scroll */
}

.stats-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: statsScroll 20s linear infinite;
}

[dir="rtl"] .stats-marquee-track {
  animation-name: statsScrollRTL;
}

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

  100% {
    transform: translateX(-50%);
  }
}

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

  100% {
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .stats-marquee {
    display: block;
  }

  .stats-section {
    padding: 30px 0;
  }
}

.stat-box {
  background: #f8fafc;
  padding: 32px 22px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, .08);
  transition: .25s ease;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .10);
}

.stat-box h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 5px;
  color: var(--primary-green);
  white-space: nowrap !important;
  display: flex;
  align-items: baseline;
  justify-content: center;
  direction: ltr !important;
}

.stat-symbol {
  font-size: inherit;
  color: var(--primary-green);
  margin-right: 2px;
  font-weight: 900;
}

.stat-unit {
  font-size: inherit;
  color: var(--primary-green);
  margin-left: 1px;
  font-weight: 900;
}

.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(228, 90, 42, 0.15);
}

.stat-box p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
}

@media (max-width: 768px) {
  .stat-box {
    padding: 25px 15px;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 12px;
  }

  .stat-box h3 {
    font-size: 28px;
    white-space: nowrap !important;
  }

  .stat-box p {
    font-size: 14px;
  }
}



.stat-box.highlight {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  /* ✅ orange */
  color: #fff;
  border: none;
}

.stat-box.highlight h3 {
  font-size: 30px;
  color: #fff;
}

.stat-box.highlight p {
  font-size: 18px;
  color: #fff;
}

/* LOGO SUPPORT */
.stat-box.with-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: right;
}

.stat-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

/* =========================
   BLOGS CAROUSEL (Swiper)
========================= */
.blogs-carousel {
  padding: 42px 0;
  background: #fff7ed;
  /* ✅ light orange background tint */
}

.blogs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.blogs-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-green);
  /* ✅ orange */
}

.blogs-controls {
  display: flex;
  gap: 10px;
}

.blogs-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, .12);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blogs-btn:active {
  transform: translateY(1px);
}

.blogs-swiper {
  padding: 10px 6px 44px;
}

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 18px 45px rgba(2, 6, 23, .10);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-media {
  display: block;
  height: 260px;
  background: #f1f5f9;
}

.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.blog-title a {
  color: #0f172a;
  text-decoration: none;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-weight: 700;
  font-size: 13px;
}

.blog-excerpt {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cta {
  margin-top: 8px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--primary-green);
  /* ✅ orange */
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.blogs-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: .35;
}

.blogs-carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 900px) {
  .blog-media {
    height: 220px;
  }
}

/* =========================
   VIDEO GALLERY
========================= */

.vgal {
  padding: 44px 0;
  background: #fff;
}

.vgal-head {
  text-align: center;
  margin-bottom: 18px;
}

.vgal-title {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink, #0f172a);
}

.vgal-sub {
  margin: 8px 0 0;
  color: var(--muted, #64748b);
  font-weight: 700;
}

.vgal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.vgal-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .10);
  box-shadow: 0 18px 45px rgba(2, 6, 23, .10);
  background: #0b1220;
  aspect-ratio: 9 / 16;
}

.vgal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vgal-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .30));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vgal-play {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  color: #111827;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  transform: scale(1);
  transition: transform .18s ease, opacity .18s ease;
}

.vgal-card.is-playing .vgal-overlay {
  background: transparent;
  pointer-events: none;
}

.vgal-card.is-playing .vgal-play {
  opacity: 0;
  transform: scale(.92);
}

.vgal-caption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, .55);
}

.vgal-caption h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.vgal-caption span {
  font-size: 12px;
  font-weight: 800;
  opacity: .95;
  background: rgba(0, 0, 0, .35);
  padding: 6px 10px;
  border-radius: 999px;
}

@media (max-width: 1100px) {
  .vgal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .vgal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* More premium video gallery (kept) */
.vgal {
  padding: 0 0 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.vgal-head {
  text-align: center;
  margin-bottom: 26px;
}

.vgal-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--ink, #0f172a);
  margin: 0 0 8px;
}

.vgal-sub {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 16px;
}

.vgal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.vgal-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.10);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.vgal-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 61, 0.40);
  /* ✅ orange */
  box-shadow: 0 18px 55px rgba(2, 6, 23, 0.14);
}

.vgal-video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background: #000;
}

.vgal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, .35) 0%,
      rgba(0, 0, 0, .05) 45%,
      rgba(0, 0, 0, .55) 100%);
  opacity: 1;
}

.vgal-controls {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 10px;
  z-index: 3;
}

.vgal-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.vgal-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 138, 61, .75);
  /* ✅ orange hover */
  border-color: rgba(255, 255, 255, .35);
}

.vgal-caption span {
  font-size: 12px;
  opacity: .85;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .vgal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vgal-video {
    height: 380px;
  }
}

@media (max-width: 640px) {
  .vgal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .vgal-video {
    height: 280px;
  }
}

/* banners + slogan – fixed height for consistent banner size */
.products-banner {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
  margin: 20px 0;
  background: var(--neutral-100, #f5f5f5);
}

.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Full-width about banner — same structure as hero */
.about-banner-wrap {
  padding: 18px 0 10px;
}

.about-banner-wrap .about-banner-viewport {
  width: 100%;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  background: transparent;
  line-height: 0;
}

.about-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--neutral-100, #f5f5f5);
}

.about-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  .about-banner-wrap .about-banner-viewport {
    border-radius: 18px;
  }
}

.slogan-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(228, 90, 42, 0.06), rgba(255, 138, 61, 0.06));
  /* ✅ orange tint */
}

.slogan-box {
  max-width: 800px;
  margin: 0 auto;
}

.slogan-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-green);
  /* ✅ orange */
  margin-bottom: 16px;
  line-height: 1.6;
}

.slogan-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

/* =========================
   INDEX HERO FIX
   ========================= */

.hero {
  background: #fff !important;
  padding-top: 28px;
  padding-bottom: 0 !important;
}

.hero-features {
  background: transparent !important;
  margin-top: 14px !important;
  padding-top: 0 !important;
  border: 0 !important;
}


/* REMOVE HERO FEATURES LINE */
.hero-features .container {
  box-shadow: none !important;
}


/* ===== HERO FEATURES SECTION ===== */
.hero-features-section {
  padding: 20px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 1px solid var(--neutral-100);
  border-bottom: 1px solid var(--neutral-100);
}

@media (max-width: 768px) {
  .hero-features-section {
    padding: 10px 0;
  }
}

.hero-features-section .features-swiper {
  width: 100%;
}

.hero-features-section .features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .hero-features-section .features-grid {
    grid-template-columns: 1fr;
  }
}


/* يمنع ظهور "نص كارت" على الجنب */
.offers-swiper {
  overflow: hidden;
}

/* يجعل السلايد يملأ ارتفاع الكارت */
.offers-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* كارت العرض نفسه */
.offers-swiper .c-item {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  padding: 18px;
}

/* تكبير مساحة الصورة */
.offers-swiper .c-top {
  background: #f5f7fb;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offers-swiper .c-top img {
  width: 100%;
  height: 220px;
  /* كبّر/صغّر حسب مزاجك */
  object-fit: contain;
  /* مهم عشان ما تتقصش */
}

/* OFFERS: prevent showing part of next/prev */
.offers-section-carousel .offers-swiper {
  overflow: hidden !important;
}

/* slide should size correctly */
.offers-section-carousel .offers-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
}

/* card fills slide */
.offers-section-carousel .offers-swiper .c-item {
  width: 100% !important;
}

/* bigger image area */
.offers-section-carousel .offers-swiper .c-top {
  height: 320px !important;
  /* Reduced for better proportions */
  padding: 0 !important;
  background: var(--white) !important;
}

.offers-section-carousel .offers-swiper .c-extra-tags {
  display: none;
}

.offers-section-carousel .offers-swiper .c-top img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
}

.offers-section-carousel .offers-swiper .c-cta .btn-applepay {
  /* font-size: 1rem !important; */
  padding: 0 20px !important;
}

/* Full-width page banners (products, contact) — viewport breakout like hero */
.products-banner-wrap {
  padding: 18px 0 10px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.products-banner-wrap .products-banner-viewport {
  width: 100%;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  background: transparent;
  line-height: 0;
}

.products-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--neutral-100, #f5f5f5);
}

/* Sequential Transition Utils */
.img-transition-out {
  opacity: 0 !important;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.img-transition-in {
  animation: imgFadeIn 0.4s ease forwards;
}

@keyframes imgFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

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

/* Products Banner Sequential Cycle */
.products-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: var(--neutral-100, #f5f5f5);
}

.products-banner .banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.products-banner .banner-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.products-banner .banner-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.reveal-fade.revealed {
  opacity: 1 !important;
}

@media (max-width: 768px) {
  .products-banner-wrap .products-banner-viewport {
    border-radius: 18px;
  }

  .products-banner {
    height: 280px;
  }
}

/* Container عام لو مش موجود */
.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}


body {
  background: #f6f7fb;
}


/* ===========================
   HERO CAROUSEL (FINAL SIZE LIKE IMAGE)
   =========================== */

/* container (لو عندك واحد أصلاً سيبه، بس خلي ده هو اللي في الآخر) */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* المسافة فوق وتحت البانر */
.hero-carousel-section {
  padding: 18px 0 0;
  /* Reduced bottom padding */
}

/* إطار البانر نفسه */
.hero-carousel-section .hero-viewport {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

/* التراك */
.hero-carousel-section .hero-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  align-items: flex-start;
  transition: transform .7s ease;
  will-change: transform;
}

/* كل سلايد */
.hero-carousel-section .hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: block;
  line-height: 0;
}

.hero-carousel-section .hero-slide picture {
  display: block;
  width: 100%;
  line-height: 0;
}

.hero-carousel-section .hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* موبايل */
@media (max-width: 768px) {
  .hero-carousel-section .hero-viewport {
    border-radius: 18px;
  }
}

/* ===============================
   MINI BANNER — Same structure as hero (full width)
   =============================== */

.mini-banner-section {
  padding: 18px 0 10px;
}

.mini-banner-section .mini-banner-viewport {
  width: 100%;
  height: auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  background: transparent;
  line-height: 0;
}

.mini-banner-section .mini-banner-track {
  display: flex;
  align-items: flex-start;
  height: auto;
  transition: transform .7s ease;
  will-change: transform;
}

.mini-banner-section .mini-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  display: block;
}

.mini-banner-section .mini-banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  .mini-banner-section .mini-banner-viewport {
    border-radius: 18px;
  }
}

html[dir="rtl"] .mini-banner-section .mini-banner-track {
  direction: rtl;
}

html[dir="ltr"] .mini-banner-section .mini-banner-track {
  direction: ltr;
}

/* =========================
   PREMIUM IMAGE TRANSITIONS
   ========================= */
.img-transition-out {
  opacity: 0 !important;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.img-transition-in {
  animation: imgSeqFadeIn 0.5s ease forwards;
}

@keyframes imgSeqFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

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

/* Products Page Banner - Cross-fade ready */
.products-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f8f9fa;
}

.products-banner .banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.products-banner .banner-slide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}

/* =========================
   /* Footer Override Removed - Handled in main blocks */

/* =========================================
   FINAL: Fix Product Card CTA text (RTL/LTR)
   Put at the VERY END of style.css
   ========================================= */

/* CTA row: 2 equal buttons */
.products-grid .product-card .product-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  margin-top: auto !important;
  align-items: stretch !important;
}

/* buttons */
.products-grid .product-card .product-actions .btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 12px 14px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  /* ✅ IMPORTANT: allow Arabic label to wrap instead of getting cut */
  white-space: normal !important;
  line-height: 1.25 !important;
  text-align: center !important;

  overflow: visible !important;
  text-overflow: clip !important;
}

/* icon spacing (works for RTL/LTR) */
.products-grid .product-card .product-actions .btn i {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

/* keep RTL order: icon then text visually correct */
body.rtl .products-grid .product-card .product-actions .btn {
  direction: rtl !important;
}

body.ltr .products-grid .product-card .product-actions .btn {
  direction: ltr !important;
}

/* mobile: stack */
@media (max-width: 520px) {
  .products-grid .product-card .product-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Fixed shared navbar */
.site-header {
  position: sticky;
  /* أو fixed */
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, .10);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(2, 6, 23, .10);
}

.page {
  /* لو استخدمت fixed بدل sticky، استخدم padding-top بقيمة ارتفاع الناف */
  /* padding-top: 76px; */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.nav__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav__name {
  font-weight: 700;
  letter-spacing: .5px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  text-decoration: none;
  color: var(--ink, #0f172a);
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.nav__link:hover {
  background: rgba(15, 118, 110, .10);
}

.nav__link.is-active {
  background: rgba(15, 118, 110, .16);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 14px;
  background: #fff;
}

.nav__toggle span {
  display: block;
  height: 2px;
  margin: 6px 10px;
  background: #0f172a;
}

/* Mobile */
@media (max-width: 900px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 72px;
    inset-inline: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(2, 6, 23, .12);
    z-index: 9999;
  }

  .nav__links.is-open {
    display: flex;
  }

  body.nav-open {
    overflow: hidden;
  }
}

.btn-applepay {
  width: 100% !important;
  height: 42px !important;
  border: none !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #1e293b 0%, #020617 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  white-space: nowrap !important;
  flex-wrap: nowrap !important;
  font-size: 11px !important;
  padding: 0 4px !important;
}

.btn-applepay i {
  color: #fbbf24;
}

.btn-applepay:hover {
  background: #020617;
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
}




/* --------- Swiper: force correct direction --------- */
/* Arabic: swipers move RTL */
html[dir="rtl"] .swiper {
  direction: rtl !important;
}

/* English: swipers move LTR */
html[dir="ltr"] .swiper {
  direction: ltr !important;
}

/* Ensure wrapper doesn't get reversed by body rules */
html[dir="rtl"] .swiper-wrapper,
html[dir="ltr"] .swiper-wrapper {
  direction: inherit !important;
}

/* --------- Fix swiper slides alignment --------- */
html[dir="rtl"] .swiper-wrapper {
  justify-content: flex-start !important;
  /* keep same feel */
}

html[dir="ltr"] .swiper-wrapper {
  justify-content: flex-start !important;
}

/* --------- Hero banner track (if you have custom slider) --------- */
html[dir="rtl"] .hero-carousel-section .hero-track {
  direction: rtl;
}

html[dir="ltr"] .hero-carousel-section .hero-track {
  direction: ltr;
}

/* Prevent accidental flipping by old css */
html[dir="rtl"] .hero-carousel-section .hero-slide,
html[dir="ltr"] .hero-carousel-section .hero-slide {
  transform: none !important;
}

/* ==============================
   FINAL: Feature icon RTL/LTR
   (Use body.rtl / body.ltr only)
   ============================== */

/* neutralize old forced rules */
.hero-features-section .feature-item {
  direction: inherit !important;
  justify-content: flex-start !important;
  /* مهم */
}

.hero-features-section .feature-text {
  text-align: start !important;
  flex: 1 1 auto !important;
}

.hero-features-section .feature-icon {
  flex: 0 0 auto !important;
}

/* Arabic (RTL): icon RIGHT */
body.rtl .hero-features-section .feature-item {
  flex-direction: row-reverse !important;
  /* icon goes right */
}

/* English (LTR): icon LEFT */
body.ltr .hero-features-section .feature-item {
  flex-direction: row !important;
  /* icon goes left */
}

/* FIX: video fills the card (no black space) */
.vgal-card {
  aspect-ratio: 9 / 16;
  /* لو ده اللي انت عايزه */
  height: auto;
  /* مهم عشان ما يحصلش تعارض */
}

.vgal-video {
  width: 100% !important;
  height: 100% !important;
  /* بدل 420px */
  object-fit: cover !important;
  display: block !important;
}

/* لو عندك overlay/controls فوق الفيديو */
.vgal-overlay,
.vgal-controls,
.vgal-caption {
  z-index: 3;
}

.blogs-swiper {
  overflow: hidden;
}

.blogs-swiper .swiper-wrapper {
  display: flex !important;
}

.blogs-swiper .swiper-slide {
  height: auto !important;
}

/* ===== BLOGS UNIFIED LAYOUT ===== */

.blogs-carousel .swiper-slide {
  height: auto;
  display: flex;
}

.blogs-carousel .blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* الصورة */
.blogs-carousel .blog-media img {
  width: 100%;
  /* height: 200px; */
  object-fit: fill;
  display: block;
}

/* جسم الكارد */
.blogs-carousel .blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

/* ===== عنوان ثابت الارتفاع ===== */
.blogs-carousel .blog-title {
  min-height: 48px;
  /* نفس المساحة لكل العناوين */
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* التاريخ ثابت */
.blogs-carousel .blog-meta {
  height: 12px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

/* ===== الوصف نفس السطور ===== */
.blogs-carousel .blog-excerpt {
  min-height: 52px;
  margin-bottom: 16px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  /* نفس عدد السطور */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== الزر دايماً تحت ===== */
.blogs-carousel .blog-cta {
  margin-top: auto;
  align-self: flex-end;
  /* RTL */
}

/* =========================
   PRODUCT CARD: FIXED SHAPE
   ========================= */

/* 1) خلي كل كارد يبقى Flex عمودي */
.product-card,
.product-item,
.p-card,
.products-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 2) خلي جسم الكارد يتمد */
.product-card .card-body,
.product-item .card-body,
.p-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 3) ثبّت مساحة الصورة (عشان اختلاف ابعاد الصور مايبهدلش) */
.product-card .product-image,
.product-item .product-image,
.p-card .product-image,
.product-card .card-img,
.product-item .card-img {
  width: 100%;
  height: 220px;
  /* عدّل الرقم حسب تصميمك */
  object-fit: contain;
  /* contain للعلب زي الصورة */
  display: block;
}

/* 4) ثبّت العنوان (سطرين) */
.product-card .product-title,
.product-item .product-title,
.p-card .product-title {
  min-height: 64px;
  /* مساحة ثابتة */
  margin: 10px 0 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* سطرين */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 5) ثبّت الوصف (سطرين) */
.product-card .product-desc,
.product-item .product-desc,
.p-card .product-desc,
.product-card .product-description,
.product-item .product-description {
  min-height: 44px;
  margin: 0 0 12px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6) ثبّت مكان السعر/التوفر/التقييم */
.product-card .product-meta,
.product-item .product-meta,
.p-card .product-meta {
  min-height: 90px;
  /* يضمن إن الجزء ده ثابت */
}

/* 7) الأزرار دايمًا تحت */
.product-card .card-actions,
.product-item .card-actions,
.p-card .card-actions,
.product-card .product-actions,
.product-item .product-actions {
  margin-top: auto;
  /* السحر هنا */
  display: flex;
  gap: 12px;
  align-items: center;
}

/* (اختياري) خلي زر Apple Pay و أضف للسلة نفس الارتفاع */
.product-card .apple-pay-btn,
.product-item .apple-pay-btn,
.product-card .add-cart-btn,
.product-item .add-cart-btn {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Full Width Hero Carousel */
.hero-carousel-section {
  width: 100%;
  padding: 1rem 0;
  /* Further reduced vertical padding */
  /* Add vertical padding to increase section height */
  margin: 0;
  height: auto;
  min-height: auto;
}

.hero-carousel-section .hero-viewport {
  overflow: hidden;
}

.hero-carousel-section .hero-track {
  align-items: flex-start;
}

/* =========================
   CHECKOUT ITEM CONTROLS 
   ========================= */
.item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--neutral-200);
}

.item:last-child {
  border-bottom: none;
}

.item .thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  overflow: hidden;
  flex-shrink: 0;
}

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

.item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-sm);
}

.item-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--neutral-900);
  margin-bottom: var(--spacing-xs);
}

.item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--neutral-100);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--neutral-700);
  font-size: 14px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.qty-btn:hover {
  color: var(--primary-green);
  transform: scale(1.05);
}

.qty-val {
  min-width: 24px;
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.item-price {
  font-weight: 700;
  color: var(--primary-green);
  font-size: var(--font-size-base);
}

.remove-btn {
  background: transparent;
  border: none;
  color: var(--neutral-400);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
}

.remove-btn:hover {
  color: var(--error);
}

.empty-cart-msg {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.empty-cart-msg p {
  margin-bottom: var(--spacing-md);
}

/* ==========================================
   PRODUCT REVIEWS SECTION
   ========================================== */

.pdp-reviews-section {
  margin-top: 32px;
}

.pdp-rev-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.pdp-rev-form-container {
  background: #f8fafc;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  position: sticky;
  top: 100px;
  order: 1;
}

.pdp-rev-list {
  order: 2;
}

.pdp-rev-intro {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.pdp-rev-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark-green);
}

.pdp-rev-head p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 20px;
}

.pdp-review-form .form-group {
  margin-bottom: 16px;
}

.pdp-review-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #334155;
}

.pdp-review-form input,
.pdp-review-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-family: inherit;
  transition: all 0.2s ease;
}

.pdp-review-form input:focus,
.pdp-review-form textarea:focus {
  border-color: var(--primary-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Star Rating Input */
.star-rating-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  font-size: 24px;
  color: #cbd5e1;
  cursor: pointer;
  transition: color 0.2s ease;
  margin-bottom: 0;
}

.star-rating-input label:before {
  content: '\f005';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
  color: var(--warning);
}

/* Reviews List */
.pdp-rev-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pdp-rev-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.pdp-rev-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.pdp-rev-top strong {
  font-weight: 800;
  color: #0f172a;
}

.pdp-rev-stars {
  color: var(--warning);
  font-size: 0.85rem;
}

.pdp-rev-date {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.pdp-rev-card p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .pdp-rev-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pdp-rev-form-container {
    position: static;
  }
}

/* ==========================================
   PREMIUM BUY BOX & INSTALMENTS
   ========================================== */

.pdp-price {
  margin-bottom: 24px;
}

.pdp-price__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pdp-price .now {
  font-size: 36px;
  font-weight: 900;
  color: #ea580c;
  letter-spacing: -0.5px;
}

.pdp-tax-badge {
  background: rgba(234, 88, 12, 0.08);
  color: #ea580c;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(234, 88, 12, 0.15);
}

/* Actions Row */
.pdp-actions-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.pdp-main-actions {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.pdp-qty-wrap {
  flex: 0 0 130px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px;
  transition: all 0.2s;
}

.pdp-qty-wrap:focus-within {
  border-color: #f97316;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.05);
}

.qty-btn-v2 {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: none;
  background: #fff;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.qty-btn-v2:hover {
  background: #f97316;
  color: #fff;
}

.qty-input-v2 {
  flex: 1;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 900;
  font-size: 16px;
  color: #0f172a;
  width: 40px;
}

/* Primary Button */
.pdp-add-premium {
  flex: 1;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff !important;
  border: none;
  border-radius: 18px;
  height: 56px;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.pdp-add-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.35);
  background: linear-gradient(135deg, #fb923c, #f97316);
}

.pdp-add-premium:active {
  transform: translateY(-1px);
}

/* Apple Pay Section */
.pdp-apple-pay-v2 {
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #1e293b 0%, #020617 100%);
  color: #fff;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.pdp-apple-pay-v2 i {
  color: #fbbf24;
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

.pdp-apple-pay-v2:hover {
  background: linear-gradient(135deg, #334155 0%, #020617 100%);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(251, 191, 36, 0.5);
}

/* Instalment Widgets Premium */
.pdp-instalments-v2 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.instalment-v2 {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.instalment-v2:hover {
  border-color: #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transform: scale(1.01);
}

.instalment-v2 .text {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

.instalment-v2 .text strong {
  color: #0f172a;
  font-weight: 800;
}

.instalment-v2 .logo {
  height: 34px;
  width: auto;
  opacity: 0.9;
}

/* Specific Tabby Style */
.tabby-pill {
  background: #39f5c4;
  color: #000;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  margin-inline-end: 6px;
  display: inline-block;
}

/* Loyalty Premium */
.loyalty-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
}

.loyalty-v2 .coin-icon {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #fbbf24;
  color: #ea580c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(251, 191, 36, 0.2);
}

.loyalty-v2 .highlight {
  color: #ea580c;
  font-weight: 900;
  margin-inline: 2px;
}

@media (max-width: 480px) {
  .pdp-main-actions {
    flex-direction: column;
  }

  .pdp-qty-wrap {
    flex: 1;
    width: 100%;
  }

  .instalment-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .instalment-v2 .logo {
    align-self: flex-end;
  }
}

/* Dedicated Reviews Section */
.pdp-reviews-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.pdp-reviews-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.pdp-reviews-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-green);
  margin-bottom: 12px;
}

.pdp-reviews-section .section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

/* .hero-features-section {
  background-color: #fdf4ec;
} */

/* ===========================
   FINAL: HERO FEATURES (Single source of truth)
   Put at the END of file
   =========================== */

.hero-features-section {
  /* background: #fdf4ec; */
  border-top: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.hero-features-section .features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-features-section .feature-item {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  padding: 16px 18px;
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 22px rgba(2, 6, 23, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hero-features-section .feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(2, 6, 23, .10);
  border-color: rgba(234, 103, 57, .28);
}

.hero-features-section .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  /* background: #ea6739; */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.hero-features-section .feature-icon i {
  font-size: 20px;
}

.hero-features-section .feature-text h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #ea6739;
}

.hero-features-section .feature-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

@media (max-width:900px) {
  .hero-features-section .features-grid {
    grid-template-columns: 1fr;
  }
}

.hero-carousel-section {
  /* background: #fdf4ec; */
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}

.hero-carousel-section {
  border-bottom: none !important;
}

.hero-features-section {
  border-top: none !important;
}

/* .hero-carousel-section,
.hero-features-section {
  background: #ea6739 !important;
} */

.testimonial-card {
  height: 100%;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  /* يخلي كل شي بالوسط */
}

/* النجوم تبقى فوق */
.stars {
  margin-bottom: 15px;
}

/* نص التقييم يتمدد ليأخذ المساحة ويكون بالمنتصف */
.testimonial-text {
  flex: 1;
  /* هذا السر */
  display: flex;
  align-items: center;
  /* توسيط عمودي */
  justify-content: center;
  /* توسيط أفقي */
  font-size: 15px;
  line-height: 1.8;
}

/* الاسم يكون بالأسفل */
.testimonial-author {
  margin-top: auto;
  /* يدفعه للأسفل */
  padding-top: 15px;
}

/* ==========================================
   LOGIN METHODS SELECTION
   ========================================== */
.login-methods-container {
  text-align: center;
  margin-bottom: 24px;
}

.methods-label {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.login-methods {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.login-method-btn {
  flex: 1;
  max-width: 100px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

.login-method-btn .method-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f8fafc;
  transition: all 0.2s;
}

.login-method-btn span {
  font-size: 13px;
  font-weight: 600;
}

.login-method-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-2px);
}

.login-method-btn.active {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #15803d;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}

.login-method-btn.active .method-icon {
  background: #dcfce7;
  color: #22c55e;
}

/* Specific style for SMS when active */
.login-method-btn[data-method="sms"].active {
  background: #f0f9ff;
  border-color: #0ea5e9;
  color: #0369a1;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.login-method-btn[data-method="sms"].active .method-icon {
  background: #e0f2fe;
  color: #0ea5e9;
}

.login-modal-footer {
  margin-top: 24px;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.login-modal-footer p {
  font-size: 14px;
  color: #64748b;
}

.login-modal-footer a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.login-modal-footer a:hover {
  text-decoration: underline;
}

/* ==========================================
   LOGIN MODAL STYLES
   ========================================== */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: visible;
}

.login-modal.active {
  display: flex;
  pointer-events: auto;
}

.login-modal-content {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  padding: 32px 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: visible;
}

.login-modal.active .login-modal-content {
  transform: translateY(0);
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  /* RTL usually prefers left for close button */
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.login-modal-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.login-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-modal-header h2 {
  font-size: 24px;
  color: #0f766e;
  margin-bottom: 8px;
  font-weight: 700;
}

.login-modal-header p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.login-modal-form .field {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.login-modal-form .field:has(.iti--dropdown-open) {
  z-index: 2;
}

.login-modal-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e293b;
}

.phone-input-group {
  display: flex;
  align-items: center;
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: ltr;
  /* Phone numbers typed LTR */
}

.phone-input-group:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.phone-input-group .country-code {
  padding: 12px 16px;
  color: #64748b;
  font-weight: 600;
  background: #f1f5f9;
  border-right: 1px solid #e2e8f0;
  font-size: 16px;
}

.phone-input-group input:not(.iti__tel-input) {
  flex: 1;
  border: none;
  background: none;
  padding: 12px 16px;
  font-size: 16px;
  color: #1e293b;
  outline: none;
  text-align: left;
}

.phone-input-group input:not(.iti__tel-input)::placeholder {
  color: #94a3b8;
}

/* International phone input — login modal */
.phone-input-group--intl {
  overflow: visible;
  padding: 0;
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 48px;
  direction: ltr;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Flag + dial code always on the left, even on Arabic RTL pages */
[dir=rtl] .phone-input-group--intl .iti--allow-dropdown .iti__country-container {
  right: auto;
  left: 0;
}

.phone-input-group--intl:focus-within {
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.phone-input-group--intl .iti {
  width: 100%;
  display: block;
  direction: ltr;
}

.phone-input-group--intl .iti__country-container {
  z-index: 2;
}

.phone-input-group--intl .iti__selected-country {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 0 8px 0 12px;
  height: 48px;
  transition: background 0.18s ease;
}

.phone-input-group--intl .iti__selected-country:hover {
  background: rgba(15, 118, 110, 0.06);
}

.phone-input-group--intl .iti__selected-country:focus-visible {
  outline: 2px solid rgba(15, 118, 110, 0.35);
  outline-offset: 1px;
}

.phone-input-group--intl .iti__selected-country-primary {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-input-group--intl .iti__arrow {
  display: none;
}

.phone-input-group--intl .iti__selected-country-primary::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #64748b;
  margin-left: 2px;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-top-color 0.18s ease;
}

.phone-input-group--intl .iti--dropdown-open .iti__selected-country-primary::after {
  transform: rotate(180deg);
  border-top-color: #0f766e;
}

.phone-input-group--intl .iti__selected-dial-code {
  color: #475569;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding-right: 10px;
  border-right: 1px solid #e2e8f0;
  margin-left: 0;
  line-height: 1;
}

.phone-input-group--intl:focus-within .iti__selected-dial-code {
  border-right-color: #cbd5e1;
}

.phone-input-group--intl .iti input.iti__tel-input,
.phone-input-group--intl .iti input[type="tel"] {
  width: 100%;
  height: 48px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #1e293b;
  outline: none;
  text-align: left;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  box-sizing: border-box;
  /* padding-left/right set dynamically by phone-input.js */
}

.phone-input-group--intl .iti input.iti__tel-input::placeholder,
.phone-input-group--intl .iti input[type="tel"]::placeholder {
  color: #94a3b8;
}

/* Country dropdown — appended to body by intl-tel-input */
body > .iti--container {
  z-index: 10001;
  padding: 0;
  direction: ltr;
}

body > .iti--container .iti__dropdown-content {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 8px 0 6px;
  overflow: hidden;
  animation: itiDropdownIn 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  transform-origin: top center;
  direction: ltr;
}

body > .iti--container .iti__country-list {
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin-top: 0;
  max-height: 220px;
  width: 100% !important;
  font-family: inherit;
  padding: 0;
  box-sizing: border-box;
}

body > .iti--container .iti__search-wrap {
  position: relative;
  display: block;
  margin: 0 10px 8px;
  padding: 0;
}

body > .iti--container .iti__search-wrap .iti__search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
  z-index: 1;
}

body > .iti--container .iti__search-wrap .iti__search-input {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px 10px 34px;
  width: 100%;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body > .iti--container .iti__search-wrap .iti__search-input::placeholder {
  color: #94a3b8;
}

body > .iti--container .iti__search-wrap .iti__search-input:focus {
  background: #fff;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

body > .iti--container .iti__country {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 14px;
  color: #334155;
  transition: background 0.15s ease;
}

body > .iti--container .iti__country.iti__highlight {
  background: #f0fdfa;
}

body > .iti--container .iti__country-name {
  flex: 1;
  color: #334155;
  margin-right: 0;
  text-align: left;
}

body > .iti--container .iti__dial-code {
  color: #64748b;
  font-weight: 500;
  margin-left: auto;
}

body > .iti--container .iti__divider {
  border-bottom-color: #f1f5f9;
  margin: 4px 0;
  padding-bottom: 0;
}

body > .iti--container .iti__country-list::-webkit-scrollbar {
  width: 6px;
}

body > .iti--container .iti__country-list::-webkit-scrollbar-track {
  background: transparent;
}

body > .iti--container .iti__country-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

body > .iti--container .iti__country-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@keyframes itiDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-modal-form .btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 8px;
  height: 52px;
}

.login-modal-form .error {
  color: #ef4444;
  font-size: 13px;
  margin-top: 8px;
}

.login-modal-step {
  display: block;
}

.login-modal-step-hidden {
  display: none;
}

.login-modal-step.active {
  display: block;
}

.login-otp-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  letter-spacing: 0.25em;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f9fafb;
  color: #1e293b;
  direction: ltr;
}

.login-otp-input:focus {
  outline: none;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* FINAL OVERRIDES TO REMOVE MARQUEE SPACE */
/* ============================================================
   ULTIMATE MARQUEE REDESIGN (Brand-Tinted Capsules)
   ============================================================ */
.hero-features-section {
    background: #ffffff !important;
    padding: 12px 0 !important;
    margin: 0 !important;
}

.hero-features-section .features-swiper {
    padding: 6px 0 !important;
}

.hero-features-section .feature-item {
    display: flex !important;
    flex-direction: row-reverse !important; /* Icon Left, Text Right in RTL */
    align-items: center !important;
    justify-content: center !important;
    background: rgba(228, 90, 42, 0.04) !important; /* Extremely soft brand tint */
    border: 1px solid rgba(228, 90, 42, 0.1) !important; /* Subtle branded border */
    border-radius: 14px !important;
    padding: 10px 20px !important;
    box-shadow: none !important; /* Flat modern look */
    height: auto !important;
    min-height: 56px !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    margin: 0 6px !important;
    gap: 12px !important;
}

.hero-features-section .feature-item:hover {
    background: rgba(228, 90, 42, 0.07) !important;
    border-color: rgba(228, 90, 42, 0.2) !important;
    transform: scale(1.02) !important;
}

.hero-features-section .feature-icon {
    width: 36px !important;
    height: 36px !important;
    background: #ffffff !important; /* White badge for the icon */
    border-radius: 50% !important;
    color: #ea6739 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 5px rgba(228, 90, 42, 0.1) !important;
}

.hero-features-section .feature-text {
    text-align: right !important;
}

.hero-features-section .feature-text h3 {
    color: #1e293b !important;
    font-size: 0.92rem !important; 
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.hero-features-section .feature-text p {
    color: #64748b !important;
    font-size: 0.72rem !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

/* Spacing cleanup */
.hero-carousel-section { padding-bottom: 0 !important; }
.offers-section-carousel { padding-top: 0 !important; }/* ==========================================
   EID AL-ADHA MARQUEE & MODAL
   ========================================== */
.eid-marquee {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
  z-index: 1100;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.2);
  direction: ltr !important;
}

.eid-marquee-track {
  display: flex;
  width: max-content;
  animation: eidMarqueeScroll 25s linear infinite;
}

.eid-marquee:hover .eid-marquee-track {
  animation-play-state: paused;
}

.eid-marquee-content {
  display: flex;
  align-items: center;
}

.eid-marquee span {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0 16px;
  direction: rtl; /* keep arabic text readable */
}

.marquee-spacer {
  color: #fb923c;
  font-size: 0.8rem !important;
  direction: ltr !important;
}

@keyframes eidMarqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Modal */
.eid-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.eid-modal.active {
  display: flex;
}

.eid-modal-dialog {
  background: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
}

.eid-modal.active .eid-modal-dialog {
  transform: translateY(0);
}

.eid-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.05);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #64748b;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.eid-modal-close:hover {
  background: rgba(0,0,0,0.1);
  color: #0f172a;
}

.eid-modal-header {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  padding: 30px 24px 20px;
  text-align: center;
  border-bottom: 1px solid #fed7aa;
}

.eid-modal-icon {
  width: 64px; height: 64px;
  background: #ea580c;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 16px rgba(234, 88, 12, 0.25);
}

.eid-modal-header h2 {
  color: #9a3412;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 800;
}

.eid-modal-body {
  padding: 24px;
}

.eid-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  background: #fafafa;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.eid-notice-item:last-child {
  margin-bottom: 0;
}

.eid-notice-item i {
  font-size: 1.2rem;
  margin-top: 3px;
  color: #ea580c;
}

.eid-notice-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.eid-notice-item strong {
  color: #0f172a;
}

.eid-modal-footer {
  padding: 0 24px 24px;
}
/* ==========================================
   NAQLA SEHIA LINK ANIMATION
   ========================================== */
.naqla-link {
  color: #ea580c;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.naqla-link::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.naqla-link:hover {
  transform: translateY(-2px);
  color: #c2410c;
}

.naqla-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* source: responsive.css */
/* ==========================================
   TAHOURSA - RESPONSIVE CSS
   ========================================== */

/* Tablet Styles (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }

    .navbar {
        gap: var(--spacing-lg);
    }

    .nav-menu {
        gap: var(--spacing-md);
    }

    .search-input {
        width: 200px;
    }

    .hero-content .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-mvv,
    .p-feature-grid,
    .stats-grid {
        justify-content: center !important;
    }
}

/* Mobile Styles (max-width: 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.25rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    /* Mobile Navigation */
    .navbar {
        position: relative;
        padding: 12px 0;
        gap: 12px;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .header {
        overflow: visible;
    }

    .header.menu-open {
        z-index: 10002;
    }

    body .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-height: none;
        background: var(--white);
        flex-direction: column !important;
        justify-content: flex-start;
        padding: 80px 24px 24px;
        box-shadow: none;
        z-index: 10001;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
        pointer-events: none;
    }

    body.ltr .nav-menu {
        left: 0 !important;
        right: 0 !important;
    }

    body .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        border-radius: var(--radius-md);
        font-size: var(--font-size-lg);
        min-height: 48px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px;
        order: 2;
        flex-shrink: 0;
        margin: 0 !important;
    }

    .lang-toggle {
        min-width: 42px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-box {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        padding: 8px;
        gap: 5px;
        cursor: pointer !important;
        position: relative;
        z-index: 3000 !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .overlay {
        pointer-events: none;
    }

    .overlay.active {
        pointer-events: auto;
    }

    /* Mobile Hero */
    .hero {
        padding: var(--spacing-2xl) 0;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
    }

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

    .hero-image {
        order: -1;
    }

    /* Mobile Features */
    .hero-features {
        margin-top: var(--spacing-2xl);
        padding: var(--spacing-xl) 0;
    }

    .features-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: var(--spacing-md);
    }

    .feature-item {
        flex: 1 1 280px;
        max-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }

    .feature-icon {
        margin-bottom: var(--spacing-md);
    }

    /* Mobile Products */
    .products-section,
    .offers-section {
        padding: var(--spacing-2xl) 0;
    }

    .products-grid,
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card,
    .offer-card {
        margin: 0;
        max-width: none;
        display: flex;
        flex-direction: column;
    }

    .product-image {
        height: 180px !important;
    }

    .product-info {
        padding: 12px !important;
    }

    .product-name {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
        min-height: auto !important;
        line-height: 1.3 !important;
    }

    .product-description {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
        min-height: auto !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    .product-price {
        margin-bottom: 8px !important;
        min-height: auto !important;
        gap: 4px !important;
    }

    .price {
        font-size: 1.1rem !important;
    }

    .old-price {
        font-size: 0.75rem !important;
    }

    .product-stock {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    .product-actions {
        gap: 6px !important;
    }

    .product-actions .btn {
        padding: 8px 4px !important;
        font-size: 0.85rem !important;
        min-height: 38px !important;
    }

    .btn-applepay {
        /* Visible on mobile */
    }

    .product-badge {
        padding: 2px 8px !important;
        font-size: 10px !important;
        top: 8px !important;
        right: 8px !important;
    }

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    /* Mobile Testimonials */
    .testimonials-section {
        padding: var(--spacing-2xl) 0;
    }

    .testimonial-card {
        padding: var(--spacing-xl);
    }

    .testimonial-text {
        font-size: var(--font-size-base);
    }

    .slider-controls {
        gap: var(--spacing-sm);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-sm);
    }

    /* Mobile Trust */
    .trust-section {
        padding: var(--spacing-2xl) 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .trust-item {
        padding: var(--spacing-md);
    }

    /* Mobile Footer */
    .footer {
        padding: var(--spacing-2xl) 0 var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-section ul li {
        margin-bottom: var(--spacing-xs);
    }

    .social-links {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }

    /* Mobile Cart Sidebar */
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .cart-sidebar.active {
        right: 0;
    }

    /* Navbar specific mobile tweaks */
    .nav-brand {
        flex: 0 1 auto;
        min-width: 0;
        max-width: calc(100% - 190px);
        gap: 8px;
        overflow: visible;
        position: relative;
        z-index: 1;
    }

    .nav-brand a {
        display: block;
        line-height: 0;
        overflow: visible;
    }

    .logo {
        height: auto !important;
        width: auto !important;
        max-height: 44px !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: center;
        display: block;
    }

    .nav-actions {
        position: relative;
        z-index: 2;
        background: var(--white);
    }

    /* Cards Stacking Fix */
    .mvv-card,
    .p-feature {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }

    .p-mvv,
    .p-feature-grid {
        gap: 16px !important;
    }

    /* Products banner: contain on mobile, no overflow */
    .products-banner-wrap {
        overflow: hidden;
        width: 100%;
    }

    /* About banner: same treatment */
    .about-banner-wrap {
        overflow: hidden;
        width: 100%;
    }

    .about-banner {
        width: 100% !important;
        max-width: 100%;
        border-radius: 16px;
    }

    .products-banner {
        width: 100% !important;
        max-width: 100%;
        height: 280px;
        border-radius: 16px;
        overflow: hidden;
    }

    .products-banner .banner-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .products-banner {
        height: 220px;
        border-radius: 12px;
    }

    .about-banner {
        border-radius: 12px;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        min-height: 44px;
    }

    .nav-brand {
        font-size: var(--font-size-xl);
        max-width: calc(100% - 175px);
    }

    .logo {
        height: auto !important;
        width: auto !important;
        max-height: 40px !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .product-card,
    .offer-card {
        margin: 0;
        max-width: none;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
    }

    .trust-icon {
        width: 60px;
        height: 60px;
        font-size: var(--font-size-xl);
    }
}

/* Large Desktop Styles (min-width: 1440px) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

/* Orientation Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .nav-menu {
        padding-top: var(--spacing-xl);
    }
}

/* Print Styles */
@media print {

    .header,
    .cart-sidebar,
    .overlay,
    .hero-actions,
    .slider-controls,
    .social-links {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* =========================================================
   ✅ Responsive tweaks for the upgraded footer + features
   ========================================================= */
@media (max-width: 1024px) {
    .footer-section {
        padding: 18px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 46px 0 18px;
    }

    .footer-section {
        text-align: right;
    }

    html[dir="ltr"] .footer-section {
        text-align: left;
    }

    .footer-content {
        text-align: right;
    }

    html[dir="ltr"] .footer-content {
        text-align: left;
    }

    .social-links {
        justify-content: flex-start;
    }

    .contact-info p {
        justify-content: flex-start;
    }

    /* keep the premium features wrapper nice on mobile */
    .hero-features {
        padding: 0;
    }

    .hero-features .container {
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 16px;
        border-radius: 16px;
    }

    /* New circular styles handles padding and radius */

    .hero-features .container {
        padding: 14px;
    }
}

/* LTR/RTL mobile menu - both use full-screen fixed overlay */

.hero-carousel {
    position: relative;
}

.hero-carousel-section .hero-viewport {
    overflow: hidden;
    width: 100%;
}

.hero-carousel-section .hero-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: flex-start;
    will-change: transform;
    transition: transform .7s ease;
}

.hero-carousel-section .hero-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    display: block;
    line-height: 0;
}

.hero-carousel-section .hero-slide picture {
    display: block;
    width: 100%;
}

.hero-carousel-section .hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
    border-radius: 18px;
}

@media (max-width: 768px) {
    .hero-carousel-section .hero-viewport {
        border-radius: 16px;
    }
}

/* keep hero-features-section layout stable on mobile */
@media (max-width: 768px) {
    html[dir="rtl"] .hero-features-section .feature-item {
        flex-direction: row-reverse !important;
        /* icon right */
        text-align: right !important;
    }

    html[dir="ltr"] .hero-features-section .feature-item {
        flex-direction: row !important;
        /* icon left */
        text-align: left !important;
    }
}

/* ================================
   FINAL OVERRIDE (put LAST in responsive.css)
   Hero features icon position RTL/LTR
================================ */

/* reset mobile rule that makes it column */
.hero-features-section .feature-item {
    flex-direction: row !important;
    text-align: initial !important;
}

/* RTL: icon RIGHT */
html[dir="rtl"] .hero-features-section .feature-item {
    direction: rtl !important;
    justify-content: flex-start !important;
}

html[dir="rtl"] .hero-features-section .feature-icon {
    order: 1 !important;
}

html[dir="rtl"] .hero-features-section .feature-text {
    order: 2 !important;
    text-align: right !important;
}

/* LTR: icon LEFT */
html[dir="ltr"] .hero-features-section .feature-item {
    direction: ltr !important;
    justify-content: flex-start !important;
}

html[dir="ltr"] .hero-features-section .feature-icon {
    order: 1 !important;
}

html[dir="ltr"] .hero-features-section .feature-text {
    order: 2 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .hero-features-section {
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .hero-carousel-section {
        padding: 10px 0 0 !important;
    }

    .offers-section-carousel {
        padding: 0 !important;
    }

    .hero-features-section .feature-item {
        flex-direction: row !important;
        text-align: initial !important;
        align-items: center !important;
        padding: 8px 12px !important;
    }

    .hero-features-section .feature-icon {
        margin-bottom: 0 !important;
        background: #ea6739 !important;
        color: #fff !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* ==========================================================================
   OFFERS CARD MOBILE FIXES (MATCH PRODUCTS GRID)
   Target: max-width 900px
   Priority: !important on everything to ensure it wins
   ========================================================================== */
@media (max-width: 900px) {

    /* 1. Card Container (Match .product-card) */
    .swiper-slide .c-item {
        background: #fff !important;
        border-radius: 18px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .05) !important;
        border: 1px solid rgba(15, 23, 42, .08) !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 400px !important;
        overflow: hidden !important;
    }

    /* 2. Image Area */
    .swiper-slide .c-item .c-top {
        height: 240px !important;
        /* Increased for better image fitting */
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }

    .swiper-slide .c-item .c-top img {
        width: auto !important;
        max-width: 95% !important;
        height: auto !important;
        max-height: 220px !important;
        /* Significantly larger image */
        object-fit: contain !important;
        padding: 0 !important;
    }

    /* Hide badge */
    .offers-section-carousel .c-badge,
    .offers-section-carousel .offer-badge {
        display: flex !important;
        background: #f97316 !important;
        /* Orange background */
        color: #fff !important;
        border-radius: 20px !important;
        padding: 4px 12px !important;
        font-size: 11px !important;
        top: 8px !important;
        right: 8px !important;
        /* Or left depending on preference, but right is standard */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    }

    /* 3. Content Body - Essential for bottom alignment */
    .swiper-slide .c-item .c-body {
        padding: 12px 14px 18px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    /* Rating */
    .swiper-slide .c-item .c-rating {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
    }

    .swiper-slide .c-item .c-rating .stars {
        display: flex !important;
        gap: 1px !important;
        color: #f59e0b !important;
        /* Star color */
        font-size: 12px !important;
    }

    .swiper-slide .c-item .c-rating .count {
        font-size: 11px !important;
        color: #64748b !important;
    }

    /* Brand Label */
    .swiper-slide .c-item .c-brand {
        display: none !important;
    }

    /* Product Name */
    .swiper-slide .c-item .c-name {
        font-size: 14.5px !important;
        font-weight: 700 !important;
        color: #92400e !important;
        line-height: 1.3 !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        min-height: 2.6em !important;
        /* Stable height for alignment */
        text-align: center !important;
    }

    /* Extra Tags (Mobile Only) - Hidden as we are resizing image instead */
    .swiper-slide .c-item .c-extra-tags {
        display: none !important;
    }

    /* Price */
    .swiper-slide .c-item .c-price {
        margin-bottom: 14px !important;
        margin-top: 4px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important; /* Minimal gap */
        width: 100% !important;
        padding: 0 !important;
        white-space: nowrap !important; /* Force single line */
    }

    .swiper-slide .c-item .c-price .new {
        font-size: 0.9rem !important; /* Slightly smaller for mobile */
        font-weight: 900 !important;
        color: #ea6739 !important;
        -webkit-text-fill-color: #ea6739 !important;
        background: #ffffff !important;
        padding: 3px 6px !important;
        border-radius: 5px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        line-height: 1 !important;
        white-space: nowrap !important; /* CRITICAL */
        display: inline-block !important;
    }

    .swiper-slide .c-item .c-price--has-discount .new {
        color: #dc2626 !important;
        -webkit-text-fill-color: #dc2626 !important;
        background: #ffffff !important;
    }

    .swiper-slide .c-item .c-price .old-price-wrapper {
        background: #f1f5f9 !important;
        padding: 3px 6px !important; /* Tighter padding */
        border-radius: 6px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .swiper-slide .c-item .c-price .old {
        font-size: 9.5px !important; /* Smaller */
        color: #64748b !important;
        text-decoration: line-through !important;
        font-weight: 700 !important;
        white-space: nowrap !important; /* CRITICAL */
    }

    .swiper-slide .c-item .c-price .discount-pct {
        font-size: 9px !important; /* Smaller */
        font-weight: 800 !important;
        color: #fff !important;
    }

    /* 4. Actions/Buttons - PUSHED TO BOTTOM */
    .swiper-slide .c-item .c-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: auto !important;
        padding: 0 12px 12px !important;
    }

    .swiper-slide .c-item .c-cta .btn {
        width: 100% !important;
        height: 44px !important;
        padding: 0 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }

    .swiper-slide .c-item .c-cta .btn-applepay {
        font-size: 10.5px !important;
        white-space: nowrap !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 4px !important;
        padding: 0 4px !important;
    }

    /* Apple Pay specifics */
    .swiper-slide .c-item .c-cta .btn-applepay {
        background-color: #000 !important;
        color: #fff !important;
        border: 1px solid #000 !important;
    }

    /* bundles carousel: match applepay size to btn-primary */
    .offers-section-carousel .offers-swiper .c-cta .btn-applepay {
        font-size: 13px !important;
        padding: 0 8px !important;
        height: 44px !important;
    }

    .swiper-slide .c-item .c-cta .btn-primary {
        background-color: #ea6739 !important;
        /* Ensure brand color */
        border-color: #ea6739 !important;
        color: #fff !important;
    }

    /* Target the link wrapping the image */
    .swiper-slide .c-item .c-top a {
        display: block !important;
        line-height: 0 !important;
        /* Remove descender space */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Target the image inside c-top */
    .swiper-slide .c-item .c-top img {
        height: auto !important;
        max-height: 220px !important;
        /* Matches the height constraint above */
        width: auto !important;
        max-width: 95% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        padding: 0 !important;
        display: inline-block !important;
    }

    /* Reduce text spacing */
    .swiper-slide .c-item .c-body {
        padding: 0 !important;
        /* Remove padding */
        margin-top: 4px !important;
        /* Small gap after image */
        gap: 4px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .swiper-slide .c-item .c-title,
    .swiper-slide .c-item .c-name {
        margin: 0 !important;
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        min-height: 0 !important;
        height: auto !important;
    }

    .swiper-slide .c-item .c-brand {
        margin-bottom: 2px !important;
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }

    .swiper-slide .c-item .c-price {
        margin-bottom: 6px !important;
        font-size: 0.9rem !important;
        min-height: 0 !important;
    }

    .swiper-slide .c-item .c-price .old-price {
        font-size: 0.75rem !important;
    }
}

/* FINAL OVERRIDES TO REMOVE MARQUEE SPACE */
.hero-carousel-section,
/* ============================================================
   ULTIMATE MARQUEE REDESIGN (Brand-Tinted Capsules)
   ============================================================ */
.hero-features-section {
    background: #ffffff !important;
    padding: 8px 0 !important;
    margin: 0 !important;
}

.hero-features-section .feature-item {
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(228, 90, 42, 0.04) !important;
    border: 1px solid rgba(228, 90, 42, 0.1) !important;
    border-radius: 12px !important;
    padding: 8px 15px !important;
    box-shadow: none !important;
    margin: 0 4px !important;
    gap: 10px !important;
    min-height: 50px !important;
}

.hero-features-section .feature-icon {
    width: 32px !important;
    height: 32px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    color: #ea6739 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 4px rgba(228, 90, 42, 0.08) !important;
}

.hero-features-section .feature-text {
    text-align: right !important;
}

.hero-features-section .feature-text h3 {
    color: #1e293b !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.hero-features-section .feature-text p {
    color: #64748b !important;
    font-size: 0.68rem !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.2 !important;
}

.hero-carousel-section { padding-bottom: 0 !important; }
.offers-section-carousel { padding-top: 0 !important; }

/* ==========================================================================
   MOBILE PRICE FIX — offers carousel (≤ 600 px)
   Cards are ~160 px wide (2-per-view); shrink fonts so both prices
   stay on ONE line without overflowing.
   ========================================================================== */
@media (max-width: 600px) {
    .swiper-slide .c-item .c-price {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 0 2px !important;
        overflow: hidden !important;
    }

    .swiper-slide .c-item .c-price .new {
        font-size: 0.75rem !important;
        padding: 2px 5px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .swiper-slide .c-item .c-price.c-price--has-discount .new {
        color: #dc2626 !important;
        -webkit-text-fill-color: #dc2626 !important;
    }

    /* .old — strikethrough price pill */
    .swiper-slide .c-item .c-price .old {
        font-size: 0.65rem !important;
        padding: 2px 5px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
    }

    /* .old-price-wrapper if present */
    .swiper-slide .c-item .c-price .old-price-wrapper {
        padding: 2px 5px !important;
        gap: 2px !important;
        flex-shrink: 0 !important;
    }

    .swiper-slide .c-item .c-price .discount-pct {
        font-size: 0.6rem !important;
    }
}
/* source: navbar-refined.css */
/* Premium Navbar Buttons Refined */

.lang-toggle {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    color: var(--neutral-800) !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px !important;
    height: 40px !important;
    min-width: 48px !important;
    font-size: 14px !important;
}

.lang-toggle:hover {
    background: #fff !important;
    border-color: var(--primary-green) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1) !important;
}

.hamburger {
    background: rgba(228, 90, 42, 0.06) !important;
    border: 1.5px solid rgba(228, 90, 42, 0.15) !important;
    border-radius: 12px !important;
    padding: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: none;
    /* Changed from display: flex to none for desktop */
    flex-direction: column;
    gap: 5px;
    z-index: 99999 !important;
    position: relative !important;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }
}

.hamburger:hover {
    background: rgba(228, 90, 42, 0.1) !important;
    transform: scale(1.05);
}

.hamburger span {
    background: var(--neutral-700) !important;
    height: 2.5px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.hamburger.active {
    background: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
}

.hamburger.active span {
    background: #fff !important;
}

body.ltr .lang-toggle {
    font-family: var(--font-primary);
}

/* Premium Navigation Icons (Orders & Cart) */
.nav-orders, 
.nav-cart {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(15, 23, 42, 0.08) !important;
    color: var(--neutral-800) !important;
    border-radius: 12px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    text-decoration: none !important;
}

.nav-orders i,
.nav-cart i {
    font-size: 1.2rem !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nav-orders:hover,
.nav-cart:hover {
    background: #fff !important;
    border-color: var(--primary-green) !important;
    color: var(--primary-green) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(228, 90, 42, 0.12) !important;
}

.nav-orders:hover i,
.nav-cart:hover i {
    transform: scale(1.15) rotate(-5deg);
}

/* Special bounce for the bag on hover */
.nav-orders:hover i {
    animation: bagBounce 0.5s ease-in-out infinite alternate;
}

@keyframes bagBounce {
    from { transform: scale(1.15) translateY(0) rotate(-5deg); }
    to { transform: scale(1.15) translateY(-2px) rotate(5deg); }
}

/* Ensure cart count stays positioned correctly */
.nav-cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: var(--primary-green) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    z-index: 2 !important;
}
/* source: loyalty.css */
/* ═══════════════════════════════════════════════
   loyalty.css — Tahour Loyalty Program Page
   ═══════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────── */
:root {
  --loy-primary:   #E45A2A;
  --loy-primary-d: #c44a1e;
  --loy-primary-l: #ff7a4d;
  --loy-gold:      #f5a623;
  --loy-dark:      #1a1a2e;
  --loy-text:      #444;
  --loy-bg:        #faf9f7;
  --loy-radius:    16px;
}

/* ── Shared ─────────────────────────────────────── */
.loyalty-section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.loyalty-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--loy-primary);
  background: rgba(228,90,42,0.09);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 0.7rem;
}
.loyalty-section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--loy-dark);
  margin: 0.4rem 0 0.6rem;
  line-height: 1.3;
}
.loyalty-section-sub {
  color: #888;
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Hero ───────────────────────────────────────── */
.loyalty-hero {
  background: linear-gradient(135deg, #E45A2A 0%, #c44a1e 55%, #a83c14 100%);
  color: #fff;
  padding: 100px 20px 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.loyalty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.loyalty-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.loyalty-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(4px);
}
.loyalty-hero__title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1.2rem;
  color: #fff;
}
.loyalty-hero__title span {
  color: #ffe0d0;
}
.loyalty-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.loyalty-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 1rem 2rem;
  backdrop-filter: blur(6px);
}
.loyalty-hero__stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}
.loyalty-hero__stat-label {
  font-size: 0.8rem;
  opacity: 0.8;
}
.loyalty-hero__stat-eq {
  font-size: 2rem;
  font-weight: 700;
  opacity: 0.7;
}
.loyalty-hero__wave {
  position: relative;
  margin-top: 3rem;
  line-height: 0;
  height: 60px;
}
.loyalty-hero__wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ── How it works ──────────────────────────────── */
.loyalty-how {
  background: #fff;
  padding: 80px 20px;
}
.loyalty-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.loyalty-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  transition: transform 0.3s;
}
.loyalty-step:hover { transform: translateY(-6px); }
.loyalty-step__num {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--loy-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loyalty-step__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(228,90,42,0.12), rgba(228,90,42,0.05));
  border: 2px solid rgba(228,90,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--loy-primary);
  transition: all 0.3s;
}
.loyalty-step:hover .loyalty-step__icon {
  background: var(--loy-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(228,90,42,0.35);
}
.loyalty-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--loy-dark);
  margin-bottom: 0.5rem;
}
.loyalty-step__desc {
  font-size: 0.85rem;
  color: #777;
  line-height: 1.6;
}
.loyalty-step__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.4rem;
  padding: 2rem 0;
  margin-top: 1rem;
}
[dir="rtl"] .loyalty-step__connector i { transform: scaleX(-1); }

@media (max-width: 768px) {
  .loyalty-steps { flex-direction: column; align-items: center; }
  .loyalty-step__connector { transform: rotate(90deg); padding: 0.5rem 0; margin: 0; }
  /* Reset flip on mobile so they point down correctly */
  [dir="rtl"] .loyalty-step__connector i { transform: none; }
}

/* ── Points Details ─────────────────────────────── */
.loyalty-details {
  background: var(--loy-bg);
  padding: 80px 20px;
}
.loyalty-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .loyalty-details__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .loyalty-details__card-wrap { order: -1; }
}
.loyalty-details__text p {
  color: var(--loy-text);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.loyalty-details__list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.loyalty-details__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--loy-text);
}
.loyalty-details__list li i {
  color: var(--loy-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Loyalty Card */
.loyalty-details__card-wrap {
  display: flex;
  justify-content: center;
}
.loyalty-card {
  width: 320px;
  height: 200px;
  border-radius: 20px;
  background: linear-gradient(135deg, #E45A2A, #c44a1e 60%, #a83c14);
  color: #fff;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(228,90,42,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: cardFloat 4s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.loyalty-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.loyalty-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.loyalty-card__logo {
  height: 32px;
  filter: brightness(0) invert(1);
}
.loyalty-card__badge {
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 3px 10px;
}
.loyalty-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loyalty-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
}
.loyalty-card__divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.loyalty-card__reward {
  font-size: 1.1rem;
  color: #ffe0d0;
}
.loyalty-card__footer {
  display: flex;
  gap: 4px;
  font-size: 0.7rem;
  opacity: 0.6;
}
.loyalty-card__dots {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 24px;
  display: flex;
  gap: 6px;
}
.loyalty-card__dots span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: block;
}
.loyalty-card__dots span:last-child {
  background: rgba(255,255,255,0.08);
}

/* ── Why ────────────────────────────────────────── */
.loyalty-why {
  background: #fff;
  padding: 80px 20px;
}
.loyalty-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.loyalty-why__item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--loy-radius);
  border: 1.5px solid #f0ece9;
  background: #fffbf9;
  transition: all 0.3s;
}
.loyalty-why__item:hover {
  border-color: rgba(228,90,42,0.25);
  box-shadow: 0 8px 30px rgba(228,90,42,0.1);
  transform: translateY(-4px);
}
.loyalty-why__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(228,90,42,0.12), rgba(228,90,42,0.06));
  color: var(--loy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
  transition: all 0.3s;
}
.loyalty-why__item:hover .loyalty-why__icon {
  background: var(--loy-primary);
  color: #fff;
}
.loyalty-why__item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--loy-dark);
  margin-bottom: 0.5rem;
}
.loyalty-why__item p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

/* ── CTA ────────────────────────────────────────── */
.loyalty-cta {
  background: linear-gradient(135deg, #E45A2A 0%, #c44a1e 100%);
  padding: 80px 20px;
}
.loyalty-cta__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.loyalty-cta__inner h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.loyalty-cta__inner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.loyalty-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────── */
.loyalty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.loyalty-btn--primary {
  background: var(--loy-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(228,90,42,0.35);
}
.loyalty-btn--primary:hover {
  background: var(--loy-primary-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(228,90,42,0.45);
  color: #fff;
}
.loyalty-btn--white {
  background: #fff;
  color: var(--loy-primary);
}
.loyalty-btn--white:hover {
  background: #ffe8e0;
  color: var(--loy-primary-d);
  transform: translateY(-2px);
}
.loyalty-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.loyalty-btn--outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

/* ── Floating Loyalty Button ─────────────────────── */
#loyalty-float-btn {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.loyalty-float__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: var(--loy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.loyalty-float__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(228,90,42,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

#loyalty-float-btn:hover .loyalty-float__icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  color: var(--loy-primary-d);
}
#loyalty-float-btn:hover .loyalty-float__icon::after {
  opacity: 1;
}

.loyalty-float__label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--loy-primary);
  border-radius: 10px;
  padding: 4px 12px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(228,90,42,0.3);
  transition: all 0.3s;
}
#loyalty-float-btn:hover .loyalty-float__label {
  transform: scale(1.05);
  background: var(--loy-primary-d);
}

/* ── Loyalty Modal ─────────────────────────────── */
.loyalty-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  padding: 20px;
}
.loyalty-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.loyalty-modal__content {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 36px;
  padding: 45px 35px 40px;
  position: relative;
  box-shadow: 0 40px 120px rgba(0,0,0,0.2);
  transform: none;
}
.loyalty-modal.active .loyalty-modal__content {
  transform: none;
}

.loyalty-modal__close {
  position: absolute;
  top: 30px;
  inset-inline-end: 35px;
  background: #f7f7f7;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}
.loyalty-modal__close:hover {
  background: #eee;
  transform: rotate(90deg);
}

.loyalty-modal__header {
  margin-bottom: 35px;
  text-align: center;
}
.loyalty-modal__title {
  font-size: 1.7rem;
  font-weight: 900;
  color: #1a1a2e;
  margin: 0;
  letter-spacing: -0.02em;
}

.loyalty-modal__reward-card {
  background: #fff;
  border: 2px dashed #eee;
  border-radius: 28px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
  transition: all 0.3s;
  position: relative;
}
.loyalty-modal__reward-card::before,
.loyalty-modal__reward-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #eee;
  transform: translateY(-50%);
}
.loyalty-modal__reward-card::before { left: -11px; }
.loyalty-modal__reward-card::after { right: -11px; }

.loyalty-modal__reward-details {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.loyalty-modal__reward-icon-hand {
  font-size: 2.8rem;
  color: var(--loy-primary);
  filter: drop-shadow(0 4px 10px rgba(228,90,42,0.15));
}
.loyalty-modal__reward-content-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}
.loyalty-modal__reward-text-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
}
.loyalty-modal__reward-text-sub {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.loyalty-modal__reward-icon-bill {
  font-size: 1.1rem;
  color: var(--loy-primary);
}

.loyalty-modal__footer {
  text-align: center;
}
.loyalty-modal__learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: var(--loy-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(228,90,42,0.25);
  transition: all 0.3s;
}
.loyalty-modal__learn-more:hover {
  background: var(--loy-primary-d);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(228,90,42,0.35);
  color: #fff;
}

/* source: home.css */
/* Partners Section Styling */
.partners-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #FFF5EF 0%, #ffffff 60%);
  border-top: 1px solid #FFD9C4;
  overflow: hidden;
  position: relative;
}

.partners-title {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  width: 100%;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #111827;
  font-family: 'Tajawal', sans-serif;
  position: relative;
}

/* Decorative underline accent beneath the title */
.partners-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, #E45A2A, #FF8A3D);
  margin: 12px auto 0;
}

/* Subtitle spacing after the accent line */
.partners-section .container {
  margin-bottom: 44px;
}

/* RTL Support for Title */
[dir="rtl"] .partners-title {
  font-weight: 900;
}

/* --- Universal Marquee System --- */
/* Works for both Partners and Features. 
   direction: ltr is forced so the track always starts at the left, 
   providing content on the right for the translateX pull. */

.partners-marquee, 
.features-marquee {
  width: 100%;
  overflow: hidden;
  direction: ltr !important;
  margin: 0;
  position: relative;
  min-height: 80px;
}

/* Fade-edge overlays via pseudo-elements (more compatible than mask-image) */
.partners-marquee::before,
.partners-marquee::after,
.features-marquee::before,
.features-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before,
.features-marquee::before {
  left: 0;
  background: linear-gradient(to right, #FFF5EF, transparent);
}
.partners-marquee::after,
.features-marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.partners-marquee-track,
.features-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  width: max-content;
  direction: ltr;
  animation: universalMarqueeScroll 60s linear infinite;
  will-change: transform;
}

/* Pause on hover for accessibility & delight */
.partners-marquee:hover .partners-marquee-track,
.features-marquee:hover .features-marquee-track {
  animation-play-state: paused;
}

@keyframes universalMarqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Items carry their own gap for perfect loop math */
.partner-item,
.features-marquee .feature-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  padding-inline-end: clamp(40px, 6vw, 88px);
  transition: opacity 0.3s ease;
}

/* Feature Item Specific Overrides for Marquee Mode */
.features-marquee .feature-item {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  margin-inline-end: clamp(20px, 3vw, 40px);
  min-width: 320px;
}

.partner-item img {
  max-width: 220px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(30%) opacity(0.85);
  transition: filter 0.35s ease, transform 0.35s ease;
}

/* Re-color & lift logo on hover */
.partners-marquee:hover .partner-item img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .partner-item,
  .features-marquee .feature-item {
    padding-inline-end: 48px;
  }
  .features-marquee .feature-item {
    min-width: 280px;
    margin-inline-end: 24px;
  }
}

@media (max-width: 768px) {
  .partners-marquee-track,
  .features-marquee-track {
    animation-duration: 40s;
  }
  .partner-item,
  .features-marquee .feature-item {
    padding-inline-end: 32px;
  }
  .features-marquee .feature-item {
    min-width: 240px;
    padding: 15px;
  }
  .partners-marquee::before,
  .partners-marquee::after,
  .features-marquee::before,
  .features-marquee::after {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .partners-marquee-track,
  .features-marquee-track {
    animation-duration: 50s;
  }
  .partner-item,
  .features-marquee .feature-item {
    padding-inline-end: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee-track,
  .features-marquee-track {
    animation: none;
  }
}


.bundles-section {
  margin-top: 0;
}

.bundles-section .offers-section-carousel .offers-swiper + .offers-swiper {
  margin-top: 24px;
}

/* Bundles cards — shorter on mobile only */
@media (max-width: 900px) {
  .bundles-section .offers-section-carousel .offers-swiper {
    min-height: 0 !important;
    padding-bottom: 12px !important;
  }

  .bundles-section .offers-section-carousel .offers-swiper .c-top {
    height: 130px !important;
  }

  .bundles-section .offers-section-carousel .offers-swiper .c-top img {
    max-height: 115px !important;
    height: auto !important;
  }

  .bundles-section .swiper-slide .c-item {
    min-height: 0 !important;
  }

  .bundles-section .swiper-slide .c-item .c-body {
    padding: 8px 8px 10px !important;
    gap: 4px !important;
  }

  .bundles-section .swiper-slide .c-item .c-name {
    font-size: 12.5px !important;
    min-height: 2.4em !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  .bundles-section .swiper-slide .c-item .c-price {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    gap: 3px !important;
  }

  .bundles-section .swiper-slide .c-item .c-price .new {
    font-size: 0.78rem !important;
    padding: 2px 5px !important;
  }

  .bundles-section .swiper-slide .c-item .c-price .old-price-wrapper {
    padding: 2px 5px !important;
    gap: 3px !important;
  }

  .bundles-section .swiper-slide .c-item .c-price .old {
    font-size: 8.5px !important;
  }

  .bundles-section .swiper-slide .c-item .c-price .discount-pct {
    font-size: 8px !important;
  }

  .bundles-section .swiper-slide .c-item .c-cta {
    padding: 0 8px 8px !important;
    gap: 6px !important;
  }

  .bundles-section .swiper-slide .c-item .c-cta .btn,
  .bundles-section .offers-section-carousel .offers-swiper .c-cta .btn-applepay {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 10.5px !important;
    padding: 0 6px !important;
    border-radius: 10px !important;
  }

  .bundles-section .offers-section-carousel .c-badge {
    font-size: 9px !important;
    padding: 3px 8px !important;
    top: 6px !important;
    right: 6px !important;
  }
}

/* Home carousels — stable layout before Swiper JS loads (no card design changes) */
.bundles-section .offers-swiper:not(.swiper-initialized),
.products-section .products-swiper:not(.swiper-initialized) {
  overflow: hidden !important;
}

.bundles-section .offers-swiper:not(.swiper-initialized) .swiper-wrapper,
.products-section .products-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow: hidden;
  gap: 18px;
}

.bundles-section .offers-swiper:not(.swiper-initialized) .swiper-slide,
.products-section .products-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  max-width: calc((100% - 54px) / 4);
}

@media (max-width: 1279px) {
  .bundles-section .offers-swiper:not(.swiper-initialized) .swiper-slide,
  .products-section .products-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 36px) / 3);
    max-width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 1023px) {
  .bundles-section .offers-swiper:not(.swiper-initialized) .swiper-wrapper,
  .products-section .products-swiper:not(.swiper-initialized) .swiper-wrapper {
    gap: 14px;
  }

  .bundles-section .offers-swiper:not(.swiper-initialized) .swiper-slide,
  .products-section .products-swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 14px) / 2);
    max-width: calc((100% - 14px) / 2);
  }
}

/* Home products carousel — layout only, card design unchanged */
.products-section .products-swiper {
  overflow: hidden !important;
  width: 100%;
  margin-bottom: var(--spacing-2xl);
}

.products-section .products-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
}

.products-section .products-swiper .swiper-slide > .product-card {
  width: 100% !important;
}

/* ==========================================
   PREMIUM BENEFITS SECTION
   ========================================== */
.premium-benefits-section {
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #FFFBF9 100%);
  position: relative;
  z-index: 10;
  opacity: 1;
  transform: none;
  animation: none;
}

@keyframes fadeInSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.benefits-marquee {
  width: 100%;
  overflow: hidden;
  direction: ltr !important;
  position: relative;
  padding: 10px 0;
  min-height: 108px;
}

/* Fade-edge overlays */
.benefits-marquee::before,
.benefits-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}
.benefits-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.benefits-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.benefits-marquee-track {
  display: flex;
  width: max-content;
  animation: benefitsMarquee 14s linear infinite; /* Adjusted for 4 sets to keep it fast */
  padding: 12px 0; /* Tightened space for hover transform */
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.benefits-marquee:hover .benefits-marquee-track {
  animation-play-state: paused;
}

@keyframes benefitsMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.benefit-card {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  margin-right: 30px;
  min-height: 88px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(228, 90, 42, 0.08);
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
  min-width: 380px;
  direction: rtl; /* Restore RTL for content */
}

[dir="ltr"] .benefit-card {
  direction: ltr;
}

.benefit-card:nth-child(1) { transition-delay: 0.1s; }
.benefit-card:nth-child(2) { transition-delay: 0.2s; }
.benefit-card:nth-child(3) { transition-delay: 0.3s; }

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(228, 90, 42, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(228, 90, 42, 0.15);
  border-color: rgba(228, 90, 42, 0.25);
}

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

.benefit-icon-wrapper {
  width: 64px;
  height: 64px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 20px;
  flex-shrink: 0;
  z-index: 2;
}

.benefit-icon-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--light-green) 0%, #FFE4D6 100%);
  border-radius: 18px;
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
              background 0.5s ease;
  transform: rotate(0deg);
}

.benefit-card:hover .benefit-icon-bg {
  transform: rotate(12deg) scale(1.1);
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
}

.benefit-icon-wrapper i {
  font-size: 24px;
  color: var(--primary-green);
  position: relative;
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
              color 0.4s ease;
}

.benefit-card:hover .benefit-icon-wrapper i {
  color: var(--white);
  transform: scale(1.1);
}

.benefit-info {
  position: relative;
  z-index: 2;
}

.benefit-info h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-green);
  font-family: var(--font-primary);
  margin-bottom: 4px;
}

.benefit-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--neutral-600);
  line-height: 1.4;
  transition: color 0.4s ease;
}

.benefit-card:hover .benefit-info h3 {
  color: var(--dark-green);
}

/* RTL Specific Adjustments */
[dir="rtl"] .benefit-card:hover .benefit-icon-bg {
  transform: rotate(-12deg) scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .benefit-card {
    padding: 20px;
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .premium-benefits-section {
    padding: 30px 0;
  }
  .benefit-card {
    padding: 16px 20px;
    border-radius: 20px;
    min-width: 280px;
  }
  .benefit-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-inline-end: 15px;
  }
  .benefit-icon-wrapper i {
    font-size: 20px;
  }
  .benefit-info h3 {
    font-size: 1rem;
  }
}

