/* ================================================================
   GCHICKS MARKET — Design Système Moderne | Spécial Korité 2026
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ────────────────────────────────────────────────── */
:root {
  --rouge:       #C62828;
  --rouge-dark:  #B71C1C;
  --rouge-pale:  #FFEBEE;
  --gold:        #F59E0B;
  --gold-dark:   #D97706;
  --dark:        #111827;
  --gray:        #6B7280;
  --gray-light:  #F9FAFB;
  --border:      #E5E7EB;
  --white:       #FFFFFF;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 28px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 40px rgba(0,0,0,0.16);

  --radius:      12px;
  --radius-sm:   8px;
  --radius-full: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
}

/* ── Reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--gray-light);
  color: var(--dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── Annonce Bar (Korité) ─────────────────────────────────────── */
.annonce-bar {
  background: linear-gradient(90deg, #7B1FA2, var(--rouge-dark) 40%, #7B1FA2);
  background-size: 200% 100%;
  animation: moveGrad 5s linear infinite;
  color: white;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.annonce-bar strong { color: #FCD34D; }
.annonce-bar a { color: #FCD34D; text-decoration: underline; }
@keyframes moveGrad {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ── Sticky Header Wrapper ────────────────────────────────────── */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.sticky-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.14); }

/* ── Site Header ──────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.site-logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--rouge);
  transition: transform 0.3s;
}
.site-logo:hover img { transform: rotate(-5deg) scale(1.05); }
.site-logo span {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--rouge);
  letter-spacing: -0.5px;
}

/* Barre de recherche header */
.header-search {
  flex: 1;
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
.header-search input {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  color: var(--dark);
}
.header-search input:focus { border-color: var(--rouge); }
.header-search input::placeholder { color: #9CA3AF; }
.header-search button {
  background: var(--rouge);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--rouge-dark); }

/* Actions header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.header-phone i { font-size: 1.3rem; color: var(--rouge); }
.header-phone small { display: block; font-size: 0.68rem; color: var(--gray); }
.header-phone strong { display: block; font-size: 0.85rem; color: var(--dark); font-weight: 700; }
.header-icon-btn {
  position: relative;
  color: var(--dark);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.header-icon-btn:hover { background: var(--rouge-pale); color: var(--rouge); }
.cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--rouge);
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid white;
}
.mobile-toggle {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--dark);
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* ── Main Nav ─────────────────────────────────────────────────── */
.main-nav {
  background: var(--rouge);
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 0;
}
.nav-list a {
  display: block;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 14px 20px;
  position: relative;
  transition: color 0.2s;
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: white;
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover,
.nav-list a.active { color: white; }
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-list .promo-link a { color: #FCD34D; font-weight: 600; }
.nav-list .promo-link a::after { background: #FCD34D; }
.nav-info-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
}

/* ── Mobile Menu ──────────────────────────────────────────────── */
.mobile-menu {
  background: var(--rouge-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s var(--ease);
}
.mobile-menu.open { max-height: 520px; }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.15s;
}
.mobile-menu a:hover { background: rgba(0,0,0,0.12); color: white; }
.mobile-menu a i { font-size: 1.1rem; opacity: 0.85; width: 20px; }
.mobile-menu .mob-info {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Hero Principal (Accueil) ─────────────────────────────────── */
.hero-main {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  background:
    linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.50)),
    url('https://images.unsplash.com/photo-1567620832903-9fc6debc209f?auto=format&fit=crop&w=1800&q=80')
    center/cover no-repeat;
}
.hero-main .container { padding-top: 40px; padding-bottom: 40px; }
.hero-korité-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(245,158,11,0.5);
  animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 4px 16px rgba(245,158,11,0.5); }
  50%       { box-shadow: 0 6px 24px rgba(245,158,11,0.75); }
}
.hero-main h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-main h1 .accent { color: var(--gold); }
.hero-main .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 auto 34px;
  font-weight: 300;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rouge);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 22px rgba(198,40,40,0.45);
}
.btn-hero-primary:hover {
  background: var(--rouge-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(198,40,40,0.55);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.65);
  cursor: pointer;
  transition: var(--transition);
}
.btn-hero-outline:hover {
  background: white;
  color: var(--rouge);
  border-color: white;
  transform: translateY(-3px);
}
.hero-trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 50px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.11);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-badge i { color: var(--gold); font-size: 1.05rem; }

