/* ==========================================================================
   GenZEdition — Fiche produit (template Divi "Tous les produits")
   Design : maquette "robe-lisa.html" fournie par la marque.

   Classes (Divi 5 : Avancé → Attributes → + Add Attribute → class) :
     Section 1 ....... gz-pdp
     Rangée 2 col. ... gz-pdp-main      (colonnes : gz-col-gallery / gz-col-info)
     Modules ......... gz-breadcrumb, gz-gallery, gz-title, gz-price,
                       gz-short-desc, gz-atc
     Section 2 ....... gz-pdp gz-pdp--details   (module Code : [gz_product_sections])

   Ne rien styler dans Divi : tout le design est ici.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Page & typographie
   -------------------------------------------------------------------------- */
body.single-product,
body.single-product #page-container,
body.single-product #main-content,
body.single-product .gz-pdp.et_pb_section {
	background-color: var(--gz-bg);
}

body.single-product .gz-pdp {
	font-family: var(--gz-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--gz-ink);
	-webkit-font-smoothing: antialiased;
}

body.single-product .gz-pdp a {
	color: var(--gz-red);
	transition: color 0.2s ease;
}

body.single-product .gz-pdp a:hover {
	color: var(--gz-red-dark);
}

body.single-product .gz-pdp.et_pb_section {
	padding: 16px 0 72px;
}

body.single-product .gz-pdp .et_pb_row {
	width: calc(100% - 80px);
	max-width: 1200px;
	padding-top: 0;
	padding-bottom: 0;
}

body.single-product .gz-pdp .et_pb_module {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   1. Fil d'Ariane + notices
   -------------------------------------------------------------------------- */
body.single-product .gz-breadcrumb,
body.single-product .gz-breadcrumb .woocommerce-breadcrumb {
	margin: 0 0 24px;
	padding: 0;
	font: 400 13px/1.5 var(--gz-sans);
	color: var(--gz-text-3);
}

body.single-product .gz-pdp .gz-breadcrumb a {
	color: var(--gz-text-3);
}

body.single-product .gz-pdp .gz-breadcrumb a:hover {
	color: var(--gz-ink);
}

body.single-product .gz-pdp .woocommerce-message,
body.single-product .gz-pdp .woocommerce-info,
body.single-product .gz-pdp .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px 18px;
	background: var(--gz-blush-bg);
	color: var(--gz-ink);
	border: 0;
	border-radius: 0;
	font: 400 14px/1.5 var(--gz-sans);
}

body.single-product .gz-pdp .woocommerce-message::before,
body.single-product .gz-pdp .woocommerce-info::before {
	display: none;
}

body.single-product .gz-pdp .woocommerce-message .button,
body.single-product .gz-pdp .woocommerce-message a.button {
	order: 2;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 1px solid var(--gz-ink) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--gz-ink) !important;
	font: 500 12px/1 var(--gz-sans) !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.single-product .gz-pdp .woocommerce-message .button:hover {
	background: var(--gz-ink) !important;
	color: var(--gz-bg) !important;
}

body.single-product .gz-pdp .woocommerce-message .button::after {
	display: none !important;
}

/* --------------------------------------------------------------------------
   2. Rangée principale (galerie | infos)
   -------------------------------------------------------------------------- */
body.single-product .gz-pdp-main {
	display: flex !important;
	align-items: flex-start;
	gap: 56px;
}

body.single-product .gz-pdp-main > .gz-col-gallery {
	flex: 1 1 0 !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

body.single-product .gz-pdp-main > .gz-col-info {
	flex: 0 0 min(460px, 40%) !important;
	width: auto !important;
	max-width: 460px;
	min-width: 0;
	margin: 0 !important;
	position: -webkit-sticky;
	position: sticky;
	top: var(--gz-sticky-offset);
	align-self: flex-start;
}

body.admin-bar.single-product .gz-pdp-main > .gz-col-info {
	top: calc(var(--gz-sticky-offset) + 32px);
}

/* --------------------------------------------------------------------------
   3. Galerie : miniatures 72×108 à gauche + grande photo 2:3
   -------------------------------------------------------------------------- */
body.single-product .gz-gallery .woocommerce-product-gallery {
	display: grid !important;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 16px;
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	position: relative;
}

body.single-product .gz-gallery .woocommerce-product-gallery > .flex-viewport,
body.single-product .gz-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	grid-column: 2;
	grid-row: 1;
	margin: 0;
}

