/*
Theme Name:   Bourg 45
Theme URI:    https://www.bourg45.com
Author:       Bourg 45 Sàrl
Description:  Thème galerie Bourg 45 — Gruyères. Identité noir/blanc, typographie géométrique bold (Archivo), esprit cartel de galerie. Réf. prototype bourg45-prototype.jsx et cahier des charges v4.18.
Version:      1.0.128
Requires PHP: 8.1
License:      GPL-2.0-or-later
Text Domain:  bourg45
*/

/* ============================================================
   Tokens — repris du prototype (T.*)
   ============================================================ */
:root {
  --b45-ink: #f2f2f2;
  --b45-black: #000;
  --b45-white: #fff;
  --b45-paper: #141414;
  --b45-stone: #0a0a0a;
  --b45-stone-deep: #1e1e1e;
  --b45-slate: #9a9a9a;
  --b45-rule: rgba(255, 255, 255, 0.14);
  --b45-cacao: #3b2a22;
  --b45-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --b45-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;
  --b45-max: 1152px;
}

* { box-sizing: border-box; }

/* Accessibilité : navigation au clavier — un contour net sur l'élément
   actif, uniquement au clavier (:focus-visible), jamais au tap. */
:focus-visible { outline: 2px solid var(--b45-ink); outline-offset: 3px; }
.b45-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--b45-white); color: var(--b45-black);
  padding: 12px 20px; font-weight: 700; font-size: 15px;
}
.b45-skip:focus { left: 0; }

body {
  margin: 0;
  background: var(--b45-stone);
  color: var(--b45-ink);
  font-family: var(--b45-body);
  font-size: 15px;
  line-height: 1.65;
  /* Garde-fou : un élément plus large que l'écran ne doit jamais créer de
     défilement horizontal sur téléphone (lettres « hors écran »). */
  overflow-x: hidden; /* repli anciens navigateurs */
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: var(--b45-display);
  font-weight: 800;
  line-height: 1.15;
  color: var(--b45-ink);
  margin: 0 0 0.6em;
}
h1 { font-size: 38px; font-size: clamp(30px, 5vw, 42px); }
h2 { font-size: 30px; font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: 21px; }

a { color: var(--b45-ink); text-decoration: none; }
a:hover { opacity: 0.8; }
/* Dans un paragraphe, un lien se reconnaît à son soulignement — pas
   seulement à sa couleur (daltonisme, basse vision). */
p a:not(.b45-btn):not(.button) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; display: block; }

.b45-wrap { max-width: var(--b45-max); margin: 0 auto; padding: 0 20px; }
/* Uniquement vertical : « padding: 64px 0 » écrasait les 20 px latéraux de
   .b45-wrap (même spécificité, déclaré après) — contenu collé au bord et
   premières lettres coupées sur téléphone. */
.b45-section { padding-top: 64px; padding-bottom: 64px; }
.b45-rule { height: 1px; background: var(--b45-rule); border: 0; }

/* Œil de section (eyebrow) */
.b45-eyebrow {
  font-family: var(--b45-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--b45-slate);
  margin: 0 0 12px;
}

/* ============================================================
   En-tête / navigation
   ============================================================ */
