/* ==========================================================================
   ThermaDeco — intégration WooCommerce
   Chargé uniquement si WooCommerce est actif, APRÈS les styles de WooCommerce.
   On ne reconstruit pas la mise en page : on re-thème ce que WooCommerce
   fournit, avec les jetons de design du site.
   ========================================================================== */

/* 1. Conteneur et en-tête de boutique
   ========================================================================== */

.td-wc {
	padding-block: clamp(34px, 4vw, 60px) clamp(50px, 6vw, 90px);
}

/* Grille produits insérée dans une section de la page d'accueil : on annule
   les marges internes, la section fournit déjà son espacement. */
.td-wc--embedded {
	padding-block: 0;
}

.td-wc .woocommerce-products-header {
	max-width: 760px;
	margin-bottom: clamp(26px, 3vw, 40px);
}

.td-wc .woocommerce-products-header__title,
.td-wc .page-title {
	margin: 0 0 0.4em;
	font-family: var(--td-font-display);
	font-size: clamp(1.9rem, 3.9vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
}

.td-wc .term-description,
.td-wc .woocommerce-products-header .term-description p {
	max-width: 68ch;
	font-size: clamp(1.02rem, 1.35vw, 1.15rem);
	line-height: 1.7;
	color: var(--td-text-2);
}

/* 2. Barre de tri et compteur de résultats
   ========================================================================== */

.td-wc .woocommerce-result-count {
	margin: 0 0 18px;
	font-size: 0.88rem;
	color: var(--td-text-3);
}

.td-wc .woocommerce-ordering {
	margin: 0 0 22px;
}

.td-wc .woocommerce-ordering select {
	padding: 11px 14px;
	border: 1px solid var(--td-line-2);
	border-radius: var(--td-radius-sm);
	background: rgba(6, 8, 13, 0.7);
	color: #fff;
	font-size: 0.9rem;
}

/* 3. Grille produits — on neutralise les colonnes flottantes de WooCommerce
   ========================================================================== */

.td-wc ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	margin: 0 0 clamp(30px, 4vw, 50px);
	padding: 0;
	list-style: none;
}

.td-wc ul.products::before,
.td-wc ul.products::after {
	display: none;
}

.td-wc ul.products li.product {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	clear: none !important;
}

/* 4. Carte produit
   ========================================================================== */

.td-wc ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	background: var(--td-grad-surface);
	overflow: hidden;
	text-align: left;
	transition: transform 0.5s var(--td-ease), border-color 0.4s var(--td-ease), box-shadow 0.5s var(--td-ease);
}

.td-wc ul.products li.product:hover {
	transform: translateY(-6px);
	border-color: var(--td-line-3);
	box-shadow: var(--td-shadow), 0 0 60px -24px color-mix(in srgb, var(--td-accent) 70%, transparent);
}

.td-wc ul.products li.product > a.woocommerce-LoopProduct-link {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #080a10;
}

.td-wc ul.products li.product > a img {
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.9s var(--td-ease);
}

.td-wc ul.products li.product:hover img {
	transform: scale(1.05);
}

/* Dégradé de lisibilité en bas de l'image. */
.td-wc ul.products li.product > a.woocommerce-LoopProduct-link::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 45%, rgba(6, 7, 11, 0.88) 100%);
	pointer-events: none;
}

.td-wc ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 10px;
	padding: 22px clamp(18px, 2vw, 24px) 0;
	font-family: var(--td-font-display);
	font-size: 1.16rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.td-wc ul.products li.product .woocommerce-loop-product__title a {
	color: #fff;
}

.td-wc ul.products li.product .star-rating {
	margin: 0 clamp(18px, 2vw, 24px) 10px;
	color: var(--td-amber);
}

.td-wc ul.products li.product .price {
	display: block;
	margin: auto clamp(18px, 2vw, 24px) 0;
	padding-top: 16px;
	border-top: 1px solid var(--td-line);
	font-family: var(--td-font-display);
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
}

