/* ===== CSS VARIABLES ===== */
:root {
  --primary: #C0541A;
  --primary-dark: #9c4214;
  --primary-light: #fdf0e8;
  --secondary: #5A8A3C;
  --secondary-dark: #467030;
  --accent: #F0A500;
  --text: #2d3748;
  --text-light: #718096;
  --bg: #f7fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 0px;
  --radius-lg: 0px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
html { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== HEADER ===== */
.header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-top { background: var(--primary); color: #fff; padding: 6px 0; font-size: 13px; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-main { padding: 14px 0; }
.header-main .container { display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 180px; }
.logo img { height: 48px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .site-name { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.logo-text .site-tagline { font-size: 11px; color: var(--text-light); }
.search-bar { flex: 1; display: flex; gap: 0; max-width: 500px; }
.search-bar input { flex: 1; padding: 10px 16px; border: 2px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; outline: none; }
.search-bar input:focus { border-color: var(--primary); }
.search-bar button { background: var(--primary); color: #fff; border: none; padding: 10px 20px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; font-size: 16px; transition: var(--transition); }
.search-bar button:hover { background: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.cart-btn { position: relative; background: transparent; color: var(--primary); border: none; padding: 8px 10px; border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; transition: var(--transition); }
.cart-btn:hover { background: var(--primary-light); }
.cart-count { background: var(--accent); color: #fff; border-radius: 0; width: 20px; height: 20px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ===== NAV DROPDOWN (Our Services) ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  cursor: pointer; user-select: none;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active-parent { color: #fff; background: var(--primary-dark) !important; }
.nav-arrow {
  font-size: 11px; transition: transform 0.2s;
  display: inline-block;
}
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border);
  min-width: 210px; z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-top: 3px solid var(--primary);
  animation: dropFadeIn 0.15s ease;
}
@keyframes dropFadeIn {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  font-size: 14px; color: var(--text) !important;
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  padding-left: 22px;
  transition: padding-left 0.15s, background 0.15s;
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static; box-shadow: none;
    border: none; border-top: none;
    background: rgba(0,0,0,0.04);
    display: none; border-radius: 0;
    animation: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a {
    padding: 12px 32px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    border-bottom: 1px solid var(--border) !important;
    background: none !important;
  }
  .nav-dropdown-menu a:hover {
    color: var(--primary) !important;
    background: var(--primary-light) !important;
    padding-left: 36px !important;
  }
  .nav-dropdown-toggle {
    padding: 15px 20px !important;
    border-bottom: 1px solid var(--border);
    width: 100%; justify-content: space-between;
    font-size: 15px; font-weight: 600;
    color: var(--text) !important;
    background: none !important;
  }
}

/* ===== NAV ===== */
.nav { background: var(--primary); position: relative; }
.nav .container { display: flex; justify-content: center; align-items: center; }
.nav-links { display: flex; flex-direction: row; align-items: center; gap: 0; }
.nav-links a { color: #fff; padding: 13px 22px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: var(--primary-dark); }
.nav .dropdown { position: relative; }
.nav .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); min-width: 200px; z-index: 50; }
.nav .dropdown:hover .dropdown-menu { display: block; }
.nav .dropdown-menu a { color: var(--text); padding: 10px 16px; display: block; }
.nav .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

/* Hamburger — masqué en desktop */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 13px 16px; flex-direction: column; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 0; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer header — masqué en desktop */
.drawer-header { display: none; }

/* Overlay — masqué en desktop */
.nav-overlay { display: none; }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav .container { justify-content: flex-end; }

  /* Drawer à GAUCHE */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100dvh;
    background: #fff;
    z-index: 400;
    box-shadow: 6px 0 28px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    padding: 0;
  }
  .nav-links.open { transform: translateX(0); }

  /* Overlay — couvre tout SAUF la zone du drawer (260px à gauche) */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 260px;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 399;
    cursor: pointer;
  }
  .nav-overlay.open { display: block; }

  /* Header du drawer */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
  }
  .drawer-close { background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; line-height: 1; padding: 0; }

  /* Liens dans le drawer */
  .nav-links a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 15px;
    color: var(--text);
    background: none;
    justify-content: flex-start;
  }
  .nav-links a:hover, .nav-links a.active { background: var(--primary-light); color: var(--primary); }

  /* Sous-menu catégories mobile */
  .nav .dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: #f0f4f8; display: none; min-width: 100%; }
  .nav .dropdown.open .dropdown-menu { display: block; }
  .nav .dropdown-menu a { color: var(--text-light); padding: 12px 36px; border-bottom: 1px solid var(--border); font-size: 14px; }
  .nav .dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }
  .nav .dropdown > a { width: 100%; justify-content: space-between; color: var(--text); }
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #0a1628;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 6s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding: 80px 0 80px 60px;
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 16px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 17px;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 460px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,102,204,0.4);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,102,204,0.5); }

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px);
}

