/* ══════════════════════════════════════════════════════════════════════
   HAVA — direction "2a — Le comptoir, affiné".
   Six bands, four values: navy bar under a red hairline, pale-blue console,
   results on the light ground, family index reversed on deep indigo, brand
   wall in white, navy close.
   Tokens follow the Nocturne ramp the design was drawn against.
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --hv-accent:   #d62828;
  --hv-accent-d: #b02020;
  --hv-accent-l: #f6b0aa;
  --hv-ink:      #1c1e2a;
  --hv-navy:     #161826;
  --hv-navy-2:   #232532;
  --hv-line-d:   #3f424d;
  --hv-section:  #262a60;
  --hv-ghost:    #4c5397;
  --hv-n100:     #f3f5fe;
  --hv-n200:     #e4e7f5;
  --hv-n300:     #cfd3e5;
  --hv-n400:     #b2b6ca;
  --hv-n500:     #9397ab;
  --hv-n600:     #75798c;
  --hv-n700:     #595d6c;
  --hv-n800:     #3f424d;
  --hv-surface:  #fdfdff;
  --hv-pale:     #e9ecfa;
  --hv-pale-2:   #eef0fb;
  --hv-pale-3:   #f7f8fe;
  --hv-r-sm: 4px;
  --hv-r-md: 8px;
  --hv-r-lg: 14px;
}

.hv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .hv-wrap { padding: 0 18px; } }

/* ── header bar ────────────────────────────────────────────────────── */
.site-header { background: var(--hv-navy) !important; border-bottom: 2px solid var(--hv-accent) !important; padding: 0 !important; }
.site-header .col-full { max-width: none; padding: 0; margin: 0; }
.hv-bar { background: var(--hv-navy); }
.hv-bar-in {
  max-width: 1280px; margin: 0 auto; padding: 0 32px; height: 62px;
  display: flex; align-items: center; gap: 26px;
}
@media (max-width: 1100px) { .hv-bar-in { height: auto; padding: 12px 18px; flex-wrap: wrap; gap: 14px; } }

/* Lockup horizontal — marque « La Rondelle Q », traitement inversé sur la barre. */
.hv-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.hv-logo .mk { width: 30px; height: 30px; display: block; flex: none; }
.hv-logo .w { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; white-space: nowrap; }
/* Rouge clair de la charte, pas le --hv-accent-l du thème (#f6b0aa, trop pâle ici). */
.hv-logo .d { color: #ff7a7e; }
@media (max-width: 520px) {
  .hv-logo { gap: 8px; }
  .hv-logo .mk { width: 26px; height: 26px; }
  .hv-logo .w { font-size: 17px; }
}

.hv-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 17px; }
.hv-nav li { position: relative; }
.hv-nav a { color: var(--hv-n300); font-size: 13px; text-decoration: none; white-space: nowrap; }
.hv-nav a:hover { color: #fff; }
.hv-nav ul ul {
  position: absolute; left: 0; top: 100%; z-index: 60; display: none;
  background: #1c222c; border: 1px solid #2c3441; border-top: 2px solid var(--hv-accent);
  box-shadow: 0 10px 26px rgba(0,0,0,.34); padding: 10px; min-width: 240px;
  grid-template-columns: repeat(2, 200px); gap: 0 6px; border-radius: 0 0 3px 3px;
}
.hv-nav li:hover > ul { display: grid; }
.hv-nav ul ul a { display: flex; align-items: center; gap: 9px; padding: 6px 9px; font-size: 12.5px; }
.hv-nav ul ul a:hover { background: #262e3a; }

.hv-search {
  flex: 1; min-width: 180px; max-width: 340px; margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  background: var(--hv-navy-2); border: 1px solid var(--hv-line-d);
  border-radius: var(--hv-r-md); padding: 6px 11px;
}
.hv-search svg { fill: var(--hv-n500); flex: none; }
.hv-search input {
  flex: 1; min-width: 0; border: 0; background: none; color: var(--hv-n100);
  font-size: 12.5px; padding: 0; outline: none;
}
.hv-search input::placeholder { color: var(--hv-n500); }
.hv-search kbd {
  font: inherit; font-size: 10px; color: var(--hv-n600);
  border: 1px solid var(--hv-line-d); border-radius: 3px; padding: 1px 5px; flex: none;
}

.hv-bar-end { display: flex; align-items: center; gap: 17px; flex: none; }
.hv-lang { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--hv-n500); }
.hv-lang a { color: var(--hv-n400); text-decoration: none; }
.hv-lang a.on { color: var(--hv-n100); }
.hv-lang span { color: var(--hv-n700); }
.hv-devis {
  display: inline-flex; align-items: center; gap: 6px; background: var(--hv-accent);
  border-radius: var(--hv-r-md); padding: 5px 10px; text-decoration: none;
  font-size: 12px; font-weight: 500; color: #fff; white-space: nowrap;
}
.hv-devis svg { fill: #ffdedb; }
.hv-devis:hover { background: var(--hv-accent-d); color: #fff; }
.hv-pro {
  font-size: 11px; color: var(--hv-n300); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--hv-line-d); border-radius: var(--hv-r-sm); padding: 4px 9px;
}
.hv-pro:hover { border-color: var(--hv-accent); color: #fff; }

/* ── shared section furniture ──────────────────────────────────────── */
.hv-home { background: var(--hv-n100); }
.hv-home .hv-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 22px; flex-wrap: wrap;
}
.hv-home .hv-sec-head h2 {
  font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 0; color: var(--hv-ink);
}
.hv-home .hv-sec-head h2 span { color: var(--hv-n600); font-weight: 400; }
.hv-home .hv-sec-head a { font-size: 12.5px; color: var(--hv-accent-d); text-decoration: none; }
.hv-home .hv-sec-head a:hover { text-decoration: underline; }
.hv-home .hv-sec-head .note { font-size: 12.5px; color: var(--hv-n400); }
.hv-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--hv-accent-d); margin: 0;
}

