/**
 * Boutique : reprise fidèle de la maquette validée (liste, fiche produit, panier, commande).
 *
 * @package ReveNomades
 */


/* ================= Boutique : élégante, sobre, une touche vintage ================= */

.bo-k {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--kick);
}

.bo-k::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dot);
	flex: 0 0 auto;
}

.bo-ex {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 2;
	padding: 4px 8px;
	border: 1px dashed rgb(var(--c-nuit-rgb) / .45);
	border-radius: 999px;
	background: rgb(var(--c-papier-rgb) / .82);
	color: var(--c-nuit);
	font-size: 9px;
}

.tag.ex {
	border-style: dashed;
}


/* ---------- Titre : le mot « Boutique » sur une photo au choix ---------- */

.bo-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: clamp(460px,38vw,600px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	background: var(--c-nuit-2);
	color: var(--c-papier);
}

.bo-hero-media {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.bo-hero-media img {
	position: absolute;
	inset: -2%;
	width: 104%;
	height: 104%;
	object-fit: cover;
	display: block;
	animation: kb 22s ease-in-out infinite alternate;
}

.bo-hero .scrim {
	background: linear-gradient(180deg,rgb(var(--c-nuit-rgb) / .62) 0%,rgb(var(--c-nuit-rgb) / 0) 26%,rgb(var(--c-nuit-rgb) / 0) 44%,rgb(var(--c-nuit-rgb) / .8) 100%);
}

.bo-hero-in {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: clamp(12px,1.4vw,20px);
	padding-top: clamp(150px,13vw,200px);
	padding-bottom: clamp(34px,4vw,56px);
}

.bo-hero-t {
	margin: 0;
	font-size: clamp(80px,14vw,250px);
	line-height: .8;
	color: var(--c-papier);
	text-shadow: 0 6px 40px rgba(0,0,0,.35);
}

.bo-hero-lead {
	margin: 0;
	max-width: 52ch;
	line-height: 1.75;
	font-size: clamp(13px,1.05vw,15px);
	color: var(--c-papier-3);
}


/* ---------- Les produits : un coin « Coup de cœur » à gauche, les autres en ordre simple ---------- */

.bo-shop {
	position: relative;
	padding: clamp(26px,2.8vw,40px) 0 clamp(90px,9vw,140px);
}

.bo-tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px 24px;
	padding-bottom: clamp(18px,2vw,26px);
	border-bottom: 1px solid var(--line);
}

.bo-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bo-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 15px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--fg);
	cursor: pointer;
	transition: background .25s,color .25s,border-color .25s;
}

.bo-chip:hover {
	border-color: var(--fg);
}

.bo-chip.on {
	background: var(--fg);
	color: var(--bg);
	border-color: var(--fg);
}

.bo-chip-n {
	opacity: .55;
}

.bo-count {
	color: var(--fg2);
}

.bo-layout {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,3fr);
	column-gap: clamp(16px,2.2vw,36px);
	align-items: start;
	margin-top: clamp(26px,3vw,44px);
}

.bo-layout > .bo-grid {
	grid-column: 2;
}


/* le coin « Coup de cœur » : pas de cadre ; la photo est posée en relief, un peu inclinée,
   comme un tirage sur la table, et respire doucement ; elle reste à l’écran pendant qu’on descend */

.bo-pick {
	position: sticky;
	top: 104px;
	display: flex;
	flex-direction: column;
	gap: clamp(22px,2.2vw,30px);
	padding: 8px 10px 10px 6px;
}

.bo-pick-fig {
	position: relative;
	transform: rotate(-2deg);
	animation: bo-float 9s ease-in-out infinite;
}

@keyframes bo-float {

	0%,
	100% {
		transform: rotate(-2deg) translateY(0);
	}

	50% {
		transform: rotate(-1deg) translateY(-7px);
	}
}

.bo-pick-fig:hover {
	animation-play-state: paused;
}

.bo-pick-ph {
	position: relative;
	display: block;
	aspect-ratio: 4/5;
	overflow: hidden;
	background: var(--c-papier-2);
	box-shadow: 0 1px 2px rgb(var(--c-nuit-rgb) / .12),0 12px 22px -10px rgb(var(--c-nuit-rgb) / .32),0 38px 60px -28px rgb(var(--c-nuit-rgb) / .5);
	transition: box-shadow .6s ease;
}

.bo-pick-fig:hover .bo-pick-ph {
	box-shadow: 0 1px 2px rgb(var(--c-nuit-rgb) / .12),0 18px 30px -12px rgb(var(--c-nuit-rgb) / .36),0 52px 80px -32px rgb(var(--c-nuit-rgb) / .56);
}

