/*
Theme Name: Hello Éditions
Theme URI: https://helloeditions.fr
Author: Hello Éditions
Description: Thème sur mesure de helloeditions.fr, structure du site historique, typographie sobre, une seule couleur (le jaune Hello). Sans constructeur de pages : rapide, léger, WooCommerce natif.
Version: 0.1.2
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: Propriétaire, Hello Éditions
Text Domain: hello
*/

:root{
  --green:#1C1B19; --green-2:#3A3833; --yellow:#FFD17F; --yellow-d:#F5BD5A; --yellow-l:#FBDC94; --cream:#FFFFFF; --grey:#F4F5F7; --sage:#F4F5F7; --line:#E4E7EC;
  --ink:#1C1B19; --text:#3D3D3D; --muted:#6F6B64; --star:#E5A52B;
  --display:'Outfit','Helvetica Neue',Arial,sans-serif; --body:'Figtree','Helvetica Neue',Arial,sans-serif; --menu:'Syne','Outfit','Helvetica Neue',Arial,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;background:#FFFFFF}
body{color:var(--text);font-family:var(--body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--display);font-weight:600;margin:0;line-height:1.12;color:var(--ink);letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(30px,4.2vw,44px)}h2{font-size:clamp(24px,3vw,32px)}h3{font-size:21px}h4{font-size:18px}
.mark{background:linear-gradient(transparent 62%,var(--yellow) 62%)}
p{margin:0 0 14px}
.wrap{max-width:1290px;margin:0 auto;padding:0 40px}
.center{text-align:center}
.lead{font-size:17px;color:var(--text);max-width:40em}
.muted{color:var(--muted)}
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--display);font-weight:600;font-size:15px;padding:13px 24px;border-radius:999px;background:var(--yellow);color:var(--ink);border:2px solid var(--yellow);white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s}
.btn:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:var(--ink)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn.ghost:hover{background:var(--ink);color:#fff}
.btn.green{background:var(--green);border-color:var(--green)}
.btn.green{color:#fff}.btn.green:hover{background:var(--green-2);border-color:var(--green-2)}
.btn.sm{padding:9px 16px;font-size:13px}
.k{font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.12em;color:var(--green);display:block;margin-bottom:10px}
.k::before{content:"";display:inline-block;width:10px;height:10px;background:var(--yellow);border-radius:2px;margin-right:8px}
section{padding:64px 0}
section.cream{background:var(--cream)}
section.grey{background:var(--grey)}
.sec-title{text-align:left;margin-bottom:30px}
.sec-title h2{margin-bottom:6px}
.sec-title p{color:var(--muted);margin:0}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:28px;flex-wrap:wrap}

/* top bar + header (structure actuelle, conservée) */
.topbar{background:var(--green);color:#fff;font-size:13px;font-weight:500}
.topbar .wrap{display:flex;justify-content:center;gap:40px;height:38px;align-items:center}
.topbar a{color:#fff}
.topbar a b{color:var(--yellow);font-weight:600}
.topbar{font-family:var(--body)}
.badge-new{font-family:var(--menu)!important;letter-spacing:.1em!important}
header .wrap{display:grid;grid-template-columns:1fr 1.4fr 1fr;align-items:center;height:110px;gap:32px}
.logo img,.custom-logo-link img,.custom-logo{height:32px!important;width:auto!important;max-width:none;flex:none}
.custom-logo-link{display:flex;align-items:center}
.search{display:flex;align-items:center;gap:12px;background:var(--grey);border-radius:999px;height:52px;padding:0 22px;color:var(--muted);font-style:italic;font-size:15px}
.search svg{width:20px;height:20px;flex:none}
.hicons{display:flex;justify-content:flex-end;gap:22px;align-items:center}
.hicons a{position:relative;display:grid;place-items:center;width:28px;height:28px;color:var(--ink)}
.hicons svg{width:22px;height:22px}
.hicons i{position:absolute;top:-6px;right:-8px;background:var(--yellow);color:var(--ink);font-style:normal;font-size:10px;font-weight:700;width:16px;height:16px;border-radius:50%;display:grid;place-items:center}
nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
nav .wrap{display:flex;justify-content:center;align-items:center;gap:36px;min-height:64px;padding-top:8px;padding-bottom:8px}
nav a{font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:13px;letter-spacing:.08em;white-space:nowrap;color:var(--ink);padding:6px 0;border-bottom:2px solid transparent}
nav a:hover,nav a[aria-current]{border-bottom-color:var(--yellow);color:var(--ink)}
nav a.cta{color:var(--green)}

/* hero (remplace le slider vidéo cassé) */
.hero{background:var(--cream);padding:56px 0}
.hero .wrap{display:grid;grid-template-columns:1.2fr .9fr;gap:56px;align-items:center}
.hero h1{font-size:clamp(32px,4.6vw,50px);color:var(--ink)}
.hero h1 span{background:linear-gradient(transparent 62%,var(--yellow) 62%)}
.hero p{font-size:17px;max-width:32em;margin:16px 0 26px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.hero .video{position:relative;border-radius:16px;overflow:hidden;background:var(--green);aspect-ratio:16/9;display:grid;place-items:center;color:#fff;box-shadow:0 20px 40px -24px rgba(0,0,0,.45)}
.hero .video img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero .video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hero .video .play{position:relative;z-index:1}
.hero .video .play{width:72px;height:72px;border-radius:50%;background:var(--yellow);color:var(--ink);display:grid;place-items:center}
.hero .video .play svg{width:26px;height:26px;margin-left:4px}
.hero .video .cap{position:absolute;left:18px;bottom:16px;font-family:var(--display);text-transform:uppercase;letter-spacing:.08em;font-size:13px;background:rgba(0,0,0,.45);padding:6px 12px;border-radius:6px}
.badge-new{position:absolute;top:-18px;right:-18px;width:96px;height:96px;border-radius:50%;background:var(--yellow);color:var(--ink);font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:13px;letter-spacing:.06em;display:grid;place-items:center;transform:rotate(12deg);box-shadow:0 8px 20px -8px rgba(0,0,0,.35)}

/* produits (grille Woo) */
.products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px}
.products.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.products.four{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1000px){.products,.products.five,.products.four{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.products,.products.five,.products.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
.product{display:block;text-align:left}
.product .th{position:relative;border-radius:8px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.08),0 14px 28px -18px rgba(0,0,0,.45);transition:transform .2s}
.product:hover .th{transform:translateY(-5px)}
.product img{aspect-ratio:2/3;object-fit:cover;width:100%}
.product .quick{position:absolute;left:0;right:0;bottom:0;background:rgba(9,51,26,.92);color:#fff;font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:12px;letter-spacing:.08em;padding:10px;transform:translateY(100%);transition:transform .2s}
.product:hover .quick{transform:none}
.product .t{margin-top:12px;font-family:var(--display);font-weight:600;font-size:15px;color:var(--ink);line-height:1.3}
.product .a{font-size:13px;color:var(--muted);margin-top:2px}
.product .p{font-size:14px;color:var(--ink);font-weight:600;margin-top:4px;font-variant-numeric:tabular-nums}
.product .p em{font-style:normal;color:var(--muted);font-weight:400}

/* collections : les vrais badges du site */
.badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 40px;max-width:1040px;margin:0 auto;align-items:center}
@media (max-width:800px){.badges{grid-template-columns:1fr 1fr}}
.badges a{display:block;transition:transform .2s}
.badges a:hover{transform:scale(1.04)}

/* avis */
.reviews-wrap{position:relative}
.reviews{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 56px)/3);gap:28px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}
.reviews::-webkit-scrollbar{display:none}
@media (max-width:900px){.reviews{grid-auto-columns:calc((100% - 28px)/2)}}
@media (max-width:600px){.reviews{grid-auto-columns:88%}}
.review{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 26px 22px;display:flex;flex-direction:column;gap:10px}
.rev-btn{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1;cursor:pointer;color:var(--ink);z-index:2;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.rev-btn.prev{left:-20px}.rev-btn.next{right:-20px}
.rev-btn:hover{background:var(--yellow);border-color:var(--yellow)}
@media (max-width:1300px){.rev-btn.prev{left:-8px}.rev-btn.next{right:-8px}}
.review details summary{font-size:14px;color:var(--green);cursor:pointer;font-weight:600}
.review details p{margin-top:8px}
.review .who{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.review .who b{color:var(--ink);font-weight:600}
.review .who span{font-size:13px;color:var(--muted)}
.review .stars{letter-spacing:2px;font-size:15px;color:var(--line)}
.review .stars .on{color:var(--star)}
.review h4{font-family:var(--body);text-transform:none;font-weight:600;color:var(--ink);font-size:17px;letter-spacing:0;line-height:1.35}
.review p{margin:0;color:var(--text);font-size:15px}
.review a{color:var(--green);font-weight:600;font-size:14px;border-bottom:2px solid var(--yellow)}

/* réseaux */
.social{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.social h2{text-align:right;font-size:30px}
.social .icons{display:flex;gap:18px}
.social .icons a{width:56px;height:56px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-family:var(--display);font-weight:600;font-size:13px;text-transform:uppercase}
@media (max-width:760px){.social{grid-template-columns:1fr}.social h2{text-align:left}}

/* blocs génériques */
.g2{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
@media (max-width:900px){.g3,.g4{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.g2,.g3,.g4{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px}
.card h3{color:var(--green);margin-bottom:8px}
.card p{margin:0}
.panel{background:var(--cream);border-radius:12px;padding:32px}
.kv div{display:grid;grid-template-columns:190px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.kv div:last-child{border-bottom:0}
.kv b{color:var(--ink);font-weight:600}
@media (max-width:640px){.kv div{grid-template-columns:1fr;gap:2px}}
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
@media (max-width:900px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.steps{grid-template-columns:1fr}}
.step{background:#fff;border-radius:12px;padding:24px 22px;border:1px solid var(--line)}
.step .n{width:40px;height:40px;border-radius:50%;background:var(--yellow);color:var(--ink);font-family:var(--display);font-weight:600;font-size:15px;display:grid;place-items:center;margin-bottom:14px}
.step h3{font-size:19px;color:var(--ink);margin-bottom:6px}
.step p{margin:0;font-size:14px}
.step .who{display:block;margin-top:10px;font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:var(--green)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media (max-width:640px){.stats{grid-template-columns:1fr 1fr}}
.stat{background:#fff;border-radius:12px;padding:24px;border:1px solid var(--line)}
.stat .n{font-family:var(--display);font-weight:600;font-size:40px;color:var(--ink);line-height:1;letter-spacing:-.02em}
.stat .t{font-size:14px;color:var(--muted);margin-top:6px}
.quote{background:#fff;border-radius:12px;padding:26px;border:1px solid var(--line)}
.quote .stars{color:var(--star);letter-spacing:2px;font-size:14px;margin-bottom:8px}
.quote p{color:var(--text);font-size:15px}
.quote cite{font-style:normal;font-size:13px;color:var(--muted)}
.quote cite b{color:var(--ink);font-weight:600}
form{display:grid;gap:14px}
.f2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:640px){.f2{grid-template-columns:1fr}}
label{font-weight:600;font-size:13px;display:block;margin-bottom:6px;color:var(--ink)}
input,select,textarea{font:inherit;font-size:15px;padding:12px 16px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;width:100%}
textarea{border-radius:16px;min-height:120px;resize:vertical}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--yellow-d);outline-offset:1px}
.hint{font-size:13px;color:var(--muted)}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{font-family:var(--display);font-weight:500;font-size:13px;padding:9px 16px;border-radius:999px;border:1px solid var(--line);color:var(--ink);background:#fff}
.chip:hover{border-color:var(--ink)}
.chip.on{background:var(--yellow);border-color:var(--yellow);color:var(--ink);font-weight:600}
details{border-bottom:1px solid var(--line);padding:16px 0}
details:first-of-type{border-top:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;color:var(--ink);font-size:16px;list-style:none;display:flex;justify-content:space-between;gap:20px}
summary::after{content:"+";color:var(--green);font-size:22px;line-height:1}
details[open] summary::after{content:"–"}
details p{margin:10px 0 0;max-width:42em}
.fiche{display:grid;grid-template-columns:380px 1fr;gap:56px;align-items:start}
@media (max-width:860px){.fiche{grid-template-columns:1fr}}
.fiche img{border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.08),0 24px 40px -24px rgba(0,0,0,.45)}
.fiche h1{color:var(--ink);font-size:38px}
.price{font-family:var(--display);font-weight:600;font-size:28px;color:var(--ink)}
.buy{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 28px}
.buy input{width:84px}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
@media (max-width:900px){.posts{grid-template-columns:1fr}}
.post{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;display:block}
.post small{font-family:var(--display);font-weight:600;text-transform:uppercase;font-size:11px;letter-spacing:.08em;color:var(--green)}
.post h3{font-family:var(--body);text-transform:none;font-weight:600;color:var(--ink);font-size:17px;letter-spacing:0;margin:8px 0;line-height:1.35}
.post p{margin:0;font-size:14px}
.map{border-radius:12px;background:var(--cream);min-height:320px;position:relative;overflow:hidden}
.map .pin{position:absolute;width:12px;height:12px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(9,51,26,.15)}
.map .cap{position:absolute;left:14px;bottom:12px;font-size:12px;background:#fff;padding:6px 10px;border-radius:6px;color:var(--muted)}

/* bande manuscrit */
.cta-band{background:var(--green);color:#fff;padding:56px 0}
.cta-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap}
.cta-band h2{color:#fff;margin-bottom:6px}
.cta-band p{margin:0;opacity:.9}

/* footer (structure actuelle) */
footer{border-top:1px solid var(--line);padding:56px 0 32px;font-size:14px}
footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
@media (max-width:860px){footer .cols{grid-template-columns:1fr 1fr}}
footer h4{font-family:var(--display);font-weight:600;text-transform:uppercase;color:var(--ink);font-size:12px;letter-spacing:.1em;margin-bottom:12px}
footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
footer .copy{border-top:1px solid var(--line);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--muted);font-size:13px}

/* ===== WordPress / WooCommerce ===== */
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--yellow);padding:8px 12px;z-index:100}
.skip-link:focus{left:8px}
.search form{display:contents}
.search input[type=search]{border:0;background:transparent;padding:0;font-style:italic;font-size:15px;color:var(--ink);border-radius:0}
.search input[type=search]:focus-visible{outline:none}
.search button{background:none;border:0;padding:0;display:grid;place-items:center;color:var(--muted);cursor:pointer}
.search button svg{width:20px;height:20px}
nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 30px}
nav li{position:relative}
nav .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 0;min-width:220px;z-index:30;box-shadow:0 14px 30px -18px rgba(0,0,0,.35)}
nav li:hover > .sub-menu,nav li:focus-within > .sub-menu{display:block}
nav li.menu-item-has-children > a::after{content:" ▾";font-size:10px}
nav .sub-menu a{display:block;padding:8px 18px;text-transform:none;letter-spacing:0;font-family:var(--body);font-weight:500;border:0}
nav .sub-menu a:hover{background:var(--grey)}
.burger{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:20px;cursor:pointer}
@media (max-width:1000px){
  header .wrap{grid-template-columns:auto 1fr auto;height:72px;gap:16px}
  .logo img{height:28px!important}
  .search{display:none}
  nav{border:0}
  nav .wrap{display:none}
  nav.open .wrap{display:block;height:auto;padding:8px 24px 18px;border-bottom:1px solid var(--line)}
  nav.open ul{display:flex;flex-direction:column;gap:2px;align-items:flex-start}
  nav.open ul a{display:block;padding:10px 0;border-bottom:0}
  nav.open .sub-menu{display:block;position:static;border:0;box-shadow:none;padding:0 0 6px 14px;min-width:0;border-left:2px solid var(--yellow);margin:2px 0 8px}
  nav.open .sub-menu a{padding:7px 0;font-size:15px}
  .burger{display:block}
  .hero .wrap{grid-template-columns:1fr}
  .g2{grid-template-columns:1fr}
  .topbar .wrap{gap:16px;font-size:12px;height:auto;padding:8px 16px;flex-wrap:wrap}
}
/* boucle produits Woo */
ul.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:28px}
ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1000px){ul.products,ul.products.columns-4,ul.products.columns-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){ul.products,ul.products.columns-4,ul.products.columns-5{grid-template-columns:repeat(2,minmax(0,1fr))}}
ul.products li.product{margin:0;padding:0}
.product .th img,.woocommerce ul.products li.product a img{height:auto;margin:0;aspect-ratio:2/3;object-fit:cover;display:block}
.product .price del{color:var(--muted);font-weight:400;margin-right:6px}
.product .price ins{text-decoration:none}
.woocommerce-result-count,.woocommerce-ordering{margin:0;color:var(--muted);font-size:14px}
.shop-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.woocommerce-ordering select{border-radius:999px;padding:8px 14px;width:auto}
.woocommerce-pagination ul{list-style:none;display:flex;gap:6px;justify-content:center;padding:0;margin:40px 0 0}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:40px;height:40px;border-radius:999px;border:1px solid var(--line);padding:0 12px;font-weight:600}
.woocommerce-pagination .current{background:var(--yellow);border-color:var(--yellow)}
/* fiche produit Woo */
.single-product .fiche .woocommerce-product-gallery{width:100%;max-width:380px}
.single-product .fiche .woocommerce-product-gallery figure{margin:0}
.single-product .fiche .woocommerce-product-gallery .flex-viewport{border-radius:8px;overflow:hidden}
.single-product .fiche .woocommerce-product-gallery__trigger{position:absolute;top:10px;right:10px;z-index:5;width:40px;height:40px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15);display:grid;place-items:center;text-indent:-9999px}
.single-product .fiche .woocommerce-product-gallery img{width:100%;height:auto;border-radius:8px}
.single-product .fiche .flex-control-thumbs{list-style:none;display:flex;gap:8px;padding:0;margin:10px 0 0}
.single-product .fiche .flex-control-thumbs img{width:64px;border-radius:4px;cursor:pointer}
.single-product .fiche .woocommerce-product-gallery__wrapper{margin:0}
.single-product .fiche .price{display:block;margin:6px 0 0}
.single-product .fiche form.cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:22px 0 28px}
.single-product .fiche .quantity input{width:84px}
.single-product .fiche .single_add_to_cart_button{font-family:var(--display);font-weight:600;font-size:15px;padding:13px 24px;border-radius:999px;background:var(--yellow);color:var(--ink);border:2px solid var(--yellow);cursor:pointer}
.single-product .fiche .single_add_to_cart_button:hover{background:var(--yellow-d);border-color:var(--yellow-d)}
.single-product .fiche table.variations{border-collapse:collapse}
.single-product .fiche table.variations td{padding:4px 8px 4px 0}
.single-product .fiche table.variations select{width:auto;min-width:170px}
.single-product .fiche .reset_variations{font-size:13px;margin-left:8px}
.single-product .fiche .product_meta{font-size:14px;color:var(--muted);display:grid;gap:6px;margin-top:8px}
.single-product .fiche .woocommerce-product-details__short-description{font-size:17px;color:var(--text);margin-top:18px}
.single-product .woocommerce-tabs{margin-top:48px}
.single-product .woocommerce-tabs .tabs{list-style:none;display:flex;gap:6px;padding:0;margin:0 0 20px;border-bottom:1px solid var(--line)}
.single-product .woocommerce-tabs .tabs li a{display:block;padding:10px 16px;font-family:var(--display);font-weight:600;border-bottom:2px solid transparent}
.single-product .woocommerce-tabs .tabs li.active a{border-bottom-color:var(--yellow)}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:22px}
.woocommerce-breadcrumb a{color:var(--green);font-weight:600}
/* panier, commande, compte : on laisse Woo, on aligne les contrôles */
.woocommerce table.shop_table{border:1px solid var(--line);border-radius:12px;border-collapse:separate;border-spacing:0;width:100%}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.woocommerce table.shop_table tr:last-child td{border-bottom:0}
.woocommerce table.shop_table img{width:60px;height:auto;border-radius:4px}
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{font-family:var(--display);font-weight:600;font-size:15px;padding:12px 22px;border-radius:999px;background:var(--yellow);color:var(--ink);border:2px solid var(--yellow);cursor:pointer;line-height:1.2}
.woocommerce .button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:var(--ink)}
.woocommerce .button.alt,.woocommerce button.button.alt,button.single_add_to_cart_button.alt{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.woocommerce .button.alt:hover,button.single_add_to_cart_button.alt:hover{background:var(--yellow-d);border-color:var(--yellow-d);color:var(--ink)}
.woocommerce form .form-row{margin-bottom:12px}
.woocommerce form .form-row label{font-weight:600;font-size:13px}
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{border:1px solid var(--line);border-left:4px solid var(--yellow);border-radius:10px;padding:14px 18px;background:var(--cream);margin-bottom:24px;list-style:none}
.woocommerce .woocommerce-error{border-left-color:#C0392B}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:10px;font-weight:600}
.woocommerce-MyAccount-navigation .is-active a{background:var(--yellow-l)}
.woocommerce-account:not(.logged-in) .woocommerce{display:block;max-width:520px}
.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:40px}
@media (max-width:800px){.woocommerce-account.logged-in .woocommerce{grid-template-columns:1fr}}
/* panier */
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content,.woocommerce-account .entry-content{max-width:none}
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:start}
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-cart form.woocommerce-cart-form{grid-column:1}
.woocommerce-cart .cart-collaterals{grid-column:2;margin:0;max-width:none;position:sticky;top:24px}
.woocommerce-cart .cart_totals{background:var(--cream);border-radius:12px;padding:24px}
.woocommerce-cart .cart_totals h2{font-size:22px;margin-bottom:14px}
.woocommerce-cart .cart_totals table.shop_table{border:0;background:transparent}
.woocommerce-cart .cart_totals th{width:34%;padding-left:0;vertical-align:top}
.woocommerce-cart #shipping_method{list-style:none;margin:0;padding:0}
.woocommerce-cart #shipping_method li{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:start;margin-bottom:8px;font-size:14px}
.woocommerce-cart #shipping_method input{width:auto;margin:4px 0 0}
.woocommerce-cart .woocommerce-shipping-destination{font-size:13px;color:var(--muted)}
.woocommerce-cart .cart_totals td{padding-right:0}
.woocommerce-cart .wc-proceed-to-checkout{margin-top:16px}
.woocommerce-cart .wc-proceed-to-checkout .button{width:100%;text-align:center;justify-content:center;display:block}
.woocommerce-cart td.actions{padding:14px 0 0;border:0}
.woocommerce-cart td.actions .coupon{float:left}
.woocommerce-cart td.actions > .button{float:right}
.woocommerce-cart .product-remove a{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--grey);color:var(--ink);font-weight:600;text-decoration:none}
.woocommerce-cart .product-name a{font-weight:600;color:var(--ink)}
.woocommerce-cart .quantity input{width:72px;padding:8px}
@media (max-width:860px){.woocommerce-cart .woocommerce{grid-template-columns:1fr}.woocommerce-cart .cart-collaterals{grid-column:1;position:static}}
/* commande */
.woocommerce-checkout form.checkout{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1}
.woocommerce-checkout form.checkout > *:not(#customer_details):not(#order_review):not(#order_review_heading){grid-column:1/-1}
#wc-stripe-express-checkout-element,#wc-stripe-express-checkout-button-separator,.wc-stripe-express-checkout__order-attribution-inputs{display:none!important}
.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;font-size:22px;margin:0 0 -24px}
.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:1;margin-top:44px;background:var(--cream);border-radius:12px;padding:24px;position:sticky;top:24px}
.woocommerce-checkout form.checkout #order_review table.shop_table{border:0;background:transparent;margin-bottom:16px}
.woocommerce-checkout form.checkout #order_review th,.woocommerce-checkout form.checkout #order_review td{padding:10px 0}
.woocommerce-checkout .col2-set{display:block}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{width:100%;float:none}
.woocommerce-checkout h3{font-size:20px;margin:0 0 14px}
.woocommerce-checkout .woocommerce-additional-fields{margin-top:24px}
.woocommerce form .form-row{display:block;float:none;width:100%!important;margin:0 0 12px}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row select,.woocommerce form .form-row textarea{width:100%}
.woocommerce form .form-row .required{color:var(--green)}
.woocommerce-checkout #shipping_method{list-style:none;margin:0;padding:0}
.woocommerce-checkout #shipping_method li{display:flex;gap:10px;align-items:center;margin-bottom:6px;font-size:15px}
.woocommerce-checkout #shipping_method input{width:auto;margin:0}
.woocommerce-checkout .wc_payment_methods{list-style:none;margin:0;padding:0}
.woocommerce-checkout .wc_payment_method{margin-bottom:10px}
.woocommerce-checkout .wc_payment_method > label{display:inline;font-weight:600;font-size:15px;margin-left:6px}
.woocommerce-checkout .wc_payment_method input[type=radio]{width:auto}
.woocommerce-checkout .payment_box{background:#fff;border-radius:10px;padding:14px;margin-top:8px;font-size:14px}
.woocommerce-checkout #place_order{width:100%;margin-top:14px;font-size:16px;padding:15px}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:12px}
.woocommerce-checkout .woocommerce-form-coupon-toggle + .checkout_coupon{margin-bottom:20px}
.woocommerce-checkout .woocommerce-privacy-policy-text{font-size:13px;color:var(--muted)}
.wc-stripe-elements-field,.wc-stripe-upe-element{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px}
@media (max-width:860px){.woocommerce-checkout form.checkout{grid-template-columns:1fr}.woocommerce-checkout form.checkout #order_review_heading,.woocommerce-checkout form.checkout #order_review{grid-column:1;grid-row:auto;position:static;margin-top:0}}
/* compte */
.woocommerce-account .woocommerce-MyAccount-content{min-width:0}
.woocommerce-cart .coupon{display:flex;gap:8px;align-items:center}
.woocommerce-cart .coupon input{width:200px}
/* contenu éditorial (page.php) */
.entry-content{max-width:760px}
.entry-content h2{margin:32px 0 12px}
.entry-content h3{margin:24px 0 8px}
.entry-content ul,.entry-content ol{padding-left:22px}
.entry-content a{color:var(--green);font-weight:600;border-bottom:2px solid var(--yellow)}
.entry-content img{border-radius:12px}
.wp-block-button__link{font-family:var(--display);font-weight:600;border-radius:999px;background:var(--yellow);color:var(--ink);padding:13px 24px}
/* formulaire manuscrit natif */
.form-ok{background:var(--yellow-l);border-radius:12px;padding:20px 24px;margin-bottom:20px;color:var(--ink)}
/* archive conseils */
.archive-posts .post h3 a{color:inherit}
.page-title{margin-bottom:6px}

/* photos : cadre jaune décalé + légende */
.frame{position:relative;margin:0 0 0 auto;max-width:440px;width:100%}
.frame::before{content:"";position:absolute;inset:10px -10px -10px 10px;background:var(--yellow);border-radius:18px;z-index:0}
.frame img{position:relative;z-index:1;display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;box-shadow:0 14px 30px -18px rgba(0,0,0,.4)}
.frame .cap{position:absolute;left:14px;bottom:14px;z-index:2;background:#fff;color:var(--ink);font-family:var(--menu);font-weight:700;font-size:10px;letter-spacing:.12em;text-transform:uppercase;padding:7px 11px;border-radius:999px;box-shadow:0 4px 12px rgba(0,0,0,.12)}
.frame.tilt{transform:none}
.frame.left{margin:0 auto 0 0}
.frames{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:start;max-width:920px}
.frames .frame{margin:0;max-width:none}
@media (max-width:760px){.frames{grid-template-columns:1fr}.frame{max-width:none;margin:0}}
/* Formidable Forms dans nos gabarits */
.frm_forms .frm_form_field{margin-bottom:14px}.frm_forms label{font-weight:600;font-size:13px}.frm_forms input[type=text],.frm_forms input[type=email],.frm_forms input[type=tel],.frm_forms select,.frm_forms textarea{font:inherit;font-size:15px;padding:12px 16px;border:1px solid var(--line);border-radius:999px;width:100%;background:#fff}.frm_forms textarea{border-radius:16px}.frm_forms .frm_button_submit{font-family:var(--display);font-weight:600;font-size:15px;padding:13px 24px;border-radius:999px;background:var(--yellow);color:var(--ink);border:2px solid var(--yellow);cursor:pointer}
@media (max-width:520px){footer .cols{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.hicons{gap:14px}}

/* Notre histoire : citation, photo + carte, barres du comité */
.bigquote{display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:start;max-width:980px;margin:0 auto}
.qmark{font-family:Georgia,'Times New Roman',serif;font-size:120px;line-height:.6;color:var(--yellow);font-weight:700;margin-top:18px}
.qmark.small{font-size:72px;display:block;margin:0 0 6px}
.bigquote h1{font-weight:500}
.sig{font-family:var(--menu);font-weight:700;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);text-align:right;margin:18px 0 0}
.sig::before{content:"";display:inline-block;width:28px;height:2px;background:var(--ink);vertical-align:middle;margin-right:12px}
.story{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;align-items:stretch}
.story-photo{margin:0}
.story-photo img{width:100%;height:100%;min-height:320px;object-fit:cover;border-radius:16px;display:block}
.story-photo figcaption{font-size:12px;color:var(--muted);margin-top:8px}
.quotecard{padding:36px 40px}
.quotecard p{font-size:17px}
.quotecard .accent{color:var(--green);font-style:italic;margin:0}
.band{display:grid;grid-template-columns:1fr 2fr;gap:40px;align-items:center}
.tag{display:inline-block;font-family:var(--menu);font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;background:var(--yellow);color:var(--ink);padding:6px 12px;border-radius:999px;margin-bottom:12px}
.bars{display:grid;gap:12px;margin-top:20px}
.bar-head{display:flex;justify-content:space-between;font-size:14px;margin-bottom:4px}
.bar-head b{color:var(--ink)}
.bar-track{height:8px;border-radius:999px;background:var(--grey)}
.bar-fill{height:100%;border-radius:999px;background:var(--yellow)}
.list{margin:0;padding-left:20px}
.list li{margin-bottom:6px}
@media (max-width:860px){.story,.band{grid-template-columns:1fr}.bigquote{grid-template-columns:1fr}.qmark{font-size:72px;margin:0}}

/* cohérence : tout ce qui est action = jaune, texte-lien = vert */
a.button,.button,.wc-block-components-button,.added_to_cart{font-family:var(--display);font-weight:600;border-radius:999px;background:var(--yellow);color:var(--ink)}
.woocommerce-store-notice{background:var(--green);color:#fff}
.summary .stock{color:var(--green);font-weight:600}
.summary .out-of-stock{color:#B54A3A}
.woocommerce-variation-price .price{font-family:var(--display);font-weight:600;font-size:22px}
.woocommerce-variation-add-to-cart{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wc-stripe-express-checkout-wrapper,.wcpay-express-checkout-wrapper,.wcpay-payment-request-wrapper,#wcpay-express-checkout-element,#wc-stripe-express-checkout-element,.wc-stripe-payment-request-wrapper{display:none!important}

/* favoris (wishlist) et boutons secondaires de la fiche : contour, pas de couleur */
.woosw-btn,.woosw-btn-add,a.woosw-btn{display:inline-flex!important;align-items:center;gap:8px;font-family:var(--display);font-weight:600;font-size:14px;padding:11px 18px;border-radius:999px;border:1.5px solid var(--ink);background:transparent;color:var(--ink);text-decoration:none;margin:0 0 18px}
.woosw-btn:hover{background:var(--ink);color:#fff}
.woosw-btn::before{content:"♡";font-size:16px}
.woosw-btn.woosw-added::before{content:"♥"}
.wpcbn-btn{display:none!important}

/* bloc « Infos auteur » (snippet ACF) et chroniques du Bookclub : aux couleurs du thème */
.hello-author-section{background:var(--cream)!important;border-top:0!important;border-radius:12px!important;padding:32px!important;margin-top:40px!important;gap:32px!important}
.hello-author-section h3{font-family:var(--display)!important;font-weight:600!important;color:var(--ink)!important;font-size:22px}
.hello-author-section img{border-radius:12px!important;box-shadow:none!important}
.bookclub-reviews-container{display:grid;gap:12px}
.bookclub-reviews-container > *{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}
/* ===== Bookclub Hello ===== */
.bc-sp{background:var(--sage);border-radius:12px;padding:14px 18px;margin:0 0 20px;font-size:16px}
.bc-sp p{margin:0}.bc-sp a{color:var(--ink);font-weight:700;border-bottom:2px solid var(--yellow)}
.bc-bareme div{grid-template-columns:1fr auto}
.bc-bareme span{text-align:right}.bc-bareme strong{font-family:var(--display);font-weight:700;font-size:20px}
.bc-bareme small{display:block;color:var(--muted);font-size:14px;max-width:26em}
.rangs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
@media (max-width:900px){.rangs{grid-template-columns:1fr 1fr}}
.rang{border:1px solid var(--line);border-radius:14px;padding:20px;background:#fff}
.rang b{display:block;font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:15px}
.rang span{color:var(--muted);font-size:15px}
.rang:last-child{background:var(--green);color:#fff;border-color:var(--green)}.rang:last-child span{color:#F2D9DE}
.bc-cout{background:var(--green);color:#fff;border-radius:18px;padding:36px;text-align:center}
.bc-cout .n{display:block;font-family:var(--display);font-weight:700;font-size:72px;line-height:1;color:var(--yellow)}
.bc-dash{display:grid;grid-template-columns:.8fr 1.2fr;gap:24px;align-items:start}
@media (max-width:860px){.bc-dash{grid-template-columns:1fr}}
.bc-solde{background:var(--green);color:#fff;border-radius:18px;padding:32px}
.bc-solde .n{font-family:var(--display);font-weight:700;font-size:64px;line-height:1;color:var(--yellow)}
.rangtag{display:inline-block;margin-top:12px;background:var(--yellow);color:var(--ink);font-family:var(--display);font-weight:600;text-transform:uppercase;letter-spacing:.06em;font-size:13px;padding:6px 12px;border-radius:999px}
.st{font-size:13px;padding:2px 8px;border-radius:999px;background:var(--sage)}
.st-validee{background:#D8EFE3}.st-refusee{background:#F6DCD7}.st-en_attente{background:var(--yellow-l)}
#loginform p{margin:0 0 12px}#loginform input[type=text],#loginform input[type=password]{width:100%}
#loginform .button-primary{font-family:var(--body);font-weight:700;border-radius:999px;background:var(--yellow);border:0;padding:12px 22px;color:var(--ink);cursor:pointer}

/* ===== Direction jaune (slides de Guillaume, sans le rouge) ===== */
.topbar{background:var(--yellow)!important;color:var(--ink)!important}
.topbar a{color:var(--ink)!important}.topbar a b{color:var(--ink)!important;font-weight:700}
.hero{background:linear-gradient(104deg,#FFFFFF 0 57%,var(--yellow) 57% 100%)}
@media (max-width:1000px){.hero{background:#fff}}
.k::before{background:var(--yellow)!important}
.cta-band{background:var(--ink)}.cta-band h2{color:var(--yellow)}
section.cream{background:var(--cream)}
.step .n{background:var(--yellow);color:var(--ink)}
.chip.on,.chip:hover{background:var(--yellow)!important;border-color:var(--yellow)!important;color:var(--ink)!important}
.bc-solde,.bc-cout,.rang:last-child{background:var(--ink)}
footer{background:#fff;border-top:1px solid var(--line)}

/* ===== Espace auteur ===== */
.ea-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:36px;position:sticky;top:0;background:#fff;padding:10px 0;z-index:5;border-bottom:1px solid var(--line)}
.ea-tabs a{font-family:var(--display);font-weight:600;font-size:14px;padding:9px 16px;border-radius:999px;border:1px solid var(--line)}
.ea-tabs a:hover{background:var(--yellow);border-color:var(--yellow)}
.ea-tabs a span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:var(--yellow);font-size:12px;margin-left:4px}
.ea-bloc{margin-bottom:56px;scroll-margin-top:80px}
.ea-chros{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
@media (max-width:900px){.ea-chros{grid-template-columns:1fr}}
.kv em{color:var(--muted);font-style:normal}
/* En-tête : accès « Mon compte » */
.hicons .compte{font-family:var(--display);font-weight:600;font-size:14px;width:auto;display:flex;gap:6px}

/* Réassurance (esprit Librinova) */
.atouts{padding:0;margin-top:-28px;position:relative;z-index:2}
.atouts .wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.atout{background:#fff;border-radius:16px;padding:22px 24px;box-shadow:0 12px 30px -18px rgba(28,27,25,.35);border-top:4px solid var(--yellow)}
.atout b{display:block;font-family:var(--display);font-weight:700;font-size:18px;margin-bottom:6px}
.atout span{color:var(--muted);font-size:15px}
.enseignes{padding:36px 0 8px}
.enseignes .wrap{display:flex;align-items:center;gap:32px;flex-wrap:wrap;justify-content:space-between}
.enseignes .logos{display:flex;gap:36px;align-items:center;flex-wrap:wrap}
.enseignes img{height:30px;width:auto;filter:grayscale(1);opacity:.75;transition:filter .2s,opacity .2s}
.enseignes img:hover{filter:none;opacity:1}
@media (max-width:860px){.atouts .wrap{grid-template-columns:1fr}.atouts{margin-top:16px}}

/* Bandeau du haut : contacts + espace pro */
.topbar .wrap{justify-content:space-between!important;gap:24px!important}
.tb-contacts,.tb-pro{display:flex;gap:28px;align-items:center}
.tb-pro a{font-weight:500}
.tb-pro a + a{padding-left:14px;border-left:1px solid rgba(28,27,25,.25);margin-left:-14px}
@media (max-width:1000px){.tb-pro a:not(:first-child){display:inline}}
@media (max-width:1000px){.tb-contacts a:last-child{display:none}.tb-pro a:not(:first-child){display:none}}
/* Trois portes */
.portes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:22px}
@media (max-width:900px){.portes{grid-template-columns:1fr}}
.porte{display:flex;flex-direction:column;gap:12px;padding:30px 28px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:transform .15s,box-shadow .15s,border-color .15s}
.porte:hover{transform:translateY(-3px);border-color:var(--yellow);box-shadow:0 18px 36px -24px rgba(28,27,25,.45)}
.porte h2{font-size:24px}.porte p{color:var(--muted);margin:0;flex:1}
.porte .go{font-family:var(--display);font-weight:600;border-bottom:2px solid var(--yellow);align-self:flex-start}
.tag{display:inline-block;align-self:flex-start;font-family:var(--display);font-weight:600;font-size:12px;letter-spacing:.08em;text-transform:uppercase;background:var(--yellow);color:var(--ink);padding:6px 12px;border-radius:999px}
/* Bannière Bookclub */
.bc-banner{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;background:var(--yellow-l);border-radius:18px;padding:22px 28px;transition:background .15s}
.bc-banner:hover{background:var(--yellow)}
.bc-banner .txt{font-size:17px}
@media (max-width:760px){.bc-banner{grid-template-columns:1fr}}

/* Statuts et récompenses */
.rang ul{margin:12px 0 0;padding-left:18px;font-size:14px;color:var(--muted)}
.rang:last-child ul{color:#E9E4DA}
.rang li{margin-bottom:4px}
.recs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.recs.mini{grid-template-columns:1fr 1fr}
@media (max-width:900px){.recs,.recs.mini{grid-template-columns:1fr}}
.rec{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;display:flex;flex-direction:column;gap:8px}
.rec .cout{font-family:var(--display);font-weight:700;font-size:26px;line-height:1}
.rec .cout small{font-size:13px;font-weight:600;color:var(--muted)}
.rec b{font-family:var(--display);font-weight:600;font-size:17px}
.rec p{margin:0;color:var(--muted);font-size:14px;flex:1}
.rec.off{opacity:.6}
.rec input{border-radius:10px;padding:9px 12px;font-size:14px}
.rec .btn{align-self:flex-start}
.avantages{margin:14px 0 0;padding-left:18px;font-size:14px;color:#E9E4DA}

/* ===== Détails : menu, en-tête, connexion, prix, logos, réseaux, chat ===== */
nav .wrap{gap:0!important;min-height:60px}
nav ul{gap:4px 6px!important}
nav a,nav ul a{font-family:var(--display)!important;font-weight:500!important;font-size:15.5px!important;letter-spacing:-.005em!important;text-transform:none!important;color:var(--ink);padding:9px 14px!important;border-radius:999px;border-bottom:0!important;position:relative;transition:background .15s}
nav a:hover{background:var(--grey)}
nav ul > li > a[aria-current],nav ul > li.current-menu-item > a,nav ul > li.current-menu-ancestor > a{font-weight:600!important}
nav ul > li.current-menu-item > a::before,nav ul > li.current-menu-ancestor > a::before{content:"";position:absolute;left:14px;right:14px;bottom:2px;height:3px;border-radius:3px;background:var(--yellow)}
nav li.menu-item-has-children > a::after{content:""!important;display:inline-block;width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-3px);margin-left:8px;opacity:.6}
nav li.cta{margin-left:10px}
nav li.cta > a{background:var(--yellow)!important;font-weight:600!important;padding:10px 18px!important}
nav li.cta > a:hover{background:var(--yellow-d)!important}
nav .sub-menu{border-radius:14px!important;padding:8px!important;box-shadow:0 18px 40px -20px rgba(28,27,25,.35)!important}
nav .sub-menu a{border-radius:10px;padding:9px 12px!important;font-size:15px!important}
@media (max-width:1000px){nav.open ul a{font-size:17px!important}nav li.cta{margin:8px 0 0}}
/* En-tête : « Se connecter » lisible */
.hicons .login{display:flex;align-items:center;gap:8px;width:auto!important;height:auto!important;font-family:var(--display);font-weight:600;font-size:14.5px;padding:8px 14px;border:1.5px solid var(--line);border-radius:999px}
.hicons .login:hover{border-color:var(--ink)}
.hicons .login svg{width:18px;height:18px}
@media (max-width:600px){.hicons .login span{display:none}.hicons .login{padding:8px}}
/* Logos des enseignes : même boîte pour tous */
.enseignes .logos{gap:14px!important}
.enseignes .logos span{width:118px;height:48px;display:grid;place-items:center;border-radius:10px;background:var(--grey)}
.enseignes img{max-width:88px!important;max-height:26px!important;height:auto!important;width:auto!important;object-fit:contain}
/* Prix : papier en avant, numérique en second */
.product .p{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
.product .p b{font-weight:700;color:var(--ink)}
.product .p small{color:var(--muted);font-size:13px}
/* Réseaux : vrais pictos */
.social .icons a{background:var(--ink)!important}
.social .icons a:hover{background:var(--yellow)!important;color:var(--ink)!important}
.social .icons svg{width:22px;height:22px}
/* Bulle du chat (snippet du site) : aux couleurs Hello */
#hello-chat-button{background:var(--ink)!important;box-shadow:0 10px 24px -10px rgba(28,27,25,.5)!important}
#hello-chat-button svg{color:var(--yellow)!important;stroke:var(--yellow)!important}
/* Page « Mon compte » */
.compte{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
@media (max-width:860px){.compte{grid-template-columns:1fr}}
.compte .nouveau{display:grid;gap:14px}

.enseignes .logos .ens{width:auto;height:auto;background:none;border-radius:0;font-family:var(--display);font-weight:700;font-size:17px;color:#8A8F98;letter-spacing:-.01em;padding:0}
.enseignes .logos{gap:10px 30px!important}

/* Distribution : une ligne douce à la place des cartes */
.distri{padding:34px 0 6px}
.distri p{margin:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;font-size:15.5px;color:#6B6F76;text-align:center}
.distri b{color:var(--ink);font-family:var(--display);font-weight:600;display:inline-flex;align-items:center;gap:9px}
.distri b::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--yellow)}
.distri span{color:#9AA0A8;font-size:14px;letter-spacing:.01em}
/* Survol des couvertures : jaune Hello */
.product .quick{background:rgba(255,209,127,.95)!important;color:var(--ink)!important;text-transform:none!important;letter-spacing:0!important;font-size:14px!important;font-weight:600!important;padding:11px 16px!important}
.product .quick::after{content:" →"}

/* Fiche livre v2 : couverture mesurée, bloc d'achat, résumé replié, auteur */
.fiche-sec{padding-top:28px}
.single-product .fiche{grid-template-columns:280px minmax(0,1fr);gap:64px;max-width:1040px;margin:18px auto 0}
.single-product .fiche .woocommerce-product-gallery{max-width:280px}
.single-product .fiche-cover{position:sticky;top:24px}
.single-product .fiche h1{font-size:clamp(28px,3.4vw,40px);margin-top:2px}
.single-product .fiche a.k{display:inline-block;background:var(--yellow-l);color:var(--ink);padding:5px 10px;border-radius:6px;margin-bottom:12px}
.fiche-auteur{font-size:17px;color:var(--muted);margin:8px 0 0}
.fiche-auteur a{color:var(--ink);font-weight:600;border-bottom:2px solid var(--yellow)}
.fiche-auteur a:hover{background:var(--yellow-l)}
.fiche-achat{max-width:520px;margin-top:24px;padding:22px 24px;border:1px solid var(--line);border-radius:14px;background:#fff}
.fiche-prix{display:flex;gap:28px;flex-wrap:wrap}
.fiche-prix>span{display:flex;flex-direction:column;gap:2px}
.fiche-prix small{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600}
.fiche-prix b{font-family:var(--display);font-size:24px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.single-product .fiche .fiche-achat form.cart{margin:18px 0 0}
.single-product .fiche .fiche-achat .single_variation_wrap .price{font-family:var(--display);font-size:18px}
.fiche-achat .yith-add-to-wishlist-button-block,.fiche-achat .yith-wcwl-add-to-wishlist{margin-top:12px;font-size:14px}
.fiche-rassure{list-style:none;padding:14px 0 0;margin:16px 0 0;border-top:1px solid var(--line);display:flex;gap:8px 22px;flex-wrap:wrap;font-size:13.5px;color:var(--muted)}
.fiche-rassure li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--yellow);margin-right:8px;vertical-align:middle}
.fiche-resume{margin-top:34px}
.fiche-resume h2{font-size:20px;margin-bottom:10px}
.fiche-resume .clamp{max-height:9.6em;overflow:hidden;-webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent)}
.fiche-resume p{margin:0 0 .8em;font-size:16.5px;line-height:1.65;color:var(--text)}
.lire-plus{background:none;border:0;padding:0;font:600 15px var(--display);color:var(--ink);border-bottom:2px solid var(--yellow);cursor:pointer}
.fiche-infos{margin:30px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px 24px;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.fiche-infos div{margin:0}.fiche-infos dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600}
.fiche-infos dd{margin:3px 0 0;font-weight:600;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums}
.single-product .fiche .bc-sp{margin-top:22px}
.auteur-tete{display:grid;grid-template-columns:150px minmax(0,1fr);gap:40px;align-items:start;max-width:980px}
.auteur-photo{width:150px;height:150px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 6px #fff,0 0 0 8px var(--yellow)}
.auteur-photo.vide{display:grid;place-items:center;background:var(--yellow);font:600 56px var(--display);color:var(--ink)}
.auteur-bio{margin-top:12px;color:var(--text);font-size:16px;line-height:1.65;max-width:62ch}
.auteur-bio p{margin:0 0 .8em}
.fiche-bio .link,.auteur-tete .link{display:inline-block;margin-top:4px;font-family:var(--display);font-weight:600;color:var(--ink);border-bottom:2px solid var(--yellow)}
.auteur-hero{padding:28px 0 48px;background:linear-gradient(180deg,var(--grey),#fff)}
.auteur-hero .auteur-tete{margin-top:30px}
.auteur-hero h1{margin-top:2px}
@media (max-width:860px){
	.single-product .fiche{grid-template-columns:1fr;gap:28px}
	.single-product .fiche-cover{position:static;display:flex;justify-content:center}
	.single-product .fiche .woocommerce-product-gallery{max-width:210px}
	.auteur-tete{grid-template-columns:1fr;gap:20px}
	.auteur-photo{width:110px;height:110px}
}
.fiche-bio .auteur-tete{margin:0 auto}
.auteur-photo.vide{width:110px;height:110px;font-size:42px;margin:0 20px}

/* Compte connecté : menu au survol du prénom */
.moi{position:relative}
.moi-menu{position:absolute;right:0;top:100%;padding-top:8px;min-width:210px;display:none;z-index:60}
.moi:hover .moi-menu,.moi:focus-within .moi-menu{display:block}
.moi-menu::before{content:"";position:absolute;inset:8px 0 0;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 32px -16px rgba(0,0,0,.25)}
.hicons .moi-menu a{position:relative;display:block;width:auto;height:auto;padding:10px 16px;font-family:var(--display);font-weight:500;font-size:14.5px;color:var(--ink);text-align:left}
.hicons .moi-menu a:first-child{margin-top:6px}.hicons .moi-menu a:last-child{margin-bottom:6px}
.hicons .moi-menu a:hover{background:var(--grey)}
.hicons .moi-menu a.out{border-top:1px solid var(--line);color:#B54A3A}
.single-product .fiche .woocommerce-product-gallery__trigger{display:none!important}
.variation-Vendor,dt.variation-Vendor,dd.variation-Vendor,.wc-item-meta li:has(.wc-item-meta-label:only-child){display:none!important}

/* Dépôt de manuscrit sur mobile : la grille 2 colonnes du thème enfant (.ms-form, redéfinie sans condition d'écran)
   écrasait le formulaire à 0 px sur téléphone. Une seule colonne sous 900 px, formulaire d'abord. */
@media (max-width:900px){
	.ms-form{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
	.ms-form .ms-etapes,.ms-form .ms-aside{position:static!important}
	.ms-main,.ms-main .panel,.ms-main .frm_forms,.ms-main form{width:100%!important;min-width:0!important;max-width:100%!important}
	.ms-main .panel{padding:18px 16px!important}
}
/* Formulaires Formidable sur téléphone : pas de zoom iPhone (16 px), champ fichier facile à toucher */
@media (max-width:760px){
	.frm_forms input[type=text],.frm_forms input[type=email],.frm_forms input[type=tel],.frm_forms select,.frm_forms textarea{font-size:16px!important}
	.frm_forms .frm_dropzone,.frm_forms .frm_upload_text{min-height:120px}
	.frm_forms .frm_dropzone .dz-message{padding:22px 12px!important}
	.frm_forms .frm_submit button,.frm_forms .frm_submit input[type=submit]{width:100%!important;padding:16px!important;font-size:17px!important}
}

/* Mobile : panier, commande, Bookclub, articles (contrôle page par page du 05/10 en 375 px) */
@media (max-width:900px){
	/* panier : la grille 2 colonnes du thème enfant est redéfinie sans condition d'écran → articles à 0 px */
	.woocommerce-cart .entry-content > .woocommerce{grid-template-columns:minmax(0,1fr)!important}
	.cart-collaterals{position:static!important}
	/* commande : coordonnées et récapitulatif plus larges que le formulaire → défilement horizontal */
	form.checkout,form.woocommerce-checkout{grid-template-columns:minmax(0,1fr)!important}
	form.checkout #customer_details,form.checkout #order_review,form.checkout .col2-set,form.checkout .col2-set .col-1,form.checkout .col2-set .col-2{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;box-sizing:border-box}
}
@media (max-width:640px){
	.steps{grid-template-columns:minmax(0,1fr)!important}
}
/* sommaire des articles : retour à la ligne autorisé */
.single-post li a,.single-post .entry-content a{white-space:normal!important;overflow-wrap:anywhere}
/* panier (cartes du thème enfant) : sur téléphone, quantité et sous-total l'un sous l'autre au lieu de se chevaucher */
@media (max-width:640px){
	.panier-item{grid-template-columns:72px minmax(0,1fr)!important;grid-template-areas:"c i" "c q" "c t"!important;column-gap:16px!important;row-gap:10px!important}
	.panier-item .pi-qte{justify-self:start!important;width:auto!important}
	.panier-item .pi-total{justify-self:start!important;text-align:left!important;font-weight:700}
}
