/*
Theme Name: BioDades
Theme URI: https://biodades.ma
Author: BioDades
Author URI: https://biodades.ma
Description: Thème WooCommerce sur-mesure pour la vente de miel bio marocain. Diaporama d'accueil, carrousels produits, panier latéral, aperçu rapide et pages boutique entièrement habillées.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biodades
Tags: e-commerce, woocommerce, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Jetons de design
   ====================================================================== */

:root {
	--bd-honey: #dfa119;
	--bd-honey-600: #c0820c;
	--bd-honey-700: #8f6206;
	--bd-amber: #f7c85a;
	--bd-amber-soft: #fbe3ad;
	--bd-cream: #fdf6ea;
	--bd-cream-2: #f6e8d1;
	--bd-ink: #22160b;
	--bd-ink-2: #3a2a18;
	--bd-muted: #7b6752;
	--bd-line: #ebdcc3;
	--bd-white: #ffffff;
	--bd-green: #5a7247;
	--bd-red: #b4442f;

	--bd-radius: 18px;
	--bd-radius-sm: 10px;
	--bd-radius-lg: 28px;
	--bd-pill: 999px;

	--bd-shadow-sm: 0 8px 20px -14px rgba(58, 42, 24, .5);
	--bd-shadow: 0 20px 44px -26px rgba(58, 42, 24, .45);
	--bd-shadow-lg: 0 36px 80px -36px rgba(58, 42, 24, .5);

	--bd-container: 1320px;
	--bd-gutter: 24px;
	--bd-header-h: 78px;

	--bd-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
	--bd-serif: "Fraunces", "Iowan Old Style", Georgia, serif;

	--bd-ease: cubic-bezier(.22, .61, .36, 1);

	--bd-comb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'%3E%3Cg fill='none' stroke='%23dfa119' stroke-opacity='.28' stroke-width='1.4'%3E%3Cpath d='M28 1 51 14.5v27L28 55 5 41.5v-27z'/%3E%3Cpath d='M0 49l5 2.9v27L0 81.8M56 49l-5 2.9v27l5 2.9'/%3E%3Cpath d='M28 49l23 13.5v27L28 103 5 89.5v-27z'/%3E%3C/g%3E%3C/svg%3E");
}

/* =========================================================================
   2. Réinitialisation et base
   ====================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bd-white);
	color: var(--bd-ink-2);
	font-family: var(--bd-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.bd-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
	margin: 0 0 .5em;
	color: var(--bd-ink);
	font-family: var(--bd-serif);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--bd-honey-700); text-decoration: none; transition: color .25s var(--bd-ease); }
a:hover { color: var(--bd-ink); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
	outline: 2px solid var(--bd-honey);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.bd-skip {
	position: absolute;
	top: -60px; left: 16px;
	z-index: 999;
	padding: 10px 18px;
	background: var(--bd-ink);
	color: #fff;
	border-radius: var(--bd-pill);
	transition: top .2s;
}
.bd-skip:focus { top: 12px; color: #fff; }

.bd-container {
	width: 100%;
	max-width: var(--bd-container);
	margin-inline: auto;
	padding-inline: var(--bd-gutter);
}

.bd-section { padding: clamp(56px, 7vw, 104px) 0; }
.bd-site { overflow: clip; }

/* Trame alvéolée décorative */
.bd-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	background:
		var(--bd-comb),
		linear-gradient(140deg, var(--bd-amber-soft), var(--bd-cream-2) 45%, var(--bd-amber) 130%);
	background-size: 56px 96px, cover;
}

/* =========================================================================
   3. Éléments communs
   ====================================================================== */

.bd-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 14px;
	color: var(--bd-honey-700);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
}
.bd-kicker::before {
	content: "";
	width: 26px; height: 1px;
	background: currentColor;
	opacity: .6;
}
.bd-kicker--light { color: var(--bd-amber); }

.bd-sechead { margin-bottom: 44px; max-width: 640px; }
.bd-sechead--center { margin-inline: auto; text-align: center; }
.bd-sechead--center .bd-kicker::after {
	content: "";
	width: 26px; height: 1px;
	background: currentColor;
	opacity: .6;
}
.bd-sechead__title { font-size: clamp(28px, 3.6vw, 46px); }
.bd-sechead__text { color: var(--bd-muted); margin-bottom: 0; }

.bd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 30px;
	border: 1px solid transparent;
	border-radius: var(--bd-pill);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1;
	transition: all .3s var(--bd-ease);
}
.bd-btn .bd-icon { transition: transform .3s var(--bd-ease); }
.bd-btn:hover .bd-icon { transform: translateX(4px); }