/* ── Hero Intérieur (sous-pages) ──────────────────────────────── */
.hero-inner {
  background:
    linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.55)),
    url('https://images.unsplash.com/photo-1598103442097-8b74394b95c3?auto=format&fit=crop&w=1600&q=80')
    center/cover no-repeat;
  color: white;
  padding: 80px 0 70px;
  text-align: center;
}
.hero-inner h1 {
  font-weight: 800;
  font-size: 2.4rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-inner p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  margin: 0;
}

/* ── Utilitaires Sections ─────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: var(--rouge-pale);
  color: var(--rouge);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-badge.gold-badge { background: #FEF3C7; color: var(--gold-dark); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-title .accent { color: var(--rouge); }
.section-title .gold   { color: var(--gold-dark); }
.section-sub {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Section Korité ───────────────────────────────────────────── */
.korité-section {
  background: linear-gradient(135deg, #FFFBEB, #FFF8E1 40%, #FFF3E0 70%, #FBE9E7);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.korité-section::before {
  content: '🌙';
  position: absolute;
  font-size: 14rem;
  top: -50px;
  right: -60px;
  opacity: 0.05;
  pointer-events: none;
}
.korité-countdown {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.countdown-box {
  background: white;
  border: 2px solid var(--gold);
  color: var(--dark);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 4px 12px rgba(245,158,11,0.15);
}
.countdown-box .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--rouge);
  line-height: 1;
  display: block;
}
.countdown-box .lbl {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  display: block;
}
.korité-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
  height: 100%;
}
.korité-card:hover {
  border-color: var(--gold);
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
}
.korité-card .disc-circle {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--rouge);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(198,40,40,0.4);
}
.korité-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.korité-card:hover img { transform: scale(1.06); }
.korité-card .k-body { padding: 18px; }
.korité-card h5 { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.korité-card .old-p { text-decoration: line-through; color: var(--gray); font-size: 0.82rem; }
.korité-card .new-p { color: var(--rouge); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }

/* ── Category Cards ───────────────────────────────────────────── */
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.cat-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.cat-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 36px 20px 20px;
  color: white;
}
.cat-overlay h5 { font-weight: 700; font-size: 1.1rem; margin: 0 0 4px; }
.cat-overlay span { font-size: 0.8rem; opacity: 0.8; }

/* ── Product Cards ────────────────────────────────────────────── */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-7px);
  border-color: #FECACA;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.product-card:hover img { transform: scale(1.05); }
.p-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
  display: block;
  transition: color 0.2s;
}
.p-name:hover { color: var(--rouge); }
.p-price {
  font-weight: 800;
  color: var(--rouge);
  font-size: 1.1rem;
  margin-bottom: 14px;
  margin-top: 4px;
}
.p-price .p-unit { font-weight: 400; font-size: 0.8rem; color: var(--gray); }
.btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--rouge);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  margin-top: auto;
}
.btn-add:hover { background: var(--rouge-dark); color: white; }

/* ── Why Us Cards ─────────────────────────────────────────────── */
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--gray-light);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.why-icon {
  width: 72px;
  height: 72px;
  background: var(--rouge-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.9rem;
  color: var(--rouge);
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--rouge); color: white; }
.why-card h5 { font-weight: 700; margin-bottom: 8px; font-size: 1rem; }
.why-card p { color: var(--gray); font-size: 0.88rem; line-height: 1.75; margin: 0; }