.td-wc ul.products li.product .price del {
	margin-right: 8px;
	font-size: 0.85em;
	font-weight: 400;
	color: var(--td-text-3);
	opacity: 1;
}

.td-wc ul.products li.product .price ins {
	text-decoration: none;
	color: var(--td-amber);
}

/* Bouton d'achat, uniquement lorsqu'il est enfant direct de la carte
   (balisage WooCommerce par défaut). Dans notre gabarit, il est placé dans
   .td-card__foot et reçoit donc une largeur automatique, sinon il écrase
   le prix à côté duquel il doit tenir. */
.td-wc ul.products li.product > .button {
	margin: 16px clamp(18px, 2vw, 24px) 24px;
	width: calc(100% - 2 * clamp(18px, 2vw, 24px));
}

.td-wc ul.products li.product .td-card__foot .button {
	width: auto;
	flex: 0 0 auto;
	margin: 0;
	padding: 12px 20px;
	font-size: 0.88rem;
}

/* Prix : <ins> est souligné par défaut dans les navigateurs, ce qui fait
   passer un prix promotionnel pour un lien. */
.td-wc .td-card__price,
.td-wc ul.products li.product .price,
.td-wc div.product p.price,
.td-wc .td-panneau-cart__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	line-height: 1.25;
}

.td-wc .td-card__price ins,
.td-wc ul.products li.product .price ins,
.td-wc div.product p.price ins,
.td-wc .td-panneau-cart__price ins,
.td-wc .woocommerce-Price-amount ins {
	text-decoration: none;
}

.td-wc .td-card__price del,
.td-wc ul.products li.product .price del,
.td-wc .td-panneau-cart__price del {
	font-size: 0.82em;
	font-weight: 500;
	color: var(--td-text-3);
	text-decoration: line-through;
}

.td-wc .td-card__price del .woocommerce-Price-amount,
.td-wc ul.products li.product .price del .woocommerce-Price-amount {
	color: inherit;
}

.td-wc .added_to_cart {
	display: inline-block;
	font-size: 0.82rem;
	text-align: center;
	color: var(--td-amber);
}

/* Badge promo */
.td-wc .td-card__badge,
.td-wc span.onsale {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	display: inline-block;
	min-height: 0;
	min-width: 0;
	height: auto;
	line-height: 1.4;
	margin: 0;
	padding: 6px 13px;
	border: 1px solid color-mix(in srgb, var(--td-accent) 50%, transparent);
	border-radius: 999px;
	background: rgba(6, 7, 11, 0.72);
	backdrop-filter: blur(10px);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--td-amber);
}

/* 5. Boutons WooCommerce
   ========================================================================== */

.td-wc .button,
.td-wc button.button,
.td-wc input.button,
.td-wc a.button,
.td-wc #respond input#submit,
.td-wc .woocommerce-message .button,
.td-wc .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--td-grad-ember);
	color: #fff !important;
	font-family: var(--td-font);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--td-accent) 90%, transparent);
	transition: transform 0.35s var(--td-ease), box-shadow 0.35s var(--td-ease), border-color 0.3s;
}

.td-wc .button:hover,
.td-wc button.button:hover,
.td-wc input.button:hover,
.td-wc a.button:hover,
.td-wc #respond input#submit:hover {
	transform: translateY(-2px);
	color: #fff !important;
	box-shadow: 0 26px 60px -24px color-mix(in srgb, var(--td-accent) 95%, transparent);
}

.td-wc .button.alt,
.td-wc .button.checkout-button {
	background: var(--td-grad-ember);
}

.td-wc .button--ghost,
.td-wc .td-btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--td-line-2);
	box-shadow: none;
}

.td-wc .button.wc-backward,
.td-wc .button.wc-forward {
	background: rgba(255, 255, 255, 0.05);
	border-color: var(--td-line-2);
	box-shadow: none;
}

/* 6. Notices
   ========================================================================== */

