/*
Theme Name: Silver Head
Theme URI: https://silverhead.example
Author: Silver Head — Paris London
Author URI: https://silverhead.example
Description: Thème WooCommerce épuré pour Silver Head — Paris London. Soins capillaires pour cheveux gris, argentés et blonds polaires. Hero avec orchidée blanche animée, polices New Standard + Times New Roman MT, palette noir/argent/blanc.
Version: 2.12.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silver-head
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* ================================================================== */
/*  Design system — Silver Head                                        */
/*  Charte graphique officielle (Identité de la marque) :              */
/*  Noir pur #000000 · Gris argent #b7b7b7 ·                           */
/*  Blanc fantôme #f1f1f1 · Blanc #ffffff                              */
/*  Typographies : New Standard (titres) · Times New Roman MT (corps)  */
/* ================================================================== */

:root {
  /* Palette officielle — ne pas ajouter de teinte hors de ces 4 couleurs */
  --noir-pur: #000000;
  --gris-argent: #b7b7b7;
  --blanc-fantome: #f1f1f1;
  --blanc: #ffffff;
  /* Exception voulue par Mavis (demande explicite) : une touche de crème en
     fond alterné sur certains blocs éditoriaux de la fiche produit. */
  --creme: #f5f0e8;

  --background: var(--blanc);
  --surface: var(--blanc-fantome);
  --surface-2: #e7e7e7; /* gris d'interface dérivé, hairlines/hover uniquement */
  --foreground: var(--noir-pur);
  --ink-soft: #1a1a1a; /* noir dérivé pour les états hover */
  --muted: #6b6b6b; /* gris d'interface dérivé, textes secondaires — assombri pour un contraste AA correct sur fond blanc */
  --line: #e4e4e4; /* gris d'interface dérivé, séparateurs */
  --accent: var(--gris-argent);
  --accent-soft: var(--blanc-fantome);
  --accent-ink: #5f5f5f; /* gris d'interface dérivé */
  --maxw: 1152px;

  /* TODO: remplacer les polices de secours par les fichiers officiels
     (@font-face) dès que Mavis les fournit — New Standard et Times New
     Roman MT ne sont pas des polices web standard. */
  --font-display: "New Standard", "Playfair Display", Georgia, serif;
  --font-body: "Times New Roman MT", "Times New Roman", Times, Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Garantit que l'attribut HTML `hidden` masque toujours l'élément, même si
   un composant (ex. le tiroir panier) lui donne par ailleurs un display
   explicite (flex, grid…) qui annulerait sinon le comportement natif. */
[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.shb-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.shb-section__eyebrow--center {
  text-align: center;
  margin-bottom: 28px;
}

/* ---- Boutons ---- */
.shb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shb-btn--dark {
  background: var(--foreground);
  color: #fff;
}
.shb-btn--dark:hover {
  background: var(--ink-soft);
}
.shb-btn--ghost {
  border-color: var(--accent);
  color: var(--foreground);
}
.shb-btn--ghost:hover {
  background: var(--surface);
}

/* ================================================================== */
/*  Logo                                                               */
/* ================================================================== */
.shb-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.shb-logo__name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.25rem;
}
.shb-logo__tag {
  margin-top: 0.45em;
  font-size: 0.42rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--muted);
  font-family: system-ui, -apple-system, sans-serif; /* logotype "PARIS LONDON" : sans-serif dans le lockup fourni */
}

/* Logo image (Personnaliser → Identité du site) */
.custom-logo-link {
  display: inline-block;
  line-height: 0;
}
.custom-logo {
  max-height: 48px;
  width: auto;
}
.shb-footer .custom-logo {
  max-height: 56px;
}

/* ================================================================== */
/*  Barre d'annonce                                                   */
/* ================================================================== */
.shb-announcement {
  background: var(--noir-pur);
  color: var(--blanc);
  text-align: center;
  padding: 13px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.shb-announcement a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.shb-announcement a:hover .shb-announcement__arrow {
  transform: translateX(3px);
}
.shb-announcement__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* ================================================================== */
/*  En-tête — zone de widgets libres (Apparence → Widgets)             */
/* ================================================================== */
.shb-header-widgets {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.shb-header-widgets__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--muted);
}
.shb-header-widgets__inner .shb-widget {
  margin: 0;
}
.shb-header-widget__title {
  font-weight: 600;
  color: var(--foreground);
  margin-right: 6px;
}

/* ================================================================== */
/*  Header                                                             */
/* ================================================================== */
.shb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid rgba(0,0,0,.08);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.shb-header.is-scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}
.shb-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: var(--shb-header-height,76px);
}
.shb-header .custom-logo-link { justify-self: start; max-width: var(--shb-header-logo-width,170px); }
.shb-header .custom-logo { width: 100%; max-width: var(--shb-header-logo-width,170px); max-height: calc(var(--shb-header-height,76px) - 20px); height: auto; object-fit: contain; }
.shb-header .shb-logo { justify-self: start; }
.shb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px,2.4vw,34px);
  white-space: nowrap;
}
.shb-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: var(--foreground);
}
.shb-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  height: 1px;
  width: 0;
  background: currentColor;
  transition: width .25s ease;
}
.shb-nav a:hover::after, .shb-nav a:focus-visible::after { width: 100%; }
.shb-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}
.shb-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.shb-icon-btn:hover, .shb-icon-btn:focus-visible {
  background: var(--surface);
  border-color: rgba(0,0,0,.10);
  transform: translateY(-1px);
}
.shb-icon-btn svg, .shb-icon-img { width: var(--shb-header-icon-size,20px); height: var(--shb-header-icon-size,20px); }
.shb-icon-btn__count {
  position: absolute;
  top: 1px;
  right: 0;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}
.shb-avatar { border-radius: 50%; display: block; width: 24px; height: 24px; }
.shb-mobile-menu-trigger { display:none; }
.shb-burger { display:none; }
.shb-mobile-nav {
  border-top: 1px solid rgba(0,0,0,.07);
  background: rgba(255,255,255,.98);
  box-shadow: 0 16px 30px rgba(0,0,0,.07);
}
.shb-mobile-nav .shb-container { padding-top: 16px !important; padding-bottom: 20px !important; gap: 2px !important; }
.shb-mobile-nav a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding: 0 4px;
  border-bottom:1px solid rgba(0,0,0,.07);
  font-size:.86rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.shb-mobile-nav a::after { content:'›'; font-size:1.1rem; color:var(--muted); }
