/* =============================================================================
 * DIEZ.SN — Design System Mobile-First
 * Version 2.0 — Aligné sur les maquettes officielles
 * =============================================================================
 * PRINCIPE : Mobile-first STRICT
 * - Tous les styles de base ciblent mobile (320-414px)
 * - Media queries étendent vers tablette/desktop avec min-width
 * - Aucun max-width par défaut
 *
 * CIBLE PRIMAIRE : iPhone SE / Galaxy A (360-414px, ~92% trafic Sénégal)
 *
 * STRUCTURE :
 * 1. Tokens (custom properties)
 * 2. Reset + base
 * 3. Typography
 * 4. Layout
 * 5. Composants : badges, buttons, inputs, cards
 * 6. Section title (MAJUSCULES + tracking)
 * 7. Hero (bandeau or)
 * 8. Product card (composant signature)
 * 9. Top bar mobile
 * 10. Bottom navigation
 * 11. Footer noir
 * 12. Animations
 * 13. Media queries (extension desktop)
 * ============================================================================ */


/* =============================================================================
 * 1. TOKENS DESIGN
 * ============================================================================ */

:root {
  /* --- COULEURS DE MARQUE --- */

  /* Or chaud : hero, header de cards, accents premium */
  --color-primary:       #C9941E;
  --color-primary-dark:  #A37815;
  --color-primary-light: #E5B848;

  /* Vert vif : CTA "Acheter", "Voir les offres", boutons play */
  --color-accent:        #16A34A;
  --color-accent-dark:   #128439;
  --color-accent-light:  #22C55E;

  /* Rouge bordeaux : badges réduction -%, alerts */
  --color-discount:      #9B2C2C;
  --color-discount-dark: #7F1D1D;
  --color-discount-light:#B83A3A;

  /* --- COULEURS NEUTRES --- */
  --color-bg:            #FAFAF7;          /* Fond app */
  --color-surface:       #FFFFFF;          /* Cards */
  --color-surface-alt:   #F5F5F5;          /* Footer cards, bandeaux secondaires */

  --color-ink:           #000000;          /* Noir pur (logo, titres) */
  --color-ink-2:         #1C1917;          /* Texte principal */
  --color-ink-3:         #44403C;          /* Texte secondaire */
  --color-ink-dim:       #78716C;          /* Placeholders, mentions */
  --color-line:          #E7E5E4;          /* Borders */

  /* Footer noir */
  --color-footer:        #1C1917;
  --color-footer-ink:    #E7E5E4;
  --color-footer-dim:    #A8A29E;

  /* --- TYPOGRAPHIE --- */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* font-size base : 16px (CRITIQUE pour empêcher zoom iOS sur inputs) */
  --fs-xs:    0.75rem;    /* 12px */
  --fs-sm:    0.875rem;   /* 14px */
  --fs-base:  1rem;       /* 16px */
  --fs-lg:    1.125rem;   /* 18px */
  --fs-xl:    1.25rem;    /* 20px */
  --fs-2xl:   1.5rem;     /* 24px */
  --fs-3xl:   2rem;       /* 32px */
  --fs-4xl:   2.5rem;     /* 40px */

  --lh-tight:  1.2;
  --lh-normal: 1.5;
  --lh-loose:  1.75;

  /* --- ESPACEMENTS (système 4px) --- */
  --space-1:  0.25rem;    /*  4px */
  --space-2:  0.5rem;     /*  8px */
  --space-3:  0.75rem;    /* 12px */
  --space-4:  1rem;       /* 16px */
  --space-5:  1.25rem;    /* 20px */
  --space-6:  1.5rem;     /* 24px */
  --space-8:  2rem;       /* 32px */
  --space-10: 2.5rem;     /* 40px */
  --space-12: 3rem;       /* 48px */
  --space-16: 4rem;       /* 64px */

  /* --- BORDERS & RADIUS --- */
  --radius-sm:    6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* --- TOUCH TARGETS (norme HIG/Material) --- */
  --tap-target: 44px;

  /* --- SHADOWS --- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);

  /* --- Z-INDEX --- */
  --z-base:       1;
  --z-dropdown:   10;
  --z-sticky:     20;
  --z-modal:      30;
  --z-toast:      40;
  --z-bottom-nav: 50;

  /* --- BOTTOM NAV --- */
  --bottom-nav-h: 64px;

  /* --- TRANSITIONS --- */
  --transition-fast:   150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow:   400ms ease-out;
}