/* ── Boutons généraux ─────────────────────────────────────────── */
.btn-rouge {
  background: var(--rouge);
  color: white;
  border: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: inherit;
  cursor: pointer;
}
.btn-rouge:hover, .btn-rouge:focus { background: var(--rouge-dark); color: white; }
.btn-outline-rouge {
  background: transparent;
  color: var(--rouge);
  border: 2px solid var(--rouge);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: inherit;
  cursor: pointer;
}
.btn-outline-rouge:hover { background: var(--rouge); color: white; }
.btn-gold {
  background: var(--gold);
  color: white;
  border: none;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  font-family: inherit;
  cursor: pointer;
}
.btn-gold:hover { background: var(--gold-dark); color: white; }

/* ── Promo Tag ────────────────────────────────────────────────── */
.promo-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--rouge);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 13px;
  border-radius: var(--radius-full);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(198,40,40,0.4);
}

/* ── Filtre Sidebar ───────────────────────────────────────────── */
.filter-box {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 130px;
}
.filter-box h5 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rouge-pale);
}
.filter-box label {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 6px;
  display: block;
}
.filter-box .form-control,
.filter-box .form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.88rem;
  padding: 9px 14px;
}
.filter-box .form-control:focus,
.filter-box .form-select:focus {
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.07);
  outline: none;
}
.filter-price-val { color: var(--rouge); font-weight: 700; font-size: 0.88rem; margin-top: 4px; }
.price-range { width: 100%; accent-color: var(--rouge); }

/* ── Panier ───────────────────────────────────────────────────── */
.cart-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-table thead { background: var(--rouge); color: white; }
.cart-table thead th { padding: 14px 16px; font-weight: 600; font-size: 0.88rem; border: none; }
.cart-table tbody tr { background: white; transition: background 0.15s; }
.cart-table tbody tr:hover { background: #FEF2F2; }
.cart-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 0.9rem; }
.cart-table tbody tr:last-child td { border-bottom: none; }
.btn-remove {
  background: var(--rouge-pale);
  color: var(--rouge);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}
.btn-remove:hover { background: var(--rouge); color: white; }
.cart-summary-box {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 130px;
}
.cart-summary-box h4 {
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-light);
}
.summary-line { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: var(--gray); }
.summary-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; color: var(--rouge); }
.btn-checkout-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--rouge);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-checkout-now:hover {
  background: var(--rouge-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(198,40,40,0.35);
}

/* ── Contact Cards ────────────────────────────────────────────── */
.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border-top: 4px solid var(--rouge);
}
.contact-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); }
.contact-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--rouge-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--rouge);
  transition: var(--transition);
}
.contact-card:hover .contact-icon-wrap { background: var(--rouge); color: white; }
.contact-card h5 { font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--gray); font-size: 0.88rem; margin: 0; line-height: 1.75; }

/* ── Détail Produit ───────────────────────────────────────────── */
.detail-img {
  border-radius: var(--radius);
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.breadcrumb-item a { color: var(--rouge); }
.detail-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--rouge);
}
.qty-input {
  max-width: 110px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 8px;
}
.qty-input:focus { border-color: var(--rouge); outline: none; }

/* ── Checkout ─────────────────────────────────────────────────── */
.checkout-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.checkout-card h4 {
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gray-light);
}
.checkout-card .form-label { font-weight: 500; font-size: 0.85rem; color: var(--gray); }
.checkout-card .form-control,
.checkout-card .form-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  padding: 10px 16px;
}
.checkout-card .form-control:focus,
.checkout-card .form-select:focus {
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.08);
  outline: none;
}
.order-recap {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 130px;
}
.order-recap h5 {
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-light);
}
.order-line { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; }
.order-line.total { font-weight: 800; color: var(--rouge); font-size: 1.05rem; }
.paiement-info {
  background: #F0FDF4;
  border: 2px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.88rem;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--rouge);
  color: white;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-confirm:hover { background: var(--rouge-dark); color: white; transform: translateY(-2px); }

