/* ═══════════════════════════════════════════════════
   BIENHABILLÉ — PAGE PRODUIT COMPLÈTE
   ═══════════════════════════════════════════════════ */

:root {
	--bh-bk: #1a1a1a;
	--bh-wh: #ffffff;
	--bh-bg: #f8f7f5;
	--bh-g1: #f0eeeb;
	--bh-g2: #e2e0db;
	--bh-g3: #d0cec8;
	--bh-g4: #a09d96;
	--bh-g6: #6b6862;
	--bh-g8: #3d3b37;
	--bh-ac: #c8a97e;
	--bh-rd: #e53e3e;
	--bh-serif: "Cormorant Garamond", Georgia, serif;
	--bh-sans: "DM Sans", system-ui, sans-serif;
	--bh-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--bh-r: 8px;
}

.bh-product .bh-summary *,
.bh-product .bh-section *,
.bh-product .bh-gallery * {
	box-sizing: border-box;
}

/* ─── Breadcrumb ─── */
.bh-product__breadcrumb {
	padding: 14px 24px;
	border-bottom: 1px solid var(--bh-g1);
}
.bh-breadcrumb {
	font: 400 12px/1.4 var(--bh-sans);
	color: var(--bh-g4);
}
.bh-breadcrumb a {
	color: var(--bh-g4);
	text-decoration: none;
	transition: color 0.2s;
}
.bh-breadcrumb a:hover {
	color: var(--bh-bk);
}
.bh-sep {
	margin: 0 6px;
}

/* ═══ LAYOUT ═══ */
.bh-product__layout {
	display: flex;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
}

.bh-product__col-gallery {
	flex: 1 1 62%;
	position: sticky;
	top: 0;
	height: 100vh;
	min-height: 0;
	overflow: hidden;
	padding: 16px 0 0;
}
.bh-gallery {
	display: flex;
	gap: 12px;
	height: 100%;
	min-height: 0;
	min-width: 0;
}

.bh-product__col-summary {
	width: 420px;
	flex-shrink: 0;
	padding: 24px 0 40px 40px;
	position: sticky;
	top: 0;
	align-self: flex-start;
	max-height: 100vh;
	overflow-y: auto;
	overscroll-behavior: auto;
	scrollbar-width: none;
}
.bh-product__col-summary::-webkit-scrollbar {
	display: none;
}

/* ═══ GALERIE ═══ */
.bh-gallery__thumbs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 72px;
	flex-shrink: 0;
	overflow-y: auto;
	scrollbar-width: none;
}
.bh-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.bh-gallery__thumb {
	width: 64px;
	height: 80px;
	flex-shrink: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: var(--bh-g1);
	padding: 0;
	opacity: 0.5;
	transition: all 0.3s var(--bh-ease);
}
.bh-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bh-gallery__thumb-ph {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 72px;
	background: var(--bh-g2);
	border-radius: 6px;
}
.bh-gallery__thumb.is-active {
	border-color: var(--bh-bk);
	opacity: 1;
	transform: scale(1.06);
}
.bh-gallery__thumb:hover:not(.is-active) {
	opacity: 0.75;
	border-color: var(--bh-g3);
}

.bh-gallery__viewport {
	flex: 1 1 0;
	min-width: 0;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	scroll-snap-type: none;
	scroll-behavior: auto;
	overscroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	border-radius: 10px;
}
.bh-gallery__viewport::-webkit-scrollbar {
	display: none;
}

.bh-gallery__slide {
	position: relative;
	display: block;
	width: 100%;
	background: var(--bh-bg);
	margin: 0 0 12px;
	border-radius: var(--bh-r);
	overflow: visible;
}
.bh-gallery__slide:last-child {
	margin-bottom: 0;
}
.bh-gallery__slide img {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
	user-select: none;
}
.bh-gallery__slide-ph {
	width: 100%;
	min-height: 70vh;
	background: var(--bh-g1);
	border-radius: var(--bh-r);
}