/* =============================================================================
 * 2. RESET + BASE
 * ============================================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-ink-2);
  background: var(--color-bg);
  padding-bottom: var(--bottom-nav-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: contain;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  color: var(--color-ink);
  text-decoration: none;
}


/* =============================================================================
 * 3. TYPOGRAPHIE
 * ============================================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  font-weight: 700;
  color: var(--color-ink);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }


/* =============================================================================
 * 4. LAYOUT
 * ============================================================================ */

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.stack > * + * {
  margin-top: var(--space-3);
}


/* =============================================================================
 * 5. COMPOSANTS — BUTTONS
 * ============================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--tap-target);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-ink);
  font-weight: 700;
}

.btn-accent {
  background: var(--color-accent);
  color: white;
}

.btn-accent:hover {
  background: var(--color-accent-dark);
}

.btn-dark {
  background: var(--color-ink);
  color: white;
}

.btn-block {
  width: 100%;
}


/* =============================================================================
 * 5bis. COMPOSANTS — BADGES (-20%, 24H, 7J, etc.)
 * ============================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* Badge réduction rouge bordeaux (-20%, -30%) */
.badge-discount {
  background: var(--color-discount);
  color: white;
}

/* Badge durée or (24H, 7J) */
.badge-duration {
  background: var(--color-primary);
  color: var(--color-ink);
}

/* Badge "Flash" avec pulse animation */
.badge-flash {
  background: var(--color-discount);
  color: white;
  animation: pulse 2s ease-in-out infinite;
}


/* =============================================================================
 * 5ter. COMPOSANTS — INPUTS
 * ============================================================================ */

.input,
.textarea,
.select {
  width: 100%;
  min-height: var(--tap-target);
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-base);
  color: var(--color-ink-2);
  background: var(--color-surface);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--color-primary);
}


/* =============================================================================
 * 6. SECTION TITLE (MAJUSCULES + LETTRAGE ESPACÉ)
 * ============================================================================
 * Style signature de la maquette : "SÉLECTION PREMIUM DU MOIS", "24H CHRONO"
 * ============================================================================ */

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-ink);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: var(--space-8) 0 var(--space-6) 0;
  padding: 0 var(--space-4);
  line-height: var(--lh-tight);
}

.section-title__icon {
  display: inline-block;
  margin: 0 var(--space-2);
}


/* =============================================================================
 * 7. HERO (BANDEAU OR COMPACT)
 * ============================================================================
 * Style maquette : bandeau or avec gros titre + sous-titre + CTA vert
 * ============================================================================ */

.hero {
  background: var(--color-primary);
  padding: var(--space-8) var(--space-4);
  margin: var(--space-4) calc(var(--space-4) * -1) var(--space-6);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-ink);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-2);
}

.hero__subtitle {
  font-size: var(--fs-base);
  color: var(--color-ink-2);
  margin-bottom: var(--space-5);
  opacity: 0.9;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  min-height: var(--tap-target);
}

.hero__cta:hover {
  background: var(--color-accent-dark);
}


/* =============================================================================
 * 8. PRODUCT CARD (composant signature DIEZ.SN)
 * ============================================================================
 * Inspiré directement de la maquette image 1 :
 * - Header or avec badge -% (gauche) et badge durée (droite)
 * - Image produit centrale (fond doux)
 * - Footer gris pâle avec titre + prix + bouton play vert
 * ============================================================================ */

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.product-card:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-md);
}

