/*
 * Mon Équipement Pro — feuille de style principale du thème enfant.
 * Reprend la maquette (variables, classes, mesures) et recolore Storefront.
 *
 * Sommaire
 *   1. Charte (variables)
 *   2. Base : texte, titres, liens, focus, largeur de page
 *   3. Boutons et champs
 *   4. En-tête, menu, barre du bas (téléphone)
 *   5. Accueil
 *   6. Catalogue : familles, rayons, filtres, cartes produit
 *   7. Fiche produit
 *   8. Pages de contenu (prose), Espace PRO
 *   9. Messages WooCommerce, pagination
 *  10. Pied de page
 *  11. Téléphone et tablette
 *
 * Contraste : les petits textes gris posés sur le fond plâtre utilisent --ink-2 (#43443F) ;
 * --ink-3 (#767469) est réservé aux fonds blancs (cartes), où il atteint le niveau AA.
 */

/* ==================================================================
 * 1. Charte
 * ================================================================== */
:root {
	color-scheme: light;
	--plaster: #F6F3ED;
	--plaster-2: #EAE5DB;
	--card: #FFFFFF;
	--ink: #1C1D1B;
	--ink-2: #43443F;
	--ink-3: #767469;
	--line: #DCD6C9;
	--steel: #2C3E46;
	--brand: #34373C;
	--accent: #F2B10A;
	--accent-ink: #16181A;
	--accent-text: #A8760A;
	--accent-sombre: #7A5A05; /* jaune foncé pour les petits textes (contraste AA) */
	--signal: #F2B10A;
	--ok: #2F6B4F;
	--err: #9E2B12;
	--fam-mat: #41606D;
	--fam-out: #C8410D;
	--fam-mac: #1F6F74;
	--fam-pou: #2F6B4F;
	--fam-sec: #A98300;
	--fam-con: #6D5482;
	--radius: 3px;
	--shadow: 0 1px 0 rgba(22, 24, 26, .05), 0 10px 26px -20px rgba(22, 24, 26, .6);
	--display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
	--mono: "IBM Plex Mono", "Courier New", monospace;
}

/* ==================================================================
 * 2. Base
 * ================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	background: var(--plaster);
	color: var(--ink);
	font-family: var(--body);
	font-size: 14px;
	line-height: 1.5;
	overflow-x: hidden;
}
body, button, input, select, optgroup, textarea { font-family: var(--body); color: var(--ink); }
*, *::before, *::after { box-sizing: border-box; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.05;
	letter-spacing: .01em;
	color: var(--ink);
	text-wrap: balance;
	margin: 0 0 .5em;
}
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
h4 { font-size: 16px; }
b, strong { font-weight: 600; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
sup { font-size: .7em; }
img { border-radius: 0; }

/* Focus visible sur tout ce qui se commande au clavier. */
a:focus, input:focus, textarea:focus, button:focus, select:focus, summary:focus { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
.skip-link.screen-reader-text:focus {
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--display);
	text-transform: uppercase;
	font-size: 16px;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	left: 8px;
	top: 8px;
}

.mono { font-family: var(--mono); }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-2);
}

/* Largeur de page : 1240 px, marges de 16 px (comme .wrap de la maquette). */
.col-full {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
	box-sizing: content-box;
}
.site-content { padding-top: 0; }
.content-area,
.right-sidebar .content-area,
.left-sidebar .content-area,
.storefront-full-width-content .content-area {
	width: 100%;
	float: none;
	margin: 0;
}
.site-main { margin-bottom: 0; }
.widget-area { display: none; }
.hentry { margin: 0 0 24px; }

/* Bande « hazard » en haut de page. */
.hazard {
	height: 7px;
	margin: 0 16px;
	background: repeating-linear-gradient(135deg, var(--signal) 0 14px, #5A5548 14px 28px);
}

/* Tableaux : on neutralise le zébrage gris de Storefront. */
table th, table tbody td, table tbody tr:nth-child(2n) td { background-color: transparent; }
table { border-collapse: collapse; }

/* ==================================================================
 * 3. Boutons et champs
 * ================================================================== */
/* Mêmes sélecteurs que Storefront : fond encre, texte plâtre, jaune au survol. */
button, input[type="button"], input[type="reset"], input[type="submit"], .button, .added_to_cart, .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	font-family: var(--display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 15px;
	line-height: 1.1;
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--plaster);
	padding: 9px 16px;
	text-decoration: none;
	text-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .15s, color .15s, border-color .15s;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover,
.button:hover, .added_to_cart:hover, .btn:hover,
button:focus-visible, .button:focus-visible, .btn:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
	text-decoration: none;
}
/* Bouton principal : jaune, encre au survol. */
.btn.accent, .button.alt, button.alt, input[type="submit"].alt,
.single_add_to_cart_button, .checkout-button, #place_order {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}
.btn.accent:hover, .button.alt:hover, button.alt:hover, input[type="submit"].alt:hover,
.single_add_to_cart_button:hover, .checkout-button:hover, #place_order:hover,
.btn.accent:focus-visible, .button.alt:focus-visible, .single_add_to_cart_button:focus-visible {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--plaster);
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.sm { font-size: 13px; padding: 6px 12px; min-height: 36px; }
.btn[disabled], button[disabled], .button.disabled, .button:disabled { opacity: .45; cursor: not-allowed; }
.badge {
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0;
	background: var(--accent);
	color: var(--accent-ink);
	border-radius: 9px;
	padding: 1px 7px;
	text-transform: none;
}