body.single-product .gz-gallery .woocommerce-product-gallery__image img,
body.single-product .gz-gallery .woocommerce-product-gallery__image a img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	object-position: center top;
	background: var(--gz-bg);
	margin: 0 !important;
}

body.single-product .gz-gallery .flex-control-thumbs {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	overflow: visible;
}

body.single-product .gz-gallery .flex-control-thumbs li {
	width: 72px !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

body.single-product .gz-gallery .flex-control-thumbs li img {
	display: block;
	width: 72px;
	height: 108px;
	object-fit: cover;
	object-position: center top;
	cursor: pointer;
	opacity: 1 !important;
	border: 1px solid transparent;
	background: var(--gz-bg);
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

body.single-product .gz-gallery .flex-control-thumbs li img:hover {
	border-color: var(--gz-line-strong);
}

body.single-product .gz-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--gz-ink);
}

body.single-product .gz-gallery img.gz-landscape,
.gz-card img.gz-landscape {
	object-fit: contain !important;
	object-position: center !important;
}

body.single-product .gz-gallery .woocommerce-product-gallery__trigger {
	display: none !important;
}

body.single-product .gz-gallery .onsale {
	position: absolute !important;
	top: 14px !important;
	left: calc(72px + 30px) !important;
	right: auto !important;
	z-index: 5;
	margin: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 6px 10px !important;
	border-radius: 0 !important;
	background: var(--gz-red) !important;
	color: var(--gz-bg) !important;
	font: 500 11px/1 var(--gz-sans) !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. Colonne infos
   -------------------------------------------------------------------------- */
body.single-product .gz-title h1,
body.single-product .gz-title .product_title {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-family: var(--gz-serif) !important;
	font-weight: 500 !important;
	font-style: normal;
	font-size: 52px !important;
	line-height: 1.05 !important;
	color: var(--gz-ink) !important;
}

body.single-product .gz-price .price,
body.single-product .gz-price p.price {
	margin: 0 0 24px !important;
	font-family: var(--gz-sans) !important;
	font-weight: 400 !important;
	font-size: 22px !important;
	line-height: 1.3 !important;
	color: var(--gz-ink) !important;
}

body.single-product .gz-price .price del {
	margin-right: 10px;
	font-size: 0.8em;
	color: var(--gz-text-3);
	opacity: 1;
}

body.single-product .gz-price .price ins {
	text-decoration: none;
	color: var(--gz-red);
}

/* Note */
.gz-rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -8px 0 24px;
	font: 400 13px/1 var(--gz-sans);
	color: var(--gz-ink);
}

.gz-stars {
	--gz-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
	display: inline-block;
	width: 87px;
	height: 16px;
	background: linear-gradient(90deg, var(--gz-red) var(--gz-rating, 100%), var(--gz-line-strong) var(--gz-rating, 100%));
	-webkit-mask: var(--gz-star) left center / 17.4px 16px repeat-x;
	mask: var(--gz-star) left center / 17.4px 16px repeat-x;
}

.gz-rating__count {
	color: var(--gz-text-3);
}

/* Description courte */
body.single-product .gz-short-desc,
body.single-product .gz-short-desc p {
	margin: 0;
	padding: 0;
	font: 400 16px/1.6 var(--gz-sans);
	color: var(--gz-text-2);
}

body.single-product .gz-short-desc {
	margin-bottom: 28px !important;
}

body.single-product .gz-short-desc p + p {
	margin-top: 10px;
}

/* --------------------------------------------------------------------------
   5. Couleur / taille / ajout au panier
   -------------------------------------------------------------------------- */