.bh-gallery__cta-look {
	position: absolute;
	bottom: 24px;
	left: 24px;
	background: var(--bh-wh);
	color: var(--bh-bk);
	font: 600 12px/1 var(--bh-sans);
	padding: 12px 22px;
	border-radius: 28px;
	text-decoration: none;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
	transition: all 0.25s var(--bh-ease);
}
.bh-gallery__cta-look:hover {
	background: var(--bh-bk);
	color: var(--bh-wh);
	transform: translateY(-2px);
}

.bh-gallery__dots {
	display: none;
	justify-content: center;
	gap: 6px;
	padding: 12px 0;
}
.bh-gallery__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bh-g3);
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s var(--bh-ease);
}
.bh-gallery__dot.is-active {
	background: var(--bh-bk);
	width: 20px;
	border-radius: 3px;
}

/* ═══ RÉSUMÉ ═══ */
.bh-summary__title {
	font: 600 28px/1.2 var(--bh-serif);
	color: var(--bh-bk);
	margin: 0 0 16px;
}

.bh-summary__price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}
.bh-price--current {
	font: 600 24px/1 var(--bh-sans);
	color: var(--bh-bk);
}
.bh-price--current .woocommerce-Price-amount {
	font: inherit;
	color: inherit;
}
.bh-price--old {
	font-size: 16px;
	color: var(--bh-g4);
	text-decoration: line-through;
}
.bh-price--badge {
	background: var(--bh-rd);
	color: var(--bh-wh);
	font: 600 11px/1 var(--bh-sans);
	padding: 3px 8px;
	border-radius: 4px;
}

.bh-summary__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
}
.bh-stars {
	display: flex;
	gap: 2px;
	color: var(--bh-bk);
}
.bh-rating-num {
	font: 500 13px/1 var(--bh-sans);
}
.bh-rating-link {
	font: 400 13px/1 var(--bh-sans);
	color: var(--bh-g4);
	text-decoration: none;
}
.bh-rating-link:hover {
	text-decoration: underline;
}

.bh-summary__block {
	margin-bottom: 24px;
}
.bh-label {
	font: 600 13px/1.4 var(--bh-sans);
	color: var(--bh-bk);
	margin: 0 0 10px;
}
.bh-label span {
	font-weight: 400;
}

.bh-color-options {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.bh-color-btn {
	width: 56px;
	height: 64px;
	border-radius: var(--bh-r);
	border: 2px solid var(--bh-g2);
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	background: var(--bh-g1);
	transition: border 0.25s var(--bh-ease);
}
.bh-color-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bh-color-btn.is-active {
	border-color: var(--bh-bk);
}
.bh-color-btn:hover:not(.is-active) {
	border-color: var(--bh-g4);
}
.bh-swatch {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--bh-g3);
}

.bh-sizes-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
}
.bh-size-guide-link {
	font: 400 12px/1 var(--bh-sans);
	color: var(--bh-g6);
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: underline;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0;
}
.bh-size-hint {
	font: 400 11px/1.4 var(--bh-sans);
	color: var(--bh-g4);
	margin: 0 0 12px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}