/* Champs : 16 px (le téléphone ne zoome pas pendant la saisie), 44 px de haut. */
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="date"], textarea, select, .input-text {
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--ink);
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 10px 12px;
	min-height: 44px;
	max-width: 100%;
}
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="tel"]:focus,
input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus, select:focus, .input-text:focus {
	background: var(--card);
	border-color: var(--accent);
	outline: 2px solid var(--accent);
	outline-offset: 0;
}
::placeholder { color: var(--ink-3); opacity: 1; }
label { color: var(--ink-2); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--ink); width: 18px; height: 18px; }

/* ==================================================================
 * 4. En-tête
 * ================================================================== */
.site-header {
	background: transparent;
	color: var(--ink);
	padding: 0;
	margin: 0;
	border: 0;
	z-index: 50;
}
.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header, .no-wc-breadcrumb .site-header { margin-bottom: 0; }

.bdbt-entete {
	display: flex;
	align-items: center;
	gap: 14px 16px;
	flex-wrap: wrap;
	padding-top: 14px;
	padding-bottom: 14px;
}
.logo {
	font-family: var(--display);
	font-weight: 700;
	font-size: 26px;
	line-height: 1;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--ink);
	text-decoration: none;
	min-height: 44px;
}
.logo:hover { color: var(--ink); text-decoration: none; }
.logo b { color: var(--accent-text); font-weight: 700; }
.logo .mark { width: 1.4em; height: 1.4em; flex: 0 0 auto; display: block; }
.logo-texte { white-space: nowrap; }

.search {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: var(--radius);
	padding: 0 2px 0 12px;
	min-width: 0;
	min-height: 44px;
	margin: 0;
}
.search:focus-within { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: -1px; }
.search-label { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.search input[type="search"] {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ink);
	font-size: 16px;
	min-width: 0;
	min-height: 40px;
	padding: 8px 0;
	box-shadow: none;
}
.search input[type="search"]:focus { outline: none; border: 0; }
.search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.search button.search-ok {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	min-height: 40px;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--ink-2);
}
.search button.search-ok:hover, .search button.search-ok:focus-visible { background: var(--plaster-2); color: var(--ink); }

.hdr-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.phone {
	font-family: var(--mono);
	font-size: 12.5px;
	color: var(--ink-2);
	white-space: nowrap;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
}
.phone:hover { color: var(--ink); text-decoration: underline; }
.phone .ic { display: none; }
.bdbt-panier .ic { display: none; }
.hdr-right .menu-toggle { display: none; }
.menu-toggle .ic-fermer, .menu-toggle[aria-expanded="true"] .ic-menu { display: none; }
.menu-toggle[aria-expanded="true"] .ic-fermer { display: block; }