.btn-outline:hover { background: rgba(255,255,255,0.22); border-color: #fff; transform: translateY(-2px); }

/* Slider controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.08); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.5);
}

.dot.active, .dot:hover {
  background: #fff;
  transform: scale(1.25);
  border-color: #fff;
}

/* ===== INFO TEXT SECTION ===== */
.info-text-section {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.info-text-inner {
  max-width: 900px;
}
.info-text-inner h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.info-text-inner p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* ===== SECTIONS ===== */
.section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-header h2 { font-size: 28px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 15px; }
.section-header .line { width: 50px; height: 3px; background: var(--primary); margin: 12px auto 0; border-radius: 0; }

/* ===== CATEGORIES ===== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.cat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 12px; text-align: center; cursor: pointer; transition: var(--transition); }
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--primary); }
.cat-card h3 { font-size: 13px; font-weight: 600; color: var(--text); }
.cat-card span { font-size: 11px; color: var(--text-light); }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--primary); }

/* Image zone */
.product-img {
  height: 220px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }

/* Badges */
.badge-rx { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 0; }
.badge-sale { position: absolute; top: 10px; left: 10px; background: #e53e3e; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 0; }
.badge-rx + .badge-sale, .badge-sale { top: 10px; }

/* Action buttons — colonne droite au hover */
.product-actions {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease, right 0.25s ease;
  z-index: 5;
}
.product-card:hover .product-actions { opacity: 1; right: 10px; }

.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
  color: var(--text);
}
.product-action-btn:hover { background: var(--primary); color: #fff; transform: scale(1.1); }
.product-action-btn svg { width: 16px; height: 16px; }

/* Info zone — nom + prix uniquement */
.product-info { padding: 12px 14px; }
.product-name { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.3; color: var(--text); }
.product-price { display: flex; align-items: center; gap: 8px; }
.price-current { font-size: 16px; font-weight: 700; color: var(--primary); }
.price-old { font-size: 12px; color: var(--text-light); text-decoration: line-through; }

/* Champs cachés en vitrine */
.product-category,
.product-brand,
.product-package,
.product-stock { display: none; }

/* Bouton panier — mobile uniquement */
.add-to-cart {
  display: none;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.add-to-cart:hover { background: var(--primary-dark); }
.add-to-cart:disabled { background: var(--border); color: var(--text-light); cursor: not-allowed; }

@media (max-width: 768px) {
  .add-to-cart { display: flex; }
  .product-actions { display: none; }
  .product-img { height: 180px; }
}

/* ===== WORLD FAMILIES SECTION ===== */
.world-section {
  background: #fff;
  padding: 64px 0 72px;
}
.world-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.world-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a3c4e;
  margin-bottom: 6px;
}
.world-sub {
  font-size: 26px;
  font-weight: 700;
  color: #1a3c4e;
  margin-bottom: 18px;
}
.world-sub em {
  font-style: italic;
  color: var(--secondary);
}
.world-desc {
  font-size: 14px;
  color: #5a7080;
  line-height: 1.75;
  margin: 0;
}

/* Map + regions container */
.world-map-container {
  position: relative;
}
.world-map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.6;
}
.world-map-bg svg {
  width: 100%;
  height: 100%;
}

.world-regions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.world-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.world-region h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a3c4e;
  margin-bottom: 8px;
}
.world-region p {
  font-size: 12.5px;
  color: #2a6496;
  line-height: 1.8;
  margin: 0;
}
.world-region p::before { content: none; }
.world-region p a {
  color: #2a6496;
  text-decoration: none;
  transition: color 0.15s;
}
.world-region p a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Each country word looks like a link */
.world-region p { background: none; }

@media (max-width: 700px) {
  .world-regions { grid-template-columns: 1fr; gap: 0; }
  .world-sub { font-size: 20px; }
  .world-header h2 { font-size: 22px; }
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: #fff;
  padding: 40px 0 48px;
}
.stats-box {
  background: #dde5ea;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  padding: 40px 32px;
  gap: 0;
}
.stats-divider {
  width: 1px;
  height: 100px;
  background: #b5c5cf;
  justify-self: center;
}
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  gap: 2px;
}
.stats-over {
  font-size: 14px;
  color: #4a6070;
  font-weight: 400;
  margin-bottom: 2px;
}
.stats-number {
  font-size: 52px;
  font-weight: 700;
  font-style: italic;
  color: var(--secondary);
  line-height: 1.1;
  letter-spacing: -1px;
}
.stats-label {
  font-size: 15px;
  color: #4a6070;
  font-weight: 400;
  margin-bottom: 12px;
}
.stats-desc {
  font-size: 13px;
  color: #5a7080;
  line-height: 1.6;
  margin: 0;
  max-width: 240px;
}