/* --- Header coloré or avec badges --- */
.product-card__header {
  background: var(--color-primary);
  padding: var(--space-3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

/* --- Image produit (fond doux pastel) --- */
.product-card__image-wrap {
  background: linear-gradient(180deg, #E8E4F5 0%, #F0EBF5 100%);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer gris pâle avec infos produit --- */
.product-card__body {
  background: var(--color-surface-alt);
  padding: var(--space-3) var(--space-3) var(--space-2);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: var(--space-2);

  /* Limite 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.product-card__price-current {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.product-card__price-original {
  font-size: var(--fs-xs);
  color: var(--color-ink-dim);
  text-decoration: line-through;
}

/* --- Footer bouton play vert (CTA) --- */
.product-card__cta {
  background: var(--color-surface-alt);
  padding: var(--space-2) var(--space-3) var(--space-3);
  display: flex;
  justify-content: center;
}

.product-card__cta-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: white;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.product-card__cta-btn:hover {
  background: var(--color-accent);
  color: white;
}

.product-card__cta-btn svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.product-card__cta-btn:hover svg {
  color: white;
}


/* =============================================================================
 * 9. TOP BAR MOBILE
 * ============================================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 56px;
  padding: 0 var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  padding-top: env(safe-area-inset-top);
}

.topbar__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.topbar__brand img {
  height: 28px;
  width: auto;
  display: block;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.topbar__action {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-ink-2);
}

.topbar__action svg {
  width: 22px;
  height: 22px;
}


/* =============================================================================
 * 10. BOTTOM NAVIGATION
 * ============================================================================ */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-bottom-nav);
  display: flex;
  justify-content: space-around;
  height: var(--bottom-nav-h);
  background: var(--color-surface);
  border-top: 1px solid var(--color-line);
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-height: var(--tap-target);
  color: var(--color-ink-dim);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-decoration: none;
}

.bottom-nav__item.is-active {
  color: var(--color-primary-dark);
}

.bottom-nav__icon {
  width: 24px;
  height: 24px;
}


/* =============================================================================
 * 11. FOOTER NOIR
 * ============================================================================ */

.footer {
  background: var(--color-footer);
  color: var(--color-footer-ink);
  padding: var(--space-8) var(--space-4) var(--space-6);
  margin-top: var(--space-12);
}

.footer__brand {
  margin-bottom: var(--space-5);
}

.footer__brand img {
  height: 32px;
  width: auto;
  /* Le logo est noir → on l'inverse en blanc pour fond noir */
  filter: invert(1);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  margin-bottom: var(--space-6);
  list-style: none;
}

.footer__links a {
  color: var(--color-footer-ink);
  font-size: var(--fs-sm);
}

.footer__links a:hover {
  color: var(--color-primary-light);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: var(--color-footer-ink);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__newsletter {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.footer__newsletter input {
  flex: 1;
  padding: var(--space-3);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--fs-sm);
}

.footer__newsletter input::placeholder {
  color: var(--color-footer-dim);
}

.footer__newsletter button {
  width: var(--tap-target);
  height: var(--tap-target);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--color-footer-dim);
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.1);
}


/* =============================================================================
 * 12. ANIMATIONS
 * ============================================================================ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Respect prefers-reduced-motion (accessibilité) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* =============================================================================
 * 13. UTILITY CLASSES
 * ============================================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.text-center { text-align: center; }
.hidden { display: none !important; }


/* =============================================================================
 * 14. MEDIA QUERIES (extension vers desktop)
 * ============================================================================ */

@media (min-width: 768px) {
  .container { max-width: 720px; padding: 0 var(--space-6); }

  .grid-2 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(4, 1fr); }

  .hero { padding: var(--space-10) var(--space-6); }
  .hero__title { font-size: var(--fs-3xl); }
}

@media (min-width: 1024px) {
  .container { max-width: 1100px; }

  .grid-2 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(5, 1fr); }

  .hero { padding: var(--space-12) var(--space-8); border-radius: var(--radius-lg); margin: var(--space-4) 0; }
  .hero__title { font-size: var(--fs-4xl); }

  .section-title { font-size: var(--fs-3xl); }

  /* Sur desktop : bottom-nav cachée au profit d'une top-nav */
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}


/* =============================================================================
 * 15. FIX DESKTOP (Phase DESIGN-3.1)
 *
 * Probleme constate : sur desktop large (>1024px), le main n'est pas limite
 * en largeur, donc les grid-2 a 4 colonnes etirent chaque card sur 25% de
 * 1920px = 480px par card -> visuellement enorme.
 *
 * Solution : limiter le container central a 1100px max, et reajuster les
 * grilles a des nombres de colonnes plus raisonnables.
 * ============================================================================ */

