﻿/* ═══════════════════════════════════════════
   PARA SHOP T — Premium Parapharmacy E-commerce
   ═══════════════════════════════════════════ */

/* ── CSS RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; outline: none; }
ul { list-style: none; }

/* ── CUSTOM PROPERTIES (Light Mode Default) ── */
:root {
  --bg-primary: #f0f7f5;
  --bg-secondary: #eef5f3;
  --bg-card: #ffffff;
  --text-primary: #00272c;
  --text-secondary: #1a3a40;
  --accent: #00272c;
  --accent-lime: #e1ff51;
  --border: #b8d4c8;
  --cta-bg: #e1ff51;
  --cta-text: #00272c;
  --gold: #c8a96e;
  --sage: #b8d4c8;
  --ivory: #f7f3ec;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,39,44,0.08);
  --shadow-lg: 0 8px 40px rgba(0,39,44,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 50px;
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --header-height: 80px;
  --header-height-mobile: 50px;
  --header-inner-bg: transparent;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --bg-primary: #00272c;
  --bg-secondary: #1a3a40;
  --bg-card: #0d3038;
  --text-primary: #fafaf8;
  --text-secondary: #b8d4c8;
  --accent: #e1ff51;
  --accent-lime: #e1ff51;
  --border: rgba(225,255,81,0.15);
  --cta-bg: #e1ff51;
  --cta-text: #00272c;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; }
.logo-text { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 3rem; font-size: 1.05rem; }
.section-underline {
  width: 60px; height: 3px; background: var(--accent-lime); margin: 0.5rem auto 2rem;
  border-radius: 2px;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-lime); }

/* ── UTILITY ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
@keyframes bounceIn { 0% { transform: scale(0.3); opacity: 0; } 50% { transform: scale(1.08); } 70% { transform: scale(0.95); } 100% { transform: scale(1); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blobMorph {
  0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}
@keyframes slideScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.fade-up, .fade-left, .fade-right, .scale-in { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.7s ease forwards; }
.fade-left.visible { animation: fadeLeft 0.7s ease forwards; }
.fade-right.visible { animation: fadeRight 0.7s ease forwards; }
.scale-in.visible { animation: scaleIn 0.6s ease forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════
   SKELETON LOADING
   ═══════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-card) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
}
.promo-bar {
  background: var(--accent-lime); color: var(--cta-text);
  text-align: center; padding: 4px 16px;
  font-size: 0.75rem; font-weight: 500;
  position: relative; z-index: 1001;
  transition: transform 0.4s ease;
}
.promo-bar.hidden { transform: translateY(-100%); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); padding: 0 32px;
  max-width: 1440px; margin: 0 auto;
  background: var(--header-inner-bg);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.scrolled .header-inner {
  background: #00272c;
  border-bottom-color: rgba(225,255,81,0.15);
}
.site-header.scrolled .logo-text,
.site-header.scrolled .header-icon,
.site-header.scrolled .lang-selector { color: #e1ff51; }
.site-header.scrolled .lang-selector { border-color: rgba(225,255,81,0.3); }
.logo { white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; }
.logo svg { height: 40px; width: auto; display: block; direction: ltr; }
.logo-dark { display: none; }
.logo-light { display: flex; align-items: center; }
.site-header.scrolled .logo-dark,
[data-theme="dark"] .logo-dark { display: flex; align-items: center; }
.site-header.scrolled .logo-light,
[data-theme="dark"] .logo-light { display: none; }

.nav-center { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; position: relative;
  padding: 4px 0; color: var(--text-primary);
  transition: color var(--transition);
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent-lime);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--accent-lime); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-icon {
  position: relative; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.3s ease;
  color: var(--text-primary);
  font-size: 1.2rem;
}
.header-icon:hover { background: var(--accent-lime); color: var(--cta-text); }

.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--accent-lime); color: var(--cta-text);
  font-size: 0.65rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-count.bounce { animation: bounceIn 0.4s ease; }

/* ── SEARCH ── */
.search-toggle { cursor: pointer; }
.search-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,39,44,0.95);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay .search-input {
  width: 80%; max-width: 600px; padding: 20px 24px;
  font-size: 1.5rem; background: transparent;
  border: none; border-bottom: 2px solid var(--accent-lime);
  color: var(--white);
}
.search-overlay .search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-overlay .search-close {
  position: absolute; top: 30px; right: 40px;
  color: var(--white); font-size: 2rem; cursor: pointer;
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer;
  transition: transform 0.4s ease;
  color: var(--text-primary); font-size: 1.1rem;
}
.theme-toggle:hover { transform: rotate(180deg); }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ── LANGUAGE SWITCHER ── */
.lang-selector {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(225,255,81,0.08); border: 1px solid rgba(225,255,81,0.2);
  border-radius: 50px; padding: 8px 14px; color: #e1ff51; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; transition: all 0.2s;
}
.lang-selector:hover { background: rgba(225,255,81,0.15); border-color: rgba(225,255,81,0.5); }
.lang-selector .arrow { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.lang-selector.open .arrow { transform: rotate(180deg); }
.lang-selector svg { flex-shrink: 0; }

.lang-selector .lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
  background: #0d3038; border: 1px solid rgba(225,255,81,0.15);
  border-radius: 12px; overflow: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-6px); transition: all 0.2s; z-index: 999;
}
.lang-selector .lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.lang-drop-header {
  padding: 10px 14px 6px; font-size: 10px; color: rgba(184,212,200,0.6);
  letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.lang-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  cursor: pointer; color: #f0f7f5; font-size: 13px; transition: background 0.15s;
}
.lang-item:hover { background: rgba(225,255,81,0.08); }
.lang-item.active { color: #e1ff51; }
.lang-item .code { margin-left: auto; opacity: 0.5; font-size: 11px; }
.lang-item .check { opacity: 0; font-size: 13px; color: #e1ff51; }
.lang-item.active .check { opacity: 1; }

/* ── MOBILE MENU ── */
.mobile-toggle {
  display: none; width: 36px; height: 36px;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; z-index: 1100;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); transition: all 0.3s ease;
  border-radius: 2px;
}
.site-header.scrolled .mobile-toggle span { background: #e1ff51; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 320px; background: var(--bg-primary);
  z-index: 1050; padding: 100px 32px 32px;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.active { transform: translateX(0); }
[dir="rtl"] .mobile-menu { left: auto; right: 0; transform: translateX(100%); }
[dir="rtl"] .mobile-menu.active { transform: translateX(0); }
.mobile-menu .nav-link { display: block; padding: 12px 0; font-size: 1rem; }

.mobile-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5); z-index: 1049;
  opacity: 0; visibility: hidden;
  transition: all 0.4s ease;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* ── MEGA MENU ── */
.nav-item { position: relative; }
.nav-item::before {
  content: '';
  position: absolute;
  top: 100%; left: 0;
  width: 100%; height: 24px;
}
.mega-menu {
  position: absolute; top: calc(100% + 24px); left: 50%; transform: translateX(-50%);
  background: var(--bg-primary); border-radius: var(--radius);
  padding: 32px; display: flex; gap: 40px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg); min-width: 700px;
  pointer-events: none;
}
.nav-item:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; }
.mega-col { flex: 1; }
.mega-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--accent-lime); }
.mega-col a { display: block; padding: 6px 0; font-size: 0.9rem; color: var(--text-secondary); transition: color 0.3s ease; }
.mega-col a:hover { color: var(--accent-lime); }
.mega-promo { width: 200px; background: linear-gradient(135deg, var(--accent-lime), #00272c); border-radius: var(--radius-sm); padding: 24px; color: var(--cta-text); display: flex; flex-direction: column; justify-content: flex-end; }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section { margin-top: calc(var(--header-height) + 36px); position: relative; overflow: hidden; }
.hero-slider { height: 85vh; min-height: 500px; max-height: 800px; }
.hero-slide {
  display: flex; align-items: center; padding: 0 80px;
  position: relative; overflow: hidden;
}
.hero-slide-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1280px; margin: 0 auto; }
.hero-content { flex: 1; max-width: 520px; z-index: 2; }
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 20px; font-family: var(--font-display); color: var(--text-primary); }
.hero-content p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.6; }
.hero-image { flex: 1; display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hero-image img { max-height: 500px; object-fit: contain; animation: float 4s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2)); }