.td-wc .woocommerce-message,
.td-wc .woocommerce-info,
.td-wc .woocommerce-error,
.td-wc .woocommerce-noreviews,
.td-wc .wc-block-components-notice-banner {
	margin: 0 0 26px;
	padding: 16px 20px;
	border: 1px solid var(--td-line-2);
	border-left: 3px solid var(--td-accent);
	border-radius: var(--td-radius);
	background: var(--td-surface);
	color: var(--td-text);
	font-size: 0.92rem;
	list-style: none;
}

.td-wc .woocommerce-message::before,
.td-wc .woocommerce-info::before,
.td-wc .woocommerce-error::before {
	display: none;
}

.td-wc .woocommerce-error {
	border-left-color: #fca5a5;
}

.td-wc .woocommerce-message .button {
	float: right;
	margin-left: 16px;
}

/* 7. Fiche produit
   ========================================================================== */

.td-wc div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(28px, 4vw, 60px);
	align-items: start;
}

.td-wc div.product .woocommerce-product-gallery {
	float: none !important;
	width: auto !important;
	margin: 0;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-xl);
	overflow: hidden;
	background: linear-gradient(180deg, #0a0c13, #06070b);
}

.td-wc div.product .woocommerce-product-gallery img {
	border-radius: 0;
}

.td-wc div.product .summary {
	float: none !important;
	width: auto !important;
	margin: 0;
}

.td-wc div.product .product_title {
	margin: 0 0 0.35em;
	font-family: var(--td-font-display);
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	color: #fff;
}

.td-wc div.product p.price,
.td-wc div.product span.price {
	margin: 0 0 22px;
	font-family: var(--td-font-display);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.td-wc div.product p.price del {
	font-size: 0.7em;
	font-weight: 400;
	color: var(--td-text-3);
	opacity: 1;
}

.td-wc div.product p.price ins {
	text-decoration: none;
	color: var(--td-amber);
}

.td-wc div.product .woocommerce-product-details__short-description {
	margin-bottom: 22px;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--td-text-2);
}

.td-wc div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

.td-wc div.product .product_meta {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--td-line);
	font-size: 0.84rem;
	color: var(--td-text-3);
}

.td-wc div.product .product_meta a {
	color: var(--td-text-2);
}

.td-wc div.product .product_meta > span {
	display: block;
	margin-bottom: 6px;
}

/* Quantité + ajout au panier */
.td-wc form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
}

.td-wc .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--td-line-2);
	border-radius: 999px;
	background: rgba(6, 8, 13, 0.6);
	overflow: hidden;
}

.td-wc .quantity input.qty {
	width: 78px;
	padding: 12px 8px;
	border: 0;
	background: transparent;
	color: #fff;
	text-align: center;
	-moz-appearance: textfield;
}

.td-wc .quantity input.qty::-webkit-outer-spin-button,
.td-wc .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.td-wc form.cart .button,
.td-wc .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 200px;
}

.td-wc .stock.in-stock {
	color: #6ee7b7;
	font-size: 0.88rem;
}

.td-wc .stock.out-of-stock {
	color: #fca5a5;
	font-size: 0.88rem;
}

/* 8. Onglets produit
   ========================================================================== */

.td-wc .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: clamp(30px, 4vw, 56px);
	padding-top: clamp(24px, 3vw, 40px);
	border-top: 1px solid var(--td-line);
}

.td-wc .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border: 0;
}

.td-wc .woocommerce-tabs ul.tabs::before,
.td-wc .woocommerce-tabs ul.tabs::after {
	display: none;
}

.td-wc .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 1px solid var(--td-line-2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
}

.td-wc .woocommerce-tabs ul.tabs li::before,
.td-wc .woocommerce-tabs ul.tabs li::after {
	display: none;
}

.td-wc .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 11px 20px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--td-text-2);
}

.td-wc .woocommerce-tabs ul.tabs li.active {
	background: color-mix(in srgb, var(--td-accent) 16%, transparent);
	border-color: color-mix(in srgb, var(--td-accent) 55%, transparent);
}