@media (max-width: 700px) {
  .stats-box {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }
  .stats-divider {
    width: 80px;
    height: 1px;
    justify-self: center;
  }
  .stats-number { font-size: 42px; }
}

/* ===== JOURNEY TIMELINE ===== */
.journey-section {
  background: #fff;
  padding: 72px 0 80px;
}
.journey-header {
  text-align: center;
  margin-bottom: 56px;
}
.journey-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a3c4e;
  line-height: 1.35;
  margin-bottom: 8px;
}
.journey-header h2 em {
  font-style: italic;
  color: var(--secondary);
}
.journey-sub {
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

/* Timeline wrapper */
.journey-timeline {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Each row */
.journey-step {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  align-items: start;
  min-height: 80px;
}

/* Content box */
.journey-content {
  padding: 4px 20px 28px;
}
.journey-step.right .journey-content { padding-left: 24px; padding-right: 0; }
.journey-step.left  .journey-content { padding-right: 24px; padding-left: 0; text-align: right; }

.journey-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a3c4e;
  margin-bottom: 5px;
  line-height: 1.3;
}
.journey-content p {
  font-size: 13px;
  color: #718096;
  line-height: 1.65;
  margin: 0;
}

/* Empty side */
.journey-empty { min-height: 1px; }

/* Center column — dot + line */
.journey-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.journey-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #1a3c4e;
  flex-shrink: 0;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.journey-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: #b0bec8;
  position: relative;
}

/* Loop / curl decoration */
.journey-line.loop::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  border: 2px solid #b0bec8;
  border-radius: 50%;
  background: transparent;
}

/* Last step — no line */
.journey-step.last .journey-center { min-height: 20px; }

/* Responsive */
@media (max-width: 600px) {
  .journey-step {
    grid-template-columns: 16px 1fr;
    grid-template-rows: auto;
  }
  .journey-step.left,
  .journey-step.right {
    grid-template-columns: 16px 1fr;
  }
  .journey-empty { display: none; }
  .journey-step.left .journey-content  { text-align: left; padding: 4px 0 24px 16px; order: 2; }
  .journey-step.right .journey-content { padding: 4px 0 24px 16px; order: 2; }
  .journey-center { order: 1; }
  .journey-header h2 { font-size: 22px; }
}

/* ===== BREEDS CAROUSEL ===== */
.breeds-header {
  text-align: center;
  margin-bottom: 44px;
}
.breeds-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a3c4e;
  line-height: 1.2;
  margin-bottom: 10px;
}
.breeds-title em {
  font-style: italic;
  color: var(--secondary);
  font-weight: 700;
}
.breeds-sub {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}

