/* ════════════════════════════════════════════════════════════════
   Hair Passion i-Store — components.css
   Loaded site-wide (PHP templates + Elementor). Semantic classes only.
   ════════════════════════════════════════════════════════════════ */

/* ── Parent reset override (Hello Elementor reset.css → #c36 pink) ──
   MUST stay first. Never edit the parent theme. Also resets form controls to
   the body font: browsers don't inherit font-family on button/input/select
   by default, and WooCommerce's own .button rule (font-weight:700, grey bg)
   otherwise wins the font/weight fight on shared properties. */
a { color: inherit; }
a:active, a:hover { color: var(--hp-sauge); }
button, input, select, textarea,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  font-family: var(--font-corps); font-weight: 500;
}
[type="button"], [type="reset"], [type="submit"], button {
  border-color: var(--hp-sauge); color: var(--hp-sauge);
}
[type="button"]:hover, [type="reset"]:hover, [type="submit"]:hover, button:hover {
  background-color: var(--hp-noir); color: var(--hp-blanc); border-color: var(--hp-noir);
}

/* ── Button — one base + modifiers ── */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-corps); font-weight: 600;
  font-size: 14px; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 100px; cursor: pointer; text-decoration: none;
  background: var(--hp-sauge); color: var(--hp-blanc); border: 1px solid var(--hp-sauge);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.hp-btn:hover { background: var(--hp-noir); color: var(--hp-blanc); border-color: var(--hp-noir); }
.hp-btn--ghost { background: transparent; color: var(--hp-sauge); }
.hp-btn--ghost:hover { background: var(--hp-sauge); color: var(--hp-blanc); }
.hp-btn--outline { background: transparent; color: var(--hp-noir); border-color: var(--hp-noir); }
.hp-btn--outline:hover { background: var(--hp-noir); color: var(--hp-blanc); }
.hp-btn--or { background: var(--hp-or); color: var(--hp-blanc); border-color: var(--hp-or); }
.hp-btn--or:hover { background: var(--hp-blanc); color: var(--hp-noir); border-color: var(--hp-blanc); }
.hp-btn--lg { font-size: 16px; padding: 16px 32px; }

/* ── Section wrapper ── */
.hp-section { padding: 64px 0; }
.hp-section--creme { background: var(--hp-creme); }

/* ── Hero (set cover here, NOT inline per page) ── */
.hp-hero { position: relative; min-height: 480px; display: flex;
  align-items: center; background-size: cover; background-position: center; }

/* ── Product / feature card ── */
.hp-card { border: 1px solid #E4E0D8; border-radius: 8px; background: var(--hp-blanc);
  transition: box-shadow .2s ease; }
.hp-card:hover { box-shadow: 0 4px 16px rgba(26,26,26,.08); }

/* ════════════════════════════════════════════════════════════════
   Home page lot — header, footer, hero, product grid, gammes, story
   ════════════════════════════════════════════════════════════════ */

