/* ==========================================================================
   Boutik Premium : styles du thème (mobile d'abord)
   ========================================================================== */

:root {
	--bp-orange: #F29325;
	--bp-orange-hover: #E0831A;
	--bp-black: #121212;
	--bp-cream: #FFF8EE;
	--bp-white: #FFFFFF;
	--bp-grey-light: #F3F3F3;
	--bp-grey-text: #5A5A5A;
	--bp-beige: #EFE4D2;
	--bp-line: #E6DCCB;
	--bp-input-border: #C9C9C9;
	--bp-red: #DD1D1D;
	--bp-green: #53AF01;
	--bp-green-soft: #E8F5DA;

	--bp-radius-btn: 6px;
	--bp-radius-card: 12px;
	--bp-radius-modal: 16px;
	--bp-radius-pill: 40px;
	--bp-shadow-card: 0 2px 8px rgba(0, 0, 0, .08);

	--bp-gutter: 16px;
	--bp-container: 1120px;
	--bp-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Base ------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--bp-cream);
	color: var(--bp-black);
	font-family: var(--bp-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.bp-no-scroll { overflow: hidden; }

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

a { color: inherit; }

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

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

h1, h2, h3, p { margin: 0; }

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

.bp-skip {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--bp-black); color: var(--bp-white); padding: 10px 16px; border-radius: var(--bp-radius-btn);
}
.bp-skip:focus { top: 8px; }

.bp-container {
	width: 100%;
	max-width: calc(var(--bp-container) + 2 * var(--bp-gutter));
	margin-inline: auto;
	padding-inline: var(--bp-gutter);
}

.bp-h1 { font-size: 30px; font-weight: 700; line-height: 1.15; }
.bp-h2 { font-size: 22px; font-weight: 600; line-height: 1.25; }

.bp-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.bp-section { padding-block: 16px 32px; }
.bp-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

.bp-hide-mobile { display: none !important; }

.bp-icon { flex-shrink: 0; }

/* Boutons ------------------------------------------------------------------ */

.bp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 12px 22px;
	border: 2px solid transparent; border-radius: var(--bp-radius-btn);
	font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
	cursor: pointer; transition: background-color .15s, border-color .15s;
}
.bp-btn--primary { background: var(--bp-orange); color: var(--bp-black); }
.bp-btn--primary:hover { background: var(--bp-orange-hover); }
.bp-btn--outline { background: transparent; border-color: var(--bp-black); color: var(--bp-black); }
.bp-btn--outline:hover { background: var(--bp-black); color: var(--bp-white); }
.bp-btn--block { display: flex; width: 100%; }
.bp-btn--tall { min-height: 56px; font-size: 16px; }
.bp-btn--small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.bp-btn[disabled] { opacity: .6; cursor: wait; }
.bp-btn__stack { display: flex; flex-direction: column; line-height: 1.3; }
.bp-btn__main { font-weight: 700; }
.bp-btn__sub { font-size: 13px; font-weight: 500; }

.bp-icon-btn {
	width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 0; border-radius: 50%; color: var(--bp-black); cursor: pointer; text-decoration: none;
}
.bp-icon-btn:hover { background: var(--bp-grey-light); }

/* Badges -------------------------------------------------------------------- */

.bp-badge-sale {
	position: absolute; top: 10px; left: 10px; z-index: 2;
	background: var(--bp-red); color: var(--bp-white);
	font-size: 12px; font-weight: 600; line-height: 1.4; padding: 2px 8px; border-radius: var(--bp-radius-btn);
}
.bp-badge-sale--inline { position: static; display: inline-block; padding: 4px 10px; }
.bp-badge-soldout {
	position: absolute; top: 10px; right: 10px; z-index: 2;
	background: var(--bp-black); color: var(--bp-white); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--bp-radius-btn);
}
.bp-pill {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--bp-grey-light); font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--bp-radius-pill);
}
.bp-pill--stock { background: var(--bp-green-soft); }
.bp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bp-green); }

.bp-placeholder {
	border: 2px dashed #C9B99F; border-radius: var(--bp-radius-card); padding: 20px 16px;
	font-size: 14px; color: var(--bp-grey-text); text-align: center; background: rgba(255, 255, 255, .5);
}
.bp-placeholder a { font-weight: 600; color: var(--bp-black); }

/* Bandeau et en-tête -------------------------------------------------------- */

