/* Vitrine BesteVape — compléments locaux. Depuis le 05/11/2026, l'apparence vient des feuilles du thème Ecomus de
   bestevape.com (/assets/ecomus/types/, outils/habillage_ecomus.py) ; ce fichier garde les éléments propres à la
   boutique (panneaux, porte d'âge, consentement, espace client…) et les pages pas encore reprises. */
/* Police du thème Ecomus (Albert Sans, OFL), fichiers repris du thème. */
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/polices/albert-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/polices/albert-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/polices/albert-sans-italique-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Albert Sans"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("/assets/polices/albert-sans-italique-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --texte: #000; --doux: #545454; --fond: #fff; --gris: #f5f5f5; --ligne: #ebebeb;
  --accent: #db1215; --vert: #1a8a3a; --rayon: 6px; --largeur: 1440px;
  --police: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
/* Pages reprises au balisage du thème : pas de colonne de la boutique, le thème gère ses propres conteneurs. */
.contenu-page--theme { max-width: none; padding: 0; }
/* Tri des listes : le site habille le menu avec select2 (cadre de 220 × 45 px, flèche du thème, relevé du 05/11/2026) ;
   même rendu sur le menu natif, qui reste un vrai <select>. */
.catalog-toolbar .woocommerce-ordering select.orderby { width: 220px; min-height: 0; height: 45px; padding: 0 44px 0 17.6px; border: 1px solid #ebebeb; border-radius: 0; font-size: 14px; line-height: normal; color: rgb(84, 84, 84); background: #fff url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNyIgdmlld0JveD0iMCAwIDEyIDciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0wLjczODI4MSAxLjIzODI4TDYuMjM4MjggNi43MzgyOEwxMS43MzgzIDEuMjM4MjhMMTAuNzYyIDAuMjYyMDMyTDYuMjM4MjggNC43ODU3OEwxLjcxNDUzIDAuMjYyMDMxTDAuNzM4MjgxIDEuMjM4MjhaIiBmaWxsPSJibGFjayIvPgo8L3N2Zz4K") no-repeat right 19px center / 12px 7px; -webkit-appearance: none; appearance: none; cursor: pointer; }
/* Panneau de filtres sans JavaScript : ouvert par le lien « #filter-sidebar-panel » (bouton « Filter » de <noscript>).
   Avec JavaScript, le formulaire porte « instant-filter » et vitrine.js ouvre et ferme le panneau : règle sans effet. */
.offscreen-panel:target:not(:has(.instant-filter)) { display: block; }
.offscreen-panel:target:not(:has(.instant-filter)) .panel__container { transform: none; }
/* Panneau de filtres : le nom de chaque choix est un <label> (case cochée cachée devant), en ligne comme le <span> du thème. */
.products-filter__option > label.products-filter__option-name { display: inline; margin: 0; }
/* Carrousels du thème (Swiper sur le site) : défilement horizontal à la largeur des colonnes du réglage (columns-N,
   tablet-col-N, mobile-col-N), espace de --em-swiper-items-space (30 px), flèches (vitrine.js). */
[data-carrousel-piste] { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
[data-carrousel-piste]::-webkit-scrollbar { display: none; }
[data-carrousel-piste] ul.products, [data-carrousel-piste] .swiper-wrapper { flex-wrap: nowrap !important; }
[data-carrousel-piste] ul.products > li, [data-carrousel-piste] .swiper-wrapper > .swiper-slide { flex-shrink: 0; scroll-snap-align: start; }
[data-carrousel-piste] .swiper-wrapper > .swiper-slide { --n: 1; width: calc((100% - (var(--n) - 1) * var(--em-swiper-items-space, 30px)) / var(--n)); margin-right: var(--em-swiper-items-space, 30px); }
[data-carrousel-piste] .swiper-wrapper.columns-2 > .swiper-slide { --n: 2; }
[data-carrousel-piste] .swiper-wrapper.columns-3 > .swiper-slide { --n: 3; }
[data-carrousel-piste] .swiper-wrapper.columns-4 > .swiper-slide { --n: 4; }
@media (max-width: 1024px) {
  [data-carrousel-piste] .swiper-wrapper.tablet-col-2 > .swiper-slide { --n: 2; }
  [data-carrousel-piste] .swiper-wrapper.tablet-col-3 > .swiper-slide { --n: 3; }
  [data-carrousel-piste] .swiper-wrapper.tablet-col-4 > .swiper-slide { --n: 4; }
}
@media (max-width: 767px) {
  [data-carrousel-piste] .swiper-wrapper > .swiper-slide { margin-right: var(--em-swiper-items-space-mobile, var(--em-swiper-items-space, 30px)); }
  [data-carrousel-piste] .swiper-wrapper.mobile-col-1 > .swiper-slide { --n: 1; }
  [data-carrousel-piste] .swiper-wrapper.mobile-col-2 > .swiper-slide { --n: 2; }
  [data-carrousel-piste] .swiper-wrapper.mobile-col-3 > .swiper-slide { --n: 3; }
}
[data-carrousel] .swiper-button { cursor: pointer; }
/* Carrousels de produits (Swiper d'Ecomus : 4 cartes par vue, 2 sur tablette, 1 sur téléphone, écart de 30 px ;
   relevé du 05/11/2026, accueil et panier). */
.product-swiper--elementor[data-carrousel-piste] ul.products { margin: 0; }
.product-swiper--elementor[data-carrousel-piste] ul.products > li.product { --n: 4; width: calc((100% - (var(--n) - 1) * 30px) / var(--n)); margin-right: 30px; padding: 0; }
@media (max-width: 1024px) {
  .product-swiper--elementor[data-carrousel-piste] ul.products > li.product { --n: 2; }
}
@media (max-width: 767px) {
  .product-swiper--elementor[data-carrousel-piste] ul.products > li.product { --n: 1; }
}
/* Vidéo YouTube d'une vidéo à acheter : vignette, puis au clic le lecteur de youtube-nocookie.com à la place de la
   vidéo du thème (vitrine.js). */
.video-youtube { position: relative; display: block; width: 100%; height: 100%; }
/* Vignette et lecteur remplissent le cadre comme les vidéos du thème (818 px ; la vignette faisait 620 px : E-039). */
.ecomus-shoppable-video__video-wrapper :is(.video-youtube, .video-cadre) { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; border: 0; border-radius: 0; }
.video-youtube img { width: 100%; height: 100%; object-fit: cover; }
.video-lecture { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.5rem; text-shadow: 0 0 10px rgb(0 0 0 / 50%); }
/* Pied : lien du réglage des cookies à la place vide à droite du copyright. */
.pied-cookies { margin: 0; }
/* Sélecteur de langue flottant : bouton (le site utilise un div) sans habillage de bouton. */
.bv-lang-toggle { background: none; border: 0; padding: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
.pied-cookies .lien { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: -999px; }
.aller-contenu:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 100; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: 0 1.4rem; border: 1px solid var(--texte); border-radius: var(--rayon); background: var(--texte); color: #fff; font: 600 .95rem var(--police); text-decoration: none; cursor: pointer; }
.bouton:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.bouton-secondaire { background: #fff; color: var(--texte); }
.bouton-petit { min-height: 36px; padding: 0 1rem; font-size: .85rem; }
.bouton[disabled] { opacity: .5; cursor: not-allowed; }
.lien { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
/* Champs de la boutique ; les pages reprises au thème (« contenu-page--theme ») gardent les champs du thème. */
:is(input, select, textarea):not(.contenu-page--theme *) { font: inherit; width: 100%; min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--ligne); border-radius: var(--rayon); background: #fff; color: var(--texte); }
textarea:not(.contenu-page--theme *) { min-height: 120px; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; }
label:not(.contenu-page--theme *) { display: block; font-weight: 600; margin: .8rem 0 .3rem; }
label.case { font-weight: 400; display: flex; align-items: center; gap: .5rem; }
.requis { color: var(--accent); }

/* Panneaux (search-modal, login-modal, cart-panel, mobile-menu-panel, quick-add-modal du thème) */
body.panneau-ouvert { overflow: hidden; }
.panneau-voile { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
.panneau { position: fixed; z-index: 50; background: #fff; overflow: auto; box-shadow: 0 10px 40px rgba(0,0,0,.15); }
.panneau[hidden], .panneau-voile[hidden] { display: none; }
.panneau-fermer { position: absolute; top: 10px; right: 10px; }
.panneau-titre { font-size: 1.35rem; font-weight: 600; margin: 0 0 1rem; }
.panneau-sous-titre { font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 .6rem; }
.panneau-haut { top: 0; left: 0; right: 0; max-height: 92vh; padding: 2rem 0; }
.panneau-haut .recherche { display: flex; gap: .4rem; position: relative; max-width: none; }
.panneau-haut .recherche input[type=search] { flex: 1; }
.suggestions { position: absolute; top: 48px; left: 0; right: 0; background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: 0 8px 24px rgba(0,0,0,.1); max-height: 60vh; overflow: auto; z-index: 2; }
.suggestions a { display: flex; gap: .7rem; align-items: center; padding: .5rem .8rem; text-decoration: none; border-bottom: 1px solid var(--ligne); }
.suggestions img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.panneau-haut .grille { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.panneau-centre { top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(460px, calc(100% - 32px)); max-height: 92vh; padding: 2rem 1.6rem; border-radius: var(--rayon); }
.panneau-large { width: min(860px, calc(100% - 32px)); }
.panneau-droite { top: 0; right: 0; bottom: 0; width: min(420px, 100%); padding: 1.6rem; }
.panneau-gauche { top: 0; left: 0; bottom: 0; width: min(360px, 100%); padding: 3rem 1.4rem 1.4rem; }
.panneau-gauche .menu { flex-direction: column; gap: 0; }
.panneau-gauche .sous-menu { position: static; box-shadow: none; border: 0; padding-left: .8rem; }
.panneau-liens { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--ligne); }
.panneau-liens a { display: block; padding: .35rem 0; text-decoration: none; }
.panneau-ligne { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .8rem 0 1rem; font-size: .9rem; }
.panneau-ligne label { margin: 0; }
.panneau-bascule { text-align: center; margin: 1.2rem 0 0; }
.bouton-large { width: 100%; }
.tiroir-vide { text-align: center; padding: 2rem 0; }
.tiroir-vide-titre { font-size: 1.15rem; font-weight: 600; }
.rapide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; }
.rapide-image { width: 100%; border-radius: var(--rayon); background: var(--gris); }
@media (max-width: 640px) { .rapide { grid-template-columns: 1fr; } }

/* Accueil (sections Elementor du source) : écrans, bannières, logos, carrousels, vidéos produits */
.visible-mobile { display: none; }
@media (max-width: 767px) { .visible-ordinateur { display: none; } .visible-mobile { display: block; } }
.section { margin: 3rem 0; }
.section-titre { text-align: center; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; margin: 0 0 .3rem; }
.section-sous-titre { text-align: center; margin: 0 0 1.4rem; font-size: 1.05rem; }
.section-banniere:first-child, .section-video:first-child { margin-top: 1rem; }
.banniere { position: relative; border-radius: var(--rayon); overflow: hidden; background: var(--gris); }
.banniere img, .banniere video { width: 100%; height: auto; display: block; }
.banniere-bouton { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); background: #fff; color: var(--texte); border-color: #fff; }
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.logos li, .logos a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.logos img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--gris); border-radius: var(--rayon); }
.logos-titre { font-weight: 600; margin-top: .6rem; }
.logos-texte { font-size: .85rem; color: var(--doux); }
.bannieres { display: grid; gap: 20px; }
.bannieres-grille { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.bannieres-carrousel { grid-auto-flow: column; grid-auto-columns: minmax(230px, calc((100% - 60px) / 4)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.banniere-carte { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; text-decoration: none; scroll-snap-align: start; background: var(--gris); }
.banniere-carte img { width: 100%; height: 100%; object-fit: cover; }
.bannieres-carrousel .banniere-carte img { aspect-ratio: 5 / 6; }
.banniere-texte { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.banniere-texte strong { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); color: #000; line-height: 1.1; }
.banniere-lien { background: #fff; color: #000; padding: .45rem 1rem; border-radius: var(--rayon); font-weight: 600; font-size: .9rem; }
.banniere-carte:hover .banniere-lien { background: var(--texte); color: #fff; }
.videos-produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.video-produit video, .video-youtube { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 620px; object-fit: cover; border-radius: var(--rayon); background: #000; overflow: hidden; }
.video-youtube img { width: 100%; height: 100%; object-fit: cover; }
.video-lecture { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 3rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.video-produit .carte { display: grid; grid-template-columns: 80px 1fr; gap: .8rem; margin-top: .8rem; align-items: center; }
.video-produit .carte-corps { padding-top: 0; }
/* position: relative : les textes cachés (prix barré « Ursprünglicher Preis war ») restent dans le carrousel au lieu
   d'élargir la page à 1 889 px (audit du 24/10). */
.produits-carrousel .grille { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(190px, calc((100% - 72px) / 5)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; position: relative; }
.produits-carrousel .carte { scroll-snap-align: start; }
.produits-colonnes .grille { grid-template-columns: 1fr 1.6fr 1fr; }
.produits-colonnes .carte:nth-child(1) { grid-column: 1; grid-row: 1; }
.produits-colonnes .carte:nth-child(2) { grid-column: 1; grid-row: 2; }
.produits-colonnes .carte:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.produits-colonnes .carte:nth-child(4) { grid-column: 3; grid-row: 1; }
.produits-colonnes .carte:nth-child(5) { grid-column: 3; grid-row: 2; }
@media (max-width: 767px) {
  .produits-colonnes .grille { grid-template-columns: 1fr 1fr; }
  .produits-colonnes .carte:nth-child(n) { grid-column: auto; grid-row: auto; }
}

/* Grilles et cartes */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 24px 18px; margin: 1rem 0 2rem; }
.carte { display: flex; flex-direction: column; }
.carte-image { position: relative; display: block; background: var(--gris); border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; }
.carte-sans-image { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #f2f2f2, #e6e6e6); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: .15rem .5rem; border-radius: 4px; }
.badge-epuise { background: #666; left: auto; right: 10px; }
.badge-perso { top: auto; bottom: 10px; }
.caracteristiques { list-style: none; margin: .5rem 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; }
.caracteristiques li { padding: .2rem .6rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; }
.carte-corps { padding-top: .7rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.carte-titre { font-size: .95rem; font-weight: 500; margin: 0; }
.carte-titre a { text-decoration: none; }
.carte .bouton { margin-top: auto; align-self: flex-start; }
.carte-note { margin: 0; font-size: .85rem; color: var(--doux); }
.etoiles { color: #f4b400; letter-spacing: .05em; }
.prix { margin: 0; font-weight: 600; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.prix del { color: var(--doux); font-weight: 400; }
.prix ins { text-decoration: none; color: var(--accent); }
.marques { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.marques a { display: grid; place-items: center; min-height: 80px; border: 1px solid var(--ligne); border-radius: var(--rayon); text-decoration: none; font-weight: 700; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.carte-article img { border-radius: var(--rayon); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.carte-article h3 { margin: .8rem 0 .3rem; font-size: 1.05rem; }
.carte-article h3 a { text-decoration: none; }
.date { color: var(--doux); font-size: .85rem; margin: 0; }
.section-lien { text-align: center; }

/* Listes : barre d'outils, filtres, pagination */
.outils-liste { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin: 1rem 0; }
.outils-liste select { width: auto; }
.liste { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.filtres fieldset { border: 0; border-bottom: 1px solid var(--ligne); padding: 0 0 1rem; margin: 0 0 1rem; }
.filtres legend { font-weight: 700; margin-bottom: .5rem; }
.filtres ul { list-style: none; padding: 0; margin: 0; }
.filtres li a { text-decoration: none; }
.filtres li a[aria-current] { font-weight: 700; color: var(--accent); }
.filtres .prix-filtre { display: flex; gap: .5rem; }
.pagination { display: flex; gap: .4rem; justify-content: center; margin: 2rem 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .6rem; border: 1px solid var(--ligne); border-radius: var(--rayon); text-decoration: none; }
.pagination [aria-current] { background: var(--texte); color: #fff; border-color: var(--texte); }
.fil { font-size: .85rem; color: var(--doux); margin: 1rem 0 0; }
.fil a { text-decoration: none; }

/* Fiche produit (balisage du thème Ecomus) : galerie refaite sans Swiper par vitrine.js — image principale qui
   glisse, vignettes en colonne à partir de 1 200 px, en rangée de cinq en dessous (comme le site), visionneuse. */
.woocommerce-product-gallery__slider .swiper-wrapper { transition: transform .3s ease; }
.woocommerce-product-gallery__slider .swiper-slide { margin-right: 30px; }
.woocommerce-product-gallery__slider .swiper-slide img, .woocommerce-product-gallery__slider .swiper-slide video { display: block; width: 100%; height: auto; }
.ecomus-product-gallery-thumbnails.swiper-vertical .swiper-wrapper { height: auto; }
.ecomus-product-gallery-thumbnails.swiper-vertical .swiper-slide { height: auto; margin-bottom: 10px; cursor: pointer; }
.ecomus-product-gallery-thumbnails.swiper-horizontal .swiper-wrapper { flex-direction: row; }
.ecomus-product-gallery-thumbnails.swiper-horizontal .swiper-slide { width: calc((100% - 40px) / 5); height: auto; margin-right: 10px; cursor: pointer; }
.ecomus-product-gallery-thumbnails img { display: block; width: 100%; height: auto; }
.bv-visionneuse { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.bv-visionneuse[hidden] { display: none; }
.bv-visionneuse img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.bv-visionneuse button { position: absolute; padding: 12px 16px; border: 0; background: none; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.bv-visionneuse__fermer { top: 8px; right: 8px; }
.bv-visionneuse__precedent { top: 50%; left: 8px; transform: translateY(-50%); }
.bv-visionneuse__suivant { top: 50%; right: 8px; transform: translateY(-50%); }
/* Pages de contenu (pages Elementor du site : AGB, Impressum, Lieferung…) : le premier titre est le widget « heading »
   du site, centré à la couleur d'accent du kit, 20 px au-dessus et au-dessous. */
.page-elementor .elementor-heading-title { margin: 20px 0; text-align: center; color: var(--e-global-color-accent); }
/* Mur d'avis : cartes au-delà du premier lot cachées jusqu'à « Mehr anzeigen » (le module les affiche en bloc). */
.best-review-card[hidden] { display: none; }
/* Fenêtre « Teilen » sans JavaScript : ouverte par son ancre, comme « modal--open ». */
.product-share-modal:target { display: block; visibility: visible; }
.product-share-modal:target .modal__container { opacity: 1; transform: translate(-50%, 0); }
/* Liens de la fiche gardés à côté de « Teilen » (liste de souhaits, comparateur) : boutons d'un formulaire. */
.ecomus-product-extra-link form { display: inline; margin: 0; }
.ecomus-product-extra-link button.ecomus-extra-link-item { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
/* Panier et tiroir : « Entfernen » est un bouton de formulaire (POST) avec l'allure du lien « remove » du thème. */
.product-remove button.remove, .woocommerce-mini-cart-item__qty button.remove { min-height: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: 12px; text-decoration: underline; cursor: pointer; }
.tiroir-retirer { display: inline; margin: 0; }
/* Fenêtre d'achat rapide */
.rapide .stock { color: var(--vert); font-weight: 600; }
.rapide .stock-epuise { color: var(--accent); }
.achat { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; margin: 1rem 0; }
.achat .quantite { width: 90px; }
.achat .bouton { flex: 1; min-width: 200px; }

/* Articles : similaires, commentaires (formulaire WordPress du source) */
.articles-similaires .articles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.commentaires { max-width: 760px; margin: 3rem auto; }
.commentaires-liste { list-style: none; padding: 0; margin: 0 0 2rem; }
.commentaire { border-bottom: 1px solid var(--ligne); padding: 1rem 0; }
.commentaire-auteur { font-weight: 600; margin: 0; }
.commentaire-texte { margin-top: .4rem; }
.commentaire-note { color: var(--doux); font-size: .9rem; }

/* Avis */
.avis-moyenne { font-size: 2.4rem; font-weight: 800; }
.avis-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.avis-carte { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1rem; }
.avis-carte header { display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.avis-verifie { color: var(--vert); font-size: .8rem; font-weight: 600; }
.avis-reponse { margin: .5rem 0 0; padding: .5rem .75rem; border-left: 3px solid currentColor; font-size: .9em; opacity: .85; }
/* Saveur achetée sous l'avis (« Type d'article »). */
.avis-saveur { margin: .35rem 0 0; font-size: .85em; opacity: .8; }
.avis-saveur span { font-weight: 600; }
/* Avis traduit (contrat §7.25, « Traduit automatiquement ») : mention discrète, original à la demande. */
.avis-traduit { margin: -.25rem 0 .5rem; font-size: .8em; opacity: .75; }
.avis-traduit details { display: inline; }
.avis-traduit summary { display: inline; cursor: pointer; text-decoration: underline; }
.avis-traduit details[open] p { margin: .35rem 0 0; font-size: 1.1em; opacity: 1; }
.avis-medias { display: flex; gap: 6px; flex-wrap: wrap; margin-top: .6rem; }
.avis-medias img, .avis-medias video { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.avis-reponse { background: var(--gris); padding: .6rem .8rem; border-radius: var(--rayon); font-size: .9rem; }
.notes-choix { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.notes-choix input { position: absolute; opacity: 0; }
.notes-choix label { font-size: 1.8rem; color: #ccc; margin: 0; cursor: pointer; font-weight: 400; }
.notes-choix input:checked ~ label, .notes-choix label:hover, .notes-choix label:hover ~ label { color: #f4b400; }
.notes-choix input:focus-visible + label { outline: 2px solid var(--texte); }

/* Panier, caisse, compte */
.avis-message, .message { padding: .8rem 1rem; border-radius: var(--rayon); margin: 1rem 0; background: var(--gris); }
.message-succes { background: #e8f5ec; color: #12522a; }
.message-erreur { background: #fdecec; color: #8a1012; }
.message-info { background: #eef4ff; color: #123a7a; }
.erreur-champ { color: var(--accent); font-size: .85rem; margin: .2rem 0 0; }
.panier-page { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 32px; margin: 1rem 0 2rem; }
.table-panier { width: 100%; border-collapse: collapse; }
.table-panier th, .table-panier td { padding: .8rem .5rem; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: middle; }
.table-panier img { width: 72px; height: 72px; object-fit: cover; border-radius: 4px; }
.table-panier input[type=number] { width: 80px; }
.totaux { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.2rem; align-self: start; }
.totaux table { width: 100%; border-collapse: collapse; }
.totaux th, .totaux td { padding: .5rem 0; border-bottom: 1px solid var(--ligne); text-align: left; }
.totaux td { text-align: right; }
.totaux .total th, .totaux .total td { font-size: 1.15rem; font-weight: 800; border-bottom: 0; }
.remise-message { color: var(--vert); font-weight: 700; }
.code-promo { display: flex; gap: .5rem; margin: 1rem 0; }
.caisse { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 40px; margin: 1rem 0 2rem; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.offres { list-style: none; padding: 0; margin: 0; }
.offres li { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: .6rem .8rem; margin-bottom: .5rem; }
.offres label { margin: 0; font-weight: 500; display: flex; gap: .6rem; align-items: center; }
.points-relais { list-style: none; padding: 0; max-height: 320px; overflow: auto; }
.points-relais li { border-bottom: 1px solid var(--ligne); padding: .5rem 0; }
.compte { display: grid; grid-template-columns: 240px 1fr; gap: 32px; margin: 1rem 0 2rem; }
.compte-nav ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.compte-nav a, .compte-nav button { display: block; width: 100%; text-align: left; padding: .7rem 1rem; text-decoration: none; border: 0; border-bottom: 1px solid var(--ligne); background: none; font: inherit; cursor: pointer; }
.compte-nav [aria-current] { font-weight: 700; background: var(--gris); }
.connexion { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 1rem 0 2rem; }
.table-simple { width: 100%; border-collapse: collapse; }
.table-simple th, .table-simple td { padding: .6rem .5rem; border-bottom: 1px solid var(--ligne); text-align: left; }
.formulaire-etroit { max-width: 560px; }
.piege { position: absolute; left: -10000px; }
.page-message { max-width: 720px; margin: 3rem auto; text-align: center; }
.page-contenu { max-width: 900px; margin: 0 auto 2rem; }
.contenu-riche table { border-collapse: collapse; width: 100%; }
.contenu-riche td, .contenu-riche th { border: 1px solid var(--ligne); padding: .4rem .6rem; }
.article-image { border-radius: var(--rayon); margin: 1rem 0; }

/* Porte d'âge et consentement */
.porte-age { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: grid; place-items: center; z-index: 1000; padding: 16px; }
.porte-age-boite { background: #fff; border-radius: 10px; padding: 2rem; max-width: 420px; width: 100%; text-align: center; }
.porte-age-question { font-size: 1.3rem; font-weight: 700; }
.porte-age-boutons { display: flex; gap: .8rem; justify-content: center; }
.consentement { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--ligne); border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.15); padding: 1rem 1.2rem; z-index: 900; font-size: .9rem; }
.consentement-titre { font-weight: 800; margin: 0; }
.consentement-boutons { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.consentement details label { font-weight: 400; display: flex; gap: .5rem; align-items: center; }

@media (max-width: 900px) {
  .liste, .fiche, .panier-page, .caisse, .compte, .connexion { grid-template-columns: minmax(0, 1fr); }
  .champs-2 { grid-template-columns: 1fr; }
  .table-panier thead { display: none; }
  .table-panier tr { display: grid; grid-template-columns: 72px 1fr auto; gap: .5rem; border-bottom: 1px solid var(--ligne); padding: .5rem 0; }
  .table-panier td { border: 0; padding: .2rem; }
}

/* Alerte « retour de saveur » */
.alerte-stock-bascule { margin: 14px 0 4px; }
.alerte-stock-bascule__lien { cursor: pointer; font-size: .9rem; color: var(--vert); list-style: none; }
.alerte-stock-bascule__lien::-webkit-details-marker { display: none; }
.alerte-stock { display: grid; gap: 10px; margin: 14px 0; padding: 16px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--gris); }
.alerte-stock--compact { margin-top: 10px; padding: 12px; }
.alerte-stock__titre { margin: 0; font-weight: 600; }
.alerte-stock__saveurs { display: flex; flex-wrap: wrap; gap: 6px; }
.alerte-stock__saveur { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--ligne); border-radius: 20px; background: var(--fond); font-size: .85rem; cursor: pointer; }
.alerte-stock__courriel { width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid var(--ligne); border-radius: var(--rayon); font: inherit; }

/* Tableaux des articles (comparatifs) : défilent dans leur cadre au lieu d'élargir la page sur téléphone. */
.contenu-riche table { display: block; max-width: 100%; overflow-x: auto; }

/* Espace client (30/10/2026, étape 4) : statut, barre d'avancement, suivi du colis, outils, pages. */
.commandes-outils { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.commandes-outils[hidden] { display: none; }
.commandes-outils input, .commandes-outils select { width: auto; min-height: 40px; padding: 0 .7rem; min-width: 0; }
.commandes-outils select { flex: 0 1 auto; }
.commandes-outils__recherche { flex: 1 1 220px; }
.commandes-outils__nombre { color: var(--doux); font-size: .85rem; margin-left: auto; }
.badge-commande { display: inline-block; font-size: .8rem; font-weight: 700; border-radius: 999px; padding: .1rem .6rem; background: #eef1f6; color: #34435a; white-space: nowrap; }
.badge-commande--prep { background: #fff4e0; color: #7d4a00; }
.badge-commande--shipped { background: #e7f0fb; color: #174f86; }
.badge-commande--delivered { background: #e5f5ea; color: #136a2e; }
.badge-commande--pending { background: #fff0e4; color: #8f3d00; }
.badge-commande--canceled, .badge-commande--refunded { background: #fde9e9; color: #a3121a; }
.table-commandes tbody tr:first-child:has(+ .table-commandes__suivi) td { border-bottom: 0; }
.table-commandes__suivi td { padding-top: 0; }
.etapes-commande { list-style: none; margin: .2rem 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 520px; font-size: .78rem; line-height: 1.25; color: var(--doux); text-align: center; }
.etapes-commande li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; overflow-wrap: anywhere; hyphens: auto; }
.etapes-commande li + li::before { content: ""; position: absolute; top: 9px; right: 50%; width: 100%; height: 2px; background: var(--ligne); }
.etapes-commande li.fait::before, .etapes-commande li.en-cours::before { background: var(--vert); }
.etapes-commande__point { position: relative; z-index: 1; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--ligne); background: var(--fond); display: grid; place-items: center; color: #fff; }
.etapes-commande li.fait .etapes-commande__point { background: var(--vert); border-color: var(--vert); }
.etapes-commande li.en-cours .etapes-commande__point { border-color: var(--vert); box-shadow: 0 0 0 3px #d5eedc; }
.etapes-commande li.fait, .etapes-commande li.en-cours { color: var(--texte); }
.etapes-commande li.en-cours { font-weight: 700; }
.suivi-colis { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.commandes-vide { color: var(--doux); margin: 1rem 0; }
.commandes-pages { display: flex; gap: .4rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.commandes-pages button { font: inherit; min-width: 38px; height: 38px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--fond); color: var(--texte); cursor: pointer; }
.commandes-pages button[aria-current="page"] { background: var(--texte); border-color: var(--texte); color: var(--fond); }
.commandes-pages button:disabled { opacity: .4; cursor: default; }
.commandes-pages__trou { align-self: center; color: var(--doux); }
@media (max-width: 600px) {
  .table-commandes, .table-commandes tbody { display: block; }
  .table-commandes thead { display: none; }
  .table-commandes tbody { border-bottom: 1px solid var(--ligne); padding: .6rem 0; }
  .table-commandes tbody[hidden] { display: none; }
  .table-commandes tr { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .8rem; }
  .table-commandes td { border: 0; padding: .1rem 0; }
  .table-commandes tr:first-child td:nth-child(4) { flex-basis: 100%; color: var(--doux); font-size: .9rem; }
  .table-commandes__suivi td { flex-basis: 100%; padding-top: .4rem; }
}

/* BesteVape Club (30/10/2026, étape 5) : espace client, onglet « Club ». */
.club > section { margin-bottom: 2rem; }
.club h2 { font-size: 1.2rem; margin: 0 0 .6rem; }
.club h3 { font-size: 1rem; margin: 1.2rem 0 .5rem; }
.club-discret { color: var(--doux); font-size: .9rem; }
.club-solde { padding: 1.2rem; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--gris); }
.club-solde__points { margin: 0 0 .4rem; font-size: 1.1rem; }
.club-solde__points strong { font-size: 2.4rem; line-height: 1; }
.club-solde__jauge { width: 100%; height: 10px; }
.club-recompenses, .club-bons, .club-liste { list-style: none; padding: 0; margin: 0; }
.club-recompenses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.club-recompense { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; padding: 1rem; border: 1px solid var(--ligne); border-radius: var(--rayon); }
.club-recompense__montant { font-weight: 700; font-size: 1.05rem; }
.club-recompense__points, .club-recompense__manque { color: var(--doux); font-size: .9rem; }
.club-bon { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
.club-bon code { font-size: 1.05rem; font-weight: 700; letter-spacing: .04em; }
.club-bon--nouveau { background: #e8f5ec; padding: .7rem; border-radius: var(--rayon); }
.club-bon--utilise { color: var(--doux); }
.club-bon--utilise code { text-decoration: line-through; }
.club-bon__etat { font-size: .85rem; font-weight: 600; }
.club-lien { display: block; margin: .6rem 0; }
.club-lien span { display: block; font-weight: 600; margin-bottom: .3rem; }
.club-lien input { width: 100%; }
.club-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--ligne); }
.club-liste strong { white-space: nowrap; }
.club-moins { color: #8a1012; }
@media (max-width: 600px) { .club-recompenses { grid-template-columns: 1fr; } .club-solde__points strong { font-size: 2rem; } }