.bd-btn--honey { background: var(--bd-honey); color: #fff; box-shadow: var(--bd-shadow-sm); }
.bd-btn--honey:hover { background: var(--bd-ink); color: #fff; }

.bd-btn--dark { background: var(--bd-ink); color: #fff; }
.bd-btn--dark:hover { background: var(--bd-honey); color: #fff; }

.bd-btn--outline { background: transparent; border-color: var(--bd-line); color: var(--bd-ink); }
.bd-btn--outline:hover { background: var(--bd-ink); border-color: var(--bd-ink); color: #fff; }

.bd-btn--ghost { background: var(--bd-cream); color: var(--bd-ink); }
.bd-btn--ghost:hover { background: var(--bd-ink); color: #fff; }

.bd-btn--block { width: 100%; }

.bd-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bd-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.bd-link span { box-shadow: inset 0 -1px 0 currentColor; padding-bottom: 2px; }
.bd-link:hover { color: var(--bd-honey-700); }
.bd-link:hover .bd-icon { transform: translateX(4px); }
.bd-link .bd-icon { transition: transform .3s var(--bd-ease); }

.bd-iconbtn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--bd-pill);
	color: var(--bd-ink);
	transition: background .25s, color .25s;
}
.bd-iconbtn:hover { background: var(--bd-cream); color: var(--bd-honey-700); }
.bd-iconbtn--round { background: #fff; box-shadow: var(--bd-shadow-sm); }

.bd-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-pill);
	color: var(--bd-ink);
	transition: all .3s var(--bd-ease);
}
.bd-arrow:hover { background: var(--bd-ink); border-color: var(--bd-ink); color: #fff; }
.bd-arrow:disabled, .bd-arrow.swiper-button-disabled { opacity: .35; pointer-events: none; }

.bd-badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: var(--bd-pill);
	background: var(--bd-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1;
}
.bd-badge--sale { background: var(--bd-red); }
.bd-badge--new { background: var(--bd-honey); }
.bd-badge--out { background: var(--bd-muted); }

.bd-dots { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.bd-dots .swiper-pagination-bullet {
	width: 8px; height: 8px;
	background: var(--bd-line);
	opacity: 1;
	border-radius: var(--bd-pill);
	transition: all .3s var(--bd-ease);
}
.bd-dots .swiper-pagination-bullet-active { width: 28px; background: var(--bd-honey); }

/* =========================================================================
   4. En-tête
   ====================================================================== */

.bd-topbar {
	background: var(--bd-ink);
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
}
.bd-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
}
.bd-topbar__msg { flex: 1; text-align: center; }
.bd-topbar__msg p { margin: 0; letter-spacing: .02em; }
.bd-topbar__contact { display: flex; align-items: center; gap: 18px; }
.bd-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: rgba(255, 255, 255, .82);
}
.bd-topbar a:hover { color: var(--bd-amber); }

.bd-social { display: flex; gap: 6px; }
.bd-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: var(--bd-pill);
	background: rgba(255, 255, 255, .08);
	color: inherit;
	transition: all .25s var(--bd-ease);
}
.bd-social__link:hover { background: var(--bd-honey); color: #fff; }
.bd-social--tiny .bd-social__link { width: 28px; height: 28px; background: transparent; }

.bd-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--bd-line);
	transition: box-shadow .3s, transform .3s var(--bd-ease);
}
.bd-header.is-stuck { box-shadow: var(--bd-shadow-sm); }

.bd-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--bd-header-h);
}
.bd-header__burger { display: none; }
.bd-header__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.bd-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--bd-ink); }
.bd-logo img { max-height: 56px; width: auto; }
.bd-logo__hex { color: var(--bd-honey); display: inline-flex; }
.bd-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.bd-logo__name {
	font-family: var(--bd-serif);
	font-size: 25px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.bd-logo__tag {
	font-size: 10px;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--bd-muted);
}
.bd-logo--light { color: #fff; }
.bd-logo--light .bd-logo__tag { color: rgba(255, 255, 255, .6); }

/* Navigation principale */
.bd-nav { margin-inline: auto; }
.bd-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bd-nav__list > li { position: relative; }
.bd-nav__list > li > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	color: var(--bd-ink);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.bd-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 16px; right: 16px; bottom: 8px;
	height: 1px;
	background: var(--bd-honey);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--bd-ease);
}
.bd-nav__list > li:hover > a::after,
.bd-nav__list > li.current-menu-item > a::after { transform: scaleX(1); }
.bd-nav__list > li.menu-item-has-children > a::before {
	content: "";
	order: 2;
	width: 7px; height: 7px;
	border-right: 1.4px solid currentColor;
	border-bottom: 1.4px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.bd-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 5;
	min-width: 230px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius-sm);
	box-shadow: var(--bd-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .28s var(--bd-ease);
}
.bd-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bd-nav .sub-menu li { position: relative; }
.bd-nav .sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	color: var(--bd-ink-2);
	font-size: 14px;
}
.bd-nav .sub-menu a:hover { background: var(--bd-cream); color: var(--bd-honey-700); }
.bd-nav .sub-menu .sub-menu { top: -12px; left: calc(100% + 8px); }

.bd-cartcount {
	position: absolute;
	top: 4px; right: 2px;
	min-width: 19px; height: 19px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bd-honey);
	color: #fff;
	border-radius: var(--bd-pill);
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}
.bd-cartcount.is-empty { display: none; }

/* =========================================================================
   5. Panneaux : recherche, menu mobile, panier, modale
   ====================================================================== */

.bd-overlay {
	position: fixed;
	inset: 0;
	z-index: 120;
}
.bd-overlay[hidden] { display: none; }
.bd-overlay__scrim {
	position: absolute;
	inset: 0;
	background: rgba(34, 22, 11, .48);
	backdrop-filter: blur(2px);
	opacity: 0;
	transition: opacity .35s var(--bd-ease);
}
.bd-overlay.is-open .bd-overlay__scrim { opacity: 1; }