/* Menu principal */
nav.main {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	padding-top: 8px;
	padding-bottom: 8px;
}
.menu-principal { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.menu-principal li { position: relative; margin: 0; }
.menu-principal a {
	display: block;
	font-family: var(--display);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 16px;
	letter-spacing: .02em;
	color: var(--ink-2);
	padding: 6px 11px;
	border-radius: var(--radius);
	text-decoration: none;
}
.menu-principal a:hover { background: var(--plaster-2); color: var(--ink); }
.menu-principal .current-menu-item > a, .menu-principal .current_page_item > a,
.menu-principal .current-section > a, .menu-principal .current-menu-ancestor > a,
.menu-principal a[aria-current="page"] {
	color: var(--ink);
	box-shadow: inset 0 -3px 0 var(--accent);
}
.menu-principal .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 230px;
	list-style: none;
	margin: 0;
	padding: 6px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.menu-principal li:hover > .sub-menu, .menu-principal li:focus-within > .sub-menu { display: block; }

/* Barre de raccourcis du bas : téléphone uniquement (voir section 11). */
.bdbt-barre-bas { display: none; }

/* ==================================================================
 * 5. Accueil
 * ================================================================== */
.bdbt-accueil { padding-bottom: 8px; }
.hero {
	position: relative;
	margin: 18px 0 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--card);
}
/* Bannière recadrée en 21/9 : le titre imprimé dans l'image (en haut à droite) sort du cadre. */
.hero img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
	object-position: 50% 66%;
}
.hero .scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(246, 243, 237, .97) 0%, rgba(246, 243, 237, .93) 32%, rgba(246, 243, 237, .55) 54%, rgba(246, 243, 237, 0) 76%);
}
.hero .inner { position: absolute; inset: 0; display: flex; align-items: center; }
.hero .copy {
	width: min(560px, 54%);
	padding: 0 clamp(18px, 3.4vw, 44px);
	color: var(--ink);
	display: grid;
	gap: 14px;
}
.hero .copy p { margin: 0; }
.hero .copy .eyebrow { color: var(--accent-sombre); letter-spacing: .18em; }
.hero h1 { font-size: clamp(26px, 4.1vw, 50px); color: var(--ink); margin: 0; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero .sub { font-size: clamp(13px, 1.15vw, 16px); color: var(--ink-2); max-width: 44ch; }
.hero .cta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero .reassure {
	display: flex;
	gap: 8px 22px;
	flex-wrap: wrap;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: .08em;
	color: var(--ink-2);
	text-transform: uppercase;
	padding-top: 6px;
	border-top: 1px solid var(--line);
}

.band {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	border: 1px solid var(--line);
	border-top: 0;
	background: var(--card);
}
.band div { padding: 14px 16px; border-right: 1px solid var(--line); }
.band div:last-child { border-right: 0; }
.band strong { font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; display: block; letter-spacing: .02em; }
.band p { font-size: 12.5px; color: var(--ink-3); margin: 3px 0 0; }

section.blk { padding: 32px 0 8px; }
.blk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 16px; }
.blk-head h2 { font-size: 26px; margin: 0; }
.blk-cta { margin: 16px 0 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(212px, 1fr)); gap: 14px; }
.fcard {
	border: 1px solid var(--line);
	border-top: 4px solid var(--steel);
	background: var(--card);
	border-radius: var(--radius);
	padding: 15px;
	text-align: left;
	color: inherit;
	display: grid;
	gap: 7px;
	align-content: start;
	text-decoration: none;
}
a.fcard:hover { box-shadow: var(--shadow); color: inherit; }
a.fcard:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.fcard h3 { font-size: 19px; margin: 0; }
.fcard p { font-size: 13px; color: var(--ink-2); margin: 0; }
.fcard .n { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: .05em; }
/* Tuile famille avec photo (image de la catégorie) : la photo occupe le haut de la carte. */
.fcard-photo { display: block; margin: -15px -15px 6px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plaster-2); border-bottom: 1px solid var(--line); }
.fcard-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
a.fcard--photo:hover .fcard-photo img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .fcard-photo img { transition: none; } }

/* ==================================================================
 * 6. Catalogue
 * ================================================================== */
.bdbt-catalogue { padding-bottom: 8px; }