.td-wc .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
}

.td-wc .woocommerce-tabs .panel {
	margin: 0;
	padding: 0;
	color: var(--td-text-2);
}

.td-wc .woocommerce-tabs .panel > h2:first-child {
	display: none;
}

.td-wc .shop_attributes {
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	overflow: hidden;
}

.td-wc .shop_attributes th,
.td-wc .shop_attributes td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--td-line);
	text-align: left;
	font-size: 0.92rem;
}

.td-wc .shop_attributes th {
	width: 34%;
	font-weight: 500;
	color: var(--td-text-3);
	background: rgba(255, 255, 255, 0.02);
}

/* 9. Produits liés et montés
   ========================================================================== */

.td-wc section.related,
.td-wc section.upsells {
	grid-column: 1 / -1;
	margin-top: clamp(34px, 4vw, 60px);
	padding-top: clamp(26px, 3vw, 40px);
	border-top: 1px solid var(--td-line);
}

.td-wc section.related > h2,
.td-wc section.upsells > h2 {
	margin: 0 0 24px;
	font-family: var(--td-font-display);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	color: #fff;
}

/* 10. Panier
   ========================================================================== */

.td-wc table.shop_table {
	width: 100%;
	margin: 0 0 26px;
	border: 1px solid var(--td-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--td-radius);
	overflow: hidden;
	font-size: 0.92rem;
}

.td-wc table.shop_table th,
.td-wc table.shop_table td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--td-line);
	text-align: left;
	color: var(--td-text-2);
}

.td-wc table.shop_table thead th {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--td-text-3);
	background: var(--td-surface);
}

.td-wc table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.td-wc table.shop_table .product-name a {
	color: #fff;
	font-weight: 600;
}

.td-wc table.shop_table .product-thumbnail img {
	width: 64px;
	height: auto;
	border-radius: 10px;
}

.td-wc table.shop_table .product-remove a {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid var(--td-line-2);
	color: var(--td-text-3);
	font-size: 1rem;
	text-decoration: none;
}

.td-wc table.shop_table .product-remove a:hover {
	color: #fff;
	border-color: #fca5a5;
}

.td-wc .cart_totals,
.td-wc .cross-sells {
	margin-top: 20px;
}

.td-wc .cart_totals h2,
.td-wc .cross-sells h2 {
	margin: 0 0 16px;
	font-family: var(--td-font-display);
	font-size: 1.2rem;
	color: #fff;
}

.td-wc .cart_totals table.shop_table {
	border-radius: var(--td-radius);
}

.td-wc .cart_totals .order-total .amount {
	font-family: var(--td-font-display);
	font-size: 1.25rem;
	font-weight: 700;
	color: #fff;
}

.td-wc .cart-collaterals {
	display: grid;
	gap: 24px;
}

.td-wc .wc-proceed-to-checkout a.checkout-button {
	display: flex;
	width: 100%;
	padding: 17px 30px;
	font-size: 1rem;
}

.td-wc .actions .coupon {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-right: 12px;
}

.td-wc .actions .coupon input[type="text"] {
	padding: 12px 14px;
	border: 1px solid var(--td-line-2);
	border-radius: var(--td-radius-sm);
	background: rgba(6, 8, 13, 0.6);
	color: #fff;
}

.td-wc .cart-empty {
	padding: 30px;
	border: 1px dashed var(--td-line-2);
	border-radius: var(--td-radius-lg);
	text-align: center;
	color: var(--td-text-2);
}

.td-wc .return-to-shop {
	margin-top: 18px;
	text-align: center;
}

/* 11. Commande
   ========================================================================== */

.td-wc form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(24px, 3vw, 44px);
	align-items: start;
}

.td-wc form.checkout #customer_details {
	grid-column: 1;
}

.td-wc form.checkout #order_review_heading,
.td-wc form.checkout #order_review {
	grid-column: 2;
}