.bd-drawer {
	position: absolute;
	top: 0; bottom: 0;
	width: min(420px, 90vw);
	display: flex;
	flex-direction: column;
	background: #fff;
	box-shadow: var(--bd-shadow-lg);
	transition: transform .4s var(--bd-ease);
}
.bd-drawer--right { right: 0; transform: translateX(100%); }
.bd-drawer--left { left: 0; transform: translateX(-100%); }
.bd-overlay.is-open .bd-drawer { transform: translateX(0); }

.bd-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--bd-line);
}
.bd-drawer__title {
	font-family: var(--bd-serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--bd-ink);
}
.bd-drawer__body { flex: 1; overflow-y: auto; padding: 22px 24px; }
.bd-drawer__foot { padding: 20px 24px; border-top: 1px solid var(--bd-line); }
.bd-drawer__foot--menu { display: flex; flex-direction: column; gap: 14px; }
.bd-drawer__foot--menu .bd-social__link { background: var(--bd-cream); color: var(--bd-ink); }

.bd-mobilenav { list-style: none; margin: 0; padding: 0; }
.bd-mobilenav li { border-bottom: 1px solid var(--bd-line); }
.bd-mobilenav a {
	display: block;
	padding: 14px 2px;
	color: var(--bd-ink);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.bd-mobilenav .sub-menu { list-style: none; margin: 0 0 10px; padding-left: 16px; }
.bd-mobilenav .sub-menu li { border: 0; }
.bd-mobilenav .sub-menu a {
	padding: 8px 2px;
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bd-muted);
}

.bd-searchpanel {
	position: relative;
	background: #fff;
	padding: 46px 0 54px;
	transform: translateY(-100%);
	transition: transform .45s var(--bd-ease);
}
.bd-overlay.is-open .bd-searchpanel { transform: translateY(0); }
.bd-searchpanel__close { position: absolute; top: 14px; right: 22px; }
.bd-searchpanel__form {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--bd-ink);
}
.bd-searchpanel__form .bd-icon { color: var(--bd-muted); flex: none; }
.bd-searchpanel__form input {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: var(--bd-serif);
	font-size: clamp(20px, 3vw, 30px);
	color: var(--bd-ink);
}
.bd-searchpanel__form input:focus { outline: none; }
.bd-searchpanel__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	font-size: 13px;
	color: var(--bd-muted);
}
.bd-searchpanel__tags a {
	padding: 7px 14px;
	background: var(--bd-cream);
	border-radius: var(--bd-pill);
	color: var(--bd-ink-2);
}
.bd-searchpanel__tags a:hover { background: var(--bd-ink); color: #fff; }

.bd-modal {
	position: absolute;
	top: 50%; left: 50%;
	width: min(940px, 92vw);
	max-height: 88vh;
	overflow-y: auto;
	background: #fff;
	border-radius: var(--bd-radius);
	box-shadow: var(--bd-shadow-lg);
	transform: translate(-50%, -46%) scale(.97);
	opacity: 0;
	transition: all .35s var(--bd-ease);
}
.bd-overlay.is-open .bd-modal { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.bd-modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; }
.bd-modal__body { padding: 8px; }

.bd-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bd-quick__media { background: var(--bd-cream); border-radius: var(--bd-radius); overflow: hidden; }
.bd-quick__info { padding: 30px 28px 30px 0; }
.bd-quick__title { font-size: 28px; }
.bd-quick__price { font-family: var(--bd-serif); font-size: 24px; color: var(--bd-honey-700); margin-bottom: 14px; }
.bd-quick__excerpt { color: var(--bd-muted); margin-bottom: 20px; }

/* =========================================================================
   6. Diaporama d'accueil
   ====================================================================== */

.bd-hero { position: relative; background: var(--bd-cream); }
.bd-hero__swiper { --bd-hero-h: clamp(520px, 78vh, 760px); }
.bd-hero__slide { position: relative; height: var(--bd-hero-h); overflow: hidden; }
.bd-hero__media { position: absolute; inset: 0; }
.bd-hero__media > * { width: 100%; height: 100%; object-fit: cover; }
/* Sans photo téléversée, chaque slide reçoit son propre dégradé miel. */
.bd-hero__slide--1 .bd-placeholder { background-image: var(--bd-comb), linear-gradient(115deg, #241809, #7a5307 52%, #dfa119); }
.bd-hero__slide--2 .bd-placeholder { background-image: var(--bd-comb), linear-gradient(140deg, #1d2413, #6b5a12 48%, #c99a1c); }
.bd-hero__slide--3 .bd-placeholder { background-image: var(--bd-comb), linear-gradient(95deg, #2b1405, #92600d 55%, #f0b93c); }
.bd-hero .bd-placeholder { background-size: 84px 144px, cover; }

.bd-hero__veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(20, 12, 4, .72) 0%, rgba(20, 12, 4, .42) 46%, rgba(20, 12, 4, .06) 78%);
}
.bd-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
}
.bd-hero__content { max-width: 620px; color: #fff; }
.bd-hero__title {
	margin-bottom: .35em;
	color: #fff;
	font-size: clamp(42px, 6.6vw, 86px);
	font-weight: 600;
	line-height: 1.02;
}
.bd-hero__text {
	max-width: 470px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, .85);
	font-size: 17px;
}
.bd-hero__actions { margin: 0; }

/* Apparition en cascade du contenu du slide actif. L'état de départ vit dans
   les keyframes : si l'animation ne se joue pas, le texte reste lisible. */
.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim] {
	animation: bd-rise .9s var(--bd-ease) both;
}
.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim="1"] { animation-delay: .15s; }
.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim="2"] { animation-delay: .28s; }
.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim="3"] { animation-delay: .42s; }
.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim="4"] { animation-delay: .56s; }

