/* ==========================================================================
   ChemChem — WooCommerce
   ========================================================================== */

.cc-shop { padding-top: var(--s-7); }
.cc-shop--product { padding-top: var(--s-6); }

@media (min-width: 1024px) {
	.cc-shop__layout.has-sidebar { grid-template-columns: 280px minmax(0, 1fr); }
}

/* Puces de catégories ---------------------------------------------------- */

.cc-shop-chips { margin: 0 0 var(--s-6); }

.cc-shop-chips ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-shop-chips a {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	min-height: 44px;
	padding: 0.5em 1.1em;
	border: 1.5px solid var(--cc-ligne-forte);
	border-radius: 999px;
	background: var(--cc-pollen);
	color: var(--cc-basalte);
	font-size: var(--fs-s);
	font-weight: 650;
	text-decoration: none;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.cc-shop-chips a span {
	display: grid;
	place-items: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.4em;
	border-radius: 999px;
	background: var(--cc-cire);
	font-size: var(--fs-xs);
	font-variant-numeric: tabular-nums;
}

.cc-shop-chips a:hover { border-color: var(--cc-basalte); color: var(--cc-basalte); }

.cc-shop-chips a[aria-current] {
	border-color: var(--cc-basalte);
	background: var(--cc-basalte);
	color: var(--cc-pollen);
}

.cc-shop-chips a[aria-current] span { background: var(--cc-miel); color: var(--cc-basalte); }

@media (max-width: 600px) {
	.cc-shop-chips { margin-inline: calc(var(--cc-gutter) * -1); }
	.cc-shop-chips ul {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 2px var(--cc-gutter);
		scrollbar-width: none;
	}
	.cc-shop-chips ul::-webkit-scrollbar { display: none; }
	.cc-shop-chips li { flex: none; }
}

/* Barre de tri / résultats ------------------------------------------------ */

.cc-shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	margin: 0 0 var(--s-6);
	padding-bottom: var(--s-4);
	border-bottom: 1px solid var(--cc-ligne);
}

.woocommerce .cc-shop-toolbar .woocommerce-result-count,
.woocommerce .cc-shop-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.woocommerce-result-count {
	font-size: var(--fs-s);
	color: var(--cc-encre-douce);
}

.woocommerce-ordering select {
	min-height: 44px;
	padding: 0 2.6em 0 1.1em;
	border: 1.5px solid var(--cc-ligne-forte);
	border-radius: 999px;
	background: var(--cc-pollen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1611' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1em center;
	color: var(--cc-basalte);
	font-size: var(--fs-s);
	font-weight: 600;
	appearance: none;
	cursor: pointer;
}

/* Grille produits ---------------------------------------------------------- */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-6) var(--s-5);
	clear: both;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

@media (min-width: 900px) {
	.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.woocommerce ul.products { gap: var(--s-5) var(--s-3); }
}

.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: var(--s-3) var(--s-3) var(--s-5);
	float: none !important;
	border: 1px solid var(--cc-ligne);
	border-radius: var(--r-m);
	background: var(--cc-pollen);
	text-align: left;
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.woocommerce ul.products li.product:hover {
	border-color: transparent;
	box-shadow: var(--sh-2);
	transform: translateY(-4px);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	color: inherit;
	text-decoration: none;
}

.woocommerce ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1;
	margin: 0 0 var(--s-4);
	padding: 8%;
	object-fit: contain;
	border-radius: calc(var(--r-m) - 6px);
	background: radial-gradient(circle at 50% 62%, var(--cc-pollen) 0%, var(--cc-cire) 72%);
	transition: transform 0.8s var(--ease);
}

.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }

.cc-card-cat {
	display: block;
	margin: 0 var(--s-2) var(--s-1);
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cc-ambre-texte);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	margin: 0 var(--s-2) var(--s-2);
	padding: 0;
	overflow: hidden;
	font-family: var(--cc-font-display);
	font-size: var(--fs-h4);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--cc-basalte);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.5em;
	margin: auto var(--s-2) var(--s-4) !important;
	padding-top: var(--s-1);
	font-family: var(--cc-font-display);
	font-size: 1.3rem;
	font-weight: 750;
	color: var(--cc-basalte);
	font-variant-numeric: tabular-nums;
}

.woocommerce ul.products li.product .price del {
	order: 2;
	opacity: 0.45;
	font-size: 0.75em;
	font-weight: 600;
}

.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button {
	width: calc(100% - var(--s-4));
	margin: 0 var(--s-2);
}