.amb-nuit .bo-pick-ph {
	box-shadow: 0 0 0 1px rgb(var(--c-papier-rgb) / .06),0 14px 26px -10px rgba(0,0,0,.6),0 40px 70px -26px rgba(0,0,0,.85);
}

.bo-pick-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s cubic-bezier(.2,.7,.2,1);
}

.bo-pick-ph:hover img {
	transform: scale(1.03);
}

.bo-pick-tag {
	position: absolute;
	left: -12px;
	top: 22px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 13px 7px;
	background: var(--c-papier);
	color: var(--c-nuit);
	border: 1px solid rgb(var(--c-nuit-rgb) / .16);
	font-size: 10px;
	transform: rotate(-4deg);
	box-shadow: 0 10px 18px -10px rgba(0,0,0,.55);
	pointer-events: none;
}

.bo-pick-tag i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--verm);
}

.bo-pick-txt {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.bo-pick-name {
	font-family: var(--f-title);
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(28px,2.4vw,40px);
	line-height: .92;
}

.bo-pick-price {
	font-family: var(--f-sub);
	font-weight: 600;
	letter-spacing: .02em;
	font-size: clamp(17px,1.4vw,21px);
}

.bo-pick-d {
	margin: 2px 0 2px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--fg2);
}

.bo-pick-txt .lnk {
	padding: 6px 0;
}


/* la grille : de grandes photos, de l’air entre les pièces */

.bo-grid {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	column-gap: clamp(16px,2.2vw,36px);
	row-gap: clamp(44px,4.6vw,72px);
}

.bo-cell {
	position: relative;
	min-width: 0;
}

.bo-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--fg);
	text-decoration: none;
}

.bo-ph {
	position: relative;
	display: block;
	aspect-ratio: 4/5;
	overflow: hidden;
	background: var(--c-papier-2);
}

.bo-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity .7s ease,transform 1.4s cubic-bezier(.2,.7,.2,1);
}

.bo-ph img.b {
	opacity: 0;
}

.bo-card:hover .bo-ph img.b {
	opacity: 1;
}

.bo-card:hover .bo-ph img {
	transform: scale(1.025);
}

.bo-card.is-out .bo-ph img {
	filter: grayscale(.6);
	opacity: .8;
}

.bo-badges {
	position: absolute;
	left: 12px;
	top: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bo-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--c-papier);
	color: var(--c-foret);
	font-family: var(--f-label);
	font-weight: var(--l-weight);
	font-size: 9px;
	letter-spacing: var(--l-track);
	text-transform: uppercase;
}

.bo-badge.lim {
	background: var(--c-nuit);
	color: var(--c-papier);
}


/* Bientôt : article en préparation, pas encore en vente */

.bo-badge.soon {
	background: var(--c-ete);
	color: var(--c-nuit);
}


/* Promotion : pourcentage libre, ancien prix barré */

.bo-badge.promo {
	background: var(--c-verm);
	color: var(--c-blanc);
}

.bo-old {
	font-weight: 500;
	opacity: .55;
	margin-right: 6px;
	text-decoration-thickness: 1px;
}

.bo-p-price .bo-badge.promo {
	vertical-align: middle;
	margin-left: 10px;
}


/* Coup de cœur en promotion : la pastille à droite (l’étiquette « Coup de cœur » occupe la gauche) */

.bo-pick-ph .bo-badges {
	left: auto;
	right: 12px;
	top: 14px;
}

.bo-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
}

.bo-name {
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: clamp(17px,1.4vw,22px);
	line-height: 1.1;
}

.bo-price {
	font-family: var(--f-sub);
	font-weight: 600;
	letter-spacing: .02em;
	font-size: clamp(17px,1.4vw,22px);
	line-height: 1.1;
	white-space: nowrap;
}

.bo-sub {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fg2);
	margin-top: -6px;
}

.bo-dots {
	display: inline-flex;
	gap: 5px;
}

.bo-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.22);
}

.bo-cmk button {
	min-height: 26px;
	padding: 4px 7px;
}

.bo-empty {
	margin: 0;
	font-size: clamp(15px,1.2vw,18px);
}


/* article épuisé : le même tampon que « Complet » pour les voyages */

.stamp.bo-stamp {
	top: 16px;
	right: 14px;
	font-size: clamp(17px,1.5vw,24px);
	padding: 6px 12px 5px;
}


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

.bo-prod {
	position: relative;
	padding: clamp(108px,9vw,138px) 0 clamp(90px,9vw,140px);
}