/* Barre des familles */
nav.fams { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 0 12px; }
nav.fams a {
	font-family: var(--display);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: .02em;
	background: var(--card);
	border: 1px solid var(--line);
	border-left: 5px solid var(--f, var(--ink));
	color: var(--ink-2);
	padding: 7px 12px;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	white-space: nowrap;
}
nav.fams a:hover { color: var(--ink); box-shadow: var(--shadow); }
nav.fams a .n { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-transform: none; }
nav.fams a.is-active { background: var(--f, var(--ink)); border-color: var(--f, var(--ink)); color: var(--ft, #fff); }
nav.fams a.is-active .n { color: var(--ft, #fff); opacity: .85; }

/* Carrousel des rayons */
.carousel { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 20px; }
.carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.carousel-titre { font-size: 17px; color: var(--ink-2); letter-spacing: .08em; margin: 0; }
.carousel-nav { display: flex; gap: 6px; }
.carousel-nav[hidden] { display: none; }
.carousel .carousel-nav button {
	width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	font-family: var(--body);
	font-size: 18px;
	line-height: 1;
}
.carousel .carousel-nav button:hover { background: var(--accent); border-color: var(--accent); }
.carousel .carousel-nav button[disabled] { opacity: .3; background: var(--card); border-color: var(--line); }
.track {
	position: relative;
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x proximity;
	list-style: none;
	margin: 0;
	padding: 2px 2px 8px;
	cursor: grab;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}
.track > li { flex: 0 0 162px; scroll-snap-align: start; margin: 0; display: flex; }
.track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.track.dragging * { pointer-events: none; }
.ray-card {
	flex: 1;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	-webkit-user-drag: none;
	min-height: 84px;
}
.ray-card:hover { box-shadow: var(--shadow); color: inherit; }
.ray-card .c { display: block; height: 5px; flex: 0 0 5px; }
.ray-card .b { padding: 10px; display: grid; gap: 5px; flex: 1; align-content: space-between; }
.ray-card strong { font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.08; text-transform: uppercase; }
.ray-card .b > span { font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: .05em; }
.ray-card[aria-current="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.ray-card:focus-visible { outline-offset: -2px; }

/* Colonne de filtres + résultats */
.layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 4px 0 40px; align-items: start; }
.cat { min-width: 0; }
.bdbt-filtres { position: sticky; top: 12px; display: grid; gap: 18px; }
.filtre > summary { list-style: none; cursor: pointer; }
.filtre > summary::-webkit-details-marker { display: none; }
.filtre-titre { font-size: 15px; color: var(--ink-2); letter-spacing: .08em; margin: 0 0 8px; }
.filters { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filters li { margin: 0; }
.filters a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	width: 100%;
	color: var(--ink-2);
	padding: 5px 8px;
	border-radius: var(--radius);
	font-size: 13.5px;
	text-decoration: none;
	min-height: 32px;
}
.filters a:hover { background: var(--plaster-2); color: var(--ink); }
.filters a[aria-current] { background: var(--plaster-2); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.filters .n { font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); font-weight: 400; }

.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.result-head h1 { font-size: 24px; margin: 0; }
.result-head .count { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); letter-spacing: .06em; }
.result-tri { margin-left: auto; }
.result-tri .woocommerce-ordering { margin: 0; float: none; }
.result-tri select { min-height: 40px; padding: 6px 10px; font-size: 14px; }
.term-description, .page-description { color: var(--ink-2); max-width: 74ch; margin: 0 0 16px; font-size: 13.5px; }
.term-description p { margin: 0 0 8px; }

/* Grille de cartes produit (préfixe #page : passe devant les largeurs en % de Storefront) */
#page ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
	gap: 14px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
#page ul.products::before, #page ul.products::after { display: none; }
#page ul.products li.product {
	width: auto;
	float: none;
	margin: 0;
	padding: 0;
	clear: none;
	text-align: left;
	font-size: 14px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
}
#page ul.products li.product:hover { box-shadow: var(--shadow); }
.prod-lien { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.prod-lien:hover { color: inherit; }
.prod-lien:hover .woocommerce-loop-product__title { text-decoration: underline; }
.prod-lien:focus-visible { outline-offset: -3px; }

.tile {
	aspect-ratio: 1 / 1;
	max-width: 100%;
	position: relative;
	background: var(--plaster);
	background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, .025) 0 8px, transparent 8px 16px);
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid var(--line);
	overflow: hidden;
}
#page .tile .ph-img, .tile .ph-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--card);
	z-index: 2;
	margin: 0;
	max-width: none;
}
.tile .band2 {
	position: relative;
	z-index: 3;
	display: block;
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 5px 8px;
	color: var(--ft, #fff);
	background: var(--f, var(--steel));
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tile .inner { position: relative; z-index: 3; flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.tile .chip {
	align-self: flex-start;
	background: var(--ink);
	color: var(--plaster);
	font-family: var(--display);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: .04em;
	padding: 2px 8px;
}
.tile .txt {
	font-family: var(--display);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.12;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tile .foot { position: relative; z-index: 3; display: block; font-family: var(--mono); font-size: 9.5px; color: var(--ink-2); padding: 0 10px 8px; letter-spacing: .04em; }
#page .tile .onsale, .tile .onsale {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 4;
	margin: 0;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .06em;
	padding: 2px 8px;
	border-radius: 9px;
	text-transform: uppercase;
}

.prod-body { padding: 11px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ref { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.ref b { color: var(--ink-2); font-weight: 500; }
#page ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--display);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.12;
	text-transform: none;
	letter-spacing: 0;
	margin: 0;
	padding: 0;
	color: var(--ink);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
#page ul.products li.product .woocommerce-loop-product__title.screen-reader-text { display: block; position: absolute !important; }
.stock { font-size: 11.5px; color: var(--ok); display: flex; align-items: center; gap: 6px; margin: 0; }
.stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: 0 0 auto; }
.stock.out { color: var(--ink-3); }
.stock.out i { background: var(--ink-3); }
#page ul.products li.product .price, .prod .price {
	margin: auto 0 0;
	display: flex;
	align-items: baseline;
	gap: 4px 7px;
	flex-wrap: wrap;
	color: var(--ink);
	font-weight: 400;
}
.price .ht { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.price .ht .woocommerce-price-suffix { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-3); }
.price .ht del { font-size: .62em; opacity: .7; font-weight: 600; margin-right: 4px; }
.price .ht ins { text-decoration: none; background: none; font-weight: 700; }
.price .ttc { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.price .ttc .woocommerce-Price-amount { font-weight: 400; }
.draft {
	margin-top: auto;
	font-family: var(--mono);
	font-size: 10.5px;
	color: var(--ink-3);
	border: 1px dashed var(--line);
	padding: 3px 6px;
	border-radius: 2px;
	align-self: flex-start;
}
.empty { border: 1px dashed var(--line); padding: 40px 20px; text-align: center; color: var(--ink-2); border-radius: var(--radius); display: grid; gap: 12px; justify-items: center; }
.empty p { margin: 0; }

/* ==================================================================
 * 7. Fiche produit
 * ================================================================== */
#page div.product {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 28px 36px;
	align-items: start;
	padding-top: 20px;
}
#page div.product > * { grid-column: 1 / -1; }
#page div.product .woocommerce-product-gallery { grid-column: 1; width: auto; float: none; margin: 0; }
#page div.product .summary { grid-column: 2; width: auto; float: none; margin: 0; }
#page div.product > .onsale {
	position: absolute;
	top: 32px;
	left: 12px;
	z-index: 5;
	margin: 0;
	border: 0;
	background: var(--accent);
	color: var(--accent-ink);
	font-family: var(--mono);
	font-size: 11px;
	padding: 3px 9px;
	border-radius: 9px;
}

/* Galerie */
.woocommerce-product-gallery {
	position: relative;
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: var(--radius);
	overflow: hidden;
}
.woocommerce-product-gallery .woocommerce-product-gallery__image img { margin: 0; }
#page .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	padding: 6px;
	margin: 0;
	border-top: 1px solid var(--line);
	list-style: none;
}
#page .woocommerce-product-gallery .flex-control-thumbs li { width: auto; float: none; margin: 0; }
#page .woocommerce-product-gallery .flex-control-thumbs img {
	border: 1px solid var(--line);
	border-radius: 2px;
	opacity: .75;
	cursor: pointer;
}
#page .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
#page .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.woocommerce-product-gallery__trigger {
	background: var(--card) !important;
	border: 1px solid var(--line);
	border-radius: var(--radius) !important;
	z-index: 6 !important;
}
.bdbt-visuel-attente .tile { border-bottom: 0; }
.tile--grande { aspect-ratio: 16 / 9; }
.tile--grande .chip { font-size: 16px; padding: 3px 10px; }
.tile--grande .band2 { font-size: 10px; padding: 6px 10px; }
.tile--grande .foot { font-size: 10.5px; padding: 0 12px 10px; }