.hp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Promo bar */
.hp-promo { background: var(--hp-noir); color: #fff; text-align: center; font-size: .82rem; padding: 9px 12px; letter-spacing: .02em; }
.hp-promo strong { color: var(--hp-or); font-weight: 600; }

/* Header */
.hp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hp-bordure); }
.hp-header__bar { display: flex; align-items: center; gap: 24px; height: 72px; }
.hp-logo { display: flex; align-items: center; }
.hp-logo img { height: 48px; width: auto; }
.hp-logo--footer { margin-bottom: 12px; }
.hp-logo--footer img { height: 40px; }
.hp-search { flex: 1; max-width: 420px; display: flex; align-items: center; background: var(--hp-creme); border: 1px solid var(--hp-bordure); border-radius: 100px; padding: 8px 16px; gap: 10px; }
.hp-search input { border: 0; background: transparent; flex: 1; font-family: var(--font-corps); font-size: .9rem; outline: none; }
.hp-search svg { width: 18px; height: 18px; color: var(--hp-gris); flex: none; }
.hp-header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hp-icon-btn { display: flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 500; }
.hp-icon-btn svg { width: 21px; height: 21px; flex: none; }
.hp-cart-count { background: var(--hp-sauge); color: #fff; font-size: .68rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }

.hp-burger { display: none; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hp-bordure);
  border-radius: 10px; background: #fff; cursor: pointer; flex: none; padding: 0; color: var(--hp-noir); }
.hp-burger svg { width: 20px; height: 20px; }

/* Mega menu (desktop) */
.hp-nav { border-bottom: 1px solid var(--hp-bordure); background: #fff; }
.hp-nav__list { display: flex; gap: 2px; list-style: none; flex-wrap: wrap; margin: 0; padding: 0; }
.hp-nav__item { position: relative; }
.hp-nav__item > a { font-family: var(--font-corps); display: block; padding: 14px 16px; font-size: .9rem; font-weight: 500; color: var(--hp-noir); }
.hp-nav__item > a:hover { color: var(--hp-sauge); }
.hp-nav__accent { color: var(--hp-or) !important; font-weight: 600 !important; }
.hp-nav__dropdown { display: none; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 220px;
  background: #fff; border: 1px solid var(--hp-bordure); border-radius: 0 0 10px 10px; box-shadow: 0 16px 32px -16px rgba(0,0,0,.18); padding: 10px 0; }
.hp-nav__item.has-dropdown:hover .hp-nav__dropdown,
.hp-nav__item.has-dropdown:focus-within .hp-nav__dropdown { display: block; }
.hp-nav__dropdown ul { list-style: none; margin: 0; padding: 0; }
.hp-nav__dropdown a { display: block; padding: 9px 18px; font-size: .87rem; color: var(--hp-noir); font-family: var(--font-corps); }
.hp-nav__dropdown a:hover { background: var(--hp-creme); color: var(--hp-sauge-deep); }

/* Mega menu : colonnes niveau 2, sous-liste niveau 3 — sans ça, les ~65
   catégories de profondeur 3 n'étaient accessibles par aucun menu. */
.hp-nav__dropdown--mega { padding: 22px 26px; min-width: 460px; max-width: min(820px, 96vw); border-radius: 0 0 12px 12px; }
.hp-nav__item--last .hp-nav__dropdown { left: auto; right: 0; }
.hp-nav__mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 20px 30px; }
.hp-nav__mega-col { min-width: 0; }
.hp-nav__dropdown--mega .hp-nav__mega-title { padding: 0 0 8px; margin-bottom: 6px; border-bottom: 1px solid var(--hp-bordure); font-weight: 600; color: var(--hp-sauge-deep); }
.hp-nav__dropdown--mega .hp-nav__mega-title:hover { background: none; color: var(--hp-noir); }
.hp-nav__mega-col ul { margin-top: 2px; }
.hp-nav__mega-col li a { padding: 5px 0; font-size: .84rem; }
.hp-nav__mega-col li a:hover { background: none; color: var(--hp-sauge-deep); text-decoration: underline; }

/* Mobile drawer nav (hidden on desktop) */
.hp-nav-mobile { display: none; }
.hp-nav-mobile ul { list-style: none; margin: 0; padding: 8px 0; }
.hp-nav-mobile > ul > li { border-top: 1px solid var(--hp-bordure); }
.hp-nav-mobile > ul > li:first-child { border-top: 0; }
.hp-nav-mobile a { display: block; padding: 13px 24px; font-size: .95rem; font-weight: 500; color: var(--hp-noir); }
.hp-nav-mobile__group summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; padding-right: 20px; }
.hp-nav-mobile__group summary::-webkit-details-marker { display: none; }
.hp-nav-mobile__group summary::after { content: "+"; color: var(--hp-gris); font-size: 1.1rem; }
.hp-nav-mobile__group[open] > summary::after { content: "−"; }
.hp-nav-mobile__group summary a { flex: 1; padding: 13px 24px; }
.hp-nav-mobile__sub { padding: 0 0 4px !important; background: var(--hp-creme); }
.hp-nav-mobile__sub a, .hp-nav-mobile__sub summary a { padding-left: 40px; font-size: .9rem; font-weight: 400; }
.hp-nav-mobile__sub .hp-nav-mobile__sub a { padding-left: 56px; font-size: .86rem; }
.hp-nav-mobile__sub li { border-top: 1px solid rgba(0,0,0,.05); }
.hp-nav-mobile__sub li:first-child { border-top: 0; }

@media (max-width: 860px) {
  .hp-burger { display: grid; }
  .hp-nav { display: none; }
  .hp-nav-mobile.is-open { display: block; border-top: 1px solid var(--hp-bordure); background: #fff; }
  .hp-hide-sm { display: none; }
}

/* Hero */
.hp-hero { background: var(--hp-creme); position: relative; overflow: hidden; }
.hp-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 64px 24px 72px; }
.hp-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--hp-sauge-deep); margin-bottom: 18px; }
.hp-hero .hp-title { font-size: clamp(2.1rem,4.6vw,3.4rem); margin-bottom: 18px; }
.hp-hero .hp-title em { font-style: normal; color: var(--hp-sauge); }
.hp-hero__lead { font-size: 1.06rem; color: #4a4a4a; max-width: 46ch; margin-bottom: 28px; }
.hp-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-hero__visual { aspect-ratio: 4/5; max-width: 440px; border-radius: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.42)), url('../images/hero-cheveux.jpg') center/cover;
  position: relative; box-shadow: 0 24px 60px -24px rgba(60,42,24,.5); }