.b45-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 10, 0.88);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--b45-rule);
}
.b45-header__bar {
  max-width: var(--b45-max);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.b45-brand { display: flex; align-items: center; gap: 10px; }
/* Sélecteur renforcé : la CSS WooCommerce (« .woocommerce-page img ») est plus
   spécifique qu'une simple classe et rétablissait height:auto sur ses pages. */
.b45-brand img.b45-brand__logo,
.woocommerce-page .b45-brand img.b45-brand__logo {
  display: block;
  height: 52px; /* agrandi — retour de Dasha : le logo se voyait trop peu */
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .b45-brand img.b45-brand__logo,
  .woocommerce-page .b45-brand img.b45-brand__logo { height: 43px; max-width: 170px; }
}
.b45-brand__word {
  font-family: var(--b45-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--b45-ink);
}
.b45-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.b45-nav a {
  font-family: var(--b45-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.b45-nav .current-menu-item > a,
.b45-nav .current_page_item > a { font-weight: 800; border-bottom-color: var(--b45-ink); }
.b45-header__icons { display: flex; align-items: center; gap: 16px; }
.b45-header__icons a { display: inline-flex; position: relative; }
.b45-cart-count {
  position: absolute; top: -8px; right: -8px;
  min-width: 18px; height: 18px; border-radius: 999px;
  background: var(--b45-white); color: var(--b45-black);
  font-size: 11px; font-family: var(--b45-display);
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.b45-burger { background: none; border: 0; color: var(--b45-ink); cursor: pointer; padding: 12px; margin: -8px; }

@media (min-width: 1024px) {
  .b45-burger { display: none; }
}
@media (max-width: 1023px) {
  .b45-nav { display: none; }
  .b45-nav.is-open {
    display: block; position: fixed; z-index: 50;
    /* Hauteur explicite : le backdrop-filter de l'en-tête fait de lui le
       bloc conteneur des descendants fixes — « bottom: 0 » s'y réfèrerait
       et écraserait le panneau à quelques pixels. */
    top: 64px; right: 0; left: 0; /* (« inset » : trop récent pour les vieux Safari) */
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: var(--b45-black); padding: 24px 20px; overflow: auto;
  }
  .b45-nav.is-open ul { flex-direction: column; gap: 0; }
  .b45-nav.is-open a {
    display: block; padding: 14px 0; font-size: 22px; text-transform: none;
    letter-spacing: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ============================================================
   Cartes produit / artiste — esprit cartel
   ============================================================ */
.b45-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}
.b45-card { display: block; }
.b45-card__media {
  /* Toutes les photos de la galerie sont carrées : un cadre CARRÉ unique,
     rempli bord à bord — chaque image d'un rayon a exactement la même
     taille, quelle que soit la proportion du fichier. */
  aspect-ratio: 1 / 1;
  background: var(--b45-stone-deep);
  overflow: hidden;
  position: relative;
}
.b45-card__media--square { aspect-ratio: 1 / 1; }
/* Une œuvre ne se recadre pas (même choix que le héros) : l'image entière
   sur fond pierre, façon passe-partout. Sélecteur doublé contre la CSS
   WooCommerce (« .woocommerce-page img »). L'image DIRECTE est calée en
   absolu bord à bord : même une petite image (le logo de Jeremy) remplit
   exactement le même carré que les autres cartes, quoi qu'injectent
   WordPress ou les extensions. */
.b45-card__media > img,
.b45-card__media > picture > img,
.woocommerce-page .b45-card__media > img,
.woocommerce-page .b45-card__media > picture > img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.b45-card__media img,
.woocommerce-page .b45-card__media img { width: 100%; height: 100%; object-fit: cover; }
/* Cartel de galerie : les angles sont VIFS, partout — aucune feuille de
   style tierce n'a le droit d'arrondir les cartes (coins arrondis vus
   dans le carrousel des artistes, capture de Bruno). */
.b45-card__media,
.b45-card__media img,
.woocommerce-page .b45-card__media img { border-radius: 0 !important; }

/* Vieux navigateurs (le Mac de Dasha) : sans aspect-ratio, les cadres se
   construisent à l'ancienne — une cale en padding donne la proportion, et
   l'image vient se poser dessus. */
@supports not (aspect-ratio: 1 / 1) {
  .b45-card__media::after { content: ""; display: block; padding-top: 100%; }
  /* SEULE l'image directe se cale en absolu — les photos du feuilletage
     (cartes multi-photos des prints) restent chacune dans SA vue : en
     absolu toutes ensemble, elles se superposaient sur le Mac de Dasha. */
  .b45-card__media > img,
  .b45-card__media > picture > img,
  .woocommerce-page .b45-card__media > img,
  .woocommerce-page .b45-card__media > picture > img { position: absolute; top: 0; left: 0; }
  .b45-card__media .b45-cartes-defile { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .b45-artist-head__portrait { position: relative; overflow: hidden; }
  .b45-artist-head__portrait::after { content: ""; display: block; padding-top: 125%; }
  .b45-artist-head__portrait img { position: absolute; top: 0; left: 0; }
  .b45-video__embed { position: relative; }
  .b45-video__embed::after { content: ""; display: block; padding-top: 56.25%; }
  .b45-video__embed video { position: absolute; top: 0; left: 0; height: 100%; }
}

.b45-card__body { margin-top: 12px; }
.b45-card__body::before {
  content: "";
  display: block;
  border-top: 2px solid var(--b45-ink);
  width: 36px;
  margin-bottom: 10px;
}
.b45-card__kicker {
  font-family: var(--b45-display); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--b45-slate);
  margin-bottom: 6px;
}
.b45-card__title { font-family: var(--b45-display); font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.b45-card__meta { font-size: 13px; color: var(--b45-slate); }
.b45-card__price { font-weight: 600; margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; }
/* Article à tailles : chaque taille et son prix, sobres, sous l'image. */
.b45-card__tailles { list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; width: 100%; }
.b45-card__tailles li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border-bottom: 1px solid var(--b45-rule); }
.b45-card__tailles li:last-child { border-bottom: 0; }
.b45-card__taille { color: var(--b45-slate); }
.b45-card__tailleprix { font-weight: 600; white-space: nowrap; }
.b45-card__tailles + .b45-card__price { margin-top: 4px; }

/* Galerie de carte : les photos d'un article se feuillettent sur place. */
.b45-cartes-defile {
	display: flex; height: 100%;
	overflow-x: auto; scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain; /* ne pas entraîner le rayon derrière */
	scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.b45-cartes-defile::-webkit-scrollbar { display: none; }
.b45-cartes-defile__vue { flex: 0 0 100%; height: 100%; scroll-snap-align: start; }
.b45-cartes-defile__vue img,
.woocommerce-page .b45-cartes-defile__vue img { width: 100%; height: 100%; object-fit: contain; }
.b45-cartes-points {
	position: absolute; left: 0; right: 0; bottom: 4px;
	display: flex; justify-content: center; gap: 2px; pointer-events: none;
}
/* Une pastille par photo, tappable (zone de touche généreuse autour du rond). */
.b45-cartes-point { position: relative; width: 24px; height: 24px; pointer-events: auto; cursor: pointer; }
.b45-cartes-point::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto;
	width: 7px; height: 7px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.35); transition: background 0.2s, transform 0.2s;
}
.b45-cartes-point.is-active::after { background: var(--b45-white); transform: scale(1.25); }
/* Dans un rayon, le balayage horizontal appartient au rayon : l'image ne
   défile qu'aux pastilles/flèches — jamais deux carrousels imbriqués. */
.b45-rayon .b45-cartes-defile { overflow-x: hidden; }
.b45-cartes-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 30px; height: 30px; border: 0; border-radius: 50%;
	background: rgba(10, 10, 10, 0.55); color: var(--b45-white);
	font-size: 18px; line-height: 1; cursor: pointer;
	display: none; align-items: center; justify-content: center;
}
.b45-cartes-nav--prec { left: 8px; }
.b45-cartes-nav--suiv { right: 8px; }
.b45-card__media--multi:hover .b45-cartes-nav { display: flex; }
@media (hover: none) { .b45-card__media--multi:hover .b45-cartes-nav { display: none; } }

/* ============================================================
   Boutique en rayons : un carrousel horizontal par objet
   ============================================================ */
.b45-rayon-section { margin: 44px 0 0; }
.b45-rayon-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.b45-rayon-tete h2 { margin: 0; font-size: 24px; font-size: clamp(20px, 3vw, 26px); }
/* « Voir tout » : une vraie pastille contourée — le petit texte gris
   passait inaperçu (retour de Dasha, basse vision). */
.b45-rayon-tout {
	font-family: var(--b45-display); font-size: 14px; font-weight: 600;
	color: var(--b45-ink); white-space: nowrap; letter-spacing: 0.04em;
	border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px;
	padding: 10px 18px;
}
.b45-rayon-tout:hover { opacity: 1; border-color: var(--b45-white); box-shadow: inset 0 0 0 1px var(--b45-white); }
.b45-rayon {
	display: flex; gap: 24px; overflow-x: auto; padding: 12px 4px 16px;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
	scrollbar-width: thin; scrollbar-color: var(--b45-rule) transparent;
}
/* Rayon fourni (6 pièces et plus) : plusieurs rangées l'une sous l'autre. */
.b45-rayon + .b45-rayon { margin-top: 4px; }

/* Grand écran : le rail s'étire jusqu'au bord du PANNEAU central — plus
   jusqu'au bord de l'écran, où il recouvrait l'œuvre en filigrane
   (remarque de Bruno, 23 juillet). La carte coupée au bord du panneau dit
   toujours « ça continue » ; titre et bord gauche restent alignés. */
@media (min-width: 1200px) {
  .b45-rayon {
    margin-right: -20px;
    padding-right: 20px;
  }
}

/* Fiche produit : les sections sous le résumé se DÉGAGENT des flottants
   (galerie d'images à gauche, résumé à droite) — sans ce clear, elles
   remontent dans la mise en page et se superposent au titre et au prix. */
.woocommerce div.product .b45-derives,
.woocommerce div.product .b45-rayon-section,
.woocommerce div.product .related.products { clear: both; }

/* À la souris, le rayon suit le pointeur (assets/js/rayons.js) : pendant
   le survol, l'aimantation des cartes est coupée pour un glissé fluide. */
.b45-rayon.is-souris { scroll-snap-type: none; }
.b45-rayon::-webkit-scrollbar { height: 6px; }
.b45-rayon::-webkit-scrollbar-thumb { background: var(--b45-rule); border-radius: 3px; }
.b45-rayon .b45-card { flex: 0 0 236px; scroll-snap-align: start; }
@media (max-width: 767px) {
	.b45-rayon { gap: 16px; }
	.b45-rayon .b45-card { flex-basis: 200px; }
}

/* Pastille de disponibilité */
.b45-dot { width: 7px; height: 7px; border-radius: 999px; display: inline-block; border: 1px solid var(--b45-ink); }
.b45-dot--disponible { background: var(--b45-ink); }
.b45-dot--reserve { background: linear-gradient(90deg, var(--b45-ink) 50%, transparent 50%); }
.b45-dot--vendu { background: transparent; border-color: var(--b45-slate); }
.b45-dot--indisponible { background: transparent; border-color: var(--b45-slate); border-style: dashed; }
.b45-dispo-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--b45-slate); }

/* Cartel fiche produit (rendu par le plugin) */
.b45-cartel { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; font-size: 15px; color: #d9d9d9; }
.b45-cartel a { color: var(--b45-ink); font-family: var(--b45-display); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

/* Choix de la taille (articles à tailles) : lisible d'abord — étiquette
   nette, menu large à fort contraste, prix de la taille bien visible. */
.woocommerce div.product table.variations { margin: 10px 0 4px; border: 0; }
.woocommerce div.product table.variations td,
.woocommerce div.product table.variations th { border: 0; padding: 0 0 8px; vertical-align: middle; }
.woocommerce div.product table.variations label {
  font-family: var(--b45-display); font-size: 15px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--b45-ink); margin-right: 12px;
}
.woocommerce div.product table.variations select {
  width: 100%; max-width: 380px; font-size: 17px; font-weight: 600;
  color: var(--b45-ink); background: transparent;
  border: 2px solid var(--b45-ink); border-radius: 6px; padding: 12px 40px 12px 14px;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f2f2f2' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.woocommerce div.product table.variations select option { color: var(--b45-black); background: #fff; font-size: 16px; }
.woocommerce div.product .woocommerce-variation-price .price,
.woocommerce div.product .woocommerce-variation-price .amount {
  font-size: 20px; font-weight: 700; color: var(--b45-ink);
}
.woocommerce div.product .woocommerce-variation-availability { font-size: 14px; }
.woocommerce div.product .reset_variations { font-size: 13px; color: var(--b45-slate); }

/* ============================================================
   Boutons & formulaires
   ============================================================ */
.b45-btn,
.b45-form button,
button[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  font-family: var(--b45-display) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: var(--b45-white) !important;
  color: var(--b45-black) !important;
  border: 1px solid var(--b45-white) !important;
  border-radius: 0 !important;
  padding: 11px 20px !important;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.b45-btn:hover, .woocommerce a.button:hover { opacity: 0.8; }
.b45-btn--outline {
  background: transparent !important;
  color: var(--b45-ink) !important;
  border-color: var(--b45-ink) !important;
}

.b45-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.b45-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--b45-slate); }
.b45-form input, .b45-form textarea, .b45-form select,
.woocommerce input.input-text, .woocommerce textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--b45-ink);
  font-family: var(--b45-body);
  font-size: 16px;
  padding: 8px 0;
}
.b45-form select { border: 1px solid var(--b45-rule); padding: 8px; }
.b45-form select option { color: var(--b45-black); }
.b45-form__consent { flex-direction: row !important; align-items: flex-start; gap: 10px !important; }
.b45-form__hint { font-size: 13px; color: var(--b45-slate); margin: 0; }
.b45-form--newsletter { flex-direction: row; align-items: center; flex-wrap: wrap; }
.b45-form--newsletter input[type="email"] { flex: 1 1 220px; }
.b45-form-confirm { border: 1px solid var(--b45-rule); padding: 16px 20px; }

