body {
	background: var(--brand-cream);
}

.boutique-blocs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
	max-width: 960px;
	margin: 0 auto 60px;
}
.boutique-carousel {
	position: relative;
	width: 100%;
	overflow: hidden;
	touch-action: manipulation;
	min-height: 320px;
	background: var(--surface-soft);
}
.boutique-carousel-track {
	display: flex;
	transition: transform var(--duration-slow) ease;
}
.boutique-slide {
	flex: 0 0 100%;
	min-width: 100%;
	min-height: 320px;
}
.boutique-slide img {
	width: 100%;
	display: block;
	height: 320px;
	object-fit: cover;
}
.boutique-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border-radius: var(--radius-round);
	border: none;
	background: var(--white-85);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	box-shadow: 0 1px 4px var(--shadow-lg);
	touch-action: manipulation;
	color: var(--text-strong);
}
.boutique-carousel-arrow.prev {
	left: 8px;
}
.boutique-carousel-arrow.next {
	right: 8px;
}
.boutique-bloc-title {
	font-family: var(--font-display);
	font-size: var(--type-body-xl);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--primary);
	margin: 4px 20px 8px;
}
/* Collection produits */
.collection-section {
	padding: 60px 0 80px;
	background: var(--white);
	display: none;
}
.collection-section.active {
	display: block;
}
.collection-back {
	padding: 0;
	font-size: var(--type-body-tight);
	gap: 6px;
	margin-bottom: 32px;
}
.collection-header {
	text-align: center;
	margin-bottom: 40px;
}
.collection-header h2 {
	font-family: var(--font-display);
	font-size: var(--type-title-lg);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.collection-header p {
	font-family: var(--font-body);
	font-size: var(--type-body);
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
}
.products-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}
.product-card {
	background: var(--surface);
	border-radius: var(--radius-card);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition:
		transform var(--duration-default),
		box-shadow var(--duration-default);
	cursor: pointer;
}
.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px var(--shadow);
}
.product-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--primary);
	color: var(--white);
	font-family: var(--font-body);
	font-size: var(--type-caption);
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--radius-panel);
}
.product-info {
	padding: 16px;
}
.product-title {
	font-family: var(--font-display);
	font-size: var(--type-body-lg);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin-bottom: 4px;
}
.product-description {
	font-family: var(--font-body);
	font-size: var(--type-body-sm);
	color: var(--text-secondary);
	margin-bottom: 12px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.product-price {
	font-family: var(--font-body);
	font-size: var(--type-body-xl);
	font-weight: 700;
	color: var(--primary);
}
.product-price .original {
	font-size: var(--type-body-tight);
	color: var(--text-light);
	text-decoration: line-through;
	margin-left: 6px;
	font-weight: 400;
}
.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-secondary);
	grid-column: 1 / -1;
}