@media (min-width: 640px) {
  /* Sur tablette 640px+ : grille 3 colonnes au lieu de 2 */
  .grid-2 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  /* Sur desktop : 4 colonnes max, jamais plus */
  .grid-2 { grid-template-columns: repeat(4, 1fr); }

  /* Container central serré */
  .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero : retire les marges negatives mobile, ajoute radius */
  .hero {
    margin: var(--space-4) 0 var(--space-8);
    border-radius: var(--radius-lg);
  }

  /* Section title plus grosse sur desktop */
  .section-title { font-size: var(--fs-3xl); margin: var(--space-10) 0 var(--space-8); }
}


/* =============================================================================
 * 16. FOOTER FIX — Container limite + SVG sociaux dimensionnes
 * ============================================================================ */

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Logo footer : taille max raisonnable */
.footer__brand img {
  max-width: 180px;
  height: auto !important;
}

/* Liens footer sur desktop : disposes en ligne */
@media (min-width: 768px) {
  .footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
  }

  .footer__brand { grid-column: 1; }
  .footer__links { grid-column: 1; }
  .footer__social { grid-column: 2; justify-content: flex-end; }
  .footer__newsletter { grid-column: 1 / -1; }
  .footer__copyright { grid-column: 1 / -1; }
}

/* SVG icons : forcer une taille fixe partout (anti-SVG geant) */
svg {
  flex-shrink: 0;
}

.footer__social-link svg,
.topbar__action svg,
.bottom-nav__icon,
.product-card__cta-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Newsletter contraint en largeur */
section[aria-labelledby="title-newsletter"] form {
  max-width: 480px;
}


/* =============================================================================
 * 17. PHASE DESIGN-4 — NOUVEAU STYLE CARDS + COUNTDOWN + WHATSAPP FAB
 *
 * Refonte vers la maquette moderne : photo plein largeur,
 * badge -% rouge en haut gauche, prix vert, bouton Commander vert,
 * compteur stock dynamique.
 * ============================================================================ */

/* --- Compteur countdown global au-dessus de 24H Chrono --- */
.flash-countdown {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--color-discount);
  color: white;
  font-weight: 700;
  font-size: var(--fs-xs);
  border-radius: var(--radius-full);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(155, 44, 44, 0.25);
}

@media (min-width: 640px) {
  .flash-countdown {
    padding: var(--space-2) var(--space-4);
    font-size: var(--fs-sm);
  }
}

.flash-countdown__label {
  font-weight: 600;
  opacity: 0.95;
}

.flash-countdown__time {
  font-weight: 800;
  font-size: var(--fs-base);
}

/* Wrapper centre pour le countdown */
.flash-countdown-wrap {
  display: flex;
  justify-content: center;
  margin: var(--space-6) 0 var(--space-4);
}


/* --- NOUVEAU style product-card (maquette moderne) --- */

.product-card-v2 {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.product-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Image plein largeur, ratio carre */
.product-card-v2__image-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

@media (min-width: 640px) {
  .product-card-v2__image-wrap {
    height: 200px;
  }
}

@media (min-width: 1024px) {
  .product-card-v2__image-wrap {
    height: 220px;
  }
}

/* Badge discount rouge en haut gauche (sur l'image) */
.product-card-v2__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  padding: var(--space-1) var(--space-3);
  background: var(--color-discount);
  color: white;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

/* Badge duree 24H/7J en haut droite (subtil) */
.product-card-v2__duration {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  padding: var(--space-1) var(--space-3);
  background: rgba(0,0,0,0.7);
  color: white;
  font-weight: 700;
  font-size: var(--fs-xs);
  border-radius: var(--radius-sm);
}

/* Body de la card (titre + prix + stock + bouton) */
.product-card-v2__body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.product-card-v2__title {
  font-family: var(--font-display);
  font-size: 0.9375rem; /* 15px mobile */
  font-weight: 700;
  color: var(--color-ink);
  margin: 0;
  /* 2 lignes max */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: var(--lh-tight);
}

@media (min-width: 640px) {
  .product-card-v2__title { font-size: var(--fs-base); }
}

.product-card-v2__prices {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.product-card-v2__price-current {
  font-family: var(--font-display);
  font-size: var(--fs-base); /* 16px mobile */
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .product-card-v2__price-current { font-size: var(--fs-lg); }
}

.product-card-v2__price-original {
  font-size: var(--fs-sm);
  color: var(--color-ink-dim);
  text-decoration: line-through;
}

/* Compteur stock avec icone alerte */
.product-card-v2__stock {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs); /* 12px mobile */
  color: var(--color-ink-3);
}

@media (min-width: 640px) {
  .product-card-v2__stock { font-size: var(--fs-sm); }
}

.product-card-v2__stock-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-discount);
}