/* Résumé */
.bdbt-ariane ol {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0 6px;
	font-family: var(--mono);
	font-size: 10.5px;
	color: var(--ink-2);
	letter-spacing: .02em;
}
.bdbt-ariane li { margin: 0; }
.bdbt-ariane li + li::before { content: "›"; margin-right: 6px; color: var(--ink-3); }
.bdbt-ariane a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.bdbt-ariane a:hover { color: var(--ink); text-decoration: underline; }
#page div.product .product_title {
	font-family: var(--body);
	text-transform: none;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
	margin: 0 0 12px;
}
.woocommerce-product-details__short-description { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; }
.woocommerce-product-details__short-description p { margin: 0 0 8px; }
.woocommerce-product-rating { margin: 0 0 10px; }

.pricebox {
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	background: var(--card);
	padding: 14px;
	margin: 0 0 16px;
	border-radius: var(--radius);
}
#page div.product .pricebox .price, #page .pricebox .price {
	font-family: var(--display);
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
	color: var(--ink);
	margin: 0;
}
.pricebox .price .woocommerce-price-suffix { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--ink-2); }
.pricebox .price del { font-size: .55em; opacity: .7; }
.pricebox .price ins { text-decoration: none; background: none; }
.pricebox .alt { font-family: var(--mono); font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
.pricebox .alt .woocommerce-Price-amount { font-weight: 400; }
.pricebox--vide { border-left-color: var(--ink-3); }
#page .pricebox--vide .price { font-size: 24px; }
.summary .bdb.bdb-degressif { margin: 0 0 16px; }

/* Quantité + ajout au panier */
#page div.product form.cart { margin: 0 0 20px; padding: 0; }
#page div.product form.cart:not(.variations_form):not(.grouped_form),
#page div.product .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 8px;
	align-items: stretch;
	flex-wrap: wrap;
}
#page div.product form.cart .quantity { float: none; margin: 0; }
#page div.product form.cart .quantity .qty {
	width: 84px;
	min-height: 48px;
	font-family: var(--mono);
	font-size: 16px;
	text-align: center;
	background: var(--plaster);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
#page div.product form.cart .single_add_to_cart_button { float: none; flex: 1 1 180px; min-height: 48px; font-size: 17px; }
#page div.product form.cart table.variations { margin: 0 0 12px; }
#page div.product form.cart table.variations th, #page div.product form.cart table.variations td { padding: 6px 8px 6px 0; }
.stock.in-stock, .stock.out-of-stock, .stock.available-on-backorder, p.stock { font-size: 12.5px; }