/* ── Confirmation ─────────────────────────────────────────────── */
.confirm-wrapper {
  max-width: 620px;
  margin: 60px auto;
}
.confirm-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.confirm-icon {
  width: 82px;
  height: 82px;
  background: #D1FAE5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: #059669;
}
.confirm-order-box {
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer-top {
  background: #111827;
  padding: 64px 0 48px;
  color: rgba(255,255,255,0.7);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img {
  height: 46px;
  width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rouge);
}
.footer-brand span { font-size: 1.3rem; font-weight: 800; color: white; }
.footer-top p { font-size: 0.87rem; line-height: 1.8; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--rouge); color: white; transform: translateY(-2px); }
.footer-col h5 {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--rouge);
  border-radius: 2px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.58);
  font-size: 0.85rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a::before { content: '›'; color: var(--rouge); font-weight: bold; }
.footer-col ul li a:hover { color: white; padding-left: 6px; }
.footer-info-list { display: flex; flex-direction: column; gap: 12px; }
.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.62);
}
.footer-info-item i { color: var(--rouge); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  background: #0B0F19;
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.32); }

/* ── Suggestions de recherche dynamiques ─────────────────────── */
.search-wrapper {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.search-wrapper .header-search {
  flex: 1;
  max-width: 100%;
  margin: 0;
}
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--border);
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.search-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.search-suggestion-item:last-of-type { border-bottom: none; }
.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: var(--rouge-pale);
}
.suggestion-icon {
  font-size: 1.1rem;
  color: var(--rouge);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.suggestion-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.suggestion-nom {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}
.suggestion-nom mark {
  background: #FEF3C7;
  color: var(--gold-dark);
  border-radius: 3px;
  padding: 0 2px;
}
.suggestion-prix {
  font-size: 0.75rem;
  color: var(--gray);
}
.suggestion-arrow {
  font-size: 0.85rem;
  color: var(--gray);
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s;
}
.search-suggestion-item:hover .suggestion-arrow,
.search-suggestion-item.active .suggestion-arrow {
  opacity: 1;
  transform: translateX(3px);
  color: var(--rouge);
}
.search-voir-tous {
  padding: 10px 16px;
  font-size: 0.82rem;
  color: var(--rouge);
  font-weight: 600;
  cursor: pointer;
  background: var(--gray-light);
  text-align: center;
  transition: background 0.15s;
}
.search-voir-tous:hover { background: var(--rouge-pale); }
.search-voir-tous i { margin-right: 6px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 991px) {
  .mobile-toggle   { display: block; }
  .header-search   { display: none !important; }
  .header-phone    { display: none !important; }
  .main-nav        { display: none !important; }
  .hero-main       { min-height: 85svh; }
}
@media (max-width: 767px) {
  .hero-main h1    { font-size: 1.9rem; }
  .hero-inner h1   { font-size: 1.8rem; }
  .hero-trust      { gap: 10px; }
  .trust-badge     { font-size: 0.78rem; padding: 8px 14px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .korité-countdown { gap: 10px; }
  .checkout-card   { padding: 22px; }
  .confirm-card    { padding: 32px 22px; }
}

/* ── Bouton WhatsApp commande directe ────────────────────────── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,211,102,0.35);
  color: white;
}
.btn-wa.w-100 { width: 100%; }

/* ── Input quantité compact ──────────────────────────────────── */
.qty-inline {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: var(--transition);
}
.qty-inline:focus { border-color: #25D366; }

/* ── Page commande groupée ───────────────────────────────────── */
.commande-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
}
.commande-produit-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.commande-produit-row:last-child { border-bottom: none; }
.commande-produit-row img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.commande-produit-info h6 { margin: 0; font-size: 0.9rem; font-weight: 600; }
.commande-produit-info small { color: var(--gray); font-size: 0.78rem; }
.commande-produit-prix { font-weight: 700; color: var(--rouge); font-size: 0.9rem; min-width: 110px; text-align: right; }

.commande-summary {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
}
.commande-summary-line { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.commande-summary-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; padding-top: 10px; border-top: 2px solid var(--border); margin-top: 8px; }

.btn-commande-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  margin-top: 16px;
}
.btn-commande-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
@media (max-width: 575px) {
  .commande-produit-row { grid-template-columns: auto 1fr; }
  .commande-produit-row .commande-produit-prix { grid-column: 2; }
}