.bp-topbar {
	background: var(--bp-orange); color: var(--bp-black);
	font-size: 13px; font-weight: 600; text-align: center; padding: 10px var(--bp-gutter); line-height: 1.3;
}
.bp-topbar__track { position: relative; overflow: hidden; height: 1.3em; }
.bp-topbar__msg { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(100%); opacity: 0; }
.bp-topbar__msg.is-active { transform: translateY(0); opacity: 1; }
.bp-topbar--rotate .bp-topbar__msg { transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .45s; }
.bp-topbar__msg.is-leaving { transform: translateY(-100%); opacity: 0; }
.bp-topbar__msg.is-reset { transition: none !important; }

.bp-header { background: var(--bp-white); border-bottom: 1px solid var(--bp-beige); position: relative; z-index: 50; }
.bp-header__inner {
	display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
	min-height: 64px; padding-inline: 8px;
}
.bp-header__logo { justify-self: center; display: block; }
.bp-logo { height: 48px; width: auto; }
.bp-header__nav { display: none; }
.bp-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.bp-header--minimal .bp-header__inner { grid-template-columns: 1fr; }

.bp-search {
	display: flex; align-items: center; gap: 10px;
	background: var(--bp-grey-light); border-radius: 8px; height: 44px; padding: 0 12px; color: var(--bp-grey-text);
}
.bp-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; color: var(--bp-black); outline: none; }
.bp-search input::placeholder { color: var(--bp-grey-text); }
.bp-search:focus-within { outline: 2px solid var(--bp-black); }
.bp-search--desktop { display: none; }
.bp-header__search-mobile { padding-bottom: 12px; }

.bp-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.bp-menu a { font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bp-menu a:hover, .bp-menu .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--bp-orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* Menu mobile */
.bp-drawer { position: fixed; inset: 0; z-index: 200; }
.bp-drawer__backdrop { position: absolute; inset: 0; background: rgba(18, 18, 18, .6); }
.bp-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, 100vw);
	background: var(--bp-white); display: flex; flex-direction: column; overflow-y: auto;
	animation: bp-drawer-in .22s ease-out;
}
@keyframes bp-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
.bp-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 8px 6px 8px 14px; min-height: 56px; border-bottom: 1px solid #E6E6E6; }
.bp-drawer__title { font-size: 20px; font-weight: 400; letter-spacing: .5px; }
.bp-drawer__menu { list-style: none; margin: 0; padding: 12px 0; border-bottom: 1px solid #E6E6E6; }
.bp-drawer__menu a { display: block; padding: 8px 14px; font-size: 17px; letter-spacing: .5px; text-decoration: none; min-height: 40px; box-sizing: border-box; }
.bp-drawer__menu a:hover, .bp-drawer__menu .current-menu-item > a { background: #F3F3F3; }
.bp-drawer__foot { padding: 16px 14px; }
.bp-drawer__account { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .4px; text-decoration: none; min-height: 32px; }

/* Accueil ------------------------------------------------------------------- */

.bp-hero { display: flex; flex-direction: column; gap: 20px; padding-block: 28px 24px; }
.bp-hero__text { display: flex; flex-direction: column; gap: 14px; }
.bp-hero__title { font-size: 32px; font-weight: 700; line-height: 1.15; }
.bp-hero__lead { font-size: 16px; color: var(--bp-grey-text); }
.bp-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.bp-hero__ctas .bp-btn { flex: 1 1 auto; }
.bp-hero__media { order: -1; } /* mobile et tablette : image au-dessus du texte */
.bp-hero__media img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; border-radius: var(--bp-radius-modal); }

.bp-reassurance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp-reassurance__item { background: var(--bp-white); border-radius: var(--bp-radius-card); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--bp-grey-text); line-height: 1.4; }
.bp-reassurance__item strong { font-size: 14px; color: var(--bp-black); line-height: 1.3; }
.bp-reassurance__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--bp-orange); color: var(--bp-black); display: flex; align-items: center; justify-content: center; }
.bp-reassurance__icon .bp-icon { width: 22px; height: 22px; }

.bp-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bp-cat {
	position: relative; display: flex; align-items: flex-end; height: 110px; padding: 12px;
	border-radius: var(--bp-radius-card); background: var(--bp-beige); overflow: hidden;
	text-decoration: none; font-weight: 600; font-size: 15px;
}
.bp-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bp-cat__img + .bp-cat__name { position: relative; background: var(--bp-white); padding: 4px 10px; border-radius: var(--bp-radius-btn); }
.bp-cat:hover .bp-cat__name { text-decoration: underline; }