.bh-size-hint svg {
	flex-shrink: 0;
	margin-top: 1px;
}
.bh-size-options {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.bh-size-btn {
	flex: 1;
	height: 44px;
	min-width: 44px;
	border: 1px solid var(--bh-g2);
	border-radius: 6px;
	background: var(--bh-wh);
	font: 500 13px/1 var(--bh-sans);
	color: var(--bh-bk);
	cursor: pointer;
	position: relative;
	transition: all 0.2s var(--bh-ease);
	padding: 0;
}
.bh-size-btn:hover:not(.is-active):not(.is-unavailable) {
	border-color: var(--bh-g4);
}
.bh-size-btn.is-active {
	border: 2px solid var(--bh-bk);
}
.bh-size-btn.is-unavailable {
	background: var(--bh-bg);
	color: var(--bh-g3);
	cursor: not-allowed;
}
.bh-cross {
	position: absolute;
	inset: 4px;
	color: var(--bh-g2);
	pointer-events: none;
}

.bh-summary__actions {
	margin-bottom: 32px;
}
.bh-summary__actions form {
	margin-bottom: 10px;
}
.bh-btn-cart {
	width: 100%;
	height: 52px;
	background: var(--bh-bk);
	color: var(--bh-wh);
	border: none;
	border-radius: var(--bh-r);
	font: 600 14px/1 var(--bh-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.25s var(--bh-ease);
}
.bh-btn-cart:hover:not(:disabled) {
	background: var(--bh-g8);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.bh-btn-cart:disabled {
	background: var(--bh-g3);
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.bh-summary__stock-badge--out {
	margin: 0 0 14px;
	display: inline-block;
	padding: 9px 14px;
	background: var(--bh-bk);
	color: var(--bh-wh);
	font: 600 11px/1 var(--bh-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: var(--bh-r);
}

a.bh-btn-cart.bh-btn-similar {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-sizing: border-box;
	background: var(--bh-wh);
	color: var(--bh-bk);
	border: 1px solid var(--bh-bk);
}

a.bh-btn-cart.bh-btn-similar:hover {
	background: var(--bh-bg);
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.bh-btn-wish {
	width: 100%;
	height: 48px;
	background: transparent;
	border: 1px solid var(--bh-g2);
	border-radius: var(--bh-r);
	font: 500 13px/1 var(--bh-sans);
	color: var(--bh-bk);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.25s var(--bh-ease);
}
.bh-btn-wish:hover {
	border-color: var(--bh-bk);
	background: var(--bh-bg);
}
.bh-btn-wish.is-liked svg {
	fill: var(--bh-rd);
	stroke: var(--bh-rd);
}

.bh-accordions {
	border-top: 1px solid var(--bh-g1);
}
.bh-acc {
	border-bottom: 1px solid var(--bh-g1);
}
.bh-acc summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	font: 600 13px/1 var(--bh-sans);
	cursor: pointer;
	list-style: none;
	color: var(--bh-bk);
	user-select: none;
}
.bh-acc summary::-webkit-details-marker {
	display: none;
}
.bh-acc summary svg {
	transition: transform 0.3s var(--bh-ease);
	flex-shrink: 0;
}
.bh-acc[open] summary svg {
	transform: rotate(180deg);
}
.bh-acc__body {
	padding: 0 0 16px;
	font: 400 13px/1.7 var(--bh-sans);
	color: var(--bh-g6);
}
.bh-acc__body p {
	margin: 0 0 8px;
}

.bh-style-badge {
	display: block;
	margin-top: 24px;
	padding: 20px;
	background: var(--bh-bg);
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.2s var(--bh-ease);
}
.bh-style-badge:hover {
	background: var(--bh-g1);
}
.bh-style-badge__label {
	display: block;
	font: 600 11px/1 var(--bh-sans);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--bh-g4);
	margin-bottom: 6px;
}
.bh-style-badge__name {
	display: block;
	font: 600 20px/1.2 var(--bh-serif);
	color: var(--bh-bk);
	margin-bottom: 4px;
}
.bh-style-badge__cta {
	font: 400 12px/1 var(--bh-sans);
	color: var(--bh-g4);
}

/* ═══ SECTIONS BASSES ═══ */
.bh-product__sections {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px 80px;
}
.bh-section {
	margin-bottom: 80px;
}
.bh-section__header {
	text-align: center;
	margin-bottom: 40px;
}
.bh-section__title {
	font: 600 32px/1.2 var(--bh-serif);
	color: var(--bh-bk);
	margin: 0 0 8px;
}
.bh-section__subtitle {
	font: 400 14px/1.4 var(--bh-sans);
	color: var(--bh-g4);
	margin: 0;
}

/* ═══ CARDS ═══ */
.bh-card {
	flex: 0 0 260px;
	scroll-snap-align: start;
}
.bh-card__img-wrap {
	display: block;
	position: relative;
	aspect-ratio: 3/4;
	border-radius: var(--bh-r);
	overflow: hidden;
	background: var(--bh-bg);
	margin-bottom: 12px;
}
.bh-card__img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--bh-ease);
}
.bh-card__img-wrap:hover img {
	transform: scale(1.04);
}
.bh-card__placeholder {
	width: 100%;
	height: 100%;
	background: var(--bh-g1);
}
.bh-card__quick {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
	background: var(--bh-wh);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transition: opacity 0.2s;
	color: var(--bh-bk);
}
.bh-card__img-wrap:hover .bh-card__quick {
	opacity: 1;
}
.bh-card__sale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--bh-rd);
	color: var(--bh-wh);
	font: 600 10px/1 var(--bh-sans);
	padding: 4px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.bh-card__cat {
	font: 500 11px/1 var(--bh-sans);
	color: var(--bh-g4);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: block;
	margin-bottom: 4px;
}
.bh-card__name {
	font: 500 14px/1.3 var(--bh-sans);
	color: var(--bh-bk);
	text-decoration: none;
	display: block;
	margin-bottom: 6px;
}
.bh-card__name:hover {
	text-decoration: underline;
}
.bh-card__price {
	font: 400 14px/1 var(--bh-sans);
	color: var(--bh-bk);
}
.bh-card__price--sale {
	color: var(--bh-rd);
	font-weight: 600;
	margin-right: 6px;
}
.bh-card__price--old {
	color: var(--bh-g4);
	text-decoration: line-through;
	font-size: 12px;
}

/* ═══ SLIDERS ═══ */
.bh-look__slider,
.bh-similar__slider {
	position: relative;
}
.bh-look__track,
.bh-similar__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding: 0 0 16px;
	scroll-behavior: smooth;
}
.bh-look__track::-webkit-scrollbar,
.bh-similar__track::-webkit-scrollbar {
	display: none;
}