/* Product detail */
.product-detail-section {
	padding: 40px 0 80px;
	background: var(--white);
	display: none;
}
.product-detail-section.active {
	display: block;
}
.product-detail-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: start;
}
.product-detail-gallery {
	position: relative;
	border-radius: var(--radius-card);
	background: var(--brand-cream);
}
.product-detail-gallery-viewport {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	overflow: hidden;
	border-radius: var(--radius-card);
}
.product-detail-gallery-track {
	display: flex;
	transition: transform var(--duration-slow) ease;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.product-detail-gallery-slide {
	min-width: 100%;
	height: 100%;
	flex-shrink: 0;
}
.product-detail-gallery-slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.product-detail-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: var(--radius-round);
	border: none;
	background: var(--white-85);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background var(--duration-fast);
	box-shadow: 0 1px 4px var(--black-10);
	touch-action: manipulation;
	color: var(--text-strong);
}
.product-detail-gallery-arrow:hover {
	background: var(--white);
}
.product-detail-gallery-arrow.prev {
	left: 10px;
}
.product-detail-gallery-arrow.next {
	right: 10px;
}
.product-detail-gallery-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 16px 0;
}
.product-detail-info h1 {
	font-family: var(--font-display);
	font-size: var(--type-display);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.product-detail-tagline {
	font-family: var(--font-body);
	font-size: var(--type-body-lg);
	color: var(--text-secondary);
	margin-bottom: 12px;
}
.product-detail-price {
	font-family: var(--font-display);
	font-size: var(--type-title-md);
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 20px;
}
.product-detail-preview-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	font-family: var(--font-body);
	font-size: var(--type-body);
	font-weight: 500;
	color: var(--primary);
	border-radius: 0;
	text-decoration: none;
	margin-bottom: 20px;
	cursor: pointer;
}
.product-detail-preview-link:hover {
	text-decoration: underline;
}
.product-detail-divider {
	height: 1px;
	background: var(--shop-dot);
	margin: 20px 0;
}
.product-detail-description {
	font-family: var(--font-body);
	font-size: var(--type-body);
	line-height: 1.7;
	color: var(--neutral-700);
	margin-bottom: 28px;
}
.product-detail-specs {
	background: var(--brand-cream);
	border-radius: var(--radius-lg);
	padding: 20px 24px;
	margin-top: -20px;
}
.product-detail-specs-main {
	grid-column: 1;
}
.product-detail-specs h3 {
	font-family: var(--font-display);
	font-size: var(--type-body-lg);
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.product-detail-spec-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	font-family: var(--font-body);
	font-size: var(--type-body-tight);
	color: var(--text-soft);
}
.product-detail-spec-row svg {
	flex-shrink: 0;
	color: var(--brand-green);
}
.product-detail-add-cart {
	padding: 14px;
}
.product-detail-success-msg {
	font-family: var(--font-body);
	font-size: var(--type-body-sm);
	color: var(--brand-green);
	text-align: center;
	margin-top: 10px;
	display: none;
}
.flipping-book-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--black-60);
	z-index: 9998;
	align-items: center;
	justify-content: center;
}
.flipping-book-overlay.open {
	display: flex;
}
.flipping-book-modal {
	background: var(--white);
	border-radius: var(--radius-card);
	width: 90%;
	max-width: 800px;
	height: 80vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.flipping-book-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--neutral-100);
}
.flipping-book-header h3 {
	font-family: var(--font-display);
	font-size: var(--type-body-xl);
	font-weight: 700;
}
.flipping-book-close {
	width: 36px;
	height: 36px;
	background: var(--surface-neutral);
	border: none;
	font-size: var(--type-heading-sm);
}
.flipping-book-close:hover {
	background: var(--neutral-100);
}
.flipping-book-body {
	flex: 1;
}
.flipping-book-body iframe {
	width: 100%;
	height: 100%;
	border: none;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.boutique-tabs {
	justify-content: center;
	margin: 32px auto 0;
	max-width: 480px;
}
.boutique-tab {
	flex: 1;
	padding: 14px 0;
	font-family: var(--font-display);
	font-size: var(--type-body);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-secondary);
}

.resellers-section {
	padding: 48px 0 80px;
	display: none;
}
.resellers-section.active {
	display: block;
}

.resellers-search-bar {
	max-width: 420px;
	margin: 0 auto 36px;
	position: relative;
}
.resellers-search-control {
	padding: 14px 20px 14px 48px;
	border-color: var(--shop-dot);
	border-width: 2px;
	border-radius: var(--radius-pill);
	font-size: var(--type-body);
	transition: border-color var(--duration-fast);
}
.resellers-search-control:focus {
	border-color: var(--primary);
}
.resellers-search-bar svg {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
}

.resellers-count {
	text-align: center;
	font-family: var(--font-body);
	font-size: var(--type-body-sm);
	color: var(--text-secondary);
	margin-bottom: 28px;
}

.resellers-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.reseller-card {
	background: var(--white);
	border-radius: var(--radius-card);
	padding: 24px;
	border: 1px solid var(--border-shop-muted);
	transition:
		transform var(--duration-fast),
		box-shadow var(--duration-fast);
}
.reseller-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px var(--black-06);
}
.reseller-name {
	font-family: var(--font-display);
	font-size: var(--type-body-lg);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--text-primary);
	margin-bottom: 8px;
}
.reseller-city {
	font-family: var(--font-body);
	font-size: var(--type-body-sm);
	color: var(--primary);
	font-weight: 500;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.reseller-address {
	font-family: var(--font-body);
	font-size: var(--type-body-xs);
	color: var(--text-secondary);
	line-height: 1.4;
	margin-bottom: 10px;
}
.reseller-type-badge {
	display: inline-block;
	font-family: var(--font-body);
	font-size: var(--type-micro);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 10px;
	border-radius: var(--radius-card);
	background: var(--surface-muted);
	color: var(--text-secondary);
	margin-bottom: 10px;
}
.reseller-type-badge.online {
	background: var(--success-bg);
	color: var(--success-text);
}
.reseller-insta {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-body);
	font-size: var(--type-body-2xs);
	color: var(--text-secondary);
	text-decoration: none;
	transition: color var(--duration-fast);
}
.reseller-insta:hover {
	color: var(--primary);
}
.reseller-insta svg {
	width: 14px;
	height: 14px;
}