.shb-mobile-nav li:last-child a { border-bottom:0; }
.shb-mobile-menu-trigger {
  position:relative;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid rgba(0,0,0,.10);
  border-radius:50%;
  background:transparent;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
}
.shb-mobile-menu-trigger span { width:15px; height:1.5px; background:currentColor; transition:transform .2s ease; }
.shb-mobile-menu-trigger[aria-expanded="true"] span:first-child { transform:translateY(3.25px) rotate(45deg); }
.shb-mobile-menu-trigger[aria-expanded="true"] span:last-child { transform:translateY(-3.25px) rotate(-45deg); }
/* Panneau de recherche (header) */
.shb-search-panel {
  border-bottom: 1px solid var(--line);
  background: var(--blanc);
  padding: 18px 0;
}
.shb-search-panel .search-form {
  max-width: 480px;
}

/* Formulaire de recherche natif WordPress (get_search_form), header + footer */
.search-form {
  display: flex;
  gap: 8px;
}
.search-form .search-field {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  background: var(--blanc);
  color: var(--foreground);
}
.search-form .search-field:focus {
  outline: none;
  border-color: var(--foreground);
}
.search-form .search-submit {
  border: 1px solid var(--foreground);
  background: var(--foreground);
  color: #fff;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.88rem;
  cursor: pointer;
}
.shb-footer .search-form .search-field {
  background: var(--blanc);
}
.shb-footer__search {
  margin: 16px 0;
  max-width: 320px;
}

/* ================================================================== */
/*  Fil d'Ariane (breadcrumbs)                                        */
/* ================================================================== */
.shb-breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.shb-breadcrumbs .shb-container {
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}
.shb-breadcrumbs a {
  color: var(--muted);
}
.shb-breadcrumbs a:hover {
  color: var(--foreground);
}
.shb-breadcrumbs__sep {
  margin: 0 8px;
  color: var(--gris-argent);
}
.shb-breadcrumbs [aria-current="page"] {
  color: var(--foreground);
}

/* ================================================================== */
/*  Bouton retour en haut                                             */
/* ================================================================== */
.shb-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--blanc);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.shb-back-to-top:hover {
  border-color: var(--foreground);
  transform: translateY(-3px);
}
body.shb-drawer-open .shb-back-to-top {
  display: none;
}

/* ================================================================== */
/*  Hero + orchidée                                                    */
/* ================================================================== */
.shb-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff 0%, #fff 55%, var(--surface) 100%);
}
.shb-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 64px 0 96px;
}
.shb-hero__title {
  font-size: clamp(calc(2.6rem * var(--heading-scale, 1)), 6vw, calc(4.4rem * var(--heading-scale, 1)));
  font-weight: 500;
  margin: 20px 0 0;
  text-align: var(--heading-align, left);
}
.shb-hero__title em {
  font-style: italic;
}
.shb-hero__sub {
  margin-top: 22px;
  max-width: 28rem;
  font-size: 1.1rem;
  color: var(--muted);
}
.shb-hero__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shb-orchid {
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
}

/* Hero sans orchidée → une seule colonne */
.shb-hero--no-media .shb-hero__grid {
  grid-template-columns: 1fr;
}

/* ================================================================== */
/*  Hero — bannière vidéo ou image plein écran                        */
/* ================================================================== */
.shb-hero--video,
.shb-hero--image {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  border-bottom: none;
}
.shb-hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.shb-hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}
.shb-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Contrôles de la vidéo de bannière (lecture/pause, son) */
.shb-hero__video-controls {
  position: absolute;
  z-index: 3;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}
.shb-hero__video-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.shb-hero__video-btn:hover {
  border-color: #fff;
}
.shb-video-toggle-play .icon-play,
.shb-video-toggle-sound .icon-unmuted {
  display: none;
}
.shb-video-toggle-play[data-state="paused"] .icon-pause {
  display: none;
}
.shb-video-toggle-play[data-state="paused"] .icon-play {
  display: block;
}
.shb-video-toggle-sound[data-state="unmuted"] .icon-muted {
  display: none;
}
.shb-video-toggle-sound[data-state="unmuted"] .icon-unmuted {
  display: block;
}
.shb-hero--video .shb-hero__grid,
.shb-hero--image .shb-hero__grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  padding: 120px 0 72px;
}
.shb-hero--video .eyebrow,
.shb-hero--image .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}
.shb-hero--video .shb-hero__title,
.shb-hero--image .shb-hero__title {
  color: var(--blanc);
}
.shb-hero--video .shb-hero__sub,
.shb-hero--image .shb-hero__sub {
  color: rgba(255, 255, 255, 0.82);
}
.shb-hero--video .shb-btn--dark,
.shb-hero--image .shb-btn--dark {
  background: var(--blanc);
  color: var(--noir-pur);
}
.shb-hero--video .shb-btn--dark:hover,
.shb-hero--image .shb-btn--dark:hover {
  background: var(--blanc-fantome);
}

/* éclosion des fleurs (la rotation 360° est gérée en SMIL dans le SVG) */
@keyframes shb-bloom {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.shb-orchid .bloom {
  transform-box: fill-box;
  transform-origin: 50% 80%;
  animation: shb-bloom 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .shb-orchid .bloom {
    animation: none;
  }
}

/* ================================================================== */
/*  Bandeau réassurance (livraison / paiement / contact)               */
/* ================================================================== */
.shb-reassurance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--blanc);
}
.shb-reassurance__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  padding: 0;
}
.shb-reassurance__card {
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 32px 16px;
  color: var(--foreground);
  text-decoration: none;
  transition: background 0.2s ease;
}
a.shb-reassurance__card:hover {
  background: var(--surface);
}
.shb-reassurance__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
}
.shb-reassurance__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.shb-reassurance__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ================================================================== */
/*  Vitrine Botox capillaire (comparateur avant/après)                 */
/* ================================================================== */
.shb-botox__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.shb-botox__text h2 {
  font-size: clamp(calc(1.8rem * var(--heading-scale, 1)), 4vw, calc(2.6rem * var(--heading-scale, 1)));
  margin: 10px 0 16px;
  text-align: var(--heading-align, left);
}
.shb-botox__orchid-note {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 0.86rem;
  font-style: italic;
  color: var(--foreground);
}
.shb-botox__list {
  list-style: none;
  margin: 22px 0 30px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.shb-botox__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--foreground);
}
.shb-botox__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.shb-botox__compare {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  user-select: none;
}
.shb-botox__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.shb-botox__tag {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
}
.shb-botox__tag--before {
  left: 14px;
}
.shb-botox__tag--after {
  right: 14px;
}
.shb-botox__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
.shb-botox__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}
.shb-botox__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