body.single-product .gz-atc form.cart {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.single-product .gz-atc table.variations,
body.single-product .gz-atc table.variations tbody,
body.single-product .gz-atc table.variations tr,
body.single-product .gz-atc table.variations th,
body.single-product .gz-atc table.variations td {
	display: block;
	width: auto;
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	text-align: left;
	line-height: 1.5;
}

body.single-product .gz-atc table.variations {
	margin-bottom: 32px !important;
}

body.single-product .gz-atc table.variations tr + tr {
	margin-top: 28px;
}

/* Ligne de titre : "Couleur : Offwhite"  |  "Taille : M ........ Guide des tailles" */
body.single-product .gz-atc table.variations th.label {
	margin: 0 0 10px !important;
}

body.single-product .gz-atc table.variations th.label label {
	display: block;
	margin: 0 !important;
	font: 400 14px/1.5 var(--gz-sans) !important;
	letter-spacing: 0;
	text-transform: none;
	color: var(--gz-ink) !important;
}

.gz-attr-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.gz-attr-name {
	font-weight: 500;
}

.gz-attr-desc {
	display: block;
	margin: 4px 0 4px;
	font: 400 13px/1.5 var(--gz-sans);
	color: var(--gz-text-3);
}

.gz-attr-desc:empty {
	display: none;
}

/* Le menu déroulant reste dans la page (WooCommerce en a besoin) mais est masqué */
body.single-product .gz-atc td.value.gz-has-swatches select {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
	overflow: hidden;
}

/* Fallback sans JS */
body.single-product .gz-atc table.variations select {
	min-width: 200px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--gz-ink);
	border-radius: 0;
	background-color: transparent;
	font: 400 15px var(--gz-sans);
	color: var(--gz-ink);
}

body.single-product .gz-atc .reset_variations {
	display: none !important;
}

.gz-swatches {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.gz-swatches--color {
	gap: 12px;
	padding: 4px 0 0 4px;
}

.gz-swatch {
	-webkit-appearance: none;
	appearance: none;
	position: relative;
	margin: 0;
	cursor: pointer;
	background: transparent;
	color: var(--gz-ink);
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.gz-swatch:focus-visible {
	outline: 2px solid var(--gz-red);
	outline-offset: 3px;
}

/* Taille */
.gz-swatch--label {
	min-width: 64px;
	height: 48px;
	padding: 0 14px;
	border: 1px solid var(--gz-ink);
	border-radius: 0;
	font: 400 15px/1 var(--gz-sans);
}

.gz-swatch--label:hover {
	background: var(--gz-blush-bg);
}

.gz-swatch--label.is-selected {
	background: var(--gz-ink);
	color: var(--gz-bg);
}

/* Couleur */
.gz-swatch--color {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--gz-line-strong);
	border-radius: 50%;
	background: var(--gz-swatch, var(--gz-line-strong));
	box-shadow: none;
}

.gz-swatch--color:hover {
	box-shadow: 0 0 0 2px var(--gz-bg), 0 0 0 3px var(--gz-line-strong);
}

.gz-swatch--color.is-selected {
	box-shadow: 0 0 0 2px var(--gz-bg), 0 0 0 3px var(--gz-ink);
}

/* Option indisponible */
.gz-swatch.is-disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.gz-swatch--label.is-disabled {
	text-decoration: line-through;
	background: transparent;
	color: var(--gz-ink);
}

.gz-swatch--color.is-disabled::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 2px;
	right: 2px;
	height: 1px;
	background: var(--gz-ink);
	transform: rotate(-45deg);
}

/* Lien guide des tailles (sur la ligne "Taille : M") */
body.single-product .gz-pdp .gz-size-guide-link {
	font: 400 13px/1.5 var(--gz-sans);
	color: var(--gz-red);
	white-space: nowrap;
}