.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; background: var(--cta-bg); color: var(--cta-text);
  font-weight: 600; border-radius: var(--radius-full);
  font-size: 0.95rem; transition: all 0.3s ease;
  border: 2px solid transparent;
}
.hero-cta:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(225,255,81,0.4); }

.hero-blob {
  position: absolute; width: 500px; height: 500px;
  background: rgba(225,255,81,0.08);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-counter {
  position: absolute; bottom: 40px; right: 80px;
  font-family: var(--font-heading); font-size: 1.2rem;
  color: var(--text-secondary); letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 8px;
}
[dir="rtl"] .hero-counter { right: auto; left: 80px; }

/* Swiper custom arrows */
.swiper-button-next,
.swiper-button-prev {
  width: 50px; height: 50px; background: var(--bg-card);
  border-radius: 50%; box-shadow: var(--shadow);
  color: var(--text-primary); transition: all 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover { background: var(--accent-lime); color: var(--cta-text); }
.swiper-button-next::after,
.swiper-button-prev::after { font-size: 1rem; }
.swiper-pagination-bullet { background: var(--sage); opacity: 0.5; }
.swiper-pagination-bullet-active { background: var(--accent-lime); opacity: 1; width: 24px; border-radius: 4px; }

/* ═══════════════════════════════════════════
   CATEGORIES GRID
   ═══════════════════════════════════════════ */
.categories-section { padding: 100px 0; }
.btn-voir-tout { display:inline-block;padding:14px 40px;background:var(--cta-bg);color:var(--cta-text);border-radius:var(--radius-full);font-weight:700;font-size:0.9rem;text-decoration:none;transition:all 0.3s ease; }
.btn-voir-tout:hover { transform:translateY(-2px);box-shadow:var(--shadow-md); }
.categories-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; margin-top: 40px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; cursor: pointer; text-align: center;
}
.category-icon {
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary); transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 2.5rem; overflow: hidden;
}
.category-icon img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
}
.category-card:hover .category-icon {
  background: var(--accent-lime); transform: scale(1.1);
  box-shadow: 0 0 40px rgba(225,255,81,0.3);
}
.category-card span {
  font-weight: 500; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════ */
.products-section { padding: 80px 0; background: var(--bg-secondary); }
.product-slider-wrapper { position: relative; }
.product-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-card); color: var(--text-primary);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: all 0.3s ease; box-shadow: var(--shadow);
}
.product-nav:hover {
  background: var(--accent-lime); color: var(--cta-text);
  border-color: var(--accent-lime); transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(225,255,81,0.3);
}
.product-nav-prev { left: -24px; }
.product-nav-next { right: -24px; }
[dir="rtl"] .product-nav-prev { left: auto; right: -24px; }
[dir="rtl"] .product-nav-next { right: auto; left: -24px; }
@media (max-width: 768px) {
  .product-nav { width: 40px; height: 40px; }
  .product-nav-prev { left: -12px; }
  .product-nav-next { right: -12px; }
  [dir="rtl"] .product-nav-prev { left: auto; right: -12px; }
  [dir="rtl"] .product-nav-next { right: auto; left: -12px; }
}
.product-card {
  background: var(--bg-card); border-radius: var(--radius);
  overflow: hidden; transition: all 0.4s ease;
  position: relative; cursor: pointer;
  border: 1px solid var(--border);
  transform-style: preserve-3d;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card-image {
  position: relative; overflow: hidden; padding-top: 100%;
  background: var(--bg-secondary);
}
.product-card-image img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent-lime); color: var(--cta-text);
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; background: rgba(255,255,255,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease; font-size: 1rem;
  backdrop-filter: blur(4px);
}
.product-card-wishlist:hover { background: var(--accent-lime); color: var(--cta-text); }
.product-card-wishlist.active { background: var(--accent-lime); color: var(--cta-text); }
.add-wishlist-btn { width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.3rem;transition:all 0.3s ease;border:1px solid var(--border);background:var(--bg-primary);color:var(--text-primary); }
.add-wishlist-btn:hover { background: var(--accent-lime); color: var(--cta-text); border-color: var(--accent-lime); }
.add-wishlist-btn.active { background: var(--accent-lime); color: var(--cta-text); border-color: var(--accent-lime); }