.bo-crumb-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px 20px;
	margin-bottom: clamp(18px,2vw,28px);
}

.bo-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--fg2);
}

.bo-crumb a {
	color: var(--fg);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.bo-crumb a:hover {
	border-bottom-color: currentcolor;
}

.bo-prod-in {
	display: grid;
	grid-template-columns: repeat(12,minmax(0,1fr));
	column-gap: clamp(16px,2.4vw,40px);
	row-gap: 28px;
	align-items: start;
}

.bo-gal {
	grid-column: 1 / 8;
	min-width: 0;
	position: relative;
}

.bo-gal > .stamp {
	top: 24px;
	right: 24px;
	z-index: 4;
	font-size: clamp(22px,2.2vw,34px);
}

.bo-main {
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	background: var(--c-papier-2);
}

.bo-main img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bo-thumbs {
	display: grid;
	grid-template-columns: repeat(5,minmax(0,1fr));
	gap: 12px;
	margin-top: 12px;
}

.bo-thumb {
	position: relative;
	aspect-ratio: 4/5;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: var(--c-papier-2);
	cursor: pointer;
	opacity: .55;
	transition: opacity .3s;
}

.bo-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bo-thumb:hover {
	opacity: .85;
}

.bo-thumb.on {
	opacity: 1;
	outline: 1.5px solid var(--fg);
	outline-offset: 3px;
}

.bo-swipe,
.bo-sdots {
	display: none;
}

.bo-info {
	grid-column: 8 / -1;
	position: sticky;
	top: 92px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.bo-info .bo-k .tag {
	margin-left: 4px;
	min-height: 22px;
	font-size: 9px;
	color: var(--fg);
}

.bo-p-name {
	margin: 0;
	font-size: clamp(34px,3.4vw,58px);
	line-height: .9;
}

.bo-p-price {
	font-family: var(--f-sub);
	font-weight: 600;
	font-size: clamp(22px,1.9vw,30px);
	letter-spacing: .02em;
}

.bo-lim {
	color: var(--fg);
}

.bo-p-desc {
	margin: 0;
	max-width: 46ch;
	font-size: clamp(14px,1.1vw,16px);
	line-height: 1.75;
}

.bo-opt {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-self: stretch;
}

.bo-opt-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.bo-opt-l {
	color: var(--fg2);
}

.bo-opt-l b {
	color: var(--fg);
	font-weight: inherit;
}

.bo-guide {
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentcolor;
	background: none;
	color: var(--fg);
	cursor: pointer;
}

.bo-swatches {
	display: flex;
	gap: 10px;
}

.bo-swatch {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid var(--bg);
	box-shadow: 0 0 0 1px var(--line),inset 0 0 0 1px rgba(0,0,0,.2);
	cursor: pointer;
}

.bo-swatch.on {
	box-shadow: 0 0 0 2px var(--fg),inset 0 0 0 1px rgba(0,0,0,.2);
}

.bo-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bo-size {
	min-width: 52px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--fg);
	cursor: pointer;
	transition: background .2s,color .2s,border-color .2s;
}

.bo-size:hover {
	border-color: var(--fg);
}

.bo-size.on {
	background: var(--fg);
	color: var(--bg);
	border-color: var(--fg);
}

.bo-size.out {
	text-decoration: line-through;
	opacity: .4;
}

.bo-avail {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
}

.bo-avail i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--fg2);
}

.bo-avail.ok i {
	background: var(--c-ok);
}

.bo-avail.low i {
	background: var(--c-bas);
}

.bo-avail.out i {
	background: var(--verm);
}

.bo-avail.soon i {
	background: var(--c-ete);
}

.bo-buy {
	align-self: stretch;
	display: flex;
	gap: 10px;
}

.bo-qty {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	height: 52px;
	border: 1px solid var(--line);
}

.bo-qty span {
	min-width: 30px;
	text-align: center;
	font-family: var(--f-label);
	font-weight: var(--l-weight);
}

.bo-q-btn {
	width: 42px;
	height: 100%;
	border: 0;
	background: transparent;
	color: var(--fg);
	font-size: 18px;
	cursor: pointer;
}

.bo-q-btn.dis {
	opacity: .3;
	pointer-events: none;
}

.bo-qty.sm {
	height: 36px;
}

.bo-qty.sm .bo-q-btn {
	width: 32px;
	font-size: 15px;
}

.btn.bo-add {
	flex: 1;
}

.btn.off,
.btn[disabled] {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
	filter: none;
}

.bo-reass {
	list-style: none;
	margin: 6px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--fg2);
	align-self: stretch;
}