/* Caractéristiques */
.bdbt-specs { margin: 0 0 14px; }
.specs-titre { font-size: 15px; letter-spacing: .06em; margin: 0 0 6px; }
table.specs { width: 100%; border-collapse: collapse; font-size: 13px; margin: 0; border: 0; }
#page table.specs th, #page table.specs td {
	text-align: left;
	padding: 7px 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	background: transparent;
}
#page table.specs th { color: var(--ink-2); font-weight: 500; width: 46%; padding-right: 10px; }
table.specs .mono { font-size: 12.5px; }
.note { font-size: 12.5px; color: var(--ink-2); border-left: 3px solid var(--signal); padding-left: 10px; margin: 0 0 12px; }

/* Onglets (description, avis) à la manière des onglets de la maquette */
#page .woocommerce-tabs { padding: 8px 0 0; border-top: 1px solid var(--line); }
#page .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
	width: auto;
	float: none;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border: 0;
	border-bottom: 1px solid var(--line);
}
#page .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; position: static; }
#page .woocommerce-tabs ul.tabs li::after, #page .woocommerce-tabs ul.tabs li::before { display: none; }
#page .woocommerce-tabs ul.tabs li a {
	display: block;
	font-family: var(--display);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 16px;
	color: var(--ink-2);
	padding: 10px 12px;
	text-decoration: none;
}
#page .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
#page .woocommerce-tabs .panel { width: auto; float: none; margin: 0; max-width: 80ch; color: var(--ink-2); }
#page .woocommerce-tabs .panel h2 { font-size: 21px; }

/* Produits apparentés, ventes additionnelles */
#page .related.products > h2, #page .upsells.products > h2, #page .cross-sells > h2 { font-size: 26px; margin: 8px 0 16px; text-align: left; }

/* Barre d'achat collante de Storefront */
.storefront-sticky-add-to-cart { background: var(--card); border-bottom: 3px solid var(--accent); box-shadow: var(--shadow); color: var(--ink); }
.storefront-sticky-add-to-cart__content-title { font-family: var(--body); }
.storefront-sticky-add-to-cart__content-title strong { font-weight: 600; }
.storefront-sticky-add-to-cart__content-button { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ==================================================================
 * 8. Pages de contenu (prose) et Espace PRO
 * ================================================================== */
.hentry .entry-header { border: 0; padding: 0; margin: 0 0 14px; }
#page .hentry .entry-header { text-align: left; max-width: none; margin: 0 0 18px; padding: 0; }
.hentry .entry-header .entry-title, .page .entry-title { font-size: 32px; margin: 0; }
.site-main > .hentry:first-child, .site-main > article:first-child { padding-top: 24px; }

article.prose { max-width: 74ch; padding: 24px 0; }
.prose .entry-content > * { margin-top: 0; margin-bottom: 14px; }
.prose .entry-content > *:last-child { margin-bottom: 0; }
.prose h2 { font-size: 21px; margin: 26px 0 10px; }
.prose h3 { font-size: 17px; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 14.5px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose .lead { font-size: 16px; color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; }
.prose blockquote, .prose .wp-block-quote {
	margin: 0 0 14px;
	border-left: 3px solid var(--accent);
	padding: 0 0 0 14px;
	color: var(--ink-2);
	font-style: normal;
	font-weight: 400;
	font-size: 14.5px;
}
.prose blockquote p { margin: 0; font-style: normal; }
.prose blockquote p + p { margin-top: 6px; }
.prose .note { font-size: 12.5px; }

/* Tableaux (bloc Tableau) = table.tbl de la maquette */
.prose .wp-block-table { overflow-x: auto; margin: 0 0 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 0; border: 0; }
.prose .wp-block-table thead { border-bottom: 0; }
#page .prose table th, #page .prose table td {
	text-align: left;
	padding: 9px 10px;
	border: 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	background: transparent;
	color: var(--ink-2);
}
#page .prose table thead th {
	background: var(--plaster-2);
	color: var(--ink);
	font-family: var(--display);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	border-bottom: 2px solid var(--accent);
}

/* FAQ (bloc Détails) */
.prose .wp-block-details, .prose details {
	border: 1px solid var(--line);
	background: var(--card);
	border-radius: var(--radius);
	padding: 12px 14px;
	margin: 0 0 8px;
}
.prose details summary { font-weight: 600; cursor: pointer; color: var(--ink); font-size: 14.5px; }
.prose details > :not(summary) { margin: 8px 0 0; color: var(--ink-2); }

/* Boutons (bloc Boutons) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-block-button .wp-block-button__link, .wp-block-button__link.wp-element-button {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--display);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 16px;
	line-height: 1.1;
	background: var(--ink);
	color: var(--plaster);
	border: 1px solid var(--ink);
	border-radius: var(--radius);
	padding: 10px 18px;
	text-decoration: none;
}
.wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus-visible {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--accent-ink);
}
.wp-block-button.btn-accent .wp-block-button__link { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wp-block-button.btn-accent .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: var(--plaster); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }

/* Espace PRO : l'extension fournit ses styles (.bdb) ; le thème règle seulement l'espacement. */
.bdbt-espace-pro .site-main > article { padding-top: 24px; }
.bdbt-page-pro .entry-content > .bdb { max-width: none; }
.bdbt-espace-pro .bdb a:not(.bdb-btn):not(.bdb-ligne) { text-decoration: underline; text-underline-offset: 2px; }
.bdb-lien-devis a { color: var(--ink); font-weight: 600; }
/* Formulaire PRO : un champ voisin d'un champ avec aide sur deux lignes ne s'étire pas. */
.bdb .bdb-form .bdb-champ { align-content: start; }