/* Avant l'initialisation, un seul slide est visible pour éviter l'empilement. */
.bd-hero__swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) { display: none; }

@keyframes bd-rise {
	from { opacity: 0; transform: translateY(28px); }
	to { opacity: 1; transform: translateY(0); }
}

.bd-hero__nav {
	position: absolute;
	z-index: 5;
	right: max(24px, calc((100vw - var(--bd-container)) / 2 + 24px));
	bottom: 40px;
	display: flex;
	gap: 10px;
}
.bd-hero__nav .bd-arrow {
	background: rgba(255, 255, 255, .12);
	border-color: rgba(255, 255, 255, .35);
	color: #fff;
	backdrop-filter: blur(6px);
}
.bd-hero__nav .bd-arrow:hover { background: #fff; color: var(--bd-ink); }

.bd-hero__pagination {
	position: absolute;
	z-index: 5;
	left: max(24px, calc((100vw - var(--bd-container)) / 2 + 24px));
	bottom: 52px;
	display: flex;
	gap: 10px;
}
.bd-hero__pagination .swiper-pagination-bullet {
	width: 34px; height: 3px;
	background: rgba(255, 255, 255, .4);
	border-radius: 0;
	opacity: 1;
	transition: background .3s;
}
.bd-hero__pagination .swiper-pagination-bullet-active { background: var(--bd-amber); }

/* =========================================================================
   7. Bandeaux défilants
   ====================================================================== */

.bd-marquee {
	overflow: hidden;
	background: var(--bd-ink);
	color: var(--bd-amber-soft);
	padding: 14px 0;
}
.bd-marquee__track { display: flex; width: max-content; animation: bd-scroll 34s linear infinite; }
.bd-marquee__group { display: flex; }
.bd-marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 34px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	white-space: nowrap;
}
.bd-marquee__item .bd-icon { color: var(--bd-honey); }

.bd-band {
	overflow: hidden;
	padding: 34px 0;
	background: var(--bd-cream);
	border-block: 1px solid var(--bd-line);
}
.bd-band__track { display: flex; width: max-content; animation: bd-scroll 26s linear infinite; }
.bd-band__group { display: flex; align-items: center; }
.bd-band__word {
	padding: 0 26px;
	font-family: var(--bd-serif);
	font-size: clamp(30px, 4.4vw, 58px);
	font-weight: 600;
	color: transparent;
	-webkit-text-stroke: 1px var(--bd-honey);
	white-space: nowrap;
}
.bd-band__group:nth-child(even) .bd-band__word { color: var(--bd-ink); -webkit-text-stroke: 0; }
.bd-band__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bd-honey); flex: none; }

@keyframes bd-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
	.bd-marquee__track,
	.bd-band__track { animation: none; }
	.swiper-initialized .bd-hero__slide.swiper-slide-active [data-bd-anim] { animation: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================================
   8. Catégories
   ====================================================================== */

.bd-cats__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.bd-cats__item a {
	display: block;
	text-align: center;
	color: var(--bd-ink);
}
.bd-cats__media {
	display: block;
	position: relative;
	aspect-ratio: 1;
	margin-bottom: 16px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--bd-cream);
	box-shadow: inset 0 0 0 1px var(--bd-line);
	transition: transform .4s var(--bd-ease), box-shadow .4s var(--bd-ease);
}
/* Les photos produit sont prises sur fond blanc : on les affiche entières,
   posées dans la pastille, plutôt que recadrées au plus près. */
.bd-cats__media img {
	width: 100%;
	height: 100%;
	padding: 10%;
	object-fit: contain;
	transition: transform .6s var(--bd-ease);
}
.bd-cats__media:has(img) { background: #fff; }
.bd-cats__item a:hover .bd-cats__media { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--bd-honey); }
.bd-cats__item a:hover .bd-cats__media img { transform: scale(1.07); }
.bd-cats__name {
	display: block;
	font-family: var(--bd-serif);
	font-size: 18px;
	font-weight: 600;
}
.bd-cats__count { display: block; font-size: 13px; color: var(--bd-muted); }

/* =========================================================================
   9. Sections produits
   ====================================================================== */

.bd-products__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}
.bd-products__head .bd-sechead { margin-bottom: 0; }
.bd-products__nav { display: flex; gap: 10px; flex: none; }
.bd-products__more { margin: 44px 0 0; text-align: center; }

.bd-carousel { overflow: hidden; }
.bd-carousel .swiper-slide { height: auto; }

.bd-section:nth-of-type(even).bd-products { background: var(--bd-cream); }

/* =========================================================================
   10. Tuiles promo et bloc histoire
   ====================================================================== */