.bh-look__arrow,
.bh-similar__arrow {
	position: absolute;
	top: 35%;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--bh-wh);
	border: 1px solid var(--bh-g2);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bh-bk);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: all 0.2s var(--bh-ease);
	z-index: 2;
}
.bh-look__arrow:hover,
.bh-similar__arrow:hover {
	background: var(--bh-bk);
	color: var(--bh-wh);
	border-color: var(--bh-bk);
}
.bh-look__arrow:disabled,
.bh-similar__arrow:disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}
.bh-look__arrow--prev,
.bh-similar__arrow--prev {
	left: -22px;
}
.bh-look__arrow--next,
.bh-similar__arrow--next {
	right: -22px;
}

/* ═══ AVIS ═══ */
.bh-reviews__summary {
	display: flex;
	gap: 48px;
	margin-bottom: 40px;
	justify-content: center;
	align-items: flex-start;
	flex-wrap: wrap;
}
.bh-reviews__avg {
	text-align: center;
	min-width: 140px;
}
.bh-reviews__big-num {
	font: 600 56px/1 var(--bh-serif);
	color: var(--bh-bk);
	display: block;
	margin-bottom: 8px;
}
.bh-reviews__avg-stars {
	display: flex;
	justify-content: center;
	gap: 2px;
	color: var(--bh-bk);
	margin-bottom: 6px;
}
.bh-reviews__total {
	font: 400 13px/1 var(--bh-sans);
	color: var(--bh-g4);
}

.bh-reviews__bars {
	flex: 1;
	max-width: 360px;
	min-width: 240px;
}
.bh-reviews__bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.bh-reviews__star-label {
	font: 500 12px/1 var(--bh-sans);
	color: var(--bh-g6);
	width: 32px;
	text-align: right;
}
.bh-reviews__bar-track {
	flex: 1;
	height: 8px;
	background: var(--bh-g1);
	border-radius: 4px;
	overflow: hidden;
}
.bh-reviews__bar-fill {
	height: 100%;
	background: var(--bh-bk);
	border-radius: 4px;
	transition: width 0.6s var(--bh-ease);
}
.bh-reviews__bar-count {
	font: 400 12px/1 var(--bh-sans);
	color: var(--bh-g4);
	width: 28px;
}