/* Bouton Commander vert pleine largeur */
.product-card-v2__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 40px; /* compact mobile, toujours >= 40px (tap target safe) */
  padding: var(--space-2) var(--space-3);
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

@media (min-width: 640px) {
  .product-card-v2__cta {
    min-height: var(--tap-target);
    padding: var(--space-3) var(--space-4);
    font-size: var(--fs-base);
  }
}

.product-card-v2__cta:hover {
  background: var(--color-accent-dark);
}

.product-card-v2__cta:active {
  transform: scale(0.98);
}


/* --- Grille spécifique pour cards v2 : mobile 1col, tablette 2col, desktop 3col --- */

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes mobile par defaut */
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .grid-products {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  /* Sur desktop on garde 3 colonnes (votre choix) */
  .grid-products { grid-template-columns: repeat(3, 1fr); }
}


/* --- Bouton WhatsApp FAB (Floating Action Button) --- */

.whatsapp-fab {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + var(--space-4));
  right: var(--space-4);
  z-index: 49; /* sous la bottom-nav mais au-dessus du reste */
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25D366; /* Vert WhatsApp officiel */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

@media (min-width: 1024px) {
  /* Sur desktop : pas de bottom-nav donc remonter le FAB */
  .whatsapp-fab {
    bottom: var(--space-6);
    right: var(--space-6);
  }
}


/* --- Image placeholder colore (pas de gradient, couleur unie) --- */
.product-card-v2__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-v2__image-placeholder svg {
  width: 80px;
  height: 80px;
  max-width: 50%;
  max-height: 50%;
  opacity: 0.4;
  color: rgba(0, 0, 0, 0.3);
}


/* =============================================================================
 * 18. PAGE PRODUIT DETAIL
 * Layout : galerie photos + infos + description + reviews + similaires
 * ============================================================================ */

.product-detail {
  padding: var(--space-4) 0;
}

/* Lien retour */
.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-ink-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.product-detail__back:hover {
  color: var(--color-primary-dark);
}

/* Layout principal : 1 col mobile, 2 col desktop (galerie | infos) */
.product-detail__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .product-detail__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* --- Galerie photos --- */
.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-detail__photo-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__photo-main svg {
  width: 120px;
  height: 120px;
  max-width: 40%;
  max-height: 40%;
  opacity: 0.4;
  color: rgba(0,0,0,0.3);
}

.product-detail__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--color-discount);
  color: white;
  font-weight: 700;
  font-size: var(--fs-base);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

.product-detail__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}

.product-detail__thumb.is-active {
  border-color: var(--color-primary);
}

.product-detail__thumb svg {
  width: 40px;
  height: 40px;
  max-width: 50%;
  max-height: 50%;
  opacity: 0.3;
}

/* --- Infos produit (colonne droite) --- */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-detail__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--color-ink);
  line-height: var(--lh-tight);
  margin: 0;
}

.product-detail__rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-ink-3);
}

.product-detail__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--color-primary);
}

.product-detail__star {
  width: 18px;
  height: 18px;
}

.product-detail__star--empty {
  color: var(--color-line);
}

.product-detail__prices {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-surface-alt);
  border-radius: var(--radius-lg);
}

.product-detail__price-current {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.product-detail__price-original {
  font-size: var(--fs-base);
  color: var(--color-ink-dim);
  text-decoration: line-through;
}

.product-detail__stock {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-base);
  color: var(--color-ink-3);
  padding: var(--space-3) var(--space-4);
  background: #FEF3C7;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.product-detail__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 52px;
  padding: var(--space-4) var(--space-6);
  background: var(--color-accent);
  color: white;
  font-weight: 700;
  font-size: var(--fs-lg);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.product-detail__cta:hover { background: var(--color-accent-dark); }

.product-detail__cta svg {
  width: 22px;
  height: 22px;
}

/* --- Description --- */
.product-detail__section {
  margin-top: var(--space-10);
}

.product-detail__section-title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-detail__description {
  font-size: var(--fs-base);
  color: var(--color-ink-3);
  line-height: var(--lh-loose);
}

.product-detail__description p {
  margin-bottom: var(--space-3);
}

.product-detail__description ul {
  margin-left: var(--space-5);
  margin-bottom: var(--space-3);
}

.product-detail__description li {
  margin-bottom: var(--space-2);
}

/* --- Avis clients --- */
.review-card {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  margin-bottom: var(--space-3);
}

.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
}

