/* =====================================================================
   JUWU — CORRECTIF MOBILE (positionnement uniquement)
   Fichier à placer à côté de index.html (même dossier), puis ajouter
   cette ligne dans index.html, juste APRÈS la balise </style> :
       <link rel="stylesheet" href="mobile-fix.css">
   Rien d'autre ne change : pas de JavaScript, aucune autre ligne HTML.
   Ne s'applique qu'aux écrans de 860 px et moins (téléphones/tablettes).
   ===================================================================== */
@media (max-width:860px){

  .wrap{padding:0 20px;}

  /* ---------- HEADER : tout sur UNE seule ligne ----------
     menu · recherche · statut · logo · panier
     (les boutons « Découvrir JUWU » et « Précommander » restent
     accessibles dans le menu ☰, la loupe de gauche remplace « Rechercher ») */
  header .wrap{height:58px; padding:0 14px; flex-wrap:nowrap; gap:8px; row-gap:0; justify-content:flex-start;}
  .mobile-left-actions{order:0; margin-right:0; gap:12px;}
  .header-status{order:1; flex:1; min-width:0; width:auto; justify-content:flex-start; gap:6px; font-size:10px; letter-spacing:0.04em; line-height:1.3; white-space:normal;}
  .header-status .dot{flex-shrink:0;}
  .logo-mark{order:2;}
  .header-logo{width:44px !important; height:44px !important;}
  .header-actions{order:3; gap:0;}
  .search-pill-btn,
  .header-actions .header-cta{display:none;}
  .cart-btn{padding:6px 8px;}
  .cart-btn svg{width:20px; height:20px;}

  /* ---------- HERO : s'adapte à la hauteur de l'écran ----------
     logo + mentions centrés en haut, titre et boutons en bas */
  .hero{padding:20px 0 28px; min-height:calc(100vh - 58px); min-height:calc(100svh - 58px); align-items:stretch;}
  .hero .wrap{display:flex; flex-direction:column;}
  .hero-grid{flex:1; grid-template-rows:1fr auto; gap:20px;}
  .hero-visual{justify-content:flex-start; padding:150px 0 24px;}
  .hero-actions{margin-top:28px; gap:10px;}
  .btn-primary{font-size:12px; padding:15px 22px; letter-spacing:0.06em;}
  .btn-ghost{font-size:12px; padding:15px 8px;}
  h1.display{font-size:clamp(40px, 12.5vw, 56px);}

  /* logo centré (le décalage « desktop » est annulé) + mentions autour */
  .hero-visual #hero-img{transform:none !important; max-width:48% !important; margin:0 auto !important;}
  .survey-tag{font-size:12.5px !important; max-width:105px !important;}
  .survey-tag.left{left:0 !important; top:190px !important;}
  .survey-tag.right{right:0 !important; top:158px !important;}

  /* ---------- IMAGES DU HERO (slider) ----------
     Une photo horizontale ne peut pas remplir un écran vertical sans être
     coupée. Solution : la MÊME photo sert deux fois :
       - en fond, agrandie et floutée → remplit tout le hero ;
       - au premier plan, entière et nette, calée sous le header.
     Variante « plein écran rogné » : supprimez les 2 blocs ::before/::after
     ci-dessous et gardez seulement  background-size:cover; background-position:58% center; */
  .hero-slider-bg .slide{background-repeat:no-repeat;}
  .hero-slider-bg .slide::before,
  .hero-slider-bg .slide::after{content:''; position:absolute; inset:0; background-image:inherit; background-repeat:no-repeat;}
  .hero-slider-bg .slide::before{background-size:cover; background-position:center; filter:blur(22px) brightness(0.6); transform:scale(1.25);}
  .hero-slider-bg .slide::after{background-size:contain; background-position:center top;}

  /* ---------- ÉDITION ONE + DÉCOUVRIR JUWU : 2 colonnes ---------- */
  .gallery-pair,
  .sport-grid{grid-template-columns:repeat(2, minmax(0, 1fr)); gap:22px 14px;}
  .gallery-pair{margin-bottom:30px;}
  .gallery-block{gap:10px;}

  .product{padding:40px 0 20px;}
  .section-head{margin-bottom:20px;}
  .section-head h2.display,
  .sport-head h2.display{font-size:20px; margin-bottom:12px;}

  /* fiche produit compacte */
  .tab{font-size:8px; padding:6px 8px; letter-spacing:0.04em; gap:6px; max-width:100%;}
  .tab .swatch{width:6px; height:6px;}
  .product-thumbnails{gap:4px;}
  .product-thumb{width:28px; height:34px; border-width:1px;}
  .product-card-info{gap:8px; padding-top:8px;}
  .product-card-title{font-size:14px;}
  .product-card-subtitle{font-size:11px;}
  .product-card-pricing{gap:6px; flex-wrap:wrap;}
  .price-current{font-size:16px;}
  .price-old{font-size:10px;}
  .discount-badge{font-size:9px; padding:2px 4px;}
  .product-sizes{gap:3px; margin-top:2px;}
  .product-size-btn{height:26px; font-size:8px; padding:0; min-width:0; border-radius:3px;}
  .product-qty-add-row{gap:6px;}
  .product-qty-stepper{height:34px;}
  .product-qty-stepper button{width:18px; font-size:12px;}
  .product-qty-stepper span{width:16px; font-size:11px;}
  .product-add-btn{height:34px; font-size:9px; letter-spacing:0.02em; white-space:normal; line-height:1.1; padding:0 4px;}
  .product-card-specs{gap:6px; padding-top:12px;}
  .product-card-spec{gap:6px; font-size:9px;}
  .product-card-spec .k{min-width:52px; font-size:7px;}

  /* Découvrir JUWU compact */
  .sport-section{padding:30px 0 50px;}
  .sport-head{margin-bottom:24px;}
  .btn-start-now{font-size:11px; padding:10px 14px; margin-bottom:12px;}
  .sport-card{padding:6px; gap:8px;}
  .sport-main-img{height:130px;}
  .sport-thumbnails{gap:4px;}
  .sport-thumb{width:24px; height:24px; border-width:1px;}
  .sport-card h3{font-size:13px; margin-top:2px;}
}