/* ================================================================== */
/*  L'actif signature — L'Orchidée Blanche                             */
/* ================================================================== */
.shb-signature {
  background: var(--noir-pur);
  color: var(--blanc-fantome);
  padding: 96px 0;
}
.shb-signature__inner {
  max-width: 760px;
}
.shb-signature__eyebrow {
  color: var(--gris-argent);
}
.shb-signature__title {
  font-size: clamp(calc(2rem * var(--heading-scale, 1)), 4vw, calc(2.8rem * var(--heading-scale, 1)));
  color: var(--blanc);
  margin: 10px 0 18px;
  text-align: var(--heading-align, left);
}
.shb-signature__desc {
  font-size: 1rem;
  color: var(--gris-argent);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 44rem;
}
.shb-signature__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.shb-signature__list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.shb-signature__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gris-argent);
  font-size: 0.95rem;
  width: 22px;
  flex-shrink: 0;
}
.shb-signature__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--blanc);
}
.shb-signature__list--actives li {
  align-items: flex-start;
}
.shb-signature__list--actives .shb-signature__name {
  display: block;
  margin-bottom: 6px;
}
.shb-signature__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}
.shb-signature--with-image .shb-signature__inner {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 56px;
  align-items: center;
}
.shb-signature--with-image .shb-signature__desc {
  max-width: none;
}
.shb-signature__media {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.shb-signature__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .shb-signature--with-image .shb-signature__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .shb-signature__media {
    aspect-ratio: 16 / 10;
  }
}

/* ================================================================== */
/*  Manifeste de marque (accueil) — Notre promesse / histoire / valeurs */
/* ================================================================== */
.shb-manifesto__grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 48px;
  align-items: start;
}
.shb-manifesto__nav {
  border-right: 1px solid var(--line);
  padding-right: 32px;
}
.shb-manifesto__nav .eyebrow {
  margin-bottom: 20px;
}
.shb-manifesto__tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shb-manifesto__tab {
  text-align: left;
  padding: 0 0 14px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--muted);
}
.shb-manifesto__tab.is-active {
  color: var(--foreground);
  font-weight: 600;
}
.shb-manifesto__panel {
  display: none;
}
.shb-manifesto__panel.is-active {
  display: block;
}
.shb-manifesto__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent-ink);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.shb-manifesto__panel h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin: 0 0 16px;
}
.shb-manifesto__panel p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}
@media (max-width: 780px) {
  .shb-manifesto__grid {
    grid-template-columns: 1fr;
  }
  .shb-manifesto__nav {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .shb-manifesto__tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* ================================================================== */
/*  Section vidéo (accueil) — distincte du hero                        */
/* ================================================================== */
.shb-video-showcase {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--noir-pur);
  color: var(--blanc);
  text-align: center;
}
.shb-video-showcase .shb-section__eyebrow--center {
  color: var(--gris-argent);
}
.shb-video-showcase__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  margin: 0 0 40px;
}
.shb-video-showcase__player {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.shb-video-showcase__el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shb-video-showcase__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.24s ease, background 0.24s ease;
}
.shb-video-showcase__play:hover {
  transform: scale(1.08);
  background: var(--blanc);
  color: var(--noir-pur);
}
.shb-video-showcase__player.is-playing .shb-video-showcase__play {
  display: none;
}

/* ================================================================== */
/*  Bloc éditorial (accueil) — photo + promo + carrousel produits      */
/* ================================================================== */
.shb-editorial {
  padding: clamp(56px, 8vw, 96px) 0;
}
.shb-editorial__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: center;
}
.shb-editorial__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.shb-editorial__media img {
  display: block;
  width: 100%;
  height: clamp(360px, 60vh, 560px);
  object-fit: cover;
}
.shb-editorial__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--foreground);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.shb-editorial__carousel .eyebrow {
  margin-bottom: 18px;
}
.shb-editorial__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.shb-editorial__track::-webkit-scrollbar {
  display: none;
}
.shb-editorial__card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 180px;
  text-decoration: none;
  color: var(--foreground);
}
.shb-editorial__card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.shb-editorial__card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.3;
}
.shb-editorial__card-price {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  color: var(--muted);
}
@media (max-width: 820px) {
  .shb-editorial__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/*  Autres produits (accueil) — carrousel hors Orchid Collection      */
/* ================================================================== */
.shb-other-products__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.shb-other-products__track::-webkit-scrollbar {
  display: none;
}
.shb-other-products__card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
  text-decoration: none;
  color: var(--foreground);
}
.shb-other-products__card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.shb-other-products__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}
.shb-other-products__price {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ================================================================== */
/*  FAQ de marque (accueil)                                            */
/* ================================================================== */
.shb-home-faq__list {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.shb-home-faq__more {
  text-align: center;
  margin-top: 28px;
}
.shb-home-faq__more a {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--foreground);
}

/* ================================================================== */
/*  Sections génériques                                               */
/* ================================================================== */
.shb-section {
  padding: 64px 0;
}
.shb-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.shb-section__head-sub {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.shb-section__head h1,
.shb-section__head h2 {
  font-size: clamp(calc(1.8rem * var(--heading-scale, 1)), 4vw, calc(2.4rem * var(--heading-scale, 1)));
  text-align: var(--heading-align, left);
  margin: 6px 0 0;
}
.shb-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shb-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 26px;
}
.shb-card__bar {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 16px;
}
.shb-card h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.shb-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ================================================================== */
/*  Salons partenaires                                                */
/* ================================================================== */
.shb-salons-map {
  width: 100%;
  height: 460px;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  background: var(--surface);
  z-index: 0;
}
.shb-salons-search {
  position: relative;
  margin-bottom: 28px;
  color: var(--muted);
}
.shb-salons-search svg {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}
.shb-salons-search input[type="search"] {
  width: 100%;
  padding: 13px 16px 13px 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.shb-salons-search input[type="search"]:focus {
  outline: none;
  border-color: var(--foreground);
}
.shb-salons-search__empty {
  display: block;
  margin-top: 14px;
  font-size: 0.88rem;
}
/* Leaflet applique ses propres styles inline ; on aligne les popups sur la charte. */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
}
.shb-map-popup {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
}
.shb-map-popup strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 4px;
}
.shb-map-popup__badges {
  color: var(--accent-ink);
  font-size: 0.78rem;
  margin: 4px 0;
}
.shb-salons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shb-salon-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.shb-salon-card__media {
  display: block;
  line-height: 0;
}
.shb-salon-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.shb-salon-card__body {
  padding: 22px;
}
.shb-salon-card__body h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.shb-salon-card__addr {
  color: var(--muted);
  margin: 0 0 6px;
}
.shb-salon-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}
.shb-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
}
.shb-salon-card__hours {
  font-size: 0.85rem;
  color: var(--muted);
}
.shb-salon-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.shb-salon-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
  font-size: 0.82rem;
}
.shb-salon-card__links a {
  color: var(--muted);
  text-decoration: underline;
}
.shb-salon-card__links a:hover {
  color: var(--foreground);
}

