/* NB : le thème fixe 1rem = 10px ; toutes les mesures ci-dessous sont donc en px (équivalent maquette à 16px).
   ═══════════════════════════════════════════════════════
   ORÉVALIE · pages intérieures — reproduction de la maquette
   (en-tête, collection, cartes produit, fiche produit, panier, recherche, listes, tiroirs)
   Aucune couleur figée : tout lit les variables posées par head-config (Paramètres du thème).
   Le formulaire de commande express et ses réglages ne sont pas touchés (habillage seulement).
   ═══════════════════════════════════════════════════════ */

body{
  --mq-ease: cubic-bezier(.2,.7,.2,1);
  --mq-sale: #FA3F3F;
  --mq-card-r: var(--ov-card-radius, 18px);
  --mq-t-h1: max(12px, clamp(48px, 37.28px + 2.85vw, 92px) * .9);
  --mq-t-h6: max(12px, clamp(19px, 17.76px + .32vw, 24px) * .9);
  --mq-t-sm: 12px; --mq-t-lg: 15px;
}
@media (min-width:700px){ body{ --mq-t-lg: 16px; } }

/* ── EN-TÊTE : logo à gauche · liens au centre · outils à droite (desktop) ── */
@media (min-width:1025px){
  body:not(#mq) yc-header{ grid-template-columns: 1fr auto 1fr; }
  body:not(#mq) yc-header .logo{ grid-column:1; grid-row:1; justify-content:flex-start; }
  body:not(#mq) yc-header .nav-left{ grid-column:2; grid-row:1; justify-content:center; gap:2.4px; }
  body:not(#mq) yc-header .nav-right{ grid-column:3; grid-row:1; }
}
@media (min-width:761px) and (max-width:1024px){
  body:not(#mq) yc-header:not([data-tablet-mobile]){ grid-template-columns: 1fr auto 1fr; }
  body:not(#mq) yc-header:not([data-tablet-mobile]) .logo{ grid-column:1; grid-row:1; justify-content:flex-start; }
  body:not(#mq) yc-header:not([data-tablet-mobile]) .nav-left{ grid-column:2; grid-row:1; justify-content:center; }
  body:not(#mq) yc-header:not([data-tablet-mobile]) .nav-right{ grid-column:3; grid-row:1; }
}
body:not(#mq) yc-header .links > ul{ gap:2.4px; }
body:not(#mq) yc-header .links > ul > li > a.link,
body:not(#mq) yc-header .extra-links a{
  padding:8px 14.4px; border-radius:99px; font-size:var(--mq-t-sm); text-transform:lowercase; letter-spacing:0;
  transition: background .2s;
}
body:not(#mq) yc-header .links > ul > li > a.link:hover,
body:not(#mq) yc-header .extra-links a:hover{ background: color-mix(in srgb, currentColor 10%, transparent); }
body:not(#mq) yc-header .links > ul > li .sub-links{
  border-radius:18px; border:1px solid var(--line); background:var(--paper); box-shadow:0 24px 50px -30px rgb(0 0 0 / .4);
  padding:9.6px;
}
body:not(#mq) yc-header .links > ul > li .sub-links .sub-link a{ border-radius:12px; text-transform:lowercase; font-size:var(--mq-t-lg); }

/* ── EN-TÊTES DE PAGE : fil d'Ariane · grand titre minuscule · texte ── */
body:not(#mq) .orv-listing .breadcrumb, body:not(#mq) .orv-product-section .breadcrumb, body:not(#mq) .all-collections-wrap .breadcrumb,
body:not(#mq) .cart-crumbs{ font-size:var(--mq-t-sm); text-transform:lowercase; opacity:.7; }
body:not(#mq) .orv-listing .breadcrumb a, body:not(#mq) .orv-product-section .breadcrumb a{ text-transform:lowercase; }
body:not(#mq) .cart-crumbs{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:20px; opacity:.7; }
body:not(#mq) .cart-crumbs a:hover{ text-decoration:underline; text-underline-offset:3px; }
body:not(#mq) .page-heading{ padding-block: 20px 28px; }
body:not(#mq) .page-heading h1{
  font-size: var(--mq-t-h1); line-height:.94; letter-spacing:-.05em; font-weight:400; margin:8px 0 0; text-transform:lowercase;
  font-family:var(--font-heading, var(--font-family));
}
body:not(#mq) .page-heading > p{ margin-top:16px; max-width:52ch; font-size:var(--mq-t-lg); line-height:1.5; opacity:.8; }
body:not(#mq) .page-heading .eyebrow:empty{ display:none; }

/* ── COLLECTION · RECHERCHE : barre d'outils (pastilles, compteur, tri) ── */
body:not(#mq) .product-listing .filter-area{
  padding-block:16px; margin-bottom:24px; gap:16px; flex-wrap:wrap; border-block:1px solid var(--line);
}
body:not(#mq) .filter-tabs{ flex-wrap:nowrap; overflow-x:auto; max-width:100%; gap:8px; }
body:not(#mq) .filter-tabs .filter{
  padding:7.2px 14.4px; border:1px solid var(--line); border-radius:99px; font-size:var(--mq-t-sm); text-transform:lowercase;
  transition: background .2s, color .2s;
}
body:not(#mq) .filter-tabs .filter:not(.active):hover{ background:var(--sand); }
body:not(#mq) .filter-tabs .filter.active{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
body:not(#mq) .toolbar-right, body:not(#mq) .product-listing .filter-area .sort-box{ display:flex; align-items:center; gap:16px; font-size:var(--mq-t-sm); }
body:not(#mq) .toolbar-right{ margin-left:auto; }
body:not(#mq) .product-listing .filter-area > .result-count{ margin:0 auto 0 0; }
body:not(#mq) .result-count{ margin:0; font-size:var(--mq-t-sm); opacity:.55; color:inherit; }
body:not(#mq) .sort-box .select-trigger label, body:not(#mq) .sort-box .yc-btn{ border-radius:99px; border-color:var(--line); font-size:var(--mq-t-sm); text-transform:lowercase; }
body:not(#mq) .product-listing .products-grid{ gap: 40px 16px; }
@media (max-width:699px){ body .product-listing .products-grid{ gap:28px 12px; } }
body:not(#mq) .product-listing .products-area yc-pagination > a{ border-radius:99px; }
body:not(#mq) .product-listing .products-area yc-pagination > a[data-active]{ background:var(--ink); color:var(--paper); }

/* ── CARTE PRODUIT (pcard) ── */
body:not(#mq) .product-card{ position:relative; display:flex; flex-direction:column; gap:14.4px; background:transparent; border:0; box-shadow:none; }
body:not(#mq) .product-card .img-link{
  position:relative; display:block; aspect-ratio:4/5; border-radius:var(--mq-card-r); overflow:hidden; background:var(--sand);
}
body:not(#mq) .product-card .img-link img{ width:100%; height:100%; object-fit:cover; transition: transform 1s var(--mq-ease); }
body:not(#mq) .product-card:hover .img-link img{ transform:scale(1.04); }
body:not(#mq) .product-card .card-placeholder, body:not(#mq) .product-card .img-link > svg{ width:100%; height:100%; }
body:not(#mq) .product-card .badge{ position:absolute; top:12px; left:12px; right:auto; bottom:auto; z-index:2; display:flex; gap:4.8px; }
body:not(#mq) .product-card .badge span{
  font-size:11px; padding:3.52px 9.6px; border-radius:99px; background:#fff; color:var(--ink); text-transform:lowercase; font-weight:500; line-height:1.3;
}
body:not(#mq) .product-card .badge--sale span{ background:var(--mq-sale); color:#fff; }
body:not(#mq) .product-card .heart{
  position:absolute; top:8px; right:8px; left:auto; z-index:2; width:40px; height:40px; display:grid; place-items:center;
  border-radius:50%; background:transparent; border:0; color:#fff; transition: background .2s;
}
body:not(#mq) .product-card .heart:hover{ background:rgb(255 255 255 / .25); }
body:not(#mq) .product-card .heart svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.4; }
body:not(#mq) .product-card .heart[aria-pressed="true"] svg{ fill:var(--mq-sale); stroke:var(--mq-sale); }
body:not(#mq) .product-card .info{ display:flex; flex-direction:column; gap:5.6px; padding:0; }
body:not(#mq) .product-card .card-meta{ display:none; }
body:not(#mq) .product-card .card-title{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; flex-wrap:nowrap; }
body:not(#mq) .product-card .card-title .title{
  font-weight:500; line-height:1.2; text-transform:lowercase; font-family:var(--font-family);
}
body:not(#mq) .product-card .card-title .title:hover{ text-decoration:underline; text-underline-offset:3px; }
body:not(#mq) .product-card .price{ display:flex; gap:8px; align-items:baseline; white-space:nowrap; }
body:not(#mq) .product-card .price .compare-at{ opacity:.45; font-size:var(--mq-t-sm); text-decoration:line-through; }
/* bouton « ajouter » : glisse sur le bas de la photo au survol */
body:not(#mq) .products-grid .product-card{ container-type:inline-size; }
body:not(#mq) .product-card .info > :is(.card-add, .yc-btn, yc-add-to-cart, yc-quick-view, yc-modal, button:not(.heart)){
  position:absolute; left:12px; right:12px; top:calc(125cqw - 56px); z-index:3; width:auto;
  border-radius:99px; min-height:40px; justify-content:center; text-transform:lowercase;
  opacity:0; transform:translateY(8px); pointer-events:none; transition: opacity .35s var(--mq-ease), transform .45s var(--mq-ease);
  background:var(--ink); color:var(--paper); border:1px solid var(--ink);
}
body:not(#mq) .product-card:hover .info > :is(.card-add, .yc-btn, yc-add-to-cart, yc-quick-view, yc-modal, button:not(.heart)),
body:not(#mq) .product-card:focus-within .info > :is(.card-add, .yc-btn, yc-add-to-cart, yc-quick-view, yc-modal, button:not(.heart)){
  opacity:1; transform:none; pointer-events:auto;
}
@media (hover:none){
  body:not(#mq) .product-card .info > :is(.card-add, .yc-btn, yc-add-to-cart, yc-quick-view, yc-modal, button:not(.heart)){
    position:static; opacity:1; transform:none; pointer-events:auto; width:100%; margin-top:4px;
    background:transparent; color:var(--ink);
  }
}

/* ── FICHE PRODUIT ── */
body:not(#mq) .orv-product-section{ background:var(--section-bg-color, var(--paper)); }
body:not(#mq) .orv-product-section .orv-product-container{ padding-block:20px 48px; }
body:not(#mq) .orv-product-section{ --product-title-min:34px; --product-title-vw:3.6vw; --product-title-max:68px; }
body:not(#mq) yc-product.single-product{ display:grid; gap:28px; background:transparent; }
@media (min-width:900px){
  body:not(#mq) yc-product.single-product{ grid-template-columns: 7fr 5fr; gap:64px; align-items:start; }
  body:not(#mq) yc-product.single-product yc-product-info{ position:sticky; top:calc(var(--header-h, 80px) + 24px); }
}
body:not(#mq) yc-product-media .main-image{ border-radius:18px; overflow:hidden; background:var(--sand); aspect-ratio:4/5; position:relative; }
body:not(#mq) yc-product-media .main-image img{ width:100%; height:100%; object-fit:cover; }
body:not(#mq) yc-product-media .gallery{ margin-top:12px; }
body:not(#mq) yc-product-media .gallery img{ border-radius:12px; }
body:not(#mq) yc-product-media .gallery-note{ opacity:.55; font-size:var(--mq-t-sm); margin-top:8px; }
body:not(#mq) yc-product-info{ display:grid; gap:17.6px; align-content:start; min-width:0; }
body:not(#mq) yc-product-info .product-title{
  font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase;
  font-size: clamp(var(--product-title-min), var(--product-title-vw), var(--product-title-max)); line-height:.9; letter-spacing:-.05em; margin:0;
}
body:not(#mq) yc-product-info .rating{ display:flex; align-items:center; gap:8px; font-size:var(--mq-t-sm); opacity:.8; }
body:not(#mq) yc-product-info .price{ display:flex; gap:12px; align-items:baseline; margin:0; }
body:not(#mq) yc-product-info .price .current{
  font-family:var(--font-heading, var(--font-family)); font-size:var(--mq-t-h6); letter-spacing:-.03em; margin:0; color:var(--ov-price, var(--ink));
}
body:not(#mq) yc-product-info .price:has(.compare-at) .current{ color:var(--ov-price-sale, var(--mq-sale)); }
body:not(#mq) yc-product-info .price .compare-at{ margin:0; font-size:var(--mq-t-lg); opacity:.45; text-decoration:line-through; }
body:not(#mq) yc-product-info .description{
  background:transparent; border:0; border-radius:0; padding:0; font-size:var(--mq-t-lg); line-height:1.55; opacity:.85; max-width:52ch;
}
body:not(#mq) yc-product-info .description p{ margin:0; }
body:not(#mq) yc-product-info .variant .label{ display:block; font-size:var(--mq-t-sm); opacity:.6; text-transform:lowercase; margin-bottom:8px; }
body:not(#mq) yc-product-info yc-variant label, body:not(#mq) yc-product-info yc-variant .option, body:not(#mq) yc-product-info yc-variant button{
  border-radius:99px;
}
body:not(#mq) yc-product-info .product-perks{ display:grid; gap:8px; font-size:var(--mq-t-sm); padding-block:8px; }
body:not(#mq) yc-product-info details.accordion{ border-top:1px solid var(--line); border-radius:0; background:transparent; }
body:not(#mq) yc-product-info details.accordion:last-of-type{ border-bottom:1px solid var(--line); }
body:not(#mq) yc-product-info details.accordion summary{
  display:flex; justify-content:space-between; align-items:center; padding:16px 0; cursor:pointer; list-style:none;
}
body:not(#mq) yc-product-info details.accordion summary::-webkit-details-marker{ display:none; }
body:not(#mq) yc-product-info details.accordion summary .title{
  font-family:var(--font-family); font-size:var(--mq-t-lg); font-weight:500; text-transform:lowercase; letter-spacing:0; margin:0; line-height:1.2;
}
body:not(#mq) yc-product-info details.accordion .content{ padding-bottom:17.6px; line-height:1.55; opacity:.85; max-width:56ch; }
body:not(#mq) yc-product-info .stock, body:not(#mq) yc-product-info .inventory{ font-size:var(--mq-t-sm); }

/* avis et produits associés : titres au gabarit */
body:not(#mq) yc-reviews .rating-area{ border-radius:18px; }
body:not(#mq) .related-products .section-head h2, body:not(#mq) .related-products h2{ font-size:max(12px, clamp(32px, 26.24px + 1.55vw, 56px) * .9); line-height:.9; letter-spacing:-.05em; text-transform:lowercase; font-weight:400; }

/* ── PANIER ── */
body:not(#mq) .cart{ display:grid; gap:40px; }
@media (min-width:900px){
  body:not(#mq) .cart{ grid-template-columns: 1fr 384px; gap:64px; align-items:start; }
  body:not(#mq) .cart .summary{ position:sticky; top:calc(var(--header-h, 80px) + 24px); }
}
body:not(#mq) .cart .content h1.title{
  font-family:var(--font-heading, var(--font-family)); font-size:var(--mq-t-h1); line-height:.94; letter-spacing:-.05em; font-weight:400; text-transform:lowercase; margin:0 0 24px;
}
body:not(#mq) .cart .list .item{ border-bottom:1px solid var(--line); padding-block:16px; }
body:not(#mq) .cart .list .item .image{ width:96px; aspect-ratio:4/5; border-radius:12px; overflow:hidden; background:var(--sand); }
body:not(#mq) .cart .list .item .image img{ width:100%; height:100%; object-fit:cover; }
body:not(#mq) .cart .list .item .heading a, body:not(#mq) .cart .list .item .heading .title{ font-size:var(--mq-t-lg); font-weight:500; line-height:1.2; text-transform:lowercase; }
body:not(#mq) .cart yc-quantity-control{ border:1px solid var(--line); border-radius:99px; }
body:not(#mq) .cart .summary{
  display:grid; gap:17.6px; align-content:start; padding:24px; border:1px solid var(--line); border-radius:20px; background:#fff; border-top-width:1px;
}
body:not(#mq) .cart .summary .box{ background:transparent; border:0; padding:0; box-shadow:none; }
body:not(#mq) .cart .summary h2{ font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase; letter-spacing:-.04em; font-size:25.6px; margin:0; }
body:not(#mq) .cart .summary .coupon input{ border:1px solid var(--line); border-radius:99px; padding:10.4px 16px; background:transparent; }
body:not(#mq) .cart .summary .coupon .yc-btn{ border-radius:99px; }
body:not(#mq) .cart .summary .total{ font-size:var(--mq-t-lg); font-weight:600; }
body:not(#mq) .cart .summary #checkout-button{ border-radius:99px; min-height:48px; text-transform:lowercase; }

/* ── LISTE DES COLLECTIONS ── */
body:not(#mq) .all-collections .collection-card .cover{ border-radius:var(--mq-card-r); overflow:hidden; aspect-ratio:4/5; background:var(--sand); }
body:not(#mq) .all-collections .collection-card .name{ font-family:var(--font-heading, var(--font-family)); text-transform:lowercase; letter-spacing:-.04em; font-weight:400; }

/* ── TIROIRS (panier, menu) ── */
body:not(#mq) yc-drawer, body:not(#mq) .cart-drawer{ font-family:var(--font-family); }
body:not(#mq) yc-drawer [data-drawer-panel], body:not(#mq) yc-drawer .panel, body:not(#mq) .cart-drawer .panel{ background:var(--paper); color:var(--ink); }

/* ── RÉASSURANCE en pied de page (reprise de la maquette) ── */
body:not(#mq) main > .mq-trust:last-of-type{ border-bottom:1px solid var(--line); }

@media (prefers-reduced-motion: reduce){
  body:not(#mq) .product-card .img-link img, body:not(#mq) .product-card .info > *{ transition:none; }
}

/* ── PAGES DE CONTENU (livraison, à propos…) ── */
body:not(#mq) yc-section > yc-section-head[data-position]{ text-align:left; justify-content:flex-start; padding-inline:var(--pad); max-width:var(--container-max); margin-inline:auto; }
body:not(#mq) yc-section > yc-section-head h1{ font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase; letter-spacing:-.05em; line-height:.94; font-size:var(--mq-t-h1); text-align:left; }
body:not(#mq) yc-section > .page{ max-width:var(--container-max); margin-inline:auto; padding-inline:var(--pad); }
body:not(#mq) yc-section > .page h2{ font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase; letter-spacing:-.04em; line-height:.95; font-size:var(--mq-t-h6); margin:2em 0 .5em; }
body:not(#mq) yc-section > .page p{ font-size:var(--mq-t-lg); line-height:1.55; max-width:62ch; opacity:.88; }

/* ── ÉTAPE 12 : carte produit, fiche produit et typographie au gabarit exact de la maquette ── */
body:not(#mq){ --mq-t-h3: max(12px, clamp(32px, 26.24px + 1.55vw, 56px) * .9); --mq-t-h2: max(12px, clamp(40px, 31.2px + 2.33vw, 76px) * .9); }

/* carte : ancien prix → prix → note ; 2e photo au survol */
body:not(#mq) .product-card .info{ gap:2px; }
body:not(#mq) .product-card .price .compare-at{ order:-1; opacity:.45; color:inherit; font-size:inherit; text-decoration:line-through; }
body:not(#mq) .product-card .price .current{ font-weight:400; }
body:not(#mq) .product-card .badge span{ letter-spacing:0; line-height:1.4; }
body:not(#mq) .product-card .card-rating{ margin-top:0; }
body:not(#mq) .product-card .card-rating .rating{ display:flex; align-items:center; gap:4px; font-size:12px; opacity:.8; line-height:1.4; }
body:not(#mq) .product-card .card-rating .stars{ display:flex; align-items:center; gap:2px; color:var(--brand-gold); }
body:not(#mq) .product-card .card-rating .stars svg{ width:12.8px; height:12.8px; }
body:not(#mq) .product-card .card-rating .average{ margin-left:2px; }
body:not(#mq) .product-card .img-link .hover-img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition: opacity .6s var(--mq-ease); }
body:not(#mq) .product-card:hover .img-link .hover-img{ opacity:1; }
@media (hover:none){ body:not(#mq) .product-card .img-link .hover-img{ display:none; } }

/* textes courants : encre pleine, interligne 1,4, fil d'Ariane à 70 % */
body:not(#mq) .breadcrumb, body:not(#mq) .breadcrumb a, body:not(#mq) .cart-crumbs{ color:var(--ink); line-height:1.4; }
body:not(#mq) .breadcrumb, body:not(#mq) .cart-crumbs{ opacity:.7; }
body:not(#mq) .page-heading h1, body:not(#mq) .cart .content h1.title{ line-height:.9; }
body:not(#mq) .result-count, body:not(#mq) .filter-tabs .filter, body:not(#mq) .sort-box{ line-height:1.4; }

/* fiche produit : titre h2 de la maquette, prix, description, variantes, perks, accordéons */
body:not(#mq) .orv-product-section{ --product-title-min:36px; --product-title-vw:calc(28.08px + 2.097vw); --product-title-max:68.4px; }
body:not(#mq) yc-product-info .product-title{ line-height:.9; }
body:not(#mq) yc-product-info .rating{ color:var(--ink); opacity:.8; line-height:1.4; }
body:not(#mq) yc-product-info .rating .stars{ color:var(--brand-gold); gap:2px; display:flex; }
body:not(#mq) yc-product-info .rating .stars svg{ width:12.8px; height:12.8px; }
body:not(#mq) yc-product-info .price{ align-items:baseline; gap:8px; }
body:not(#mq) yc-product-info .price .current{ font-weight:400; }
body:not(#mq) yc-product-info .price .compare-at{ order:-1; font-family:var(--font-heading, var(--font-family)); letter-spacing:-.03em; color:var(--ink); opacity:.45; text-decoration:line-through; }
body:not(#mq) yc-product-info .description, body:not(#mq) yc-product-info .description p{ color:var(--ink); }
body:not(#mq) yc-product-info .variant{ display:grid; gap:8px; }
body:not(#mq) yc-product-info .variant .label{ margin:0; color:var(--ink); opacity:.6; font-size:12px; line-height:1.4; text-transform:lowercase; }
body:not(#mq) yc-variant{ display:flex; flex-wrap:wrap; gap:8px; }
body:not(#mq) yc-variant .variant-item{
  padding:9.6px 17.6px; border:1px solid var(--line); border-radius:99px; background:transparent; color:var(--ink);
  font-size:13px; line-height:1.4; min-height:0; height:auto; width:auto; cursor:pointer; transition: background .2s, color .2s, border-color .2s;
}
body:not(#mq) yc-variant .variant-item:has(input:checked){ background:var(--ink); color:#fff; border-color:var(--ink); }
body:not(#mq) yc-product-info .product-perks{ display:grid; gap:8px; font-size:12px; line-height:1.4; color:var(--ink); }
body:not(#mq) yc-product-info .product-perks > span{ display:flex; align-items:center; gap:10px; }
body:not(#mq) yc-product-info .product-perks .orv-icon{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.2; flex:none; }
body:not(#mq) yc-product-info details.accordion summary .title{ line-height:1.4; color:var(--ink); }
body:not(#mq) yc-product-info details.accordion .content, body:not(#mq) yc-product-info details.accordion .content p{ color:var(--ink); }
body:not(#mq) yc-product-info .buy-button .yc-btn, body:not(#mq) yc-product-info .buy-button button[type=submit]{ text-transform:lowercase; }

/* galerie : vignettes carrées arrondies, vignette active cerclée */
body:not(#mq) yc-product-media .gallery .image{ display:block; aspect-ratio:1; border-radius:12px; overflow:hidden; opacity:.55; outline:2px solid transparent; outline-offset:2px; transition: opacity .2s, outline-color .2s; }
body:not(#mq) yc-product-media .gallery .image img{ width:100%; height:100%; object-fit:cover; }
body:not(#mq) yc-product-media .gallery .image:hover{ opacity:.85; }
body:not(#mq) yc-product-media .gallery .image:has(input:checked){ opacity:1; outline-color:var(--ink); }
body:not(#mq) yc-product-media .gallery .image input{ position:absolute; opacity:0; pointer-events:none; }

/* avis clientes : titre h3 + cartes arrondies (fond blanc comme la maquette) */
body:not(#mq) .mq-reviews-title{ font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase; letter-spacing:-.05em; line-height:.9; font-size:var(--mq-t-h3); margin:0 auto 32px; max-width:var(--container-max); padding-inline:var(--pad); }
body:not(#mq) yc-reviews .reviews-area{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:800px){ body:not(#mq) yc-reviews .reviews-area{ grid-template-columns:repeat(3, 1fr); } }
body:not(#mq) yc-reviews .review-card{ padding:24px; border:1px solid var(--line); border-radius:18px; display:grid; gap:14px; align-content:start; background:var(--paper); }
body:not(#mq) yc-reviews .review-card .content p{ font-family:var(--font-heading, var(--font-family)); letter-spacing:-.03em; line-height:1.1; font-size:var(--mq-t-h6); }
body:not(#mq) yc-reviews .review-card .date{ opacity:.6; }

/* titres de section (produits associés…) : h3 de la maquette */
body:not(#mq) yc-section > yc-section-head h2{ font-family:var(--font-heading, var(--font-family)); font-weight:400; text-transform:lowercase; letter-spacing:-.05em; line-height:.9; font-size:var(--mq-t-h3); }
body:not(#mq) yc-section > yc-section-head p{ font-size:13px; line-height:1.4; opacity:.8; color:var(--ink); }

/* panier : titre de ligne */
body:not(#mq) .cart .list .item .heading [data-cart-item=title], body:not(#mq) .cart .list .item .heading a{ font-size:16px; font-weight:500; line-height:1.2; text-transform:lowercase; color:var(--ink); }

/* pied de page : titres et liens comme la maquette (Instrument Sans) */
body:not(#mq) footer.orv-footer .footer-col h3{ font-family:var(--font-family); font-size:12px; font-weight:500; letter-spacing:0; line-height:1.4; text-transform:lowercase; opacity:.7; margin-bottom:16px; }
body:not(#mq) footer.orv-footer .footer-col a{ font-size:16px; line-height:1.4; text-transform:lowercase; color:var(--ink); margin:6px 0; }
@media (max-width:760px){ body:not(#mq) footer.orv-footer .footer-col h3{ font-size:12px; } body:not(#mq) footer.orv-footer .footer-col a{ font-size:15px; } }

/* badge : une seule pastille (le conteneur du thème n'a plus de fond) */
body:not(#mq) .product-card .badge{ background:none; border:0; padding:0; box-shadow:none; border-radius:0; }

/* fiche produit : 4 vignettes par ligne, chevron des accordéons comme la maquette */
body:not(#mq) yc-product-media .gallery yc-slider{ --slider-per-page:4 !important; --slider-max-items-lg:4 !important; --slider-max-items-md:4 !important; --slider-gap:12 !important; }
body:not(#mq) yc-product-info .accordion summary .icon{ display:block; width:15px; height:15px; flex:none; transition:transform .3s var(--mq-ease); }
body:not(#mq) yc-product-info .accordion summary::after{ content:none; }
body:not(#mq) yc-product-info .accordion[open] summary .icon{ transform:rotate(180deg); }
body:not(#mq) yc-product-info .accordion summary{ padding:16px 0; }
body:not(#mq) yc-product-info .accordion summary .title{ font-size:16px; font-weight:500; }

/* vignettes : 4 par ligne, pleine largeur (comme la maquette) */
body:not(#mq) yc-product-media .gallery yc-slider [data-slider]{ display:grid !important; grid-template-columns:repeat(4, 1fr) !important; gap:12px !important; transform:none !important; width:100% !important; }
body:not(#mq) yc-product-media .gallery yc-slider yc-slider-item{ width:auto !important; min-width:0 !important; flex:none !important; margin:0 !important; }
body:not(#mq) yc-product-media .gallery yc-slider [data-slider-box]{ overflow:visible; }
body:not(#mq) yc-product-media .gallery yc-slider :is(.arrow, [data-arrow], button[aria-label*="rev"], button[aria-label*="ext"]){ display:none; }

/* mobile / tablette : même ordre que la maquette (note, prix, description, variantes, achat, avantages, accordéons) */
@media (max-width:1024px){
  body:not(#mq) .single-product yc-product-info .description, body:not(#mq) .single-product:not([data-desc-late]) yc-product-info .description{ order:3; }
  body:not(#mq) .single-product yc-product-info yc-variants{ order:4; }
  body:not(#mq) .single-product yc-product-info .buy-button{ order:5; }
  body:not(#mq) .single-product yc-product-info .product-perks{ order:6; }
  body:not(#mq) .single-product yc-product-info .accordion{ order:7; }
}

/* alignements : le conteneur de la section porte déjà la marge latérale */
body:not(#mq) yc-section > yc-section-head:has(+ .products){ padding-inline:0; }
body:not(#mq) .mq-reviews-title{ padding-inline:0; margin-inline:0; max-width:none; }
body:not(#mq) yc-product-media .gallery .image{ width:100%; padding:0; }
body:not(#mq) yc-product-media .gallery yc-slider yc-slider-item{ max-width:none !important; width:100% !important; justify-self:stretch; }

/* ── ÉTAPE 13 : marges, fil d'Ariane, cartes, fiche produit, panier — mesurés sur la maquette ── */
body:not(#mq){ --pad: var(--mq-gutter-m, 20px); }
@media (min-width:700px){ body:not(#mq){ --pad: var(--mq-gutter-t, 32px); } }
@media (min-width:1399px){ body:not(#mq){ --pad: var(--mq-gutter-d, 48px); } }
body:not(#mq) .breadcrumb{ padding:0; margin:0 0 20px; }
body:not(#mq) .breadcrumb ol{ margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
body:not(#mq) .product-card .card-rating .rating{ line-height:16.8px; min-height:17px; }
body:not(#mq) yc-product-info yc-variants{ padding:0; gap:8px; }
body:not(#mq) yc-product-info .product-perks{ border:0; padding-top:8px; padding-bottom:8px; margin:0; }

/* panier : titre pleine largeur, puis liste + résumé (comme la maquette) */
@media (min-width:900px){
  body:not(#mq) .cart:not([data-is-empty]){ grid-template-columns: 1fr 384px; column-gap:64px; row-gap:0; }
  body:not(#mq) .cart:not([data-is-empty]) > .content{ display:contents; }
  body:not(#mq) .cart:not([data-is-empty]) .cart-crumbs, body:not(#mq) .cart:not([data-is-empty]) h1.title{ grid-column:1 / -1; }
  body:not(#mq) .cart:not([data-is-empty]) .list{ grid-column:1; grid-row:3; }
  body:not(#mq) .cart:not([data-is-empty]) > .summary{ grid-column:2; grid-row:3; }
}

/* vignettes : carrées (le curseur du thème fixait une hauteur de 82 px) */
body:not(#mq) yc-product-media .gallery yc-slider, body:not(#mq) yc-product-media .gallery .slider-area, body:not(#mq) yc-product-media .gallery [data-slider-box], body:not(#mq) yc-product-media .gallery [data-slider]{ height:auto !important; }
body:not(#mq) yc-product-media .gallery .image{ height:auto !important; aspect-ratio:1 !important; }
body:not(#mq) yc-product-media{ display:grid; gap:12px; align-content:start; }
/* cartes, pastilles de filtre, titres : détails mesurés */
body:not(#mq) .product-card .heart{ color:var(--ink); }
body:not(#mq) .product-card .card-title .price{ margin:0; }
body:not(#mq) .filter-tabs .filter{ display:flex; align-items:center; justify-content:center; gap:5.6px; text-align:center; }
body:not(#mq) .page-heading h1{ margin:0; }
body:not(#mq) .cart .content h1.title{ margin-bottom:0; }
@media (max-width:1024px){ body:not(#mq) .orv-product-section .breadcrumb{ display:block !important; } }

/* ── ÉTAPE 14 : espacements verticaux mesurés sur la maquette ── */
body:not(#mq) .breadcrumb, body:not(#mq) .breadcrumb *, body:not(#mq) .cart-crumbs{ line-height:1.4; }
body:not(#mq) .orv-listing{ padding-top:32px; }
@media (min-width:1025px){ body:not(#mq) .page-heading{ padding-top:0; } }
/* grilles : écarts pilotés par les réglages (catalogue, mobile) */
body:not(#mq) .product-listing .products-grid{ gap: var(--catalog-row-gap) var(--grid-gap); }
@media (max-width:699px){ body:not(#mq) .product-listing .products-grid{ gap: var(--catalog-row-gap-mobile) var(--grid-gap-mobile-x); } }
/* carte : le prix passe sous le nom quand la place manque (prix longs en MAD, titre sur 2 lignes) */
body:not(#mq) .product-card .card-title{ flex-wrap:wrap; row-gap:2px; }
body:not(#mq) .product-card .card-title .title{ flex:1 1 96px; min-width:96px; }
body:not(#mq) .product-card .card-title .price{ flex:0 0 auto; }
/* fiche produit : colonne d'infos en grille, écart 17,6 px entre blocs (comme la maquette) */
body:not(#mq) yc-product-info{ display:grid; gap:17.6px; align-content:start; }
body:not(#mq) yc-product-info > *{ margin-top:0; margin-bottom:0; }
body:not(#mq) .pdp-badges{ display:flex; gap:4.8px; }
body:not(#mq) .pdp-badges span{ font-size:11px; line-height:1.4; padding:3.5px 9.6px; border-radius:99px; background:var(--mq-sale); color:#fff; text-transform:lowercase; font-weight:500; }
@media (min-width:761px) and (max-width:1024px){ body:not(#mq) .single-product yc-product-media .main-image{ max-height:none; } }
@media (max-width:1024px){ body:not(#mq) .single-product yc-product-media .main-image{ border-radius:18px; } }
/* panier : pas d'écart supplémentaire entre fil d'Ariane et titre */
body:not(#mq) .cart .content{ gap:0; display:block; }
body:not(#mq) .cart .content h1.title{ margin-top:0; }

/* carte : aucun espace parasite entre photo, nom/prix et note (mesuré sur la maquette) */
body:not(#mq) .product-card .info{ gap:0; row-gap:0; padding-top:0; }
body:not(#mq) .product-card .info .card-title{ margin:0; padding:0; }
body:not(#mq) .product-card .card-rating{ margin:0; padding:0; }
body:not(#mq) yc-product-media .gallery{ margin-top:0; }
@media (max-width:1024px){ body:not(#mq) .pdp-badges{ order:-1; } }

/* ── ÉTAPE 15 : derniers écarts mesurés (mobile, tablette) ── */
body:not(#mq) .page-heading{ padding-top:0; }
body:not(#mq) .breadcrumb a, body:not(#mq) .breadcrumb li, body:not(#mq) .breadcrumb span, body:not(#mq) .cart-crumbs a, body:not(#mq) .cart-crumbs span{ font-size:12px; line-height:1.4; }
body:not(#mq) yc-product-info .product-perks{ display:grid; grid-template-columns:1fr; gap:8px; }
body:not(#mq) yc-product-info .product-perks > span{ display:flex; flex-direction:row; align-items:center; justify-content:flex-start; text-align:left; padding:0; border:0; gap:10px; }
/* en dessous de 900 px la maquette n'a pas de vignettes (balayage + pastilles) : flèches et compteur du thème suffisent */
@media (max-width:899px){ body:not(#mq) yc-product-media .gallery{ display:none; } }

/* panier : même marge latérale que le reste du site à toutes les largeurs */
@media (max-width:1024px){ body:not(#mq) yc-section:has(> .cart){ padding-inline:0; } body:not(#mq) yc-section .cart{ padding-inline:var(--pad); } }

/* ── ÉTAPE 16 : panier au gabarit de la maquette (lignes, résumé, total, bouton) ── */
body:not(#mq){ --mq-t-h5: max(12px, clamp(22px, 19.52px + .65vw, 32px) * .9); }
body:not(#mq) yc-section .cart .list .item{ padding-block:16px; align-items:flex-start; }
body:not(#mq) yc-section .cart .list .item .image{ width:96px; aspect-ratio:4/5; border-radius:12px; overflow:hidden; flex:none; }
body:not(#mq) yc-section .cart .list .item .image img{ width:100%; height:100%; object-fit:cover; }
body:not(#mq) yc-section .cart .summary h2{ font-size:var(--mq-t-h5); letter-spacing:-.05em; line-height:.9; }
body:not(#mq) yc-section .cart .summary .box .coupon input{ min-height:0; height:41px; padding:9.6px 16px; font-size:13px; color:var(--ink); border-radius:99px; }
body:not(#mq) yc-section .cart .summary .box .coupon button{ height:41px; border-radius:99px; }
body:not(#mq) yc-section .cart .summary .box .subtotal .total-box{ display:grid; gap:17.6px; border:0; }
body:not(#mq) yc-section .cart .summary .box .subtotal .total-box .total{ display:flex; justify-content:space-between; width:100%; padding:12.8px 0 0; border-top:1px solid var(--line); font-size:16px; font-weight:600; line-height:1.4; }
body:not(#mq) yc-section .cart .summary .box .subtotal .total-box #checkout-button{ width:100%; min-height:44px; padding:11px 25.6px; border-radius:30px; font-size:14px; text-transform:lowercase; }

/* panier mobile / tablette : le total reste dans le résumé (la maquette n'a pas de barre fixe) */
@media (max-width:1024px){
  body:not(#mq) yc-section .cart .summary .box .subtotal .total-box{ position:static; width:100%; margin:0; padding:0; box-shadow:none; background:transparent; border-radius:0; flex-direction:column; align-items:stretch; display:grid; gap:17.6px; }
  body:not(#mq) yc-section .cart .summary .box .subtotal .total-box .total{ flex-direction:row; align-items:center; justify-content:space-between; padding:12.8px 0 0; gap:0; }
  body:not(#mq) yc-section .cart .summary .box .subtotal .total-box .total span:first-of-type{ font-weight:600; }
}

@media (max-width:1024px){ body:not(#mq) yc-section .cart .summary, body:not(#mq) yc-section .cart yc-summary-box, body:not(#mq) yc-section .cart .summary .box, body:not(#mq) yc-section .cart .summary .box .subtotal{ width:100%; max-width:none; align-self:stretch; } }

@media (max-width:1024px){ body:not(#mq) yc-section .cart .summary .box .subtotal .total-box .total, body:not(#mq) yc-section .cart .summary .box .subtotal .total-box #checkout-button{ width:100% !important; max-width:none !important; justify-self:stretch; box-sizing:border-box; } }

body:not(#mq) yc-section .cart .summary .box .subtotal .total-box{ grid-template-columns:minmax(0, 1fr); justify-content:stretch; }

/* ── carte produit : ligne d'avis comme la maquette (★★★★★ 4,8 (212)) ── */
body:not(#mq) .product-card .card-rating .rating{ display:flex; align-items:center; gap:4px; font-size:12px; line-height:16.8px; opacity:1; color:var(--ink); }
body:not(#mq) .product-card .card-rating .stars{ display:flex; align-items:center; gap:2px; color:var(--brand-gold); opacity:.9; }
body:not(#mq) .product-card .card-rating .stars svg{ width:12.8px; height:12.8px; }
body:not(#mq) .product-card .card-rating .average{ margin:0 0 0 2px; opacity:.85; }
body:not(#mq) .product-card .card-rating .count{ opacity:.85; }

/* ── ÉTAPE 17 : photo, cœur et pastille dans un même cadre (alignement garanti, ratio réglable) ── */
body:not(#mq) .product-card .card-media{ position:relative; display:block; aspect-ratio:var(--card-ratio, 4 / 5); border-radius:var(--mq-card-r); overflow:hidden; background:var(--sand); }
body:not(#mq) .product-card .card-media > .img-link{ position:absolute; inset:0; width:100%; height:100%; aspect-ratio:auto; border-radius:0; background:transparent; display:block; overflow:hidden; }
body:not(#mq) .product-card .card-media .img-link :is(img, svg, .card-placeholder){ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
body:not(#mq) .product-card .card-media .heart{ position:absolute; top:8px; right:8px; left:auto; z-index:3; }
body:not(#mq) .product-card .card-media .badge{ position:absolute; top:12px; left:12px; right:auto; z-index:3; }

/* ── ÉTAPE 18 : palette blanc / noir / gris clair ── */
body:not(#mq) :focus-visible{ outline-color:var(--ink); }
body:not(#mq) .product-card .card-rating .stars, body:not(#mq) yc-product-info .rating .stars, body:not(#mq) .mqm .quote .stars{ color:var(--ink); }
body:not(#mq) .mqm .quote .stars svg{ fill:var(--ink); }
body:not(#mq){ --mq-sale: var(--ov-price-sale, #000000); }
/* en-tête : transparent en haut de page, blanc et fixe dès que l'on défile */
html:has(yc-header[data-overlay="1"]) .mqm .mq-hero{ margin-top:calc(var(--ov-header-h, 64px) * -1); }
yc-header:not([data-overlay="1"])::before{ transition:background-color .32s ease; }
yc-header:not([data-overlay="1"])[data-scrolled="0"]{ border-bottom-color:transparent; box-shadow:none; }
yc-header:not([data-overlay="1"])[data-scrolled="0"]::before{ background:transparent; -webkit-backdrop-filter:none; backdrop-filter:none; }
yc-header:not([data-overlay="1"])[data-scrolled="1"]{ border-bottom:1px solid var(--header-line); box-shadow:0 1px 18px rgba(0,0,0,.06); }
yc-header:not([data-overlay="1"])[data-scrolled="1"]::before{ background:var(--ovx-scrolled-bg, #fff); }

/* lisibilité des textes secondaires en noir et blanc */
body:not(#mq) footer.orv-footer .footer-col h3{ opacity:.85; }
body:not(#mq) .result-count, body:not(#mq) .gallery-note, body:not(#mq) .fine-print{ opacity:.72; color:var(--ink); }
body:not(#mq) .mqm .post small{ opacity:.72; }

/* ── ÉTAPE 19 : promotions rouges, étoiles jaunes ── */
body:not(#mq) .product-card .card-rating .stars, body:not(#mq) yc-product-info .rating .stars, body:not(#mq) yc-reviews .stars, body:not(#mq) yc-reviews .rate{ color:var(--ov-star, #BDBDBD); opacity:1; }
body:not(#mq) .mqm .quote .stars svg{ fill:var(--ov-star, #BDBDBD); }
body:not(#mq) .product-card .badge--sale span, body:not(#mq) .pdp-badges span{ background:var(--ov-price-sale, #000000); color:#fff; }

/* Place du logo (réglage En-tête › Place du logo) : centre = logo au milieu, menu à gauche */
@media (min-width:1025px){
  body:not(#mq) yc-header[data-logo-align="center"] .logo{ grid-column:2; grid-row:1; justify-content:center; }
  body:not(#mq) yc-header[data-logo-align="center"] .nav-left{ grid-column:1; grid-row:1; justify-content:flex-start; }
}
@media (min-width:761px) and (max-width:1024px){
  body:not(#mq) yc-header[data-logo-align="center"]:not([data-tablet-mobile]) .logo{ grid-column:2; grid-row:1; justify-content:center; }
  body:not(#mq) yc-header[data-logo-align="center"]:not([data-tablet-mobile]) .nav-left{ grid-column:1; grid-row:1; justify-content:flex-start; }
}