.td-wc form.checkout #order_review {
	position: sticky;
	top: calc(var(--td-header-h) + 20px);
	padding: clamp(18px, 2.4vw, 26px);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	background: var(--td-surface);
}

.td-wc form.checkout h3 {
	margin: 0 0 16px;
	font-family: var(--td-font-display);
	font-size: 1.15rem;
	color: #fff;
}

.td-wc .woocommerce-billing-fields__field-wrapper,
.td-wc .woocommerce-shipping-fields__field-wrapper,
.td-wc .woocommerce-additional-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 16px;
}

.td-wc .woocommerce-additional-fields {
	grid-template-columns: minmax(0, 1fr);
}

.td-wc #payment {
	border: 0;
	background: transparent;
}

.td-wc #payment ul.payment_methods {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	border: 0;
}

.td-wc #payment ul.payment_methods li {
	margin-bottom: 10px;
	padding: 14px 16px;
	border: 1px solid var(--td-line-2);
	border-radius: var(--td-radius);
	background: rgba(255, 255, 255, 0.02);
}

.td-wc #payment div.form-row {
	margin: 0;
	padding: 0;
}

.td-wc #payment .woocommerce-terms-and-conditions-wrapper {
	margin-bottom: 16px;
	font-size: 0.86rem;
	color: var(--td-text-2);
}

.td-wc ul.wc_payment_methods label {
	color: var(--td-text);
	font-size: 0.92rem;
}

.td-wc .woocommerce-checkout-review-order-table .order-total .amount {
	font-family: var(--td-font-display);
	font-size: 1.2rem;
	color: #fff;
}

/* 12. Mon compte
   ========================================================================== */

.td-wc .woocommerce-MyAccount-navigation {
	float: none !important;
	width: auto !important;
	margin: 0 0 26px;
}

.td-wc .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.td-wc .woocommerce-MyAccount-navigation li {
	margin: 0;
}

.td-wc .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 18px;
	border: 1px solid var(--td-line-2);
	border-radius: 999px;
	font-size: 0.88rem;
	color: var(--td-text-2);
}

.td-wc .woocommerce-MyAccount-navigation li.is-active a,
.td-wc .woocommerce-MyAccount-navigation li a:hover {
	background: color-mix(in srgb, var(--td-accent) 16%, transparent);
	border-color: color-mix(in srgb, var(--td-accent) 55%, transparent);
	color: #fff;
}

.td-wc .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	color: var(--td-text-2);
}

.td-wc .woocommerce-form-login,
.td-wc .woocommerce-form-register {
	max-width: 520px;
	padding: clamp(20px, 2.6vw, 30px);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	background: var(--td-grad-surface);
}

/* 13. Formulaires
   ========================================================================== */

.td-wc input[type="text"],
.td-wc input[type="email"],
.td-wc input[type="tel"],
.td-wc input[type="number"],
.td-wc input[type="password"],
.td-wc input[type="search"],
.td-wc textarea,
.td-wc select,
.td-wc .select2-container .select2-selection--single {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid var(--td-line-2);
	border-radius: var(--td-radius-sm);
	background: rgba(6, 8, 13, 0.6);
	color: #fff;
	font-size: 0.95rem;
}

.td-wc input:focus,
.td-wc textarea:focus,
.td-wc select:focus {
	border-color: color-mix(in srgb, var(--td-accent) 70%, transparent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--td-accent) 15%, transparent);
	outline: none;
}

.td-wc .form-row {
	margin: 0;
	padding: 0;
}

.td-wc .form-row label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.84rem;
	color: var(--td-text-2);
}

.td-wc .form-row .required {
	color: var(--td-accent);
	text-decoration: none;
}

.td-wc .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.88rem;
}

.td-wc input[type="checkbox"],
.td-wc input[type="radio"] {
	accent-color: var(--td-accent);
}

/* 14. Fil d'Ariane, pagination, tri
   ========================================================================== */