.bd-promo__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.bd-promo__card {
	position: relative;
	min-height: 330px;
	display: flex;
	align-items: flex-end;
	border-radius: var(--bd-radius-lg);
	overflow: hidden;
	isolation: isolate;
}
.bd-promo__media { position: absolute; inset: 0; z-index: -1; }
.bd-promo__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bd-ease); }
.bd-promo__card:hover .bd-promo__media > * { transform: scale(1.06); }
.bd-promo__card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(0deg, rgba(20, 12, 4, .68), rgba(20, 12, 4, .08) 68%);
}
.bd-promo__body { padding: 34px; color: #fff; }
.bd-promo__body .bd-kicker { color: var(--bd-amber); }
.bd-promo__title { color: #fff; font-size: clamp(24px, 2.6vw, 34px); max-width: 15ch; }
.bd-promo__body .bd-link { color: #fff; }
.bd-promo__body .bd-link:hover { color: var(--bd-amber); }

.bd-story { background: var(--bd-cream); }
.bd-story__grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	align-items: center;
	gap: clamp(32px, 5vw, 78px);
}
.bd-story__media { position: relative; }
.bd-story__frame {
	position: relative;
	aspect-ratio: 4 / 4.4;
	border-radius: 260px 260px var(--bd-radius-lg) var(--bd-radius-lg);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--bd-shadow);
}
.bd-story__frame > * { width: 100%; height: 100%; object-fit: cover; }
.bd-story__frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--bd-comb);
	background-size: 56px 96px;
	opacity: .35;
	pointer-events: none;
}
.bd-story__stat {
	position: absolute;
	right: -14px; bottom: 30px;
	width: 152px; height: 152px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 14px;
	text-align: center;
	background: var(--bd-ink);
	color: #fff;
	border-radius: 50%;
	box-shadow: var(--bd-shadow);
}
.bd-story__stat strong { font-family: var(--bd-serif); font-size: 26px; color: var(--bd-amber); }
.bd-story__stat span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; opacity: .85; }

.bd-story__points { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 20px; }
.bd-story__points li { display: flex; gap: 16px; }
.bd-story__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	background: #fff;
	border-radius: 14px;
	color: var(--bd-honey-700);
	box-shadow: var(--bd-shadow-sm);
}
.bd-story__points strong { display: block; font-family: var(--bd-serif); font-size: 18px; color: var(--bd-ink); }
.bd-story__points em { font-style: normal; color: var(--bd-muted); font-size: 15px; }

/* =========================================================================
   11. Offre limitée
   ====================================================================== */

.bd-deal { padding-block: clamp(56px, 7vw, 104px); }
.bd-deal__panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 64px);
	padding: clamp(30px, 4vw, 60px);
	background: var(--bd-ink);
	border-radius: var(--bd-radius-lg);
	position: relative;
	overflow: hidden;
}
.bd-deal__panel::before {
	content: "";
	position: absolute;
	top: -60px; right: -60px;
	width: 340px; height: 340px;
	background: var(--bd-comb);
	background-size: 56px 96px;
	opacity: .5;
	pointer-events: none;
}
.bd-deal__intro { position: relative; color: rgba(255, 255, 255, .78); }
.bd-deal__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.bd-deal__text { max-width: 42ch; margin-bottom: 28px; }

.bd-count { display: flex; gap: 12px; margin-bottom: 32px; }
.bd-count__cell {
	min-width: 74px;
	padding: 14px 10px;
	text-align: center;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
}
.bd-count__cell strong {
	display: block;
	font-family: var(--bd-serif);
	font-size: 28px;
	color: var(--bd-amber);
	line-height: 1;
}
.bd-count__cell span {
	font-size: 10px;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
}

.bd-deal__list { position: relative; display: grid; gap: 14px; align-content: start; }
.bd-mini {
	display: flex;
	gap: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: var(--bd-radius-sm);
	transition: background .3s;
}
.bd-mini:hover { background: rgba(255, 255, 255, .1); }
.bd-mini__media { flex: none; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #fff; }
.bd-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.bd-mini__body { flex: 1; min-width: 0; }
.bd-mini__title { margin: 0 0 4px; font-size: 16px; }
.bd-mini__title a { color: #fff; }
.bd-mini__title a:hover { color: var(--bd-amber); }
.bd-mini__price { color: var(--bd-amber); font-size: 15px; }
.bd-mini__price del { color: rgba(255, 255, 255, .4); margin-right: 6px; }
.bd-mini__stock { margin-top: 8px; }
.bd-mini__bar {
	display: block;
	height: 4px;
	background: rgba(255, 255, 255, .15);
	border-radius: var(--bd-pill);
	overflow: hidden;
}
.bd-mini__bar i { display: block; height: 100%; background: var(--bd-honey); }
.bd-mini__stock em {
	display: block;
	margin-top: 5px;
	font-style: normal;
	font-size: 12px;
	color: rgba(255, 255, 255, .55);
}

/* =========================================================================
   12. Avis
   ====================================================================== */

.bd-reviews { background: var(--bd-cream); }
.bd-review {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 40px 32px 32px;
	background: #fff;
	border-radius: var(--bd-radius);
	box-shadow: var(--bd-shadow-sm);
}
.bd-review__quote { position: absolute; top: 24px; right: 26px; color: var(--bd-amber-soft); }
.bd-review__stars { display: flex; gap: 3px; color: var(--bd-honey); margin-bottom: 14px; }
.bd-review__stars .bd-icon { fill: currentColor; }
.bd-review blockquote {
	margin: 0 0 22px;
	font-family: var(--bd-serif);
	font-size: 19px;
	line-height: 1.6;
	color: var(--bd-ink);
}
.bd-review figcaption { display: flex; flex-direction: column; gap: 2px; }
.bd-review figcaption strong { font-size: 15px; color: var(--bd-ink); }
.bd-review figcaption span { font-size: 13px; color: var(--bd-muted); }
.bd-review figcaption em { font-style: normal; font-size: 12px; color: var(--bd-honey-700); letter-spacing: .04em; }

/* =========================================================================
   13. Journal
   ====================================================================== */

.bd-journal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}
.bd-artcard { display: flex; flex-direction: column; }
.bd-artcard__media {
	display: block;
	aspect-ratio: 16 / 11;
	margin-bottom: 20px;
	border-radius: var(--bd-radius);
	overflow: hidden;
	background: var(--bd-cream);
}
.bd-artcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--bd-ease); }
.bd-artcard:hover .bd-artcard__media img { transform: scale(1.06); }
.bd-artcard__title { font-size: 21px; margin-bottom: .4em; }
.bd-artcard__title a { color: var(--bd-ink); }
.bd-artcard__title a:hover { color: var(--bd-honey-700); }
.bd-artcard__excerpt { color: var(--bd-muted); font-size: 15px; }
.bd-artcard .bd-link { margin-top: auto; align-self: flex-start; }