.bo-acc {
	align-self: stretch;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.bo-acc summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	cursor: pointer;
	list-style: none;
}

.bo-acc summary::-webkit-details-marker {
	display: none;
}

.bo-acc summary::after {
	content: "+";
	font-size: 16px;
}

.bo-acc[open] summary::after {
	content: "–";
}

.bo-acc ul {
	margin: 0 0 14px;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.8;
}

.bo-rel {
	margin-top: clamp(70px,7vw,110px);
	padding-top: clamp(26px,2.6vw,36px);
	border-top: 1px solid var(--line);
}

.bo-rel-t {
	margin: 0 0 clamp(22px,2.4vw,34px);
	font-size: clamp(30px,3vw,48px);
	line-height: .9;
}

.bo-mbar {
	display: none;
}

.bo-added {
	align-self: stretch;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 6px 16px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	background: color-mix(in srgb,var(--fg) 6%,transparent);
	animation: rise .5s cubic-bezier(.2,.7,.2,1) both;
}

.bo-added-ok {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bo-added-ok i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-ok);
}

.bo-added .lnk {
	padding: 4px 0;
}


/* ---------- Panier : un tiroir à droite ---------- */

.bo-scrim {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgb(var(--c-nuit-rgb) / .48);
	animation: fadein .3s ease both;
}

.bo-cart {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 91;
	width: min(470px,100%);
	display: flex;
	flex-direction: column;
	box-shadow: -30px 0 70px -30px rgba(0,0,0,.55);
	animation: bo-in .45s cubic-bezier(.2,.7,.2,1) both;
}