.woocommerce ul.products li.product .button::before {
	content: "";
	width: 1.15em;
	height: 1.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.3 11.2h10.8L20.5 7.5H6.3'/%3E%3Ccircle cx='9' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.3 11.2h10.8L20.5 7.5H6.3'/%3E%3Ccircle cx='9' cy='19.5' r='1.3'/%3E%3Ccircle cx='17' cy='19.5' r='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.woocommerce ul.products li.product .button.loading { opacity: 0.6; }
.woocommerce ul.products li.product .button.loading::after { display: none; }
.woocommerce ul.products li.product .button.added::after { content: "✓"; margin-left: 0.2em; }

.woocommerce ul.products li.product a.added_to_cart {
	margin: var(--s-2) var(--s-2) 0;
	text-align: center;
}

@media (max-width: 600px) {
	.woocommerce ul.products li.product { padding: var(--s-2) var(--s-2) var(--s-3); border-radius: var(--r-s); }
	.woocommerce ul.products li.product a img { border-radius: calc(var(--r-s) - 4px); margin-bottom: var(--s-3); }
	.cc-card-cat { margin-inline: var(--s-1); font-size: 0.7rem; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { margin-inline: var(--s-1); font-size: 1rem; }
	.woocommerce ul.products li.product .price { margin-inline: var(--s-1) !important; margin-bottom: var(--s-3) !important; font-size: 1.1rem; }
	.woocommerce ul.products li.product .button { width: calc(100% - var(--s-2)); margin-inline: var(--s-1); min-height: 44px; padding-inline: 0.6em; font-size: var(--fs-xs); }
}

/* Boutons Woo ---------------------------------------------------------------- */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce .wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 50px;
	padding: 0.8em 1.5em;
	border: 0;
	border-radius: 999px;
	background: var(--cc-miel);
	color: var(--cc-basalte);
	font-family: var(--cc-font-body);
	font-size: var(--fs-s);
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
	transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .wc-block-components-button:not(.is-link):hover {
	background: var(--cc-basalte);
	color: var(--cc-miel);
}

.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: 0.45; cursor: not-allowed; }

.woocommerce a.added_to_cart {
	font-size: var(--fs-xs);
	font-weight: 650;
	color: var(--cc-ambre-texte);
}

.woocommerce span.onsale {
	top: var(--s-5) !important;
	left: var(--s-5) !important;
	right: auto !important;
	z-index: 2;
	min-width: 0;
	min-height: 0;
	margin: 0 !important;
	padding: 0.4em 0.95em;
	border-radius: 999px;
	background: var(--cc-basalte);
	color: var(--cc-miel);
	font-size: var(--fs-xs);
	font-weight: 700;
	line-height: 1.3;
}

@media (max-width: 600px) {
	.woocommerce ul.products li.product span.onsale { top: var(--s-3) !important; left: var(--s-3) !important; font-size: 0.7rem; }
}

/* État vide ------------------------------------------------------------------- */

.cc-shop-empty {
	position: relative;
	display: grid;
	justify-items: center;
	gap: var(--s-3);
	max-width: 760px;
	margin: var(--s-4) auto var(--s-7);
	padding: var(--s-8) var(--s-6);
	overflow: hidden;
	border-radius: var(--r-l);
	background: var(--cc-cire);
	text-align: center;
	isolation: isolate;
}

.cc-shop-empty::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.35;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23e97a00' stroke-opacity='.35'/%3E%3C/svg%3E");
	mask-image: radial-gradient(circle at 50% 0%, #000, transparent 70%);
}

.cc-shop-empty__icon {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	margin-bottom: var(--s-2);
	border-radius: 50%;
	background: var(--cc-miel);
	color: var(--cc-basalte);
}

.cc-shop-empty h2 { margin: 0; font-size: var(--fs-h3); }
.cc-shop-empty p { max-width: 48ch; margin: 0; color: var(--cc-encre-douce); }

.cc-shop-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3);
	margin-top: var(--s-3);
}

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

/* Haut de fiche : galerie + résumé dans leur propre grille, pour que rien ne déborde sur les onglets */
.woocommerce div.product { display: block; }

.cc-product-top {
	display: grid;
	gap: var(--s-7);
	margin-bottom: var(--s-8);
}

@media (min-width: 960px) {
	.cc-product-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-8); align-items: start; }

	/* La galerie (plus courte) reste visible pendant la lecture du résumé, sans jamais sortir de sa ligne */
	.cc-product-media { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
}

.cc-product-media { min-width: 0; }
@media (max-width: 959px) { .cc-product-media { position: relative; } }
.woocommerce div.product .cc-product-media span.onsale { z-index: 4; }

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related,
.woocommerce div.product .upsells { margin-top: var(--s-8); }
.woocommerce div.product .woocommerce-tabs { margin-top: 0; }

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce div.product div.images { position: relative; }

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	overflow: hidden;
	border-radius: var(--r-m) var(--petal) var(--r-m) var(--petal);
	background: radial-gradient(circle at 50% 60%, var(--cc-pollen) 0%, var(--cc-cire) 72%);
}

.woocommerce div.product div.images .flex-viewport {
	border-radius: var(--r-m) var(--petal) var(--r-m) var(--petal);
	background: radial-gradient(circle at 50% 60%, var(--cc-pollen) 0%, var(--cc-cire) 72%);
}

.woocommerce div.product div.images img { padding: 7%; }

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: var(--s-5);
	right: var(--s-5);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cc-pollen);
	box-shadow: var(--sh-1);
}

.woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin-top: var(--s-4);
}

.woocommerce div.product div.images .flex-control-thumbs li { width: 84px !important; float: none !important; }

.woocommerce div.product div.images .flex-control-thumbs img {
	aspect-ratio: 1;
	padding: 8px;
	object-fit: contain;
	border: 2px solid transparent;
	border-radius: var(--r-s);
	background: var(--cc-cire);
	opacity: 0.6;
	transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active {
	border-color: var(--cc-miel);
	opacity: 1;
}

@media (max-width: 600px) {
	.woocommerce div.product div.images .flex-control-thumbs { gap: var(--s-2); }
	.woocommerce div.product div.images .flex-control-thumbs li { width: 64px !important; }
}

.woocommerce div.product .product_title {
	margin-bottom: var(--s-4);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 0.6em;
	margin-bottom: var(--s-5);
	font-family: var(--cc-font-display);
	font-size: 2.2rem;
	font-weight: 750;
	color: var(--cc-basalte);
	font-variant-numeric: tabular-nums;
}

.woocommerce div.product p.price del { order: 2; font-size: 0.55em; font-weight: 600; opacity: 0.45; }
.woocommerce div.product p.price ins { text-decoration: none; }

.woocommerce div.product .woocommerce-product-details__short-description {
	padding: var(--s-5) 0;
	border-block: 1px solid var(--cc-ligne);
	font-size: var(--fs-s);
	color: var(--cc-encre-douce);
}

.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0 0 var(--s-2); }
.woocommerce div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

/* Carte « Caractéristiques de l'article » (description courte structurée) */
.woocommerce div.product .woocommerce-product-details__short-description:has(.cc-specs) { padding: 0; border: 0; }

.cc-specs {
	position: relative;
	margin: var(--s-2) 0 0;
	padding: var(--s-5);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--cc-miel) 45%, transparent);
	border-radius: var(--r-m) var(--r-m) var(--r-m) 6px;
	background: linear-gradient(160deg, var(--cc-cire) 0%, var(--cc-pollen) 75%);
	isolation: isolate;
}

.cc-specs::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
	width: 180px;
	height: 150px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='75'%3E%3Cpath d='M21 49.5L0 37.5V12.5L21 0l21 12.5v25L21 49.5v25.5M21 0v25.5L0 37.5v25l21 12.5 21-12.5v-25L21 25.5' fill='none' stroke='%23E97A00' stroke-opacity='.25' stroke-width='1.2'/%3E%3C/svg%3E") 100% 0 / 42px 75px;
	-webkit-mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%);
	mask-image: radial-gradient(circle at 100% 0, #000, transparent 70%);
}

.woocommerce div.product .cc-specs__title {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	margin: 0 0 var(--s-4);
	font-family: var(--cc-font-display);
	font-size: 1.15rem;
	font-weight: 720;
	letter-spacing: -0.01em;
	color: var(--cc-basalte);
}

.cc-specs__hex {
	display: grid;
	place-items: center;
	flex: none;
	width: 36px;
	height: 40px;
	background: var(--cc-miel);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	color: var(--cc-basalte);
}

.cc-specs__list {
	display: grid;
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-specs__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--s-3);
	padding: var(--s-2) var(--s-3);
	border-radius: var(--r-s);
	background: color-mix(in srgb, var(--cc-pollen) 80%, transparent);
	font-size: var(--fs-s);
	font-weight: 600;
	line-height: 1.45;
	color: var(--cc-basalte);
}

.cc-specs__list .cc-icon {
	flex: none;
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: var(--cc-canopee);
	color: var(--cc-miel);
}

.cc-specs__more {
	margin-top: var(--s-4);
	padding-top: var(--s-4);
	border-top: 1px dashed color-mix(in srgb, var(--cc-ambre) 40%, transparent);
	font-size: var(--fs-s);
	line-height: 1.65;
	color: var(--cc-encre-douce);
}

.cc-specs__more p { margin: 0 0 var(--s-2); }
.cc-specs__title + .cc-specs__more { margin-top: 0; padding-top: 0; border-top: 0; }

/* Texte long replié sur 3 lignes, dépliable */
.cc-specs__body {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.cc-specs__more.is-open .cc-specs__body { display: block; }

.cc-specs__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: var(--s-2);
	padding: 0;
	border: 0;
	background: none;
	color: var(--cc-ambre-texte);
	font-size: var(--fs-s);
	font-weight: 700;
	cursor: pointer;
}

.cc-specs__toggle .cc-icon { transition: transform var(--dur) var(--ease); }
.cc-specs__more.is-open .cc-specs__toggle .cc-icon { transform: rotate(180deg); }
.cc-specs__toggle:hover { color: var(--cc-basalte); }

@media (min-width: 1200px) {
	.cc-specs__list { grid-template-columns: 1fr 1fr; }
	.cc-specs__list li.is-wide { grid-column: 1 / -1; }
}