.bp-faq { display: flex; flex-direction: column; gap: 16px; }
.bp-faq__intro { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bp-faq__intro p { color: var(--bp-grey-text); font-size: 15px; }

.bp-banner__link { display: block; border-radius: var(--bp-radius-card); overflow: hidden; }
.bp-banner__img { width: 100%; height: auto; display: block; border-radius: var(--bp-radius-card); }
.bp-banner__link:hover .bp-banner__img { opacity: .95; }

/* Grille et cartes produit ------------------------------------------------ */

.bp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.bp-card { background: var(--bp-white); border-radius: var(--bp-radius-card); overflow: hidden; box-shadow: var(--bp-shadow-card); display: flex; flex-direction: column; }
.bp-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bp-beige); }
.bp-card__img, .bp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.bp-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.bp-card__title { font-size: 13px; font-weight: 500; line-height: 1.3; min-height: 2.6em; }
.bp-card__title a { text-decoration: none; }
.bp-card__title a:hover { text-decoration: underline; }
.bp-card__cta { margin-top: auto; min-height: 44px; font-size: 13px; padding: 10px 8px; }
.bp-card .bp-price { margin-bottom: 6px; }

.bp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.bp-price__now { font-size: 15px; font-weight: 700; white-space: nowrap; }
.bp-price__old { font-size: 12px; color: var(--bp-grey-text); }

/* Catalogue ---------------------------------------------------------------- */

.bp-archive { padding-block: 24px 40px; }
.bp-archive__head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.bp-archive__count { font-size: 14px; color: var(--bp-grey-text); }
.bp-archive__desc { color: var(--bp-grey-text); font-size: 15px; }

.bp-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.bp-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bp-filters__label { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; margin-right: 4px; }
.bp-filters__reset { font-size: 13px; font-weight: 600; }

.bp-dropdown { position: relative; }
.bp-dropdown__btn {
	list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
	background: var(--bp-white); border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn);
	font-size: 14px; cursor: pointer;
}
.bp-dropdown__btn::-webkit-details-marker { display: none; }
.bp-dropdown[open] .bp-dropdown__btn .bp-icon { transform: rotate(180deg); }
.bp-dropdown__panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; min-width: 240px;
	background: var(--bp-white); border: 1px solid var(--bp-line); border-radius: var(--bp-radius-card);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 14px; display: flex; flex-direction: column; gap: 12px;
}
.bp-dropdown__list { list-style: none; margin: 0; padding: 0; }
.bp-dropdown__list a { display: block; padding: 8px 4px; text-decoration: none; font-size: 14px; }
.bp-dropdown__list a[aria-current] { font-weight: 700; }
.bp-dropdown__list span { color: var(--bp-grey-text); }
.bp-check { display: flex; align-items: center; gap: 10px; font-size: 14px; min-height: 32px; }
.bp-check input { width: 20px; height: 20px; accent-color: var(--bp-orange); }
.bp-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bp-price-range label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--bp-grey-text); }
.bp-price-range input { height: 40px; border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn); padding: 0 8px; width: 100%; }

.bp-sort .woocommerce-ordering { margin: 0; }
.bp-sort select {
	width: 100%; min-height: 44px; padding: 0 40px 0 14px; appearance: none;
	background: var(--bp-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn); font-size: 14px; cursor: pointer;
}

.woocommerce-pagination { margin-top: 28px; }
.woocommerce-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px;
	border-radius: var(--bp-radius-btn); background: var(--bp-white); text-decoration: none; font-weight: 600;
}
.woocommerce-pagination .current { background: var(--bp-orange); }

.bp-empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: 48px; }

.bp-breadcrumb { font-size: 13px; color: var(--bp-grey-text); padding-block: 12px; }
.bp-breadcrumb a { color: var(--bp-grey-text); }

/* Fiche produit ------------------------------------------------------------ */

.bp-product { padding-bottom: 96px; }
.bp-product__top { display: flex; flex-direction: column; gap: 20px; padding-inline: 0; }
.bp-product__summary { padding-inline: var(--bp-gutter); display: flex; flex-direction: column; gap: 16px; }

.bp-gallery { position: relative; background: var(--bp-beige); }
.bp-gallery__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.bp-gallery__track::-webkit-scrollbar { display: none; }
.bp-gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 1 / 1; background: var(--bp-white); }
.bp-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.bp-gallery .bp-badge-sale { top: 12px; left: 12px; font-size: 13px; padding: 4px 10px; }
.bp-gallery__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.bp-gallery__dot { width: 6px; height: 6px; border-radius: 3px; background: var(--bp-black); opacity: .35; transition: width .2s, opacity .2s; }
.bp-gallery__dot.is-active { width: 20px; opacity: 1; }
.bp-gallery__thumbs { display: none; }
.bp-gallery__arrow {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .92); color: var(--bp-black); box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
	display: flex; align-items: center; justify-content: center; transition: opacity .2s;
}
.bp-gallery__arrow:hover { background: var(--bp-white); }
.bp-gallery__arrow--prev { left: 10px; }
.bp-gallery__arrow--next { right: 10px; }
.bp-gallery__arrow--next .bp-icon { transform: rotate(180deg); }
.bp-gallery__arrow:disabled { opacity: 0; pointer-events: none; }