@keyframes bo-in {

	from {
		transform: translateX(40px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

.bo-cart-head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px clamp(18px,2vw,26px);
	border-bottom: 1px solid var(--line);
}

.bo-cart-head h2 {
	margin: 0;
	font-size: 34px;
	line-height: 1;
}

.bo-cart-head .mono {
	flex: 1;
	color: var(--fg2);
}

.bo-cart-head .ibtn {
	color: var(--fg);
}

.bo-cart-head .ibtn:hover {
	background: color-mix(in srgb,var(--fg) 8%,transparent);
}

.amb-vermillon .bo-avail.out i {
	background: var(--c-verm-texte);
}

.bo-cart-empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 16px;
	padding: 0 clamp(18px,2vw,26px);
}

.bo-cart-empty .disp {
	margin: 0;
	font-size: 34px;
}

.bo-lines {
	list-style: none;
	margin: 0;
	padding: 0 clamp(18px,2vw,26px);
	flex: 1;
	overflow-y: auto;
}

.bo-line {
	display: grid;
	grid-template-columns: 88px minmax(0,1fr) auto;
	gap: 14px;
	align-items: start;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	transition: background .6s;
}

.bo-line.flash {
	background: color-mix(in srgb,var(--fg) 7%,transparent);
}

.bo-l-ph {
	position: relative;
	display: block;
	width: 88px;
	aspect-ratio: 4/5;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: var(--c-papier-2);
	cursor: pointer;
}

.bo-l-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bo-l-main {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.bo-l-name {
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 18px;
	line-height: 1.1;
}

.bo-l-var,
.bo-l-unit {
	color: var(--fg2);
}

.bo-l-row {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
}

.bo-rm {
	padding: 0;
	border: 0;
	border-bottom: 1px solid currentcolor;
	background: none;
	color: var(--fg2);
	cursor: pointer;
}

.bo-rm:hover {
	color: var(--fg);
}

.bo-l-total {
	font-family: var(--f-sub);
	font-weight: 600;
	font-size: 18px;
	white-space: nowrap;
}

.bo-cart-foot {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px clamp(18px,2vw,26px) 22px;
	border-top: 1px solid var(--line);
}

.bo-sumrow {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.bo-sumrow.mono {
	color: var(--fg2);
}

.bo-sumrow.tot {
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 22px;
	padding-top: 6px;
}

.btn.bo-checkout {
	margin-top: 6px;
	width: 100%;
}

.bo-cart-foot .lnk {
	align-self: center;
}

.bo-note {
	margin: 4px 0 0;
	text-align: center;
	color: var(--fg2);
	text-transform: none;
	letter-spacing: .02em;
	font-weight: 400;
	font-size: 11px;
	line-height: 1.6;
}


/* ---------- Commande : les étapes, le récapitulatif ---------- */

.bo-co {
	position: relative;
	padding: clamp(108px,9vw,138px) 0 clamp(90px,9vw,140px);
}

.bo-co-t {
	margin: 0 0 clamp(18px,2vw,28px);
	font-size: clamp(48px,6vw,104px);
	line-height: .86;
}

.bo-steps {
	list-style: none;
	margin: 0 0 clamp(28px,3vw,44px);
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bo-steps li {
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--fg2);
}

.bo-steps li.done {
	background: var(--fg);
	border-color: var(--fg);
	color: var(--bg);
}

.bo-steps li.cur {
	border-color: var(--fg);
	color: var(--fg);
}

.bo-co-in {
	display: grid;
	grid-template-columns: repeat(12,minmax(0,1fr));
	column-gap: clamp(16px,2.4vw,40px);
	row-gap: 28px;
	align-items: start;
}

.bo-co-main {
	grid-column: 1 / 8;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bo-co-step {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: clamp(18px,1.8vw,26px);
	border: 1px dashed var(--line);
}

.bo-co-step .mono {
	color: var(--fg);
}

.bo-co-step p {
	margin: 0;
	color: var(--fg2);
	font-size: 14px;
	line-height: 1.7;
}

.bo-co-note {
	margin: 6px 0 0;
	max-width: 62ch;
	font-size: 13px;
	line-height: 1.8;
	color: var(--fg2);
}

.bo-co-sum {
	grid-column: 8 / -1;
	position: sticky;
	top: 92px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(18px,1.8vw,26px);
	background: color-mix(in srgb,var(--fg) 5%,transparent);
}

.bo-co-lines {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.bo-co-lines li {
	display: grid;
	grid-template-columns: 56px minmax(0,1fr) auto;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}

.bo-co-lines img {
	width: 56px;
	aspect-ratio: 4/5;
	object-fit: cover;
	display: block;
	background: var(--c-papier-2);
}

.bo-co-lines b {
	display: block;
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 15px;
	line-height: 1.15;
}

.bo-co-lines .mono {
	color: var(--fg2);
}

.bo-co-sum .lnk {
	align-self: flex-start;
	margin-top: 6px;
}






/* ---------- Petits écrans ---------- */


@media (max-width: 1100px) {
	.bo-layout {
		grid-template-columns: minmax(0,1fr) minmax(0,2fr);
	}

	.bo-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}

	.bo-rel .bo-cell:nth-child(n+3) {
		display: none;
	}
}


@media (max-width: 899px) {
	.bo-layout {
		grid-template-columns: minmax(0,1fr);
		row-gap: clamp(30px,6vw,44px);
	}

	.bo-layout > .bo-grid {
		grid-column: 1;
	}

	.bo-pick {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 22px;
		padding: 10px 4px 6px 10px;
	}

	.bo-pick-fig {
		flex: 0 0 42%;
	}

	.bo-pick-txt {
		flex: 1 1 0;
	}

	.bo-gal,
	.bo-info,
	.bo-co-main,
	.bo-co-sum {
		grid-column: 1 / -1;
	}

	.bo-info,
	.bo-co-sum {
		position: static;
	}

	.bo-main,
	.bo-thumbs {
		display: none;
	}

	.bo-swipe {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin: 0 calc(-1 * clamp(16px,4vw,56px));
	}

	.bo-swipe::-webkit-scrollbar {
		display: none;
	}

	.bo-slide {
		position: relative;
		flex: 0 0 100%;
		aspect-ratio: 4/5;
		scroll-snap-align: start;
		background: var(--c-papier-2);
	}

	.bo-slide img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.bo-sdots {
		display: flex;
		align-items: center;
		gap: 7px;
		margin-top: 12px;
	}

	.bo-sdot {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: var(--line);
	}

	.bo-sdot.on {
		background: var(--fg);
	}

	.bo-scount {
		margin-left: auto;
		color: var(--fg2);
	}

	.bo-prod {
		padding-bottom: calc(clamp(90px,9vw,140px) + 76px);
	}

	.bo-mbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px;
		box-shadow: 0 -12px 30px -18px rgba(0,0,0,.4);
	}

	.bo-mbar-p {
		font-family: var(--f-sub);
		font-weight: 600;
		font-size: 20px;
		white-space: nowrap;
	}

	.bo-mbar .btn {
		flex: 1;
		min-height: 48px;
	}

	.bo-buy .btn.bo-add {
		display: none;
	}
}


@media (max-width: 640px) {
	.bo-hero {
		min-height: clamp(440px,118vw,540px);
	}

	.bo-hero-t {
		font-size: clamp(52px,17vw,100px);
	}

	.bo-hero-in {
		padding-top: 150px;
	}

	.bo-pick-d {
		display: none;
	}

	.bo-pick-name {
		font-size: 24px;
	}

	.bo-pick-tag {
		left: -8px;
		top: 14px;
		padding: 6px 9px 5px;
		font-size: 9px;
		gap: 6px;
	}

	.bo-pick-fig {
		animation: none;
	}

	.stamp.bo-stamp {
		top: 10px;
		right: 8px;
		font-size: 13px;
		padding: 4px 8px 3px;
		border-width: 2px;
		outline-width: 2px;
	}

	.bo-gal > .stamp {
		top: 14px;
		right: 14px;
		font-size: 20px;
	}

	.bo-grid {
		column-gap: 12px;
		row-gap: 34px;
	}

	.bo-meta {
		flex-direction: column;
		gap: 4px;
	}

	.bo-name,
	.bo-price {
		font-size: 15px;
	}

	.bo-sub .mono {
		font-size: 9px;
	}

	.bo-badge {
		font-size: 8px;
		padding: 0 8px;
		min-height: 20px;
	}

	.bo-badges {
		left: 8px;
		top: 8px;
	}

	.bo-pick-ph .bo-badges {
		left: 8px;
		right: auto;
		top: auto;
		bottom: 8px;
	}

	.bo-ex {
		right: 6px;
		bottom: 6px;
		font-size: 8px;
		padding: 3px 6px;
	}

	.bo-chip {
		min-height: 34px;
		padding: 0 12px;
	}

	.bo-cmk button {
		padding: 3px 5px;
		min-height: 24px;
	}

	.bo-line {
		grid-template-columns: 72px minmax(0,1fr);
	}

	.bo-l-ph {
		width: 72px;
	}

	.bo-l-total {
		grid-column: 2;
	}
}


/* =========================================================================
 * Compléments pour WooCommerce (la maquette ne dessinait pas les formulaires réels)
 * ====================================================================== */

.bo-scrim[hidden],
.bo-cart[hidden],
.bo-empty[hidden],
.bo-cell[hidden],
.bo-pick[hidden],
.badge[hidden] {
	display: none !important;
}

.bo-cart-body {
	display: contents;
}

.bo-cart-empty .lnk,
.bo-cart-foot .btn {
	text-decoration: none;
}

body.rn-panier-ouvert {
	overflow: hidden;
}

/* Choix de la couleur et de la taille : de vrais boutons radio, cachés sous les pastilles. */
.bo-swatch,
.bo-size {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bo-swatch input,
.bo-size input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.bo-swatch:has(input:focus-visible),
.bo-size:has(input:focus-visible),
.bo-chip:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: 3px;
}

.bo-opt {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.bo-opt legend {
	padding: 0;
	margin-bottom: 10px;
}

.bo-form {
	display: contents;
}

.bo-info .woocommerce-notices-wrapper:empty {
	display: none;
}

a.bo-guide {
	text-decoration: none;
}

.bo-guide-dlg {
	max-width: min(560px, calc(100vw - 32px));
	padding: clamp(20px, 2.4vw, 32px);
	border: 0;
	background: var(--bg, var(--c-papier));
	color: var(--fg, var(--c-nuit));
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55);
}

.bo-guide-dlg::backdrop {
	background: rgb(var(--c-nuit-rgb) / .48);
}

.bo-guide-dlg h2 {
	margin: 0 0 14px;
	font-size: 34px;
	line-height: 1;
}

.bo-guide-dlg ul {
	margin: 0 0 18px;
	padding-left: 18px;
	font-size: 14px;
	line-height: 1.8;
}

/* ---------- Notices de WooCommerce (ajout au panier, erreurs) ---------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-notices-wrapper > ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	background: color-mix(in srgb, var(--fg) 6%, transparent);
	font-size: 14px;
	line-height: 1.6;
}

.woocommerce-error {
	border-color: var(--verm);
}

.woocommerce-message .button,
.woocommerce-info .button {
	margin-left: 10px;
	color: inherit;
	text-decoration: underline;
}

/* ---------- Commande (formulaire réel) ---------- */

.bo-co .woocommerce {
	display: block;
}

.bo-co-step h3,
.bo-co-step .woocommerce-billing-fields > h3,
.bo-co-step .woocommerce-additional-fields > h3 {
	display: none;
}

.bo-co-step #ship-to-different-address {
	display: block;
	margin: 14px 0 6px;
	font-size: 14px;
}

.bo-co .form-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 14px;
}

.bo-co .woocommerce-billing-fields__field-wrapper,
.bo-co .woocommerce-shipping-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 14px;
}