.bd-postmeta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--bd-muted);
}
.bd-postmeta a { color: var(--bd-honey-700); }
.bd-postmeta__sep { opacity: .5; }

/* =========================================================================
   14. Newsletter et réassurance
   ====================================================================== */

.bd-newsletter {
	position: relative;
	overflow: hidden;
	padding: clamp(50px, 6vw, 84px) 0;
	background: linear-gradient(120deg, var(--bd-honey-700), var(--bd-honey) 55%, var(--bd-amber));
	color: #fff;
}
.bd-newsletter__comb {
	position: absolute;
	inset: 0;
	background: var(--bd-comb);
	background-size: 56px 96px;
	opacity: .35;
	pointer-events: none;
}
.bd-newsletter__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 40px;
}
.bd-newsletter .bd-kicker--light { color: rgba(255, 255, 255, .82); }
.bd-newsletter__title { color: #fff; font-size: clamp(26px, 3.2vw, 40px); }
.bd-newsletter__text p { margin: 0; color: rgba(255, 255, 255, .85); }
.bd-newsletter__form { position: relative; display: flex; gap: 10px; }
.bd-newsletter__form input {
	flex: 1;
	min-width: 0;
	padding: 15px 22px;
	background: rgba(255, 255, 255, .96);
	border: 0;
	border-radius: var(--bd-pill);
	color: var(--bd-ink);
}
.bd-newsletter__form input:focus { outline: 2px solid #fff; }
.bd-newsletter__msg {
	position: absolute;
	top: calc(100% + 10px);
	left: 22px;
	margin: 0;
	font-size: 14px;
	color: #fff;
}
.bd-newsletter__msg.is-error { color: #ffe0d6; }

.bd-benefits { padding: 46px 0; background: var(--bd-cream); border-top: 1px solid var(--bd-line); }
.bd-benefits__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 26px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.bd-benefits__item { display: flex; align-items: center; gap: 16px; }
.bd-benefits__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	background: #fff;
	border-radius: 50%;
	color: var(--bd-honey-700);
	box-shadow: var(--bd-shadow-sm);
}
.bd-benefits__item strong { display: block; font-family: var(--bd-serif); font-size: 17px; color: var(--bd-ink); }
.bd-benefits__item span { font-size: 14px; color: var(--bd-muted); line-height: 1.5; }

/* =========================================================================
   15. Pied de page
   ====================================================================== */

.bd-footer {
	position: relative;
	overflow: hidden;
	padding: clamp(54px, 6vw, 84px) 0 0;
	background: var(--bd-ink);
	color: rgba(255, 255, 255, .68);
}
.bd-footer__comb {
	position: absolute;
	right: -80px; bottom: -60px;
	width: 380px; height: 380px;
	background: var(--bd-comb);
	background-size: 56px 96px;
	opacity: .35;
	pointer-events: none;
}
.bd-footer__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 40px;
	padding-bottom: 54px;
}
.bd-footer__about { margin: 18px 0 22px; font-size: 15px; }
.bd-footer__title {
	margin-bottom: 20px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	font-family: var(--bd-sans);
}
.bd-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.bd-footer__menu a { color: rgba(255, 255, 255, .68); font-size: 15px; }
.bd-footer__menu a:hover { color: var(--bd-amber); }
.bd-footer__menu--inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.bd-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bd-footer__contact li { display: flex; gap: 12px; font-size: 15px; }
.bd-footer__contact .bd-icon { flex: none; margin-top: 4px; color: var(--bd-honey); }
.bd-footer__contact a { color: rgba(255, 255, 255, .68); }
.bd-footer__contact a:hover { color: var(--bd-amber); }

.bd-footer__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 14px;
}
.bd-footer__bottom p { margin: 0; }
.bd-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-footer__pay span {
	padding: 6px 12px;
	background: rgba(255, 255, 255, .07);
	border-radius: 6px;
	font-size: 12px;
	letter-spacing: .06em;
}

