.wpw-product {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 2rem;
	align-items: start;
}

/* Galerie */
.wpw-gallery-main {
	position: relative;
	aspect-ratio: 4 / 5;
	background: #f4f2ec;
	border: 1px solid #e5e2da;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wpw-gallery-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.wpw-gallery-placeholder {
	color: #9a998f;
	font-size: 32px;
}
.wpw-gallery-thumbs {
	display: flex;
	gap: 8px;
	margin-top: 8px;
	flex-wrap: wrap;
}
.wpw-thumb {
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid #e5e2da;
	border-radius: 6px;
	overflow: hidden;
	background: #f4f2ec;
	cursor: pointer;
}
.wpw-thumb.is-selected {
	border-color: #1c1c1a;
	border-width: 2px;
}
.wpw-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Infos produit */
.wpw-badge {
	display: inline-block;
	background: #eaf3de;
	color: #27500a;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.wpw-rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 13px;
	color: #5f5e5a;
}
.wpw-rating .star-rating {
	font-size: 13px;
}
.wpw-title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}
.wpw-subtitle {
	margin: 0 0 12px;
	font-size: 13px;
	color: #6b6a63;
	line-height: 1.6;
}
.wpw-price {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 18px;
}
.wpw-price del {
	font-size: 14px;
	font-weight: 400;
	opacity: .55;
	margin-right: 6px;
}
.wpw-price ins {
	text-decoration: none;
}

/* Attributs / sélecteurs */
.wpw-attribute-block {
	margin-bottom: 16px;
}
.wpw-attribute-label {
	font-size: 12px;
	color: #6b6a63;
	margin: 0 0 8px;
}
.wpw-swatches {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.wpw-swatch {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2px solid transparent;
	outline: 1px solid #e5e2da;
	outline-offset: 2px;
	cursor: pointer;
	padding: 0;
}
.wpw-swatch.is-selected {
	border-color: #1c1c1a;
}
.wpw-swatch.is-disabled {
	opacity: .3;
	cursor: not-allowed;
}
.wpw-length-options {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.wpw-option-btn {
	padding: 6px 16px;
	font-size: 12px;
	border: 1px solid #d8d6cc;
	border-radius: 20px;
	background: transparent;
	color: #1c1c1a;
	cursor: pointer;
}
.wpw-option-btn.is-selected {
	border-color: #1c1c1a;
	font-weight: 600;
}
.wpw-option-btn.is-disabled {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.wpw-stock-message {
	font-size: 12px;
	margin-bottom: 10px;
	min-height: 16px;
}
.wpw-stock-message.is-error {
	color: #a32d2d;
}
.wpw-stock-message.is-warning {
	color: #854f0b;
}

/* CTA */
.wpw-cta {
	width: 100%;
	background: #1c1c1a;
	color: #ffffff;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 16px;
	transition: background-color .15s ease;
}
.wpw-cta:hover {
	background: #3a3a37;
}
.wpw-cta:disabled {
	opacity: .5;
	cursor: not-allowed;
}
.wpw-cta.is-added {
	background: #3b6d11;
}
.wpw-cta.is-loading {
	opacity: .7;
}

/* Réassurance */
.wpw-reassurance {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	font-size: 11px;
	color: #6b6a63;
	border-top: 1px solid #e5e2da;
	padding-top: 12px;
}
.wpw-reassurance-item {
	display: flex;
	align-items: center;
	gap: 6px;
}
.wpw-reassurance-item i {
	font-size: 16px;
	color: #5f5e5a;
}

/* Responsive */
@media (max-width: 1024px) {
	.wpw-product {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.wpw-gallery-thumbs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wpw-sticky-cta .wpw-cta {
		position: sticky;
		bottom: 0;
		z-index: 5;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
	}
}