.product-card-body { padding: 20px; }
.product-card-brand { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 4px; }
.product-card-name { font-weight: 600; margin-bottom: 8px; font-size: 0.95rem; line-height: 1.3; }
.product-card-rating { display: flex; gap: 2px; margin-bottom: 8px; }
.product-card-rating .star { color: var(--gold); font-size: 0.85rem; }
.product-card-rating .star.empty { color: var(--border); }
.product-card-prices { display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.product-card-price { font-weight: 600; color: var(--accent-lime); font-size: 1.1rem; }
.product-card-price-old { text-decoration: line-through; color: var(--text-secondary); font-size: 0.9rem; }
.product-card-add {
  width: 100%; padding: 12px; background: var(--cta-bg);
  color: var(--cta-text); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.85rem; transition: all 0.3s ease;
  transform: translateY(0);
}
.product-card:hover .product-card-add { transform: translateY(0); }
.product-card-add:hover { opacity: 0.9; }
.product-card-view {
  display: block; width: 100%; padding: 10px; margin-top: 8px;
  background: transparent; color: var(--accent-lime);
  border: 1px solid var(--accent-lime); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.8rem; text-align: center;
  transition: all 0.3s ease; text-decoration: none;
}
.product-card-view:hover { background: var(--accent-lime); color: var(--cta-text); }

.product-card-glow {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; border-radius: var(--radius);
  transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════
   PROMO BANNER SPLIT
   ═══════════════════════════════════════════ */
.promo-banner { display: grid; grid-template-columns: 1fr 1fr; min-height: 350px; }
.promo-block {
  padding: 60px 48px; display: flex; flex-direction: column;
  justify-content: center; position: relative; overflow: hidden;
}
.promo-block h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.promo-block p { margin-bottom: 24px; font-size: 1rem; opacity: 0.9; }
.promo-block.light { background: var(--accent-lime); color: var(--cta-text); }
.promo-block.dark { background: var(--bg-primary); color: var(--text-primary); }
.promo-block .promo-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0.1; background-size: cover; background-position: center;
}
.promo-cta {
  align-self: flex-start; padding: 12px 32px;
  border-radius: var(--radius-full); font-weight: 600;
  transition: all 0.3s ease; font-size: 0.9rem;
  border: 2px solid;
}
.promo-block.light .promo-cta { background: var(--cta-text); color: var(--accent-lime); border-color: var(--cta-text); }
.promo-block.dark .promo-cta { background: var(--accent-lime); color: var(--cta-text); border-color: var(--accent-lime); }
.promo-cta:hover { transform: scale(1.05); filter: brightness(1.1); }

/* ═══════════════════════════════════════════
   BRANDS CAROUSEL
   ═══════════════════════════════════════════ */
.brands-section { padding: 60px 0; overflow: hidden; }
.brands-track {
  display: flex; gap: 60px; animation: slideScroll 30s linear infinite;
  width: max-content; padding: 20px 0;
}
.brands-section:hover .brands-track { animation-play-state: paused; }
.brand-logo {
  height: 40px; filter: grayscale(1); opacity: 0.5;
  transition: all 0.4s ease; white-space: nowrap;
  font-weight: 600; font-size: 1.1rem; letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.brand-logo:hover { filter: grayscale(0); opacity: 1; transform: scale(1.1); color: var(--text-primary); }

/* ═══════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════ */
.features-section {
  padding: 100px 0; background: var(--bg-primary);
  color: var(--text-primary);
}
[data-theme="dark"] .features-section { background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 60px; }
.feature-card { text-align: center; }
.feature-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(225,255,81,0.1); display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2rem;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon { background: var(--accent-lime); transform: scale(1.1) rotate(8deg); }
.feature-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }

.counter-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 80px; padding-top: 60px;
  border-top: 1px solid var(--border);
}
.counter-item { text-align: center; }
.counter-number {
  font-family: var(--font-heading); font-size: 2.5rem;
  font-weight: 700; color: var(--accent-lime);
}
.counter-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; }