.bp-product__title { font-size: 22px; font-weight: 600; line-height: 1.3; }
.bp-product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bp-product__now { font-size: 28px; font-weight: 700; }
.bp-product__old { font-size: 16px; color: var(--bp-grey-text); }
.bp-product__badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bp-product__short { font-size: 15px; color: var(--bp-grey-text); }
.bp-reviews-summary { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.bp-reviews-summary .bp-icon { fill: var(--bp-orange); stroke: var(--bp-orange); }

.bp-assurances { list-style: none; margin: 0; padding: 16px; background: var(--bp-white); border-radius: var(--bp-radius-card); display: flex; flex-direction: column; gap: 14px; }
.bp-assurances li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--bp-grey-text); }
.bp-assurances strong { color: var(--bp-black); }

.bp-qty-row { display: flex; justify-content: space-between; align-items: center; }
.bp-qty-row__label { font-size: 14px; font-weight: 600; }
.bp-qty { display: flex; align-items: center; background: var(--bp-white); border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn); }
.bp-qty__btn { width: 48px; height: 48px; background: none; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bp-qty__btn:disabled { opacity: .35; cursor: not-allowed; }
.bp-qty__value { width: 40px; text-align: center; font-size: 16px; font-weight: 600; }

.bp-product__ctas { display: flex; flex-direction: column; gap: 10px; }

.bp-accordions { display: flex; flex-direction: column; gap: 8px; }
.bp-accordion { background: var(--bp-white); border-radius: var(--bp-radius-card); }
.bp-accordion summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 16px; font-size: 15px; font-weight: 600; min-height: 56px;
}
.bp-accordion summary::-webkit-details-marker { display: none; }
.bp-accordion[open] summary .bp-icon { transform: rotate(45deg); }
.bp-accordion summary .bp-icon { transition: transform .2s; }
.bp-accordion__body { padding: 0 16px 16px; font-size: 14px; color: var(--bp-grey-text); line-height: 1.6; }

.bp-prose { line-height: 1.65; }
.bp-prose > * + * { margin-top: .8em; }
.bp-prose h2, .bp-prose h3 { color: var(--bp-black); font-size: 17px; font-weight: 600; margin-top: 1.2em; }
.bp-prose ul, .bp-prose ol { padding-left: 1.2em; }
.bp-prose img { border-radius: var(--bp-radius-card); }
.bp-prose a { color: var(--bp-black); font-weight: 600; }

.bp-sticky-buy {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	background: var(--bp-white); border-top: 1px solid var(--bp-line); box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
	padding: 10px var(--bp-gutter) calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px;
}
.bp-sticky-buy[hidden] { display: none; }
.bp-sticky-buy__price { display: flex; flex-direction: column; line-height: 1.2; }
.bp-sticky-buy__price span { font-size: 12px; color: var(--bp-grey-text); }
.bp-sticky-buy__price strong { font-size: 17px; }
.bp-sticky-buy .bp-btn { flex: 1; font-weight: 700; animation: bp-shake-x 2.5s ease-in-out infinite; }
.bp-sticky-buy .bp-btn:hover, .bp-sticky-buy .bp-btn:focus-visible { animation-play-state: paused; }

/* Barre « COMMANDER » mobile : va-et-vient gauche-droite toutes les 2,5 secondes */
@keyframes bp-shake-x {
	0%, 50%, 100% { transform: translateX(0); }
	55% { transform: translateX(-6px); }
	60% { transform: translateX(6px); }
	65% { transform: translateX(-5px); }
	70% { transform: translateX(5px); }
	75% { transform: translateX(-3px); }
	80% { transform: translateX(3px); }
	85% { transform: translateX(0); }
}

/* Bouton « Commander maintenant » : balancement toutes les 3 secondes */
@keyframes bp-swing {
	0%, 60%, 100% { transform: rotate(0); }
	65% { transform: rotate(3deg); }
	70% { transform: rotate(-3deg); }
	75% { transform: rotate(2deg); }
	80% { transform: rotate(-2deg); }
	85% { transform: rotate(1deg); }
	90% { transform: rotate(-1deg); }
}
.bp-btn--swing { animation: bp-swing 3s ease-in-out infinite; transform-origin: 50% 0; }
.bp-btn--swing:hover, .bp-btn--swing:focus-visible { animation-play-state: paused; }