/* Version complète dans l'onglet Description */
.woocommerce-tabs .cc-specs--full {
	margin: 0;
	background: var(--cc-pollen);
	border-color: var(--cc-ligne);
}

.woocommerce-tabs .cc-specs--full .cc-specs__list li { background: var(--cc-cire); }
.woocommerce-tabs .cc-specs--full .cc-specs__more { font-size: var(--fs-m); }
.woocommerce div.product .woocommerce-tabs .panel:has(.cc-specs--full) > h2 { display: none; }

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-3);
	margin: var(--s-6) 0 var(--s-5);
}

.woocommerce div.product form.cart .button {
	flex: 1 1 220px;
	min-height: 58px;
	font-size: var(--fs-m);
}

.woocommerce div.product form.cart .variations { margin-bottom: var(--s-4); }

/* Quantité */
.woocommerce .quantity .qty {
	width: 90px;
	min-height: 50px;
	border: 1.5px solid var(--cc-ligne-forte);
	border-radius: 999px;
	background: var(--cc-pollen);
	color: var(--cc-basalte);
	font-weight: 650;
	text-align: center;
}

.woocommerce .quantity.cc-qty {
	display: inline-flex;
	align-items: center;
	height: 58px;
	padding: 0 4px;
	border: 1.5px solid var(--cc-ligne-forte);
	border-radius: 999px;
	background: var(--cc-pollen);
}

.woocommerce .quantity.cc-qty .qty {
	width: 3ch;
	min-width: 44px;
	min-height: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: var(--fs-m);
	-moz-appearance: textfield;
}

.woocommerce .quantity.cc-qty .qty::-webkit-outer-spin-button,
.woocommerce .quantity.cc-qty .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cc-qty__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--cc-basalte);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: background-color var(--dur) var(--ease);
}

.cc-qty__btn:hover { background: var(--cc-cire); }

.woocommerce table.shop_table .quantity.cc-qty { height: 46px; }
.woocommerce table.shop_table .cc-qty__btn { width: 36px; height: 36px; }

/* Badges de réassurance */
.cc-badges {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-xs);
	line-height: 1.35;
	color: var(--cc-encre-douce);
}

.cc-badges li > span,
.cc-badges li > a > span { display: grid; gap: 2px; }

.cc-badges li,
.cc-badges li.is-wa a {
	display: flex;
	gap: var(--s-3);
	align-items: center;
}

.cc-badges li {
	padding: var(--s-3) var(--s-4);
	border-radius: var(--r-s);
	background: var(--cc-cire);
}

.cc-badges strong { font-size: var(--fs-s); font-weight: 700; color: var(--cc-basalte); }
.cc-badges .cc-icon { flex: none; color: var(--cc-ambre); }

.cc-badges li.is-wa { padding: 0; background: var(--cc-canopee); }

.cc-badges li.is-wa a {
	width: 100%;
	padding: var(--s-3) var(--s-4);
	border-radius: inherit;
	color: color-mix(in srgb, var(--cc-pollen) 78%, transparent);
	text-decoration: none;
}

.cc-badges li.is-wa strong,
.cc-badges li.is-wa .cc-icon { color: var(--cc-miel); }
.cc-badges li.is-wa a:hover { color: var(--cc-pollen); }

@media (max-width: 420px) {
	.cc-badges { grid-template-columns: 1fr; }
}

.woocommerce div.product .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-5);
	margin-top: var(--s-5);
	font-size: var(--fs-xs);
	color: var(--cc-encre-douce);
}

.woocommerce div.product .product_meta a { color: var(--cc-ambre-texte); font-weight: 650; }

.cc-origin {
	position: relative;
	display: flex;
	gap: var(--s-4);
	align-items: flex-start;
	margin-top: var(--s-5);
	padding: var(--s-5);
	overflow: hidden;
	border-radius: var(--r-m) 0 var(--r-m) 0;
	background: var(--cc-basalte);
	color: color-mix(in srgb, var(--cc-pollen) 82%, transparent);
	font-size: var(--fs-s);
}

.cc-origin .cc-icon { flex: none; color: var(--cc-miel); }
.cc-origin strong { display: block; margin-bottom: var(--s-1); color: var(--cc-miel); }
.cc-origin p { margin: 0; }

/* Onglets */
.woocommerce div.product .woocommerce-tabs {
	padding: var(--s-6);
	border-radius: var(--r-l);
	background: var(--cc-cire);
}

@media (min-width: 900px) {
	.woocommerce div.product .woocommerce-tabs { padding: var(--s-7) var(--s-8); }
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	margin: 0 0 var(--s-6);
	padding: 0;
	border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 1.5px solid var(--cc-ligne-forte);
	border-radius: 999px;
	background: var(--cc-pollen);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0.7em 1.3em; font-weight: 650; color: var(--cc-basalte); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--cc-basalte); border-color: var(--cc-basalte); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--cc-pollen); }

.woocommerce div.product .woocommerce-tabs .panel {
	max-width: 780px;
	margin: 0;
	color: var(--cc-encre-douce);
}