.bh-reviews__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.bh-review {
	padding: 24px;
	background: var(--bh-bg);
	border-radius: 12px;
}
.bh-review__header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.bh-review__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bh-bk);
	color: var(--bh-wh);
	font: 600 16px/40px var(--bh-sans);
	text-align: center;
	flex-shrink: 0;
}
.bh-review__author {
	display: block;
	font: 600 13px/1 var(--bh-sans);
	color: var(--bh-bk);
}
.bh-review__date {
	display: block;
	font: 400 11px/1.4 var(--bh-sans);
	color: var(--bh-g4);
	margin-top: 2px;
}
.bh-review__stars {
	display: flex;
	gap: 1px;
	color: var(--bh-bk);
	margin-left: auto;
}
.bh-review__text {
	font: 400 13px/1.6 var(--bh-sans);
	color: var(--bh-g6);
	margin: 0;
}

.bh-reviews__more-wrap {
	text-align: center;
	margin-top: 32px;
}
.bh-reviews__more {
	font: 500 13px/1 var(--bh-sans);
	color: var(--bh-bk);
	background: none;
	border: 1px solid var(--bh-g2);
	border-radius: 28px;
	padding: 14px 32px;
	cursor: pointer;
	transition: all 0.2s var(--bh-ease);
}
.bh-reviews__more:hover {
	background: var(--bh-bk);
	color: var(--bh-wh);
	border-color: var(--bh-bk);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
	.bh-product__layout {
		flex-direction: column;
	}
	.bh-product__col-gallery {
		position: relative;
		height: auto;
		overflow: visible;
	}
	.bh-gallery {
		flex-direction: column;
		height: auto;
	}
	.bh-gallery__thumbs {
		display: none;
	}
	.bh-gallery__viewport {
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x proximity;
		display: flex;
		flex-direction: row;
		align-items: stretch;
		gap: 4px;
		border-radius: 0;
		flex: 0 0 auto;
		width: 100%;
		height: 70vh;
		min-height: 280px;
		-webkit-overflow-scrolling: touch;
		touch-action: manipulation;
		overscroll-behavior-x: contain;
		overscroll-behavior-y: auto;
	}
	.bh-gallery__viewport:focus-visible {
		outline: 2px solid var(--bh-g4);
		outline-offset: 2px;
	}
	.bh-gallery__slide {
		display: flex;
		align-items: center;
		justify-content: center;
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		min-height: 0;
		margin: 0;
		box-sizing: border-box;
		overflow: hidden;
		scroll-snap-align: start;
	}
	.bh-gallery__viewport .bh-gallery__slide img {
		display: block;
		width: auto;
		height: auto;
		max-width: 100%;
		max-height: 100%;
		object-fit: contain;
		object-position: center;
	}
	.bh-gallery__viewport .bh-gallery__slide-ph {
		width: 100%;
		min-height: 100%;
		flex: 1;
	}
	.bh-gallery__dots {
		display: flex;
	}
	.bh-product__col-summary {
		width: 100%;
		position: relative;
		height: auto;
		overflow: visible;
		padding: 20px 0 0;
	}
	.bh-reviews__list {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	.bh-product__breadcrumb {
		padding: 10px 16px;
	}
	.bh-product__layout,
	.bh-product__sections {
		padding: 0 16px;
	}
	.bh-gallery__viewport {
		height: 60vh;
		min-height: 240px;
	}
	.bh-summary__title {
		font-size: 24px;
	}
	.bh-price--current {
		font-size: 20px;
	}
	.bh-size-options {
		flex-wrap: wrap;
	}
	.bh-size-btn {
		flex: 0 0 calc(33.33% - 6px);
	}
	.bh-card {
		flex: 0 0 200px;
	}
	.bh-section__title {
		font-size: 24px;
	}
	.bh-reviews__big-num {
		font-size: 40px;
	}
	.bh-look__arrow,
	.bh-similar__arrow {
		display: none;
	}
}