.review-card__name {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-ink-2);
}

.review-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--color-accent-dark);
  font-weight: 600;
}

.review-card__verified svg {
  width: 14px;
  height: 14px;
}

.review-card__date {
  font-size: var(--fs-xs);
  color: var(--color-ink-dim);
}

.review-card__rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-2);
}

.review-card__rating svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.review-card__text {
  font-size: var(--fs-sm);
  color: var(--color-ink-3);
  line-height: var(--lh-normal);
}


/* =============================================================================
 * 19. PATTERN "CARD CLIQUABLE" — fix HTML5 anti-nested-<a>
 * Pattern industriel : <article> + <a class="card-link-overlay">
 * Permet d'avoir une card cliquable avec un bouton interne (WhatsApp) sans
 * violer la regle HTML5 "pas de <a> imbriques".
 * ============================================================================ */

/* Reset : product-card-v2 redevient un <article>, pas un <a> */
article.product-card-v2 {
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Lien invisible qui couvre toute la card */
.card-link-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
  /* Pour accessibilite : focus visible */
  border-radius: var(--radius-lg);
}

.card-link-overlay:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Le bouton Commander doit etre au-dessus pour rester cliquable */
.product-card-v2__cta {
  position: relative;
  z-index: 2;
}

/* Idem pour tous les enfants qui ne doivent pas etre couverts */
.product-card-v2__body,
.product-card-v2__image-wrap {
  position: relative;
}

/* =============================================================================
   TOP NAV DESKTOP (Sprint S1.4-nav)
   Navigation horizontale visible >=768px, cachee en mobile.
   ============================================================================= */

.topnav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 0;
}

.topnav__link {
  display: block;
  padding: 8px 16px;
  color: #1C1917;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  border-radius: 6px 6px 0 0;
}

.topnav__link:hover {
  color: #C9941E;
  background: rgba(201, 148, 30, 0.06);
  border-bottom-color: rgba(201, 148, 30, 0.4);
}

.topnav__link--active {
  color: #C9941E;
  border-bottom-color: #C9941E;
  font-weight: 600;
}

/* === Mobile : top nav cachee (bottom_nav prend le relais) === */
@media (max-width: 767px) {
  .topnav {
    display: none;
  }
}

/* === Tablette : top nav compactee === */
@media (min-width: 768px) and (max-width: 1024px) {
  .topnav {
    gap: 20px;
  }
  .topnav__link {
    font-size: 0.95rem;
  }
}

/* =============================================================================
   SHOP CARDS & SHOP DETAIL (Sprint S1.4d)
   ============================================================================= */

.grid-shops {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}

.shop-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 400px;
  width: 100%;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.shop-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
}

.shop-card__cover {
  height: 80px;
  position: relative;
}

.shop-card__logo-wrap {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: white;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.shop-card__logo,
.shop-card__logo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.shop-card__logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.8rem;
}

.shop-card__body {
  padding: 40px 20px 20px;
  text-align: center;
}

.shop-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1C1917;
}

.shop-card__tagline {
  color: #6B7280;
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.shop-card__meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.shop-card__meta-item {
  font-size: 0.85rem;
  color: #4B5563;
}

.shop-card__cta {
  display: inline-block;
  color: #C9941E;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Shop Detail Header ===== */

.shop-header {
  margin-top: 0;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.shop-header__cover {
  height: 120px;
}

.shop-header__main {
  display: flex;
  gap: 20px;
  padding: 0 24px 24px;
  margin-top: -32px;
  flex-wrap: wrap;
}

.shop-header__logo-wrap {
  flex-shrink: 0;
}

.shop-header__logo,
.shop-header__logo-fallback {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  background: white;
  object-fit: cover;
}

.shop-header__logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 2.2rem;
}

.shop-header__info {
  flex: 1;
  min-width: 200px;
  padding-top: 36px;
}

.shop-header__name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1C1917;
}

.shop-header__tagline {
  color: #6B7280;
  font-style: italic;
  margin: 0 0 12px;
}

.shop-header__meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #4B5563;
}