/* ================================================================== */
/*  Actualités (blog)                                                 */
/* ================================================================== */
.shb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.shb-blog-card__media {
  display: block;
  line-height: 0;
}
.shb-blog-card__media img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.shb-blog-card__date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 6px;
}
.shb-blog-card h3 {
  font-size: 1.2rem;
  margin: 0 0 8px;
}
.shb-blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Mise en page « Liste » (Personnaliser → Actualités) */
.shb-blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.shb-blog-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.shb-blog-list-item .shb-blog-card__media img {
  height: 100%;
  min-height: 140px;
  aspect-ratio: 4 / 3;
}
.shb-blog-list-item__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shb-blog-list-item h3 {
  font-size: 1.35rem;
}

/* Pagination (blog + archives) */
.pagination,
.navigation.pagination {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
}
.page-numbers.current {
  background: var(--foreground);
  color: #fff;
  border-color: var(--foreground);
}
a.page-numbers:hover {
  border-color: var(--foreground);
}

/* ================================================================== */
/*  WooCommerce — surcharges                                          */
/* ================================================================== */
/* Conteneur des pages WooCommerce (injecté via les hooks du thème) */
.shb-woo {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 20px;
}
.woocommerce .page-title,
.woocommerce-products-header__title {
  font-family: var(--font-display);
  font-size: clamp(calc(2rem * var(--heading-scale, 1)), 5vw, calc(3rem * var(--heading-scale, 1)));
  text-align: var(--heading-align, left);
  margin-bottom: 8px;
}

/* Barre boutique : « Affichage de X résultats » + tri, regroupés à droite */
.shb-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.shb-shop-toolbar .woocommerce-result-count {
  order: 1;
  float: none;
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.shb-shop-toolbar .woocommerce-ordering {
  order: 2;
  float: none;
  margin: 0;
}

/* Grille produits */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Le clearfix historique de WooCommerce (::before/::after, display:table) était
   prévu pour l'ancienne grille en float. En grid, ces pseudo-éléments comptent
   comme des items invisibles et décalaient tous les produits d'une case. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none;
  display: none;
}
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  text-align: left;
}
/* Vignette uniforme : même cadrage carré quelle que soit la photo d'origine
   (des photos produit de tailles/proportions différentes donnaient une
   grille irrégulière). */
.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  margin-bottom: 14px;
  transition: transform 0.5s ease;
}
.woocommerce ul.products li.product:hover a img {
  transform: scale(1.03);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0;
  color: var(--foreground);
}
.woocommerce ul.products li.product .price {
  margin-top: auto;
  padding-top: 6px;
  color: var(--foreground);
  font-weight: 500;
  font-size: 1rem;
}
.woocommerce ul.products li.product .price del {
  color: var(--muted);
  font-weight: 400;
}

/* Boutons WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--foreground);
  color: #fff;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--ink-soft);
}

/* Badge promo */
.woocommerce span.onsale {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  min-height: auto;
  min-width: auto;
  padding: 4px 12px;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* Titre de page (page.php, single.php, single-salon.php) */
.shb-page-title {
  font-size: clamp(calc(2rem * var(--heading-scale, 1)), 5vw, calc(3rem * var(--heading-scale, 1)));
  text-align: var(--heading-align, left);
  margin: 8px 0 24px;
}

/* Fiche produit */
/* Même langage visuel que les vignettes de la grille (bordure fine + coins
   arrondis) — proportions naturelles conservées ici, pas de recadrage carré. */
.woocommerce div.product .woocommerce-product-gallery__image,
.woocommerce div.product .woocommerce-product-gallery__image img {
  border-radius: 14px;
}
.woocommerce div.product .woocommerce-product-gallery__image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.woocommerce div.product .flex-control-thumbs img {
  border-radius: 8px;
  border: 1px solid var(--line);
}
.woocommerce div.product .product_title {
  font-family: var(--font-display);
  font-size: clamp(calc(2rem * var(--heading-scale, 1)), 4vw, calc(3rem * var(--heading-scale, 1)));
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--foreground);
  font-size: 1.6rem;
  font-weight: 500;
}
.woocommerce .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--accent);
}

/* ================================================================== */
/*  Fiche produit — estimation de livraison                            */
/* ================================================================== */
.shb-delivery-estimate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--foreground);
}
.shb-delivery-estimate__dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #4a8f5c;
}

/* ================================================================== */
/*  Fiche produit — accordéon (Description, Avis, Ingrédients…)        */
/* ================================================================== */
.shb-product-accordion {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.shb-accordion-item {
  border-bottom: 1px solid var(--line);
}
.shb-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--foreground);
  text-align: left;
}
.shb-accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.shb-accordion-icon::before,
.shb-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--foreground);
  transform: translate(-50%, -50%);
}
.shb-accordion-icon::before {
  width: 14px;
  height: 1.5px;
}
.shb-accordion-icon::after {
  width: 1.5px;
  height: 14px;
}
.shb-accordion-item.is-open .shb-accordion-icon {
  transform: rotate(45deg);
}
.shb-accordion-icon--custom {
  width: 22px;
  height: 22px;
}
.shb-accordion-icon--custom::before,
.shb-accordion-icon--custom::after {
  content: none;
}
.shb-accordion-icon--custom svg {
  width: 100%;
  height: 100%;
}
.shb-accordion-panel {
  padding: 0 4px 22px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}
.shb-accordion-text p:first-child {
  margin-top: 0;
}
.shb-accordion-text p:last-child {
  margin-bottom: 0;
}

/* Fiche produit — masque la ligne "Catégorie : ..." (garde SKU/tags si présents). */
.product_meta .posted_in {
  display: none;
}

/* Fiche produit — zone d'achat (quantité + bouton) : coins plus carrés,
 * propre à la fiche produit (n'affecte pas le tiroir panier ni la page panier). */
.single-product .shb-woo div.product form.cart .quantity input.qty {
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}
.single-product .shb-woo div.product form.cart .button {
  height: 52px;
  border-radius: 4px;
  padding: 0 2rem;
  letter-spacing: 0.08em;
}