/* ==================================================================
 * 9. Messages WooCommerce, pagination
 * ================================================================== */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--line);
	border-left: 4px solid var(--ok);
	border-radius: var(--radius);
	padding: 12px 14px 12px 42px;
	margin: 0 0 16px;
	list-style: none;
	position: relative;
}
.woocommerce-info, .woocommerce-noreviews, p.no-comments { border-left-color: var(--accent); }
.woocommerce-error { border-left-color: var(--err); }
.woocommerce-message::before { color: var(--ok); }
.woocommerce-info::before { color: var(--accent-sombre); }
.woocommerce-error::before { color: var(--err); }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color: var(--ink); text-decoration: underline; }
.woocommerce-message a.button, .woocommerce-info a.button, .woocommerce-error a.button { text-decoration: none; color: var(--plaster); }
.woocommerce-message a.button:hover, .woocommerce-info a.button:hover { color: var(--accent-ink); }
.woocommerce-store-notice, p.demo_store { background: var(--ink); color: var(--plaster); }

.woocommerce-pagination { text-align: left; }
.woocommerce-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-numbers li { border: 0; margin: 0; float: none; }
.woocommerce-pagination .page-numbers li .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 10px;
	border: 1px solid var(--line);
	background: var(--card);
	color: var(--ink);
	border-radius: var(--radius);
	font-family: var(--mono);
	font-size: 13px;
	text-decoration: none;
}
.woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--ink); color: var(--plaster); border-color: var(--ink); }
.woocommerce-pagination .page-numbers li a.page-numbers:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ==================================================================
 * 10. Pied de page
 * ================================================================== */
.site-footer { background: transparent; color: var(--ink); padding: 0; margin: 30px 0 0; }
.site-footer a { color: var(--ink-2); }
.bdbt-pied {
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	margin: 0 0 24px;
}
.bdbt-pied .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 20px; padding: 24px; }
.bdbt-pied .logo { font-size: 20px; min-height: 0; }
#page .bdbt-pied a.logo, #page .bdbt-pied a.logo:hover { text-decoration: none; color: var(--ink); }
.pied-titre { font-size: 15px; letter-spacing: .06em; color: var(--ink-3); margin: 0; }
.bdbt-pied ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13px; }
.bdbt-pied ul li { margin: 0; }
.bdbt-pied ul a { color: var(--ink-2); text-decoration: none; }
.bdbt-pied ul a:hover { color: var(--ink); text-decoration: underline; }
.bdbt-pied .addr { font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink-2); margin: 8px 0 0; }
.bdbt-pied .addr a { color: var(--ink-2); text-decoration: none; }
.bdbt-pied .addr a:hover { text-decoration: underline; }
.bdbt-pied .legal {
	border-top: 1px solid var(--line);
	padding: 12px 24px;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--ink-2);
	background: var(--plaster-2);
	display: flex;
	gap: 8px 16px;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.bdbt-pied .legal-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 11px; }
.bdbt-pied .legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.bdbt-pied .legal a:hover { color: var(--ink); }
.bdbt-pied .legal-renoncer { font-weight: 500; }
.bdbt-pied .legal-mentions { margin: 0; display: flex; gap: 4px 16px; flex-wrap: wrap; }

/* ==================================================================
 * 11. Téléphone et tablette
 * ================================================================== */
@media (pointer: coarse) {
	/* Zones tactiles de 44 px minimum. */
	.filters a, .menu-principal a, .bdbt-pied ul a, .bdbt-pied .legal a, .bdbt-ariane a { min-height: 44px; display: inline-flex; align-items: center; }
	.filters a { display: flex; }
	.carousel .carousel-nav button { width: 44px; height: 44px; }
	nav.fams a { min-height: 44px; }
	.btn.sm { min-height: 44px; }
}

@media (max-width: 1100px) and (min-width: 781px) {
	.hero img { aspect-ratio: 2 / 1; }
}