/* ═══════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════ */
.newsletter-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-primary), #1a3a40);
  text-align: center; position: relative; overflow: hidden;
}
[data-theme="dark"] .newsletter-section {
  background: linear-gradient(135deg, #00272c, #0d3038);
}
.newsletter-section h2 {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px; color: var(--text-primary);
}
.newsletter-section p { color: var(--text-secondary); margin-bottom: 32px; }
.newsletter-form {
  display: flex; max-width: 500px; margin: 0 auto; gap: 0;
  border-radius: var(--radius-full); overflow: hidden;
  border: 1px solid var(--border);
}
.newsletter-form input {
  flex: 1; padding: 16px 24px; border: none;
  background: var(--bg-card); color: var(--text-primary);
  font-size: 1rem;
}
.newsletter-form button {
  padding: 16px 32px; background: var(--accent-lime);
  color: var(--cta-text); font-weight: 600;
  transition: all 0.3s ease;
}
.newsletter-form button:hover { filter: brightness(0.95); }

/* confetti particles */
.confetti-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999; overflow: hidden; }
.confetti-piece {
  position: absolute; width: 10px; height: 10px;
  top: -10px; animation: confettiFall 3s ease-in forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: #00272c; color: #f0f7f5;
  padding: 60px 0 0;
  border-top: 1px solid rgba(240,247,245,0.1);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-col h4 {
  font-family: var(--font-heading); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 20px; color: var(--accent-lime);
}
.footer-col p { color: #f0f7f5; font-size: 0.9rem; line-height: 1.6; }
.footer-col a {
  display: block; padding: 6px 0; color: #f0f7f5;
  font-size: 0.9rem; transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--accent-lime); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(240,247,245,0.2); display: flex;
  align-items: center; justify-content: center;
  transition: all 0.3s ease; font-size: 1.1rem; color: #f0f7f5;
}
.footer-social a:hover { background: var(--accent-lime); color: var(--cta-text); border-color: var(--accent-lime); }
.footer-social a img { width: 20px; height: 20px; object-fit: contain; }

.footer-bottom {
  border-top: 1px solid rgba(240,247,245,0.1);
  padding: 24px 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; color: #f0f7f5; }
.footer-favicon { display: inline; height: 1em; width: auto; vertical-align: -2px; }
.footer-payments { display: flex; gap: 12px; }
.footer-payments span {
  font-size: 1.5rem; opacity: 0.6; transition: opacity 0.3s ease;
}
.footer-payments span:hover { opacity: 1; }
.footer-payments span img { height: 24px; width: auto; object-fit: contain; }

/* ── SCROLL NAV (floating up/down button) ── */
.scroll-nav {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--accent-lime); color: var(--cta-text);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(225,255,81,0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0; visibility: hidden; transform: scale(0.8);
}
.scroll-nav.visible { opacity: 1; visibility: visible; transform: scale(1); }
.scroll-nav:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(225,255,81,0.5); }
.scroll-nav-icon { width: 24px; height: 24px; transition: transform 0.4s ease; }
.scroll-nav.up .scroll-nav-icon { transform: rotate(180deg); }
[dir="rtl"] .scroll-nav { right: auto; left: 32px; }
@media (max-width: 768px) {
  .scroll-nav { width: 44px; height: 44px; bottom: 20px; right: 20px; }
  .scroll-nav-icon { width: 20px; height: 20px; }
  [dir="rtl"] .scroll-nav { right: auto; left: 20px; }
}

/* ═══════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════ */
.page-header {
  padding: calc(var(--header-height) + 36px) 0 40px;
  background: var(--bg-secondary); text-align: center;
}
.page-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 40px 24px; max-width: 1280px; margin: 0 auto; }