/* ================================================================== */
/*  Fiche produit — grille de spécifications (« La Collection »)       */
/* ================================================================== */
.shb-product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem 1.85rem;
  margin: 1.5rem 0 2.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.shb-product-specs dt {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.shb-product-specs dd {
  margin: 0.3rem 0 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
}

/* ================================================================== */
/*  Fiche produit — « Le rituel en X gestes »                          */
/* ================================================================== */
.shb-product-ritual {
  clear: both;
  padding: 6rem 0 6.5rem;
  background: var(--creme);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.shb-product-ritual .shb-container {
  max-width: 1200px;
}
.shb-product-ritual__eyebrow {
  margin-bottom: 0.75rem;
}
.shb-product-ritual__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.5rem);
  margin: 0 0 3.5rem;
}
.shb-product-ritual__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  text-align: left;
}
.shb-product-ritual__list li {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2.1rem 1.5rem;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.shb-product-ritual__list li:hover {
  transform: translateY(-5px);
  background: var(--blanc);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.shb-product-ritual__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}
.shb-product-ritual__num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--foreground);
  font-weight: 500;
}
.shb-product-ritual__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--line);
  color: var(--foreground);
}
.shb-product-ritual__icon svg {
  width: 19px;
  height: 19px;
}
.shb-product-ritual__list h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
}
.shb-product-ritual__list p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .shb-product-ritual__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .shb-product-ritual__list {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/*  Fiche produit — « Les bienfaits »                                  */
/* ================================================================== */
.shb-product-benefits {
  clear: both;
  padding: 6.25rem 0;
  background: var(--background);
  text-align: center;
}
.shb-product-benefits__eyebrow {
  margin-bottom: 0.75rem;
}
.shb-product-benefits .shb-container > .shb-product-benefits__eyebrow + h2,
.shb-product-benefits__grid {
  margin-top: 0;
}
.shb-product-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.1rem;
  text-align: left;
}
.shb-product-benefits__item {
  padding: 2.2rem 1.9rem;
  background: var(--blanc);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.shb-product-benefits__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--gris-argent);
}
.shb-product-benefits__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--creme);
  color: var(--foreground);
  margin-bottom: 1.25rem;
}
.shb-product-benefits__icon svg {
  width: 20px;
  height: 20px;
}
.shb-product-benefits__item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}
.shb-product-benefits__item p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .shb-product-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .shb-product-benefits__grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================== */
/*  Fiche produit — bloc « Vos questions, nos réponses » (après les    */
/*  produits liés)                                                     */
/* ================================================================== */
.shb-product-faq {
  clear: both;
  background: var(--creme);
  padding: 6.75rem 0;
  margin-top: 48px;
}
.shb-product-faq__grid {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 48px;
  align-items: start;
}
.shb-product-faq__intro {
  position: sticky;
  top: 100px;
  text-align: center;
}
.shb-product-faq__intro .shb-orchid {
  max-width: 9rem;
  margin: 0 auto 1.5rem;
}
.shb-product-faq__photo {
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}
.shb-product-faq__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.shb-product-faq__intro h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.shb-product-faq__intro p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}
.shb-product-faq__list.shb-product-accordion {
  margin-top: 0;
  border-top: none;
}
.shb-product-faq__list .shb-accordion-item {
  background: var(--blanc);
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 0 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.24s ease;
}
.shb-product-faq__list .shb-accordion-item:hover {
  border-color: var(--gris-argent);
}
.shb-product-faq__list .shb-accordion-trigger {
  padding: 1.35rem 0;
}
.shb-product-faq__list .shb-accordion-trigger span:first-child {
  font-size: 0.85rem;
}
.shb-product-faq__list .shb-accordion-panel {
  padding: 0 0 1.35rem;
}
@media (max-width: 820px) {
  .shb-product-faq__grid {
    grid-template-columns: 1fr;
  }
  .shb-product-faq__intro {
    position: static;
    text-align: left;
  }
  .shb-product-faq__intro .shb-orchid {
    max-width: 6rem;
    margin: 0 0 12px;
  }
}

/* ================================================================== */
/*  Fiche produit — carrousel d'avis clients (masqué s'il n'y en a pas) */
/* ================================================================== */
.shb-review-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
}
.shb-review-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.shb-review-carousel__track::-webkit-scrollbar {
  display: none;
}
.shb-review-carousel__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: min(320px, 80vw);
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
  font-size: 0.86rem;
  color: var(--foreground);
}
.shb-review-carousel__item p {
  margin: 8px 0 10px;
  color: var(--foreground);
}
.shb-review-carousel__item strong {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.shb-review-carousel__stars {
  color: var(--noir-pur);
  letter-spacing: 2px;
}
.shb-review-carousel__nav {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blanc);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--foreground);
}
.shb-review-carousel__nav:hover {
  border-color: var(--foreground);
}

/* Messages / notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--accent);
}

/* ================================================================== */
/*  Favoris — bouton cœur                                             */
/* ================================================================== */
.shb-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: none;
  color: var(--blanc);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
  cursor: pointer;
  transition: color 0.2s ease, transform 0.15s ease;
}
.shb-wishlist-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.shb-wishlist-btn svg path {
  fill: none;
}
.shb-wishlist-btn:hover {
  transform: scale(1.12);
}
.shb-wishlist-btn.is-active {
  color: var(--blanc);
}
.shb-wishlist-btn.is-active svg path {
  fill: currentColor;
}
.shb-wishlist-single {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.shb-wishlist-single .shb-wishlist-btn {
  position: static;
  background: none;
  color: var(--foreground);
  filter: none;
}
.shb-wishlist-single span {
  font-size: 0.9rem;
  color: var(--muted);
}
.shb-wishlist-grid.products {
  margin-top: 0;
}

/* ================================================================== */
/*  Formulaires WooCommerce (paiement, compte, connexion…)            */
/* ================================================================== */
.woocommerce form .form-row {
  margin: 0 0 18px;
}
.woocommerce form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.woocommerce form .input-text,
.woocommerce form input[type="text"],
.woocommerce form input[type="email"],
.woocommerce form input[type="tel"],
.woocommerce form input[type="password"],
.woocommerce form input[type="number"],
.woocommerce form textarea,
.woocommerce form select,
.select2-container .select2-selection--single {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.95rem;
  height: auto;
}
.woocommerce form .input-text:focus,
.woocommerce form input:focus,
.woocommerce form textarea:focus,
.woocommerce form select:focus {
  outline: none;
  border-color: var(--foreground);
}
.woocommerce form .select2-container .select2-selection--single {
  height: 46px;
  display: flex;
  align-items: center;
}

/* ================================================================== */
/*  Paiement (checkout)                                                */
/* ================================================================== */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.woocommerce-checkout h3 {
  margin: 0 0 20px;
}
.woocommerce-checkout table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
#order_review,
#payment {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin-top: 32px;
}
#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
#payment ul.payment_methods li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
#payment .payment_box {
  margin-top: 10px;
  padding: 14px;
  background: var(--blanc);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}
#payment #place_order {
  width: 100%;
  margin-top: 8px;
}