body.single-product .gz-pdp .gz-size-guide-link:hover {
	color: var(--gz-red-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Message "choisissez une option" */
.gz-choose-notice {
	margin: 0 0 14px;
	font: 400 13px/1.4 var(--gz-sans);
	color: var(--gz-red);
}

tr.gz-needs-choice .gz-attr-name {
	color: var(--gz-red);
}

/* Infos variation (le prix de la variation remplace le prix principal) */
body.single-product .gz-atc .woocommerce-variation-price {
	display: none !important;
}

body.single-product .gz-atc .woocommerce-variation-availability,
body.single-product .gz-atc .woocommerce-variation-description,
body.single-product .gz-atc .stock {
	margin: 0 0 12px;
	font: 400 13px/1.5 var(--gz-sans);
	color: var(--gz-text-3);
}

body.single-product .gz-atc .stock.out-of-stock {
	color: var(--gz-red);
}

body.single-product .gz-atc .quantity {
	display: none !important;
}

/* Bouton Ajouter au panier */
body.single-product .gz-atc .woocommerce-variation-add-to-cart,
body.single-product .gz-atc form.cart:not(.variations_form) {
	display: flex;
	width: 100%;
}

body.single-product .gz-atc .single_add_to_cart_button,
body.single-product .gz-atc .single_add_to_cart_button.button,
body.single-product .gz-atc .single_add_to_cart_button.button.alt {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	width: 100% !important;
	min-height: 52px;
	height: auto;
	margin: 0 0 12px !important;
	padding: 0 24px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--gz-red) !important;
	color: var(--gz-bg) !important;
	font: 400 14px/1 var(--gz-sans) !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase;
	opacity: 1 !important;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

body.single-product .gz-atc .single_add_to_cart_button:hover {
	background: var(--gz-red-dark) !important;
	padding: 0 24px !important;
	transform: translateY(-2px);
}

body.single-product .gz-atc .single_add_to_cart_button.disabled {
	cursor: pointer;
}

body.single-product .gz-atc .single_add_to_cart_button::after,
body.single-product .gz-atc .single_add_to_cart_button::before {
	display: none !important;
	content: none !important;
}

body.single-product .gz-atc .single_add_to_cart_button.loading {
	opacity: 0.7 !important;
}

/* Bouton Commander par Instagram + blocs Détails / Livraison */
.gz-product-info {
	font-family: var(--gz-sans);
}

body.single-product .gz-pdp .gz-btn-outline,
.gz-btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0 0 28px;
	padding: 0 24px;
	border: 1px solid var(--gz-ink);
	color: var(--gz-ink);
	font: 400 14px/1 var(--gz-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

body.single-product .gz-pdp .gz-btn-outline:hover,
.gz-btn-outline:hover {
	background: var(--gz-ink);
	color: var(--gz-bg);
	transform: translateY(-2px);
}

.gz-info-blocks {
	border-top: 1px solid var(--gz-line);
}

.gz-info-block {
	padding: 16px 0;
	border-bottom: 1px solid var(--gz-line);
}

.gz-info-block__title {
	margin: 0 0 6px !important;
	padding: 0 !important;
	font: 500 16px/1.5 var(--gz-sans);
	color: var(--gz-ink);
}

.gz-info-block__text,
.gz-info-block__text p,
.gz-info-block__text li {
	margin: 0;
	padding: 0;
	font: 400 14px/1.6 var(--gz-sans);
	color: var(--gz-text-2);
}

.gz-info-block__text p + p {
	margin-top: 6px;
}

.gz-info-block__text ul {
	margin: 0 !important;
	padding: 0 0 0 18px !important;
}

/* --------------------------------------------------------------------------
   6. Bas de page : guide des tailles, FAQ, suggestions
   -------------------------------------------------------------------------- */
body.single-product .gz-pdp--details.et_pb_section {
	padding: 0 !important;
}

body.single-product .gz-pdp--details .et_pb_row,
body.single-product .gz-pdp--details .et_pb_column {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gz-product-sections {
	font-family: var(--gz-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--gz-ink);
}

.gz-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.gz-band {
	padding: 72px 0;
	scroll-margin-top: calc(var(--gz-sticky-offset) + 16px);
}

.gz-band--blush {
	padding: 64px 0;
	background: var(--gz-blush-bg);
}

.gz-band--related {
	padding: 24px 0 72px;
}

.gz-product-sections h2.gz-h2,
.gz-h2 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	font-family: var(--gz-serif) !important;
	font-weight: 500 !important;
	font-style: normal;
	font-size: 40px !important;
	line-height: 1.1 !important;
	color: var(--gz-ink) !important;
}

.gz-product-sections h2.gz-h2--small {
	margin-bottom: 24px !important;
	font-size: 36px !important;
	line-height: 1.05 !important;
}

/* Guide des tailles (contenu de la page "guide-des-tailles") */
.gz-guide__fit,
.gz-guide p {
	margin: 0 0 12px;
	color: var(--gz-text-2);
}

.gz-guide > p:last-child {
	margin-bottom: 0;
}

.gz-guide .wp-block-table,
.gz-guide figure {
	margin: 16px 0 0 !important;
	overflow-x: auto;
}

.gz-guide table,
.gz-guide .wp-block-table table {
	width: 100%;
	margin: 0 !important;
	border-collapse: collapse !important;
	border: 0 !important;
	background: var(--gz-bg);
	font: 400 15px/1.4 var(--gz-sans);
	color: var(--gz-ink);
}

.gz-guide table th,
.gz-guide table td,
.gz-guide .wp-block-table th,
.gz-guide .wp-block-table td {
	padding: 14px 16px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--gz-line) !important;
	text-align: left !important;
	font-weight: 400;
	white-space: nowrap;
}

.gz-guide table thead,
.gz-guide .wp-block-table thead {
	border: 0 !important;
}

.gz-guide table thead th,
.gz-guide table thead td {
	font-size: 14px;
	font-weight: 500;
	border-bottom: 1px solid var(--gz-ink) !important;
}

.gz-guide table tbody td:first-child,
.gz-guide table tbody th {
	font-weight: 500;
}

.gz-guide .wp-element-caption,
.gz-guide figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--gz-text-3);
}