/* Calculateur de location */
.b45-loc-calc__grid { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.b45-loc-calc__grid th, .b45-loc-calc__grid td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--b45-rule); font-size: 14px;
}
.b45-loc-calc__grid th {
  font-family: var(--b45-display); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--b45-slate);
}
.b45-loc-calc__form { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-end; }
.b45-loc-calc__result { width: 100%; font-size: 17px; font-weight: 600; color: var(--b45-ink); }

/* ============================================================
   Sections spécifiques
   ============================================================ */
/* Héro rotatif : fondu enchaîné des œuvres de la galerie. L'œuvre
   s'affiche ENTIÈRE (jamais rognée — on est une galerie) sur fond
   sombre, avec une très lente respiration (léger zoom, sans rognage
   puisque l'image est contenue). */
.b45-rotator {
  position: relative;
  height: 72vh;
  min-height: 420px;
  border-bottom: 1px solid var(--b45-rule);
  background: var(--b45-stone);
  overflow: hidden;
}
.b45-rotator__slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.b45-rotator__slide.is-active { opacity: 1; pointer-events: auto; }
.b45-rotator__media {
  flex: 1;
  min-height: 0;
  padding: 40px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.b45-rotator__media img {
  max-width: min(920px, 90%);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.b45-rotator__slide.is-active .b45-rotator__media img {
  animation: b45-respire 9s ease-in-out both;
}
@keyframes b45-respire {
  from { transform: scale(1); }
  to { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .b45-rotator__slide.is-active .b45-rotator__media img { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important; /* le cartel entrant n'attend pas non plus */
    scroll-behavior: auto !important;
  }
}
/* Le fondu des IMAGES reste lent (1,4 s, esprit galerie) mais deux
   cartels superposés deviennent illisibles : le texte sortant s'efface
   tout de suite, le texte entrant attend la fin du fondu pour paraître —
   jamais deux titres à l'écran en même temps. */
.b45-rotator__cartel { text-align: center; padding: 0 20px 34px; opacity: 0; transition: opacity 0.25s ease; }
.b45-rotator__slide.is-active .b45-rotator__cartel { opacity: 1; transition: opacity 0.45s ease 1s; }
.b45-rotator__title { font-family: var(--b45-display); font-size: 19px; font-weight: 700; }
.b45-rotator__artist { color: var(--b45-slate); font-size: 14px; }
/* Ambiance grand écran : une œuvre TRÈS voilée UNIQUEMENT dans les
   bandes latérales au-delà des 1152 px de contenu — un panneau central
   opaque (::after) couvre toute la colonne du site, qui reste neutre.
   L'adresse de l'image est injectée par functions.php, avec son voile
   dans le même dégradé. Fixe : l'œuvre reste en place au défilement. */
@media (min-width: 1200px) {
  body::before {
    content: "";
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -2;
    pointer-events: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--b45-max);
    z-index: -1;
    pointer-events: none;
    background: var(--b45-stone);
  }
}

/* Chevrons du héro-carrousel + compteur « 3 / 24 » (les points ne
   passaient pas à l'échelle : le héro montre TOUTES les œuvres). */
.b45-rotator__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 46px; height: 46px; border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, 0.6); color: var(--b45-ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 26px; line-height: 1; padding: 0 0 3px;
}
.b45-rotator__nav:hover { border-color: var(--b45-white); box-shadow: inset 0 0 0 1px var(--b45-white); }
.b45-rotator__nav--prec { left: 14px; }
.b45-rotator__nav--suiv { right: 14px; }
.b45-rotator__compte {
  position: absolute; right: 24px; bottom: 24px;
  font-family: var(--b45-display); font-size: 12px; letter-spacing: 0.08em;
  color: var(--b45-slate); font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .b45-rotator__nav { width: 40px; height: 40px; font-size: 22px; }
  .b45-rotator__nav--prec { left: 8px; }
  .b45-rotator__nav--suiv { right: 8px; }
}
@media (max-width: 767px) {
  .b45-rotator { height: 62vh; min-height: 360px; }
  .b45-rotator__media { padding: 24px 14px 10px; }
}


.b45-event { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--b45-rule); }
@media (min-width: 768px) { .b45-event { grid-template-columns: 160px 1fr; } }
.b45-event__date { font-family: var(--b45-display); font-weight: 700; }
.b45-event__meta { font-size: 13px; color: var(--b45-slate); margin: 4px 0 8px; }