.resellers-empty {
	text-align: center;
	padding: 60px 20px;
	color: var(--text-secondary);
	font-family: var(--font-body);
}

@media (max-width: 768px) {
	.boutique-blocs {
		grid-template-columns: 1fr;
		max-width: 460px;
		gap: 24px;
	}
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.product-detail-layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.resellers-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 480px) {
	.products-grid {
		grid-template-columns: 1fr;
	}
	.resellers-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 767px) {
	body.detail-open {
		overflow-x: hidden;
	}
	.boutique-carousel {
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.boutique-carousel::-webkit-scrollbar {
		display: none;
	}
	.boutique-carousel-track {
		display: flex;
		transition: none;
		transform: none !important;
	}
	.boutique-slide {
		flex: 0 0 100%;
		min-width: 100%;
		scroll-snap-align: center;
	}
	.boutique-slide img {
		display: block;
		width: 100%;
		height: 240px;
		object-fit: cover;
		visibility: visible;
		opacity: 1;
	}
	.boutique-dot,
	.product-detail-gallery-dot {
		width: 10px;
		height: 10px;
		min-width: 10px;
		min-height: 10px;
		-webkit-tap-highlight-color: transparent;
	}
	.boutique-carousel-dots {
		gap: 10px;
		padding: 16px 0;
	}
	.product-detail-section {
		padding: 0 0 40px;
	}
	.product-detail-section .container {
		padding: 0;
	}
	.product-detail-gallery {
		border-radius: 0;
		background: var(--surface-shop-muted);
	}
	.product-detail-gallery-viewport {
		position: relative;
		width: 100%;
		padding-bottom: 0;
		height: auto;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		border-radius: 0;
	}
	.product-detail-gallery-viewport::-webkit-scrollbar {
		display: none;
	}
	.product-detail-gallery-track {
		display: flex;
		transition: none;
		transform: none !important;
		position: relative;
		width: 100%;
		height: auto;
	}
	.product-detail-gallery-slide {
		flex: 0 0 100%;
		min-width: 100%;
		height: auto;
		scroll-snap-align: center;
	}
	.product-detail-gallery-slide img {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
		object-fit: cover;
	}
	.product-detail-gallery-dots {
		padding: 12px 0;
	}
	.product-detail-gallery-arrow {
		width: 32px;
		height: 32px;
	}
	.product-detail-gallery-arrow.prev {
		left: 8px;
	}
	.product-detail-gallery-arrow.next {
		right: 8px;
	}
	.product-detail-info {
		padding: 0 16px;
	}
	.product-detail-info h1 {
		font-size: var(--type-title-md);
	}
	.product-detail-price {
		font-size: var(--type-subtitle);
	}
	.product-detail-add-cart {
		font-size: var(--type-body-tight);
		padding: 12px;
	}
	.product-detail-specs {
		margin: 0 16px;
		border-radius: var(--radius-lg);
	}
	body.detail-open .site-header,
	body.detail-open .promo-topbar,
	body.detail-open .promo-topbar-details,
	body.detail-open .header-products,
	body.detail-open .hero-banner,
	body.detail-open .boutique-tabs {
		display: none !important;
	}
	.collection-section .collection-back,
	.product-detail-section .collection-back {
		background: var(--white);
		gap: 6px;
		padding: 14px 16px;
		margin: 0;
		font-size: var(--type-body);
		font-weight: 500;
		color: var(--text-primary);
		text-decoration: none;
		border-bottom: 1px solid var(--neutral-100);
		position: sticky;
		top: 0;
		z-index: 10;
	}
	.collection-section {
		padding-top: 0;
	}
	.collection-section .container {
		padding-top: 0;
	}
	.collection-header {
		text-align: left;
		margin-bottom: 24px;
		padding: 20px 16px 0;
	}
	.collection-header h2 {
		font-family: var(--font-display);
		font-size: var(--type-body-xl);
		font-weight: 500;
		text-transform: uppercase;
	}
	.collection-header p {
		font-size: var(--type-body-sm);
		margin: 0;
	}
}