.gz-guide h3,
.gz-guide h4 {
	margin: 24px 0 8px !important;
	padding: 0;
	font: 500 15px/1.4 var(--gz-sans) !important;
	color: var(--gz-ink) !important;
}

.gz-guide ul {
	margin: 0 !important;
	padding: 0 0 0 18px !important;
	color: var(--gz-text-2);
}

/* FAQ (contenu de la page "faq" : blocs "Détails") */
.gz-faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 48px;
}

.gz-faq__intro p {
	margin: 0;
	color: var(--gz-text-2);
}

.gz-faq__list {
	border-top: 1px solid var(--gz-line);
}

.gz-faq__list > * {
	margin: 0 !important;
}

.gz-faq__list details {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--gz-line) !important;
}

.gz-faq__list summary {
	padding: 20px 0;
	cursor: pointer;
	font: 500 17px/1.5 var(--gz-sans);
	color: var(--gz-ink);
	list-style-position: outside;
}

.gz-faq__list summary:hover {
	color: var(--gz-red);
}

.gz-faq__list details > :not(summary) {
	max-width: 640px;
	margin: 0 0 20px !important;
	padding: 0 !important;
	color: var(--gz-text-2);
}

.gz-faq__list p {
	margin: 0 0 20px;
	color: var(--gz-text-2);
}

/* Cartes "Vous aimerez aussi" */
.gz-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

body.single-product .gz-product-sections a.gz-card,
.gz-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--gz-ink);
	text-decoration: none;
}

.gz-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 2 / 3;
	background: var(--gz-bg);
}

.gz-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.6s ease;
}

.gz-card__img--alt {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.gz-card:hover .gz-card__img:first-child {
	transform: scale(1.05);
}

.gz-card:hover .gz-card__img--alt {
	opacity: 1;
}

.gz-card__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.gz-card__name {
	font: 500 22px/1.2 var(--gz-serif);
}

.gz-card__price,
.gz-card__price .amount {
	font: 400 16px/1.4 var(--gz-sans);
	color: var(--gz-ink);
	white-space: nowrap;
}

.gz-card__price del {
	margin-right: 6px;
	color: var(--gz-text-3);
}

.gz-card__price ins {
	text-decoration: none;
}

.gz-card__dots {
	display: flex;
	gap: 6px;
}

.gz-card__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid var(--gz-line-strong);
	box-sizing: border-box;
}

/* Réassurance (bandeau d'arguments) */
.gz-reassurance {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px 24px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.gz-reassurance__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	padding: 0 !important;
	list-style: none !important;
	font: 400 13px/1.5 var(--gz-sans);
	color: var(--gz-text-3);
}

.gz-reassurance__item svg {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--gz-red);
}

.gz-reassurance__item strong {
	display: block;
	font-weight: 500;
	color: var(--gz-ink);
}