/* Panier ---------------------------------------------------------------------- */
.bp-cart-link { position: relative; }
.bp-cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--bp-orange); color: var(--bp-black); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.bp-cart-count[hidden] { display: none; }
.bp-card__cta.is-loading { opacity: .7; pointer-events: none; }
.bp-cart-toast {
	position: fixed; left: 50%; bottom: 20px; z-index: 400; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
	display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px);
	background: var(--bp-black); color: var(--bp-white); border-radius: var(--bp-radius-card); padding: 10px 10px 10px 16px;
	font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .25s, transform .25s;
}
.bp-cart-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.bp-cart-toast.is-error { background: var(--bp-red); padding-right: 16px; }
.bp-cart-toast .bp-btn { min-height: 36px; white-space: nowrap; }

.bp-cart { padding-block: 24px 48px; }
.bp-cart .bp-h1 { margin-bottom: 20px; }
.bp-cart__layout { display: flex; flex-direction: column; gap: 20px; }
.bp-cart__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bp-cart-item { display: flex; gap: 12px; background: var(--bp-white); border-radius: var(--bp-radius-card); padding: 12px; }
.bp-cart-item__img { width: 88px; height: 88px; flex-shrink: 0; border-radius: 8px; overflow: hidden; background: var(--bp-beige); }
.bp-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.bp-cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bp-cart-item__name { font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; }
.bp-cart-item__unit { font-size: 13px; color: var(--bp-grey-text); }
.bp-cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.bp-cart-item__total { font-size: 15px; white-space: nowrap; }
.bp-cart-item__remove { align-self: flex-start; font-size: 13px; color: var(--bp-grey-text); padding: 6px 0; }
.bp-qty--small .bp-qty__btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--bp-black); }
.bp-qty--small .bp-qty__btn.is-disabled { opacity: .3; }
.bp-qty--small .bp-qty__value { width: 32px; font-size: 15px; }
.bp-cart__summary { display: flex; flex-direction: column; gap: 12px; }
.bp-order-lines { display: flex; flex-direction: column; }
.bp-order-lines .bp-order-line + .bp-order-line { border-top: 0; }

/* Avis ---------------------------------------------------------------------- */