/* ================================================================== */
/*  Confirmation de commande (checkout/thankyou.php)                   */
/* ================================================================== */
.shb-order-confirm__title {
  font-size: clamp(calc(2rem * var(--heading-scale, 1)), 5vw, calc(3rem * var(--heading-scale, 1)));
  margin: 8px 0 0;
  text-align: var(--heading-align, left);
}
.shb-order-confirm__section-title {
  font-size: 1.3rem;
  margin: 40px 0 16px;
}
.shb-order-confirm__table {
  width: 100%;
  border-collapse: collapse;
}
.shb-order-confirm__table th,
.shb-order-confirm__table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.92rem;
}
.shb-order-confirm__table tfoot th,
.shb-order-confirm__table tfoot td {
  color: var(--muted);
}
.shb-order-confirm__table tfoot tr:last-child th,
.shb-order-confirm__table tfoot tr:last-child td {
  color: var(--foreground);
  font-weight: 600;
  border-bottom: none;
}
.shb-order-confirm__addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.shb-order-confirm__addresses h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}
.shb-order-confirm__addresses address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.shb-order-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

/* ================================================================== */
/*  Commandes (order-received, historique)                            */
/* ================================================================== */
.woocommerce-order table.shop_table,
.woocommerce-MyAccount-orders,
.shb-woo table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
}
.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td,
.woocommerce-MyAccount-orders th,
.woocommerce-MyAccount-orders td,
.shb-woo table.shop_table th,
.shb-woo table.shop_table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.9rem;
}
.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 32px;
  padding: 24px;
  background: var(--surface);
  border-radius: 16px;
}
.woocommerce-order-overview li {
  font-size: 0.85rem;
  color: var(--muted);
}
.woocommerce-order-overview li strong {
  display: block;
  color: var(--foreground);
  font-size: 1rem;
  margin-top: 4px;
}

/* ================================================================== */
/*  Mon compte (Dashboard, favoris, commandes, adresses…)             */
/* ================================================================== */
.woocommerce-account .shb-woo {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line);
}
.woocommerce-MyAccount-navigation li:last-child {
  border-bottom: none;
}
.woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 14px 18px;
  font-size: 0.88rem;
}
.woocommerce-MyAccount-navigation li.is-active a {
  background: var(--foreground);
  color: #fff;
}
.woocommerce-MyAccount-content {
  min-width: 0;
}
.woocommerce-MyAccount-content .addresses .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.woocommerce-form-login,
.woocommerce-form-register {
  max-width: 480px;
}
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
  margin-bottom: 16px;
}

/* Page Connexion / Créer un compte (myaccount/form-login.php) */
#customer_login.u-columns {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
#customer_login .u-column1,
#customer_login .u-column2,
#customer_login .col-1,
#customer_login .col-2 {
  padding: 0;
}
#customer_login h2 {
  font-size: 1.35rem;
  margin: 0 0 22px;
}
#customer_login .woocommerce-form-login,
#customer_login .woocommerce-form-register {
  max-width: none;
}
#customer_login .woocommerce-form-login__rememberme {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
#customer_login .lost_password {
  margin-top: 10px;
  font-size: 0.85rem;
}
#customer_login .lost_password a {
  color: var(--muted);
  text-decoration: underline;
}

/* Onglets Connexion / Créer un compte, ajoutés par le JS en amélioration
   progressive : sans JS, les deux formulaires restent visibles côte à côte. */
.shb-account-tabs {
  display: flex;
  gap: 28px;
  max-width: 860px;
  margin: 0 auto 28px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}
.shb-account-tab {
  padding: 0 0 14px;
  border: none;
  background: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.shb-account-tab.is-active {
  color: var(--foreground);
  border-bottom-color: var(--foreground);
}
.shb-account-has-tabs.u-columns {
  display: block;
}
.shb-account-has-tabs .u-column1 > h2,
.shb-account-has-tabs .u-column2 > h2 {
  display: none;
}

/* ================================================================== */
/*  Contenu de page + blocs Gutenberg                                 */
/* ================================================================== */

/* Contenu de page classique (page.php) : largeur lisible déjà gérée.
   Alignements de blocs à l'intérieur du contenu. */
.shb-page-content .alignwide {
  margin-left: -80px;
  margin-right: -80px;
}
.shb-page-content .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
}
.shb-page-content h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}
.shb-page-content h3 {
  font-size: 1.2rem;
  margin: 1.8rem 0 0.6rem;
}
.shb-page-content p {
  line-height: 1.7;
  margin: 0 0 1rem;
}
.shb-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
  font-size: 0.92rem;
}
.shb-page-content table th,
.shb-page-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.shb-page-content table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* Gabarit « Page pleine largeur » : les blocs gèrent leur largeur.
   Schéma recommandé par WordPress pour les thèmes classiques. */
.shb-fullwidth > * {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.shb-fullwidth > .alignwide {
  max-width: 1320px;
}
.shb-fullwidth > .alignfull {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.shb-fullwidth {
  padding: 40px 0 0;
}

/* ================================================================== */
/*  Zones de widgets — page d'accueil (Apparence → Widgets)           */
/* ================================================================== */
.shb-home-widgets {
  padding: 48px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.shb-home-widget {
  font-size: 0.95rem;
  color: var(--muted);
}
.shb-home-widget h3 {
  font-size: 1.3rem;
  color: var(--foreground);
  margin: 0 0 12px;
}
.shb-home-widget img {
  border-radius: 14px;
}
.shb-home-widget.widget_text {
  line-height: 1.7;
}

/* Zone de widgets du pied de page */
.shb-footer__widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding: 48px 20px 0;
}
.shb-footer__widgets--bottom {
  padding: 28px 20px;
  border-top: 1px solid var(--line);
}
.shb-widget {
  font-size: 0.9rem;
  color: var(--muted);
}
.shb-widget h4 {
  color: var(--muted);
}

/* ================================================================== */
/*  Footer                                                            */
/* ================================================================== */
.shb-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.shb-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
  padding: 56px 0;
}
.shb-footer h3 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 16px;
}
.shb-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shb-footer li {
  margin-bottom: 8px;
}
.shb-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}
.shb-footer a:hover {
  color: var(--foreground);
}
.shb-footer__desc {
  margin-top: 16px;
  max-width: 20rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Réseaux sociaux (pied de page) */
.shb-social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.shb-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--foreground);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.shb-social-links a:hover {
  border-color: var(--foreground);
  background: var(--blanc);
}

/* Formulaire newsletter (pied de page) */
.shb-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.shb-newsletter-form input[type="email"] {
  flex: 1;
  min-width: 160px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.shb-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--foreground);
}
.shb-newsletter-form__msg {
  width: 100%;
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: var(--accent-ink);
}
.shb-newsletter-form__msg.is-error {
  color: #a33;
}

/* ================================================================== */
/*  Newsletter — section homepage (RGPD)                              */
/* ================================================================== */
.shb-newsletter-section {
  background: var(--surface);
  text-align: center;
}
.shb-newsletter-section__inner {
  max-width: 640px;
}
.shb-newsletter-section h2 {
  font-size: clamp(calc(1.8rem * var(--heading-scale, 1)), 4vw, calc(2.6rem * var(--heading-scale, 1)));
  margin: 10px 0 14px;
}
.shb-newsletter-section__text {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 30px;
}