.hp-hero__tag { position: absolute; bottom: 20px; left: 20px; background: #fff; border-radius: 12px; padding: 12px 16px; font-size: .82rem; line-height: 1.3; box-shadow: 0 8px 24px -8px rgba(0,0,0,.2); }
.hp-hero__tag b { font-family: var(--font-titres); }
.hp-hero__badge { position: absolute; top: 20px; right: 20px; color: #fff; text-align: right; font-family: var(--font-titres); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.hp-hero__badge span { display: block; font-size: 3rem; font-weight: 700; line-height: 1; }
.hp-hero__badge small { font-size: .9rem; letter-spacing: .04em; }

/* Reassurance strip */
.hp-reassurance { border-bottom: 1px solid var(--hp-bordure); }
.hp-reassurance__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.hp-reassurance__item { display: flex; gap: 13px; align-items: center; padding: 20px 24px; justify-content: center; }
.hp-reassurance__item + .hp-reassurance__item { border-left: 1px solid var(--hp-bordure); }
.hp-reassurance__item svg { width: 26px; height: 26px; color: var(--hp-sauge); flex: none; }
.hp-reassurance__item b { font-family: var(--font-titres); font-size: .92rem; display: block; }
.hp-reassurance__item small { color: var(--hp-gris); font-size: .8rem; }

/* Section header */
.hp-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
.hp-section-head h2 { font-size: clamp(1.5rem,3vw,2rem); }
.hp-section-head__link { font-weight: 600; color: var(--hp-sauge-deep); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.hp-section-head__link:hover { color: var(--hp-noir); }

/* Product grid — largeur mini par carte plutôt qu'un nombre de colonnes fixe :
   à côté de la sidebar filtres, 4 colonnes fixes écrasaient les cartes (et
   donc le bouton "Ajouter") sur une largeur bien plus étroite que sur la home. */
.hp-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 22px; }
.hp-product-grid .hp-card { overflow: hidden; display: flex; flex-direction: column; }
.hp-product-grid .hp-card:hover { border-color: var(--hp-sauge); transform: translateY(-3px); }
.hp-card__thumb { aspect-ratio: 1; background: var(--hp-creme); position: relative; display: grid; place-items: center; }
.hp-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-card__ph { font-family: var(--font-titres); color: var(--hp-sauge); opacity: .35; font-weight: 700; font-size: .85rem; letter-spacing: .08em; }
.hp-card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hp-card__brand { font-size: .72rem; color: var(--hp-gris); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hp-card__name { font-size: .92rem; font-weight: 500; line-height: 1.35; flex: 1; }
.hp-card__price { font-family: var(--font-titres); font-weight: 600; font-size: 1.05rem; margin-top: 4px; }
.hp-card__add { margin-top: 8px; }
.hp-card__add a { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px; background: var(--hp-sauge); border: 1px solid var(--hp-sauge); border-radius: 100px; font-weight: 600; font-size: .85rem; color: #fff; transition: .15s; }
.hp-card__add a:hover { background: var(--hp-sauge-deep); border-color: var(--hp-sauge-deep); }

/* Gammes */
.hp-gammes__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.hp-gammes__grid + .hp-gammes__grid { margin-top: 16px; }
.hp-gammes__tile { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; background-color: var(--hp-sauge-deep); background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 18px; color: #fff; font-family: var(--font-titres); font-weight: 600; font-size: 1.05rem; transition: .2s; }
.hp-gammes__tile:hover { transform: translateY(-4px); }
.hp-gammes__tile span { position: relative; z-index: 3; }
.hp-gammes__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)); }

/* Type de cheveux chips */
.hp-chip-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hp-chip { border: 1.5px solid var(--hp-bordure); border-radius: 100px; padding: 11px 20px; font-weight: 500; font-size: .9rem; transition: .15s; }
.hp-chip:hover { border-color: var(--hp-sauge); background: var(--hp-sauge); color: #fff; }

/* Brand story */
.hp-story { background: var(--hp-noir); color: #fff; }
.hp-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hp-story h2 { font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 18px; }
.hp-story h2 em { font-style: normal; color: var(--hp-or); }
.hp-story p { color: #cfcfcf; margin-bottom: 16px; max-width: 48ch; }
.hp-story__visual { aspect-ratio: 1; max-width: 440px; border-radius: 16px; background: var(--hp-creme);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px; }
.hp-story__visual img { width: min(64%, 240px); height: auto; }
.hp-story__visual b { font-family: var(--font-titres); color: var(--hp-noir); font-size: 1.3rem; text-align: center; line-height: 1.3; }

/* Brands row */
.hp-brands { border-top: 1px solid var(--hp-bordure); }
.hp-brands__row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Bandeau marques (home) : défilement continu vers la gauche, 8 logos environ
   visibles à la fois, boucle sans coupure (piste = liste dupliquée x2). */
.hp-brands__slider {
	overflow: hidden; width: 100%;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
	mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 60px), transparent);
}
.hp-brands__track { display: flex; align-items: center; gap: 16px; width: max-content; animation: hp-brands-scroll 32s linear infinite; }
.hp-brands__slider:hover .hp-brands__track { animation-play-state: paused; }
.hp-brands__track .hp-brand-logo { flex: 0 0 auto; width: 200px; height: 130px; display: flex; align-items: center; justify-content: center; text-align: center; }
.hp-brands__track .hp-brand-logo--img img { max-height: 72px; max-width: 170px; }
@keyframes hp-brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.hp-brands__track { animation: none; }
}
.hp-brand-logo { border: 1px solid var(--hp-bordure); border-radius: 8px; padding: 16px 26px; font-family: var(--font-titres); font-weight: 600; color: var(--hp-gris); font-size: .95rem; transition: .15s; }
.hp-brand-logo:hover { color: var(--hp-noir); border-color: var(--hp-noir); }
.hp-brand-logo--img { padding: 14px 22px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: .7; }
.hp-brand-logo--img:hover { filter: none; opacity: 1; }
.hp-brand-logo--img img { max-height: 32px; max-width: 120px; width: auto; height: auto; object-fit: contain; }
.hp-brand-logo--img small { margin-left: 8px; font-family: var(--font-corps); font-weight: 500; font-size: .8rem; color: var(--hp-gris); }

/* Bloc éditorial positionnement (home) */
.hp-positioning { padding: 48px 0; }
.hp-positioning__inner { max-width: 78ch; }
.hp-positioning h2 { font-size: clamp(1.4rem,2.6vw,1.8rem); margin-bottom: 16px; }
.hp-positioning p { color: #4a4a4a; font-family: var(--font-corps); line-height: 1.7; margin-bottom: 14px; }
.hp-positioning p:last-child { margin-bottom: 0; }

/* FAQ catégorie */
.hp-faq { max-width: 78ch; margin: 40px 0; }
.hp-faq h2 { font-size: clamp(1.3rem,2.4vw,1.6rem); margin-bottom: 16px; }
.hp-faq__item { border-bottom: 1px solid var(--hp-bordure); padding: 14px 0; }
.hp-faq__item summary { cursor: pointer; font-family: var(--font-titres); font-weight: 600; color: var(--hp-noir); list-style: none; position: relative; padding-right: 28px; }
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__item summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.2rem; color: var(--hp-sauge); }
.hp-faq__item[open] summary::after { content: "\2212"; }
.hp-faq__answer { color: #4a4a4a; font-family: var(--font-corps); line-height: 1.7; padding-top: 10px; }
.hp-faq__answer p:last-child { margin-bottom: 0; }

/* Footer */
.hp-footer { background: var(--hp-creme); border-top: 1px solid var(--hp-bordure); padding: 56px 0 28px; }
.hp-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.hp-footer__col h4 { font-family: var(--font-titres); font-size: .95rem; margin-bottom: 16px; }
.hp-footer__col a { display: block; color: #5a5a5a; font-size: .87rem; padding: 5px 0; }
.hp-footer__col a:hover { color: var(--hp-sauge-deep); }
.hp-footer__col p { color: #5a5a5a; font-size: .87rem; max-width: 32ch; }
.hp-footer__social { display: flex; flex-direction: row; align-items: center; gap: 14px; margin-top: 10px; }
.hp-footer__social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; color: #5a5a5a; border: 1px solid var(--hp-bordure); border-radius: 50%; transition: .15s; }
.hp-footer__social a:hover { color: #fff; background: var(--hp-sauge-deep); border-color: var(--hp-sauge-deep); }
.hp-footer__bottom { border-top: 1px solid var(--hp-bordure); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: var(--hp-gris); }

@media (max-width: 900px) {
  .hp-hero__grid, .hp-story__grid { grid-template-columns: 1fr; }
  .hp-hero__visual { max-width: 360px; order: -1; }
  .hp-product-grid, .hp-gammes__grid { grid-template-columns: repeat(2,1fr); }
  .hp-reassurance__grid { grid-template-columns: 1fr; }
  .hp-reassurance__item + .hp-reassurance__item { border-left: 0; border-top: 1px solid var(--hp-bordure); }
  .hp-footer__grid { grid-template-columns: 1fr 1fr; }
  .hp-search { display: none; }
}
@media (max-width: 520px) {
  .hp-product-grid, .hp-gammes__grid, .hp-footer__grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   Fiche produit
   ════════════════════════════════════════════════════════════════ */

.hp-breadcrumb { font-family: var(--font-corps); font-size: .82rem; color: var(--hp-gris); margin: 28px 0 22px; }
.hp-breadcrumb a { color: var(--hp-gris); }
.hp-breadcrumb a:hover { color: var(--hp-sauge-deep); }
.hp-breadcrumb__sep { margin: 0 6px; }
.hp-breadcrumb__current { color: var(--hp-noir); font-weight: 500; }

.hp-product-page { padding-bottom: 80px; }
.hp-product__layout { display: flex; gap: 48px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 40px; }
/* Onglets Description / Informations complémentaires / Avis */
.hp-tabs { max-width: 900px; margin-bottom: 56px; }
.hp-tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--hp-bordure); margin-bottom: 28px; flex-wrap: wrap; }
.hp-tabs__btn { font-family: var(--font-corps); font-weight: 600; font-size: .92rem; color: var(--hp-gris);
  background: none; border: 0; padding: 14px 6px; margin-right: 22px; cursor: pointer; position: relative; top: 1px;
  border-bottom: 2px solid transparent; }
.hp-tabs__btn:hover { color: var(--hp-noir); }
.hp-tabs__btn.is-active { color: var(--hp-noir); border-bottom-color: var(--hp-sauge); }
.hp-tabs__panel[hidden] { display: none; }
.hp-product__extra-info-table { width: 100%; max-width: 560px; border-collapse: collapse; font-family: var(--font-corps); font-size: .92rem; }
.hp-product__extra-info-table th, .hp-product__extra-info-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hp-bordure); }
.hp-product__extra-info-table th { color: var(--hp-gris); font-weight: 500; width: 45%; }
.hp-product__gallery { flex: 1; min-width: 300px; }
.hp-product__gallery .woocommerce-product-gallery__wrapper { border-radius: 14px; overflow: hidden; }
.hp-product__gallery img { border-radius: 14px; }
.hp-product__info { flex: 1; min-width: 300px; max-width: 480px; }
.hp-product__brand { font-size: .78rem; color: var(--hp-gris); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hp-product__title { font-size: clamp(1.5rem,3vw,2.1rem); line-height: 1.15; margin: 8px 0 12px; }
.hp-product__rating { margin-bottom: 14px; }
.hp-product__price { font-family: var(--font-titres); font-weight: 700; font-size: 1.9rem; margin-bottom: 16px; }
.hp-product__price ins { text-decoration: none; }
.hp-product__price del { color: var(--hp-gris); font-size: .7em; margin-right: 8px; }
.hp-product__excerpt { font-family: var(--font-corps); color: #4a4a4a; font-size: .98rem; margin-bottom: 20px; }
.hp-product__excerpt p:last-child { margin-bottom: 0; }

.hp-product__cart { margin-bottom: 20px; }
/* WooCommerce floats .quantity (specificity 0,4,0) and to the right of it a
   flex row reads more reliably than fighting the float. */
.hp-product__cart form.cart { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.hp-product__cart .quantity { float: none; margin: 0; display: inline-flex; align-items: center;
  border: 1.5px solid var(--hp-bordure); border-radius: 100px; overflow: hidden; position: relative; }
.hp-product__cart .quantity .qty { width: 52px; border: 0; text-align: center; font-weight: 600;
  font-family: var(--font-corps); padding: 12px 0; -moz-appearance: textfield; }
.hp-product__cart .quantity .qty::-webkit-inner-spin-button,
.hp-product__cart .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hp-product__cart .quantity .hp-qty-step {
  width: 40px; border: 0; background: transparent; cursor: pointer; font-size: 1.2rem;
  color: var(--hp-noir); font-family: var(--font-corps); line-height: 1;
}
.hp-product__cart .quantity .hp-qty-step:hover { background: var(--hp-creme); }
/* .button.alt is WooCommerce's own purple accent (0,2,1) — match its exact
   class combo so ours (0,4,0) wins instead of chasing specificity forever. */
.hp-product__cart .single_add_to_cart_button.button.alt {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 600; font-size: .98rem; cursor: pointer;
  border: 0; background: var(--hp-sauge); color: #fff; font-family: var(--font-corps); transition: .18s;
  flex: 1; min-width: 180px;
}
.hp-product__cart .single_add_to_cart_button.button.alt:hover { background: var(--hp-noir); }
.hp-product__cart .single_add_to_cart_button.button.alt::before {
  content: ""; width: 18px; height: 18px; flex: none; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hp-product__cart .stock { margin-top: 10px; width: 100%; font-size: .85rem; color: var(--hp-gris); }
.hp-product__cart .stock.out-of-stock { color: #b3423e; }

.hp-product__reassurance { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0; font-size: .82rem; color: var(--hp-gris); }
.hp-product__reassurance span { display: inline-flex; align-items: center; gap: 7px; }
.hp-product__reassurance svg { width: 16px; height: 16px; color: var(--hp-sauge); flex: none; }


.hp-product__reviews { border-radius: 14px; }

.hp-product__mbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--hp-bordure); padding: 12px 16px; align-items: center; gap: 14px;
  box-shadow: 0 -6px 24px -12px rgba(0,0,0,.2); }
.hp-product__mbar-info { flex: 1; min-width: 0; }
.hp-product__mbar-brand { font-size: .8rem; color: var(--hp-gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-product__mbar-price { font-family: var(--font-titres); font-weight: 700; font-size: 1.1rem; }

@media (max-width: 760px) {
  .hp-product__mbar { display: flex; }
  .hp-product-page { padding-bottom: 90px; }
}

/* ════════════════════════════════════════════════════════════════
   Page collection (catégories, marques, type de cheveux)
   ════════════════════════════════════════════════════════════════ */

.hp-collection { padding: 0 0 72px; }
.hp-collection__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.hp-collection__head h1 { font-size: clamp(1.7rem,3.4vw,2.3rem); margin-bottom: 6px; }
.hp-collection__count { color: var(--hp-gris); font-size: .9rem; margin: 0; }
.hp-collection__head .woocommerce-ordering { margin: 0; }
.hp-collection__head select { font-family: var(--font-corps); font-size: .88rem; padding: 9px 14px; border: 1px solid var(--hp-bordure); border-radius: 100px; background: #fff; color: var(--hp-noir); cursor: pointer; }
.hp-collection__intro { font-family: var(--font-corps); color: #4a4a4a; font-size: .96rem; max-width: 80ch; margin: 4px 0 24px; }
.hp-collection__intro p:last-child { margin-bottom: 0; }

.hp-collection__layout { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--hp-bordure); }
.hp-collection__layout--full .hp-collection__grid { flex: 1 1 100%; }
.hp-collection__filters { flex: 1; min-width: 220px; max-width: 260px; position: sticky; top: 150px; }
.hp-collection__filters h3 { font-size: 1rem; margin: 0 0 18px; }
.hp-collection__facet { border-top: 1px solid var(--hp-bordure); padding: 18px 0; }
.hp-collection__facet-title { font-family: var(--font-titres); font-weight: 600; font-size: .85rem; margin: 0 0 12px; letter-spacing: .02em; }
.hp-chip-row--small .hp-chip { padding: 7px 14px; font-size: .82rem; }
.hp-collection__subpages { margin-bottom: 24px; }
.hp-collection__marques { display: flex; flex-direction: column; gap: 4px; }
.hp-collection__marque { display: flex; align-items: center; gap: 6px; font-size: .88rem; padding: 6px 8px; border-radius: 6px; color: var(--hp-noir); cursor: pointer; }
.hp-collection__marque:hover { background: var(--hp-creme); }
.hp-collection__marque small { color: var(--hp-gris); }
.hp-collection__marque.is-active { background: var(--hp-sauge); color: #fff; font-weight: 600; }
.hp-collection__marque.is-active small { color: rgba(255,255,255,.8); }

.hp-collection__grid { flex: 3; min-width: 300px; }
#hp-collection-results { transition: opacity .15s; }
.hp-collection__empty { padding: 60px 20px; text-align: center; color: var(--hp-gris); border: 1px dashed var(--hp-bordure); border-radius: 8px; }
.hp-collection__empty .hp-btn { margin-top: 14px; }

.woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; margin: 40px 0 0; padding: 0; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid var(--hp-bordure); border-radius: 8px; font-size: .88rem; }
.woocommerce-pagination .current { background: var(--hp-noir); color: #fff; border-color: var(--hp-noir); }

@media (max-width: 760px) {
  .hp-collection__filters { position: static; max-width: none; }
}

/* ════════════════════════════════════════════════════════════════
   Blog Conseils — liste + article
   ════════════════════════════════════════════════════════════════ */

.hp-blog { padding-bottom: 72px; }
.hp-blog__title { margin-bottom: 8px; }
.hp-blog__lead { color: #4a4a4a; max-width: 60ch; margin-bottom: 32px; }

.hp-blog-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; border-radius: 16px; overflow: hidden; background: var(--hp-creme); }
.hp-blog-hero__thumb { aspect-ratio: 4/3; overflow: hidden; }
.hp-blog-hero__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hp-blog-hero:hover .hp-blog-hero__thumb img { transform: scale(1.04); }
.hp-blog-hero__body { padding: 20px 40px 20px 0; }
.hp-blog-hero__title { font-size: clamp(1.5rem,2.8vw,2.1rem); line-height: 1.15; margin: 10px 0 14px; }
.hp-blog-hero__excerpt { color: #4a4a4a; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }

.hp-blog__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.hp-blog-card { border: 1px solid var(--hp-bordure); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .18s, transform .18s; display: flex; flex-direction: column; }
.hp-blog-card:hover { border-color: var(--hp-sauge); transform: translateY(-3px); }
.hp-blog-card__thumb { aspect-ratio: 16/9; background: var(--hp-creme); overflow: hidden; }
.hp-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-blog-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hp-blog-card__cat { font-size: .72rem; color: var(--hp-sauge-deep); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.hp-blog-card__title { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.hp-blog-card__excerpt { color: var(--hp-gris); font-size: .88rem; margin: 0; flex: 1; }
.hp-blog-card__meta { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--hp-gris); margin-top: 4px; }
.hp-blog-card__meta img { border-radius: 50%; display: block; }
.hp-blog-card__dot { opacity: .6; }

.hp-article { padding-bottom: 80px; }
.hp-article__wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.hp-article__badge { display: inline-block; background: var(--hp-creme); color: var(--hp-sauge-deep); font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; margin-bottom: 16px; }
.hp-article__title { font-size: clamp(1.9rem,4vw,2.7rem); line-height: 1.12; margin-bottom: 18px; }
.hp-article__byline { color: var(--hp-gris); font-size: .9rem; margin-bottom: 28px; }
.hp-article__hero { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; margin-bottom: 32px; }
.hp-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.hp-article__content { font-family: var(--font-corps); font-size: 1.04rem; line-height: 1.7; color: #333; }
.hp-article__content p { margin: 0 0 20px; }
.hp-article__content h2 { font-size: 1.35rem; margin: 32px 0 12px; }
.hp-article__content h3 { font-size: 1.1rem; margin: 24px 0 10px; }
.hp-article__content ul, .hp-article__content ol { margin: 0 0 20px; padding-left: 22px; }
.hp-article__content a { color: var(--hp-sauge-deep); text-decoration: underline; }

@media (max-width: 760px) {
  .hp-blog__grid { grid-template-columns: 1fr; }
  .hp-blog-hero { grid-template-columns: 1fr; }
  .hp-blog-hero__body { padding: 0 20px 24px; }
}

/* ── Encart recommandation produit dans un article ── */
.hp-article__reco { background: var(--hp-creme); border-radius: 12px; padding: 22px; margin: 28px 0;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hp-article__reco-thumb { width: 80px; height: 80px; border-radius: 10px; overflow: hidden; flex: none; background: #fff; }
.hp-article__reco-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-article__reco-body { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.hp-article__reco-label { font-size: .78rem; color: var(--hp-gris); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.hp-article__reco-name { font-family: var(--font-titres); font-weight: 600; font-size: 1.05rem; margin: 2px 0 4px; }
.hp-article__reco-price { font-family: var(--font-titres); font-weight: 600; color: var(--hp-sauge-deep); }
.hp-article__reco .hp-btn { white-space: nowrap; }

/* Add components below, grown per build lot. Keep mobile rules beside each block. */