.bd-totop {
	position: fixed;
	right: 22px; bottom: 22px;
	z-index: 80;
	width: 46px; height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bd-ink);
	border: 0;
	border-radius: 50%;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: all .35s var(--bd-ease);
}
.bd-totop .bd-icon { transform: rotate(180deg); }
.bd-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.bd-totop:hover { background: var(--bd-honey); }

/* =========================================================================
   16. Pages internes
   ====================================================================== */

.bd-pagehero {
	position: relative;
	overflow: hidden;
	padding: clamp(42px, 5vw, 72px) 0;
	background: var(--bd-cream);
	border-bottom: 1px solid var(--bd-line);
	text-align: center;
}
.bd-pagehero__comb {
	position: absolute;
	left: 50%; top: 0;
	width: 100%; height: 100%;
	transform: translateX(-50%);
	background: var(--bd-comb);
	background-size: 56px 96px;
	opacity: .3;
	pointer-events: none;
}
.bd-pagehero .bd-container { position: relative; z-index: 1; }
.bd-pagehero__title { font-size: clamp(30px, 4.2vw, 52px); margin-bottom: .2em; }
.bd-pagehero__sub { max-width: 62ch; margin-inline: auto; color: var(--bd-muted); }

.bd-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--bd-muted);
}
.bd-crumb a { color: var(--bd-muted); }
.bd-crumb a:hover { color: var(--bd-honey-700); }
.bd-crumb__sep { opacity: .5; }

.bd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 52px;
	padding-block: clamp(46px, 5vw, 78px);
}
body.bd-no-sidebar .bd-layout { grid-template-columns: minmax(0, 1fr); max-width: 940px; }
.bd-page { padding-block: clamp(46px, 5vw, 78px); max-width: 880px; }

.bd-prose { font-size: 17px; color: var(--bd-ink-2); }
.bd-prose h2 { font-size: 30px; margin-top: 1.6em; }
.bd-prose h3 { font-size: 23px; margin-top: 1.5em; }
.bd-prose img, .bd-prose figure { border-radius: var(--bd-radius); overflow: hidden; }
.bd-prose blockquote {
	margin: 1.8em 0;
	padding: 24px 28px;
	background: var(--bd-cream);
	border-left: 3px solid var(--bd-honey);
	border-radius: 0 var(--bd-radius-sm) var(--bd-radius-sm) 0;
	font-family: var(--bd-serif);
	font-size: 20px;
	color: var(--bd-ink);
}
.bd-prose ul, .bd-prose ol { padding-left: 1.3em; }
.bd-prose li { margin-bottom: .5em; }
.bd-prose table { width: 100%; border-collapse: collapse; }
.bd-prose th, .bd-prose td { padding: 12px 14px; border: 1px solid var(--bd-line); text-align: left; }
.bd-prose th { background: var(--bd-cream); }

.bd-contactform { margin-top: 40px; padding: 32px; background: var(--bd-cream); border-radius: var(--bd-radius-lg); }
.bd-contactform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 18px; }
.bd-contactform .bd-field { margin: 0 0 18px; }
.bd-contactform label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--bd-ink);
}
.bd-contactform label span { color: var(--bd-honey-700); }
.bd-contactform input[type="text"],
.bd-contactform input[type="email"],
.bd-contactform textarea {
	width: 100%;
	padding: 14px 18px;
	font: inherit;
	font-size: 16px;
	color: var(--bd-ink);
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius-sm);
}
.bd-contactform textarea { resize: vertical; }
.bd-contactform input:focus-visible,
.bd-contactform textarea:focus-visible { outline: 2px solid var(--bd-honey); outline-offset: 1px; }
.bd-contactform__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bd-contactform__note {
	margin: 0 0 22px;
	padding: 14px 18px;
	border-left: 3px solid var(--bd-honey);
	border-radius: var(--bd-radius-sm);
	background: #fff;
	font-size: 15px;
}
.bd-contactform__note--error { border-left-color: var(--bd-red); }

.bd-single__head { padding: clamp(40px, 5vw, 70px) 0 34px; background: var(--bd-cream); text-align: center; }
.bd-single__headinner { max-width: 840px; }
.bd-single__title { font-size: clamp(30px, 4vw, 50px); }
.bd-single__head .bd-postmeta { justify-content: center; }
.bd-single__thumb { margin: -20px 0 0; border-radius: var(--bd-radius-lg); overflow: hidden; transform: translateY(28px); }
.bd-page__thumb { margin: 0 0 32px; }

.bd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.bd-tags a {
	padding: 7px 14px;
	background: var(--bd-cream);
	border-radius: var(--bd-pill);
	font-size: 13px;
	color: var(--bd-ink-2);
}
.bd-tags a:hover { background: var(--bd-ink); color: #fff; }

.bd-postnav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 44px;
	padding-top: 30px;
	border-top: 1px solid var(--bd-line);
}
.bd-postnav__link { display: flex; align-items: center; gap: 14px; color: var(--bd-ink); }
.bd-postnav__link--next { justify-content: flex-end; text-align: right; }
.bd-postnav__link em { display: block; font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--bd-muted); }
.bd-postnav__link strong { font-family: var(--bd-serif); font-size: 17px; font-weight: 600; }