/* ================================================================== */
/*  Pop-up newsletter (désactivé par défaut)                           */
/* ================================================================== */
.shb-newsletter-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1998;
  background: rgba(0, 0, 0, 0.45);
}
.shb-newsletter-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1999;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--blanc);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
  animation: shb-popup-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes shb-popup-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shb-newsletter-popup {
    animation: none;
  }
}
.shb-newsletter-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--foreground);
}
.shb-newsletter-popup__close:hover {
  border-color: var(--foreground);
}
.shb-newsletter-popup h2 {
  font-size: 1.5rem;
  margin: 10px 0 12px;
}
.shb-newsletter-popup__text {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.shb-newsletter-popup .shb-newsletter-form {
  display: block;
}
.shb-newsletter-popup .shb-newsletter-form input[type="email"] {
  width: 100%;
  margin-bottom: 10px;
}
.shb-newsletter-popup .shb-newsletter-form .shb-btn {
  width: 100%;
}
.shb-newsletter-popup .shb-newsletter-form__consent {
  margin: 14px 0 0;
  text-align: left;
}
.shb-newsletter-form--large {
  justify-content: center;
}
.shb-newsletter-form--large .shb-newsletter-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.shb-newsletter-form--large input[type="email"] {
  flex: 1;
  min-width: 220px;
  max-width: 360px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.shb-newsletter-form--large input[type="email"]:focus {
  outline: none;
  border-color: var(--foreground);
}
.shb-newsletter-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 480px;
  margin: 18px auto 0;
  text-align: left;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.shb-newsletter-form__consent input {
  margin-top: 3px;
  flex-shrink: 0;
}
.shb-newsletter-form__consent a {
  color: var(--foreground);
  text-decoration: underline;
}
.shb-newsletter-form--large .shb-newsletter-form__msg {
  text-align: center;
  margin-top: 14px;
}

.shb-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ================================================================== */
/*  Mini-panier (tiroir latéral)                                       */
/*  Contenu généré par woocommerce_mini_cart() — on habille les        */
/*  classes natives WooCommerce plutôt que de réimplémenter le panier. */
/* ================================================================== */
body.shb-drawer-open {
  overflow: hidden;
}
.shb-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
}
.shb-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--blanc);
  z-index: 91;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.12);
  animation: shb-drawer-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes shb-drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .shb-cart-drawer {
    animation: none;
  }
}
.shb-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.shb-cart-drawer__head h2 {
  font-size: 1.3rem;
  margin: 0;
}
.shb-cart-drawer__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--foreground);
}
.shb-cart-drawer__close:hover {
  border-color: var(--foreground);
}
.widget_shopping_cart_content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 24px;
}