/* ── band 1 · console ──────────────────────────────────────────────── */
.hv-console { background: var(--hv-pale); border-bottom: 1px solid #d6dbf0; padding: 56px 0 48px; }
.hv-console-head { max-width: 780px; }
.hv-console h1 {
  font-size: 46px; font-weight: 500; line-height: 1.1; letter-spacing: -.025em;
  color: var(--hv-ink); margin: 18px 0 0; text-wrap: pretty;
}
@media (max-width: 720px) { .hv-console h1 { font-size: 32px; } }
.hv-lede { font-size: 15px; line-height: 1.6; color: var(--hv-n700); margin: 16px 0 0; max-width: 560px; }

.hv-console-card {
  margin-top: 34px; background: var(--hv-surface); border-radius: var(--hv-r-lg);
  box-shadow: 0 0 0 1px #d6dbf0, 0 10px 28px rgba(22,24,38,.09);
  padding: 22px; max-width: 900px;
}
.hv-tabs {
  display: inline-flex; gap: 2px; background: var(--hv-pale-2);
  border-radius: var(--hv-r-md); padding: 3px; margin-bottom: 17px;
}
.hv-tabs span, .hv-tabs a {
  padding: 5px 12px; font-size: 12.5px; border-radius: var(--hv-r-sm);
  text-decoration: none; color: var(--hv-n700);
}
.hv-tabs .on {
  background: var(--hv-surface); color: var(--hv-accent-d);
  box-shadow: 0 0 0 1px var(--hv-accent-l); font-weight: 500;
}
.hv-filters { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 11px; align-items: end; }
@media (max-width: 860px) { .hv-filters { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hv-filters { grid-template-columns: 1fr; } }
.hv-f .k {
  display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hv-n600); margin-bottom: 6px;
}
.hv-f select {
  width: 100%; background: #f7f8fe; border: 1px solid var(--hv-n300);
  border-radius: var(--hv-r-md); padding: 9px 11px; font-size: 13px;
  color: var(--hv-ink); font-family: inherit;
}
.hv-f select:focus { outline: 2px solid var(--hv-accent-l); outline-offset: -1px; }
.hv-filter-btn {
  white-space: nowrap; padding: 10px 20px; font-size: 13px; font-weight: 500;
  background: var(--hv-accent); color: #fff; border: 0;
  border-radius: var(--hv-r-md); cursor: pointer; font-family: inherit;
}
.hv-filter-btn:hover { background: var(--hv-accent-d); }
.hv-shortcuts { display: flex; gap: 8px; margin-top: 17px; flex-wrap: wrap; align-items: center; }
.hv-shortcuts .lbl { font-size: 11.5px; color: var(--hv-n600); }
.hv-shortcuts a {
  font-size: 11.5px; color: #3f424d; background: var(--hv-pale-2);
  border-radius: var(--hv-r-sm); padding: 3px 9px; text-decoration: none;
}
.hv-shortcuts a:hover { background: var(--hv-accent); color: #fff; }

/* ── band 2 · results ──────────────────────────────────────────────── */
.hv-results { padding: 44px 0 52px; }
.hv-results .hv-sec-head h2 { font-size: 19px; letter-spacing: -.01em; }
.hv-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
@media (max-width: 1100px) { .hv-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .hv-cards { grid-template-columns: repeat(2, 1fr); } }
.hv-card {
  background: var(--hv-surface); border-radius: var(--hv-r-md); box-shadow: 0 0 0 1px var(--hv-n200);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.hv-card:hover { box-shadow: 0 0 0 1px var(--hv-n300), 0 6px 18px rgba(22,24,38,.09); transform: translateY(-1px); }
.hv-card .ph {
  background: var(--hv-pale-2); height: 138px; display: flex; align-items: center;
  justify-content: center; padding: 14px; border-bottom: 1px solid var(--hv-n200);
}
.hv-card .ph img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.hv-card .ph .noimg { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--hv-n500); }
.hv-card .bd { padding: 11px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.hv-card .br { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hv-accent-d); }
.hv-card .nm { font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--hv-ink); }
.hv-card .sp { font-size: 11.5px; color: var(--hv-n600); margin-top: 2px; }
.hv-card .st { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 9px; font-size: 11px; color: var(--hv-n700); }
.hv-card .st i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.hv-empty { grid-column: 1 / -1; font-size: 13.5px; color: var(--hv-n600); }

/* ── band 3 · families ─────────────────────────────────────────────── */
.hv-families { background: var(--hv-section); padding: 48px 0 52px; }
.hv-families .hv-sec-head h2 { color: var(--hv-n100); }
.hv-famgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 22px; }
@media (max-width: 860px) { .hv-famgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hv-famgrid { grid-template-columns: 1fr; } }
.hv-famgrid a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 11px;
  padding: 10px 0; border-bottom: 1px solid var(--hv-ghost);
  color: var(--hv-n200); font-size: 13.5px; text-decoration: none;
}
.hv-famgrid a:hover { color: #fff; }
.hv-famgrid a span { color: #9da3d0; font-size: 11.5px; }

/* ── band 4 · brands ───────────────────────────────────────────────── */
.hv-brands { background: var(--hv-surface); padding: 48px 0 52px; }
.hv-brandgrid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
@media (max-width: 1100px) { .hv-brandgrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 560px)  { .hv-brandgrid { grid-template-columns: repeat(3, 1fr); } }
.hv-brandgrid a {
  background: #f7f8fe; border: 1px solid var(--hv-n200); border-radius: var(--hv-r-sm);
  height: 52px; display: flex; align-items: center; justify-content: center; padding: 9px;
  text-decoration: none; transition: border-color .15s;
}
.hv-brandgrid a:hover { border-color: var(--hv-accent); }
.hv-brandgrid img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.hv-brandgrid span { font-size: 10px; font-weight: 600; letter-spacing: .06em; color: var(--hv-n600); }

/* ── band 5 · close ────────────────────────────────────────────────── */
.hv-close { background: var(--hv-navy); padding: 48px 0 44px; }
.hv-closegrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .hv-closegrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hv-closegrid { grid-template-columns: 1fr; } }
.hv-close .t { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--hv-n100); margin: 0; }
.hv-close .d { font-size: 13px; line-height: 1.6; color: var(--hv-n500); margin: 10px 0 17px; max-width: 320px; }
.hv-cta {
  display: inline-block; padding: 10px 20px; font-size: 13px; font-weight: 500;
  background: var(--hv-accent); color: #fff; border-radius: var(--hv-r-md); text-decoration: none;
}
.hv-cta:hover { background: var(--hv-accent-d); color: #fff; }
.hv-close .col .h {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--hv-accent-l); padding-bottom: 8px; border-bottom: 1px solid var(--hv-line-d); margin: 0;
}
.hv-close .col .b { font-size: 12.5px; line-height: 1.85; color: var(--hv-n400); margin-top: 10px; }
.hv-close .col .b a { color: var(--hv-n400); text-decoration: none; }
.hv-close .col .b a:hover { color: #fff; }

/* the design closes on the navy band; Storefront's own footer would repeat it */
.home .site-footer { display: none; }

/* ── full-bleed bands ──────────────────────────────────────────────────
   Storefront wraps content in .col-full (max-width ~1160px). The design's
   coloured bands run edge to edge, so on the homepage the container is
   released and .hv-wrap carries the measure instead. */
.home .site-content { padding-top: 0; padding-bottom: 0; }
.home .site-content .col-full { max-width: none; width: 100%; padding: 0; margin: 0; }
.home #primary, .home .content-area { margin: 0; width: 100%; float: none; }
.home .site-main { margin: 0; }
.home .entry-header, .home .entry-content > .entry-title { display: none; }
.home .hentry, .home .entry-content { margin: 0; }
/* WooCommerce prints an empty notice wrapper above the content; on the homepage
   it opens a gap between the red hairline and the console band */
.home .site-content .col-full > .woocommerce:not(:has(*)) { display: none; }

/* Storefront gives .site-header a ~63px margin-bottom. The design's bar sits
   directly on the content, so it is removed and non-home templates get their
   own breathing room back. */
.site-header { margin-bottom: 0 !important; }
body:not(.home) .site-content { padding-top: 1.6em; }

/* ══════════════════════════════════════════════ 3a — catalogue ══════════ */
.hv-pale { background: var(--hv-pale); border-bottom: 1px solid #d6dbf0; padding: 26px 0 22px; margin-bottom: 0; }
.hv-crumb { font-size: 12px; color: var(--hv-n600); margin-bottom: 12px; border: 0; padding: 0; }
.hv-crumb a { color: var(--hv-accent-d); text-decoration: none; }
.hv-crumb span { color: var(--hv-n400); margin: 0 6px; }
.hv-pale-head h1 { font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--hv-ink); margin: 0 !important; }
.hv-pale-head p { font-size: 13.5px; color: var(--hv-n700); margin: 6px 0 0; }
.hv-chips { display: flex; gap: 8px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.hv-chips .lbl { font-size: 11.5px; color: var(--hv-n600); }
.hv-chips .chip {
  font-size: 11.5px; font-weight: 500; color: #fff; background: var(--hv-accent);
  border-radius: var(--hv-r-sm); padding: 3px 8px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.hv-chips .chip span { color: #ffdedb; }
.hv-chips .chip:hover { background: var(--hv-accent-d); color: #fff; }
.hv-chips .clear { font-size: 11.5px; color: var(--hv-n600); text-decoration: none; }

/* facet rail */
.hv-facets { font-size: 12.5px; }
.hv-facet { margin-bottom: 22px; }
.hv-facet .h {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hv-ink); padding-bottom: 8px; border-bottom: 2px solid var(--hv-accent); margin: 0 0 4px;
}
.hv-facet .row {
  display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px;
  color: #3f424d; border-bottom: 1px solid var(--hv-n200); text-decoration: none;
}
.hv-facet .row i { width: 13px; height: 13px; border-radius: 3px; border: 1px solid var(--hv-n300); background: #fff; flex: none; }
.hv-facet .row.on i { background: var(--hv-accent); border-color: var(--hv-accent); box-shadow: inset 0 0 0 2px #fff; }
.hv-facet .row.on { color: var(--hv-accent-d); font-weight: 500; }
.hv-facet .row .n { flex: 1; }
.hv-facet .row .c { color: var(--hv-n500); font-size: 11px; }
.hv-facet .row:hover { color: var(--hv-accent-d); }

/* archive card additions */
/* Le prix de la vignette : barré discret, prix vendu en évidence. */
ul.products li.product .hava-price { padding: 2px 12px 6px; font-size: 15px; font-weight: 700; color: var(--hv-ink); line-height: 1.35; }
ul.products li.product .hava-price del { font-size: 12.5px; font-weight: 500; color: var(--hv-n700); text-decoration: line-through; margin-right: 6px; }
ul.products li.product .hava-price ins { text-decoration: none; color: var(--hv-accent-d); }
ul.products li.product .hava-price .hava-price-tba { font-size: 12.5px; font-weight: 500; color: var(--hv-n700); }
ul.products li.product .hava-price .woocommerce-Price-currencySymbol { font-size: .82em; font-weight: 600; }

/*
 * La pastille « Promo ! » de Storefront annonce une remise sans son montant.
 * Le prix barré à côté du prix vendu la dit mieux, et chiffrée.
 */
ul.products li.product .onsale { display: none; }

.hava-chips-sm { display: flex; gap: 4px; flex-wrap: wrap; padding: 0 12px; margin-bottom: 4px; }
.hava-chips-sm span { font-size: 10.5px; color: var(--hv-n700); background: var(--hv-pale-2); border-radius: 3px; padding: 2px 6px; }
ul.products li.product .hava-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; }
ul.products li.product .hava-foot .st { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--hv-n700); }
ul.products li.product .hava-foot .st i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
ul.products li.product .hava-foot .devis {
  font-size: 11.5px; font-weight: 500; color: var(--hv-accent-d); text-decoration: none;
  border: 1px solid var(--hv-accent-l); border-radius: var(--hv-r-sm); padding: 3px 8px; white-space: nowrap;
}
ul.products li.product .hava-foot .devis:hover { background: var(--hv-accent); border-color: var(--hv-accent); color: #fff; }

/* ══════════════════════════════════════════════ 3b — fiche produit ══════ */
.single-product .hv-p-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.single-product .hv-p-brand .chip {
  background: var(--hv-surface); box-shadow: 0 0 0 1px var(--hv-n200); border-radius: var(--hv-r-sm);
  height: 34px; width: 84px; display: flex; align-items: center; justify-content: center; padding: 6px;
}
.single-product .hv-p-brand img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.single-product .hv-p-brand a { font-size: 12px; color: var(--hv-accent-d); text-decoration: none; }
.single-product .hv-p-title {
  font-size: 34px !important; font-weight: 500; line-height: 1.15; letter-spacing: -.025em;
  color: var(--hv-ink); margin: 0 0 10px !important;
}
.single-product .hv-p-meta { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; font-size: 12.5px; color: var(--hv-n600); margin-bottom: 22px; }
.single-product .hv-p-meta b { color: #3f424d; font-weight: 500; }
.single-product .hv-p-meta i { width: 1px; height: 12px; background: var(--hv-n300); display: inline-block; }
.single-product .hv-p-meta .stock { display: inline-flex; align-items: center; gap: 6px; color: #2f7a55; }
.single-product .hv-p-meta .stock em { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.single-product .hv-p-actions { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-top: 22px; }
.single-product .hv-p-actions .primary {
  padding: 11px 22px; font-size: 13px; font-weight: 500; background: var(--hv-accent);
  color: #fff; border-radius: var(--hv-r-md); text-decoration: none;
}
.single-product .hv-p-actions .primary:hover { background: var(--hv-accent-d); color: #fff; }
.single-product .hv-p-actions .note { font-size: 12px; color: var(--hv-n600); flex-basis: 100%; margin-top: 2px; }

/* ── WhatsApp ──────────────────────────────────────────────────────────────
   Trois emplacements, trois portées strictes. Le vert de la marque WhatsApp
   (#25d366) ne sert qu'au pictogramme : un aplat vert entrerait en concurrence
   avec le navy et le rouge du site. */

.single-product .hv-p-actions .wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; font-size: 13px; font-weight: 500;
  color: var(--hv-ink); background: #fff;
  border: 1px solid var(--hv-line); border-radius: var(--hv-r-md);
  text-decoration: none; transition: border-color .15s, background .15s;
}
.single-product .hv-p-actions .wa .ico { color: #25d366; flex: none; }
.single-product .hv-p-actions .wa:hover { background: #f4fbf6; border-color: #25d366; color: var(--hv-ink); }

ul.products li.product .hava-foot .wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: auto; flex: none;
  color: #25d366; border: 1px solid var(--hv-line); border-radius: 50%;
  text-decoration: none; transition: background .15s, border-color .15s;
}
ul.products li.product .hava-foot .wa:hover { background: #f4fbf6; border-color: #25d366; }
ul.products li.product .hava-foot .devis { margin-left: 8px; }

.hv-wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 45;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 62, 32, .28);
  transition: transform .15s, box-shadow .15s;
}
.hv-wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16, 62, 32, .34); }
.hv-wa-float:focus-visible { outline: 2px solid var(--hv-ink); outline-offset: 3px; }
@media (max-width: 520px) {
  /* Plus petite et remontée : elle ne doit pas masquer le bas de page ni les actions. */
  .hv-wa-float { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-wa-float, .hv-wa-float:hover { transition: none; transform: none; }
}

/* "Se pose avec" */
.hv-related { background: var(--hv-section); padding: 44px 0 48px; margin-top: 44px; }
.hv-related .hv-sec-head h2 { color: var(--hv-n100); font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.hv-related .hv-sec-head .note { font-size: 12.5px; color: var(--hv-n400); }
.hv-rel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 11px; }
@media (max-width: 900px) { .hv-rel-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .hv-rel-grid { grid-template-columns: repeat(2, 1fr); } }
.hv-rel-grid a { background: var(--hv-surface); border-radius: var(--hv-r-md); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.hv-rel-grid .ph { background: var(--hv-pale-2); height: 120px; display: flex; align-items: center; justify-content: center; padding: 14px; }
.hv-rel-grid .ph img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.hv-rel-grid .bd { padding: 11px; display: block; }
.hv-rel-grid .br { display: block; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hv-accent-d); }
.hv-rel-grid .nm { display: block; font-size: 12.5px; font-weight: 500; color: var(--hv-ink); margin-top: 3px; line-height: 1.35; }

/* archive: our pale band carries the title and breadcrumb; hide Storefront's */
.woocommerce-products-header { display: none; }
.tax-product_cat .woocommerce-breadcrumb:not(.hv-crumb),
.post-type-archive-product .woocommerce-breadcrumb:not(.hv-crumb) { display: none; }
/* facet rail on the left, as drawn */
.tax-product_cat #primary, .post-type-archive-product #primary,
.tax-pa_marque #primary { float: right; }
.tax-product_cat .hv-facets, .post-type-archive-product .hv-facets { float: left; }

/* the pale band spans the full width above both columns */
.tax-product_cat .hv-pale, .post-type-archive-product .hv-pale, .tax-pa_marque .hv-pale {
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-bottom: 30px;
}
/* the facet rail needs a width, or its rules run under the grid */
.tax-product_cat .hv-facets, .post-type-archive-product .hv-facets {
  width: 236px; padding: 0; margin: 0;
}
.tax-product_cat #primary, .post-type-archive-product #primary, .tax-pa_marque #primary {
  width: calc(100% - 272px); margin: 0;
}
@media (max-width: 900px) {
  .tax-product_cat .hv-facets, .post-type-archive-product .hv-facets,
  .tax-product_cat #primary, .post-type-archive-product #primary,
  .tax-pa_marque #primary { width: 100%; float: none; }
}
.hv-facets { width: 236px; max-width: 100%; }
/* archives open on the pale band, as on the homepage */
/* body:not(.home) .site-content plus haut vaut (0,2,1) : il faut au moins autant ici,
   sinon la règle est morte et 24 px de blanc restent au-dessus du bandeau. */
body.tax-product_cat .site-content, body.post-type-archive-product .site-content,
body.tax-pa_marque .site-content, body.single-product .site-content { padding-top: 0; }

/* 3b: the fiche is two columns across the full measure, no sidebar */
.single-product #primary { width: 100%; float: none; margin: 0; }
.single-product div.product { display: grid; grid-template-columns: 520px 1fr; gap: 22px; align-items: start; }
@media (max-width: 980px) { .single-product div.product { grid-template-columns: 1fr; } }
.single-product div.product > .woocommerce-product-gallery {
  width: 100% !important; float: none !important; margin: 0 !important;
  height: 440px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--hv-r-lg); box-shadow: 0 0 0 1px var(--hv-n200); background: var(--hv-surface); padding: 40px;
}
.single-product div.product > .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.single-product div.product > .woocommerce-product-gallery .flex-viewport { height: 100%; width: 100%; }
.single-product div.product > .woocommerce-product-gallery img {
  max-height: 360px; width: auto; max-width: 100%; object-fit: contain; margin: 0 auto; mix-blend-mode: multiply;
}
.single-product div.product > .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related, .single-product div.product > .up-sells { grid-column: 1 / -1; }
/* the gallery slider paints neighbouring slides outside the frame */
.single-product .woocommerce-product-gallery, .single-product .flex-viewport { overflow: hidden !important; }
.single-product .site-main { overflow-x: hidden; }
/* place both columns explicitly: DOM order varies with Storefront's hooks */
.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
.single-product div.product > .summary { grid-column: 2; grid-row: 1; }
.single-product div.product > .onsale { display: none; }
/* the gallery slider track paints neighbouring slides beyond the viewport */
body.single-product { overflow-x: hidden; }

/* ══════════════════════════════════════════════ 3c — page marque ════════ */
.hv-brandhead {
  background: var(--hv-section); padding: 48px 0; color: var(--hv-n100);
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.hv-brandhead .grid { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: center; }
@media (max-width: 900px) { .hv-brandhead .grid { grid-template-columns: 1fr; } }
.hv-brandhead .logo {
  background: var(--hv-surface); border-radius: var(--hv-r-md); height: 58px; width: 158px;
  display: flex; align-items: center; justify-content: center; padding: 12px;
}
.hv-brandhead .logo img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.hv-brandhead h1 {
  font-size: 34px !important; font-weight: 500; letter-spacing: -.025em;
  color: var(--hv-n100) !important; margin: 17px 0 0 !important;
}
.hv-brandhead p { font-size: 14px; line-height: 1.65; color: var(--hv-n300); margin: 12px 0 0; max-width: 560px; }
.hv-brandhead .cta { display: flex; gap: 11px; margin-top: 22px; flex-wrap: wrap; }
.hv-brandhead .cta a { padding: 10px 20px; font-size: 13px; font-weight: 500; border-radius: var(--hv-r-md); text-decoration: none; }
.hv-brandhead .cta .primary { background: var(--hv-accent); color: #fff; }
.hv-brandhead .cta .primary:hover { background: var(--hv-accent-d); color: #fff; }
.hv-brandhead .cta .ghost { color: var(--hv-n200); border: 1px solid var(--hv-ghost); }
.hv-brandhead .cta .ghost:hover { border-color: var(--hv-accent); color: #fff; }
.hv-brandhead .stats { display: grid; gap: 11px; }
.hv-brandhead .stats > div { border-top: 1px solid var(--hv-ghost); padding-top: 9px; }
.hv-brandhead .stats .n { display: block; font-size: 26px; font-weight: 500; color: var(--hv-n100); line-height: 1; }
.hv-brandhead .stats .l { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-n400); margin-top: 6px; }

.hv-gammes { padding: 44px 0 20px; }
.hv-gammes h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--hv-ink); margin: 0 0 17px; }
.hv-gammes .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
@media (max-width: 900px) { .hv-gammes .grid { grid-template-columns: repeat(2, 1fr); } }
.hv-gammes .grid a { background: var(--hv-surface); border-radius: var(--hv-r-md); box-shadow: 0 0 0 1px var(--hv-n200); overflow: hidden; display: block; text-decoration: none; }
.hv-gammes .grid a:hover { box-shadow: 0 0 0 1px var(--hv-accent-l), 0 6px 18px rgba(22,24,38,.08); }
.hv-gammes .ph { background: var(--hv-pale-2); height: 148px; display: flex; align-items: center; justify-content: center; padding: 18px; border-bottom: 1px solid var(--hv-n200); }
.hv-gammes .ph img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; width: auto; }
.hv-gammes .bd { display: block; padding: 11px 17px 17px; }
.hv-gammes .bd .n { display: block; font-size: 16px; font-weight: 500; color: var(--hv-ink); }
.hv-gammes .bd .c { display: block; font-size: 12px; color: var(--hv-n600); margin-top: 4px; }

.hv-otherbrands {
  background: var(--hv-surface); padding: 44px 0 48px; margin-top: 34px;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
.hv-otherbrands .hv-wrap { max-width: 1280px; }
.hv-otherbrands .hv-sec-head h2 { font-size: 20px; }

/* the brand archive keeps its product grid, but full width under the header */
.tax-pa_marque #primary { width: 100%; float: none; }
/* No #secondary rule here on purpose: the rail is an <aside class="hv-facets"> that is
   never wrapped in #secondary, so hiding #secondary hid nothing and the rail escaped to
   the foot of the page. It is now simply not rendered — see inc/pages.php. */

/* Storefront pads its breadcrumb wrapper for a normal page; before a full-bleed indigo
   band that reads as 75 px of dead space. */
.tax-pa_marque .storefront-breadcrumb { margin-bottom: 0; padding-bottom: 0; }
/* keep the brand page's bands on one measure */
.tax-pa_marque .site-content .col-full { max-width: none; padding: 0; }
.hv-gammes { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.tax-pa_marque ul.products, .tax-pa_marque .woocommerce-pagination,
.tax-pa_marque .woocommerce-ordering, .tax-pa_marque .woocommerce-result-count {
  max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px;
}
.tax-pa_marque ul.products { padding-bottom: 40px; }

/* ══════════════════════════════════════════════ 3d — panier de devis ════ */
.hv-ok, .hv-err { border-radius: var(--hv-r-md); padding: 14px 16px; margin-bottom: 18px; font-size: 13.5px; }
.hv-ok { background: #eaf4ea; border: 1px solid #bcdcbc; border-left: 3px solid #2f7a55; color: #2b5c2b; }
.hv-err { background: #fff5f5; border: 1px solid #f3c9c9; border-left: 3px solid var(--hv-accent); color: var(--hv-accent-d); }

.hv-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.hv-steps span {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500;
  color: var(--hv-n600); background: var(--hv-pale-2); border-radius: var(--hv-r-md); padding: 7px 14px;
}
.hv-steps span i { font-style: normal; font-size: 11px; opacity: .7; }
.hv-steps .on { color: var(--hv-accent-d); background: #fff; box-shadow: 0 0 0 1px var(--hv-accent-l); }

.hv-devis-grid { display: grid; grid-template-columns: 1fr 356px; gap: 22px; align-items: start; }
@media (max-width: 1140px) { .hv-devis-grid { grid-template-columns: 1fr; } }

.hv-basket { background: var(--hv-surface); border-radius: var(--hv-r-lg); box-shadow: 0 0 0 1px var(--hv-n200); overflow: hidden; }
.hv-basket .head, .hv-basket .hv-line {
  display: grid; grid-template-columns: 130px 150px 1fr 84px 34px; gap: 11px; align-items: center;
}
.hv-basket .head {
  padding: 11px 17px; border-bottom: 1px solid var(--hv-n200);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-n600);
}
.hv-basket .hv-line { padding: 11px 17px; border-bottom: 1px solid var(--hv-pale-2); }
.hv-basket .prod { display: grid; gap: 6px; }
.hv-basket select, .hv-basket input[type=number], .hv-basket input[type=text] {
  width: 100%; background: #f7f8fe; border: 1px solid var(--hv-n300); border-radius: var(--hv-r-md);
  padding: 8px 10px; font-size: 12.5px; color: var(--hv-ink); font-family: inherit;
}
.hv-basket .l-variante { background: #fffafa; border-color: var(--hv-accent-l); }
.hv-basket .del {
  border: 1px solid var(--hv-n200); background: #fff; color: var(--hv-n500); cursor: pointer;
  border-radius: var(--hv-r-sm); height: 30px; font-size: 15px; line-height: 1;
}
.hv-basket .del:hover { border-color: var(--hv-accent); color: var(--hv-accent); background: #fff5f5; }
.hv-basket .hv-line.free { grid-template-columns: 96px 1fr 200px 84px 34px; background: #fcfcff; }
.hv-basket .hv-line.free .tag {
  font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--hv-accent); border-radius: 3px; padding: 3px 7px; justify-self: start;
}
.hv-basket .hv-line.free .des { font-size: 13px; font-weight: 500; color: var(--hv-ink); }
.hv-basket .hv-line.free .spec { font-size: 12px; color: var(--hv-n700); }
.hv-basket .addline {
  margin: 14px 17px; background: none; border: 1px dashed #c3c9d1; color: var(--hv-n700);
  border-radius: var(--hv-r-md); padding: 8px 14px; font-size: 12.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.hv-basket .addline:hover { border-color: var(--hv-accent); color: var(--hv-accent-d); }
.hv-basket .freebox { padding: 17px; background: #f7f8fe; border-top: 1px solid var(--hv-n200); }
.hv-basket .freebox .h {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hv-n600); margin: 0 0 10px;
}
.hv-basket .freegrid { display: grid; grid-template-columns: 1fr 140px 140px 96px; gap: 8px; }
@media (max-width: 720px) { .hv-basket .freegrid { grid-template-columns: 1fr 1fr; } }
.hv-basket .freegrid input { background: var(--hv-surface); }
.hv-basket .freeact { display: flex; align-items: center; gap: 11px; margin-top: 11px; flex-wrap: wrap; }
.hv-basket .addfree {
  font-size: 12.5px; font-weight: 500; color: var(--hv-accent-d); background: none;
  border: 1px solid var(--hv-accent-l); border-radius: var(--hv-r-md); padding: 7px 14px; cursor: pointer; font-family: inherit;
}
.hv-basket .addfree:hover { background: var(--hv-accent); border-color: var(--hv-accent); color: #fff; }
.hv-basket .freeact .hint { font-size: 12px; color: var(--hv-n600); }

.hv-aside { display: grid; gap: 17px; }
.hv-aside .card { background: var(--hv-surface); border-radius: var(--hv-r-lg); box-shadow: 0 0 0 1px var(--hv-n200); padding: 17px; }
.hv-aside .card .h {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hv-ink); padding-bottom: 10px; border-bottom: 2px solid var(--hv-accent); margin: 0;
}
.hv-aside .sum { display: grid; grid-template-columns: 1fr auto; gap: 8px 11px; margin: 17px 0; font-size: 13px; }
.hv-aside .sum span { color: var(--hv-n600); }
.hv-aside .sum b { color: var(--hv-ink); font-weight: 500; text-align: right; }
.hv-aside .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--hv-n200); padding-top: 17px; }
.hv-aside .fields label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--hv-n600); }
.hv-aside .fields label.wide { grid-column: 1 / -1; }
.hv-aside .fields input, .hv-aside .fields select, .hv-aside .fields textarea {
  width: 100%; margin-top: 4px; background: #f7f8fe; border: 1px solid var(--hv-n300);
  border-radius: var(--hv-r-md); padding: 8px 10px; font-size: 12.5px; color: var(--hv-ink);
  font-family: inherit; font-weight: 400; text-transform: none; letter-spacing: 0;
}
.hv-aside .fields textarea { min-height: 68px; resize: vertical; }
.hv-aside .send {
  width: 100%; margin-top: 17px; padding: 11px 20px; font-size: 13px; font-weight: 500;
  background: var(--hv-accent); color: #fff; border: 0; border-radius: var(--hv-r-md); cursor: pointer; font-family: inherit;
}
.hv-aside .send:hover { background: var(--hv-accent-d); }
.hv-aside .note { font-size: 11.5px; color: var(--hv-n600); margin: 12px 0 0; text-align: center; }
.hv-aside .contact { background: var(--hv-section); box-shadow: none; }
.hv-aside .contact .h { color: var(--hv-accent-l); border-bottom-color: var(--hv-ghost); }
.hv-aside .contact .who { font-size: 17px; font-weight: 500; color: var(--hv-n100); margin: 10px 0 0; }
.hv-aside .contact .det { font-size: 12.5px; line-height: 1.85; color: var(--hv-n300); margin: 6px 0 0; }
.hv-aside .contact .det a { color: var(--hv-n300); text-decoration: none; }
.hv-aside .contact .det a:hover { color: #fff; }
/* the quote page form — distinct from .hv-devis, the header basket button */
.hv-devispage { display: block; background: none; padding: 0; margin: 0; }
body.hv-wide .content-area,
body.hv-wide #primary { width: 100%; float: none; margin-right: 0; }
body.hv-wide .hv-facets { display: none; }

/* ══════════════════════════════════════════════════ 3e — compte pro ══════ */

.hv-proband {
  background: var(--hv-section); border-radius: var(--hv-r-lg);
  padding: 34px 30px; margin-bottom: 26px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; flex-wrap: wrap;
}
.hv-proband .badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--hv-accent); border-radius: var(--hv-r-sm); padding: 4px 9px;
}
.hv-proband .badge.wait { background: #8a6100; }
.hv-proband h2 {
  font-weight: 500; font-size: 30px; letter-spacing: -.02em;
  color: var(--hv-n100); margin: 14px 0 0;
}
.hv-proband p { font-size: 13px; color: var(--hv-n300); margin: 8px 0 0; max-width: 620px; line-height: 1.6; }
.hv-proband .stats { display: flex; gap: 34px; }
.hv-proband .stats b { display: block; font-size: 28px; font-weight: 500; color: var(--hv-n100); line-height: 1; }
.hv-proband .stats span {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--hv-n300); margin-top: 6px;
}

.hv-prowrap { display: grid; grid-template-columns: 1fr 336px; gap: 30px; align-items: start; }
.hv-promain { display: grid; gap: 30px; }
@media (max-width: 1140px) { .hv-prowrap { grid-template-columns: 1fr; } }

.hv-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 17px; margin-bottom: 14px; }
.hv-sechead h3 { font-weight: 500; font-size: 20px; letter-spacing: -.02em; color: var(--hv-ink); margin: 0; }
.hv-sechead a { font-size: 12.5px; color: var(--hv-accent-d); text-decoration: none; }
.hv-sechead .note { font-size: 12.5px; color: var(--hv-n600); }

.hv-quotes { background: var(--hv-surface); border-radius: var(--hv-r-lg); box-shadow: 0 0 0 1px var(--hv-n200); overflow: hidden; }
.hv-quotes .head, .hv-quotes .row {
  display: grid; grid-template-columns: 88px 1fr 78px 118px 104px; gap: 12px; align-items: center;
}
.hv-quotes .head {
  padding: 11px 20px; border-bottom: 1px solid var(--hv-n200);
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-n600);
}
.hv-quotes .row { padding: 12px 20px; border-bottom: 1px solid var(--hv-pale-2); font-size: 13px; }
.hv-quotes .row:last-child { border-bottom: 0; }
.hv-quotes .id { color: var(--hv-n800); font-weight: 500; }
.hv-quotes .obj { color: var(--hv-ink); }
.hv-quotes .nl { color: var(--hv-n700); }
.hv-quotes .mt { color: var(--hv-ink); font-weight: 500; }
.hv-quotes .mt em { color: var(--hv-n600); font-weight: 400; font-size: 12px; }
.hv-quotes .st {
  font-size: 11px; font-weight: 500; border-radius: var(--hv-r-sm);
  padding: 3px 8px; justify-self: start;
}
@media (max-width: 720px) {
  .hv-quotes .head { display: none; }
  .hv-quotes .row { grid-template-columns: 1fr auto; row-gap: 4px; }
}

.hv-reorder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .hv-reorder { grid-template-columns: repeat(2, 1fr); } }
.hv-reorder .card {
  background: var(--hv-surface); border-radius: var(--hv-r-md); box-shadow: 0 0 0 1px var(--hv-n200);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
}
.hv-reorder .card:hover { box-shadow: 0 0 0 1px var(--hv-accent-l), 0 6px 18px rgba(22,24,38,.08); }
.hv-reorder .ph {
  background: var(--hv-pale-2); height: 122px; display: flex; align-items: center; justify-content: center;
  padding: 14px; border-bottom: 1px solid var(--hv-n200);
}
.hv-reorder .ph img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.hv-reorder .bd { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hv-reorder .mk { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hv-accent-d); }
.hv-reorder .nm { font-size: 12.5px; font-weight: 500; color: var(--hv-ink); line-height: 1.35; }
.hv-reorder .pr { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.hv-reorder .pr b { font-size: 16px; font-weight: 500; color: var(--hv-ink); }
.hv-reorder .pr b.q { font-size: 13px; color: var(--hv-n700); }
.hv-reorder .pr s { font-size: 11px; color: var(--hv-n500); }
.hv-reorder .lc { font-size: 11px; color: var(--hv-n600); }
.hv-reorder .re { margin-top: auto; padding-top: 10px; font-size: 11.5px; font-weight: 500; color: var(--hv-accent-d); }

.hv-proaside { display: grid; gap: 17px; }
.hv-progrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 17px; align-items: start; }
.hv-procard { background: var(--hv-surface); border-radius: var(--hv-r-lg); box-shadow: 0 0 0 1px var(--hv-n200); padding: 20px; }
.hv-procard .h {
  font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--hv-ink); padding-bottom: 10px; border-bottom: 2px solid var(--hv-accent); margin: 0 0 14px;
}
.hv-procard .lead { font-size: 12.5px; line-height: 1.65; color: var(--hv-n700); margin: 0 0 14px; }
.hv-procard textarea {
  width: 100%; background: var(--hv-pale-3); border: 1px solid var(--hv-n300);
  border-radius: var(--hv-r-md); padding: 11px; font-size: 12px; line-height: 1.9;
  color: var(--hv-ink); font-family: inherit; resize: vertical;
}
.hv-procard.empty { text-align: left; }
.hv-procard.contact { background: var(--hv-section); box-shadow: none; }
.hv-procard.contact .h { color: var(--hv-accent-l); border-bottom-color: var(--hv-ghost); }
.hv-procard.contact .who { font-size: 17px; font-weight: 500; color: var(--hv-n100); margin: 0; }
.hv-procard.contact .det { font-size: 12.5px; line-height: 1.85; color: var(--hv-n300); margin: 6px 0 0; }
.hv-procard.contact .det a { color: var(--hv-n300); text-decoration: none; }
.hv-procard.contact .det a:hover { color: #fff; }

.hv-btn {
  display: inline-block; text-align: center; padding: 10px 18px; font-size: 12.5px; font-weight: 500;
  background: var(--hv-accent); color: #fff; border: 0; border-radius: var(--hv-r-md);
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.hv-btn:hover { background: var(--hv-accent-d); color: #fff; }
.hv-btn.ghost {
  width: 100%; margin-top: 11px; background: none; color: var(--hv-accent-d);
  border: 1px solid var(--hv-accent-l);
}
.hv-btn.ghost:hover { background: var(--hv-accent); border-color: var(--hv-accent); color: #fff; }

.hv-docs { display: grid; }
.hv-docs a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid var(--hv-pale-2);
  font-size: 12.5px; color: var(--hv-n800); text-decoration: none;
}
.hv-docs a:last-child { border-bottom: 0; }
.hv-docs a:hover { color: var(--hv-accent-d); }
.hv-docs a span { font-size: 11px; color: var(--hv-n500); white-space: nowrap; }

/* The wide pages match .hv-wrap rather than Storefront's narrower column. */
/* Limité à .site-content : sans ça la règle frappait aussi .site-header .col-full,
   et la barre de navigation des pages larges était contrainte à 1280 px avec 32 px
   de marge, alors quelle occupe toute la largeur partout ailleurs. */
body.hv-wide .site-content .col-full { max-width: 1280px; padding-left: 32px; padding-right: 32px; }
@media (max-width: 720px) { body.hv-wide .site-content .col-full { padding-left: 18px; padding-right: 18px; } }

/* The indigo band carries the account name, so Storefront's page title is a
   second, weaker heading saying the same thing. */
body.hv-compte .entry-header,
body.hv-compte .page-title { display: none; }

/* Storefront underlines every link inside .entry-content; our components carry
   their own affordances, so opt the hv- namespace out at a higher specificity. */
.hentry .entry-content [class^="hv-"] a,
.hentry .entry-content [class*=" hv-"] a,
.hentry .entry-content a[class^="hv-"],
.hentry .entry-content a[class*=" hv-"] { text-decoration: none; }
.hentry .entry-content [class^="hv-"] a:hover,
.hentry .entry-content [class*=" hv-"] a:hover { text-decoration: none; }

/* Below the tablet fold the basket line stacks rather than overflowing. */
@media (max-width: 680px) {
  .hv-basket .head { display: none; }
  .hv-basket .hv-line,
  .hv-basket .hv-line.free { grid-template-columns: 1fr 84px 34px; row-gap: 8px; }
  .hv-basket .hv-line > select,
  .hv-basket .hv-line > .prod { grid-column: 1 / -1; }
  .hv-basket .hv-line.free .tag { grid-column: 1 / -1; }
  .hv-basket .hv-line.free .des,
  .hv-basket .hv-line.free .spec { grid-column: 1 / -1; }
}

/* WooCommerce's login form, brought into the system rather than restyled from
   scratch — the markup is WooCommerce's and has to keep working. */
.hv-procard .woocommerce-form-login { border: 0; padding: 0; margin: 0; }
.hv-procard .woocommerce-form-row { margin-bottom: 14px; }
.hv-procard .woocommerce-form-login label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--hv-n600); margin-bottom: 4px;
}
.hv-procard .woocommerce-form-login label.woocommerce-form-login__rememberme {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--hv-n700); margin: 0 0 14px;
}
.hv-procard .woocommerce-form-login input.input-text,
.hv-procard .woocommerce-form-login input[type=password] {
  width: 100%; background: var(--hv-pale-3); border: 1px solid var(--hv-n300);
  border-radius: var(--hv-r-md); padding: 9px 11px; font-size: 12.5px;
  color: var(--hv-ink); font-family: inherit; box-shadow: none;
}
.hv-procard .woocommerce-form-login input.input-text:focus {
  border-color: var(--hv-accent); outline: 0;
}
.hv-procard .woocommerce-form-login button[name="login"],
.hv-procard .woocommerce-form-login button.woocommerce-form-login__submit {
  padding: 10px 18px; font-size: 12.5px; font-weight: 500;
  background: var(--hv-accent); color: #fff; border: 0;
  border-radius: var(--hv-r-md); cursor: pointer; font-family: inherit;
}
.hv-procard .woocommerce-form-login button[name="login"]:hover { background: var(--hv-accent-d); }
.hv-procard .woocommerce-LostPassword { margin: 12px 0 0; font-size: 12px; }
.hv-procard .woocommerce-LostPassword a { color: var(--hv-n600); }
.hv-procard .woocommerce-LostPassword a:hover { color: var(--hv-accent-d); }
.hv-procard .required { color: var(--hv-accent); border: 0; }
.hv-procard .woocommerce-LostPassword a { font-size: 12px; font-weight: 400; }

/* ── nomenclature upload (3d) ──────────────────────────────────────────
   The design puts it inline beside "+ Ajouter la ligne": a customer who
   already has a bill of materials should not have to retype it as lines. */
.hv-drop {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--hv-n600);
  background: var(--hv-surface); border: 1px dashed #c3c9d1;
  border-radius: var(--hv-r-md); padding: 7px 14px; cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.hv-drop input[type=file] {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hv-drop svg { fill: currentColor; flex: 0 0 auto; }
.hv-drop .txt em { font-style: normal; color: var(--hv-n500); }
.hv-drop:hover { border-color: var(--hv-accent); color: var(--hv-accent-d); }
.hv-drop.over { border-color: var(--hv-accent); border-style: solid; background: #fff5f5; color: var(--hv-accent-d); }
.hv-drop.has { border-style: solid; border-color: var(--hv-n300); color: var(--hv-n700); }
.hv-drop.bad { border-color: var(--hv-accent); border-style: solid; background: #fff5f5; color: var(--hv-accent-d); }
.hv-drop input[type=file]:focus-visible + svg { outline: 2px solid var(--hv-accent); outline-offset: 3px; }

.hv-drop-file {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--hv-pale-2); border-radius: var(--hv-r-md);
  padding: 6px 8px 6px 12px; font-size: 12.5px; color: var(--hv-ink);
}
.hv-drop-file[hidden] { display: none; }
.hv-drop-file .nm { font-weight: 500; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-drop-file .sz { color: var(--hv-n600); font-size: 11.5px; }
.hv-drop-file .rm {
  border: 0; background: none; color: var(--hv-n600); cursor: pointer;
  font-size: 15px; line-height: 1; padding: 0 4px; font-family: inherit;
}
.hv-drop-file .rm:hover { color: var(--hv-accent); }

/* the hint moved out of .freeact when the drop zone took its place */
.hv-basket .freebox > .hint {
  display: block; font-size: 12px; color: var(--hv-n600); margin: 10px 0 0;
}
.hv-ttc { font-size: .68em; font-weight: 500; letter-spacing: .06em; color: var(--hv-n500); }

/* ── 3a : la barre d’outils au-dessus de la grille ─────────────────────
   La maquette dessine « 41 références sur 85 » à gauche et « Trier :
   Pertinence ▾ » à droite. Storefront fournit le conteneur, WooCommerce le
   select — on ne remplace ni l’un ni l’autre, on les habille : le select
   reste un vrai <select>, donc il fonctionne au clavier et sans JavaScript. */
.storefront-sorting {
  display: flex; align-items: center; justify-content: space-between;
  gap: 17px; flex-wrap: wrap; margin: 0 0 22px;
}
.storefront-sorting .woocommerce-result-count {
  order: -1;                                    /* le décompte passe à gauche */
  margin: 0; font-size: 13.5px; color: var(--hv-n700);
}
.storefront-sorting .woocommerce-result-count strong { color: var(--hv-ink); font-weight: 600; }

.woocommerce-ordering { margin: 0; display: inline-flex; align-items: baseline; gap: 6px; }
.woocommerce-ordering::before {
  content: "Trier\00a0:"; font-size: 12.5px; color: var(--hv-n600); white-space: nowrap;
}
.woocommerce-ordering select.orderby {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  border: 0; background: transparent; box-shadow: none; outline: 0;
  font-family: inherit; font-size: 12.5px; font-weight: 500; line-height: 1.4;
  color: var(--hv-n800); cursor: pointer;
  padding: 2px 15px 2px 0; margin: 0; width: auto; max-width: none; height: auto;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath fill='%2375798c' d='M.6.6 4.5 4.5 8.4.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 9px 6px;
}
.woocommerce-ordering select.orderby:hover { color: var(--hv-accent-d); }
.woocommerce-ordering select.orderby:focus-visible {
  outline: 2px solid var(--hv-accent); outline-offset: 3px; border-radius: 2px;
}
/* la liste déroulante native, elle, reste lisible sur fond clair */
.woocommerce-ordering select.orderby option { color: var(--hv-ink); background: #fff; font-weight: 400; }

@media (max-width: 600px) {
  .storefront-sorting { gap: 8px; }
  .storefront-sorting .woocommerce-result-count { font-size: 12.5px; }
}

/* Sur mobile les bandes passent à 18 px (voir .hv-wrap) ; la grille de la page marque
   gardait 32 px et se retrouvait décalée de 14 px par rapport à tout le reste. */
@media (max-width: 720px) {
  .tax-pa_marque ul.products,
  .tax-pa_marque .woocommerce-pagination { padding-left: 18px; padding-right: 18px; }
}



/* ── le dépliant « Filtrer » (mobile) ──────────────────────────────────
   Au-dessus de 900 px le rail est une colonne : le résumé disparaît et le
   <details> reste ouvert. En dessous, il devient un bouton. */
.hv-facetbox { display: block; }
.hv-facetbox > summary { display: none; }               /* desktop : pas de bouton */
.hv-facetbox > summary::-webkit-details-marker { display: none; }
.hv-facetbox > summary::marker { content: ""; }

@media (max-width: 900px) {
  .hv-facetbox { margin-bottom: 22px; }
  .hv-facetbox > summary {
    display: flex; align-items: center; gap: 9px; cursor: pointer;
    background: var(--hv-surface); border: 1px solid var(--hv-n300);
    border-radius: var(--hv-r-md); padding: 11px 14px;
    font-size: 13px; font-weight: 500; color: var(--hv-ink);
    list-style: none; user-select: none;
  }
  .hv-facetbox > summary:hover { border-color: var(--hv-accent); color: var(--hv-accent-d); }
  .hv-facetbox > summary:focus-visible { outline: 2px solid var(--hv-accent); outline-offset: 2px; }
  .hv-facetbox > summary svg { fill: currentColor; flex: 0 0 auto; }
  .hv-facetbox > summary .lbl { flex: 1; text-align: left; }
  /* le nombre de filtres actifs, pour qu'un rail replié ne cache pas un tri en cours */
  .hv-facetbox > summary .n {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--hv-accent); color: #fff;
    font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
  }
  .hv-facetbox > summary .chev { transition: transform .15s; stroke: var(--hv-n600); }
  .hv-facetbox[open] > summary .chev { transform: rotate(180deg); }
  .hv-facetbox[open] > summary { border-color: var(--hv-accent-l); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .hv-facetbox[open] .hv-facets {
    border: 1px solid var(--hv-accent-l); border-top: 0;
    border-radius: 0 0 var(--hv-r-md) var(--hv-r-md);
    padding: 4px 14px 8px; background: var(--hv-surface);
    max-height: 60vh; overflow-y: auto;
  }
}

/* ══════════════════════ la carte produit rejoint le système 2a ══════════
   style.css l'habillait encore avec l'ancienne rampe --hava-* : coins à 3 px,
   bordure grise, plateau gris. À côté d'une carte « gamme » à 8 px avec anneau
   bleuté et plateau lavande, les deux lisaient comme deux composants étrangers.
   hv.css passe désormais après style.css, donc ces règles gagnent sans !important. */
ul.products li.product {
  background: var(--hv-surface);
  border: 0;
  border-radius: var(--hv-r-md);
  box-shadow: 0 0 0 1px var(--hv-n200);
  overflow: hidden;
}
ul.products li.product:hover {
  box-shadow: 0 0 0 1px var(--hv-n300), 0 6px 18px rgba(22, 24, 38, .09);
}
ul.products li.product .hava-thumb {
  background: var(--hv-pale-2);
  border-bottom: 1px solid var(--hv-n200);
}
ul.products li.product .hava-brand { color: var(--hv-accent-d); }
ul.products li.product .woocommerce-loop-product__title { color: var(--hv-ink); }

/* ── l'en-tête de section, hors de la page d'accueil ────────────────────
   Les règles vivaient sous .hv-home ; « Les 19 autres marques » et les autres
   bandes hors accueil se retrouvaient donc sans style. */
.hv-sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 17px; flex-wrap: wrap; margin: 0 0 var(--hv-r-lg);
}
.hv-sec-head h2 {
  font-size: 22px; font-weight: 500; letter-spacing: -.02em;
  color: var(--hv-ink); margin: 0;
}
.hv-sec-head h2 span { color: var(--hv-n600); font-weight: 400; }
.hv-sec-head a { font-size: 12.5px; color: var(--hv-accent-d); text-decoration: none; }
.hv-sec-head a:hover { text-decoration: underline; }
.hv-sec-head .note { font-size: 12.5px; color: var(--hv-n600); }

/* ── le fil d'Ariane s'alignait sur la mesure de Storefront ──────────────
   110 px plus à droite que le logo, le titre et les cartes, parce que la page
   marque neutralise .col-full dans .site-content mais pas celui du fil. */
.tax-pa_marque .storefront-breadcrumb .col-full {
  max-width: 1280px; padding-left: 32px; padding-right: 32px;
}
@media (max-width: 720px) {
  .tax-pa_marque .storefront-breadcrumb .col-full { padding-left: 18px; padding-right: 18px; }
}

/* ── « Les gammes » : une marque à une famille laissait 76 % de vide ─────
   auto-fit borné, pour qu'une carte reste à sa largeur naturelle et que
   quatre familles remplissent toujours la rangée. */
.hv-gammes .grid {
  grid-template-columns: repeat(auto-fit, minmax(236px, 296px));
  justify-content: start;
}

/* ── la grille produit avait 20 px et aucun titre sous les gammes ──────── */
.tax-pa_marque .hv-loophead { margin: 44px 0 0; }
.tax-pa_marque ul.products { margin-top: 14px; }

/* ── pied de page : le lien de Storefront était illisible sur le navy ──── */
.site-footer, .site-footer a { color: var(--hv-n300); }
.site-footer a:hover { color: #fff; }
.site-footer .site-info a { text-decoration: underline; }
.tax-pa_marque .hv-loophead {
  max-width: 1280px; margin-left: auto; margin-right: auto;
  padding-left: 32px; padding-right: 32px;
}
@media (max-width: 720px) {
  .tax-pa_marque .hv-loophead { padding-left: 18px; padding-right: 18px; }
}

/* ── la bande pâle sur les pages à shortcode (devis, compte pro) ─────────
   Le catalogue et les pages marque ouvrent sur cette bande ; les pages
   « larges » n'en avaient pas et s'ouvraient sur un titre nu précédé d'un
   vide. On la sort de la colonne de contenu pour qu'elle fasse toute la
   largeur, comme ailleurs. */
.hv-pale-page {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 30px;
  padding: 30px 0 26px;
}
.hv-pale-page h1 {
  font-size: 30px; font-weight: 500; letter-spacing: -.02em;
  color: var(--hv-ink); margin: 0;
}
.hv-pale-page .hv-steps { margin: 17px 0 0; }

/* Storefront imprime déjà le titre au-dessus : la bande le reprend, on retire
   le doublon — et l'espacement mort qui l'accompagnait. */
body.hv-devis-page .entry-header,
body.hv-devis-page .page-title { display: none; }
body.hv-devis-page .site-content,
body.hv-compte .site-content { padding-top: 0; }
body.hv-devis-page .storefront-breadcrumb,
body.hv-compte .storefront-breadcrumb { margin-bottom: 0; padding-bottom: 0; }
/* le fil d'Ariane de Storefront est repris dans la bande : on masque l'original */
/* seule la page devis reprend le fil dAriane dans sa bande ; le compte pro garde
   celui de Storefront, faute de remplacement. */
body.hv-devis-page .woocommerce-breadcrumb:not(.hv-crumb) { display: none; }
body.hv-devis-page .storefront-breadcrumb:not(:has(.hv-crumb)) { display: none; }

/* Le conteneur du fil d'Ariane de Storefront garde son espacement même quand son
   contenu est masqué : c'est lui qui creusait ~98 px au-dessus de la bande pâle du
   catalogue. Même traitement que sur les pages marque, pour que toutes les pages
   ouvrent sur leur bande, collées sous l'en-tête. */
body.post-type-archive-product .storefront-breadcrumb,
body.tax-product_cat .storefront-breadcrumb {
  margin-bottom: 0; padding-bottom: 0; padding-top: 0;
}
body.post-type-archive-product .storefront-breadcrumb:not(:has(.hv-crumb)),
body.tax-product_cat .storefront-breadcrumb:not(:has(.hv-crumb)) { display: none; }