.bd-layout__aside { display: grid; gap: 32px; align-content: start; }
.widget { padding: 26px; background: var(--bd-cream); border-radius: var(--bd-radius); }
.widget-title { font-size: 18px; margin-bottom: 16px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.widget ul li a { color: var(--bd-ink-2); font-size: 15px; }
.widget ul li a:hover { color: var(--bd-honey-700); }

.bd-searchform { position: relative; display: flex; }
.bd-searchform input {
	flex: 1;
	min-width: 0;
	padding: 13px 52px 13px 20px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-pill);
}
.bd-searchform input:focus { outline: none; border-color: var(--bd-honey); }
.bd-searchform button {
	position: absolute;
	top: 4px; right: 5px;
	width: 40px; height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--bd-ink);
	border: 0;
	border-radius: 50%;
	color: #fff;
}
.bd-searchform button:hover { background: var(--bd-honey); }

.bd-empty { padding: 60px 20px; text-align: center; }
.bd-empty__icon { display: inline-flex; color: var(--bd-honey); margin-bottom: 12px; }
.bd-empty p { color: var(--bd-muted); margin-bottom: 22px; }
.bd-empty .bd-searchform { max-width: 420px; margin-inline: auto; }

.bd-404 { padding: clamp(60px, 8vw, 120px) var(--bd-gutter); text-align: center; }
.bd-404__code {
	display: block;
	font-family: var(--bd-serif);
	font-size: clamp(80px, 16vw, 180px);
	font-weight: 600;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 2px var(--bd-honey);
}
.bd-404__title { font-size: clamp(26px, 3.4vw, 40px); margin-top: 10px; }
.bd-404__text { max-width: 48ch; margin-inline: auto; color: var(--bd-muted); }
.bd-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 28px 0 34px; }
.bd-404__search { max-width: 420px; margin-inline: auto; }

.bd-pagination, .navigation.pagination { margin-top: 48px; }
.bd-pagination .nav-links, .navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.bd-pagination .page-numbers, .navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 44px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-pill);
	color: var(--bd-ink);
	font-size: 14px;
}
.bd-pagination .page-numbers:hover,
.bd-pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current {
	background: var(--bd-ink);
	border-color: var(--bd-ink);
	color: #fff;
}

.bd-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--bd-line); }
.bd-comments__title { font-size: 24px; }
.bd-comments__list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 24px; }
.bd-comments__list .children { list-style: none; margin: 24px 0 0; padding-left: 30px; display: grid; gap: 24px; }
.bd-comments .comment-body { padding: 22px 24px; background: var(--bd-cream); border-radius: var(--bd-radius); }
.bd-comments .comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bd-comments .comment-author img { border-radius: 50%; }
.bd-comments .comment-metadata { font-size: 13px; color: var(--bd-muted); margin-bottom: 8px; }
.comment-respond { padding: 30px; background: var(--bd-cream); border-radius: var(--bd-radius); }
.comment-form { display: grid; gap: 14px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 13px 18px;
	background: #fff;
	border: 1px solid var(--bd-line);
	border-radius: var(--bd-radius-sm);
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit { justify-self: start; }

/* =========================================================================
   17. Utilitaires responsives
   ====================================================================== */

@media (max-width: 1180px) {
	.bd-nav__list > li > a { padding: 12px 11px; font-size: 13px; }
	.bd-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 991px) {
	.bd-hide-md { display: none !important; }
	.bd-header__burger { display: inline-flex; }
	.bd-nav { display: none; }
	.bd-logo { margin-right: auto; }
	.bd-topbar__inner { justify-content: center; }
	.bd-story__grid { grid-template-columns: 1fr; }
	.bd-story__media { max-width: 460px; margin-inline: auto; }
	.bd-deal__panel { grid-template-columns: 1fr; }
	.bd-newsletter__inner { grid-template-columns: 1fr; }
	.bd-layout { grid-template-columns: 1fr; gap: 44px; }
	.bd-quick { grid-template-columns: 1fr; }
	.bd-quick__info { padding: 0 26px 26px; }
	.bd-products__head { flex-direction: column; align-items: flex-start; }
	.bd-products__nav { display: none; }
}

@media (max-width: 767px) {
	:root { --bd-gutter: 18px; }
	.bd-hide-sm { display: none !important; }

	/* Sur un écran de téléphone, le logo complet et les trois icônes ne tiennent
	   pas sur une ligne : on resserre plutôt que de laisser la page déborder. */
	.bd-header__inner { gap: 10px; }
	.bd-logo { gap: 9px; }
	.bd-logo__name { font-size: 21px; }
	.bd-logo__tag { font-size: 9px; letter-spacing: .1em; }
	.bd-iconbtn { width: 38px; height: 38px; }

	.bd-promo__grid { grid-template-columns: 1fr; }
	.bd-footer__grid { grid-template-columns: 1fr; }
	.bd-hero__pagination { display: none; }
	.bd-hero__nav { bottom: 26px; right: 18px; }
	.bd-count__cell { min-width: 62px; padding: 11px 6px; }
	.bd-count__cell strong { font-size: 22px; }
	.bd-newsletter__form { flex-direction: column; }
	.bd-newsletter__form .bd-btn { justify-content: center; }
	.bd-newsletter__msg { position: static; margin-top: 6px; }
	.bd-story__stat { width: 116px; height: 116px; right: 0; }
	.bd-story__stat strong { font-size: 21px; }
	.bd-single__thumb { transform: none; margin-top: 24px; }
}

@media (max-width: 420px) {
	.bd-logo__tag { display: none; }
	.bd-logo__name { font-size: 20px; }
}
