/*
Theme Name: Harris Theme
Description: Thème léger, pensé d’abord pour le mobile, pour Harris Store (WooCommerce + paiement à la livraison). Style « bento » : fond clair, tuiles arrondies, teintes pastel, boutons noirs.
Version: 4.0.0
Author: Harris Store
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: harris-theme
WC requires at least: 8.5
*/

/* ==========================================================================
   Couleurs
   ========================================================================== */
/* Jetons de couleur : chaque rôle a son nom. Les couleurs principales se changent dans
   Apparence → Personnaliser → Harris Store : couleurs (le thème calcule le reste). */
:root {
	/* Marque */
	--color-primary: #111113;            /* actions : Commander, sélections, boutons « + » */
	--color-primary-contrast: #ffffff;   /* texte posé sur primary (calculé automatiquement) */
	--color-primary-soft: color-mix(in srgb, var(--color-primary) 7%, #ffffff);  /* fond des éléments sélectionnés */
	--color-primary-strong: var(--color-primary); /* contours et petits textes sur fond clair (plus foncé si primary est clair) */
	--color-secondary: #111113;          /* surfaces foncées : bandeau, tuile « Payez en recevant », barre de navigation, pied de page */
	--color-secondary-contrast: #ffffff;
	--color-tertiary: #efe4d2;           /* grande tuile de l'accueil, fond des photos produit (sable) */
	/* Teintes pastel des tuiles (catégories, icônes) */
	--color-tint-0: #dde7f0;             /* ciel */
	--color-tint-1: #e2eadb;             /* sauge */
	--color-tint-2: #e7e2f2;             /* lilas */
	--color-tint-3: #efe4d2;             /* sable */
	/* Texte */
	--color-text: #111113;
	--color-text-muted: #5e5c57;
	--color-text-inverse: #ffffff;
	/* Surfaces */
	--color-bg: #f2f1ee;
	--color-surface: #ffffff;
	--color-field: #f2f1ee;
	--color-border: #e4e2dc;
	/* Sens fixes */
	--color-success: #15803d;            /* économies, réussite (contraste 5,0:1 sur blanc) */
	--color-success-soft: #ecf7f0;
	--color-danger: #c8323b;             /* réductions, erreurs (contraste 5,3:1 sur blanc) */
	--color-danger-soft: #fdeced;
	--color-warning: #e8930c;            /* stock bas */
	--color-warning-soft: #fff4e0;
	--color-rating: #f2a516;             /* étoiles */
	--color-whatsapp: #25d366;           /* couleur officielle, bouton WhatsApp uniquement */
	/* Couleurs officielles des réseaux sociaux (logos du pied de page et bloc « Suivez-nous » uniquement) */
	--color-facebook: #1877f2;
	--color-instagram: linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
	--color-tiktok: #010101;
	--color-tiktok-accent: #fe2c55;
	--color-youtube: #ff0000;

	/* Alias de compatibilité (ne pas utiliser dans le nouveau code) */
	--brand-primary: var(--color-text);
	--brand-accent: var(--color-primary);
	--brand-accent-ink: var(--color-primary-contrast);
	--brand-accent-soft: var(--color-primary-soft);
	--brand-bg: var(--color-bg);
	--brand-bar: var(--color-secondary);
	--brand-surface: var(--color-surface);
	--brand-field: var(--color-field);
	--brand-border: var(--color-border);
	--brand-muted: var(--color-text-muted);
	--brand-soft: var(--color-tertiary);
	--brand-sale: var(--color-danger);
	--brand-success: var(--color-success);

	/* Formes et typographie */
	--brand-radius: 20px;
	--r-lg: 24px;
	--r-md: 16px;
	--r-sm: 12px;
	--ht-max: 1180px;
	--ht-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--ht-shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 6px 20px rgba(17, 17, 17, .06);
	--ht-shadow-lg: 0 2px 6px rgba(17, 17, 17, .05), 0 18px 44px rgba(17, 17, 17, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ht-font); font-size: 15.5px; line-height: 1.55; color: var(--brand-primary); background: var(--brand-bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--color-text-muted); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 99999; background: #fff; padding: .5rem 1rem; left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--color-primary-strong); outline-offset: 2px; }

.ht-container { width: 100%; max-width: var(--ht-max); margin: 0 auto; padding: 0 16px; }
.ht-section { padding-top: 1.25rem; padding-bottom: 2rem; }
.ht-section__head { margin: 1.25rem 0 1rem; }
.ht-section__title, .ht-page-title { font-size: clamp(1.35rem, 5.5vw, 2rem); margin: 0 0 .25rem; }
.ht-section__title--light { color: #fff; }
.ht-section__intro { margin: 0; color: var(--brand-muted); font-size: .95rem; }
.ht-center { text-align: center; }
.ht-green { color: var(--color-success); }

/* Boutons */
.ht-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; border: 0; background: var(--color-primary); color: var(--color-primary-contrast); font-weight: 700; text-decoration: none; transition: transform .1s ease, opacity .15s ease; }
.ht-btn:hover { color: var(--color-primary-contrast); opacity: .9; }
.ht-btn--outline { background: var(--brand-surface); color: var(--brand-primary); box-shadow: var(--ht-shadow); }
.ht-btn--outline:hover { color: var(--brand-primary); }
.ht-btn--light { background: #fff; color: var(--brand-primary); min-height: 40px; padding: .55rem 1.1rem; font-size: .9rem; }
.ht-btn--light:hover { color: var(--brand-primary); }
.ht-pill { display: inline-flex; align-items: center; padding: .28rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.ht-pill--sale { background: var(--color-success-soft); color: var(--color-success); }

/* Étoiles (note réelle, remplissage partiel) */
.ht-stars { --pct: calc(var(--r, 5) / 5 * 100%); display: inline-block; letter-spacing: 1px; font-size: .9rem; line-height: 1; background: linear-gradient(90deg, var(--color-rating) var(--pct), #d8d8dd var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Pastilles de catégories */
.ht-chips { display: flex; gap: .5rem; overflow-x: auto; padding: .25rem 0 .5rem; scrollbar-width: none; }
.ht-chips::-webkit-scrollbar { display: none; }
.ht-chip { flex: 0 0 auto; padding: .55rem 1.05rem; border-radius: 999px; background: var(--brand-surface); color: var(--brand-primary); font-weight: 600; font-size: .9rem; text-decoration: none; box-shadow: var(--ht-shadow); }
.ht-chip.is-active { background: var(--color-primary); color: var(--color-primary-contrast); }
.ht-chip:hover { color: inherit; }

/* ==========================================================================
   Bandeau défilant et en-tête
   ========================================================================== */
.ht-bar { background: var(--color-secondary); color: var(--color-secondary-contrast); font-size: .78rem; font-weight: 600; overflow: hidden; white-space: nowrap; }
.ht-bar__single { text-align: center; padding: .5rem 16px; white-space: normal; }
.ht-bar__track { display: flex; width: max-content; animation: ht-marquee 30s linear infinite; }
.ht-bar__group { display: flex; }
.ht-bar__group span { padding: .5rem 1.4rem; position: relative; }
.ht-bar__group span::after { content: "•"; position: absolute; right: -.2rem; color: currentColor; opacity: .4; }
@keyframes ht-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ht-bar__track { animation: none; } }

/* ==========================================================================
   Accueil
   ========================================================================== */
/* Bloc « Pourquoi nous » */
.ht-compare { background: var(--brand-surface); border-radius: var(--r-lg); padding: 1.4rem 1rem; margin: 1rem 0 2rem; box-shadow: var(--ht-shadow); }
.ht-compare__title { font-size: clamp(1.2rem, 5vw, 1.6rem); margin: 0 0 1rem; text-align: center; }
.ht-compare__table { width: 100%; max-width: 620px; margin: 0 auto; border-collapse: separate; border-spacing: 0 6px; }
.ht-compare__table thead th { font-size: .8rem; font-weight: 700; color: var(--brand-muted); padding: 0 .4rem .2rem; }
.ht-compare__table thead th.is-us { color: var(--color-text); }
.ht-compare__table tbody th { text-align: left; font-weight: 600; padding: .75rem .9rem; font-size: .9rem; background: var(--brand-bg); border-radius: var(--r-sm) 0 0 var(--r-sm); }
.ht-compare__table tbody td { text-align: center; width: 22%; background: var(--brand-bg); }
.ht-compare__table tbody td:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.ht-compare__table td.is-us { background: var(--color-tertiary); }
.ht-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--color-text); color: var(--color-text-inverse); font-weight: 800; font-size: .8rem; }
.ht-no { color: #b4b4bb; font-weight: 700; }

/* Avis clients (accueil) */
.ht-testimonials { padding: 1rem 0 2rem; }
.ht-testimonials .ht-section__title { margin-bottom: 1rem; color: var(--brand-primary); }
.ht-testimonials__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; }
.ht-testimonials__row::-webkit-scrollbar { display: none; }
.ht-tcard { flex: 0 0 min(80%, 300px); scroll-snap-align: start; margin: 0; background: var(--brand-surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--ht-shadow); }
.ht-tcard__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ht-tcard blockquote { margin: 0; padding: 1rem 1rem .4rem; }
.ht-tcard blockquote p { margin: .4rem 0 0; font-size: .9rem; }
.ht-tcard figcaption { padding: 0 1rem 1rem; font-size: .8rem; color: var(--brand-muted); margin-top: auto; }

/* ==========================================================================
   Cartes produit
   ========================================================================== */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.5rem !important; padding: 0; }
@media (min-width: 900px) { .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; border-radius: var(--brand-radius); background: var(--brand-surface); padding: 8px 8px 14px !important; box-shadow: var(--ht-shadow); position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: var(--ht-shadow-lg); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { margin: 0 0 .65rem !important; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--brand-radius) - 6px); background: var(--brand-soft); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: .9rem !important; font-weight: 700; padding: 0 .35rem !important; margin: 0 0 .2rem; color: var(--brand-primary); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ht-card__rating { padding: 0 .35rem; font-size: .74rem; color: var(--brand-muted); display: flex; align-items: center; gap: .3rem; margin-bottom: .2rem; }
.ht-card__rating .ht-stars { font-size: .74rem; }
.woocommerce ul.products li.product .price { padding: 0 3.2rem 0 .35rem; margin-top: auto !important; color: var(--brand-primary) !important; font-weight: 800; font-size: 1rem !important; display: flex !important; flex-direction: column; gap: 0; line-height: 1.25; }
.woocommerce ul.products li.product .price del { color: var(--brand-muted); font-weight: 500; font-size: .76em; order: 2; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--brand-primary); }
.woocommerce ul.products li.product .ht-card__cta { position: absolute; right: 10px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: var(--color-primary); color: var(--color-primary-contrast); display: grid; place-items: center; text-decoration: none; box-shadow: 0 6px 14px rgba(17, 17, 17, .22); }
.woocommerce ul.products li.product .ht-card__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.woocommerce ul.products li.product .ht-card__cta:hover { background: var(--color-primary); color: var(--color-primary-contrast); opacity: .85; }
.woocommerce ul.products li.product .ht-card__cta.is-out { background: var(--brand-soft); color: var(--brand-muted); box-shadow: none; }
.woocommerce span.onsale { background: var(--brand-sale) !important; color: #fff; border-radius: 999px !important; min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: .35rem .55rem !important; font-size: .72rem; font-weight: 800; top: 14px !important; left: 14px !important; right: auto !important; margin: 0 !important; z-index: 3; }
.woocommerce .woocommerce-ordering select { min-height: 40px; border-radius: 999px; border: 0; padding: 0 .9rem; background: var(--brand-surface); box-shadow: var(--ht-shadow); }
.woocommerce-products-header__title { font-size: clamp(1.35rem, 5.5vw, 2rem); }

/* ==========================================================================
   Fiche produit (style « application » : photo + panneau blanc)
   ========================================================================== */
.ht-wc { padding-top: 6px; }
.ht-product__top { display: grid; gap: 0; }
.ht-product__gallery { position: relative; }
@media (min-width: 900px) { .ht-product__top { grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: start; } .ht-product__gallery { position: sticky; top: 92px; } }
.woocommerce div.product div.images, .woocommerce-page div.product div.images { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper, .woocommerce div.product div.images .flex-viewport { border-radius: var(--r-lg); overflow: hidden; background: var(--brand-surface); }
.woocommerce div.product div.images .flex-control-thumbs { display: flex; gap: 8px; padding: 10px 0 0; overflow-x: auto; scrollbar-width: none; }
.woocommerce div.product div.images .flex-control-thumbs li { width: 62px !important; flex: 0 0 62px; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 14px; opacity: .6; border: 2px solid transparent; background: var(--brand-surface); }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { opacity: 1; border-color: var(--color-primary-strong); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { background: var(--brand-surface); border-radius: 50%; box-shadow: var(--ht-shadow); top: 14px; right: 14px; }

.ht-product__summary { background: var(--brand-surface); border-radius: 28px; padding: 1.35rem 1rem 1.25rem; margin-top: 14px; box-shadow: var(--ht-shadow); }
@media (min-width: 900px) { .ht-product__summary { margin-top: 0; padding: 1.75rem; } }
.ht-product__rating { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-size: .82rem; color: var(--brand-muted); font-weight: 600; }
.ht-product__title { font-size: clamp(1.4rem, 6vw, 2rem); margin: .35rem 0 .5rem; }
.ht-product__pricebox { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem; margin-bottom: .75rem; }
.ht-product__price { font-size: 1.55rem; font-weight: 800; margin: 0; color: var(--brand-primary) !important; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; letter-spacing: -.02em; }
.ht-product__price del { color: var(--brand-muted); font-size: .6em; font-weight: 500; order: 2; }
.ht-product__price ins { text-decoration: none; }
.ht-product__short { color: #3a3a40; font-size: .93rem; background: var(--brand-bg); border-radius: var(--r-md); padding: .8rem .9rem; }
.ht-product__short p { margin: 0 0 .4rem; }
.ht-product__short p:last-child { margin: 0; }
.ht-product__short ul { padding-left: 0; list-style: none; margin: 0; display: grid; gap: .35rem; }
.ht-product__short li { padding-left: 1.7rem; position: relative; }
.ht-product__short li::before { content: "✓"; position: absolute; left: 0; top: .1rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--color-text); color: var(--color-text-inverse); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }

.ht-product__section { margin-top: 1.25rem; background: var(--brand-surface); border-radius: var(--r-lg); padding: 1.25rem 1rem; box-shadow: var(--ht-shadow); }
@media (min-width: 900px) { .ht-product__section { padding: 1.75rem; } }
.ht-product__section > h2, .woocommerce div.product .related > h2, .woocommerce-Reviews-title { font-size: clamp(1.15rem, 5vw, 1.45rem); margin: 0 0 1rem; }
.ht-product__description .ht-content { max-width: none; }
.ht-product__description table { width: 100%; border-collapse: collapse; }
.ht-product__description td, .ht-product__description th { border-bottom: 1px solid var(--brand-border); padding: .55rem .4rem; text-align: left; }
.ht-product .ht-compare { margin: 1.25rem 0 0; }
.woocommerce div.product .related ul.products li.product { box-shadow: none; background: var(--brand-bg); }
.woocommerce div.product form.cart { margin: 0; }

/* Formulaire de commande : champs pleins, pastilles, bouton large */
.ht-product .hs-order { margin-top: 1rem; }
.hs-form { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent !important; gap: .85rem !important; }
.hs-order[data-mode="cart"] .hs-form { background: var(--brand-surface) !important; padding: 1.1rem !important; border-radius: var(--r-lg) !important; box-shadow: var(--ht-shadow) !important; }
.hs-form__head { padding-bottom: .1rem; }
.hs-form__title { font-size: 1.15rem !important; font-weight: 800 !important; letter-spacing: -.02em; }
.hs-pill { background: var(--color-tertiary) !important; color: var(--color-text) !important; }
.hs-step { font-size: .9rem !important; margin-top: .5rem !important; }
.hs-step__n { background: var(--color-primary) !important; }
.hs-field label, .hs-label { font-size: .82rem !important; font-weight: 600 !important; color: var(--brand-muted) !important; }
.hs-form input[type=text], .hs-form input[type=tel], .hs-form input[type=email], .hs-form input[type=date], .hs-form input[type=time], .hs-form input[type=number], .hs-form select, .hs-form textarea { border: 1.5px solid transparent !important; background: var(--brand-field) !important; border-radius: 14px !important; min-height: 50px !important; font-weight: 500; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { border-color: var(--color-primary-strong) !important; background: #fff !important; box-shadow: 0 0 0 4px var(--color-primary-soft) !important; }
.hs-field.is-error input, .hs-field.is-error select { border-color: var(--brand-sale) !important; }
.hs-swatch span { border: 1.5px solid var(--brand-border) !important; border-radius: 999px !important; padding: .5rem 1rem !important; }
.hs-swatch input:checked + span { border-color: var(--color-primary) !important; background: var(--color-primary) !important; color: var(--color-primary-contrast); }
.hs-qty { border: 0 !important; background: var(--brand-field); border-radius: 999px !important; }
.hs-qty__btn { background: transparent !important; }
.hs-form .hs-qty input { background: transparent !important; min-height: 44px !important; }
.hs-qty-more summary { cursor: pointer; font-size: .85rem; color: var(--brand-muted); text-decoration: underline; list-style: none; }
.hs-qty-more summary::-webkit-details-marker { display: none; }
.hs-qty-more[open] summary { margin-bottom: .5rem; }
.hs-coupon summary { font-size: .85rem !important; }
.hs-bump { border: 1.5px dashed #c9c9cf !important; background: var(--color-surface) !important; border-radius: 16px !important; }
.hs-bump__tag { color: var(--color-success) !important; }
.hs-total { border-top: 0 !important; background: var(--brand-bg); border-radius: var(--r-md); padding: .8rem .9rem !important; }
.hs-total strong { font-size: 1.35rem !important; font-weight: 800; letter-spacing: -.02em; }
.hs-total { align-items: center !important; }
.hs-total span { flex: 1; }
.hs-total strong { white-space: nowrap; }
.hs-free { color: var(--color-text) !important; font-size: .85rem !important; font-weight: 600 !important; }
.hs-submit { border-radius: 999px !important; background: var(--color-primary) !important; color: var(--color-primary-contrast) !important; min-height: 60px; box-shadow: 0 10px 24px color-mix(in srgb, var(--color-primary) 22%, transparent) !important; animation: none !important; }
.hs-submit__label { font-size: 1.05rem; }
.hs-cta-note { font-size: .78rem !important; font-weight: 600 !important; color: var(--brand-muted) !important; }
.hs-btn--ghost { border-radius: 999px !important; border: 0 !important; background: var(--brand-field) !important; color: var(--brand-primary) !important; }
.hs-btn--wa { border-radius: 999px !important; }

/* Barre fixe mobile (style A2) */
.hs-sticky { left: 10px !important; right: 10px !important; bottom: 10px !important; border-radius: 22px; background: var(--color-surface) !important; color: var(--color-text); border: 0 !important; box-shadow: 0 14px 34px rgba(17, 17, 17, .3) !important; padding: .55rem .55rem .55rem 1.1rem !important; }
.hs-sticky__name { color: var(--color-text-muted) !important; }
.hs-sticky__price, .hs-sticky__price .amount { color: var(--color-text); }
.hs-sticky__price ins, .hs-sticky__price del { text-decoration-thickness: 1px; }
.hs-sticky__price ins { text-decoration: none; }
.hs-sticky__price del, .hs-sticky__price del .amount { color: var(--color-text-muted) !important; }
.hs-sticky .hs-btn { background: var(--color-primary) !important; color: var(--color-primary-contrast) !important; border-radius: 16px !important; }
@media (max-width: 899px) { .hs-has-sticky .hs-wa-float { bottom: 92px !important; } }

/* Avis */
.ht-reviews__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; }
.ht-reviews__avg { display: flex; align-items: center; gap: .4rem; }
.ht-reviews__avg strong { font-size: 1.5rem; font-weight: 800; }
.ht-reviews__note { color: var(--brand-muted); font-size: .88rem; background: var(--brand-bg); border-radius: var(--r-sm); padding: .8rem 1rem; margin: .5rem 0 0; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; display: grid; gap: .6rem; }
.woocommerce #reviews #comments ol.commentlist li { margin: 0 !important; background: var(--brand-bg); border-radius: var(--r-md); padding: .9rem 1rem; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { display: none; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
.woocommerce #review_form #respond textarea, .woocommerce #review_form #respond input[type=text], .woocommerce #review_form #respond input[type=email] { width: 100%; border: 0; background: var(--brand-field); border-radius: 14px; padding: .75rem; font-size: 16px; }
.woocommerce #review_form #respond .form-submit input { background: var(--color-primary); color: var(--color-primary-contrast); border-radius: 999px; padding: .8rem 1.5rem; }

/* ==========================================================================
   Pages, panier (style A2), confirmation
   ========================================================================== */
.ht-content { max-width: 820px; }
.ht-content--wc { max-width: 680px; }
.ht-wc { max-width: var(--ht-max); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { border-radius: 999px; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .checkout-button { background: var(--color-primary) !important; color: var(--color-primary-contrast) !important; font-size: 1.02rem !important; padding: 1rem !important; border-radius: 18px !important; }
.woocommerce-cart table.cart { background: var(--brand-surface); border-radius: var(--r-lg); overflow: hidden; border: 0 !important; box-shadow: var(--ht-shadow); }
.woocommerce-cart table.cart img { width: 64px; border-radius: 14px; background: var(--brand-soft); }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; background: var(--brand-surface); border-radius: var(--r-lg); padding: 1rem; box-shadow: var(--ht-shadow); }
.woocommerce-cart .woocommerce-shipping-totals, .woocommerce-cart .shipping { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 0 !important; border-radius: var(--r-md); background: var(--brand-surface) !important; box-shadow: var(--ht-shadow); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--color-text) !important; }
.woocommerce .quantity .qty { min-height: 40px; border-radius: 12px; border: 0; background: var(--brand-field); }
.ht-content--wc .hs-cart__item { background: var(--brand-bg); border-radius: var(--r-md); padding: .5rem; }
.ht-content--wc .hs-cart__item img { border-radius: 12px; }

.ht-thanks { max-width: 560px; margin: 0 auto; display: grid; gap: 1rem; text-align: center; }
.ht-thanks__icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--color-success); color: #fff; font-size: 2.3rem; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--color-success-soft); }
.ht-thanks__title { font-size: clamp(1.5rem, 6.5vw, 2.1rem); margin: .5rem 0 0; }
.ht-thanks__msg { margin: 0; font-size: 1rem; color: #3a3a40; }
.ht-thanks__hint { margin: -.5rem 0 0; font-size: .85rem; color: var(--color-text-muted); }
.ht-thanks__row .woocommerce-Price-amount { white-space: nowrap; }
.ht-thanks__card { text-align: left; background: var(--brand-surface); border-radius: var(--r-lg); padding: .4rem 1.1rem; box-shadow: var(--ht-shadow); }
.ht-thanks__row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--brand-border); }
.ht-thanks__row:last-child { border-bottom: 0; }
.ht-thanks__row strong { text-align: right; }
.ht-thanks__total strong { font-size: 1.2rem; }
.hs-client__box, .hs-ccard { box-shadow: var(--ht-shadow); border: 0 !important; border-radius: var(--r-lg) !important; }

/* ==========================================================================
   Réassurance et pied de page
   ========================================================================== */
.ht-reassure { padding: 1rem 0 2rem; }
.ht-reassure__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .ht-reassure__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ht-reassure__grid div { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: .65rem; align-items: center; background: var(--brand-surface); border-radius: var(--r-md); padding: .8rem; box-shadow: var(--ht-shadow); }
.ht-reassure__icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; background: var(--color-tertiary); display: grid; place-items: center; }
.ht-reassure__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--color-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ht-reassure__grid strong { font-size: .84rem; line-height: 1.25; }
.ht-reassure__grid small { color: var(--brand-muted); font-size: .74rem; }
.ht-footer { background: var(--color-secondary); color: #c9c9cf; padding: 2rem 0 1rem; border-radius: 28px 28px 0 0; }
.ht-footer a { color: #c9c9cf; text-decoration: none; }
.ht-footer a:hover { color: #fff; }
.ht-footer__grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .ht-footer__grid { grid-template-columns: 2fr 1fr; } }
.ht-footer__brand { font-weight: 800; font-size: 1.25rem; margin: 0 0 .3rem; color: #fff; letter-spacing: -.02em; }
.ht-footer__desc { margin: 0 0 1rem; font-size: .9rem; }
.ht-footer__title { color: #fff; font-weight: 700; margin: 0 0 .6rem; }
.ht-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.ht-social { display: flex !important; gap: .6rem !important; }
.ht-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--color-text-inverse); }
/* Logos aux couleurs des réseaux (pied de page et bloc « Suivez-nous »). */
.ht-social--facebook { background: var(--color-facebook) !important; }
.ht-social--instagram { background: var(--color-instagram) !important; }
.ht-social--tiktok { background: var(--color-tiktok) !important; box-shadow: inset 0 0 0 2px var(--color-tiktok-accent); }
.ht-social--youtube { background: var(--color-youtube) !important; }
.ht-social--whatsapp { background: var(--color-whatsapp) !important; }
/* Bloc « Suivez-nous » */
.ht-follow { background: var(--color-surface); border-radius: 28px; padding: 1.5rem 1.25rem; text-align: center; }
.ht-follow .ht-section__intro { margin-inline: auto; max-width: 34rem; }
.ht-follow__list { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.ht-follow__list a { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.1rem; border-radius: 999px; color: var(--color-text-inverse); font-weight: 700; text-decoration: none; }
.ht-follow__empty { padding: 1rem; border: 1px dashed var(--color-border); border-radius: 14px; text-align: center; color: var(--color-text-muted); }
.ht-social a, .ht-follow__list a { transition: transform .15s ease; }
.ht-social a:hover, .ht-follow__list a:hover { transform: translateY(-2px); }
.ht-footer__copy { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; color: #8e8e95; }
.hs-has-sticky .ht-footer { padding-bottom: 100px; }

/* ==========================================================================
   Fiche produit : urgence sobre, formules en lignes, choix en un tap
   ========================================================================== */
.hs-urgency { gap: .6rem !important; margin: 1rem 0 .25rem !important; }
.hs-countdown { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem !important; padding: .75rem .9rem !important; border: 0 !important; border-radius: var(--r-md) !important; background: var(--brand-bg) !important; color: var(--brand-primary) !important; }
.hs-countdown__label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600 !important; font-size: .88rem; color: var(--brand-muted); }
.hs-countdown__label svg { color: var(--color-text-muted); flex: 0 0 auto; }
.hs-countdown__time { display: inline-flex !important; gap: .55rem !important; font-variant-numeric: tabular-nums; }
.hs-countdown__time > span { display: inline-flex !important; align-items: baseline; gap: 1px; min-width: 0 !important; padding: 0 !important; background: none !important; color: var(--brand-primary) !important; border-radius: 0 !important; }
.hs-countdown__time b { font-size: 1.05rem !important; font-weight: 800; }
.hs-countdown__time small { font-size: .78rem !important; color: var(--brand-muted); opacity: 1 !important; }
.hs-stock { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .88rem; font-weight: 600; color: var(--brand-primary) !important; }
.hs-stock[hidden] { display: none; }
.hs-stock__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-warning); box-shadow: 0 0 0 4px var(--color-warning-soft); }
.hs-proof { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .85rem; color: var(--brand-muted); }
.hs-proof li { display: flex; align-items: center; gap: .5rem; }
.hs-proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b5b5bc; flex: 0 0 auto; }

.hs-offers { display: grid !important; grid-template-columns: 1fr !important; gap: .5rem !important; padding-top: 0 !important; }
.hs-offer { display: grid !important; grid-template-columns: 22px 1fr auto; align-items: center; gap: .75rem !important; padding: .85rem 1rem !important; text-align: left !important; border: 1.5px solid var(--brand-border) !important; border-radius: 16px !important; background: #fff !important; }
.hs-offer.is-active { border-color: var(--color-primary-strong) !important; background: var(--color-primary-soft) !important; box-shadow: none !important; }
.hs-offer__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c9c9cf; display: grid; place-items: center; }
.hs-offer.is-active .hs-offer__radio { border-color: var(--color-primary-strong); background: var(--color-primary-strong); box-shadow: inset 0 0 0 3px #fff; }
.hs-offer__main { display: grid; gap: .1rem; }
.hs-offer__qty { display: flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 700; }
.hs-offer__tag { position: static !important; transform: none !important; display: inline-block; background: var(--color-primary) !important; color: var(--color-primary-contrast); font-size: .66rem; font-weight: 700; letter-spacing: .02em; text-transform: none !important; padding: .15rem .5rem; border-radius: 999px; }
.hs-offer__save { font-size: .76rem; font-weight: 600; color: var(--color-success) !important; white-space: nowrap; }
.hs-offer__save:empty { display: none; }
.hs-offer__price { font-size: .98rem !important; font-weight: 800; white-space: nowrap; }

.hs-chips { gap: .45rem !important; }
.hs-chip { min-width: 0 !important; padding: .65rem 1rem !important; border: 0 !important; border-radius: 999px !important; background: var(--brand-field) !important; font-weight: 600; }
.hs-chip strong { font-size: .88rem; font-weight: 600; }
.hs-chip.is-active { background: var(--color-primary) !important; color: var(--color-primary-contrast) !important; }

/* Avis clients */
.ht-rsum { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; background: var(--brand-bg); border-radius: var(--r-md); padding: 1rem; margin-bottom: 1rem; }
.ht-rsum__score { display: grid; justify-items: center; gap: .2rem; min-width: 92px; }
.ht-rsum__score strong { font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.ht-rsum__score small { color: var(--brand-muted); font-size: .8rem; }
.ht-rsum__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .78rem; color: var(--brand-muted); }
.ht-rsum__bars li { display: grid; grid-template-columns: 2.2rem 1fr 1.6rem; align-items: center; gap: .5rem; }
.ht-rsum__bars li span:last-child { text-align: right; }
.ht-rsum__bar { height: 6px; border-radius: 3px; background: var(--brand-border); overflow: hidden; }
.ht-rsum__bar i { display: block; height: 100%; background: var(--color-rating); border-radius: 3px; }
.ht-rlist { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: .65rem; }
.woocommerce #reviews #comments ol.commentlist li.ht-review { background: #fff; border: 1px solid var(--brand-border); border-radius: var(--r-md); padding: .95rem 1rem; }
.ht-review__head { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: .65rem; }
.ht-review__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--color-tertiary); color: var(--color-text); font-weight: 800; font-size: .85rem; display: grid; place-items: center; }
.ht-review__who { display: grid; line-height: 1.25; }
.ht-review__who strong { font-size: .92rem; }
.ht-review__who small { color: var(--brand-muted); font-size: .76rem; }
.ht-review__verified { display: inline-flex; margin-top: .5rem; font-size: .72rem; font-weight: 700; color: var(--color-success); background: var(--color-success-soft); padding: .15rem .55rem; border-radius: 999px; }
.ht-review__text { margin-top: .5rem; font-size: .92rem; color: #33333a; }
.ht-review__text p { margin: 0; }
.ht-review__pending { font-size: .8rem; color: var(--brand-muted); margin: .4rem 0 0; }

/* ==========================================================================
   Finitions (v3.2) : en-tête, panneau de menu, bannière, détails
   ========================================================================== */
::selection { background: var(--color-primary-soft); color: var(--brand-primary); }
html { -webkit-tap-highlight-color: transparent; }
a, button { transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.ht-lock, .ht-lock body { overflow: hidden; }

/* En-tête */
.ht-header { position: sticky; top: 0; z-index: 100; background: var(--brand-bg); transition: box-shadow .2s ease, background-color .2s ease; }
.ht-header.is-scrolled { background: color-mix(in srgb, var(--brand-surface) 94%, transparent); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--brand-border), 0 8px 24px rgba(17, 17, 17, .05); }
.admin-bar .ht-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ht-header { top: 32px; } }
.ht-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 60px; gap: .5rem; }
.ht-header__left { display: flex; align-items: center; }
.ht-header__actions { display: flex; justify-content: flex-end; align-items: center; gap: .25rem; }
.ht-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--brand-primary); cursor: pointer; position: relative; text-decoration: none; box-shadow: none; }
.ht-iconbtn:hover { background: var(--brand-soft); color: var(--brand-primary); }
.ht-iconbtn:active { transform: scale(.94); }
.ht-logo { text-align: center; font-weight: 800; font-size: 1.12rem; letter-spacing: -.025em; white-space: nowrap; }
.ht-logo a { text-decoration: none; color: var(--brand-primary); }
.ht-logo img { max-height: 38px; width: auto; display: inline-block; vertical-align: middle; }
.ht-nav { display: none; }
.ht-cart__count { position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--color-primary); color: var(--color-primary-contrast); font-size: 10px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--brand-bg); }
@media (min-width: 960px) {
	.ht-header__inner { grid-template-columns: auto 1fr auto; min-height: 72px; }
	.ht-header__left { display: none; }
	.ht-logo { order: -1; text-align: left; font-size: 1.25rem; }
	.ht-nav { display: block; }
	.ht-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: .25rem; }
	.ht-nav a { display: block; padding: .5rem .95rem; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--brand-muted); text-decoration: none; }
	.ht-nav a:hover, .ht-nav .current-menu-item > a { color: var(--brand-primary); background: var(--brand-surface); }
}