.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: var(--fs-h3); color: var(--cc-basalte); }
.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: var(--s-3); }

.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td { padding: var(--s-3) var(--s-4); border-color: var(--cc-ligne); background: transparent !important; font-style: normal; }
.woocommerce table.shop_attributes td p { padding: 0; }

.woocommerce .related > h2,
.woocommerce .upsells > h2 { font-size: var(--fs-h2); margin-bottom: var(--s-6); letter-spacing: -0.03em; }

/* Barre d'achat collante (mobile) */
.cc-buybar { display: none; }

@media (max-width: 959px) {
	.cc-buybar:not([hidden]) {
		position: fixed;
		right: var(--s-3);
		bottom: var(--s-3);
		left: var(--s-3);
		z-index: 90;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: var(--s-3);
		padding: var(--s-2) var(--s-2) var(--s-2) var(--s-3);
		border-radius: 999px;
		background: var(--cc-basalte);
		color: var(--cc-pollen);
		box-shadow: var(--sh-2);
		opacity: 0;
		transform: translateY(140%);
		transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
		pointer-events: none;
	}

	.cc-buybar.is-visible { opacity: 1; transform: none; pointer-events: auto; }

}

.cc-buybar__info { display: flex; align-items: center; gap: var(--s-3); min-width: 0; }
.cc-buybar__info > div { display: grid; min-width: 0; line-height: 1.2; }
.cc-buybar__info strong { overflow: hidden; font-size: var(--fs-xs); white-space: nowrap; text-overflow: ellipsis; color: color-mix(in srgb, var(--cc-pollen) 78%, transparent); }
.cc-buybar__price { font-family: var(--cc-font-display); font-weight: 750; color: var(--cc-miel); }
.cc-buybar__price del { display: none; }
.cc-buybar__price ins { text-decoration: none; }

.cc-buybar__img {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 3px;
	object-fit: contain;
	border-radius: 50%;
	background: var(--cc-cire);
}

.cc-buybar .cc-btn { flex: none; min-height: 48px; padding-inline: 1.2em; }

@media (max-width: 380px) {
	.cc-buybar__img { display: none; }
}

/* Notices ---------------------------------------------------------------------- */

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

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	margin: 0 0 var(--s-4) !important;
	padding: var(--s-3) var(--s-3) var(--s-3) var(--s-8) !important;
	border: 0 !important;
	border-left: 4px solid var(--cc-miel) !important;
	border-radius: var(--r-s) !important;
	background: var(--cc-cire) !important;
	color: var(--cc-basalte) !important;
	font-size: var(--fs-s);
	font-weight: 550;
}

.woocommerce-message::before,
.woocommerce-info::before { top: 50% !important; left: var(--s-5) !important; transform: translateY(-50%); color: var(--cc-ambre) !important; }
.woocommerce-error { border-left-color: #c2410c !important; background: #fbe9e3 !important; }
.woocommerce-error::before { top: 50% !important; left: var(--s-5) !important; transform: translateY(-50%); }

.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after { display: none !important; }

.woocommerce-message .button,
.woocommerce-info .button {
	order: 2;
	float: none !important;
	min-height: 40px !important;
	padding: 0.5em 1.1em !important;
	background: var(--cc-basalte) !important;
	color: var(--cc-pollen) !important;
	font-size: var(--fs-xs) !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover { background: var(--cc-miel) !important; color: var(--cc-basalte) !important; }

/* Étapes de commande ------------------------------------------------------------ */

.cc-steps {
	position: relative;
	z-index: 2;
	margin-top: calc(var(--s-6) * -1);
}

.cc-steps ol {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	width: fit-content;
	max-width: calc(100% - var(--cc-gutter) * 2);
	margin: 0 auto;
	padding: var(--s-2);
	list-style: none;
	border-radius: 999px;
	background: var(--cc-pollen);
	box-shadow: var(--sh-1);
	counter-reset: none;
}

.cc-steps li,
.cc-steps li > a {
	display: flex;
	align-items: center;
	gap: var(--s-2);
}

.cc-steps li {
	padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2);
	border-radius: 999px;
	font-size: var(--fs-s);
	font-weight: 650;
	color: var(--cc-encre-douce);
	white-space: nowrap;
}

.cc-steps li + li::before {
	content: "";
	width: clamp(12px, 3vw, 40px);
	height: 2px;
	margin-right: var(--s-2);
	margin-left: calc(var(--s-4) * -1);
	background: var(--cc-ligne-forte);
}

.cc-steps li > a { color: inherit; text-decoration: none; }

.cc-steps__n {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cc-cire);
	font-size: var(--fs-xs);
	font-weight: 750;
	color: var(--cc-basalte);
}

.cc-steps li.is-done .cc-steps__n { background: var(--cc-canopee); color: var(--cc-miel); }
.cc-steps li.is-current { background: var(--cc-basalte); color: var(--cc-pollen); }
.cc-steps li.is-current .cc-steps__n { background: var(--cc-miel); }

