body.malakh-commerce,body.malakh-annexe-wp{--theme-palette-color-1:#71557e;--theme-palette-color-2:#513b62;--theme-palette-color-3:#4b3c54;--theme-palette-color-4:#392b46;--theme-palette-color-5:#d8c9df;--theme-palette-color-6:#eee4f0;--theme-palette-color-7:#fbf6ed;--theme-palette-color-8:#f5eff5;--theme-text-color:#392b46;--theme-headings-color:#392b46;--theme-link-initial-color:#6b427c;--theme-link-hover-color:#513b62;--theme-button-background-initial-color:#513b62;--theme-button-background-hover-color:#735782;background:#f5eff5!important;color:#392b46!important;font-family:'Montserrat',sans-serif}
body.malakh-commerce{--malakh-cream:#392b46;--malakh-gold:#956b37;--malakh-lavender:#6b427c;--malakh-purple:#735782}
body.malakh-commerce::before,body.malakh-annexe-wp::before{background:#f5eff5!important;opacity:1!important}
body.malakh-commerce .product-entry-wrapper,body.malakh-commerce .related .product,body.malakh-annexe-wp .entry-content{background:transparent!important;color:#392b46!important;box-shadow:none!important}
body.malakh-commerce h1,body.malakh-commerce h2,body.malakh-commerce h3{font-family:'Cormorant Garamond',Georgia,serif;color:#392b46}
body.malakh-commerce .entry-content h2{font-size:clamp(29px,4vw,40px)!important;font-weight:400!important;line-height:1.22!important;margin:1.35em 0 .55em!important}
body.malakh-commerce .entry-content h3{font-size:clamp(23px,3vw,29px)!important;font-weight:500!important;line-height:1.22!important;margin:1.15em 0 .5em!important}
body.malakh-commerce .product_title{font-weight:400;font-size:clamp(38px,5vw,64px)}
body.malakh-commerce .woocommerce-product-gallery{max-width:290px;margin-inline:auto}
body.malakh-commerce .single_add_to_cart_button,body.malakh-commerce .checkout-button,body.malakh-commerce #place_order{border-radius:999px!important;background:#513b62!important;color:#fff9ef!important;min-height:48px;padding-inline:24px}
body.malakh-commerce .woocommerce-tabs{border-color:#d8c9df}
body.malakh-commerce #header [data-row*="middle"],body.malakh-commerce .ct-footer{background:#463450!important;color:#fbf6ed!important}
.malakh-commerce-chemin{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;line-height:1.6;font-size:13px;margin:8px 0 35px;color:#6b427c}
.malakh-commerce-chemin a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.malakh-commerce-chemin .malakh-panier{margin-left:auto}
body.malakh-commerce .malakh-shop-nav,body.malakh-commerce .ct-breadcrumbs{display:none!important}
body.malakh-commerce .malakh-commerce-chemin{max-width:1160px;margin:0 auto 24px;padding-inline:clamp(22px,5vw,70px)}
body.malakh-commerce.single-product .product-entry-wrapper{border:0!important;border-radius:0!important;box-shadow:none!important;padding:24px 0!important}
body.admin-bar .malakh-commercebar{top:32px}
@media(min-width:700px){body.malakh-commerce.single-product .product-entry-wrapper{display:grid!important;grid-template-columns:minmax(150px,240px) minmax(0,1fr)!important;gap:40px}}
@media(max-width:699px){body.malakh-commerce.single-product .product-entry-wrapper{grid-template-columns:1fr!important;gap:18px}.malakh-commerce-chemin .malakh-panier{margin-left:0}}
body.malakh-commerce #header,body.malakh-commerce .ct-footer,body.malakh-annexe-wp #header,body.malakh-annexe-wp .ct-footer{display:none!important}
body.malakh-commerce #main-container,body.malakh-annexe-wp #main-container{padding-top:68px}
.malakh-commercebar{position:fixed;inset:0 0 auto;z-index:10000;min-height:68px;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px clamp(16px,4vw,64px);background:#463450;color:#fff4df;font:400 13px/1.4 'Montserrat',sans-serif}
.malakh-commercebar a{color:#fff4df!important;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
.malakh-commercebar>a{font:500 22px 'Cormorant Garamond',Georgia,serif;padding-left:0}.malakh-commercebar nav{display:flex;align-items:center;gap:10px}
.malakh-commercefooter{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;padding:30px 24px;border-top:1px solid #d8c9df;font:400 12px/1.6 'Montserrat',sans-serif;background:#f5eff5;color:#6d5878}
.malakh-commercefooter a{display:inline-flex;align-items:center;min-height:36px;color:#6b427c;text-decoration:underline;text-underline-offset:4px}
@media(max-width:640px){body.malakh-commerce .woocommerce-product-gallery{max-width:170px!important}.malakh-commerce-chemin{font-size:12px;gap:5px 8px}.malakh-commerce-chemin .malakh-panier{margin-left:0}.malakh-commercebar{padding:7px 12px;gap:5px;min-height:64px}.malakh-commercebar>a{font-size:19px;max-width:135px}.malakh-commercebar nav{gap:0}.malakh-commercebar nav a{font-size:11px;padding:8px}body.malakh-commerce #main-container,body.malakh-annexe-wp #main-container{padding-top:64px}}

body.malakh-annexe-wp{--nuit:#f5eff5;--nuit2:#eee4f0;--creme:#392b46;--brume:#6d5878;--ink:#392b46;--bg:#f5eff5;--bg2:#eee4f0;--gold:#956b37;--or:#956b37;--lavande:#71557e}body.malakh-annexe-wp .doc{background:transparent!important;color:#392b46!important}body.malakh-annexe-wp .veil-bg,body.malakh-annexe-wp .veil-scrim{display:none!important}

/* Les anciennes fiches littéraires gardent leur composition, avec une palette lisible. */
body.malakh-annexe-wp{--muted:#6d5878;--gold:#805b2e;--gold-soft:#805b2e;--violet:#6b427c}
body.malakh-annexe-wp::after{display:none!important}
body.malakh-annexe-wp .entry-content:has(.book){font-weight:400}
body.malakh-annexe-wp .entry-content :is(.book,.resume,.buy,.extraits,.section,.breadcrumb){color:#392b46}
body.malakh-annexe-wp .entry-content :is(.book h1,h2.title,.book .lede,.resume p,.resume ul,.resume li,.extrait p){color:#392b46!important;text-shadow:none;opacity:1}
body.malakh-annexe-wp .entry-content :is(.book .genre,.buy .lead,.resume p.note,.breadcrumb){color:#6d5878!important}
body.malakh-annexe-wp .entry-content :is(.kicker,.book .no,.book .saga,.book .genre b,.resume p.tag,.extrait .lbl){color:#805b2e!important}
body.malakh-annexe-wp .entry-content .resume a{color:#6b427c!important;text-decoration:underline;text-underline-offset:3px}
body.malakh-annexe-wp .entry-content .shop{color:#513b62!important;border-color:#a18aa9;background:#fbf6ed}
body.malakh-annexe-wp .entry-content :is(.shop.primary,.cta){background:#513b62!important;color:#fff9ef!important;box-shadow:none!important}
body.malakh-annexe-wp .entry-content .shop small{opacity:1}
body.malakh-annexe-wp .entry-content>nav{background:#eee4f0;color:#513b62;position:relative;top:auto;border-color:#d8c9df}
body.malakh-annexe-wp .entry-content footer.site{color:#6d5878}
body .malakh-commercebar nav{position:static!important;background:transparent!important;backdrop-filter:none!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important;min-height:0!important}
body .malakh-commercebar a{font-weight:400;opacity:1}
body.malakh-annexe-wp #amb-btn{top:80px!important}
body.malakh-annexe-wp.admin-bar #amb-btn{top:112px!important}
body.malakh-annexe-wp #amb-btn,body.malakh-annexe-wp #amb-btn:hover,body.malakh-annexe-wp #amb-btn[aria-pressed="true"]{background:#513b62!important;color:#fff9ef!important;opacity:1;border-color:#71557e!important;box-shadow:none!important}
body.malakh-annexe-wp .entry-content footer.site p{opacity:1!important}
.malakh-extrait-suite{margin:1.2rem 0 2.2rem!important;font:600 1rem/1.5 Montserrat,Arial,sans-serif!important}
.malakh-extrait-suite a{display:inline-flex;align-items:center;min-height:44px;padding:.55rem 1rem;border:1px solid #6b427c;border-radius:999px;background:#fbf6ed;color:#392b46!important;text-decoration:none!important}
.malakh-extrait-suite a:hover,.malakh-extrait-suite a:focus-visible{background:#513b62;color:#fff9ef!important;outline:2px solid #805b2e;outline-offset:2px}
.malakh-ancre-livre{display:block;position:relative;top:-95px;visibility:hidden}
/* Les pages légales conservent leur texte intégral et gagnent un contraste lisible. */
body.malakh-legal :is(.entry-title,.page-title,.hero-section h1,.entry-content,.entry-content *){color:#392b46!important;text-shadow:none!important;opacity:1!important}
body.malakh-legal .entry-content a{color:#5c3773!important;text-decoration:underline!important;text-underline-offset:3px}
body.malakh-legal :is(.entry-content,.entry-content :is(.wp-block-group,.wp-block-column,.elementor-widget-container)){background-color:transparent!important}