.b45-expo-row {
  display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--b45-rule);
  align-items: baseline; flex-wrap: wrap;
}
.b45-expo-row__year { color: var(--b45-slate); min-width: 44px; font-family: var(--b45-display); }
.b45-expo-row__title { font-weight: 600; flex: 1 1 200px; }
.b45-expo-row__place { color: var(--b45-slate); font-size: 13px; }

.b45-artist-head { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
@media (min-width: 768px) { .b45-artist-head { grid-template-columns: 280px 1fr; } }
.b45-artist-head__portrait { aspect-ratio: 4 / 5; background: var(--b45-stone-deep); }
.b45-artist-head__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Feux de disponibilité : vert en stock / orange sur commande */
.b45-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-family: var(--b45-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.b45-stock__dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; }
.b45-stock--vert { color: #57b26a; }
.b45-stock--vert .b45-stock__dot { background: #3e9b4f; box-shadow: 0 0 6px rgba(62, 155, 79, 0.6); }
.b45-stock--orange { color: #d99a45; }
.b45-stock--orange .b45-stock__dot { background: #d98e2b; box-shadow: 0 0 6px rgba(217, 142, 43, 0.6); }
.b45-stock--rouge { color: #d06a5f; }
.b45-stock--rouge .b45-stock__dot { background: #c14b3e; box-shadow: 0 0 6px rgba(193, 75, 62, 0.6); }
/* Le badge remplace le texte de stock natif de WooCommerce (doublon),
   où qu'il soit rendu dans la fiche (dans ou hors du formulaire panier) */
.woocommerce div.product p.stock { display: none; }
/* SEUL le « sur commande » perce ce masquage : quand la taille choisie est
   en précommande, le délai doit se voir AVANT l'achat (l'Éventail de Bruno
   redevenu commandable sans annonce des 6 semaines). */
.woocommerce div.product p.stock.available-on-backorder {
  display: block; color: #d99a45; font-size: 14px; margin: 6px 0 0;
}

/* Mur d'œuvres ([b45_mur_oeuvres]) — mosaïque façon accrochage */
.b45-mur {
  columns: 3 260px;
  column-gap: 18px;
  margin: 24px 0;
}
.b45-mur__item {
  display: block;
  break-inside: avoid;
  margin: 0 0 18px;
  position: relative;
}
.b45-mur__item img { width: 100%; height: auto; display: block; }
.b45-mur__caption {
  display: block;
  padding: 8px 2px 0;
  font-family: var(--b45-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--b45-slate);
}
.b45-mur__item:hover img { opacity: 0.85; }

/* Pages : le texte reste à 720px de large, les médias prennent tout */
.b45-prose > * { max-width: 720px; }
.b45-prose > .wp-block-gallery,
.b45-prose > .wp-block-image,
.b45-prose > figure,
.b45-prose > .b45-mur,
.b45-prose > .b45-rayon-section,
.b45-prose > .b45-grid,
.b45-prose > .alignwide { max-width: none; }
.b45-prose .wp-block-gallery img, .b45-prose .wp-block-image img { width: 100%; }

/* Accès prioritaire Club — fenêtre réservée sur les éditions limitées */
.b45-early-access {
  border: 1px solid var(--b45-rule, rgba(255, 255, 255, 0.14));
  border-left: 3px solid var(--b45-ink, #f2f2f2);
  padding: 12px 16px;
  margin: 14px 0;
  font-size: 13.5px;
  line-height: 1.6;
}
.b45-early-access a { text-decoration: underline; }
.b45-early-access ul { margin: 8px 0 4px; padding-left: 18px; }
.b45-early-access li { margin: 2px 0; }
.b45-early-access p { margin: 8px 0 0; }
.b45-early-access--ok { border-left-color: #58b06a; }

/* Prix sur demande — remplace le montant sur les cartes ; sur la fiche,
   la ligne « Prix sur demande — s'adresser à la galerie » suffit, le
   pseudo-prix en gros disparaît. */
.woocommerce div.product div.summary .b45-price-on-request { display: none; }
.b45-price-request { margin: 4px 0 16px; }
.b45-price-request a {
  font-family: var(--b45-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--b45-rule);
  padding-bottom: 3px;
}
.b45-price-request a:hover { border-color: var(--b45-ink); opacity: 1; }
.b45-price-on-request {
  font-family: var(--b45-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85em;
}

/* Barre de filtres boutique — discrète : les filtres ne doivent pas crier
   plus fort que les œuvres (retour de terrain : « je ne vois que des
   boutons blancs »). Une ligne par groupe, libellé à gauche, pilules en
   retrait ; seule la sélection active est pleine. */
.b45-filterbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--b45-rule);
}
.b45-filterbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
/* Série / Catégorie / Objet : le libellé sur SA ligne, puis un rail d'une
   ligne qui défile au doigt — rien ne se superpose, la barre reste courte. */
.b45-filterbar__group--defile { display: block; }
.b45-filterbar__group--defile .b45-filterbar__label { display: block; margin-bottom: 8px; }
.b45-filterbar__defile {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 2px;
}
.b45-filterbar__defile::-webkit-scrollbar { display: none; }
.b45-filterbar__defile .b45-filterpill { flex: 0 0 auto; white-space: nowrap; }
.b45-filterbar__label {
  min-width: 110px;
  font-family: var(--b45-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--b45-slate);
}
.b45-filterpill {
  font-family: var(--b45-display);
  font-size: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--b45-slate);
  transition: all 0.15s;
}
.b45-filterpill:hover { border-color: var(--b45-ink); color: var(--b45-ink); opacity: 1; }
.b45-filterpill.is-active {
  background: transparent;
  color: var(--b45-ink);
  border-color: var(--b45-white);
  box-shadow: inset 0 0 0 1px var(--b45-white);
  font-weight: 600;
}
@media (max-width: 767px) {
  /* Téléphone : barre COMPACTE — libellé au-dessus, pilules discrètes sur
     une ligne défilante, sélection marquée sans gros pavé blanc (retour de
     terrain : « on ne voit rien après les carrés »). */
  .b45-filterbar { gap: 12px; margin-bottom: 28px; padding-bottom: 16px; }
  .b45-filterbar__label { width: 100%; min-width: 0; }
  .b45-filterpill { font-size: 13px; padding: 7px 13px; }
  .b45-filterbar__group--defile .b45-filterbar__label { width: 100%; }
}

/* Boutique de l'œuvre — accordéon des déclinaisons sous la fiche */
.b45-derives {
  border-top: 1px solid var(--b45-rule);
  border-bottom: 1px solid var(--b45-rule);
  margin: 48px 0;
}
.b45-derives summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 4px;
}
.b45-derives summary::-webkit-details-marker { display: none; }
.b45-derives__label {
  font-family: var(--b45-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--b45-ink);
}
.b45-derives__count { font-size: 13px; color: var(--b45-slate); flex: 1; }
.b45-derives__promo { color: var(--b45-ink); text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.b45-derives__chevron { color: var(--b45-slate); transition: transform 0.2s; }
.b45-derives[open] .b45-derives__chevron { transform: rotate(180deg); }
.b45-derives__grid { padding: 8px 4px 32px; }
.b45-derives .b45-card__title a { color: var(--b45-ink); }
.b45-derives .added_to_cart {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--b45-ink);
}
.b45-derives .add_to_cart_button.loading { opacity: 0.5; pointer-events: none; }

/* Offre de lancement — bannière + compte à rebours */
.b45-promo {
  border: 1px solid var(--b45-ink);
  padding: 10px 14px;
  font-family: var(--b45-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--b45-ink);
  display: inline-block;
}
.b45-promo__label { color: var(--b45-slate); }
.b45-promo__clock { font-variant-numeric: tabular-nums; }

/* Pop-up « nouvelle œuvre disponible » */
.b45-popup { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; }
.b45-popup[hidden] { display: none; }
.b45-popup__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.85); }
.b45-popup__panel {
  position: relative;
  margin: 6vh auto 0;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 86vh;
  overflow: auto;
  /* Valeur de secours en dur : si un optimiseur CSS (LiteSpeed…) perd les
     variables :root, le panneau doit rester opaque et lisible. */
  background: var(--b45-paper, #141414);
  border: 1px solid var(--b45-rule, rgba(255, 255, 255, 0.14));
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .b45-popup__panel { grid-template-columns: 1fr 1fr; } }
.b45-popup__media { background: var(--b45-stone-deep, #1e1e1e); min-height: 240px; }
.b45-popup__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.b45-popup__body { padding: 28px; }
.b45-popup__title { font-size: 24px; margin-bottom: 4px; }
.b45-popup__artist { color: var(--b45-slate); margin: 0 0 12px; }
.b45-popup__excerpt { font-size: 14px; color: var(--b45-slate); line-height: 1.6; }
.b45-popup__price { font-size: 17px; font-weight: 600; }
.b45-popup__merch { font-size: 12.5px; color: var(--b45-slate); }
.b45-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  background: var(--b45-black);
  color: var(--b45-white);
  border: 1px solid var(--b45-rule);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
}

/* ============================================================
   Pied de page
   ============================================================ */
.b45-footer { background: var(--b45-black); color: var(--b45-white); margin-top: 64px; }
.b45-footer__grid {
  max-width: var(--b45-max); margin: 0 auto; padding: 64px 20px;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 768px) { .b45-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.b45-footer p, .b45-footer li { color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.b45-footer ul { list-style: none; margin: 0; padding: 0; }
.b45-footer li { margin-bottom: 6px; }
.b45-footer__tag {
  font-family: var(--b45-display); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.65); margin: 4px 0 16px;
}
.b45-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.b45-footer__bottom-inner {
  max-width: var(--b45-max); margin: 0 auto; padding: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  font-size: 12px; color: rgba(255, 255, 255, 0.65);
}

/* Sélecteur de langues maison : typographie, pas de drapeaux — la langue
   courante est soulignée. Les drapeaux WPML injectés en bas de page sont
   masqués (remplacés, pas doublés). */
.b45-langues { display: flex; align-items: center; gap: 10px; letter-spacing: 0.08em; }
.b45-langues a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.b45-langues a:hover { color: #fff; }
.b45-langues__cour { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.b45-langues__sep { color: rgba(255, 255, 255, 0.3); }
.wpml-ls-statics-footer { display: none !important; }

/* Réseaux : les logos plutôt que les mots (demande de Bruno). */
.b45-social { display: flex; gap: 14px; align-items: center; }
.b45-social a { color: rgba(255, 255, 255, 0.8); display: inline-flex; }
.b45-social a:hover { color: #fff; }

/* Téléphone : le bandeau du bas s'empile CENTRÉ, les langues en dernier —
   centrées en bas de page, doigts bienvenus (demande de Bruno). */
@media (max-width: 767px) {
  .b45-footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .b45-footer__tva { order: 1; }
  .b45-footer__bottom-inner > span:last-child { order: 2; }
  .b45-langues { order: 3; justify-content: center; flex-wrap: wrap; font-size: 15px; gap: 14px; padding: 6px 0 2px; }
}

/* Grand écran : le bandeau noir du pied s'aligne sur le panneau central —
   l'œuvre en filigrane des bandes latérales file jusqu'en bas de page au
   lieu d'être coupée net (remarque de Bruno, 23 juillet). */
@media (min-width: 1200px) {
  .b45-footer { width: 100%; max-width: var(--b45-max); margin-left: auto; margin-right: auto; }

  /* Même règle pour TOUTE la colonne de contenu : héro compris, ainsi que
     les bandeaux pleine largeur (événement…) — rien ne coupe le filigrane. */
  main { width: 100%; max-width: var(--b45-max); margin-left: auto; margin-right: auto; }
}

/* ============================================================
   Ajustements WooCommerce
   ============================================================ */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--b45-display); font-size: 17px; color: var(--b45-ink);
}
.woocommerce ul.products li.product .price { color: var(--b45-ink); font-weight: 600; }

/* La boucle boutique rend la carte cartel maison (content-product.php) :
   même grille que .b45-grid, en neutralisant flottants, largeurs en % et
   clearfix de la CSS WooCommerce (chargée avant celle-ci). */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none; }
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Phrase d'introduction sous le titre de la boutique */
.b45-shop-intro { max-width: 560px; color: var(--b45-slate); margin: -8px 0 36px; }

/* Galerie produit à plusieurs photos : miniatures du carrousel sur fond
   sombre (flex-control-thumbs est générée par le slider WooCommerce). */
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  width: calc(25% - 6px);
  float: none;
  margin: 0;
}
.woocommerce div.product div.images .flex-control-thumbs img {
  opacity: 0.5;
  cursor: pointer;
  border: 1px solid transparent;
  transition: opacity 0.15s;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: var(--b45-rule);
}

/* Vidéos de la fiche (champ « Vidéos » du panneau Œuvre) : cadre 16/9,
   plusieurs vidéos empilées */
.b45-video__embed { max-width: 800px; margin: 0 0 24px; }
.b45-video__embed iframe,
.b45-video__embed video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--b45-black);
  border: 0;
}

@media (max-width: 767px) {
  /* Téléphone : une œuvre par ligne, pleine largeur — pas de « petits
     cubes ». Mêmes sélecteurs que la feuille smallscreen de WooCommerce
     (48 % en deux colonnes) pour la surclasser, chargée après elle. */
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product,
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100%;
    float: none;
    margin-right: 0;
    margin-left: 0;
  }
  /* Les grilles maison et la grille boutique passent en une colonne. */
  .b45-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products { grid-template-columns: 1fr; }
}
.woocommerce div.product p.price { color: var(--b45-ink); font-size: 20px; }
.woocommerce div.product .product_title { font-family: var(--b45-display); }

/* Fiche produit : referme les colonnes flottantes image / résumé de
   WooCommerce — sans quoi un résumé plus haut que la page déborde sur
   le pied de page (constaté sur bourg45.com). */
main.b45-wrap { display: flow-root; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product::after { content: ""; display: table; clear: both; }

/* « À découvrir également » (produits liés) : toujours SOUS les colonnes
   flottantes image/résumé — une fiche courte (prix sur demande) laissait
   la section remonter à côté de l'image. */
.woocommerce div.product section.related,
.woocommerce div.product section.up-sells {
  clear: both;
  padding-top: 48px;
}

/* Boutons de paiement express Stripe (Google Pay, Amazon Pay, Link) :
   contenus dans la colonne résumé, largeur raisonnable */
.woocommerce div.product div.summary [id^="wc-stripe"],
.woocommerce div.product div.summary [class*="stripe-express"],
.woocommerce div.product div.summary [class*="payment-request"] {
  max-width: 340px;
  margin: 10px 0;
}
.woocommerce-breadcrumb { color: var(--b45-slate) !important; font-size: 13px; }
.woocommerce-breadcrumb a { color: var(--b45-slate); }
.woocommerce .star-rating, .woocommerce-product-rating { display: none; } /* pas de notation : logique galerie */

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
}

/* 🖋 Filigrane à l'emport : invisible à l'écran, visible à l'impression. */
.b45-filigrane-couche { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
@media print { .b45-filigrane-couche[src] { opacity: 1; } }

/* 🚀 <picture> (double filet WebP) : transparent pour la mise en page. */
picture { display: contents; }

/* ============================================================
   📣 Annonce (CHOXART — Édition de Noël) : le visuel de Bruno —
   carte sombre centrée, logo, carré des créations. Ouverte par
   le navigateur (cache de pages oblige).
   ============================================================ */
.b45-annonce {
  position: fixed; inset: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow: auto;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
}
.b45-annonce.is-visible { opacity: 1; pointer-events: auto; }
.b45-annonce[hidden] { display: none; }
.b45-annonce__carte {
  position: relative; width: 100%; max-width: 420px; margin: auto;
  background: #0c0c0d; color: #ececec;
  border: 1px solid #303032; border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translateY(14px); transition: transform 0.5s ease;
}
.b45-annonce.is-visible .b45-annonce__carte { transform: none; }
.b45-annonce__logo { display: block; width: 64%; max-width: 250px; margin: 30px auto 14px; }
.b45-annonce__carre { display: block; width: calc(100% - 60px); margin: 0 auto; border-radius: 2px; }
.b45-annonce__corps { padding: 22px 32px 32px; }
.b45-annonce .b45-eyebrow { font-size: 10px; letter-spacing: 0.28em; color: #9a9a9e; font-weight: 600; }
.b45-annonce__fermer {
  position: absolute; top: 8px; right: 12px; z-index: 2;
  background: none !important; border: 0 !important;
  color: rgba(236, 236, 236, 0.5) !important; font-size: 26px !important;
  line-height: 1; padding: 6px !important; cursor: pointer;
}
.b45-annonce__fermer:hover { color: #fff !important; }
.b45-annonce__titre { font-family: var(--b45-display); font-size: 24px; line-height: 1.18; font-weight: 300; margin: 12px 0 10px; color: #fff; }
.b45-annonce__texte { font-size: 13.5px; line-height: 1.7; color: rgba(236, 236, 236, 0.68); margin: 0 0 20px; }
.b45-annonce form { display: flex; flex-direction: column; gap: 10px; }
.b45-annonce input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #45454a; border-radius: 2px;
  color: #fff; font-family: var(--b45-body);
  font-size: 14px; padding: 13px 15px; text-align: center; outline: none;
}
.b45-annonce input[type="email"]:focus { border-color: #fff; }
.b45-annonce button[type="submit"] { width: 100%; }
.b45-annonce__hint { font-size: 10.5px; color: rgba(236, 236, 236, 0.42); margin: 13px 0 0; line-height: 1.5; }
.b45-annonce__merci { display: none; font-size: 16px; }
.b45-annonce.is-merci .b45-annonce__merci { display: block; }
.b45-annonce.is-merci .b45-annonce__form { display: none; }
.b45-annonce__continuer { text-align: center; margin: 18px 0 0; }
.b45-annonce__continuer a { color: rgba(236, 236, 236, 0.5); font-size: 12px; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding-bottom: 2px; }
.b45-annonce__continuer a:hover { color: #fff; }
@media (max-height: 760px) {
  .b45-annonce__logo { margin-top: 22px; width: 52%; }
  .b45-annonce__carre { width: calc(100% - 90px); }
  .b45-annonce__corps { padding: 18px 28px 26px; }
}
@media (max-width: 480px) {
  .b45-annonce { padding: 14px; }
  .b45-annonce__corps { padding: 18px 22px 24px; }
}