.bo-co .form-row-wide,
.bo-co #billing_address_1_field,
.bo-co #billing_address_2_field,
.bo-co #shipping_address_1_field,
.bo-co #shipping_address_2_field,
.bo-co #billing_country_field,
.bo-co #shipping_country_field,
.bo-co #order_comments_field {
	grid-column: 1 / -1;
}

.bo-co label,
.bo-co .woocommerce-form__label {
	font-family: var(--f-label);
	font-weight: var(--l-weight);
	font-size: 11px;
	letter-spacing: var(--l-track);
	text-transform: uppercase;
	color: var(--fg2);
}

.bo-co label .required {
	color: var(--verm);
	text-decoration: none;
	border: 0;
}

.bo-co label .optional {
	text-transform: none;
}

.bo-co input.input-text,
.bo-co textarea,
.bo-co select,
.bo-co .select2-selection {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--fg);
	font: inherit;
	font-size: 15px;
}

.bo-co textarea {
	min-height: 90px;
}

.bo-co input.input-text:focus,
.bo-co textarea:focus,
.bo-co select:focus {
	outline: 2px solid var(--fg);
	outline-offset: 1px;
}

.bo-co .woocommerce-invalid input.input-text,
.bo-co .woocommerce-invalid select {
	border-color: var(--verm);
}