@media (max-width: 600px) {
	.cc-steps li { padding-right: var(--s-2); }
	.cc-steps li:not(.is-current) .cc-steps__label { display: none; }
	.cc-steps li.is-current { padding-right: var(--s-4); }
	.cc-steps li + li::before { margin-left: calc(var(--s-2) * -1); }
}

/* Bannière compacte (panier, commande, compte) */
.cc-banner--compact {
	min-height: clamp(260px, 26vw, 340px);
	padding-bottom: var(--s-7);
}

.cc-banner--compact .cc-banner__title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem); }

/* Panier / commande (blocs et classiques) ------------------------------------------ */

.woocommerce-cart .cc-page-content,
.woocommerce-checkout .cc-page-content,
.woocommerce-account .cc-page-content { padding-top: var(--s-7); }

.woocommerce-cart .cc-page-content > *,
.woocommerce-checkout .cc-page-content > *,
.woocommerce-account .cc-page-content > * { max-width: var(--cc-container); }

/* Les blocs panier / commande imposent width:100% : on repasse en border-box pour ne pas déborder. */
.cc-page-content > .wp-block-woocommerce-cart,
.cc-page-content > .wp-block-woocommerce-checkout {
	box-sizing: border-box;
	width: auto;
	max-width: calc(var(--cc-container) + var(--cc-gutter) * 2);
}

.woocommerce table.shop_table {
	border: 1px solid var(--cc-ligne);
	border-radius: var(--r-m);
	border-collapse: separate;
	overflow: hidden;
	background: var(--cc-pollen);
}

.woocommerce table.shop_table th { font-weight: 650; }
.woocommerce table.shop_table td,
.woocommerce table.shop_table th { padding: var(--s-4); border-color: var(--cc-ligne); }

.wc-block-cart,
.wc-block-checkout { font-size: var(--fs-s); }

/* Colonne principale des blocs en carte */
.wc-block-cart .wc-block-cart__main,
.wc-block-checkout .wc-block-checkout__main {
	padding: var(--s-6) !important;
	border: 1px solid var(--cc-ligne);
	border-radius: var(--r-m);
	background: var(--cc-pollen);
}

/* Récapitulatif : carte cire collante */
.wc-block-cart .wc-block-cart__sidebar,
.wc-block-checkout .wc-block-checkout__sidebar {
	align-self: flex-start;
	padding: var(--s-5) !important;
	border-radius: var(--r-m);
	background: var(--cc-cire);
}

.wc-block-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary,
.wc-block-checkout .wc-block-components-checkout-order-summary__content,
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: 0 !important;
	background: transparent !important;
}

/* Espace entre la colonne principale et le récapitulatif (le padding Woo est remplacé par celui des cartes) */
.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) {
	flex-wrap: nowrap;
	gap: var(--s-6);
	align-items: flex-start;
}

.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) > .wc-block-components-main {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) > .wc-block-components-sidebar {
	flex: 0 0 min(36%, 420px);
	width: auto !important;
	margin: 0 !important;
}

.wc-block-components-sidebar-layout:is(.is-mobile, .is-small) > .wc-block-components-sidebar { margin-top: var(--s-5); }

/* Tablette : récapitulatif sous les articles, pleine largeur (évite une colonne étriquée) */
@media (max-width: 1023px) {
	.wc-block-components-sidebar-layout.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) { flex-direction: column; align-items: stretch; }
	.wc-block-components-sidebar-layout.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) > .wc-block-components-main,
	.wc-block-components-sidebar-layout.wc-block-components-sidebar-layout:not(.is-mobile):not(.is-small) > .wc-block-components-sidebar { flex: 1 1 auto; width: 100% !important; }
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar { position: static; }
}

/* Téléphone : grille fluide photo | produit, prix et économie sous le nom */
.wc-block-cart.is-mobile table.wc-block-cart-items,
.wc-block-cart.is-mobile table.wc-block-cart-items tbody,
.wc-block-cart.is-small table.wc-block-cart-items,
.wc-block-cart.is-small table.wc-block-cart-items tbody { display: block; width: 100%; }

.wc-block-cart:not(.is-mobile):not(.is-small) table.wc-block-cart-items { width: 100%; }

.wc-block-cart :is(.is-mobile, .is-small) .wc-block-cart-items__row,
.wc-block-cart.is-mobile .wc-block-cart-items__row,
.wc-block-cart.is-small .wc-block-cart-items__row {
	grid-template-columns: 64px minmax(0, 1fr) !important;
	column-gap: var(--s-3);
	row-gap: var(--s-2);
	width: 100%;
}

.wc-block-cart.is-mobile .wc-block-cart-item__image,
.wc-block-cart.is-small .wc-block-cart-item__image { grid-column: 1 !important; grid-row: 1 / span 2 !important; padding: 0 !important; }

.wc-block-cart.is-mobile .wc-block-cart-item__image img,
.wc-block-cart.is-small .wc-block-cart-item__image img { width: 64px; }

