/* === CLOUDY VAPE — FICHE PRODUIT (pastilles variations) === */
@media(max-width:900px){

/* Ligne marque + format sous le titre */
body.single-product .cv-pdp-sub{
  font-family:Poppins,sans-serif;font-weight:600;font-size:15px;color:#b9b6df;
  margin:0 0 8px;line-height:1.2;
}
/* Prix au format (ex: 5,90 € / 10 ml) */
body.single-product .cv-pdp-unit{
  font-family:Poppins,sans-serif;font-weight:600;font-size:14px;color:#9b98c0;
  margin:-12px 0 18px;
}

/* Conteneur des pastilles (tous attributs) */
body.single-product .cfvsw-swatches-container{
  display:flex !important;flex-wrap:wrap;gap:10px;margin:0 0 4px !important;
}
body.single-product .cfvsw-hidden-select{display:none !important}

/* Base commune */
body.single-product .cfvsw-swatches-option{
  min-width:0 !important;min-height:0 !important;width:auto !important;height:auto !important;
  padding:0 !important;overflow:hidden;cursor:pointer;flex:0 0 auto;box-shadow:none !important;outline:none !important;
  border:1.5px solid rgba(255,255,255,.18) !important;background:rgba(255,255,255,.04) !important;
  transition:background .18s ease,border-color .18s ease,transform .12s ease;
}
body.single-product .cfvsw-swatches-option:hover{border-color:rgba(255,255,255,.42) !important}
body.single-product .cfvsw-swatches-option.cfvsw-disabled-swatch{opacity:.35 !important}

/* --- Pastilles TEXTE (nicotine, format, resistance, puissance, etc.) --- */
body.single-product .cfvsw-label-option{border-radius:14px !important}
body.single-product .cfvsw-label-option .cfvsw-swatch-inner{
  display:flex;align-items:center;justify-content:center;
  padding:13px 20px;min-width:auto !important;background:transparent !important;border:none !important;
  font-family:Poppins,sans-serif;font-weight:700;font-size:15px;color:#fff;white-space:nowrap;border-radius:0 !important;
}
body.single-product .cfvsw-label-option.cfvsw-selected-swatch,
body.single-product .cfvsw-label-option.cfvsw-swatch-selected,
body.single-product .cfvsw-label-option[aria-checked="true"]{
  background:#FBB830 !important;border-color:#FBB830 !important;
}
body.single-product .cfvsw-label-option.cfvsw-selected-swatch .cfvsw-swatch-inner,
body.single-product .cfvsw-label-option.cfvsw-swatch-selected .cfvsw-swatch-inner,
body.single-product .cfvsw-label-option[aria-checked="true"] .cfvsw-swatch-inner{color:#232551 !important}

/* --- Ronds COULEUR (matériel) --- */
body.single-product .cfvsw-color-option{
  width:40px !important;height:40px !important;border-radius:50% !important;
  border:2px solid rgba(255,255,255,.25) !important;background-clip:padding-box;
}
body.single-product .cfvsw-color-option .cfvsw-swatch-inner{width:100% !important;height:100% !important;border-radius:50% !important}
body.single-product .cfvsw-color-option.cfvsw-selected-swatch,
body.single-product .cfvsw-color-option.cfvsw-swatch-selected,
body.single-product .cfvsw-color-option[aria-checked="true"]{
  border-color:#FBB830 !important;box-shadow:0 0 0 2px #FBB830 !important;
}

/* Lien "Effacer" discret */
body.single-product .variations a.reset_variations{
  color:#8e8bbb !important;font-size:12px;font-family:Poppins,sans-serif;display:inline-block;margin-top:8px;text-decoration:underline;
}
body.single-product .woocommerce-variation-price .price{color:#fff !important;font-weight:800 !important}

/* Masquer le fil d'ariane */
body.single-product .woocommerce-breadcrumb{display:none !important}

/* Boutons quantite en jaune */
body.single-product .cv-qty-btn{color:#FBB830 !important}

/* Coeur favoris sur l'image, en haut a droite */
body.single-product .woocommerce-product-gallery{position:relative !important}
body.single-product .cv-pdp-img-fav{position:absolute !important;top:14px;right:14px;left:auto;z-index:9;width:42px;height:42px}
body.single-product .cv-pdp-img-fav svg{width:22px;height:22px}

/* Barre d'achat fixe (prix + Ajouter au panier) */
body.single-product.cv-has-buybar .single_add_to_cart_button{position:absolute !important;left:-9999px !important;top:auto !important;bottom:auto !important;width:auto !important;margin:0 !important}
.cv-buybar{position:fixed;left:0;right:0;bottom:64px;z-index:100041;display:flex;align-items:center;gap:12px;padding:12px 14px;background:rgba(28,30,68,.97);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid rgba(255,255,255,.08);box-shadow:0 -8px 24px rgba(0,0,0,.35)}
.cv-buybar-price{flex:0 0 auto;font-family:Poppins,sans-serif;font-weight:800;font-size:19px;color:#fff;white-space:nowrap}
.cv-buybar-price .amount,.cv-buybar-price bdi{color:#fff !important}
.cv-buybar-price del{color:#8e8bbb !important;font-size:13px;font-weight:600}
.cv-buybar-price ins{text-decoration:none}
.cv-buybar-btn{flex:1 1 auto;border:none;cursor:pointer;border-radius:14px;padding:15px 16px;background:#FBB830;color:#232551;font-family:Poppins,sans-serif;font-weight:800;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px}
.cv-buybar-btn.is-disabled{opacity:.5}
body.single-product.cv-has-buybar #content,body.single-product.cv-has-buybar .site-main,body.single-product.cv-has-buybar main{padding-bottom:160px !important}
@media(min-width:901px){.cv-buybar{display:none}}

/* Avis + notation (theme sombre) */
body.single-product #reviews{color:#c8c6e6}
body.single-product #reviews #comments h2,body.single-product #reviews #reply-title,body.single-product #reviews #comments .noreviews{color:#fff !important;font-family:Poppins,sans-serif;font-weight:700}
body.single-product .commentlist{list-style:none;margin:0 0 18px;padding:0}
body.single-product .commentlist li .comment_container{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;margin-bottom:12px;overflow:hidden}
body.single-product .commentlist .comment-text p,body.single-product .commentlist .meta{color:#c8c6e6 !important}
body.single-product .commentlist .meta strong{color:#fff !important}
body.single-product .star-rating span{color:#FBB830 !important}
body.single-product .comment-form-rating label{display:block;color:#fff;font-family:Poppins,sans-serif;font-weight:700;margin:0 0 6px}
body.single-product .comment-form-rating p.stars a{color:#FBB830 !important}
body.single-product #review_form .comment-form>p label,body.single-product #review_form .comment-form label{color:#fff;font-family:Poppins,sans-serif}
body.single-product #review_form textarea,body.single-product #review_form input[type=text],body.single-product #review_form input[type=email]{background:rgba(255,255,255,.06) !important;border:1.5px solid rgba(255,255,255,.16) !important;border-radius:12px !important;color:#fff !important;padding:12px !important;width:100% !important;box-shadow:none !important}
body.single-product #review_form .form-submit input,body.single-product #review_form #submit{background:#FBB830 !important;color:#232551 !important;border:none !important;border-radius:14px !important;font-family:Poppins,sans-serif !important;font-weight:800 !important;padding:14px 24px !important;cursor:pointer;font-size:15px !important;text-transform:none !important}

/* Quantite : conteneur neutre, seulement les +/- en jaune */
body.single-product form.cart .quantity{background:transparent !important}
body.single-product .cv-qty-btn{color:#FBB830 !important;background:transparent !important}

/* Onglets Description / Informations / Avis : cote a cote, contenu au clic */
body.single-product .woocommerce-tabs ul.tabs{display:flex !important;flex-wrap:wrap;gap:8px;margin:0 0 16px !important;padding:0 !important;border:0 !important}
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs::after{display:none !important;border:0 !important;content:none !important}
body.single-product .woocommerce-tabs ul.tabs li{position:static !important;float:none !important;display:block !important;margin:0 !important;padding:0 !important;background:rgba(255,255,255,.05) !important;border:1px solid rgba(255,255,255,.12) !important;border-radius:12px !important;box-shadow:none !important}
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after{display:none !important;border:0 !important;content:none !important}
body.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:10px 16px !important;color:#c8c6e6 !important;font-family:Poppins,sans-serif;font-weight:700;font-size:14px;text-decoration:none}
body.single-product .woocommerce-tabs ul.tabs li.active{background:#FBB830 !important;border-color:#FBB830 !important}
body.single-product .woocommerce-tabs ul.tabs li.active a{color:#232551 !important}
body.single-product .woocommerce-tabs .panel{color:#c8c6e6}
body.single-product .woocommerce-tabs .panel h2,body.single-product .woocommerce-tabs .panel h3{color:#fff !important}

/* === BLOCS BIEN SEPARES === */
body.single-product .woocommerce-product-gallery{margin:0 0 8px !important}
body.single-product .cv-block{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  border-radius:16px;
  padding:11px 13px;
  margin:0 0 8px;
}
body.single-product .cv-block>:first-child{margin-top:0 !important}
body.single-product .cv-block>:last-child{margin-bottom:0 !important}
body.single-product .cv-block .product_title{margin:0 0 4px !important}
body.single-product .cv-block .cv-pdp-unit{margin:6px 0 0 !important}
body.single-product .cv-block .price{margin:6px 0 0 !important}

/* Description/onglets fermes par defaut : ouverts seulement au clic */
body.single-product .woocommerce-tabs ul.tabs{margin:0 0 0 !important}
body.single-product .woocommerce-tabs .panel{display:none !important;margin-top:12px !important}
body.single-product .woocommerce-tabs .panel.cv-open{display:block !important}

/* Bloc dosage (variations) */
body.single-product .variations{
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:16px !important;
  padding:11px 13px !important;
  margin:0 0 8px !important;
}
body.single-product .variations th.label label{margin:0 0 10px !important}

/* Bloc quantite */
body.single-product .cv-block .cv-qty-label{margin:0 0 8px !important}
body.single-product .cv-block .woocommerce-product-rating{margin:6px 0 0 !important}
body.single-product .cv-block .cv-pdp-sub{margin:0 0 0 !important}
body.single-product .cv-block .woocommerce-product-details__short-description{margin:8px 0 0 !important}
body.single-product .variations th.label label{margin:0 0 8px !important}

/* === Bloc details : 2 colonnes (titre/etoiles a gauche, prix a droite) === */
body.single-product .cv-info-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.single-product .cv-info-left{flex:1 1 auto;min-width:0}
body.single-product .cv-info-right{flex:0 0 auto;text-align:right}
body.single-product .cv-info-left .product_title{margin:0 0 2px !important;font-size:21px !important;line-height:1.15}
body.single-product .cv-info-left .cv-pdp-sub{margin:0 0 6px !important}
body.single-product .cv-info-left .woocommerce-product-rating{margin:0 !important}
body.single-product .cv-info-right .price{margin:0 !important;white-space:nowrap;font-size:23px !important}
body.single-product .cv-info-right .cv-pdp-unit{margin:4px 0 0 !important;white-space:nowrap}
body.single-product .cv-info-block .woocommerce-product-details__short-description{margin:12px 0 0 !important}

/* === Coeur favoris sur l'image (remplace le carre jaune) === */
body.single-product .cv-pdp-img-fav{
  position:absolute !important;top:14px;right:14px;left:auto;z-index:9;
  width:44px !important;height:44px !important;border-radius:50% !important;
  background:rgba(255,255,255,.92) !important;border:none !important;padding:0 !important;
  box-shadow:0 4px 14px rgba(35,37,81,.28) !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
}
body.single-product .cv-pdp-img-fav svg{width:22px !important;height:22px !important;fill:none !important;stroke:#9aa0b5 !important;stroke-width:2 !important}
body.single-product .cv-pdp-img-fav.is-fav svg{fill:#ff5b8a !important;stroke:#ff5b8a !important}

/* === Quantite : pas de chevauchement === */
body.single-product .cv-block .quantity,body.single-product form.cart .quantity{display:flex !important;align-items:center;justify-content:space-between;width:124px;max-width:100%;border:1px solid rgba(255,255,255,.18) !important;border-radius:12px !important;background:rgba(255,255,255,.05) !important;overflow:hidden;padding:0 !important}
body.single-product .cv-qty-btn{flex:0 0 auto;width:48px;height:46px;color:#FBB830 !important;background:transparent !important;border:none !important;font-size:22px;display:flex;align-items:center;justify-content:center;padding:0 !important}
body.single-product .quantity input.qty{flex:1 1 auto;width:auto !important;min-width:0;height:46px;text-align:center;background:transparent !important;border:none !important;color:#fff !important;box-shadow:none !important;padding:0 !important;margin:0 !important}

/* === Bouton "Ajouter au panier" a cote de la quantite (plus de barre fixe) === */
body.single-product form.cart .single_add_to_cart_button{
  position:static !important;left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;
  width:auto !important;margin:0 !important;flex:1 1 auto;
  background:#FBB830 !important;color:#232551 !important;border:none !important;border-radius:14px !important;
  font-family:Poppins,sans-serif !important;font-weight:800 !important;font-size:14px !important;
  padding:14px 12px !important;box-shadow:none !important;text-transform:none !important;white-space:nowrap;
}
/* Produit simple : label au-dessus, quantite + bouton sur une ligne */
body.cv-simple form.cart{
  display:flex !important;flex-wrap:wrap;align-items:center;gap:20px;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:16px;padding:13px 14px;margin:0 0 18px;
}
body.cv-simple form.cart .cv-qty-label{flex:1 0 100%;margin:0 0 2px !important}
body.cv-simple form.cart .quantity{flex:0 0 auto;margin:0 !important}
/* Produit variable : quantite + bouton sur une ligne */
body.cv-variable .woocommerce-variation-add-to-cart{display:flex !important;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:18px}
body.cv-variable .woocommerce-variation-add-to-cart .quantity{flex:0 0 auto;margin:0 !important}
body.cv-variable .woocommerce-variation-add-to-cart .cv-qty-label{flex:1 0 100%;margin:0 0 2px !important}
/* Ne plus masquer le vrai bouton et retirer l'ancien espace de barre fixe */
body.single-product .single_add_to_cart_button{display:inline-flex !important}
body.single-product #content,body.single-product .site-main,body.single-product main{padding-bottom:30px !important}
/* === Quantite integree au bouton : une seule barre === */
body.cv-simple form.cart,body.cv-variable .woocommerce-variation-add-to-cart{
  display:flex !important;flex-wrap:nowrap !important;align-items:stretch !important;gap:0 !important;
  background:transparent !important;border:none !important;padding:0 !important;margin:0 0 18px !important;
}
body.cv-simple form.cart .cv-qty-label,body.cv-variable .woocommerce-variation-add-to-cart .cv-qty-label{display:none !important}
body.cv-simple form.cart .quantity,body.cv-variable .woocommerce-variation-add-to-cart .quantity{
  flex:0 0 auto !important;width:132px !important;height:56px !important;margin:0 !important;box-sizing:border-box !important;
  border:1px solid rgba(255,255,255,.18) !important;border-right:none !important;
  border-radius:16px 0 0 16px !important;background:rgba(255,255,255,.06) !important;
  display:flex !important;align-items:center !important;justify-content:space-between !important;overflow:hidden;
}
body.cv-simple form.cart .cv-qty-btn,body.cv-variable .woocommerce-variation-add-to-cart .cv-qty-btn{height:54px !important}
body.cv-simple form.cart .quantity input.qty,body.cv-variable .woocommerce-variation-add-to-cart .quantity input.qty{height:54px !important}
body.cv-simple form.cart .single_add_to_cart_button,body.cv-variable .woocommerce-variation-add-to-cart .single_add_to_cart_button{
  flex:1 1 auto !important;width:auto !important;margin:0 !important;height:56px !important;box-sizing:border-box !important;
  padding:0 14px !important;border-radius:0 16px 16px 0 !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  background:#FBB830 !important;color:#232551 !important;font-weight:800 !important;font-size:15px !important;white-space:nowrap;
}
}