/* --------------------------------------------------------------------------
   7. Apparition au chargement
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	body.single-product .gz-col-gallery {
		animation: gz-fade 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	body.single-product .gz-col-info .et_pb_module {
		animation: gz-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	}

	body.single-product .gz-col-info .et_pb_module:nth-child(1) { animation-delay: 0.10s; }
	body.single-product .gz-col-info .et_pb_module:nth-child(2) { animation-delay: 0.18s; }
	body.single-product .gz-col-info .et_pb_module:nth-child(3) { animation-delay: 0.26s; }
	body.single-product .gz-col-info .et_pb_module:nth-child(4) { animation-delay: 0.34s; }
	body.single-product .gz-col-info .et_pb_module:nth-child(5) { animation-delay: 0.42s; }
	body.single-product .gz-col-info .et_pb_module:nth-child(n+6) { animation-delay: 0.50s; }
}

@keyframes gz-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes gz-rise {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   8. Barre "Ajouter au panier" fixe (mobile)
   -------------------------------------------------------------------------- */
.gz-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9990;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: var(--gz-bg);
	border-top: 1px solid var(--gz-line);
	box-shadow: 0 -8px 24px rgba(35, 26, 26, 0.06);
	transform: translateY(110%);
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	font-family: var(--gz-sans);
}

.gz-sticky-atc.is-visible {
	transform: none;
}

.gz-sticky-atc__info {
	min-width: 0;
	flex: 1 1 auto;
}

.gz-sticky-atc__title {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font: 500 18px/1.2 var(--gz-serif);
	color: var(--gz-ink);
}

.gz-sticky-atc__price {
	display: block;
	font: 400 14px/1.4 var(--gz-sans);
	color: var(--gz-text-2);
}

.gz-sticky-atc__price del {
	margin-right: 6px;
}

.gz-sticky-atc__price ins {
	text-decoration: none;
}

.gz-sticky-atc__btn {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	background: var(--gz-red);
	color: var(--gz-bg);
	font: 400 12px/1 var(--gz-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

@media (min-width: 981px) {
	.gz-sticky-atc {
		display: none !important;
	}
}

/* --------------------------------------------------------------------------
   9. Tablette & mobile
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
	body.single-product .gz-pdp-main {
		flex-direction: column;
		gap: 24px;
	}

	body.single-product .gz-pdp-main > .gz-col-gallery,
	body.single-product .gz-pdp-main > .gz-col-info {
		flex: 1 1 auto !important;
		width: 100% !important;
		max-width: none;
		position: static;
	}

	/* Galerie : grande photo puis miniatures en ligne */
	body.single-product .gz-gallery .woocommerce-product-gallery {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	body.single-product .gz-gallery .woocommerce-product-gallery > .flex-viewport,
	body.single-product .gz-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-column: 1;
	}

	body.single-product .gz-gallery .flex-control-thumbs {
		grid-column: 1;
		grid-row: 2;
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
	}

	body.single-product .gz-gallery .flex-control-thumbs::-webkit-scrollbar {
		display: none;
	}

	body.single-product .gz-gallery .flex-control-thumbs li {
		flex: 0 0 72px;
	}

	body.single-product .gz-gallery .onsale {
		left: 14px !important;
	}

	body.single-product.gz-has-sticky-atc #page-container {
		padding-bottom: 72px;
	}
}

@media (max-width: 760px) {
	body.single-product .gz-pdp .et_pb_row {
		width: calc(100% - 40px);
	}

	body.single-product .gz-pdp.et_pb_section {
		padding-bottom: 56px;
	}

	body.single-product .gz-title h1,
	body.single-product .gz-title .product_title {
		font-size: 36px !important;
	}

	.gz-container {
		padding: 0 20px;
	}

	.gz-band,
	.gz-band--blush {
		padding: 56px 0;
	}

	.gz-band--related {
		padding: 24px 0 56px;
	}

	.gz-product-sections h2.gz-h2,
	.gz-h2 {
		font-size: 30px !important;
	}

	.gz-product-sections h2.gz-h2--small {
		font-size: 26px !important;
	}

	.gz-faq {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

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

	.gz-card__name {
		font-size: 20px;
	}
}