@media (max-width: 820px) {
	.layout { grid-template-columns: 1fr; gap: 14px; }
	.bdbt-filtres { position: static; gap: 8px; }
	.filtre { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
	.filtre > summary { display: flex; align-items: center; justify-content: space-between; padding: 0 12px; min-height: 44px; }
	.filtre > summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--ink-2); }
	.filtre[open] > summary::after { content: "−"; }
	.filtre-titre { margin: 0; }
	.filtre .filters { padding: 0 6px 8px; }
	.filters a { min-height: 44px; }
	.bdbt-pied .cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
	/* En-tête compact : logo, panier, menu ; recherche pleine largeur dessous. */
	.bdbt-entete { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
	.logo { font-size: clamp(18px, 5.4vw, 22px); flex: 1 1 auto; min-width: 0; }
	.search { order: 5; flex: 1 1 100%; }
	.hdr-right { gap: 8px; flex-wrap: nowrap; }
	.phone { display: none; }
	.bdbt-panier { padding: 0 12px; }
	.bdbt-panier .ic { display: block; }
	.bdbt-panier-mot {
		position: absolute !important;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}
	.hdr-right .menu-toggle { display: inline-flex; padding: 0 12px; }

	/* Menu replié (seulement si JavaScript fonctionne). */
	nav.main { padding-top: 0; padding-bottom: 0; border-bottom: 0; }
	.bdbt-js nav.main { display: none; }
	.bdbt-js nav.main.is-open { display: block; border-bottom: 1px solid var(--line); }
	.menu-principal { flex-direction: column; gap: 0; }
	.menu-principal a { font-size: 18px; padding: 10px 6px; min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); border-radius: 0; }
	.menu-principal li:last-child > a { border-bottom: 0; }
	.menu-principal .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; background: transparent; min-width: 0; }

	/* Barre de raccourcis en bas d'écran. */
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
	body.woocommerce-checkout { padding-bottom: 0; }
	.bdbt-barre-bas {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		background: var(--card);
		border-top: 3px solid var(--accent);
		box-shadow: 0 -6px 18px -12px rgba(22, 24, 26, .5);
		padding-bottom: env(safe-area-inset-bottom, 0px);
	}
	.bdbt-barre-bas a {
		position: relative;
		flex: 1 1 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		min-height: 58px;
		color: var(--ink-2);
		text-decoration: none;
		font-family: var(--display);
		font-weight: 600;
		text-transform: uppercase;
		font-size: 12.5px;
		letter-spacing: .04em;
	}
	.bdbt-barre-bas a:hover, .bdbt-barre-bas a:active { background: var(--plaster); color: var(--ink); }
	.bdbt-barre-bas a:focus-visible { outline-offset: -3px; }
	.bdbt-barre-bas .ic { width: 22px; height: 22px; }
	.bdbt-barre-bas .badge { position: absolute; top: 5px; left: calc(50% + 6px); }
	/* La barre d'achat collante de Storefront reste en haut : pas de conflit. */

	/* Héros empilé : image puis texte sur fond blanc. */
	.hero .inner { position: static; }
	.hero .scrim { display: none; }
	.hero img { aspect-ratio: 2.05 / 1; object-position: 50% 100%; }
	.hero .copy { width: auto; background: var(--card); padding: 18px 16px; }
	.hero .sub { max-width: none; }
	.hero .cta .btn { flex: 1 1 auto; }

	.blk-head h2 { font-size: 23px; }

	/* Familles : une ligne qui défile au doigt. */
	nav.fams { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 12px 16px; scrollbar-width: none; }
	nav.fams::-webkit-scrollbar { display: none; }
	nav.fams a { min-height: 44px; }
	.carousel .carousel-nav button { width: 44px; height: 44px; }

	/* Fiche produit sur une colonne. */
	#page div.product { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 12px; }
	#page div.product .woocommerce-product-gallery, #page div.product .summary { grid-column: 1; }
	#page div.product .pricebox .price { font-size: 32px; }
	.bdbt-ariane a { min-height: 44px; display: inline-flex; align-items: center; }

	.result-tri { margin-left: 0; width: 100%; }
	.result-tri select { width: 100%; min-height: 44px; font-size: 16px; }

	.hentry .entry-header .entry-title, .page .entry-title { font-size: 28px; }
	.bdbt-pied ul a { display: inline-flex; align-items: center; min-height: 40px; }
	.bdbt-pied .legal { padding: 12px 16px; }
	.bdbt-pied .legal a { display: inline-flex; align-items: center; min-height: 40px; }
	.bdbt-pied .cols { padding: 20px 16px; }
}

@media (max-width: 560px) {
	/* Deux cartes par ligne : on voit plus de références sans défiler. */
	#page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.prod-body { padding: 9px; gap: 6px; }
	.tile .inner { padding: 8px; gap: 6px; }
	.tile .txt { font-size: 15px; -webkit-line-clamp: 4; }
	.tile .chip { font-size: 12px; }
	.tile .foot { padding: 0 8px 6px; }
	#page ul.products li.product .woocommerce-loop-product__title { font-size: 15px; }
	.price .ht { font-size: 20px; }
	.band div { border-right: 0; border-bottom: 1px solid var(--line); }
	.band div:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
	.bdbt-pied .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.track { scroll-behavior: auto; }
	* { transition: none !important; }
}