.sidebar {
  position: sticky; top: calc(var(--header-height) + 80px); height: fit-content;
}
.sidebar-section { margin-bottom: 32px; }
.sidebar-section h3 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.sidebar-section label { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 0.9rem; color: var(--text-secondary); }
.sidebar-section input[type="checkbox"],
.sidebar-section input[type="radio"] { accent-color: var(--accent-lime); }

.shop-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.shop-results { font-size: 0.9rem; color: var(--text-secondary); }
.shop-sort { padding: 10px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-primary); font-size: 0.9rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ═══════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: calc(var(--header-height) + 60px) 24px 60px; max-width: 1280px; margin: 0 auto; }
.product-gallery { position: sticky; top: calc(var(--header-height) + 40px); }
.product-main-image {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); background: var(--bg-secondary);
}
.product-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.product-thumb {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  object-fit: cover; cursor: pointer; border: 2px solid transparent;
  transition: border 0.3s ease;
}
.product-thumb.active { border-color: var(--accent-lime); }

.product-info h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 8px; }
.product-info .brand { color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; margin-bottom: 16px; display: block; }
.product-info .rating { display: flex; gap: 4px; margin-bottom: 16px; }
.product-info .rating .star { color: var(--gold); }
.product-info .price { font-size: 1.8rem; font-weight: 700; color: var(--accent-lime); margin-bottom: 24px; }
.product-info .price-old { font-size: 1.1rem; color: var(--text-secondary); text-decoration: line-through; margin-left: 12px; }
.product-info .description { color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }

.product-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-selector button {
  width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
  color: var(--text-primary); transition: background 0.3s ease;
}
.qty-selector button:hover { background: var(--accent-lime); color: var(--cta-text); }
.qty-selector input {
  width: 60px; text-align: center; border: none;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  height: 44px; background: var(--bg-card); color: var(--text-primary);
  font-weight: 600;
}

.product-tabs { margin-top: 60px; border-top: 1px solid var(--border); padding-top: 40px; }
.tab-nav { display: flex; gap: 32px; margin-bottom: 32px; }
.tab-btn {
  font-size: 0.9rem; font-weight: 500; padding-bottom: 8px;
  color: var(--text-secondary); border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.tab-btn.active { color: var(--accent-lime); border-color: var(--accent-lime); }
.tab-panel { display: none; color: var(--text-secondary); line-height: 1.7; }
.tab-panel.active { display: block; }

/* ═══════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════ */
.cart-page { padding: calc(var(--header-height) + 60px) 24px 60px; max-width: 1280px; margin: 0 auto; }
.cart-page h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 40px; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; padding: 20px; background: var(--bg-card);
  border-radius: var(--radius); border: 1px solid var(--border);
  align-items: center;
}
.cart-item-image { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-info h3 { font-size: 1rem; margin-bottom: 4px; }
.cart-item-info .cart-item-brand { font-size: 0.8rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.cart-item-info .cart-item-price { font-weight: 600; color: var(--accent-lime); margin-top: 4px; }
.cart-item-actions { display: flex; align-items: center; gap: 16px; }
.cart-item-remove { color: var(--text-secondary); font-size: 0.85rem; transition: color 0.3s ease; cursor: pointer; }
.cart-item-remove:hover { color: #ff4444; }

.cart-summary {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--border); height: fit-content;
  position: sticky; top: calc(var(--header-height) + 40px);
}
.cart-summary h2 { font-size: 1.2rem; margin-bottom: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; font-size: 0.95rem; }
.summary-row.total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-weight: 700; font-size: 1.1rem; }
.checkout-btn {
  width: 100%; padding: 16px; margin-top: 24px;
  background: var(--cta-bg); color: var(--cta-text);
  border-radius: var(--radius-sm); font-weight: 700;
  font-size: 1rem; transition: all 0.3s ease;
}
.checkout-btn:hover { filter: brightness(0.95); }
.promo-input { display: flex; gap: 8px; margin-top: 16px; }
.promo-input input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); }
.promo-input button { padding: 10px 16px; background: var(--accent-lime); color: var(--cta-text); border-radius: var(--radius-sm); font-weight: 600; }

