/* EVOLYAcare — Page Cheveux (Kit Rituel, produit 610)
   Tout est préfixé .evoh- ; les quelques overrides natifs sont limités à la fiche produit. */

:root{
  --evoh-sauge:#5C6E4F;--evoh-sauge-f:#4C5B41;--evoh-or:#B8995A;--evoh-texte:#3A3A3A;
  --evoh-gris:#6b665e;--evoh-ligne:#ECE9E2;--evoh-vert:#41502f;
}

/* ---- Conteneur 2 colonnes (galerie | achat) ---- */
@media(min-width:900px){
  .evoh-hero{display:flex;gap:42px;align-items:flex-start;max-width:1100px;margin-left:auto;margin-right:auto;}
  .evoh-hero .woocommerce-product-gallery{flex:1 1 0;min-width:0;max-width:480px;width:auto;margin:0;float:none;position:sticky!important;top:100px;}
  .evoh-hero .summary{flex:1 1 0;min-width:0;width:auto;max-width:none;margin:0;float:none;}
}

/* ---- Galerie (vignettes en rangée + cadre image carré) ---- */
.woocommerce div.product .flex-control-thumbs{display:flex!important;flex-wrap:wrap;gap:8px;margin-top:10px;padding:0;list-style:none;}
.woocommerce div.product .flex-control-thumbs li{width:62px!important;height:62px!important;margin:0!important;flex:none;list-style:none;float:none!important;}
.woocommerce div.product .flex-control-thumbs img{width:62px!important;height:62px!important;object-fit:contain;background:#fff;border:1.5px solid #E8E2D5;border-radius:8px;padding:3px;cursor:pointer;opacity:1;transition:border-color .15s;}
.woocommerce div.product .flex-control-thumbs img.flex-active,
.woocommerce div.product .flex-control-thumbs img:hover{border-color:var(--evoh-sauge);opacity:1;}
.woocommerce div.product .woocommerce-product-gallery .flex-viewport{aspect-ratio:1/1;background:#fff;border:1px solid var(--evoh-ligne);border-radius:16px;overflow:hidden;}
.woocommerce div.product .woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery__image{height:100%!important;}
.woocommerce div.product .woocommerce-product-gallery__image img{width:100%;height:100%;object-fit:cover;}

/* Neutralise le pseudo-élément (Elementor/thème) qui DUPLIQUE le libellé du bouton */
.single-product div.product form.cart .single_add_to_cart_button::before,
.single-product div.product form.cart .single_add_to_cart_button::after{content:none!important;display:none!important;}

/* ---- Colonne d'achat ---- */
.single-product div.product .product_title{
  font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;line-height:1.08;
}
.evoh-subt{font-size:13px;color:var(--evoh-gris);margin:0 0 12px;}
.evoh-rate{font-size:13.5px;color:var(--evoh-or);margin:0 0 16px;}
.evoh-rate b{color:var(--evoh-texte);font-weight:600;}
.evoh-rate span{color:var(--evoh-gris);}

.evoh-price-row{display:flex;align-items:baseline;gap:12px;margin:0 0 4px;}
.evoh-price{font-family:'Cormorant Garamond',Georgia,serif;font-size:36px;font-weight:700;color:var(--evoh-sauge);line-height:1;}
.evoh-price-old{font-size:16px;color:var(--evoh-gris);text-decoration:line-through;}
.evoh-price-tag{font-size:12.5px;color:var(--evoh-or);font-weight:700;margin:0 0 14px;}

.single-product div.product p.price,
.single-product div.product span.price{
  font-family:'Cormorant Garamond',Georgia,serif!important;
  color:var(--evoh-sauge)!important;font-weight:700!important;font-size:34px!important;line-height:1;
  margin:0 0 14px!important;
}

.evoh-freefrom{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;}
.evoh-freefrom span{background:#EAF0E2;color:var(--evoh-vert);font-size:12px;font-weight:700;padding:6px 12px;border-radius:20px;letter-spacing:.02em;}

.evoh-sol-h{font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:600;color:var(--evoh-sauge);margin:0 0 12px;line-height:1.2;}
.evoh-solution{margin:0 0 18px;padding:18px 20px;background:#fff;border:1px solid #E8E2D5;border-left:3px solid var(--evoh-sauge);border-radius:12px;box-shadow:0 4px 14px rgba(92,110,79,.10);}
.evoh-solution ul{list-style:none;padding:0;margin:0;}
.evoh-solution li{font-size:15px;font-weight:500;color:var(--evoh-texte);padding:9px 0 9px 34px;position:relative;list-style:none;margin:0;line-height:1.5;}
.evoh-solution li:before{content:"✓";position:absolute;left:0;top:9px;width:21px;height:21px;line-height:21px;text-align:center;background:var(--evoh-sauge);color:#fff;border-radius:50%;font-size:12px;font-weight:700;}
.evoh-solution li b{color:var(--evoh-sauge-f);}

/* ---- Order bumps ---- */
.evoh-bumps-h{font-size:13.5px;font-weight:700;color:var(--evoh-sauge-f);margin:4px 0 10px;}
.woocommerce div.product .evoh-bump{display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:11px;width:100%!important;min-height:0!important;height:auto!important;text-align:left!important;background:#fff;
  border:1.5px solid var(--evoh-ligne);border-radius:12px;padding:8px 14px!important;margin-bottom:8px;cursor:pointer;
  font-family:inherit;-webkit-appearance:none;appearance:none;line-height:1.25;box-shadow:none;transition:background .15s,border-color .15s;}
.woocommerce div.product .evoh-bump.sel{border-color:var(--evoh-sauge)!important;background:#EAF0E2!important;}
.woocommerce div.product .evoh-bump.sel .evoh-bt b{color:var(--evoh-sauge-f);}
.woocommerce div.product .evoh-bump:hover:not(.sel),
.woocommerce div.product .evoh-bump:focus:not(.sel){background:#fff!important;box-shadow:none!important;outline:none!important;}
.evoh-chk{width:20px;height:20px;border-radius:6px;border:2px solid #cfcabd;flex:none;display:flex;align-items:center;justify-content:center;color:#fff;}
.evoh-bump.sel .evoh-chk{background:var(--evoh-sauge);border-color:var(--evoh-sauge);}
.evoh-chk svg{width:13px;height:13px;opacity:0;}
.evoh-bump.sel .evoh-chk svg{opacity:1;}
.evoh-bthumb{width:34px;height:34px;border-radius:8px;object-fit:cover;border:1px solid var(--evoh-ligne);background:#FAFAFA;flex:none!important;}
.evoh-chk{flex:none!important;}
.evoh-bt{flex:1 1 auto!important;min-width:0;font-size:13.5px;line-height:1.3;}
.evoh-bt b{color:var(--evoh-texte);}
.evoh-bt small{display:block;color:var(--evoh-gris);font-size:11.5px;}
.evoh-bp{font-size:13px;font-weight:700;color:var(--evoh-sauge);white-space:nowrap;flex:none!important;text-align:right;}
.evoh-bp.free{color:var(--evoh-vert);}
.evoh-bp.free::before{content:"\1F381  ";font-weight:400;}
.evoh-bp s{color:var(--evoh-gris);font-weight:400;font-size:11.5px;margin-left:5px;text-decoration:line-through;}
/* Parfum (612) : photo un peu réduite dans sa vignette (bouteille entière, pas zoomée) */
.evoh-bump[data-id="612"] .evoh-bthumb{object-fit:contain;padding:4px;background:#fff;}

/* ---- Barre livraison offerte ---- */
.evoh-shipbar{background:#fff;border:1.5px solid var(--evoh-or);border-radius:12px;padding:13px 15px;margin:6px 0 14px;}
.evoh-ship-msg{font-size:14px;font-weight:700;color:var(--evoh-sauge-f);margin-bottom:9px;text-align:center;}
.evoh-ship-msg b{color:var(--evoh-or);font-size:15px;}
.evoh-ship-track{height:11px;background:#EFEBE3;border-radius:20px;overflow:hidden;}
.evoh-ship-fill{height:100%;background:var(--evoh-or);border-radius:20px;width:0;transition:width .35s ease;}
.evoh-shipbar.ok{border-color:var(--evoh-or);background:#F7EFDD;}
.evoh-shipbar.ok .evoh-ship-msg,.evoh-shipbar.ok .evoh-ship-msg b{color:#7d6128;}

/* ---- Bouton ajouter (natif) + qty ---- */
.single-product div.product form.cart{display:flex;gap:12px;align-items:stretch;margin:4px 0 10px;}
.single-product div.product form.cart .quantity{flex:none;}
.single-product div.product form.cart .quantity input.qty{
  height:54px;width:64px;border:1px solid var(--evoh-ligne);border-radius:12px;text-align:center;font-size:15px;font-weight:600;}
.single-product div.product .single_add_to_cart_button{
  flex:1;background:var(--evoh-sauge)!important;color:#fff!important;border:none!important;border-radius:12px!important;
  font-size:16px!important;font-weight:700!important;letter-spacing:.01em;min-height:54px;text-transform:none!important;}
.single-product div.product .single_add_to_cart_button:hover{background:var(--evoh-sauge-f)!important;}
.single-product div.product .single_add_to_cart_button.loading{opacity:.7;}

/* ---- Ligne micro + réassurance 4 icônes (calque « Nos packs ») ---- */
.evoh-micro{text-align:center;font-size:12.5px;color:var(--evoh-gris);margin:14px 0 0;}
.evoh-reassure{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--evoh-ligne);}
.evoh-reassure > div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;min-width:0;line-height:1.2;}
.evoh-reassure i{font-style:normal;font-size:20px;line-height:1;}
.evoh-reassure b{font-size:13px;font-weight:600;color:var(--evoh-texte);}
.evoh-reassure small{font-size:11.5px;color:var(--evoh-gris);}
@media(min-width:720px){.evoh-reassure{grid-template-columns:repeat(4,1fr);gap:16px 8px;}}

/* Espace au-dessus du bouton PayPal express (généré par le plugin PayPal) */
.single-product div.product .ppc-button-wrapper{margin-top:18px;}

/* ===== Bandeaux du bas (description longue, rendue par evolya_custom_render_narrative) ===== */
.evolya-narrative{margin-top:18px;}
.evolya-narrative .evoh-band{margin-top:64px;padding-top:0;border-top:none;}
.evolya-narrative .evoh-band-first{margin-top:40px;}
.evolya-narrative .evoh-band-title{text-align:center;margin-bottom:28px;}
.evolya-narrative .evoh-band-title .k{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--evoh-or);font-weight:700;}
.evolya-narrative .evoh-band-title .k:after{content:"";display:block;width:30px;height:2px;background:var(--evoh-or);opacity:.5;margin:9px auto 0;border-radius:2px;}
.evolya-narrative .evoh-band-title h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:30px;font-weight:700;margin:12px 0 0;color:var(--evoh-sauge);}

/* Cartes ACTIFS */
.evolya-narrative .evoh-cards2{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:840px;margin:0 auto;}
.evolya-narrative .evoh-card{background:#FAF8F4;border:1px solid var(--evoh-ligne);border-radius:16px;padding:26px 24px;text-align:center;}
.evolya-narrative .evoh-card-ic{font-size:32px;line-height:1;margin-bottom:12px;}
.evolya-narrative .evoh-card h4{font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:700;color:var(--evoh-sauge);margin:0 0 10px;}
.evolya-narrative .evoh-card p{font-size:14px;line-height:1.7;margin:0;color:var(--evoh-texte);}
.evolya-narrative .evoh-card b{color:var(--evoh-sauge-f);}

/* ÉTAPES (mode d'emploi) */
.evolya-narrative .evoh-steps3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;max-width:900px;margin:0 auto;}
.evolya-narrative .evoh-s3{text-align:center;padding:0 6px;}
.evolya-narrative .evoh-s3n{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--evoh-sauge);color:#fff;font-family:'Cormorant Garamond',Georgia,serif;font-size:22px;font-weight:700;margin-bottom:12px;}
.evolya-narrative .evoh-s3 h4{font-size:16px;font-weight:700;margin:0 0 6px;color:var(--evoh-texte);}
.evolya-narrative .evoh-s3 p{font-size:13.5px;line-height:1.65;color:var(--evoh-gris);margin:0;}

/* Piliers : icône trait fin (calque mockup) */
.evolya-narrative .evoh-pil svg.ic{width:30px;height:30px;color:var(--evoh-sauge);margin-bottom:8px;display:inline-block;}
.evolya-narrative .evoh-descwrap{max-width:840px;margin:0 auto;}
.evolya-narrative .evoh-intro{font-size:15px;line-height:1.75;text-align:center;margin:0 0 26px;}
.evolya-narrative .evoh-intro b{color:var(--evoh-sauge-f);}
.evolya-narrative .evoh-acc{border:1px solid var(--evoh-ligne);border-radius:12px;margin-bottom:11px;background:#fff;overflow:hidden;}
.evolya-narrative .evoh-acc-h{width:100%;background:#fff;border:none;text-align:left;padding:16px 18px;font-size:15px;font-weight:600;color:var(--evoh-texte);display:flex;justify-content:space-between;align-items:center;cursor:pointer;font-family:inherit;gap:12px;}
/* Neutralise la couleur de bouton rose du thème ; état fermé = blanc */
.evolya-narrative .evoh-acc-h,
.evolya-narrative .evoh-acc-h:hover,
.evolya-narrative .evoh-acc-h:focus,
.evolya-narrative .evoh-acc-h:active{background:#fff!important;color:var(--evoh-texte)!important;box-shadow:none!important;outline:none!important;}
/* Accordéon OUVERT = fond beige/crème de la charte (pas le rose) */
.evolya-narrative .evoh-acc.open{border-color:#E7DEC9;}
.evolya-narrative .evoh-acc.open .evoh-acc-h,
.evolya-narrative .evoh-acc.open .evoh-acc-h:hover,
.evolya-narrative .evoh-acc.open .evoh-acc-h:focus{background:#F6EFDD!important;color:var(--evoh-texte)!important;}
.evolya-narrative .evoh-acc-h .pm{color:var(--evoh-sauge)!important;}
.evolya-narrative .evoh-acc-h .pm{font-size:24px;color:var(--evoh-sauge);font-weight:300;line-height:1;transition:transform .2s;flex:none;}
.evolya-narrative .evoh-acc.open .evoh-acc-h .pm{transform:rotate(45deg);}
.evolya-narrative .evoh-acc-c{max-height:0;overflow:hidden;transition:max-height .28s ease;padding:0 18px;}
.evolya-narrative .evoh-acc.open .evoh-acc-c{max-height:900px;padding-bottom:17px;}
.evolya-narrative .evoh-acc-c p{font-size:14px;line-height:1.7;margin:0 0 10px;}
.evolya-narrative .evoh-acc-c p:last-child{margin-bottom:0;}
.evolya-narrative .evoh-acc-c b{color:var(--evoh-sauge-f);}
.evolya-narrative .evoh-acc-c a{color:var(--evoh-sauge);font-weight:600;}
.evolya-narrative .evoh-step{display:flex;gap:11px;margin-bottom:11px;}
.evolya-narrative .evoh-step .n{width:24px;height:24px;border-radius:50%;background:var(--evoh-sauge);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px;}
.evolya-narrative .evoh-inci{font-size:12px;color:var(--evoh-gris);line-height:1.6;}
.evolya-narrative .evoh-ugc{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:840px;margin:0 auto;}
.evolya-narrative .evoh-ugc .v{aspect-ratio:3/4;border-radius:12px;border:1px dashed #DAD6CC;background:#FAFAFA;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#a39e93;font-size:11px;}
.evolya-narrative .evoh-pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.evolya-narrative .evoh-pil{text-align:center;padding:0 10px;}
.evolya-narrative .evoh-pil h4{font-size:15px;font-weight:700;margin:6px 0 6px;}
.evolya-narrative .evoh-pil p{font-size:13px;color:var(--evoh-gris);margin:0;line-height:1.55;}
.evolya-narrative .evoh-pre-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;max-width:840px;margin:0 auto;}
.evolya-narrative .evoh-pre{background:#fff;border:1px solid var(--evoh-ligne);border-radius:14px;padding:14px;text-align:center;}
.evolya-narrative .evoh-pcph{width:100%;aspect-ratio:1/1;border-radius:10px;border:1px solid var(--evoh-ligne);background:#FAFAFA;margin-bottom:12px;overflow:hidden;}
.evolya-narrative .evoh-pcph img{width:100%;height:100%;object-fit:cover;display:block;}
.evolya-narrative .evoh-pre h4{margin:0 0 8px;font-size:15px;font-weight:700;}
.evolya-narrative .evoh-pbadge{display:inline-block;background:#F1EFEA;color:var(--evoh-gris);font-size:11px;font-weight:700;padding:5px 11px;border-radius:20px;}
.evolya-narrative .evoh-restock{max-width:580px;margin:26px auto 0;background:#FAF8F4;border:1px solid var(--evoh-ligne);border-radius:14px;padding:18px 20px;text-align:center;}
.evolya-narrative .evoh-restock p{font-size:14.5px;margin:0 0 13px;line-height:1.55;}
.evolya-narrative .evoh-restock p b{color:var(--evoh-sauge-f);}
.evolya-narrative .evoh-restock form{display:flex;gap:10px;}
.evolya-narrative .evoh-restock input{flex:1;border:1px solid var(--evoh-ligne);border-radius:10px;padding:12px 14px;font-size:14px;font-family:inherit;}
.evolya-narrative .evoh-restock button{background:var(--evoh-sauge)!important;color:#fff!important;border:none;border-radius:10px;padding:12px 18px;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;}
.evolya-narrative .evoh-restock button:hover,.evolya-narrative .evoh-restock button:focus{background:var(--evoh-sauge-f)!important;}
.evolya-narrative .evoh-restock button:disabled{opacity:.6;cursor:default;}
.evolya-narrative .evoh-waitlist-msg{font-size:14.5px;font-weight:600;margin:14px 0 0;}

@media(max-width:820px){
  .evolya-narrative .evoh-band{margin-top:48px;}
  .evolya-narrative .evoh-band-title h2{font-size:26px;}
  .evolya-narrative .evoh-cards2{grid-template-columns:1fr;gap:14px;}
  .evolya-narrative .evoh-steps3{grid-template-columns:1fr;gap:18px;max-width:420px;}
  .evolya-narrative .evoh-ugc{grid-template-columns:repeat(2,1fr);}
  .evolya-narrative .evoh-pillars{grid-template-columns:1fr;gap:18px;}
  .evolya-narrative .evoh-pre-grid{grid-template-columns:1fr 1fr;}
  .evolya-narrative .evoh-restock form{flex-direction:column;}
}