.wc-block-cart.is-mobile .wc-block-cart-item__product,
.wc-block-cart.is-small .wc-block-cart-item__product { grid-column: 2 !important; grid-row: 1 !important; min-width: 0; }

.wc-block-cart.is-mobile .wc-block-cart-item__total,
.wc-block-cart.is-small .wc-block-cart-item__total {
	grid-column: 2 !important;
	grid-row: 2 !important;
	justify-content: flex-start;
	text-align: left;
}

.wc-block-cart.is-mobile .wc-block-cart-item__total-price-and-sale-badge-wrapper,
.wc-block-cart.is-small .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-2);
}

.wc-block-cart.is-mobile .wc-block-cart-item__total .wc-block-components-product-price,
.wc-block-cart.is-small .wc-block-cart-item__total .wc-block-components-product-price { font-family: var(--cc-font-display); font-size: 1.1rem; font-weight: 750; }

.wc-block-cart.is-mobile .wc-block-components-sale-badge,
.wc-block-cart.is-small .wc-block-components-sale-badge { margin: 0 !important; }

.wc-block-cart.is-mobile .wc-block-components-product-name,
.wc-block-cart.is-small .wc-block-components-product-name { font-size: 1rem !important; line-height: 1.25; overflow-wrap: anywhere; }

/* Le panier n'a pas besoin de l'extrait de description du produit */
.wc-block-cart .wc-block-components-product-metadata__description,
.wc-block-checkout .wc-block-components-product-metadata__description { display: none; }

/* Très petits écrans : quantité compacte, bloc de validation collant plus léger */
@media (max-width: 359px) {
	.wc-block-cart .wc-block-components-quantity-selector { width: 96px; }
	.wc-block-cart .wc-block-cart__main { padding: var(--s-3) !important; }
}

.wc-block-cart__submit-container--sticky {
	padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom)) !important;
	background: color-mix(in srgb, var(--cc-pollen) 94%, transparent) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 -12px 30px -20px color-mix(in srgb, var(--cc-basalte) 60%, transparent) !important;
}

.wc-block-cart__submit-container--sticky::before { display: none !important; }

@media (min-width: 782px) {
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar {
		position: sticky;
		top: calc(var(--header-h) + var(--s-5));
	}
}

@media (max-width: 600px) {
	.wc-block-cart .wc-block-cart__main,
	.wc-block-checkout .wc-block-checkout__main { padding: var(--s-4) !important; }
	.wc-block-cart .wc-block-cart__sidebar,
	.wc-block-checkout .wc-block-checkout__sidebar { padding: var(--s-4) !important; }
}

.wc-block-cart-items__header,
.wc-block-components-totals-wrapper .wc-block-components-title,
.wc-block-cart .wc-block-cart__totals-title {
	font-size: var(--fs-xs) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-encre-douce);
}

.wc-block-components-product-name {
	font-family: var(--cc-font-display);
	font-size: var(--fs-m) !important;
	font-weight: 700;
	color: var(--cc-basalte) !important;
	text-decoration: none !important;
}

.wc-block-components-product-name:hover { color: var(--cc-ambre-texte) !important; }

.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
	padding: 4px;
	border-radius: var(--r-s);
	background: var(--cc-cire);
}

.wc-block-components-order-summary-item__image img { background: var(--cc-pollen); }

.wc-block-components-product-metadata,
.wc-block-components-product-metadata__description { font-size: var(--fs-xs); color: var(--cc-encre-douce); }

/* Badge « Économisez » : ne doit jamais être coupé */
.wc-block-components-sale-badge {
	max-width: 100%;
	padding: 0.25em 0.6em !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--cc-miel) !important;
	color: var(--cc-basalte) !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	white-space: normal !important;
	text-align: center;
}

.wc-block-cart-item__total .wc-block-components-sale-badge { margin-top: var(--s-1); }

.wc-block-components-quantity-selector {
	border-radius: 999px !important;
	border-color: var(--cc-ligne-forte) !important;
	background: var(--cc-pollen);
	overflow: hidden;
}

.wc-block-components-quantity-selector::after { display: none; }
.wc-block-components-quantity-selector input { font-weight: 650; }

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--cc-basalte) !important; opacity: 1; }

.wc-block-components-totals-item__label { font-weight: 550; }

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--cc-font-display);
	font-size: 1.35rem !important;
	font-weight: 750 !important;
	color: var(--cc-basalte);
}

.wc-block-components-totals-wrapper { border-color: var(--cc-ligne) !important; }

.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	width: 100%;
	min-height: 58px !important;
	font-size: var(--fs-m) !important;
}

.wc-block-components-panel__button { font-weight: 650; }

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border: 1.5px solid var(--cc-ligne-forte) !important;
	border-radius: var(--r-s) !important;
	background: var(--cc-pollen) !important;
	color: var(--cc-basalte) !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
	border-color: var(--cc-ambre) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc-miel) 35%, transparent) !important;
	outline: 0;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select { min-height: 50px; padding: 0 var(--s-4); }