.td-wc .woocommerce-breadcrumb {
	margin: 0 0 22px;
	font-size: 0.82rem;
	color: var(--td-text-3);
}

.td-wc .woocommerce-breadcrumb a {
	color: var(--td-text-3);
}

.td-wc .woocommerce-breadcrumb a:hover {
	color: var(--td-amber);
}

.td-wc nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.td-wc nav.woocommerce-pagination ul li {
	margin: 0;
	border: 0;
}

.td-wc nav.woocommerce-pagination ul li a,
.td-wc nav.woocommerce-pagination ul li span {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--td-line-2);
	border-radius: 999px;
	color: var(--td-text-2);
	font-size: 0.9rem;
}

.td-wc nav.woocommerce-pagination ul li span.current,
.td-wc nav.woocommerce-pagination ul li a:hover {
	background: color-mix(in srgb, var(--td-accent) 18%, transparent);
	border-color: color-mix(in srgb, var(--td-accent) 55%, transparent);
	color: #fff;
}

/* 15. Filtres et widgets boutique
   ========================================================================== */

.td-wc .widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 999px;
}

.td-wc .widget_price_filter .ui-slider .ui-slider-range {
	background: var(--td-grad-ember);
}

.td-wc .widget_price_filter .ui-slider .ui-slider-handle {
	width: 18px;
	height: 18px;
	border: 3px solid var(--td-accent);
	border-radius: 50%;
	background: #fff;
}

.td-wc .widget_price_filter .price_slider_amount .button {
	padding: 10px 20px;
	font-size: 0.85rem;
}

.td-wc .widget_layered_nav ul,
.td-wc .widget_product_categories ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.td-wc .widget_layered_nav li,
.td-wc .widget_product_categories li {
	padding: 7px 0;
	border-bottom: 1px solid var(--td-line);
	font-size: 0.9rem;
}

/* 16. Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.td-wc div.product,
	.td-wc form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr);
	}

	.td-wc form.checkout #customer_details,
	.td-wc form.checkout #order_review_heading,
	.td-wc form.checkout #order_review {
		grid-column: 1;
	}

	.td-wc form.checkout #order_review {
		position: static;
	}
}

@media (max-width: 720px) {
	.td-wc table.shop_table.shop_table_responsive thead {
		display: none;
	}

	.td-wc table.shop_table.shop_table_responsive tr td {
		display: block;
		text-align: right;
	}

	.td-wc table.shop_table.shop_table_responsive tr td::before {
		float: left;
		font-weight: 600;
		color: var(--td-text-3);
	}

	.td-wc .actions .coupon {
		display: grid;
		width: 100%;
		margin-bottom: 12px;
	}

	.td-wc form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.td-wc .quantity {
		justify-content: center;
	}
}

/* 17. Bloc d'achat sur la fiche d'un modèle (single-panneau.php)
   ========================================================================== */

.td-panneau-cart {
	display: grid;
	gap: 14px;
	margin: 0 0 6px;
	padding: clamp(16px, 2vw, 22px);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	background: var(--td-grad-surface);
}

.td-panneau-cart__price {
	margin: 0;
	font-family: var(--td-font-display);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.td-panneau-cart__price del {
	margin-right: 8px;
	font-size: 0.75em;
	font-weight: 400;
	color: var(--td-text-3);
	opacity: 1;
}

.td-panneau-cart__price ins {
	text-decoration: none;
	color: var(--td-amber);
}

.td-panneau-cart__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.td-panneau-cart__row .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 190px;
}

/* 18. Impression
   ========================================================================== */

@media print {
	.td-wc .button,
	.td-wc form.cart,
	.td-wc .woocommerce-MyAccount-navigation,
	.td-wc .woocommerce-ordering {
		display: none !important;
	}

	.td-wc table.shop_table,
	.td-wc form.checkout #order_review {
		background: #fff !important;
		border-color: #cfd2d8 !important;
		color: #111 !important;
	}
}