.bo-co .checkbox,
.bo-co .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-transform: none;
	letter-spacing: 0;
	font-family: inherit;
	font-size: 14px;
	color: var(--fg);
}

/* Modes de livraison et de paiement : une ligne par choix */
.bo-ship,
.bo-co #payment ul.payment_methods {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bo-ship li,
.bo-co #payment ul.payment_methods > li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--line);
}

.bo-ship li:has(input:checked),
.bo-co #payment ul.payment_methods > li:has(> input:checked) {
	border-color: var(--fg);
}

.bo-ship label,
.bo-co #payment ul.payment_methods > li > label {
	flex: 1;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fg);
	cursor: pointer;
}

.bo-ship-p {
	font-family: var(--f-sub);
	font-weight: 600;
	white-space: nowrap;
}

.bo-co #payment .payment_box {
	flex: 1 1 100%;
	margin: 4px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.7;
	color: var(--fg2);
}

.bo-co #payment .payment_box p {
	margin: 0;
}

.bo-co #payment .place-order {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 18px;
}

.bo-co #payment .woocommerce-privacy-policy-text p,
.bo-co #payment .woocommerce-terms-and-conditions-wrapper {
	margin: 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--fg2);
}

.bo-co #place_order {
	width: 100%;
}

/* Paiement HelloAsso, dans son cadre sous les choix de l’extension : contribution volontaire
   expliquée (bien visible), case « j’ai compris » obligatoire */
.bo-ha {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 14px;
}

.bo-ha-avis,
.bo-co #payment .payment_box .bo-ha-avis {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 14px 16px;
	border: 2px solid var(--verm);
	border-left-width: 6px;
	background: color-mix(in srgb, var(--verm) 16%, transparent);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--fg);
	overflow-wrap: anywhere;
}

.bo-ha-titre {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.bo-ha-i {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--verm);
	color: var(--c-verm-texte);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
}

.bo-co #payment .payment_box .bo-ha-case,
.bo-co .bo-ha-case {
	margin: 0;
}

.bo-co .bo-ha-case label {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--fg);
}

.bo-co .bo-ha-case input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--verm);
}

.bo-co .bo-ha-case .required {
	color: var(--verm);
	text-decoration: none;
}

.bo-co .bo-ha-case.woocommerce-invalid label {
	color: var(--verm);
}

.bo-co .bo-ha-case .checkout-inline-error-message {
	margin: 6px 0 0 30px;
	font-size: 14px;
	font-weight: 700;
	color: var(--verm);
}

/* Smartphone : le texte de l’encadré prend toute la largeur (pastille « i » dans le titre) */
@media (max-width: 600px) {
	.bo-ha-avis,
	.bo-co #payment .payment_box .bo-ha-avis {
		display: block;
		padding: 12px 12px 12px 14px;
		font-size: 14px;
	}

	.bo-ha-titre {
		font-size: 15px;
	}

	.bo-ha-i {
		width: 22px;
		height: 22px;
		margin: 0 8px 4px 0;
		font-size: 13px;
		vertical-align: middle;
	}

	.bo-ha-avis .bo-ha-i {
		float: left;
	}
}

/* Erreurs de la commande (case non cochée, champ manquant…) : sur toute la largeur */
.bo-co-in > .woocommerce-NoticeGroup {
	grid-column: 1 / -1;
}