.wc-block-components-checkout-step__title,
.wc-block-components-title.wc-block-components-title {
	font-family: var(--cc-font-display);
	font-size: var(--fs-h4) !important;
	font-weight: 700 !important;
	color: var(--cc-basalte);
}

.wc-block-components-checkout-step { margin-bottom: var(--s-6) !important; }

.wc-block-components-checkout-step__container::after,
.wc-block-components-checkout-step::after { display: none !important; }

.wc-block-checkout__terms { font-size: var(--fs-xs); color: var(--cc-encre-douce); }

.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--cc-basalte); border-color: var(--cc-basalte); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--cc-miel); }

.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--cc-miel) !important; border-radius: var(--r-s); }

/* Panier vide */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
	font-size: var(--fs-h3);
	padding-top: var(--s-6);
}

.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { opacity: 0.4; }

/* Mon compte ------------------------------------------------------------------- */

.cc-auth {
	display: grid;
	gap: var(--s-5);
	align-items: stretch;
}

@media (min-width: 900px) {
	.cc-auth { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s-6); }
}

.cc-auth__form {
	padding: var(--s-6);
	border: 1px solid var(--cc-ligne);
	border-radius: var(--r-m);
	background: var(--cc-pollen);
}

@media (min-width: 900px) {
	.cc-auth__form { padding: var(--s-7); }
}

.cc-auth__form h2 { margin: 0 0 var(--s-5); font-size: var(--fs-h3); }

.woocommerce .cc-auth form.login,
.woocommerce .cc-auth form.register {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
}

.woocommerce .cc-auth form .form-row { padding: 0; margin-bottom: var(--s-4); }
.woocommerce .cc-auth form .form-row label { margin-bottom: var(--s-1); font-size: var(--fs-s); font-weight: 650; }
.woocommerce .cc-auth .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0 0 0 var(--s-4); font-size: var(--fs-s); }
.woocommerce .cc-auth .woocommerce-form-login__submit { float: none; min-width: 180px; }
.woocommerce .cc-auth .lost_password { margin: var(--s-4) 0 0; font-size: var(--fs-s); }
.woocommerce .cc-auth .lost_password a { color: var(--cc-ambre-texte); font-weight: 650; }

.cc-auth__aside {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--s-4);
	padding: var(--s-6);
	overflow: hidden;
	border-radius: var(--r-m) var(--petal) var(--r-m) var(--r-m);
	background: var(--cc-canopee);
	color: color-mix(in srgb, var(--cc-pollen) 80%, transparent);
	isolation: isolate;
}

.cc-auth__aside::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	z-index: -1;
	width: 220px;
	height: 220px;
	opacity: 0.18;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%23ffc400' stroke-width='1.5'/%3E%3C/svg%3E");
	mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}

@media (min-width: 900px) {
	.cc-auth__aside { padding: var(--s-7); }
}

.cc-auth__icon { color: var(--cc-miel); }
.cc-auth__aside h2 { margin: 0; font-size: var(--fs-h3); color: var(--cc-pollen); }
.cc-auth__aside p { margin: 0; font-size: var(--fs-s); }

.cc-auth__list { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; font-size: var(--fs-s); }
.cc-auth__list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.cc-auth__list .cc-icon { flex: none; margin-top: 2px; color: var(--cc-miel); }

.cc-auth__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: auto; padding-top: var(--s-3); }

/* Tableau de bord connecté */
.woocommerce-account .woocommerce {
	display: grid;
	gap: var(--s-6);
}

@media (min-width: 900px) {
	.woocommerce-account.logged-in .woocommerce { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }

.woocommerce-MyAccount-navigation ul {
	display: grid;
	gap: 2px;
	margin: 0;
	padding: var(--s-2);
	list-style: none;
	border-radius: var(--r-m);
	background: var(--cc-cire);
}

.woocommerce-MyAccount-navigation a {
	display: block;
	padding: var(--s-3) var(--s-4);
	border-radius: var(--r-s);
	font-weight: 650;
	color: var(--cc-basalte);
	text-decoration: none;
}

.woocommerce-MyAccount-navigation a:hover { background: var(--cc-pollen); color: var(--cc-basalte); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--cc-basalte); color: var(--cc-pollen); }

.woocommerce-MyAccount-content {
	padding: var(--s-6);
	border: 1px solid var(--cc-ligne);
	border-radius: var(--r-m);
	background: var(--cc-pollen);
}

/* Pagination --------------------------------------------------------------------- */

.woocommerce nav.woocommerce-pagination { margin-top: var(--s-7); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: var(--s-2); }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	border: 1px solid var(--cc-ligne-forte);
	border-radius: 999px;
	color: var(--cc-basalte);
	font-weight: 650;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--cc-miel); border-color: var(--cc-miel); color: var(--cc-basalte); }

/* Étoiles */
.woocommerce .star-rating span::before,
.woocommerce p.stars a { color: var(--cc-ambre); }