.bp-reviews { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bp-review { margin: 0; background: var(--bp-white); border-radius: var(--bp-radius-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bp-review blockquote { margin: 0; font-size: 15px; line-height: 1.55; }
.bp-review figcaption { font-size: 14px; font-weight: 600; }
.bp-stars { display: flex; gap: 2px; color: var(--bp-orange); }
.bp-stars .bp-icon { fill: currentColor; }

/* Fenêtre de commande ------------------------------------------------------ */

.bp-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 24px 12px; overflow-y: auto; }
.bp-modal[hidden] { display: none; }
.bp-modal__backdrop { position: fixed; inset: 0; background: rgba(18, 18, 18, .6); }
.bp-modal__dialog {
	position: relative; width: 100%; max-width: 520px; margin: auto 0;
	background: var(--bp-cream); border-radius: var(--bp-radius-modal); padding: 20px 18px 18px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.bp-modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.bp-modal__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.bp-modal__close { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; margin: -6px -6px 0 0; }

.bp-order-form { display: flex; flex-direction: column; gap: 14px; }
.bp-field { display: grid; grid-template-columns: 88px 1fr; align-items: center; column-gap: 10px; }
.bp-field__label { font-size: 14px; font-weight: 700; line-height: 1.3; }
.bp-req { color: var(--bp-red); margin-left: 2px; }
.bp-field__control { display: flex; border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn); background: var(--bp-white); overflow: hidden; min-height: 46px; }
.bp-field__control:focus-within { border-color: var(--bp-black); box-shadow: 0 0 0 1px var(--bp-black); }
.bp-field__icon { width: 42px; flex-shrink: 0; background: #E5E5E5; display: flex; align-items: center; justify-content: center; }
.bp-field input, .bp-field select { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 10px; font-size: 16px; background: transparent; }
.bp-field input::placeholder { color: #6B6B6B; }
.bp-field__error { grid-column: 2; font-size: 13px; color: var(--bp-red); min-height: 0; }
.bp-field__error:empty { display: none; }
.bp-field.is-invalid .bp-field__control { border-color: var(--bp-red); box-shadow: 0 0 0 1px var(--bp-red); }
.bp-field__error:not(:empty) { margin-top: 4px; }

.bp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bp-order-line { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-top: 1px solid var(--bp-line); border-bottom: 1px solid var(--bp-line); }
.bp-order-line__img { position: relative; width: 52px; height: 52px; flex-shrink: 0; }
.bp-order-line__img img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--bp-radius-btn); background: var(--bp-beige); }
.bp-order-line__qty {
	position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
	background: var(--bp-grey-text); color: var(--bp-white); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.bp-order-line__name { flex: 1; font-size: 14px; font-weight: 700; line-height: 1.3; }
.bp-order-line__price { font-size: 14px; font-weight: 700; white-space: nowrap; }

.bp-totals { background: var(--bp-white); border: 1px solid #E0E0E0; border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.bp-totals__row { display: flex; justify-content: space-between; font-size: 14px; }
.bp-totals__row--total { border-top: 1px solid #E6E6E6; padding-top: 8px; align-items: baseline; }
.bp-totals__row--total span { font-size: 15px; font-weight: 700; }
.bp-totals__row--total strong { font-size: 20px; }

.bp-form-message { font-size: 14px; color: var(--bp-red); background: #FFF1F1; border-radius: var(--bp-radius-btn); padding: 10px 12px; }
.bp-form-message[hidden] { display: none; }

.bp-btn--order { background: var(--bp-orange); color: var(--bp-black); border-radius: var(--bp-radius-card); padding: 14px 16px; min-height: 60px; width: 100%; }
.bp-btn--order:hover { background: var(--bp-orange-hover); }
.bp-form-note { font-size: 12px; color: var(--bp-grey-text); text-align: center; }

/* Remerciement ------------------------------------------------------------- */

.bp-thanks { max-width: 560px; padding-block: 32px 40px; display: flex; flex-direction: column; gap: 24px; }
.bp-thanks__hero { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.bp-thanks__hero p { color: var(--bp-grey-text); font-size: 15px; }
.bp-thanks__hero .bp-h1 { font-size: 26px; }
.bp-thanks__check { width: 72px; height: 72px; border-radius: 50%; background: var(--bp-green); color: var(--bp-white); display: flex; align-items: center; justify-content: center; }
.bp-thanks__check .bp-icon { stroke-width: 2.5; }
.bp-thanks__card { background: var(--bp-white); border-radius: var(--bp-radius-card); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.bp-thanks__card .bp-order-line { border-bottom: 0; padding-bottom: 0; }
.bp-thanks__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-top: 1px solid var(--bp-beige); padding-top: 12px; }
.bp-thanks__row--muted { border-top: 0; padding-top: 0; color: var(--bp-grey-text); font-size: 13px; }
.bp-thanks__row--muted strong { color: var(--bp-black); }
.bp-thanks__row--stack { flex-direction: column; gap: 4px; color: var(--bp-grey-text); font-size: 13px; }
.bp-thanks__row--stack strong { color: var(--bp-black); font-size: 14px; font-weight: 500; line-height: 1.5; }
.bp-thanks__row--total { align-items: baseline; }
.bp-thanks__row--total span { font-weight: 600; }
.bp-thanks__row--total strong { font-size: 20px; }
.bp-steps__title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.bp-steps ol { list-style: none; counter-reset: bp-step; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bp-steps li { counter-increment: bp-step; display: flex; gap: 12px; font-size: 14px; line-height: 1.5; align-items: flex-start; }
.bp-steps li::before {
	content: counter(bp-step); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
	background: var(--bp-orange); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: -3px;
}
.bp-thanks__ctas { display: flex; flex-direction: column; gap: 10px; }

/* Pages ---------------------------------------------------------------------- */

.bp-page { padding-block: 28px 48px; max-width: calc(760px + 2 * var(--bp-gutter)); }
.bp-page .bp-h1 { margin-bottom: 20px; }
.bp-entry + .bp-entry { margin-top: 32px; }

/* Formulaires WooCommerce (panier / validation) : habillage minimal */
.woocommerce form .form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 600; }
.woocommerce form .input-text, .woocommerce form select {
	min-height: 46px; border: 1px solid var(--bp-input-border); border-radius: var(--bp-radius-btn); padding: 8px 12px; background: var(--bp-white); font-size: 16px;
}
.woocommerce .button, .woocommerce button.button, .woocommerce a.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
	background: var(--bp-orange); color: var(--bp-black); border: 0; border-radius: var(--bp-radius-btn); font-weight: 600; text-decoration: none; cursor: pointer;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 16px; padding: 12px 16px; border-radius: var(--bp-radius-btn); background: var(--bp-white); font-size: 14px;
}
.woocommerce-error { background: #FFF1F1; color: var(--bp-red); }

/* Pied de page -------------------------------------------------------------- */

.bp-footer { background: var(--bp-black); color: var(--bp-white); padding-block: 32px 20px; }
.bp-footer__inner { display: flex; flex-direction: column; gap: 24px; }
.bp-footer__name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.bp-footer__contact { font-size: 14px; line-height: 1.8; color: #E6E6E6; }
.bp-footer__contact a { color: var(--bp-white); }
.bp-social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; gap: 12px; }
.bp-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--bp-white); transition: background .2s, color .2s; }
.bp-social a:hover, .bp-social a:focus-visible { background: var(--bp-orange); color: var(--bp-black); }
.bp-footer__title { font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.bp-footer-menu { list-style: none; margin: 0; padding: 0; }
.bp-footer-menu a { display: inline-block; padding: 8px 0; color: var(--bp-white); font-size: 14px; }
.bp-footer__pay p:last-child { font-size: 14px; color: #E6E6E6; line-height: 1.6; }
.bp-footer__copy { margin-top: 24px; font-size: 12px; color: #C8C8C8; }

/* WhatsApp et notifications -------------------------------------------------- */

.bp-wa-float {
	position: fixed; right: 16px; bottom: 88px; z-index: 55;
	width: 56px; height: 56px; border-radius: 50%; background: var(--bp-black); color: var(--bp-white);
	display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.bp-wa-float:hover { background: #333; }
body:not(.single-product) .bp-wa-float { bottom: 16px; }

.bp-toast {
	position: fixed; left: 12px; bottom: 88px; z-index: 56; max-width: min(340px, calc(100vw - 96px));
	background: var(--bp-white); border-radius: var(--bp-radius-card); box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
	padding: 12px 14px; font-size: 13px; line-height: 1.4; transform: translateY(8px); opacity: 0; transition: opacity .3s, transform .3s;
}
.bp-toast.is-visible { opacity: 1; transform: none; }
.bp-toast strong { font-weight: 600; }
.bp-toast__when { display: block; margin-top: 2px; font-size: 12px; color: var(--bp-grey-text); }
body:not(.single-product) .bp-toast { bottom: 16px; }

/* Vidéo de présentation (accueil) ------------------------------------------- */
.bp-video-section { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.bp-video-section__text { max-width: 520px; }
.bp-video-section__text p { color: var(--bp-grey-text); margin: 8px 0 0; line-height: 1.6; }
.bp-video-section__cta { display: none; }
.bp-video { position: relative; width: min(100%, 320px); aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--bp-black); box-shadow: 0 12px 32px rgba(0, 0, 0, .16); }
.bp-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.bp-video__play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border: 0; border-radius: 50%; background: var(--bp-orange); color: var(--bp-black); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .2s; }
.bp-video__play svg { margin-left: 4px; }
.bp-video__play:hover, .bp-video__play:focus-visible { transform: scale(1.06); }
.bp-video.is-playing .bp-video__play { display: none; }

/* Tablette ------------------------------------------------------------------ */

@media (min-width: 768px) {
	:root { --bp-gutter: 24px; }
	.bp-h1 { font-size: 38px; }
	.bp-h2 { font-size: 28px; }
	.bp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
	.bp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bp-reassurance { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
	.bp-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bp-toolbar { flex-direction: row; justify-content: space-between; align-items: center; }
	.bp-sort select { width: 240px; }
	.bp-footer__inner { flex-direction: row; gap: 64px; }
	.bp-video-section { flex-direction: row; justify-content: center; gap: 64px; text-align: left; }
	.bp-video-section__cta { display: inline-flex; margin-top: 20px; }
	.bp-footer__brand { width: 340px; }
	.bp-hide-mobile { display: inline-flex !important; }
	.bp-card__title { font-size: 15px; }
	.bp-price__now { font-size: 18px; }
	.bp-modal { align-items: center; }
}

/* Ordinateur ----------------------------------------------------------------- */

@media (min-width: 1024px) {
	.bp-topbar { font-size: 14px; padding-block: 11px; }
	.bp-header { position: sticky; top: 0; }
	.admin-bar .bp-header { top: 32px; }
	.bp-header__inner { grid-template-columns: auto 1fr auto; gap: 32px; min-height: 84px; padding-inline: var(--bp-gutter); }
	.bp-header__menu { display: none; }
	.bp-header__logo { justify-self: start; }
	.bp-logo { height: 64px; }
	.bp-header__nav { display: block; min-width: 0; overflow: hidden; }
	.bp-header__nav .bp-menu { gap: 24px; }
	.bp-header__nav .bp-menu a { font-size: 14px; }
	.bp-search--desktop { display: flex; width: 240px; }
	.bp-header__search-mobile { display: none; }

	.bp-section { padding-block: 24px 56px; }
	.bp-hero { flex-direction: row; align-items: center; gap: 64px; padding-block: 64px; }
	.bp-hero__text { flex: 1; gap: 24px; }
	.bp-hero__title { font-size: 52px; line-height: 1.1; }
	.bp-hero__lead { font-size: 18px; max-width: 480px; }
	.bp-hero__ctas .bp-btn { flex: 0 0 auto; padding-inline: 32px; }
	.bp-hero__media { width: 520px; flex-shrink: 0; order: 0; }
	.bp-hero--no-media .bp-hero__text { max-width: 720px; }
	.bp-reassurance__item { padding: 24px; font-size: 14px; gap: 12px; }
	.bp-reassurance__item strong { font-size: 16px; }
	.bp-reassurance__icon { width: 48px; height: 48px; }
	.bp-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
	.bp-cat { height: 180px; padding: 16px; font-size: 17px; }
	.bp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
	.bp-card__body { padding: 16px; gap: 8px; }
	.bp-card__cta { font-size: 14px; }
	.bp-faq { flex-direction: row; gap: 48px; }
	.bp-faq__intro { width: 320px; flex-shrink: 0; }
	.bp-faq .bp-accordions { flex: 1; }

	.bp-product { padding-bottom: 40px; }
	.bp-product__top { flex-direction: row; align-items: flex-start; gap: 56px; padding-inline: var(--bp-gutter); }
	.bp-gallery { width: 54%; flex-shrink: 0; position: sticky; top: 100px; background: none; }
	.bp-gallery__track { border-radius: var(--bp-radius-card); }
	.bp-gallery__dots { display: none; }
	.bp-gallery__arrow { top: calc((100% - 84px) / 2); }
	.bp-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
	.bp-gallery__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--bp-white); cursor: pointer; }
	.bp-gallery__thumb.is-active { border-color: var(--bp-orange); }
	.bp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
	.bp-product__summary { flex: 1; padding-inline: 0; }
	.bp-product__title { font-size: 30px; }
	.bp-product__now { font-size: 32px; }
	.bp-sticky-buy { display: none !important; }
	.bp-cart__layout { flex-direction: row; align-items: flex-start; gap: 32px; }
	.bp-cart__items { flex: 1; }
	.bp-cart__summary { width: 360px; position: sticky; top: 110px; }
	body.single-product .bp-wa-float, body.single-product .bp-toast { bottom: 16px; }
}

/* Animations d'apparition : un seul mouvement pour tout le site --------------
   Sections, en-têtes de section, conteneurs (vidéo, bannière) et blocs (cartes,
   réassurances, avis, questions) montent de 16 px en fondu, en cascade de 70 ms.
   Le JS ne marque que ce qui est sous l'écran au chargement : le haut de page
   (hero, galerie, prix, bouton COMMANDER) ne bouge jamais. */
:root { --bp-ease-out: cubic-bezier(.22, .61, .36, 1); --bp-reveal-dur: .6s; --bp-reveal-dist: 16px; }
.bp-motion [data-bp-reveal] {
	opacity: 0; transform: translateY(var(--bp-reveal-dist));
	transition: opacity var(--bp-reveal-dur) var(--bp-ease-out), transform var(--bp-reveal-dur) var(--bp-ease-out);
	transition-delay: var(--bp-delay, 0ms);
}
.bp-motion [data-bp-reveal="zoom"] { transform: scale(.97); }
.bp-motion [data-bp-reveal].is-in { opacity: 1; transform: none; }

/* Survol (ordinateur) : les blocs cliquables se soulèvent tous de la même façon */
@media (hover: hover) {
	.bp-card, .bp-cat, .bp-review, .bp-reassurance__item { transition: transform .25s var(--bp-ease-out), box-shadow .25s var(--bp-ease-out); }
	.bp-card:hover, .bp-cat:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
	.bp-card__media img, .bp-cat__img { transition: transform .4s var(--bp-ease-out); }
	.bp-card:hover .bp-card__media img, .bp-cat:hover .bp-cat__img { transform: scale(1.04); }
}
@media print { .bp-motion [data-bp-reveal] { opacity: 1 !important; transform: none !important; } }

@media (prefers-reduced-motion: reduce) {
	.bp-drawer__panel { animation: none; }
	.bp-motion [data-bp-reveal] { opacity: 1; transform: none; }
	.bp-card:hover, .bp-cat:hover, .bp-card:hover .bp-card__media img, .bp-cat:hover .bp-cat__img { transform: none; }
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
	.bp-btn--swing, .bp-sticky-buy .bp-btn { animation: none; }
}