.cart-empty { text-align: center; padding: 80px 0; }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { color: var(--text-secondary); margin-bottom: 24px; }

/* ═══════════════════════════════════════════
   CHECKOUT PAGE
   ═══════════════════════════════════════════ */
.checkout-page { padding: calc(var(--header-height) + 60px) 24px 60px; max-width: 1000px; margin: 0 auto; }
.checkout-page h1 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 40px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-primary); }
.form-group input, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--bg-card);
  color: var(--text-primary); font-size: 0.95rem; transition: border 0.3s ease;
}
.form-group input:focus { border-color: var(--accent-lime); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: border 0.3s ease;
}
.payment-option:hover,
.payment-option.selected { border-color: var(--accent-lime); background: rgba(225,255,81,0.05); }
.payment-option input[type="radio"] { accent-color: var(--accent-lime); }

/* ═══════════════════════════════════════════
   ACCOUNT PAGE
   ═══════════════════════════════════════════ */
.account-page { padding: calc(var(--header-height) + 60px) 24px 60px; max-width: 1000px; margin: 0 auto; }
.account-user-header { display:flex; align-items:center; justify-content:space-between; background:var(--bg-secondary); padding:20px 24px; border-radius:var(--radius); margin-bottom:28px; }
.account-tabs { display: flex; gap: 4px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.account-tab {
  padding: 12px 24px; font-weight: 500; font-size: 0.9rem;
  color: var(--text-secondary); border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}
.account-tab.active { color: var(--accent-lime); border-color: var(--accent-lime); }
.account-panel { display: none; }
.account-panel.active { display: block; }

.auth-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 800px; margin: 0 auto; }
.auth-form { padding: 32px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.auth-form h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 24px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-group input { width: 100%; }
.password-wrapper { display:flex; align-items:center; position:relative; }
.password-wrapper input { padding-right:44px !important; }
.password-toggle {
  position:absolute; right:4px; top:50%; transform:translateY(-50%);
  background:none; border:none; color:var(--text-secondary); cursor:pointer;
  padding:8px; display:flex; align-items:center; justify-content:center;
  transition:color 0.2s; line-height:1;
}
.password-toggle:hover { color:var(--accent-lime); }
.password-toggle.visible { color:var(--accent-lime); }
.auth-form button[type="submit"] {
  width: 100%; padding: 14px; background: var(--cta-bg); color: var(--cta-text);
  border-radius: var(--radius-sm); font-weight: 600; margin-top: 8px;
  transition: all 0.3s ease;
}
.auth-form button[type="submit"]:hover { filter: brightness(0.95); }

/* Order history */
.order-card {
  padding: 20px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 16px;
}
.order-header { display: flex; justify-content: space-between; margin-bottom: 12px; }
.order-id { font-weight: 600; }
.order-date { color: var(--text-secondary); font-size: 0.85rem; }
.order-status { display: inline-flex; padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; background: rgba(225,255,81,0.2); color: var(--accent-lime); }

/* ── TOAST ── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
[dir="rtl"] .toast-container { right: auto; left: 24px; }
.toast {
  padding: 16px 24px; background: var(--bg-card); color: var(--text-primary);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
  animation: slideInRight 0.4s ease; font-size: 0.9rem;
  border-left: 3px solid var(--accent-lime);
}
@keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ═══════════════════════════════════════════
   RTL SUPPORT
   ═══════════════════════════════════════════ */
[dir="rtl"] .swiper-button-next { right: auto; left: 10px; }
[dir="rtl"] .swiper-button-prev { left: auto; right: 10px; }
[dir="rtl"] .newsletter-form { flex-direction: row-reverse; }
[dir="rtl"] .product-card-badge { left: auto; right: 12px; }
[dir="rtl"] .product-card-wishlist { right: auto; left: 12px; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .promo-block { text-align: right; }
[dir="rtl"] .promo-cta { align-self: flex-end; }
[dir="rtl"] .footer-grid { direction: ltr; }
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-col p { direction: rtl; text-align: right; }
[dir="rtl"] .footer-credit { direction: ltr; text-align: right; }
[dir="rtl"] .footer-col:first-child { text-align: left; }
[dir="rtl"] .footer-col:first-child p { direction: rtl; text-align: right; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .header-actions { flex-direction: row-reverse; }
[dir="rtl"] .nav-item::before { left: auto; right: 0; }
[dir="rtl"] .mega-col { text-align: right; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-center { display: none; }
  .mobile-toggle { display: flex; }
  .mobile-menu { display: block; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .auth-forms { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .mobile-filters { display: block; }
  .hero-slide { padding: 0 40px; }
}

/* ── MOBILE (max-width: 768px) ── */
@media (max-width: 768px) {
  /* HEADER */
  .site-header,
  .header-inner    { height: var(--header-height-mobile); }
  .header-inner    { padding: 0 12px; }
  .logo            { font-size: 1rem; }
  .logo svg        { height: 28px; }
  .header-actions  { gap: 6px; }
  .header-icon     { width: 32px; height: 32px; }

  /* HERO */
  .hero-section    { margin-top: calc(var(--header-height-mobile) + 80px); }
  .hero-slider     { height: 70vh; overflow: visible; }
  .hero-slide      { padding: 100px 24px 40px; overflow: visible; }
  .hero-slide-inner{
    flex-direction: column;
    text-align: center;
    gap: 20px;
    position: relative;
    z-index: 1;
  }
  .hero-content    { max-width: 100%; position: relative; z-index: 2; }
  .hero-content h1 { font-size: clamp(1.6rem, 5vw, 2rem); }
  .hero-image img  { max-height: 200px; }
  .hero-counter    { display: none; }

  /* LAYOUT */
  .promo-banner    { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid   { grid-template-columns: 1fr; }
  .counter-grid    { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col:first-child { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .shop-grid       { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cart-item       { grid-template-columns: 80px 1fr; }
  .cart-item-actions { grid-column: span 2; }
}

/* ── PETITS MOBILES (max-width: 480px) ── */
@media (max-width: 480px) {
  .header-actions .header-icon:nth-child(3),
  .header-actions .header-icon:nth-child(4) { display: none; }
  .hero-slider     { height: auto; min-height: 60vh; }
  .hero-content h1 { font-size: 1.8rem; }
  .shop-grid       { grid-template-columns: 1fr; }
  .counter-grid    { grid-template-columns: 1fr 1fr; gap: 16px; }
  .counter-number  { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════
   AD ZONES — Publicité
   ═══════════════════════════════════════════ */
.ad-zone { min-height: 90px; background: var(--bg-secondary); border-radius: var(--radius-sm); overflow: hidden; margin: 16px 0; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.ad-zone--leaderboard { min-height: 90px; max-width: 728px; margin: 20px auto; }
.ad-zone--sidebar { min-height: 250px; width: 100%; max-width: 300px; margin: 0 auto; }
.ad-zone--in-feed { min-height: 90px; margin: 20px 0; }
.ad-zone--sticky-bottom { display: none; }
@media (max-width: 768px) {
  .ad-zone--sticky-bottom { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; min-height: 50px; margin: 0; border-radius: 0; }
  .ad-zone--sidebar { display: none; }
}
.ad-label { font-size: 10px; color: var(--text-secondary); text-align: center; padding: 4px 8px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ═══════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════ */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .promo-bar, .scroll-nav, .ad-zone, .mobile-nav, .header-actions,
  .newsletter-section, .features-section, .brands-section, .hero-slider, .testimonials-section,
  .counters-section, .auth-overlay, #consent-banner, .product-card-add, .product-card-wishlist,
  .add-wishlist-btn, .password-toggle, .cart-item-qty button, .checkout-btn { display: none !important; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-card { break-inside: avoid; page-break-inside: avoid; border: 1px solid #ddd; box-shadow: none; }
  .product-card-image img { max-height: 200px; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  .container { max-width: 100%; padding: 0 10mm; }
  .account-page, .cart-page, .checkout-page, .shop-page, .product-page { padding-top: 10mm; }
}