.breeds-carousel-wrapper {
  overflow: hidden;
  width: 100%;
}
.breeds-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.breed-card {
  flex: 0 0 20%;       /* 5 visible */
  padding: 0 10px;
  box-sizing: border-box;
  cursor: pointer;
  text-align: center;
}
.breed-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.breed-card:hover .breed-img-wrap {
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}
.breed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 14px;
  display: none; /* hidden until src is set by admin */
}
.breed-img[src]:not([src=""]) {
  display: block;
}
.breed-img[src]:not([src=""]) ~ .breed-placeholder-icon {
  display: none;
}
.breed-placeholder-icon {
  font-size: 56px;
  line-height: 1;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}
.breed-name {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #1a3c4e;
  line-height: 1.3;
}
.breed-card:hover .breed-name {
  color: var(--secondary);
}

/* Dots */
.breeds-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.breed-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cdd8e0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  display: inline-block;
}
.breed-dot.active {
  background: var(--secondary);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .breed-card { flex: 0 0 33.333%; }
  .breeds-title { font-size: 26px; }
}
@media (max-width: 600px) {
  .breed-card { flex: 0 0 100%; }
  .breeds-title { font-size: 22px; }
}

/* ===== SERVICES BAR ===== */
.services-bar {
  background: #f0f4f7;
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.services-bar::-webkit-scrollbar { display: none; }
.services-bar-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: max-content;
}
.svc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #4a6070;
  text-decoration: none;
  border-right: 1px solid var(--border);
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.svc-item:first-child {
  background: #1a3c4e;
  color: #fff;
  border-right-color: #2a5068;
}
.svc-item:first-child svg { stroke: #fff; }
.svc-item:first-child:hover { background: var(--primary); }
.svc-item:not(:first-child):hover {
  background: #e2eaef;
  color: #1a3c4e;
}
.svc-item svg { flex-shrink: 0; opacity: 0.75; }
.svc-item:hover svg { opacity: 1; }

@media (max-width: 768px) {
  .services-bar { display: none; }
}

/* ===== BEST FRIEND SECTION ===== */
.best-friend-section {
  background: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.best-friend-header {
  margin-bottom: 48px;
}
.best-friend-header h2 {
  font-size: 34px;
  font-weight: 700;
  color: #1a3c4e;
  line-height: 1.2;
  margin-bottom: 6px;
}
.best-friend-sub {
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  color: var(--secondary);
  margin: 0;
}
.best-friend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.bf-card {
  background: #f0f4f7;
  border-radius: 12px;
  padding: 36px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.bf-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.bf-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a3c4e;
  margin-bottom: 20px;
}
.bf-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a3c4e;
  line-height: 1.4;
  margin-bottom: 10px;
  text-align: center;
}
.bf-card p {
  font-size: 13px;
  color: #5a7080;
  line-height: 1.65;
  text-align: center;
  margin: 0;
}

@media (max-width: 900px) {
  .best-friend-grid { grid-template-columns: repeat(2, 1fr); }
  .best-friend-header h2 { font-size: 26px; }
  .best-friend-sub { font-size: 22px; }
}
@media (max-width: 540px) {
  .best-friend-grid { grid-template-columns: 1fr; max-width: 360px; }
  .best-friend-section { padding: 44px 0 36px; }
}

/* ===== TRUST BADGES ===== */
.trust-section { background: #fff; border-bottom: 1px solid var(--border); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}
.trust-item:last-child { border-right: none; }
.trust-item:hover { background: var(--primary-light); }
.trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
}
.trust-item:hover .trust-icon { background: var(--primary); color: #fff; }
.trust-icon svg { width: 22px; height: 22px; }
.trust-text h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.trust-text p { font-size: 12px; color: var(--text-light); line-height: 1.5; margin: 0; }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== FILTERS ===== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.sidebar { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--text); padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.filter-option input { cursor: pointer; }
.price-range { display: flex; gap: 8px; align-items: center; overflow: hidden; }
.price-range input { flex: 1; min-width: 0; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }
.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 10px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); flex-wrap: wrap; gap: 8px; }
.sort-bar select { border: 1px solid var(--border); padding: 6px 12px; border-radius: var(--radius); font-size: 14px; outline: none; }