.bo-co-in > .woocommerce-NoticeGroup .woocommerce-error {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.bo-co-vide {
	margin: 0;
	color: var(--fg2);
	font-size: 14px;
	line-height: 1.7;
}

.bo-co .woocommerce-form-login-toggle,
.bo-co .woocommerce-form-coupon-toggle {
	margin-bottom: 14px;
}

/* Récapitulatif (colonne de droite) */
.bo-co-review {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bo-co-lines img {
	height: auto;
}

.bo-co-lines .bo-co-q {
	display: block;
	color: var(--fg2);
}

/* ---------- Confirmation ---------- */

.bo-merci {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bo-merci-lead {
	margin: 0;
	max-width: 60ch;
	font-size: clamp(15px, 1.2vw, 18px);
	line-height: 1.75;
}

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

.bo-recap li {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	font-size: 15px;
}

.bo-recap .mono {
	color: var(--fg2);
}

.bo-merci .wc-bacs-bank-details-heading,
.bo-merci .woocommerce-order-details__title,
.bo-merci .woocommerce-column__title {
	margin: 18px 0 8px;
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 22px;
}

.bo-merci .wc-bacs-bank-details {
	list-style: none;
	margin: 0;
	padding: 16px;
	border: 1px dashed var(--line);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bo-merci .wc-bacs-bank-details li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
}

.bo-merci table.shop_table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.bo-merci table.shop_table th,
.bo-merci table.shop_table td {
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.bo-merci table.shop_table td:last-child,
.bo-merci table.shop_table th:last-child {
	text-align: right;
}

.bo-merci .woocommerce-customer-details address {
	font-style: normal;
	line-height: 1.7;
}

/* ---------- Mon compte, page Panier ---------- */

.bo-compte .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	gap: clamp(20px, 3vw, 48px);
	align-items: start;
}

.bo-compte .woocommerce > .woocommerce-notices-wrapper,
.bo-compte .woocommerce > :only-child {
	grid-column: 1 / -1;
}

.bo-compte .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bo-compte .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 14px;
	border: 1px solid var(--line);
	color: var(--fg);
	text-decoration: none;
	font-family: var(--f-label);
	font-weight: var(--l-weight);
	font-size: 11px;
	letter-spacing: var(--l-track);
	text-transform: uppercase;
}

.bo-compte .woocommerce-MyAccount-navigation .is-active a {
	background: var(--fg);
	color: var(--bg);
	border-color: var(--fg);
}

.bo-compte .woocommerce-MyAccount-content,
.bo-compte .woocommerce-form-login,
.bo-compte .woocommerce-form-register {
	font-size: 15px;
	line-height: 1.75;
}

.bo-compte .u-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 48px);
	grid-column: 1 / -1;
}

.bo-compte .woocommerce-Button,
.bo-compte button.button {
	margin-top: 8px;
}

.bo-page-panier .bo-lines {
	grid-column: 1 / 8;
	padding: 0;
	border-top: 1px solid var(--line);
}

.bo-page-panier .bo-cart-foot {
	grid-column: 8 / -1;
	position: sticky;
	top: 92px;
	border: 0;
	padding: clamp(18px, 1.8vw, 26px);
	background: color-mix(in srgb, var(--fg) 5%, transparent);
}

.bo-co > .wrap-wide > .bo-cart-empty {
	padding: 0;
	align-items: flex-start;
}

@media (max-width: 899px) {

	.bo-compte .woocommerce,
	.bo-compte .u-columns,
	.bo-recap {
		grid-template-columns: minmax(0, 1fr);
	}

	.bo-page-panier .bo-lines,
	.bo-page-panier .bo-cart-foot {
		grid-column: 1 / -1;
		position: static;
	}
}

@media (max-width: 640px) {

	.bo-co .woocommerce-billing-fields__field-wrapper,
	.bo-co .woocommerce-shipping-fields__field-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Boutons de WooCommerce (connexion, compte, code promo) : comme les boutons du site. */
.bo-co button.button,
.bo-co a.button,
.bo-co .woocommerce-Button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--f-label);
	font-size: 12px;
	font-weight: var(--l-weight);
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.bo-co button.button:hover,
.bo-co a.button:hover {
	filter: brightness(1.12);
}

.bo-co .woocommerce-form-login .form-row:has(button),
.bo-co .woocommerce-form-register .form-row:has(button) {
	align-items: flex-start;
}

.bo-co .woocommerce-form-login .show-password-input {
	display: none;
}

.bo-compte h2 {
	margin: 0 0 14px;
	font-family: var(--f-sub);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 24px;
}

.bo-merci .bo-ha-avis {
	max-width: 60ch;
	font-weight: 400;
}