.shop-header__description {
  margin: 0 0 20px;
  line-height: 1.6;
  color: #1C1917;
}

.shop-header__cta {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.shop-header__cta:hover {
  background: #1FAB52;
}

@media (max-width: 768px) {
  .shop-header__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .shop-header__info {
    padding-top: 0;
  }
  .shop-header__meta {
    justify-content: center;
  }
}

/* =============================================================================
   SUPPLIER LINK ON PRODUCT CARDS (Sprint S1.4d Phase 2)
   Le lien shop a un z-index plus eleve que .card-link-overlay pour etre cliquable.
   ============================================================================= */

.product-card-v2__supplier {
  font-size: 0.85rem;
  color: #6B7280;
  margin: 4px 0 12px;
}

.product-card-v2__supplier-link {
  position: relative;
  z-index: 3;
  color: #C9941E;
  font-weight: 500;
  text-decoration: none;
  pointer-events: auto;
}

.product-card-v2__supplier-link:hover {
  text-decoration: underline;
}

/* =============================================================================
   THEMATICAL CARDS & HEADERS (Sprint S1.4e)
   ============================================================================= */

.grid-thematicals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}

.thematical-card {
  position: relative;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 400px;
  width: 100%;
}

.thematical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.thematical-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
}

.thematical-card__cover {
  height: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thematical-card__price-badge {
  background: rgba(255,255,255,0.95);
  color: #1C1917;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.thematical-card__body {
  padding: 20px;
}

.thematical-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1C1917;
}

.thematical-card__subtitle {
  color: #6B7280;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0 0 16px;
}

.thematical-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #4B5563;
}

.thematical-card__cta {
  display: inline-block;
  color: #C9941E;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== Thematical Detail Header ===== */

.thematical-header {
  background: white;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.thematical-header__cover {
  height: 100px;
}

.thematical-header__main {
  padding: 24px;
}

.thematical-header__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1C1917;
}

.thematical-header__subtitle {
  color: #6B7280;
  font-style: italic;
  font-size: 1.05rem;
  margin: 0 0 16px;
}

.thematical-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #4B5563;
  align-items: center;
}

.thematical-header__price-badge {
  background: #C9941E;
  color: white;
  padding: 6px 14px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.thematical-header__description {
  margin: 16px 0 0;
  line-height: 1.6;
  color: #1C1917;
}

/* Sprint BO-2.3 Phase 2 Etape 3.7 - Image reelle uploadee */
/* Remplace .product-card-v2__image-placeholder quand une image existe */
.product-card-v2__image-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
}

/* Sprint BO-2.3 Phase 2 Etape 3.7 - Galerie product_detail */
/* Image principale dans .product-detail__photo-main (zoom) */
.product-detail__photo-main__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* Image dans une miniature .product-detail__thumb */
.product-detail__thumb {
  position: relative;
  overflow: hidden;
}
.product-detail__thumb__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sprint BO-2.3 Phase 2 Etape 3.7 - Modal Cropper.js */
/* Le modal lui-meme utilise Tailwind, ces styles sont pour Cropper.js */
#cropper-image {
  max-height: 60vh;
  width: auto;
  margin: 0 auto;
}

/* Override Cropper.js si necessaire (border carre orange DIEZ) */
.cropper-view-box,
.cropper-face {
  border-radius: 4px;
}

.cropper-view-box {
  outline-color: #C9941E;  /* Diez or */
  outline: 2px solid #C9941E;
}

.cropper-point {
  background-color: #C9941E;
}

.cropper-line {
  background-color: #C9941E;
}

/* Sprint BO-2.3 Phase 2 - Fix galerie interactive (Alpine.js) */
/* Thumbnail clickable : curseur + transition snappy */
.product-detail__thumb {
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease;
}

.product-detail__thumb:hover {
  transform: scale(1.03);
}

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

/* Photo principale : fondu doux entre images (snappy mais agreable) */
.product-detail__photo-main__image {
  transition: opacity 100ms ease;
}