/* Barre « livraison offerte » */
.shb-shipping-bar {
  margin-bottom: 22px;
}
.shb-shipping-bar__text {
  font-size: 0.82rem;
  color: var(--foreground);
  margin: 0 0 8px;
}
.shb-shipping-bar__text--done {
  color: var(--accent-ink);
  font-weight: 500;
}
.shb-shipping-bar__track {
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.shb-shipping-bar__fill {
  height: 100%;
  background: var(--noir-pur);
  transition: width 0.3s ease;
}

/* Habillage du mini-cart natif WooCommerce */
.widget_shopping_cart_content ul.woocommerce-mini-cart {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item a:not(.remove) {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--foreground);
}
.widget_shopping_cart_content .woocommerce-mini-cart-item .quantity {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}
.widget_shopping_cart_content .woocommerce-mini-cart-item .remove {
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--muted) !important;
  font-size: 1.1rem;
}
.widget_shopping_cart_content .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 1rem;
  font-weight: 600;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 0;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a {
  display: block;
  text-align: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 0.88rem;
  font-weight: 500;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) {
  border: 1px solid var(--foreground);
  color: var(--foreground);
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a.checkout {
  background: var(--noir-pur);
  color: #fff;
}
.widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ================================================================== */
/*  Grille produits — image au survol + étoiles                       */
/* ================================================================== */
.woocommerce ul.products li.product a {
  position: relative;
  display: block;
}
.woocommerce ul.products li.product a .shb-hover-image {
  position: absolute;
  inset: 0;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.woocommerce ul.products li.product:hover .shb-hover-image {
  opacity: 1;
}
.woocommerce ul.products li.product .star-rating {
  margin: 2px 0 4px;
  font-size: 0.85rem;
}
.woocommerce .star-rating::before {
  color: var(--gris-argent);
}
.woocommerce .star-rating span::before {
  color: var(--noir-pur);
}

/* ================================================================== */
/*  Responsive                                                        */
/* ================================================================== */
@media (max-width: 900px) {
  .woocommerce-account .shb-woo {
    grid-template-columns: 1fr;
  }
  #customer_login.u-columns {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 36px;
  }
  .shb-hero__grid {
    grid-template-columns: 1fr;
  }
  .shb-hero__media {
    order: -1;
  }
  .shb-reassurance__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shb-botox__grid {
    grid-template-columns: 1fr;
  }
  .shb-botox__compare {
    order: -1;
  }
  .shb-cards-3 {
    grid-template-columns: 1fr;
  }
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
  .shb-salons-grid,
  .shb-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shb-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .shb-header__inner { grid-template-columns: 40px 1fr auto; }
  .shb-mobile-menu-trigger { display: inline-flex; grid-column: 1; grid-row: 1; }
  .shb-header .custom-logo-link, .shb-header .shb-logo { justify-self: center; grid-column: 2; grid-row: 1; }
  .shb-nav { display: none; }
}
@media (max-width: 540px) {
  .shb-header__inner { gap: 6px; }
  .shb-header__actions { gap: 0; min-width: 0; }
  .shb-icon-btn {
    width: 34px;
    height: 34px;
  }
  .shb-logo__name { font-size: 1.05rem; }
  .shb-header .custom-logo-link { max-width: min(var(--shb-header-logo-width,170px), 145px); }
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
  .shb-salons-grid,
  .shb-blog-grid {
    grid-template-columns: 1fr;
  }
  .shb-salons-map {
    height: 320px;
  }
  .shb-footer__grid {
    grid-template-columns: 1fr;
  }
  .shb-footer__bottom {
    flex-direction: column;
  }
}
/* Très petits écrans (ex. iPhone SE, ~375px et moins) : header encore plus compact
   pour ne jamais forcer de scroll horizontal, même avec les 4 icônes activées. */
@media (max-width: 380px) {
  .shb-icon-btn { width: 30px; height: 30px; }
  .shb-mobile-menu-trigger { width:32px; height:32px; }
  .shb-icon-btn svg,
  .shb-icon-img {
    width: 17px;
    height: 17px;
  }
  .shb-burger {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .shb-logo__name {
    font-size: 0.92rem;
  }
  .shb-logo__tag {
    letter-spacing: 0.3em;
  }
}


/* ================================================================== */
/*  Silver Head V2 — finition premium + fluidité du header/cart       */
/* ================================================================== */
html { scroll-behavior: smooth; }
body { overflow-x: clip; }

.shb-header {
  z-index: 500;
  isolation: isolate;
}
.shb-header__inner {
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  gap: 24px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.shb-nav { gap: clamp(16px, 2vw, 30px); }
.shb-nav a { transition: color .2s ease, opacity .2s ease; }
.shb-nav a:hover { opacity: .72; }
.shb-header__actions { gap: 2px; }
.shb-icon-btn {
  width: 40px;
  height: 40px;
  border-color: transparent;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.shb-icon-btn:hover, .shb-icon-btn:focus-visible {
  background: #f5f5f5;
  border-color: #e5e5e5;
  transform: translateY(-1px);
}
.shb-icon-btn__count {
  top: 0;
  right: -1px;
  min-width: 16px;
  height: 16px;
  border-width: 1.5px;
  font-size: 8px;
}

/* Le tiroir doit passer AU-DESSUS du header : corrige le bug visible sur la capture. */
body.shb-drawer-open { overflow: hidden; }
.shb-cart-drawer-overlay {
  z-index: 1998;
  background: rgba(0,0,0,.32);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.shb-cart-drawer {
  z-index: 1999;
  width: min(460px, 100vw);
  max-width: 460px;
  border-left: 1px solid #e9e9e9;
  box-shadow: -24px 0 70px rgba(0,0,0,.14);
  animation: shb-drawer-in .24s cubic-bezier(.22,1,.36,1);
  will-change: transform;
}
.shb-cart-drawer__head {
  min-height: 78px;
  padding: 18px 22px;
  background: rgba(255,255,255,.98);
  position: sticky;
  top: 0;
  z-index: 2;
}
.shb-cart-drawer__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: .01em;
}
.shb-cart-drawer__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-color: #dedede;
  background: #fff;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.shb-cart-drawer__close:hover { background: #f5f5f5; border-color: #111; transform: rotate(2deg); }
.shb-cart-drawer .widget_shopping_cart_content { padding: 18px 22px 28px; }
.shb-cart-drawer .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #ededed;
}
.shb-cart-drawer .woocommerce-mini-cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.shb-cart-drawer .woocommerce-mini-cart-item a:not(.remove) { font-size: .9rem; line-height: 1.35; }
.shb-cart-drawer .woocommerce-mini-cart-item .quantity { display: block; margin-top: 5px; color: #777; font-size: .8rem; }
.shb-cart-drawer .woocommerce-mini-cart-item a.remove {
  order: 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #777 !important;
  background: #f5f5f5;
  font-size: 16px;
  transition: all .18s ease;
}
.shb-cart-drawer .woocommerce-mini-cart-item a.remove:hover { background: #111; color: #fff !important; }
.shb-cart-drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
  padding-top: 18px;
  border-top: 1px solid #111;
  font-size: .92rem;
}
.shb-cart-drawer .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 0;
}
.shb-cart-drawer .woocommerce-mini-cart__buttons a {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.shb-cart-drawer .woocommerce-mini-cart__buttons a:hover { transform: translateY(-1px); }
.shb-cart-drawer .woocommerce-mini-cart__buttons a:first-child { background: #fff; color: #111; }
.shb-cart-drawer .woocommerce-mini-cart__buttons a:last-child { background: #111; color: #fff; }

/* Réassurance : cachée par défaut, activable depuis Personnaliser. */
.shb-reassurance { content-visibility: auto; }

@media (max-width: 900px) {
  .shb-header__inner {
    grid-template-columns: 42px minmax(0,1fr) auto;
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .shb-header .custom-logo-link, .shb-header .shb-logo { justify-self: center; max-width: min(var(--shb-header-logo-width,170px), 145px); }
  .shb-header__actions { max-width: 150px; }
  .shb-icon-btn { width: 36px; height: 36px; }
  .shb-mobile-menu-trigger { border-color: #dedede; background: #fff; }
  .shb-mobile-nav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 72px); overflow: auto; }
  .shb-cart-drawer { width: min(100vw, 460px); }
}
@media (max-width: 540px) {
  .shb-header__inner { min-height: 68px; }
  .shb-header__actions { gap: 0; }
  .shb-icon-btn { width: 32px; height: 32px; }
  .shb-icon-btn svg, .shb-icon-img { width: 18px; height: 18px; }
  .shb-cart-drawer__head { min-height: 68px; padding: 14px 16px; }
  .shb-cart-drawer .widget_shopping_cart_content { padding: 12px 16px 24px; }
  .shb-cart-drawer .woocommerce-mini-cart-item { grid-template-columns: 58px minmax(0,1fr) auto; }
  .shb-cart-drawer .woocommerce-mini-cart-item img { width: 58px; height: 58px; }
}
@media (max-width: 390px) {
  .shb-header__actions { max-width: 132px; }
  .shb-icon-btn { width: 30px; height: 30px; }
  .shb-icon-btn__count { top: -1px; right: -2px; }
}

/* ================================================================== */
/*  Formulaire « Suivre ma commande »                                  */
/* ================================================================== */
.shb-tracking-form {
  max-width: 640px;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--surface);
  border-radius: 10px;
}
.shb-tracking-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.shb-tracking-form__field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.shb-tracking-form__field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shb-tracking-form input[type="text"],
.shb-tracking-form select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.shb-tracking-form__submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  background: var(--noir-pur);
  color: var(--blanc);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.shb-tracking-form__submit:hover {
  background: var(--ink-soft);
}
.shb-tracking-form__note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ================================================================== */
/*  Formulaire « Demande de rétractation »                             */
/* ================================================================== */
.shb-retraction-form {
  max-width: 640px;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--surface);
  border-radius: 10px;
}
.shb-retraction-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.shb-retraction-form__field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.shb-retraction-form__field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shb-retraction-form input[type="text"],
.shb-retraction-form input[type="email"],
.shb-retraction-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--blanc);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 0.92rem;
}
.shb-retraction-form textarea {
  resize: vertical;
}
.shb-retraction-form__note {
  margin: 0 0 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.shb-retraction-form__submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  background: var(--noir-pur);
  color: var(--blanc);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.shb-retraction-form__submit:hover {
  background: var(--ink-soft);
}
.shb-retraction-form__submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.shb-retraction-form__msg {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: var(--foreground);
}
.shb-retraction-form__msg.is-error {
  color: #b3261e;
}