/* Toggle vue + filtre mobile */
.view-toggle { display: none; gap: 4px; }
.view-btn { width: 32px; height: 32px; background: none; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-light); transition: var(--transition); }
.view-btn.active, .view-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.mobile-filter-btn { display: none; width: auto; padding: 8px 14px; height: 36px; background: none; border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; gap: 6px; color: var(--text); font-size: 13px; font-weight: 600; transition: var(--transition); font-family: inherit; }
.mobile-filter-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Drawer filtre catégorie */
.filter-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 400; }
.filter-drawer-overlay.open { display: block; }
.filter-drawer { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-radius: 0; z-index: 401; transform: translateY(100%); transition: transform 0.3s ease; max-height: 70vh; display: flex; flex-direction: column; }
.filter-drawer.open { transform: translateY(0); }
.filter-drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 15px; }
.filter-drawer-body { overflow-y: auto; padding: 12px 20px; flex: 1; }
.filter-drawer-body a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text); }
.filter-drawer-body a:hover, .filter-drawer-body a.active-cat { color: var(--primary); font-weight: 600; }

/* Vue LISTE */
.products-grid.list-view { grid-template-columns: 1fr !important; gap: 12px; }
.products-grid.list-view .product-card { display: flex; flex-direction: row; border-radius: var(--radius); }
.products-grid.list-view .product-img { width: 130px; height: 130px; flex-shrink: 0; border-radius: var(--radius) 0 0 var(--radius); }
.products-grid.list-view .product-info { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.products-grid.list-view .product-name { font-size: 15px; margin-bottom: 4px; }
.products-grid.list-view .product-list-details { display: block !important; font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.products-grid.list-view .product-price { margin-bottom: 10px; }
.products-grid.list-view .add-to-cart { display: flex; max-width: 200px; padding: 8px 16px; font-size: 13px; }
.products-grid.list-view .product-actions { display: none; }
.product-list-details { display: none; }

/* Vue LISTE — puppy cards (shop) */
.products-grid.list-view .puppy-card { display: flex; flex-direction: row; }
.products-grid.list-view .puppy-img { width: 140px; min-width: 140px; height: auto; flex-shrink: 0; border-radius: 0; }
.products-grid.list-view .puppy-img img { height: 100%; width: 140px; object-fit: cover; }
.products-grid.list-view .puppy-info { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.products-grid.list-view .puppy-breed { font-size: 15px; }
.products-grid.list-view .puppy-enquire { max-width: 180px; }
.products-grid.list-view .puppy-wishlist { top: 8px; right: 8px; }

@media (max-width: 600px) {
  .products-grid.list-view .puppy-img { width: 110px; min-width: 110px; }
  .products-grid.list-view .puppy-img img { width: 110px; }
  .products-grid.list-view .puppy-info { padding: 10px 12px; }
  .products-grid.list-view .puppy-breed { font-size: 13px; }
  .products-grid.list-view .puppy-enquire { font-size: 11px; padding: 6px 10px; }
}

@media (max-width: 768px) {
  .view-toggle { display: flex; }
  .mobile-filter-btn { display: flex; }
}
/* ===== PARTNERS ===== */
.partners-section {
  background: #eef2f5;
  padding: 36px 0;
}
.partners-img {
  display: block;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  object-fit: contain;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 0 0 48px;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.newsletter-dogs-wrap {
  width: 100%;
  line-height: 0;
  margin-bottom: -4px;
  position: relative;
}
.newsletter-dogs-img {
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  /* PNG has transparent/black bg — mix-blend-mode lighten removes the black */
  mix-blend-mode: lighten;
}
.newsletter h2 { font-size: 26px; margin-bottom: 8px; padding-top: 8px; }
.newsletter p { opacity: 0.85; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; }
.newsletter-form input { flex: 1; padding: 12px 20px; border: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px; outline: none; }
.newsletter-form button { background: var(--secondary); color: #fff; border: none; padding: 12px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--secondary-dark); }

/* ===== FOOTER ===== */
.footer { background: #1a202c; color: #a0aec0; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 14px; }
.footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2d3748; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; background: #2d3748; border-radius: 0; display: flex; align-items: center; justify-content: center; color: #a0aec0; transition: var(--transition); }
.social-links a:hover { background: var(--primary); color: #fff; }

/* ===== LOADING & EMPTY STATES ===== */
.loading { display: flex; justify-content: center; padding: 60px; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .empty-icon { display: flex; align-items: center; justify-content: center; opacity: 0.3; margin-bottom: 16px; color: var(--text-light); }
.empty-state h3 { font-size: 18px; color: var(--text-light); }

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 24px; right: 24px; background: #2d3748; color: #fff; padding: 14px 20px; border-radius: var(--radius); box-shadow: var(--shadow-md); z-index: 9999; display: flex; align-items: center; gap: 10px; max-width: 320px; transform: translateY(100px); opacity: 0; transition: 0.3s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--secondary); }
.toast.error { background: #e53e3e; }

/* ===== CART DRAWER ===== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  cursor: pointer;
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100dvh;
  background: #fff;
  z-index: 501;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 32px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.cart-drawer-header h2 {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-drawer-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s;
}
.cart-drawer-close:hover { background: rgba(255,255,255,0.2); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
}
.cart-drawer-empty svg { opacity: 0.3; }
.cart-drawer-empty h3 { font-size: 16px; color: var(--text-light); }
.cart-drawer-empty a {
  display: inline-block;
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.cart-drawer-empty a:hover { background: var(--primary-dark); }

.drawer-cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.drawer-cart-item:last-child { border-bottom: none; }

.drawer-item-img {
  width: 68px;
  height: 68px;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }

.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  width: fit-content;
}
.drawer-item-qty button {
  width: 28px;
  height: 28px;
  background: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-item-qty button:hover { background: var(--primary); color: #fff; }
.drawer-item-qty span {
  min-width: 32px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.drawer-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.drawer-item-remove:hover { color: #e53e3e; }

.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
  flex-shrink: 0;
}
.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
}
.drawer-subtotal .label { color: var(--text-light); }
.drawer-subtotal .amount { font-size: 20px; font-weight: 800; color: var(--primary); }
.drawer-free-shipping {
  font-size: 12px;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 12px;
}
.drawer-btn-view {
  display: block;
  width: 100%;
  padding: 12px;
  background: #f0f4f8;
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--transition);
}
.drawer-btn-view:hover { background: #e2e8f0; }
.drawer-btn-checkout {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.drawer-btn-checkout:hover { background: var(--primary-dark); }

@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .trust-item:nth-child(3) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero-slider { height: 420px; }
  .slide-content { padding: 60px 40px; }
  .slide-content h1 { font-size: 36px; }
}
@media (max-width: 600px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:nth-child(odd) { border-right: none; }
  .trust-item:last-child { border-bottom: none; }
  .trust-item:nth-child(3) { border-bottom: 1px solid var(--border); }
  .hero-slider { height: 360px; }
  .slide-content { padding: 40px 24px; }
  .slide-content h1 { font-size: 26px; }
  .slide-content p { font-size: 14px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { padding: 11px 22px; font-size: 14px; text-align: center; justify-content: center; }
  .slider-btn { width: 38px; height: 38px; font-size: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  /* ── HEADER MOBILE ── */
  .header-top { display: none; }

  .header-main { padding: 0; }

  .header-main .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px 14px 6px;
    gap: 0;
  }

  /* Ligne 1 : hamburger | logo (flex centré) | panier */
  /* Le hamburger mobile est injecté en JS comme premier enfant */
  .nav-toggle-mobile {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px 4px 0;
    flex-shrink: 0;
  }
  .nav-toggle-mobile span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
  }
  .nav-toggle-mobile.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-mobile.open span:nth-child(2) { opacity: 0; }
  .nav-toggle-mobile.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Logo — prend tout l'espace central */
  .logo {
    flex: 1;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    position: static;
    transform: none;
  }
  #logo-container svg { width: 22px; height: 22px; }
  .logo-text .site-name { font-size: 15px; font-weight: 700; }
  .logo-text .site-tagline { display: none; }

  /* Panier — à droite, pas de margin-left:auto (logo prend le flex) */
  .header-actions { margin-left: 0; flex-shrink: 0; }
  .cart-btn { padding: 4px 0 4px 6px; }

  /* Ligne 2 : barre de recherche pleine largeur */
  .search-bar {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 2px;
  }
  .search-bar input { padding: 9px 14px; font-size: 14px; }
  .search-bar button { padding: 9px 14px; }

  /* Masquer le nav-toggle original (dans .nav) */
  .nav-toggle { display: none !important; }

  /* Masquer la barre nav bleue sur mobile */
  .nav { display: none !important; }

  /* nav-links est déplacé dans body via JS — toujours visible */
}

/* ── Accessibility / SEO utility ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ===== MOBILE FIXES (iPhone/iOS) ===== */
@media (max-width: 768px) {

  /* Prevent horizontal scroll */
  * { max-width: 100%; }
  body, html { overflow-x: hidden; width: 100%; }

  /* Container */
  .container { padding: 0 16px; }

  /* Header */
  .header-top .container { flex-direction: column; gap: 4px; text-align: center; font-size: 12px; }
  .header-main .container { gap: 10px; flex-wrap: nowrap; }
  .logo { min-width: unset; }
  .logo-text .site-name { font-size: 18px; }
  .search-bar { display: none; }

  /* Nav drawer */
  .nav-links { width: 82vw; max-width: 320px; }

  /* Shop page — hide sidebar, fix filter chips */
  .shop-layout { grid-template-columns: 1fr !important; }
  .sidebar { display: none !important; }
  .filter-chip-grid { gap: 6px; }
  .filter-chip { font-size: 11px; padding: 5px 10px; white-space: nowrap; }
  .active-filters { flex-wrap: wrap; gap: 6px; }

  /* Shop sort/view row */
  .shop-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shop-header > div:last-child { width: 100%; justify-content: space-between; }
  #sort-select { font-size: 13px; padding: 7px 10px; flex: 1; }

  /* Product grid */
  .products-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .puppy-img { height: 160px !important; }
  .puppy-info { padding: 10px 12px 12px; }
  .puppy-breed { font-size: 13px; }
  .puppy-price .price { font-size: 15px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Hero sections */
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 26px !important; }
  .hero p { font-size: 14px; }

  /* Category/breed cards */
  .categories-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .cat-card { padding: 16px 10px; }
  .cat-icon { font-size: 24px !important; }
  .cat-card h3 { font-size: 13px; }

  /* Product page */
  .pup-layout { grid-template-columns: 1fr !important; }
  .pup-gallery-strip { gap: 6px; }
  .pup-thumb { width: 56px; height: 56px; }

  /* Reserve form */
  .rf-row { grid-template-columns: 1fr !important; }

  /* Contact form */
  .form-row { grid-template-columns: 1fr !important; }
  .contact-layout { grid-template-columns: 1fr !important; }

  /* About page */
  .about-grid { grid-template-columns: 1fr !important; gap: 20px; }
  .about-grid.reverse { direction: ltr; }
  .stats-inner { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  .stat-num { font-size: 28px !important; }

  /* Breed detail */
  .breed-detail-page { grid-template-columns: 1fr !important; }
  .bd-gallery { grid-template-columns: 1fr 1fr !important; }
  .related-breeds { grid-template-columns: 1fr 1fr !important; }

  /* Toast */
  .toast { bottom: 16px; right: 16px; left: 16px; max-width: unset; font-size: 13px; }

  /* Filter drawer */
  .filter-drawer { width: 90vw !important; }

  /* Sections spacing */
  .section { padding: 36px 0; }
  .section-header h2 { font-size: 22px !important; }

  /* Easy ordering / shipping layout */
  .eo-layout, .sp-layout { grid-template-columns: 1fr !important; }
  .eo-sidebar, .sp-sidebar { position: static !important; }

  /* Guarantee page */
  .guarantee-layout { grid-template-columns: 1fr !important; }

  /* Reviews grid */
  .reviews-grid { grid-template-columns: 1fr !important; }
}

/* Extra small screens */
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr !important; }
  .categories-grid { grid-template-columns: 1fr !important; }
  .puppy-img { height: 200px !important; }
}