/* Panneau de menu */
.ht-drawer { position: fixed; inset: 0; z-index: 10000; }
.ht-drawer[hidden] { display: none; }
.ht-drawer__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .38); opacity: 0; transition: opacity .25s ease; }
.ht-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: var(--brand-surface); display: flex; flex-direction: column; gap: .25rem; padding: calc(12px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 24px 0 60px rgba(17, 17, 17, .18); overflow-y: auto; border-radius: 0 24px 24px 0; }
.ht-drawer.is-open .ht-drawer__backdrop { opacity: 1; }
.ht-drawer.is-open .ht-drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .ht-drawer__panel, .ht-drawer__backdrop { transition: none; } }
.ht-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: .5rem; }
.ht-drawer__brand { font-weight: 800; font-size: 1.15rem; letter-spacing: -.025em; }
.ht-iconbtn--flat { background: var(--brand-bg); }
.ht-search { position: relative; display: flex; align-items: center; margin-bottom: .75rem; }
.ht-search svg { position: absolute; left: 14px; color: var(--brand-muted); pointer-events: none; }
.ht-search input { width: 100%; height: 48px; border: 1.5px solid transparent; border-radius: 14px; background: var(--brand-bg); padding: 0 14px 0 44px; font: inherit; font-size: 16px; color: var(--brand-primary); }
.ht-search input:focus { outline: none; border-color: var(--color-primary-strong); background: #fff; box-shadow: 0 0 0 4px var(--color-primary-soft); }
.ht-drawer__nav ul, .ht-drawer__cats { list-style: none; margin: 0; padding: 0; }
.ht-drawer__nav a { display: flex; align-items: center; justify-content: space-between; padding: .85rem .25rem; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; color: var(--brand-primary); text-decoration: none; border-bottom: 1px solid var(--brand-border); }
.ht-drawer__nav a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid #b5b5bc; border-top: 2px solid #b5b5bc; transform: rotate(45deg); }
.ht-drawer__nav .current-menu-item > a { color: var(--color-text); text-decoration: underline; text-underline-offset: 4px; }
.ht-drawer__label { margin: 1.25rem 0 .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-muted); }
.ht-drawer__cats { display: grid; gap: .35rem; }
.ht-drawer__cats a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .85rem; border-radius: 12px; background: var(--brand-bg); text-decoration: none; color: var(--brand-primary); font-weight: 600; font-size: .95rem; }
.ht-drawer__cats small { color: var(--brand-muted); font-weight: 600; font-size: .78rem; background: #fff; border-radius: 999px; padding: .1rem .5rem; }
.ht-drawer__foot { margin-top: auto; padding-top: 1.25rem; display: grid; gap: .6rem; }
.ht-drawer__wa { display: flex; align-items: center; gap: .75rem; padding: .8rem .9rem; border-radius: 16px; background: var(--color-tertiary); color: var(--brand-primary); text-decoration: none; }
.ht-drawer__wa svg { width: 26px; height: 26px; color: var(--color-whatsapp); flex: 0 0 auto; }
.ht-drawer__wa span { display: grid; line-height: 1.25; }
.ht-drawer__wa small { color: var(--brand-muted); font-size: .8rem; }
.ht-drawer__note { margin: 0; font-size: .76rem; color: var(--brand-muted); text-align: center; }

/* Bannière : texte et photo séparés */
.ht-hero-wrap { padding-top: 4px; }
.ht-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--color-secondary); color: var(--color-secondary-contrast); }
.ht-hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ht-hero__track::-webkit-scrollbar { display: none; }
.ht-hero__slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1fr; }
.ht-hero__media { order: -1; aspect-ratio: 16 / 11; background: #1d1d1f; overflow: hidden; }
.ht-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ht-hero__content { padding: 1.15rem 1.15rem 2.1rem; display: grid; gap: .45rem; justify-items: start; align-content: center; }
.ht-hero__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--color-secondary-contrast) 60%, transparent); }
.ht-hero__title { margin: 0; font-size: clamp(1.35rem, 5.6vw, 2.4rem); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.ht-hero__sub { margin: 0 0 .35rem; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.ht-hero .ht-btn--light { min-height: 44px; padding: .6rem 1.15rem; font-size: .9rem; gap: .4rem; }
.ht-hero__dots { position: absolute; bottom: 12px; left: 1.15rem; display: flex; gap: 6px; }
.ht-hero__dots button { width: 6px; height: 6px; padding: 0; border-radius: 3px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .2s; }
.ht-hero__dots button[aria-current] { background: #fff; width: 18px; }
@media (min-width: 760px) {
	.ht-hero__slide { grid-template-columns: 1fr 1.1fr; min-height: 360px; }
	.ht-hero__media { order: 0; aspect-ratio: auto; }
	.ht-hero__content { padding: 2.5rem 2.75rem 3rem; gap: .65rem; }
	.ht-hero__dots { left: 2.75rem; bottom: 1.4rem; }
}

/* Titres de section */
.ht-section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ht-section__head--row > div { min-width: 0; }
.ht-section__title { font-size: clamp(1.25rem, 5vw, 1.75rem); letter-spacing: -.03em; }
.ht-section__intro { font-size: .88rem; max-width: 46ch; }
.ht-link { display: inline-flex; align-items: center; gap: .15rem; flex: 0 0 auto; font-size: .88rem; font-weight: 700; color: var(--brand-primary); text-decoration: none; padding-bottom: .2rem; }
.ht-link:hover { color: var(--color-text-muted); }

/* Prix : devise plus discrète que le montant */
.woocommerce-Price-currencySymbol { font-size: .68em; font-weight: 600; letter-spacing: .01em; margin-left: .08em; }
del .woocommerce-Price-currencySymbol { font-size: 1em; }

/* Cartes produit : hauteurs et prix alignés */
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.6em; }
.woocommerce ul.products li.product .price { min-height: 2.6em; justify-content: flex-end; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; }
.woocommerce span.onsale { background: #fff !important; color: var(--brand-sale) !important; box-shadow: 0 2px 8px rgba(17, 17, 17, .12); font-size: .7rem !important; padding: .32rem .5rem !important; }
.woocommerce ul.products li.product .ht-card__cta { width: 38px; height: 38px; box-shadow: none; }

/* Fiche produit */
.ht-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .78rem; color: var(--brand-muted); margin-bottom: .35rem; }
.ht-crumbs a { color: var(--brand-muted); text-decoration: none; }
.ht-crumbs a:hover { color: var(--brand-primary); }
.ht-product__title { font-size: clamp(1.35rem, 5.6vw, 1.9rem); letter-spacing: -.03em; text-wrap: balance; }
.ht-product__price { font-size: 1.45rem; }
.hs-step { gap: .5rem !important; font-size: .88rem !important; font-weight: 700 !important; margin: .65rem 0 .1rem !important; }
.hs-step__n { width: 22px !important; height: 22px !important; background: transparent !important; color: var(--color-primary-strong) !important; border: 1.5px solid var(--color-primary-strong); font-size: .72rem !important; }
.hs-form__head { border-bottom: 1px solid var(--brand-border); padding-bottom: .75rem !important; }
.hs-help { font-size: .76rem !important; }
.hs-consent { font-size: .72rem !important; }
.hs-cta-note { display: none; }

/* ==========================================================================
   Style B « Bento » (validé le 01/11/2026) : tuiles arrondies, teintes pastel,
   barre de navigation flottante sur mobile, barre de commande noire.
   ========================================================================== */
.ht-tint-0 { background: var(--color-tint-0); }
.ht-tint-1 { background: var(--color-tint-1); }
.ht-tint-2 { background: var(--color-tint-2); }
.ht-tint-3 { background: var(--color-tint-3); }

/* En-tête : boutons ronds blancs */
.ht-header .ht-iconbtn { background: var(--color-surface); width: 44px; height: 44px; }
.ht-header .ht-iconbtn:hover { background: var(--color-surface); opacity: .8; }
.ht-header.is-scrolled .ht-iconbtn { background: var(--color-bg); }
.ht-cart__count { border-color: var(--color-surface); }

/* Recherche en pilule */
.ht-home { padding-top: 6px; display: grid; gap: 14px; }
.ht-search--pill { margin: 0; }
.ht-search--pill input { height: 52px; border-radius: 999px; background: var(--color-surface); padding-left: 48px; }
.ht-search--pill svg { left: 18px; }
@media (min-width: 960px) { .ht-search--pill { display: none; } }

/* Bento : grande tuile des offres + deux tuiles de réassurance */
.ht-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ht-bento .ht-hero { grid-column: span 2; border-radius: 30px; background: var(--color-tertiary); color: var(--color-text); }
.ht-bento .ht-hero__slide { padding: 8px; }
.ht-bento .ht-hero__media { border-radius: 24px; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--color-tertiary) 70%, #ffffff); }
.ht-bento .ht-hero__content { padding: 1rem .9rem 2.2rem; gap: .5rem; }
.ht-bento .ht-hero__eyebrow { display: inline-flex; padding: .35rem .75rem; border-radius: 999px; background: var(--color-primary); color: var(--color-primary-contrast); letter-spacing: .02em; text-transform: none; font-size: .75rem; }
.ht-bento .ht-hero__title { font-size: clamp(1.6rem, 7.5vw, 2.6rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; }
.ht-bento .ht-hero__sub { color: color-mix(in srgb, var(--color-text) 72%, transparent); font-size: .95rem; }
.ht-bento .ht-hero .ht-btn--light { background: var(--color-primary); color: var(--color-primary-contrast); min-height: 48px; padding: .7rem 1.35rem; font-size: .95rem; }
.ht-bento .ht-hero__dots { left: 1.65rem; bottom: 1.1rem; }
.ht-bento .ht-hero__dots button { background: color-mix(in srgb, var(--color-text) 25%, transparent); }
.ht-bento .ht-hero__dots button[aria-current] { background: var(--color-text); }
.ht-bento__tile { display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; min-height: 132px; padding: 16px; border-radius: 26px; background: var(--color-surface); color: var(--color-text); }
.ht-bento__tile--dark { background: var(--color-secondary); color: var(--color-secondary-contrast); }
.ht-bento__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--color-text); }
.ht-bento__tile--dark .ht-bento__icon { background: color-mix(in srgb, var(--color-secondary-contrast) 14%, transparent); color: var(--color-secondary-contrast); }
.ht-bento__tile p { margin: 0; display: grid; font-size: .92rem; line-height: 1.3; }
.ht-bento__tile p span { color: var(--color-text-muted); font-weight: 500; }
.ht-bento__tile--dark p span { color: color-mix(in srgb, var(--color-secondary-contrast) 72%, transparent); }
@media (min-width: 760px) {
	.ht-bento { grid-template-columns: 1fr 1fr 260px; grid-template-rows: 1fr 1fr; }
	.ht-bento .ht-hero { grid-column: 1 / 3; grid-row: 1 / 3; }
	.ht-bento .ht-hero__slide { grid-template-columns: 1fr 1.05fr; min-height: 380px; }
	.ht-bento .ht-hero__media { aspect-ratio: auto; }
	.ht-bento .ht-hero__content { padding: 2rem 2rem 3rem; }
	.ht-bento .ht-hero__dots { left: 2.5rem; bottom: 1.5rem; }
	.ht-bento__tile { padding: 22px; }
}

/* Catégories en tuiles pastel */
.ht-cats ul { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; }
.ht-cats ul::-webkit-scrollbar { display: none; }
.ht-cats li { flex: 0 0 auto; }
.ht-cats a { display: grid; justify-items: center; gap: 8px; width: 78px; text-decoration: none; color: var(--color-text); }
.ht-cats__tile { width: 74px; height: 74px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; font-size: 1.6rem; font-weight: 800; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.ht-cats__tile img { width: 100%; height: 100%; object-fit: cover; }
.ht-cats__name { font-size: .82rem; font-weight: 600; text-align: center; line-height: 1.2; }
.ht-cats a:hover .ht-cats__tile { transform: translateY(-2px); }

/* Cartes produit : photo sur fond teinté, sans ombre */
.woocommerce ul.products li.product { border-radius: 26px; box-shadow: none; }
.woocommerce ul.products li.product:hover { box-shadow: var(--ht-shadow); }
.woocommerce ul.products li.product a img { border-radius: 20px; background: var(--color-tertiary); }
.woocommerce ul.products li.product .ht-card__cta { width: 40px; height: 40px; }

/* Pied de page arrondi et réassurance en tuiles */
.ht-reassure__grid div { box-shadow: none; border-radius: 22px; }
.ht-reassure__icon { border-radius: 50%; }
.ht-footer { margin: 0 8px; border-radius: 30px 30px 0 0; }

/* Barre de navigation flottante (mobile) */
.ht-tabbar { display: none; }
@media (max-width: 959px) {
	.ht-tabbar { display: flex; justify-content: space-around; align-items: center; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 90; height: 64px; padding: 0 8px; border-radius: 32px; background: var(--color-secondary); color: var(--color-secondary-contrast); box-shadow: 0 14px 34px rgba(17, 17, 19, .28); }
	.ht-tabbar a { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--color-secondary-contrast); text-decoration: none; }
	.ht-tabbar a[aria-current] { background: var(--color-secondary-contrast); color: var(--color-secondary); }
	.ht-tabbar a:hover { color: var(--color-secondary-contrast); opacity: .85; }
	.ht-tabbar a[aria-current]:hover { color: var(--color-secondary); }
	.ht-tabbar .ht-tabbar__wa { color: var(--color-whatsapp); }
	.ht-tabbar .ht-tabbar__wa svg { width: 23px; height: 23px; }
	.ht-tabbar__count { position: absolute; top: 5px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--color-secondary-contrast); color: var(--color-secondary); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
	.ht-has-tabbar .hs-wa-float { display: none !important; }
	.ht-has-tabbar .ht-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* Fiche produit : photo sur tuile sable, panneau blanc, urgence en deux tuiles */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper, .woocommerce div.product div.images .flex-viewport { border-radius: 32px; background: var(--color-tertiary); }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: 16px; }
.ht-product__summary { border-radius: 30px; box-shadow: none; margin-top: 10px; }
.ht-product__title { font-size: clamp(1.6rem, 7vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.ht-product__price { font-size: 1.6rem; }
.ht-product__section { border-radius: 30px; box-shadow: none; margin-top: 10px; }
.ht-product__short { border-radius: 18px; }
.hs-urgency { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; }
.hs-urgency > * { grid-column: span 2; }
.hs-urgency > .hs-countdown, .hs-urgency > .hs-stock:not([hidden]) { grid-column: span 1; }
.hs-urgency > .hs-countdown:has(+ .hs-stock[hidden]), .hs-urgency > .hs-stock:first-child { grid-column: span 2; }
.hs-countdown { flex-direction: column; align-items: flex-start !important; justify-content: space-between !important; gap: .45rem !important; min-height: 92px; padding: .9rem 1rem !important; border-radius: 22px !important; background: var(--color-secondary) !important; color: var(--color-secondary-contrast) !important; }
.hs-countdown__label { font-size: .78rem !important; color: color-mix(in srgb, var(--color-secondary-contrast) 72%, transparent) !important; }
.hs-countdown__label svg { color: inherit; }
.hs-countdown__time { gap: .35rem !important; }
.hs-countdown__time > span { color: var(--color-secondary-contrast) !important; }
.hs-countdown__time b { font-size: 1.2rem !important; }
.hs-countdown__time small { color: color-mix(in srgb, var(--color-secondary-contrast) 65%, transparent) !important; }
.hs-stock { flex-direction: column; align-items: flex-start !important; justify-content: space-between; gap: .45rem !important; min-height: 92px; padding: .9rem 1rem; border-radius: 22px; background: var(--color-warning-soft); color: #3d2a10 !important; font-size: 1.05rem !important; font-weight: 800 !important; line-height: 1.2; }
.hs-stock__dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-warning) 22%, transparent); }

/* Formulaire : étapes numérotées pleines, champs sur fond doux */
.hs-step__n { background: var(--color-primary) !important; color: var(--color-primary-contrast) !important; border: 0 !important; width: 26px !important; height: 26px !important; font-size: .78rem !important; }
.hs-step { font-size: 1rem !important; font-weight: 800 !important; letter-spacing: -.01em; }
.hs-form input[type=text], .hs-form input[type=tel], .hs-form input[type=email], .hs-form input[type=date], .hs-form input[type=time], .hs-form input[type=number], .hs-form select, .hs-form textarea { border-radius: 16px !important; min-height: 52px !important; }
.hs-offer { border-radius: 18px !important; min-height: 58px; }
.hs-chip { border-radius: 16px !important; }
.hs-chips { flex-wrap: wrap !important; overflow: visible !important; }
.hs-total { border-radius: 20px; }
.hs-submit { min-height: 62px; }

/* Barre de commande fixe : pilule noire, bouton blanc */
.hs-sticky { left: 12px !important; right: 12px !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; border-radius: 36px; background: var(--color-secondary) !important; color: var(--color-secondary-contrast); padding: .5rem .5rem .5rem 1.25rem !important; }
.hs-sticky__name { color: color-mix(in srgb, var(--color-secondary-contrast) 70%, transparent) !important; }
.hs-sticky__price, .hs-sticky__price .amount, .hs-sticky__price ins .amount { color: var(--color-secondary-contrast) !important; }
.hs-sticky__price del, .hs-sticky__price del .amount { color: color-mix(in srgb, var(--color-secondary-contrast) 55%, transparent) !important; }
.hs-sticky .hs-btn { background: var(--color-secondary-contrast) !important; color: var(--color-secondary) !important; border-radius: 28px !important; min-height: 52px; padding: 0 1.5rem !important; font-weight: 800; }

/* Panier et confirmation : cartes blanches sans ombre */
.woocommerce-cart table.cart, .woocommerce-cart .cart-collaterals .cart_totals, .ht-thanks__card, .woocommerce-message, .woocommerce-info, .woocommerce-error, .hs-order[data-mode="cart"] .hs-form { box-shadow: none !important; border-radius: 26px !important; }
.woocommerce-cart table.cart img { border-radius: 16px; background: var(--color-tertiary); }
.hs-price-from { white-space: nowrap; }

/* Panier : une carte par article */
.ht-content--wc { margin-left: auto; margin-right: auto; }
.woocommerce-cart .ht-content--wc { max-width: 1080px; }
@media (min-width: 900px) {
	.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
	.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.woocommerce-cart .cart-collaterals { position: sticky; top: 96px; }
}
.ht-cart { margin: 0; }
.ht-cart__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ht-cart__item { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 26px; background: var(--color-surface); }
.ht-cart__thumb img { display: block; width: 92px; height: 92px; object-fit: cover; border-radius: 18px; background: var(--color-tertiary); }
.ht-cart__info { display: grid; gap: .3rem; align-content: start; padding: .2rem 2.4rem 0 0; min-width: 0; }
.ht-cart__name { margin: 0; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.ht-cart__name a { text-decoration: none; }
.ht-cart__info dl.variation { display: flex; flex-wrap: wrap; gap: .1rem .6rem; margin: 0; font-size: .8rem; color: var(--color-text-muted); }
.ht-cart__info dl.variation dt, .ht-cart__info dl.variation dd { margin: 0; float: none; }
.ht-cart__info dl.variation dd p { margin: 0; display: inline; }
.ht-cart__unit { font-size: .8rem; color: var(--color-text-muted); }
.ht-cart__row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .35rem; }
.ht-cart__row .quantity .qty { width: 64px; min-height: 40px; border: 0; border-radius: 12px; background: var(--color-field); text-align: center; font: inherit; font-weight: 700; }
.ht-cart__subtotal { font-size: 1.05rem; font-weight: 800; white-space: nowrap; }
.woocommerce a.ht-cart__remove { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--color-field); color: var(--color-text) !important; font-size: 0; }
.woocommerce a.ht-cart__remove:hover { background: var(--color-danger-soft); color: var(--color-danger) !important; }
.ht-cart__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px; border-radius: 26px; background: var(--color-surface); }
.ht-cart__coupon { display: flex; gap: 8px; flex: 1 1 260px; }
.ht-cart__coupon input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid transparent; border-radius: 999px; background: var(--color-field); padding: 0 16px; font: inherit; font-size: 16px; }
.ht-cart__coupon input:focus { outline: none; border-color: var(--color-primary-strong); background: #fff; }
.ht-btn--soft { min-height: 46px; padding: .6rem 1.2rem; background: var(--color-field); color: var(--color-text); }
.ht-btn--soft:hover { color: var(--color-text); }
.ht-cart__update { border: 0; background: none; padding: .5rem .25rem; font: inherit; font-size: .88rem; font-weight: 600; color: var(--color-text-muted); text-decoration: underline; cursor: pointer; }
.ht-cart__update:disabled { opacity: .5; cursor: default; }

/* Total du panier */
.woocommerce-cart .cart-collaterals .cart_totals { padding: 1.25rem; }
@media (max-width: 899px) { .woocommerce-cart .cart-collaterals .cart_totals { margin-top: 10px; } }
.cart_totals h2 { font-size: 1.2rem; margin: 0 0 .75rem; }
.cart_totals table.shop_table { border: 0 !important; margin: 0 0 1rem !important; border-collapse: collapse; width: 100%; }
.cart_totals table.shop_table tr { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--color-border); }
.cart_totals table.shop_table tr:last-child { border-bottom: 0; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { display: block !important; border: 0 !important; padding: 0 !important; background: none !important; text-align: left; font-weight: 600; }
.cart_totals table.shop_table td { text-align: right !important; }
.cart_totals table.shop_table td::before { display: none !important; }
.cart_totals .order-total strong { font-size: 1.3rem; font-weight: 800; }
.cart_totals .cart-discount th { text-transform: uppercase; }
.cart_totals .woocommerce-remove-coupon { margin-left: .4rem; font-size: .82rem; font-weight: 600; color: var(--color-text-muted); }
.woocommerce-cart .wc-proceed-to-checkout { padding: 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button { display: flex !important; align-items: center; justify-content: center; min-height: 58px; margin: 0 !important; border-radius: 999px !important; font-weight: 800; }

/* Messages WooCommerce : sans bordure noire */
.woocommerce-message, .woocommerce-info, .woocommerce-error { outline: 0 !important; border: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto !important; background: var(--color-field) !important; color: var(--color-text) !important; border-radius: 999px !important; }
.woocommerce-cart .cart-empty { margin-bottom: 1rem; }

/* Formulaire de contact : carte blanche, pour que les champs (fond doux) se détachent */
.hs-contact .hs-contact-form { background: var(--color-surface) !important; padding: 1.25rem !important; border-radius: 26px; max-width: 560px; }
.hs-contact .hs-field label { display: block; }
.hs-contact .hs-field input, .hs-contact .hs-field textarea { display: block; width: 100%; margin-top: .35rem; }

/* Recherche sans résultat */
.ht-empty-actions { margin: 1rem 0 0; }

/* Bloc « Pourquoi nous » : liste d'engagements */
.ht-compare__list { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 8px; }
@media (min-width: 700px) { .ht-compare__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ht-compare__list li { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 18px; background: var(--color-bg); font-weight: 600; font-size: .95rem; }
.ht-compare__list .ht-yes { flex: 0 0 auto; }
.ht-compare { box-shadow: none; border-radius: 30px; }

/* Blocs de l'accueil : catégories collées à la liste de produits qui suit, comme avant leur séparation. */
.ht-section--cats { padding-bottom: 0; }
.ht-section--cats + .ht-section { padding-top: 0; }
/* Encadré des blocs techniques dans l'éditeur. */
.editor-styles-wrapper .hs-block-placeholder { max-width: 720px; margin: 0 auto; }
