/*
 * Tabula Ecommerce — boutique aux couleurs de la charte : cartes produit, grilles, catégories,
 * produit vedette, panier latéral, fiche produit, panier, commande et compte.
 * Toutes les couleurs, polices et arrondis viennent des variables du site (--tb-*).
 */

/* Aussi sur une section hors thème (classe tb-hors-theme) : couleurs dérivées des siennes. */
body.tb-shop-on,
body.tb-shop-on .tb-hors-theme {
	--tb-s-line: var(--tb-line, rgba(15, 16, 13, 0.1));
	--tb-s-soft: color-mix(in srgb, var(--tb-ink, #111) 5%, var(--tb-bg, #fff));
	--tb-pt-size: calc(clamp(1.85rem, 1.3rem + 2vw, 3.05rem) * var(--tb-h-scale, 1)); /* Titre de page : même taille partout (pages, catégories, panier). */
	--tb-s-muted: color-mix(in srgb, var(--tb-ink, #111) 62%, transparent);
	--tb-s-photo: color-mix(in srgb, var(--tb-ink, #111) 4%, var(--tb-surface, #f4f4f2));
	--tb-pt-gap: clamp(2.25rem, 1.6rem + 2.4vw, 4rem); /* Espace au-dessus et au-dessous d'un titre de page (comme la section « Titre de page »). */
}
/* Pages boutique (catalogue, fiche, panier, commande, compte) : le même espace sous l'en-tête du site
   que les autres pages, et autant d'espace sous le titre qu'au-dessus. */
body.tb-shop-on:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .post-type-archive-product, .tax-product_cat, .tax-product_tag, .single-product) #primary {
	margin-top: var(--tb-pt-gap);
}

/* Carte photo « tb-veil-hover » : voile léger au repos (fond réglé dans Elementor), qui fonce
   progressivement au survol. Un dégradé ne s'anime pas : couche à part dont l'opacité change. */
.tb-veil-hover > * {
	position: relative;
	z-index: 1;
}
.tb-veil-hover::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: inherit;
	background: var(--tb-veil-mid, rgba(0, 0, 0, 0.42));
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.tb-veil-hover:is(:hover, :focus-within)::before {
	opacity: 0.7;
}

/* ------------------------------------------------------------------ *
 * Barre d'annonce
 * ------------------------------------------------------------------ */
.tb-announce {
	position: relative;
	z-index: 100;
	background: var(--tb-contrast, #111);
	color: var(--tb-on-contrast, #fff);
	font: 500 13px/1.4 var(--tb-font-body, inherit);
	text-align: center;
}
.tb-announce p {
	margin: 0;
	padding: 10px var(--tb-gutter, 20px);
}

/* ------------------------------------------------------------------ *
 * Boutons communs (pages WooCommerce, panneau)
 * ------------------------------------------------------------------ */
.tb-btn-shop,
body.tb-shop .button,
body.tb-shop button.button,
body.tb-shop a.button,
body.tb-shop input.button,
body.tb-shop .single_add_to_cart_button,
body.tb-shop #place_order,
body.tb-shop .checkout-button,
.tb-feat-btn,
.tb-pgrid-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 14px 26px;
	border: 0;
	border-radius: var(--tb-r-btn, 999px);
	background: var(--tb-accent, #111);
	color: var(--tb-accent-ink, #fff);
	font: 600 15px/1.2 var(--tb-font-body, inherit);
	letter-spacing: 0;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.tb-btn-shop:hover,
body.tb-shop .button:hover,
body.tb-shop .single_add_to_cart_button:hover,
body.tb-shop #place_order:hover,
body.tb-shop .checkout-button:hover,
.tb-feat-btn:hover,
.tb-pgrid-btn:hover {
	background: var(--tb-accent-hover, var(--tb-accent, #111));
	color: var(--tb-accent-ink, #fff);
}
.tb-btn-shop:active,
.tb-feat-btn:active {
	transform: scale(0.98);
}
.tb-btn-shop--ghost,
body.tb-shop .button.tb-ghost,
.tb-pgrid-btn {
	background: transparent;
	color: var(--tb-ink, #111);
	box-shadow: inset 0 0 0 1.5px var(--tb-s-line);
}
.tb-btn-shop--ghost:hover,
.tb-pgrid-btn:hover {
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
}
body.tb-shop .button.disabled,
body.tb-shop .button:disabled {
	opacity: 0.45;
}

/* ------------------------------------------------------------------ *
 * Badges
 * ------------------------------------------------------------------ */
.tb-badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	pointer-events: none;
}
.tb-badge {
	display: inline-block;
	padding: 5px 10px;
	border-radius: var(--tb-r-pill, 999px);
	background: var(--tb-bg, #fff);
	color: var(--tb-ink, #111);
	font: 600 12px/1 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.02em;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.tb-badge--sale {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}
.tb-badge--out {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}

/* ------------------------------------------------------------------ *
 * Cartes produit
 * ------------------------------------------------------------------ */
.tb-pcard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	color: var(--tb-ink, #111);
}
.tb-pcard--card {
	padding: 0 0 16px;
	overflow: hidden;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 20px);
	background: var(--tb-card, #fff);
	box-shadow: none;
}
.tb-pcard--card .tb-pcard-body {
	padding-left: 16px !important;
	padding-right: 16px !important;
}
.tb-pcard-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--tb-r-sm, 14px);
	background: var(--tb-s-photo);
}
.tb-pcard--card .tb-pcard-media {
	border-radius: 0;
}
.tb-pcard-link {
	display: block;
	width: 100%;
	height: 100%;
}
.tb-pcard-img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: opacity 0.45s ease, transform 0.7s ease;
}
.tb-pcard-img--empty {
	background: var(--tb-s-photo);
}
.tb-pcard-img--alt {
	opacity: 0;
}
.tb-pcard.has-alt:hover .tb-pcard-img--alt {
	opacity: 1;
}
.tb-pcard:not(.has-alt):hover .tb-pcard-img {
	transform: scale(1.04);
}
.tb-pcard-add {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px 0 12px;
	border: 0;
	border-radius: var(--tb-r-pill, 999px);
	background: var(--tb-bg, #fff);
	color: var(--tb-ink, #111);
	font: 600 14px/1 var(--tb-font-body, inherit);
	text-decoration: none;
	box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.35);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
	cursor: pointer;
}
.tb-pcard-add .tb-ico {
	width: 18px;
	height: 18px;
}
.tb-pcard:hover .tb-pcard-add,
.tb-pcard-add:focus-visible {
	opacity: 1;
	transform: none;
}
.tb-pcard-add:hover {
	background: var(--tb-accent, #111);
	color: var(--tb-accent-ink, #fff);
}
.tb-pcard-add.is-loading {
	opacity: 1;
	pointer-events: none;
}
.tb-pcard-add.is-loading .tb-ico {
	animation: tb-spin 0.8s linear infinite;
}
@keyframes tb-spin {
	to { transform: rotate(360deg); }
}
@media (hover: none) {
	.tb-pcard-add {
		opacity: 1;
		transform: none;
		width: 42px;
		padding: 0;
		justify-content: center;
	}
	.tb-pcard-add span {
		display: none;
	}
}
.tb-pcard-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 4px;
}
.tb-pcard--card .tb-pcard-body {
	padding: 0 8px;
}
.tb-pcard-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	font: 500 12px/1.3 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tb-s-muted);
}
.tb-pcard-rate {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font: 600 13px/1 var(--tb-font-body, inherit);
	letter-spacing: 0;
	text-transform: none;
	color: var(--tb-ink, #111);
}
.tb-pcard-rate .tb-ico {
	width: 14px;
	height: 14px;
	fill: currentColor;
}
.tb-pcard-rate small {
	font-weight: 400;
	color: var(--tb-s-muted);
}
.tb-pcard-title {
	margin: 0;
	padding: 0;
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1rem, 0.96rem + 0.2vw, 1.12rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	line-height: 1.3;
	letter-spacing: var(--tb-h-ls, -0.01em);
	text-transform: var(--tb-h-case, none);
	color: inherit;
}
.tb-pcard-title a {
	color: inherit;
	text-decoration: none;
}
.tb-pcard-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.tb-pcard-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 2px 0 0;
}
.tb-pcard-price,
.tb-feat-price,
body.tb-shop .summary .price {
	font: 600 16px/1.3 var(--tb-font-body, inherit);
	color: var(--tb-ink, #111);
}
.tb-pcard-price del,
.tb-feat-price del,
body.tb-shop .summary .price del {
	margin-right: 6px;
	font-weight: 400;
	color: var(--tb-s-muted);
	opacity: 1;
}
.tb-pcard-price ins,
.tb-feat-price ins,
body.tb-shop .summary .price ins {
	text-decoration: none;
	color: var(--tb-ink, #111);
}
.tb-center .tb-pgrid-chips,
.tb-pgrid--center .tb-pgrid-chips {
	justify-content: center;
}
.tb-pcard--overlay .tb-pcard-media {
	aspect-ratio: 3 / 4;
}
.tb-pcard--overlay .tb-pcard-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 60px 18px 18px;
	border-radius: 0 0 var(--tb-r-sm, 14px) var(--tb-r-sm, 14px);
	background: linear-gradient(to top, var(--tb-veil, rgba(0, 0, 0, 0.6)), transparent);
	color: var(--tb-on-photo, #fff);
	pointer-events: none;
}
.tb-pcard--overlay .tb-pcard-body a,
.tb-pcard--overlay .tb-pcard-price,
.tb-pcard--overlay .tb-pcard-rate,
.tb-pcard--overlay .tb-pcard-price ins {
	color: inherit;
	pointer-events: auto;
}
.tb-pcard--overlay .tb-pcard-meta {
	color: inherit;
	opacity: 0.8;
}
.tb-pcard--overlay .tb-pcard-add {
	top: 12px;
	bottom: auto;
}
.tb-pcard--overlay .tb-pcard-price del {
	color: inherit;
	opacity: 0.7;
}

/* Cartes sur une section contrastée (fond sombre) */
.tb-bg-contrast .tb-pcard,
.tb-bg-contrast .tb-ccard,
.tb-bg-contrast .tb-pcard-price,
.tb-bg-contrast .tb-pcard-rate {
	color: var(--tb-on-contrast, #fff);
}
.tb-bg-contrast .tb-pcard-meta {
	color: color-mix(in srgb, var(--tb-on-contrast, #fff) 62%, transparent);
}
.tb-bg-contrast .tb-ccard small {
	color: color-mix(in srgb, var(--tb-on-contrast, #fff) 65%, transparent);
}
.tb-bg-contrast .tb-pcard-price del,
.tb-bg-contrast .tb-pcard-rate small {
	color: color-mix(in srgb, var(--tb-on-contrast, #fff) 60%, transparent);
}
.tb-bg-contrast .tb-pcard-price ins {
	color: var(--tb-on-contrast, #fff);
}
.tb-bg-contrast .tb-pcard--card {
	background: var(--tb-contrast-card, rgba(255, 255, 255, 0.06));
	box-shadow: 0 0 0 1px var(--tb-contrast-line, rgba(255, 255, 255, 0.12));
}
.tb-bg-contrast .tb-pcard-media {
	background: color-mix(in srgb, var(--tb-on-contrast, #fff) 8%, transparent);
}
.tb-bg-contrast .tb-pgrid-chips button,
.tb-bg-contrast .tb-pgrid-nav button {
	background: var(--tb-contrast-card, rgba(255, 255, 255, 0.08));
	color: var(--tb-on-contrast, #fff);
	box-shadow: none;
}
.tb-bg-contrast .tb-pgrid-chips button.is-on {
	background: var(--tb-accent-dark, #fff);
	color: var(--tb-accent-dark-ink, #111);
}

/* Liste compacte : vignette, texte et bouton d'ajout sur une ligne (« Shop the look », listes). */
.tb-pcard--row {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 10px 14px 10px 10px;
	border-radius: var(--tb-r-md, 14px);
	background: var(--tb-bg, #fff);
	box-shadow: var(--tb-shadow-sm, 0 1px 2px rgba(0, 0, 0, 0.06));
}
.tb-pcard--row .tb-pcard-media {
	border-radius: var(--tb-r-sm, 10px);
}
.tb-pcard--row .tb-pcard-body {
	gap: 2px;
	padding: 0;
}
.tb-pcard--row .tb-pcard-title {
	font-size: 0.95rem;
}
.tb-pcard--row .tb-pcard-add {
	position: static;
	background: var(--tb-s-soft, #f2f2f2);
	box-shadow: none;
	opacity: 1;
	transform: none;
	width: 42px;
	padding: 0;
	justify-content: center;
}
.tb-pcard--row .tb-pcard-add span {
	display: none;
}
.tb-pgrid:has(.tb-pcard--row) .tb-pgrid-items {
	gap: 12px;
}
.tb-bg-contrast .tb-pcard--row,
.tb-on-photo .tb-pcard--row {
	background: var(--tb-contrast-card, rgba(255, 255, 255, 0.08));
	box-shadow: none;
}

/* ------------------------------------------------------------------ *
 * Grilles et carrousels de produits
 * ------------------------------------------------------------------ */
/* Les widgets dynamiques prennent toute la largeur, même dans une pile alignée à gauche. */
.elementor-widget-tabula-products,
.elementor-widget-tabula-product-cats,
.elementor-widget-tabula-product,
.elementor-widget-tabula-posts {
	width: 100%;
	max-width: 100%;
}
.tb-pgrid {
	--tb-pcols: var(--tb-pc-d, 4);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 1rem + 1vw, 2rem);
	width: 100%;
}
.tb-pgrid-items {
	display: grid;
	grid-template-columns: repeat(var(--tb-pcols), minmax(0, 1fr));
	gap: 32px 20px;
	width: 100%;
	transition: opacity 0.2s ease;
}
.tb-pgrid.is-loading .tb-pgrid-items {
	opacity: 0.45;
}
.tb-pgrid-items .is-new {
	animation: tb-rise 0.45s ease both;
}
@keyframes tb-rise {
	from { opacity: 0; transform: translateY(12px); }
}
@media (max-width: 1024px) {
	.tb-pgrid { --tb-pcols: var(--tb-pc-t, 3); }
}
@media (max-width: 767px) {
	.tb-pgrid { --tb-pcols: var(--tb-pc-m, 2); }
	.tb-pgrid-items { gap: 24px 12px; }
	/* Grande grille (3 colonnes ou plus) passée à une colonne : une rangée qu'on fait défiler au doigt,
	   la carte suivante dépasse, plutôt que trois grandes cartes empilées. */
	.tb-pgrid--grid:not([style*="pc-d:1;"], [style*="pc-d:2;"])[style$="pc-m:1"] .tb-pgrid-items {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.tb-pgrid--grid:not([style*="pc-d:1;"], [style*="pc-d:2;"])[style$="pc-m:1"] .tb-pgrid-items::-webkit-scrollbar {
		display: none;
	}
	.tb-pgrid--grid:not([style*="pc-d:1;"], [style*="pc-d:2;"])[style$="pc-m:1"] .tb-pcard {
		flex: 0 0 82%;
		scroll-snap-align: start;
	}
}
.tb-pgrid-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 20px;
}
.tb-pgrid-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
@media (max-width: 767px) {
	.tb-pgrid-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.tb-pgrid-chips {
		flex-wrap: nowrap;
		min-width: 0;
		margin-right: -20px;
		padding-right: 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.tb-pgrid-chips::-webkit-scrollbar {
		display: none;
	}
	.tb-pgrid-chips button {
		flex: 0 0 auto;
	}
}
.tb-pgrid-chips button {
	padding: 10px 18px;
	border: 0;
	border-radius: var(--tb-r-pill, 999px);
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	font: 500 14px/1.2 var(--tb-font-body, inherit);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.tb-pgrid-chips button:hover {
	background: color-mix(in srgb, var(--tb-ink, #111) 10%, var(--tb-bg, #fff));
}
.tb-pgrid-chips button.is-on {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}
.tb-pgrid-sort {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	font: 500 14px/1 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
.tb-pgrid-sort select {
	height: 42px;
	padding: 0 40px 0 14px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-sm, 12px);
	background-color: var(--tb-bg, #fff);
	background-position: right 14px center;
	color: var(--tb-ink, #111);
	font: 500 14px/1 var(--tb-font-body, inherit);
}
.tb-pgrid-foot {
	display: flex;
	justify-content: center;
	padding-top: 8px;
}
.tb-pgrid-foot[hidden] {
	display: none;
}
.tb-pgrid-empty,
.tb-pgrid-none {
	padding: 28px;
	border: 1.5px dashed var(--tb-s-line);
	border-radius: var(--tb-r-md, 18px);
	font: 15px/1.6 var(--tb-font-body, inherit);
	text-align: center;
	color: var(--tb-s-muted);
}
.tb-pgrid-none {
	grid-column: 1 / -1;
}
/* Carrousel : défilement natif, flèches, accroche aux cartes */
.tb-pgrid--carousel .tb-pgrid-items {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.tb-pgrid--carousel .tb-pgrid-items::-webkit-scrollbar {
	display: none;
}
.tb-pgrid--carousel .tb-pcard {
	flex: 0 0 calc((100% - (var(--tb-pcols) - 1) * 20px) / var(--tb-pcols));
	scroll-snap-align: start;
}
@media (max-width: 767px) {
	.tb-pgrid--carousel .tb-pgrid-items {
		gap: 12px;
	}
	/* Colonnes demandées + un bout de la carte suivante, pour montrer que ça défile. */
	.tb-pgrid--carousel .tb-pcard {
		flex-basis: calc((100% - var(--tb-pcols) * 12px) / (var(--tb-pcols) + 0.25));
	}
}
/* Flèches sous le carrousel, à droite : elles ne gênent jamais un titre ou un lien d'en-tête. */
.tb-pgrid-nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 20px;
}
.tb-pgrid-nav button {
	display: grid !important;
	place-items: center;
	flex: 0 0 44px;
	width: 44px !important;
	height: 44px !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	line-height: 0 !important;
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.tb-pgrid-nav button:hover {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}
.tb-pgrid-nav button[data-prev] .tb-ico {
	transform: rotate(180deg);
}
.tb-pgrid-nav .tb-ico {
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------------------ *
 * Catégories
 * ------------------------------------------------------------------ */
.tb-cgrid {
	--tb-ccols: var(--tb-cc-d, 3);
	display: grid;
	grid-template-columns: repeat(var(--tb-ccols), minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}
@media (max-width: 1024px) {
	.tb-cgrid { --tb-ccols: var(--tb-cc-t, 2); }
}
@media (max-width: 767px) {
	.tb-cgrid { --tb-ccols: var(--tb-cc-m, 2); }
	/* Deux colonnes et un nombre impair de catégories : la dernière prend toute la largeur, en bandeau,
	   plutôt que de rester seule sur sa ligne. */
	.tb-cgrid:not(.tb-cgrid--list)[style*="cc-m:2"] > .tb-ccard:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
	.tb-cgrid:not(.tb-cgrid--list)[style*="cc-m:2"] > .tb-ccard:last-child:nth-child(odd) .tb-ccard-media {
		aspect-ratio: 16 / 9 !important;
	}
}
.tb-ccard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	color: var(--tb-ink, #111);
	text-decoration: none;
}
.tb-ccard-media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--tb-r-md, 20px);
	background: var(--tb-s-photo);
}
.tb-ccard-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.tb-ccard:hover .tb-ccard-img {
	transform: scale(1.05);
}
.tb-ccard-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.tb-ccard b {
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1.1rem, 1rem + 0.4vw, 1.4rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: var(--tb-h-ls, -0.01em);
	line-height: 1.2;
}
.tb-ccard small {
	font: 14px/1.4 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
.tb-ccard em {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font: 600 14px/1 var(--tb-font-body, inherit);
	font-style: normal;
}
.tb-ccard .tb-ico {
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}
.tb-ccard:hover .tb-ico {
	transform: translateX(3px);
}
.tb-cgrid--photo .tb-ccard-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 60px 22px 22px;
	border-radius: 0 0 var(--tb-r-md, 20px) var(--tb-r-md, 20px);
	background: linear-gradient(to top, var(--tb-veil, rgba(0, 0, 0, 0.55)), transparent);
	color: var(--tb-on-photo, #fff);
}
.tb-cgrid--photo .tb-ccard small {
	color: inherit;
	opacity: 0.82;
}
.tb-cgrid--list {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	border-top: 1px solid var(--tb-s-line);
}
.tb-cgrid--list .tb-ccard {
	flex-direction: row;
	align-items: baseline;
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid var(--tb-s-line);
}
.tb-cgrid--list .tb-ccard b {
	font-size: calc(clamp(1.3rem, 1rem + 1vw, 2rem) * var(--tb-h-scale, 1));
}
.tb-cgrid--list .tb-ccard .tb-ico {
	align-self: center;
	margin-left: auto;
	width: 22px;
	height: 22px;
}

/* ------------------------------------------------------------------ *
 * Produit vedette
 * ------------------------------------------------------------------ */
.tb-feat {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 1rem + 4vw, 5rem);
	align-items: center;
	width: 100%;
	color: var(--tb-ink, #111);
}
.tb-feat--right .tb-feat-media {
	order: 2;
}
.tb-feat-media {
	position: relative;
	overflow: hidden;
	border-radius: var(--tb-r-lg, 24px);
	background: var(--tb-s-photo);
	aspect-ratio: 4 / 4.4;
}
.tb-feat-media > a {
	position: absolute;
	inset: 0;
}
.tb-feat-media img.tb-feat-img {
	height: 100% !important;
}
.tb-feat-media > a,
.tb-feat-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: none;
}
.tb-feat-thumbs {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	display: flex;
	gap: 8px;
}
.tb-feat-thumbs button {
	width: 58px;
	height: 58px;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--tb-r-sm, 12px);
	background: var(--tb-bg, #fff);
	cursor: pointer;
}
.tb-feat-thumbs button.is-on {
	border-color: var(--tb-bg, #fff);
	box-shadow: 0 0 0 2px var(--tb-ink, #111);
}
.tb-feat-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.tb-feat-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}
.tb-feat-cat {
	font: 500 13px/1.3 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tb-s-muted);
	text-decoration: none;
}
.tb-feat-title {
	margin: 0;
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1.9rem, 1.3rem + 2vw, 3rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	line-height: 1.08;
	letter-spacing: var(--tb-h-ls, -0.02em);
	color: inherit;
}
.tb-feat-title a {
	color: inherit;
	text-decoration: none;
}
.tb-feat-price {
	margin: 0;
	font-size: 22px;
}
.tb-feat-desc {
	font: 16px/1.65 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
.tb-feat-desc p {
	margin: 0;
}
.tb-feat-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 6px;
}
.tb-feat-more {
	font: 600 15px/1 var(--tb-font-body, inherit);
	color: var(--tb-ink, #111);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.tb-feat .tb-reassure {
	margin-top: 8px;
	width: 100%;
}
@media (max-width: 900px) {
	.tb-feat {
		grid-template-columns: minmax(0, 1fr);
	}
	.tb-feat--right .tb-feat-media {
		order: 0;
	}
}
.tb-bg-contrast .tb-feat,
.tb-bg-contrast .tb-feat-more,
.tb-bg-contrast .tb-feat-price {
	color: var(--tb-on-contrast, #fff);
}
.tb-bg-contrast .tb-feat-desc {
	color: color-mix(in srgb, var(--tb-on-contrast, #fff) 72%, transparent);
}
.tb-bg-contrast .tb-feat-btn {
	background: var(--tb-accent-dark, #fff);
	color: var(--tb-accent-dark-ink, #111);
}

/* ------------------------------------------------------------------ *
 * Réassurance et accordéons (fiche produit, produit vedette)
 * ------------------------------------------------------------------ */
.tb-reassure {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2px;
	margin: 22px 0 0;
	padding: 6px 0;
	border-top: 1px solid var(--tb-s-line);
	border-bottom: 1px solid var(--tb-s-line);
	list-style: none;
}
.tb-reassure li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px 0;
	font: 14px/1.4 var(--tb-font-body, inherit);
}
.tb-reassure .tb-ico {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--tb-accent-text, currentColor);
}
.tb-reassure b {
	display: block;
	font-weight: 600;
}
.tb-reassure small {
	display: block;
	font-size: 13.5px;
	color: var(--tb-s-muted);
}
.tb-bg-contrast .tb-reassure {
	border-color: var(--tb-contrast-line, rgba(255, 255, 255, 0.14));
}
.tb-bg-contrast .tb-reassure .tb-ico {
	color: var(--tb-accent-dark-text, currentColor);
}
.tb-bg-contrast .tb-reassure small {
	color: color-mix(in srgb, var(--tb-on-contrast, #fff) 65%, transparent);
}
.tb-accs {
	margin-top: 26px;
	border-top: 1px solid var(--tb-s-line);
}
.tb-acc {
	border-bottom: 1px solid var(--tb-s-line);
}
.tb-acc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font: 600 16px/1.3 var(--tb-font-body, inherit);
	list-style: none;
	cursor: pointer;
}
.tb-acc summary::-webkit-details-marker {
	display: none;
}
.tb-acc summary i {
	position: relative;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
}
.tb-acc summary i::before,
.tb-acc summary i::after {
	content: "";
	position: absolute;
	top: 6px;
	left: 0;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.25s ease;
}
.tb-acc summary i::after {
	transform: rotate(90deg);
}
.tb-acc[open] summary i::after {
	transform: rotate(0deg);
}
.tb-acc-body {
	padding: 0 0 20px;
	font: 15px/1.7 var(--tb-font-body, inherit);
	color: color-mix(in srgb, var(--tb-ink, #111) 78%, transparent);
}
.tb-acc-body > :first-child {
	margin-top: 0;
}
.tb-acc-body > :last-child {
	margin-bottom: 0;
}
.tb-acc-body table.woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}
.tb-acc-body .woocommerce-product-attributes th,
.tb-acc-body .woocommerce-product-attributes td {
	padding: 8px 0;
	border: 0;
	border-bottom: 1px solid var(--tb-s-line);
	background: transparent;
	font-size: 14.5px;
	text-align: left;
	vertical-align: top;
}
.tb-acc-body .woocommerce-product-attributes th {
	width: 40%;
	font-weight: 600;
}
.tb-acc-body .woocommerce-product-attributes p {
	margin: 0;
	padding: 0;
	font-style: normal;
}
.tb-acc-sku {
	margin: 10px 0 0;
	font-size: 13.5px;
	color: var(--tb-s-muted);
}

/* ------------------------------------------------------------------ *
 * Fil d'Ariane, en-tête de catégorie
 * ------------------------------------------------------------------ */
.woocommerce-breadcrumb.tb-bc,
body.tb-shop .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	font: 14px/1.4 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
/* Sans l'élément vide qu'Astra pose en tête (il décalait le fil d'Ariane de l'écart). */
.woocommerce-breadcrumb.tb-bc::before,
.woocommerce-breadcrumb.tb-bc::after {
	content: none;
	display: none;
}
.woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}
.woocommerce-breadcrumb a:hover {
	color: var(--tb-ink, #111);
}
.tb-bc-sep {
	opacity: 0.45;
}
/* ------------------------------------------------------------------ *
 * Panier, commande, compte
 * ------------------------------------------------------------------ */
body.tb-shop:not(.tb-pp):not(.tb-shop-archive) .site-content > .ast-container {
	max-width: calc(var(--tb-content, 1240px) + 2 * var(--tb-gutter, 20px));
	padding: clamp(2rem, 1rem + 3vw, 4rem) var(--tb-gutter, 20px) clamp(3rem, 2rem + 4vw, 6rem);
}
body.tb-hdr-transparent.tb-shop:not(.tb-pp):not(.tb-shop-archive) .site-content > .ast-container {
	padding-top: calc(clamp(2rem, 1rem + 3vw, 4rem) + var(--tb-hdr-space, 84px));
}
.tb-wc-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 32px;
	margin: 0 0 var(--tb-pt-gap, clamp(2.25rem, 1.6rem + 2.4vw, 4rem));
}
.tb-wc-head h1 {
	margin: 0;
	font-family: var(--tb-font-heading, inherit);
	font-size: var(--tb-pt-size);
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: var(--tb-h-ls, -0.02em);
	line-height: 1.08;
	text-transform: var(--tb-h-case, none);
	color: var(--tb-ink, #111);
}
.tb-wc-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	font: 500 14px/1 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
.tb-wc-steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.tb-wc-steps i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--tb-s-soft);
	font: 600 12px/1 var(--tb-font-body, inherit);
	font-style: normal;
}
.tb-wc-steps .is-on {
	color: var(--tb-ink, #111);
}
.tb-wc-steps .is-on i {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}
.tb-wc-steps .is-done i,
.tb-wc-steps .is-done.is-on i {
	background: var(--tb-accent, #111);
	color: transparent;
	-webkit-mask: none;
}
/* Étape faite : une coche centrée à la place du numéro. */
.tb-wc-steps .is-done i {
	position: relative;
	font-size: 0;
}
.tb-wc-steps .is-done i::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 13px;
	height: 13px;
	background: var(--tb-accent-ink, #fff);
	-webkit-mask: var(--tb-check) center / contain no-repeat;
	mask: var(--tb-check) center / contain no-repeat;
}
body.tb-shop .tb-wc-head ol.tb-wc-steps {
	margin: 0 !important;
	padding: 0 !important;
}
/* Tableaux du panier, de la commande et du compte : sans fond (Astra en pose un sur l'en-tête, qui
   faisait une bande claire sur les fonds teintés). */
body.tb-shop table.shop_table :is(thead, tbody, tfoot, tr) {
	background: transparent !important;
}
body.tb-shop table.shop_table {
	width: 100%;
	border: 0 !important;
	border-collapse: collapse !important;
	border-radius: 0 !important;
	font: 15px/1.45 var(--tb-font-body, inherit);
}
body.tb-shop table.shop_table th,
body.tb-shop table.shop_table td {
	padding: 16px 12px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--tb-s-line) !important;
	background: transparent !important;
	color: var(--tb-ink, #111);
	vertical-align: middle;
}
body.tb-shop table.shop_table thead th {
	padding-top: 0 !important;
	font: 600 12px/1 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tb-s-muted);
}
/* Panier : les articles en liste (photo, nom et prix, quantité, total, retirer) et le total dans une
   carte à côté, qui suit le défilement. Le tableau de WooCommerce garde son balisage (mises à jour
   sans rechargement) ; dans une colonne étroite (mobile, tablette), chaque article tient sur trois
   lignes à côté de sa photo, au lieu du tableau empilé de WooCommerce. */
@media (min-width: 922px) {
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.5fr);
		column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
		align-items: start;
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form)::before,
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form)::after,
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals::before,
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals::after {
		display: none !important;
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-notices-wrapper {
		grid-column: 1 / -1;
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) > .woocommerce-cart-form {
		grid-column: 1;
		grid-row: 2;
		margin: 0;
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) > .cart-collaterals {
		display: contents;
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) .cart_totals {
		grid-column: 2;
		grid-row: 2 / span 2;
		position: sticky;
		top: calc(var(--tb-hdr-h, 84px) + 20px);
	}
	body.tb-shop .woocommerce:has(> .woocommerce-cart-form) .cross-sells {
		grid-column: 1;
		grid-row: 3;
		margin-top: 48px;
	}
}
body.tb-shop .cart-collaterals,
body.tb-shop .cart-collaterals :is(.cart_totals, .cross-sells) {
	width: 100% !important;
	float: none !important;
}
body.tb-shop .woocommerce-cart-form {
	margin-bottom: 32px;
	container-type: inline-size;
}
body.tb-shop table.cart,
body.tb-shop table.cart tbody {
	display: block;
	width: 100%;
}
body.tb-shop table.cart thead {
	display: none;
}
body.tb-shop table.cart tr.cart_item {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto minmax(5.5rem, auto) 36px;
	grid-template-areas:
		"thumb name qty total remove"
		"thumb price qty total remove";
	grid-template-rows: 1fr 1fr;
	column-gap: 20px;
	row-gap: 4px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--tb-s-line);
}
body.tb-shop table.cart tr.cart_item > td {
	display: block !important;
	width: auto !important;
	min-width: 0;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: left !important;
}
body.tb-shop table.cart tr.cart_item > td::before {
	content: none !important;
	display: none !important;
}
body.tb-shop table.cart td.product-thumbnail {
	grid-area: thumb;
	align-self: start;
}
body.tb-shop table.cart td.product-thumbnail a {
	display: block;
}
body.tb-shop table.cart img {
	display: block;
	width: 84px !important;
	max-width: none !important;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--tb-r-sm, 12px);
}
body.tb-shop table.cart td.product-name {
	grid-area: name;
	align-self: end;
	font-weight: 600;
}
body.tb-shop table.cart .product-name a {
	font-weight: 600;
	color: var(--tb-ink, #111);
	text-decoration: none;
}
body.tb-shop table.cart .product-name :is(dl.variation, .backorder_notification) {
	margin: 4px 0 0;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--tb-s-muted);
}
body.tb-shop table.cart .product-name dl.variation :is(dt, dd, dd p) {
	margin: 0;
	padding: 0;
}
body.tb-shop table.cart td.product-price {
	grid-area: price;
	align-self: start;
	font-size: 14px;
	color: var(--tb-s-muted);
}
body.tb-shop table.cart td.product-quantity {
	grid-area: qty;
}
body.tb-shop table.cart td.product-subtotal {
	grid-area: total;
	text-align: right !important;
	font-weight: 600;
	white-space: nowrap;
}
body.tb-shop table.cart td.product-remove {
	grid-area: remove;
	justify-self: end;
}
body.tb-shop table.cart a.remove {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--tb-s-muted) !important;
	font: 400 22px/1 var(--tb-font-body, inherit) !important;
	text-decoration: none !important;
	transition: background-color 0.25s ease, color 0.25s ease;
}
body.tb-shop table.cart a.remove::before {
	display: none !important;
}
body.tb-shop table.cart a.remove:hover {
	background: var(--tb-s-soft) !important;
	color: var(--tb-ink, #111) !important;
}
body.tb-shop table.cart a.remove svg {
	width: 16px;
	height: 16px;
}
/* Quantité : le même bloc arrondi « − 1 + » que sur la fiche produit. */
body.tb-shop table.cart .quantity {
	display: inline-flex !important;
	align-items: center;
	height: 44px;
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-btn, 999px);
	background: transparent;
}
body.tb-shop table.cart .quantity :is(.minus, .plus) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px !important;
	height: 42px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--tb-ink, #111) !important;
	font: 400 18px/1 var(--tb-font-body, inherit) !important;
	text-decoration: none !important;
	transition: background-color 0.25s ease;
}
body.tb-shop table.cart .quantity :is(.minus, .plus):hover {
	background: var(--tb-s-soft) !important;
}
body.tb-shop table.cart .quantity input.qty {
	width: 36px !important;
	height: 42px !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--tb-ink, #111) !important;
	font: 600 15px/1 var(--tb-font-body, inherit) !important;
	text-align: center;
	box-shadow: none !important;
	-moz-appearance: textfield;
	appearance: textfield;
}
body.tb-shop table.cart .quantity input.qty::-webkit-inner-spin-button,
body.tb-shop table.cart .quantity input.qty::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* Code promo et mise à jour, sous la liste. La quantité met le panier à jour d'elle-même (shop.js) :
   le bouton « Mettre à jour le panier » ne reste que sans JavaScript. */
body.tb-shop table.cart tr:has(> td.actions) {
	display: block;
}
body.tb-shop table.cart td.actions {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	padding: 20px 0 0 !important;
	border: 0 !important;
	text-align: left !important;
}
body.tb-shop table.cart td.actions::before {
	content: none !important;
	display: none !important;
}
body.tb-cart-js table.cart tr:has(> td.actions):not(:has(.coupon)) {
	display: none;
}
body.tb-shop .woocommerce-cart-form .coupon {
	display: flex !important;
	flex: 1 1 300px;
	gap: 10px;
	max-width: 440px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}
body.tb-shop .woocommerce-cart-form .coupon .input-text {
	flex: 1 1 auto;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	float: none !important;
}
body.tb-shop .woocommerce-cart-form .coupon .button {
	flex: 0 0 auto;
	width: auto !important;
	min-height: 50px;
	margin: 0 !important;
	float: none !important;
	white-space: nowrap;
}
body.tb-shop .woocommerce-cart-form button[name="update_cart"] {
	width: auto !important;
	margin: 0 0 0 auto !important;
	float: none !important;
}
body.tb-cart-js .woocommerce-cart-form button[name="update_cart"] {
	display: none !important;
}
@container (max-width: 560px) {
	body.tb-shop table.cart tr.cart_item {
		grid-template-columns: 76px minmax(0, 1fr) auto;
		grid-template-areas:
			"thumb name total"
			"thumb price price"
			"thumb qty remove";
		grid-template-rows: auto auto 1fr;
		column-gap: 14px;
		row-gap: 2px;
		align-items: start;
	}
	body.tb-shop table.cart img {
		width: 76px !important;
	}
	body.tb-shop table.cart td.product-quantity {
		align-self: end;
		margin-top: 10px;
	}
	body.tb-shop table.cart td.product-remove {
		align-self: end;
		margin-right: -8px;
	}
	body.tb-shop .woocommerce-cart-form .coupon {
		max-width: none;
	}
}
body.tb-shop .coupon .input-text,
body.tb-shop .woocommerce form .form-row input.input-text,
body.tb-shop .woocommerce form .form-row textarea,
body.tb-shop .woocommerce form .form-row select,
body.tb-shop .select2-container .select2-selection--single,
body.tb-shop form .form-row .input-text,
body.tb-shop #review_form input[type="text"],
body.tb-shop #review_form input[type="email"],
body.tb-shop #review_form textarea {
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--tb-s-line) !important;
	border-radius: var(--tb-r-sm, 12px) !important;
	background: var(--tb-bg, #fff) !important;
	color: var(--tb-ink, #111) !important;
	font: 15px/1.4 var(--tb-font-body, inherit) !important;
	box-shadow: none !important;
}
body.tb-shop .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: 26px;
	padding-left: 0;
}
body.tb-shop .select2-container .select2-selection--single .select2-selection__arrow {
	top: 12px;
	right: 10px;
}
body.tb-shop .woocommerce form .form-row input.input-text:focus,
body.tb-shop form .form-row textarea:focus {
	border-color: var(--tb-ink, #111) !important;
	outline: 0;
}
body.tb-shop form .form-row label {
	margin-bottom: 6px;
	font: 600 14px/1.3 var(--tb-font-body, inherit);
	color: var(--tb-ink, #111);
}
body.tb-shop .cart-collaterals .cart_totals,
body.tb-shop #order_review,
body.tb-shop .woocommerce-checkout-review-order {
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border: 0 !important;
	border-radius: var(--tb-r-lg, 22px);
	background: var(--tb-s-soft);
}
body.tb-shop .cart-collaterals .cart_totals h2,
body.tb-shop #order_review_heading,
body.tb-shop .woocommerce-billing-fields > h3,
body.tb-shop .woocommerce-shipping-fields > h3,
body.tb-shop .woocommerce-additional-fields > h3 {
	margin: 0 0 18px;
	font: var(--tb-h-weight, 600) 22px/1.2 var(--tb-font-heading, inherit);
	letter-spacing: var(--tb-h-ls, -0.01em);
	color: var(--tb-ink, #111);
}
body.tb-shop .cart_totals table.shop_table th,
body.tb-shop .cart_totals table.shop_table td,
body.tb-shop #order_review table.shop_table th,
body.tb-shop #order_review table.shop_table td {
	padding: 12px 0 !important;
}
body.tb-shop .cart_totals .order-total th,
body.tb-shop .cart_totals .order-total td,
body.tb-shop #order_review .order-total th,
body.tb-shop #order_review .order-total td {
	border-bottom: 0 !important;
	font-size: 18px;
	font-weight: 700;
}
/* Total du panier : libellé à gauche, montant à droite ; la livraison (mode, précisions, calcul des
   frais) passe sous son libellé, sur toute la largeur de la carte. */
body.tb-shop .cart_totals table.shop_table,
body.tb-shop .cart_totals table.shop_table tbody {
	display: block;
	width: 100%;
}
body.tb-shop .cart_totals table.shop_table tr {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	column-gap: 16px;
	border-bottom: 1px solid var(--tb-s-line);
}
body.tb-shop .cart_totals table.shop_table tr:last-child {
	border-bottom: 0;
}
body.tb-shop .cart_totals table.shop_table tr > :is(th, td) {
	display: block !important;
	width: auto !important;
	border: 0 !important;
}
body.tb-shop .cart_totals table.shop_table tr > th {
	flex: 1 1 0;
	min-width: 0;
	font-weight: 400;
}
body.tb-shop .cart_totals table.shop_table tr > td {
	flex: 0 1 auto;
	text-align: right !important;
}
body.tb-shop .cart_totals table.shop_table tr > td::before {
	content: none !important;
	display: none !important;
}
body.tb-shop .cart_totals table.shop_table tr.shipping > th {
	padding-bottom: 4px !important;
}
body.tb-shop .cart_totals table.shop_table tr.shipping > td {
	flex: 1 0 100%;
	padding-top: 0 !important;
	text-align: left !important;
	font-size: 14px;
	color: var(--tb-s-muted);
}
body.tb-shop .cart_totals .woocommerce-shipping-methods {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}
body.tb-shop .cart_totals .woocommerce-shipping-methods li {
	margin: 0 0 4px !important;
	padding: 0 !important;
	text-indent: 0 !important;
	text-align: left !important;
}
body.tb-shop .cart_totals tr.shipping :is(.woocommerce-shipping-destination, .woocommerce-shipping-calculator) {
	text-align: left !important;
}
body.tb-shop .cart_totals .woocommerce-shipping-methods label {
	color: var(--tb-ink, #111);
	font-weight: 400;
}
body.tb-shop .cart_totals .woocommerce-shipping-destination {
	margin: 2px 0 0 !important;
}
body.tb-shop .cart_totals .woocommerce-shipping-calculator {
	margin: 6px 0 0 !important;
}
body.tb-shop .cart_totals .shipping-calculator-button {
	color: var(--tb-ink, #111) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tb-shop .cart_totals .shipping-calculator-button::after {
	display: none;
}
body.tb-shop .woocommerce-remove-coupon {
	margin-left: 6px;
	color: var(--tb-s-muted) !important;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tb-shop .wc-proceed-to-checkout {
	padding: 18px 0 0 !important;
}
body.tb-shop .wc-proceed-to-checkout .checkout-button {
	width: 100%;
	margin: 0 !important;
	min-height: 56px;
	font-size: 16px !important;
}
body.tb-shop #place_order {
	width: 100%;
	min-height: 56px;
	margin-top: 16px;
	float: none !important;
	font-size: 16px;
}
body.tb-shop #payment {
	border-radius: var(--tb-r-md, 16px) !important;
	background: var(--tb-bg, #fff) !important;
}
body.tb-shop #payment ul.payment_methods {
	padding: 18px !important;
	border-bottom: 1px solid var(--tb-s-line) !important;
}
body.tb-shop #payment div.payment_box {
	border-radius: var(--tb-r-sm, 12px);
	background: var(--tb-s-soft) !important;
	color: var(--tb-ink, #111) !important;
	font-size: 14px;
}
body.tb-shop #payment div.payment_box::before {
	display: none;
}
body.tb-shop .woocommerce-terms-and-conditions-wrapper {
	font-size: 14px;
}
@media (min-width: 922px) {
	body.tb-shop form.checkout.woocommerce-checkout {
		display: grid;
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		column-gap: clamp(2rem, 1rem + 3vw, 4.5rem);
		align-items: start;
	}
	body.tb-shop form.checkout > .woocommerce-NoticeGroup,
	body.tb-shop form.checkout > .wc_coupon_message_wrap {
		grid-column: 1 / -1;
	}
	body.tb-shop form.checkout #customer_details {
		grid-column: 1;
		grid-row: 2 / span 3;
		width: 100% !important;
		float: none !important;
	}
	body.tb-shop form.checkout #customer_details .col-1,
	body.tb-shop form.checkout #customer_details .col-2 {
		width: 100% !important;
		float: none !important;
		margin: 0 0 24px;
		padding: 0 !important;
	}
	body.tb-shop form.checkout #order_review_heading,
	body.tb-shop form.checkout #order_review {
		grid-column: 2;
		width: 100% !important;
		float: none !important;
		margin: 0;
	}
	body.tb-shop form.checkout #order_review_heading {
		padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.25rem, 1rem + 1vw, 2rem) 0;
		border-radius: var(--tb-r-lg, 22px) var(--tb-r-lg, 22px) 0 0;
		background: var(--tb-s-soft);
		margin: 0 !important;
		border: 0 !important;
	}
	body.tb-shop form.checkout #order_review {
		position: sticky;
		top: calc(var(--tb-hdr-h, 84px) + 20px);
		border-radius: 0 0 var(--tb-r-lg, 22px) var(--tb-r-lg, 22px);
		padding-top: 10px;
	}
}
.tb-secure {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font: 13.5px/1.45 var(--tb-font-body, inherit);
	color: var(--tb-s-muted);
}
.tb-secure .tb-ico {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}
/* Jauge de livraison offerte */
.tb-ship {
	margin: 0 0 18px;
	padding: 14px 16px;
	border-radius: var(--tb-r-md, 14px);
	background: var(--tb-accent-soft, var(--tb-s-soft));
	font: 14px/1.4 var(--tb-font-body, inherit);
	color: var(--tb-ink, #111);
}
.tb-ship p {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 10px;
}
.tb-ship .tb-ico {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: var(--tb-accent-text, currentColor);
}
.tb-ship-bar {
	display: block;
	height: 6px;
	overflow: hidden;
	border-radius: 6px;
	background: color-mix(in srgb, var(--tb-ink, #111) 10%, transparent);
}
.tb-ship-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--tb-accent, #111);
	transition: width 0.5s ease;
}
/* Messages */
body.tb-shop-on .woocommerce-message,
body.tb-shop-on .woocommerce-info,
body.tb-shop-on .woocommerce-error {
	margin: 0 0 24px;
	padding: 16px 20px 16px 52px;
	border: 0;
	border-radius: var(--tb-r-md, 14px);
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	font: 15px/1.5 var(--tb-font-body, inherit);
}
body.tb-shop-on .woocommerce-message::before,
body.tb-shop-on .woocommerce-info::before {
	top: 16px;
	left: 20px;
	color: var(--tb-accent-text, currentColor);
}
body.tb-shop-on .woocommerce-error {
	background: #FDECEA;
	color: #7A1F17;
}
body.tb-shop-on .woocommerce-message .button,
body.tb-shop-on .woocommerce-info .button {
	min-height: 0;
	padding: 8px 16px;
	font-size: 14px;
}
/* Panier vide */
body.tb-shop .cart-empty {
	padding: 48px 20px 12px !important;
	background: transparent !important;
	text-align: center;
	font: var(--tb-h-weight, 600) 22px/1.3 var(--tb-font-heading, inherit) !important;
}
body.tb-shop .cart-empty::before {
	display: none !important;
}
body.tb-shop .return-to-shop {
	text-align: center;
}
.tb-cart-empty-more {
	margin-top: 64px;
}
/* Mon compte */
body.tb-shop .woocommerce:has(> .woocommerce-MyAccount-navigation)::before,
body.tb-shop .woocommerce:has(> .woocommerce-MyAccount-navigation)::after {
	display: none !important;
}
body.tb-shop .woocommerce:has(> .woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
	align-items: start;
}
body.woocommerce-account.tb-shop .woocommerce-MyAccount-navigation,
body.woocommerce-account.tb-shop .woocommerce-MyAccount-content {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}
body.tb-shop .woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 16px);
	background: var(--tb-card, #fff);
	list-style: none;
}
body.tb-shop .woocommerce-MyAccount-navigation li {
	margin: 0;
	border: 0 !important;
}
body.tb-shop .woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--tb-r-sm, 10px);
	color: var(--tb-ink, #111);
	font: 500 15px/1.2 var(--tb-font-body, inherit);
	text-decoration: none;
}
body.tb-shop .woocommerce-MyAccount-navigation li a::before {
	content: "";
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	background: currentColor;
	opacity: 0.7;
	-webkit-mask: var(--tb-acc-ic, url(../icons/layout-dashboard.svg)) center / contain no-repeat;
	mask: var(--tb-acc-ic, url(../icons/layout-dashboard.svg)) center / contain no-repeat;
}
body.tb-shop .woocommerce-MyAccount-navigation-link--orders { --tb-acc-ic: url(../icons/package.svg); }
body.tb-shop .woocommerce-MyAccount-navigation-link--downloads { --tb-acc-ic: url(../icons/download.svg); }
body.tb-shop .woocommerce-MyAccount-navigation-link--edit-address { --tb-acc-ic: url(../icons/map-pin.svg); }
body.tb-shop .woocommerce-MyAccount-navigation-link--payment-methods { --tb-acc-ic: url(../icons/credit-card.svg); }
body.tb-shop .woocommerce-MyAccount-navigation-link--edit-account { --tb-acc-ic: url(../icons/user.svg); }
body.tb-shop .woocommerce-MyAccount-navigation-link--customer-logout { --tb-acc-ic: url(../icons/log-out.svg); }
body.tb-shop .woocommerce-MyAccount-navigation li a:hover {
	background: var(--tb-s-soft);
}
body.tb-shop .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
	font-weight: 600;
}
body.tb-shop .woocommerce-MyAccount-navigation li.is-active a::before {
	opacity: 1;
}
body.tb-shop .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 6px !important;
	padding-top: 6px;
	border-top: 1px solid var(--tb-s-line) !important;
}
body.tb-shop .woocommerce-MyAccount-navigation-link--customer-logout a {
	color: var(--tb-s-muted);
}
/* Tableau de bord */
.tb-acc-dash {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}
.tb-acc-hello {
	margin: 0;
	font: var(--tb-h-weight, 600) calc(clamp(1.5rem, 1.2rem + 1vw, 2.1rem) * var(--tb-h-scale, 1))/1.15 var(--tb-font-heading, inherit);
	letter-spacing: var(--tb-h-ls, -0.02em);
	color: var(--tb-ink, #111);
}
.tb-acc-sub {
	margin: -8px 0 4px;
	color: var(--tb-s-muted);
	font: 16px/1.5 var(--tb-font-body, inherit);
}
.tb-acc-last {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 20px;
	grid-template-areas: "label status ic" "title status ic" "meta status ic";
	align-items: center;
	column-gap: 16px;
	width: 100%;
	padding: 18px 20px;
	border-radius: var(--tb-r-md, 16px);
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	text-decoration: none;
}
.tb-acc-last-label { grid-area: label; font: 500 12px/1.4 var(--tb-font-label, inherit); letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-s-muted); }
.tb-acc-last b { grid-area: title; font: 600 17px/1.3 var(--tb-font-body, inherit); }
.tb-acc-last > span:not(.tb-acc-last-label) { grid-area: meta; color: var(--tb-s-muted); font: 14px/1.4 var(--tb-font-body, inherit); }
.tb-acc-last .tb-ico { grid-area: ic; width: 20px; height: 20px; }
.tb-acc-status {
	grid-area: status;
	padding: 6px 12px;
	border-radius: var(--tb-r-pill, 999px);
	background: var(--tb-bg, #fff);
	font: 600 13px/1 var(--tb-font-body, inherit);
	font-style: normal;
	white-space: nowrap;
}
.tb-acc-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}
.tb-acc-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 16px);
	background: var(--tb-card, #fff);
	color: var(--tb-ink, #111);
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}
.tb-acc-card:hover {
	border-color: var(--tb-ink, #111);
}
.tb-acc-card-ic {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	border-radius: var(--tb-r-sm, 10px);
	background: var(--tb-accent-soft, var(--tb-s-soft));
	color: var(--tb-accent-text, var(--tb-ink));
}
.tb-acc-card-ic .tb-ico { width: 20px; height: 20px; }
.tb-acc-card b { font: 600 16px/1.3 var(--tb-font-body, inherit); }
.tb-acc-card small { color: var(--tb-s-muted); font: 14px/1.4 var(--tb-font-body, inherit); }
/* Commandes */
body.tb-shop .woocommerce-orders-table {
	border: 1px solid var(--tb-s-line) !important;
	border-radius: var(--tb-r-md, 16px);
	border-collapse: separate !important;
	border-spacing: 0;
	overflow: hidden;
}
body.tb-shop .woocommerce-orders-table th {
	background: var(--tb-s-soft);
	font: 500 12px/1.4 var(--tb-font-label, inherit) !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--tb-s-muted);
}
body.tb-shop .woocommerce-orders-table th,
body.tb-shop .woocommerce-orders-table td {
	padding: 14px 16px !important;
	border: 0 !important;
	border-top: 1px solid var(--tb-s-line) !important;
	vertical-align: middle;
}
body.tb-shop .woocommerce-orders-table thead th {
	border-top: 0 !important;
}
body.tb-shop .woocommerce-orders-table .button {
	min-height: 38px !important;
	padding: 0 16px !important;
	font-size: 14px !important;
}
/* Adresses */
body.tb-shop .woocommerce-Addresses {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
body.tb-shop .woocommerce-Addresses::before,
body.tb-shop .woocommerce-Addresses::after {
	display: none !important;
}
body.tb-shop .woocommerce-Address {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 20px;
	border: 1px solid var(--tb-s-line) !important;
	border-radius: var(--tb-r-md, 16px);
}
body.tb-shop .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
body.tb-shop .woocommerce-Address-title h2,
body.tb-shop .woocommerce-Address-title h3 {
	margin: 0;
	font: 600 17px/1.3 var(--tb-font-body, inherit) !important;
}
body.tb-shop .woocommerce-Address-title a {
	font: 500 14px/1 var(--tb-font-body, inherit);
	color: var(--tb-ink, #111);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tb-shop .woocommerce-Address address {
	padding: 0 !important;
	border: 0 !important;
	font-style: normal;
	color: var(--tb-s-muted);
}
body.tb-shop .woocommerce-MyAccount-content > p:first-child {
	color: var(--tb-s-muted);
}
body.tb-shop .woocommerce-MyAccount-content fieldset {
	margin: 24px 0 0;
	padding: 20px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 16px);
}
body.tb-shop .woocommerce-MyAccount-content legend {
	padding: 0 8px;
	font: 600 15px/1.3 var(--tb-font-body, inherit);
}
/* Connexion et inscription */
body.tb-shop #customer_login {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 0.5rem + 2vw, 2rem);
	width: 100%;
}
body.tb-shop #customer_login::before,
body.tb-shop #customer_login::after {
	display: none !important;
}
body.tb-shop #customer_login > div {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-lg, 22px);
	background: var(--tb-card, #fff);
}
body.tb-shop #customer_login .u-column2 {
	background: var(--tb-s-soft);
	border-color: transparent;
}
body.tb-shop #customer_login h2 {
	margin: 0 0 6px;
	font: var(--tb-h-weight, 600) calc(clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem) * var(--tb-h-scale, 1))/1.2 var(--tb-font-heading, inherit) !important;
	letter-spacing: var(--tb-h-ls, -0.02em);
}
body.tb-shop .woocommerce form.login,
body.tb-shop .woocommerce form.register {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
.tb-acc-intro {
	margin: 0 0 20px;
	color: var(--tb-s-muted);
	font: 15px/1.5 var(--tb-font-body, inherit);
}
.tb-acc-benefits {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}
.tb-acc-benefits li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font: 500 15px/1.4 var(--tb-font-body, inherit);
}
.tb-acc-benefits .tb-ico {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--tb-accent-text, var(--tb-ink));
}
body.tb-shop form.login .button,
body.tb-shop form.register .button {
	width: 100%;
}
body.tb-shop .woocommerce-LostPassword {
	margin: 14px 0 0;
	text-align: center;
}
body.tb-shop .woocommerce-form-login__rememberme {
	display: flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px !important;
}
@media (max-width: 921px) {
	body.tb-shop .woocommerce:has(> .woocommerce-MyAccount-navigation),
	body.tb-shop #customer_login,
	body.tb-shop .woocommerce-Addresses,
	.tb-acc-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	body.tb-shop .woocommerce-MyAccount-navigation ul {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
	}
	body.tb-shop .woocommerce-MyAccount-navigation li a {
		white-space: nowrap;
	}
	body.tb-shop .woocommerce-MyAccount-navigation-link--customer-logout {
		margin: 0 !important;
		padding: 0;
		border: 0 !important;
	}
}
/* ------------------------------------------------------------------ *
 * Commande reçue (templates/checkout-thankyou.php)
 * ------------------------------------------------------------------ */
.tb-ty {
	display: flex;
	flex-direction: column;
	gap: 0;
}
/* Coche centrée dans son cercle (le dessin de la bibliothèque d'icônes est décalé vers le haut). */
body.tb-shop-on {
	--tb-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4 9-9'/%3E%3C/svg%3E");
}
/* Confirmation : numéro, grand titre, e-mail envoyé (la coche est sur l'étape « Confirmation »). */
.tb-ty-head {
	margin: 0 0 clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
}
.tb-ty-head-t {
	min-width: 0;
}
body.tb-shop .tb-ty .tb-ty-num {
	margin: 0 0 12px;
	color: var(--tb-s-muted);
	font: 500 12.5px/1.3 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
body.tb-shop .tb-ty .woocommerce-thankyou-order-received {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tb-ink, #111);
	font-family: var(--tb-font-heading, inherit);
	font-size: var(--tb-pt-size);
	font-weight: var(--tb-h-weight, 600);
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-transform: var(--tb-h-case, none);
}
body.tb-shop .tb-ty .woocommerce-thankyou-order-received::before {
	display: none;
}
body.tb-shop .tb-ty .tb-ty-lead {
	margin: 14px 0 0;
	color: var(--tb-s-muted);
	font-size: 16px;
	line-height: 1.55;
}
body.tb-shop .tb-ty .tb-ty-lead b {
	color: var(--tb-ink, #111);
	font-weight: 600;
	overflow-wrap: anywhere;
}
/* Résumé : une seule carte, quatre cases séparées par un filet. */
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0;
	margin: 0 0 clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem);
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-lg, 16px);
	background: var(--tb-card, #fff);
	list-style: none;
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview::before,
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview::after {
	display: none; /* Pseudo-éléments « clearfix » de WooCommerce : ils prendraient une case de la grille. */
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 18px 22px;
	border: 0;
	border-left: 1px solid var(--tb-s-line);
	background: none;
	font-size: 13px;
	text-transform: none;
	letter-spacing: 0;
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li:first-child {
	border-left: 0;
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li span {
	color: var(--tb-s-muted);
	font-size: 13px;
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li strong * {
	color: inherit;
	font: inherit;
}
body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li strong {
	display: block;
	margin: 0;
	color: var(--tb-ink, #111);
	font: 600 16px/1.35 var(--tb-font-body, inherit);
	text-transform: none;
	letter-spacing: 0;
}
/* Détail (à gauche) ; instructions de paiement et adresses (à droite). */
.tb-ty-body {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	grid-auto-flow: row dense;
	align-items: start;
	gap: 20px clamp(20px, 1rem + 1.6vw, 36px);
}
.tb-ty-body > * {
	grid-column: 2;
	min-width: 0;
	margin: 0 !important;
}
/* Consigne de paiement en tête sur toute la largeur, le détail à gauche, le reste à droite. */
.tb-ty-body > p,
.tb-ty-body > .woocommerce-notice {
	grid-column: 1 / -1;
	grid-row: 1;
}
.tb-ty-body > .woocommerce-order-details {
	grid-column: 1;
	grid-row: 2 / span 2;
}
/* Consigne du moyen de paiement (virement, chèque…) : un encadré discret en tête. */
body.tb-shop .tb-ty-body > p:first-child {
	order: -1;
	padding: 16px 20px;
	border-radius: var(--tb-r-md, 12px);
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	font-size: 15px;
	line-height: 1.55;
}
body.tb-shop .tb-ty-body :is(.woocommerce-order-details, .woocommerce-customer-details, .woocommerce-bacs-bank-details) {
	padding: clamp(20px, 1rem + 1vw, 28px);
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-lg, 16px);
	background: var(--tb-card, #fff);
}
body.tb-shop .tb-ty-body :is(.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading, .woocommerce-bacs-bank-details h2) {
	margin: 0 0 14px !important; /* Astra pose un bandeau gris encadré (sélecteurs plus forts). */
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--tb-ink, #111);
	font-family: var(--tb-font-heading, inherit);
	font-size: 1.15rem;
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: -0.01em;
	text-transform: none;
}
/* Tableau du détail : produits puis totaux, le total en évidence. */
body.tb-shop .tb-ty-body table.woocommerce-table--order-details {
	margin: 0;
	border: 0 !important;
	background: none;
	font-size: 15px;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details :is(th, td) {
	padding: 13px 0;
	border: 0;
	border-top: 1px solid var(--tb-s-line);
	background: none;
	color: var(--tb-ink, #111);
	vertical-align: top;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details thead th {
	padding-top: 0;
	border-top: 0;
	color: var(--tb-s-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details :is(th, td):last-child {
	text-align: right;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tbody td.product-name {
	font-weight: 500;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details .product-quantity {
	color: var(--tb-s-muted);
	font-weight: 500;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details .wc-item-meta {
	margin: 4px 0 0;
	padding: 0;
	color: var(--tb-s-muted);
	font-size: 13px;
	list-style: none;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details .wc-item-meta :is(li, p) {
	display: inline;
	margin: 0;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot :is(th, td) {
	padding: 10px 0;
	color: var(--tb-s-muted);
	font-weight: 400;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot tr:first-child :is(th, td) {
	padding-top: 16px;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot tr:not(:first-child) :is(th, td) {
	border-top: 0;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot tr.order-total :is(th, td),
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot tr:nth-last-child(2) :is(th, td) {
	padding-top: 14px;
	border-top: 1px solid var(--tb-s-line);
	color: var(--tb-ink, #111);
	font-size: 17px;
	font-weight: 600;
}
body.tb-shop .tb-ty-body table.woocommerce-table--order-details tfoot tr:last-child :is(th, td) {
	padding-bottom: 0;
	font-size: 14px;
}
/* Adresses : empilées dans une carte, sans bandeau gris. */
body.tb-shop .tb-ty-body .woocommerce-customer-details .woocommerce-columns--addresses {
	display: flex;
	flex-direction: column;
	gap: 22px;
	margin: 0;
}
body.tb-shop .tb-ty-body .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.tb-shop .tb-ty-body .woocommerce-customer-details .woocommerce-columns--addresses::after {
	display: none;
}
body.tb-shop .tb-ty-body .woocommerce-customer-details .woocommerce-column {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
}
body.tb-shop .tb-ty-body .woocommerce-customer-details .woocommerce-column + .woocommerce-column {
	padding-top: 22px;
	border-top: 1px solid var(--tb-s-line);
}
body.tb-shop .tb-ty-body .woocommerce-customer-details address {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--tb-ink, #111) 82%, transparent);
	font-size: 15px;
	font-style: normal;
	line-height: 1.6;
}
body.tb-shop .tb-ty-body .woocommerce-customer-details address p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 0;
	padding-left: 0;
	text-indent: 0;
	overflow-wrap: anywhere;
}
body.tb-shop .tb-ty-body .woocommerce-customer-details address p::before {
	position: static;
	flex: 0 0 auto;
	margin: 0;
	transform: none;
}
/* Coordonnées bancaires (virement). */
body.tb-shop .tb-ty-body .woocommerce-bacs-bank-details ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tb-shop .tb-ty-body .woocommerce-bacs-bank-details li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid var(--tb-s-line);
	color: var(--tb-s-muted);
	font-size: 14px;
}
body.tb-shop .tb-ty-body .woocommerce-bacs-bank-details li strong {
	color: var(--tb-ink, #111);
	overflow-wrap: anywhere;
	text-align: right;
}
/* Suite : continuer les achats, suivre la commande ou écrire. */
body.tb-shop .tb-ty-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	margin: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) 0 0;
}
body.tb-shop .tb-ty-actions .tb-ty-link {
	color: var(--tb-ink, #111);
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 4px;
}
@media (max-width: 921px) {
	.tb-ty-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.tb-ty-body > *,
	.tb-ty-body > .woocommerce-order-details {
		grid-column: 1;
		grid-row: auto;
	}
}
@media (max-width: 544px) {
	body.tb-shop ul.woocommerce-order-overview.tb-ty-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li:nth-child(odd) {
		border-left: 0;
	}
	body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li:nth-child(n+3) {
		border-top: 1px solid var(--tb-s-line);
	}
	body.tb-shop ul.woocommerce-order-overview.tb-ty-overview li {
		padding: 14px 16px;
	}
}

/* ------------------------------------------------------------------ *
 * Panier latéral
 * ------------------------------------------------------------------ */
.tb-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000; /* Au-dessus de la barre d'administration de WordPress (99999) quand on est connecté. */
}
.tb-drawer[hidden] {
	display: none;
}
.tb-drawer-veil {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 10, 0.4);
	opacity: 0;
	transition: opacity 0.28s ease;
}
.tb-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: min(440px, 100%);
	background: var(--tb-bg, #fff);
	color: var(--tb-ink, #111);
	box-shadow: -20px 0 60px -30px rgba(0, 0, 0, 0.45);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
	font-family: var(--tb-font-body, inherit);
}
.tb-drawer.is-open .tb-drawer-veil {
	opacity: 1;
}
.tb-drawer.is-open .tb-drawer-panel {
	transform: none;
}
html.tb-drawer-open {
	overflow: hidden;
}
.tb-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--tb-s-line);
}
.tb-drawer-head p {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font: var(--tb-h-weight, 600) 20px/1 var(--tb-font-heading, inherit);
}
.tb-drawer-count {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 26px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--tb-accent, #111);
	color: var(--tb-accent-ink, #fff);
	font: 600 13px/1 var(--tb-font-body, inherit);
}
.tb-drawer-x {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tb-s-soft);
	color: var(--tb-ink, #111);
	cursor: pointer;
}
.tb-drawer-x .tb-ico {
	width: 18px;
	height: 18px;
}
.tb-drawer-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 18px 22px 22px;
}
.tb-drawer-items {
	flex: 1 1 auto;
	margin: 0 -22px;
	padding: 0 22px;
	overflow-y: auto;
	list-style: none;
}
.tb-di {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 14px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--tb-s-line);
	transition: opacity 0.2s ease;
}
.tb-di.is-loading {
	opacity: 0.4;
	pointer-events: none;
}
.tb-di-img {
	width: 76px;
	height: 95px;
	object-fit: cover;
	border-radius: var(--tb-r-sm, 10px);
	background: var(--tb-s-photo);
}
.tb-di-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.tb-di-name {
	margin: 0;
	font: 600 15px/1.3 var(--tb-font-body, inherit);
}
.tb-di-name a {
	color: inherit;
	text-decoration: none;
}
.tb-di-meta {
	margin: 0;
	font-size: 13px;
	color: var(--tb-s-muted);
}
.tb-di-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}
.tb-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--tb-s-line);
	border-radius: 999px;
}
.tb-qty button {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tb-ink, #111);
	font: 500 17px/1 var(--tb-font-body, inherit);
	cursor: pointer;
}
.tb-qty span {
	min-width: 22px;
	font: 600 14px/1 var(--tb-font-body, inherit);
	text-align: center;
}
.tb-di-price {
	font-size: 15px;
}
.tb-di-del {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tb-s-muted);
	font: 13px/1 var(--tb-font-body, inherit);
	text-decoration: underline;
	cursor: pointer;
}
.tb-drawer-foot {
	display: grid;
	gap: 10px;
	padding-top: 18px;
	border-top: 1px solid var(--tb-s-line);
}
.tb-drawer-sub {
	display: flex;
	justify-content: space-between;
	margin: 0;
	font: 600 17px/1 var(--tb-font-body, inherit);
}
.tb-drawer-note {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--tb-s-muted);
}
.tb-drawer-foot .tb-btn-shop {
	width: 100%;
}
.tb-drawer-empty {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	text-align: center;
}
.tb-drawer-empty .tb-ico {
	width: 44px;
	height: 44px;
	color: var(--tb-s-muted);
}
.tb-drawer-empty p {
	margin: 0;
	font-size: 17px;
}
.tb-drawer .tb-ship {
	margin-bottom: 8px;
}

/* ------------------------------------------------------------------ *
 * En-tête : panier et compte d'Astra
 * ------------------------------------------------------------------ */
.ast-site-header-cart .count,
.ast-site-header-cart .ast-count-text,
.astra-icon.astra-cart-icon .ast-count-text {
	background: var(--tb-accent, #111) !important;
	color: var(--tb-accent-ink, #fff) !important;
}
/* Recherche, compte et panier : un seul jeu d'icônes au trait (Lucide), même taille, même couleur
   (celle du menu, blanche sur un en-tête transparent posé sur une photo), centrées sur une même
   ligne, chacune dans une zone cliquable de 40 px. Les réglages d'Astra (éléments, liens) restent. */
:is(#masthead, #ast-mobile-header) .site-header-primary-section-right {
	align-items: center;
	gap: 4px;
}
:is(#masthead, #ast-mobile-header) .site-header-primary-section-right > :is(.ast-header-search, .ast-header-account, .ast-header-woo-cart) {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
:is(#masthead, #ast-mobile-header) :is(.ast-search-icon .astra-search-icon, .ast-header-account-link, .ast-site-header-cart .cart-container) {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0 !important;
	line-height: 0;
	transition: opacity 0.2s;
}
:is(#masthead, #ast-mobile-header) :is(.ast-search-icon .astra-search-icon, .ast-header-account-link, .ast-site-header-cart .cart-container):hover {
	opacity: 0.65;
}
:is(#masthead, #ast-mobile-header) :is(.ast-search-icon .astra-search-icon .ast-icon, .ast-header-account-link .ahfb-svg-iconset, .ast-site-header-cart .astra-icon .ast-icon) {
	display: block !important;
	width: 21px;
	height: 21px;
	margin: 0;
	background-color: var(--ast-global-color-2, currentColor);
	-webkit-mask: var(--tb-hdr-ic) center / contain no-repeat;
	mask: var(--tb-hdr-ic) center / contain no-repeat;
}
:is(#masthead, #ast-mobile-header) :is(.ast-search-icon .astra-search-icon .ast-icon, .ast-header-account-link .ahfb-svg-iconset, .ast-site-header-cart .astra-icon .ast-icon) svg {
	display: none !important;
}
:is(#masthead, #ast-mobile-header) .ast-search-icon .astra-search-icon .ast-icon { --tb-hdr-ic: url(../icons/search.svg); }
:is(#masthead, #ast-mobile-header) .ast-header-account-link .ahfb-svg-iconset { --tb-hdr-ic: url(../icons/user.svg); }
:is(#masthead, #ast-mobile-header) .ast-site-header-cart .astra-icon .ast-icon { --tb-hdr-ic: url(../icons/shopping-bag.svg); }
:is(#masthead, #ast-mobile-header) :is(.ast-site-header-cart, .ast-site-header-cart-li) {
	display: flex;
	align-items: center;
	height: auto;
	line-height: 0;
}
:is(#masthead, #ast-mobile-header) .ast-site-header-cart .ast-addon-cart-wrap {
	padding: 0 !important;
	line-height: 0;
}
:is(#masthead, #ast-mobile-header) .ast-site-header-cart .astra-icon {
	position: relative;
	display: block;
	line-height: 0;
}
/* Pastille du panier : petite, en haut à droite du sac, aux couleurs de la marque. */
:is(#masthead, #ast-mobile-header) .ast-site-header-cart i.astra-icon::after {
	top: -7px !important;
	right: -9px !important;
	left: auto !important;
	min-width: 17px !important;
	height: 17px !important;
	padding: 0 4px !important;
	border-radius: 999px !important;
	box-shadow: 0 0 0 2px var(--ast-global-color-4, #fff) !important;
	font-size: 10px !important;
	line-height: 17px !important;
	letter-spacing: 0 !important;
	text-align: center;
	box-sizing: border-box;
}
body.tb-hdr-transparent.tb-at-top:not(.ast-main-header-nav-open) :is(#masthead, #ast-mobile-header) .ast-site-header-cart i.astra-icon::after {
	box-shadow: none !important;
}
.ast-site-header-cart .widget_shopping_cart {
	display: none !important;
}
.tb-ico {
	display: inline-block;
	flex: 0 0 auto;
	vertical-align: middle;
}

/* Images des widgets : remplissent toujours leur cadre (Elementor et Astra imposent « height: auto » aux images). */
body .tb-ccard-media img.tb-ccard-img,
body .tb-pcard-media img.tb-pcard-img,
body .tb-feat-media img.tb-feat-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

/* Mes adresses */
.tb-acc-addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}
.tb-acc-address {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 24px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 16px);
	background: var(--tb-card, #fff);
}
.tb-acc-address.is-empty {
	border-style: dashed;
	background: none;
}
.tb-acc-address .tb-acc-card-ic {
	margin-bottom: 8px;
}
body.tb-shop .tb-acc-address h2 {
	margin: 0;
	font: 600 17px/1.3 var(--tb-font-body, inherit) !important;
	color: var(--tb-ink, #111);
}
.tb-acc-address address,
.tb-acc-address p {
	margin: 0 0 14px !important;
	font: 15px/1.6 var(--tb-font-body, inherit);
	font-style: normal;
	color: var(--tb-s-muted);
}
.tb-acc-address .tb-btn-shop {
	margin-top: auto;
	min-height: 42px;
	padding: 0 18px;
	font-size: 14px;
}
body.tb-shop .woocommerce-MyAccount-content > .tb-acc-sub {
	margin: 0 !important;
}
body.tb-shop .woocommerce-MyAccount-navigation-link--customer-logout {
	margin-top: 4px !important;
	padding-top: 4px !important;
}
@media (max-width: 921px) {
	.tb-acc-addresses {
		grid-template-columns: minmax(0, 1fr);
	}
}
body.tb-shop .tb-acc-title,
body.tb-shop .woocommerce-MyAccount-content > form > h3,
body.tb-shop .woocommerce-MyAccount-content > form > h2 {
	margin: 0 0 18px;
	font: var(--tb-h-weight, 600) calc(clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem) * var(--tb-h-scale, 1))/1.2 var(--tb-font-heading, inherit) !important;
	letter-spacing: var(--tb-h-ls, -0.02em);
}

/* Fil d'Ariane au-dessus de tous les titres boutique (catalogue, fiche, panier, commande, compte) */
.tb-wc-head-t {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tb-wc-head .woocommerce-breadcrumb,
.tb-pp-crumbs .woocommerce-breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
}
.tb-pp-crumbs {
	grid-column: 1 / -1;
	margin: 0 0 clamp(1rem, 0.75rem + 1vw, 1.75rem);
}
/* Panier : un seul bouton principal (« Valider la commande ») */
body.tb-shop .woocommerce-cart-form .coupon .button,
body.tb-shop .woocommerce-cart-form button[name="update_cart"] {
	background: transparent !important;
	color: var(--tb-ink, #111) !important;
	border: 1px solid var(--tb-s-line) !important;
	box-shadow: none !important;
}
body.tb-shop .woocommerce-cart-form button[name="update_cart"]:disabled {
	opacity: 0.45;
	cursor: default;
}
body.tb-shop #order_review_heading {
	border: 0 !important;
	padding-left: 0;
	padding-right: 0;
}
@media (max-width: 921px) {
	body.tb-shop form.checkout #order_review_heading {
		margin: 24px 0 12px !important;
	}
}

/* Panier et commande : un seul fond par carte (Astra ajoute des fonds blancs à l'intérieur) */
body.tb-shop .cart-collaterals .cart_totals > h2,
body.tb-shop .cart_totals h2 {
	margin: 0 0 14px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
body.tb-shop .cart-collaterals .cart_totals table,
body.tb-shop .cart-collaterals .cart_totals .shop_table {
	border: 0 !important;
	background: none !important;
}
body.tb-shop #payment,
body.tb-shop .woocommerce-checkout-payment,
body.tb-shop #order_review #payment {
	margin: 18px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
}
body.tb-shop #payment ul.payment_methods {
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
}
body.tb-shop #payment ul.payment_methods > li {
	margin: 0 0 8px !important;
	padding: 14px 16px !important;
	border: 1px solid var(--tb-s-line) !important;
	border-radius: var(--tb-r-sm, 12px);
	background: var(--tb-bg, #fff);
	list-style: none;
}
body.tb-shop #payment div.payment_box {
	margin: 10px 0 0 !important;
	padding: 12px 14px !important;
	border-radius: var(--tb-r-sm, 10px);
	background: var(--tb-s-soft) !important;
	color: var(--tb-s-muted);
	font-size: 14px;
}
body.tb-shop #payment div.payment_box::before {
	display: none !important;
}
body.tb-shop #payment .place-order {
	margin: 0 !important;
	padding: 18px 0 0 !important;
	border-top: 1px solid var(--tb-s-line);
	background: none !important;
}
body.tb-shop #payment .woocommerce-info,
body.tb-shop #payment .woocommerce-notice {
	margin: 0 0 14px !important;
}
/* Récapitulatif de la commande : la marge du bas qu'Astra retire (« padding: 0 2em »), pour que le
   bouton Commander ne touche pas le bord du panneau. */
body.tb-shop.woocommerce-checkout form.checkout #order_review {
	padding-bottom: clamp(1.25rem, 1rem + 1vw, 2rem) !important;
}
/* « Déjà client ? » et code promo : des lignes discrètes avec une icône (pas des bandeaux d'alerte),
   puis un champ et un bouton côte à côte pour le code. */
body.tb-shop :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 14px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: var(--tb-s-muted);
	font-size: 15px;
}
body.tb-shop .woocommerce-form-coupon-toggle .woocommerce-info {
	margin-bottom: 22px;
}
body.tb-shop :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info::before {
	content: "";
	position: static;
	display: inline-block;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	background-color: var(--tb-ink, #111);
	-webkit-mask: url(../icons/tag.svg) center / contain no-repeat;
	mask: url(../icons/tag.svg) center / contain no-repeat;
}
body.tb-shop .woocommerce-form-login-toggle .woocommerce-info::before {
	-webkit-mask-image: url(../icons/user.svg);
	mask-image: url(../icons/user.svg);
}
body.tb-shop :is(.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle) .woocommerce-info :is(a.showcoupon, a.showlogin) {
	color: var(--tb-ink, #111);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	max-width: 560px;
	margin: -6px 0 26px;
	padding: 16px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 12px);
	background: var(--tb-card, #fff);
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row) {
	flex: 1 1 100%;
	margin: 0;
	color: var(--tb-s-muted);
	font-size: 14px;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon .form-row {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon .form-row-first {
	flex: 1 1 220px;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon .form-row-last {
	flex: 0 0 auto;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon .form-row-last .button {
	min-height: 50px;
	margin: 0;
}
body.tb-shop form.checkout_coupon.woocommerce-form-coupon .clear {
	display: none;
}

.tb-pgrid-nav button:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}
.tb-pgrid-nav[hidden] {
	display: none !important;
}

/* ------------------------------------------------------------------ *
 * Catalogue et fiche produit : gabarits natifs d'Astra, habillés par la charte
 * Rien n'est déplacé ni masqué : colonnes, éléments affichés, galerie, barre d'achat collante,
 * textes et couleurs des boutons se règlent toujours dans Apparence › Personnaliser › WooCommerce.
 * Ce bloc ne pose que des proportions, des espacements et la typographie du site.
 * ------------------------------------------------------------------ */

/* Titre du catalogue et de chaque catégorie : le même titre de page que partout ailleurs. */
body.tb-shop-on.woocommerce .woocommerce-products-header .woocommerce-products-header__title {
	margin: 4px 0 0;
	font-family: var(--tb-font-heading, inherit);
	font-size: var(--tb-pt-size);
	font-weight: var(--tb-h-weight, 600);
	line-height: 1.05;
	letter-spacing: -0.025em;
	text-transform: var(--tb-h-case, none);
}
body.tb-shop-on.woocommerce .woocommerce-products-header .term-description {
	max-width: 640px;
	margin-top: 14px;
	color: var(--tb-s-muted);
	font-size: 16px;
	line-height: 1.6;
}
body.tb-shop-on.woocommerce .woocommerce-products-header .term-description p:last-child {
	margin-bottom: 0;
}

/* Compteur de résultats et tri. */
body.tb-shop-on.woocommerce .woocommerce-products-header {
	margin-bottom: 0;
	padding-bottom: 0;
}
body.tb-shop-on.woocommerce .woocommerce-result-count {
	margin: var(--tb-pt-gap) 0 26px;
	color: var(--tb-s-muted);
	font-size: 14px;
	line-height: 44px;
}
body.tb-shop-on.woocommerce .woocommerce-ordering {
	margin: var(--tb-pt-gap) 0 26px;
}
body.tb-shop-on.woocommerce .woocommerce-ordering select.orderby {
	height: 44px;
	padding: 0 44px 0 18px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-pill, 999px);
	background-color: var(--tb-bg, #fff);
	background-position: right 18px center; /* Chevron à la même distance du bord que le texte. */
	color: var(--tb-ink, #111);
	font: 500 14px/1 var(--tb-font-body, inherit);
	box-shadow: none;
	cursor: pointer;
}

/* Cartes produit : photo à la proportion de la boutique (Tabula › Boutique), coins arrondis,
   léger zoom au survol ; catégorie, nom et prix sobres. */
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-thumbnail-wrap {
	position: relative;
	overflow: hidden;
	margin-bottom: 16px;
	border-radius: var(--tb-r-md, 12px);
	background: var(--tb-s-photo);
}
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a:first-of-type,
body.tb-shop-on.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
	display: block;
}
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-thumbnail-wrap img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: var(--tb-card-ratio, 4 / 5);
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.tb-shop-on.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap img {
	transform: scale(1.035);
}
body.tb-shop-on.woocommerce ul.products li.product .ast-woo-product-category {
	display: block;
	margin-bottom: 6px;
	color: var(--tb-s-muted);
	font: 500 11.5px/1.3 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.07em;
	text-transform: uppercase;
	opacity: 1;
}
body.tb-shop-on.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 0 0 6px;
	padding: 0;
	color: var(--tb-ink, #111);
	font: 500 15.5px/1.35 var(--tb-font-body, inherit);
	letter-spacing: 0;
	text-transform: none;
}
body.tb-shop-on.woocommerce ul.products li.product .price {
	display: block;
	margin: 0;
	color: var(--tb-ink, #111);
	font: 600 15px/1.35 var(--tb-font-body, inherit);
}
body.tb-shop-on.woocommerce :is(ul.products li.product, div.product .summary) .price del {
	margin-right: 6px;
	color: var(--tb-s-muted);
	font-weight: 400;
	opacity: 1;
}
body.tb-shop-on.woocommerce :is(ul.products li.product, div.product .summary) .price ins {
	text-decoration: none;
	font-weight: inherit;
}
body.tb-shop-on.woocommerce ul.products li.product .star-rating {
	margin: 4px 0 8px;
	color: var(--tb-ink, #111);
	font-size: 12px;
}
/* Bouton d'ajout sous la carte : discret (contour) ; la couleur de la marque au survol. Le
   bouton principal de la fiche produit reste le bouton plein. */
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-summary-wrap .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin-top: 14px;
	padding: 10px 20px;
	border: 0;
	border-radius: var(--tb-r-btn, 999px);
	background: transparent;
	color: var(--tb-ink, #111);
	box-shadow: inset 0 0 0 1.5px var(--tb-s-line);
	font: 600 14px/1.2 var(--tb-font-body, inherit);
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-summary-wrap .button:hover,
body.tb-shop-on.woocommerce ul.products li.product .astra-shop-summary-wrap .button.added {
	background: var(--tb-accent, #111);
	color: var(--tb-accent-ink, #fff);
	box-shadow: inset 0 0 0 1.5px var(--tb-accent, #111);
}
body.tb-shop-on.woocommerce ul.products li.product .added_to_cart {
	display: inline-block;
	margin: 10px 0 0 12px;
	color: var(--tb-ink, #111);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}
/* Badge promo (style moderne d'Astra) : la même pastille que les cartes Tabula. */
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-onsale-card,
body.tb-shop-on.woocommerce ul.products li.product .onsale {
	top: 12px;
	right: auto;
	left: 12px;
	min-width: 0;
	min-height: 0;
	padding: 6px 11px;
	border-radius: var(--tb-r-pill, 999px);
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
	font: 600 12px/1 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.02em;
	box-shadow: none;
}
/* Bouton rond d'ajout posé sur la photo (style moderne d'Astra). */
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-on-card-button.ast-select-options-trigger {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tb-bg, #fff);
	color: var(--tb-ink, #111);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-on-card-button .ahfb-svg-iconset {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-on-card-button .ast-icon {
	width: 18px;
	height: 18px;
	background-color: currentColor;
	-webkit-mask: url(../icons/shopping-bag.svg) center / contain no-repeat;
	mask: url(../icons/shopping-bag.svg) center / contain no-repeat;
}
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-on-card-button .ast-icon svg {
	display: none;
}
body.tb-shop-on.woocommerce .astra-shop-thumbnail-wrap .ast-card-action-tooltip {
	border-radius: var(--tb-r-sm, 8px);
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
	font: 500 13px/1 var(--tb-font-body, inherit);
}

/* Pagination du catalogue. */
body.tb-shop-on.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: 0;
}
body.tb-shop-on.woocommerce nav.woocommerce-pagination ul li {
	border: 0;
}
body.tb-shop-on.woocommerce nav.woocommerce-pagination ul li :is(a, span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-pill, 999px);
	background: transparent;
	color: var(--tb-ink, #111);
	font: 500 14px/1 var(--tb-font-body, inherit);
}
body.tb-shop-on.woocommerce nav.woocommerce-pagination ul li span.current,
body.tb-shop-on.woocommerce nav.woocommerce-pagination ul li a:hover {
	border-color: var(--tb-ink, #111);
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}

/* Fiche produit — galerie : photo à la proportion de la boutique, coins arrondis, vignettes. */
body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-viewport,
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child {
	overflow: hidden;
	border-radius: var(--tb-r-lg, 16px);
	background: var(--tb-s-photo);
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__image > a > img {
	width: 100%;
	height: auto;
	aspect-ratio: var(--tb-card-ratio, 4 / 5);
	object-fit: cover;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	width: auto;
	margin: 0;
	padding: 0;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: var(--tb-r-sm, 8px);
	opacity: 0.55;
	transition: opacity 0.2s;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img:is(.flex-active, :hover) {
	opacity: 1;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__trigger {
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--tb-bg, #fff);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
/* Loupe centrée : celle de WooCommerce est dessinée pour un bouton de 36 px (et l'émoji est masqué). */
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__trigger::before {
	inset: 0;
	width: auto;
	height: auto;
	border: 0;
	border-radius: 0;
	background: var(--tb-ink, #0d0d0f);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") center / 20px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") center / 20px no-repeat;
}
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__trigger::after,
body.tb-shop-on.single-product div.product .woocommerce-product-gallery__trigger > span {
	display: none;
}

/* Fiche produit — résumé : catégorie, grand titre, prix, accroche, choix et achat. */
body.tb-shop-on.single-product div.product .summary .single-product-category,
body.tb-shop-on.single-product div.product .summary .single-product-category a {
	color: var(--tb-s-muted);
	font: 500 12px/1.3 var(--tb-font-label, var(--tb-font-body, inherit));
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
body.tb-shop-on.single-product div.product .summary .product_title {
	margin: 10px 0 16px;
	color: var(--tb-ink, #111);
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1.9rem, 1.35rem + 1.7vw, 2.85rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: var(--tb-h-case, none);
}
body.tb-shop-on.single-product div.product .summary p.price {
	margin: 0 6px 0 0;
	color: var(--tb-ink, #111);
	font: 600 1.4rem/1.3 var(--tb-font-body, inherit);
}
body.tb-shop-on.single-product div.product .summary .ast-shipping-text {
	color: var(--tb-s-muted);
	font-size: 14px;
}
body.tb-shop-on.single-product div.product .summary .woocommerce-product-details__short-description {
	max-width: 56ch;
	margin: 20px 0 26px;
	color: color-mix(in srgb, var(--tb-ink, #111) 78%, transparent);
	font-size: 16px;
	line-height: 1.65;
}
body.tb-shop-on.single-product div.product .summary .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}
body.tb-shop-on.single-product div.product form.cart {
	margin-bottom: 26px;
}
body.tb-shop-on.single-product div.product form.cart table.variations {
	margin-bottom: 18px;
}
body.tb-shop-on.single-product div.product form.cart table.variations :is(th, td) {
	padding: 0;
	border: 0;
	background: none;
}
body.tb-shop-on.single-product div.product form.cart table.variations th.label label {
	display: block;
	margin-bottom: 8px;
	color: var(--tb-ink, #111);
	font: 600 14px/1.3 var(--tb-font-body, inherit);
}
body.tb-shop-on.single-product div.product form.cart table.variations td.value select {
	width: 100%;
	height: 50px;
	padding: 0 42px 0 16px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-sm, 8px);
	background-color: var(--tb-bg, #fff);
	background-position: right 16px center;
	color: var(--tb-ink, #111);
	font: 500 15px/1 var(--tb-font-body, inherit);
}
body.tb-shop-on.single-product div.product form.cart table.variations td.value select:focus {
	border-color: var(--tb-ink, #111);
	outline: 0;
	box-shadow: 0 0 0 1px var(--tb-ink, #111);
}
body.tb-shop-on.single-product div.product form.cart .reset_variations {
	display: inline-block;
	margin-top: 8px;
	color: var(--tb-s-muted);
	font-size: 13px;
}
body.tb-shop-on.single-product div.product form.cart:not(.variations_form),
body.tb-shop-on.single-product div.product form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}
body.tb-shop-on.single-product div.product form.cart .woocommerce-variation-price .price {
	display: block;
	margin-bottom: 14px;
	font: 600 1.15rem/1.3 var(--tb-font-body, inherit);
}
/* Quantité : un seul bloc arrondi « − 1 + ». */
body.tb-shop-on.woocommerce div.product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	height: 50px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-btn, 999px);
	background: var(--tb-bg, #fff);
}
body.tb-shop-on.woocommerce div.product form.cart .quantity :is(.minus, .plus) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--tb-ink, #111);
	font-size: 18px;
	text-decoration: none;
}
body.tb-shop-on.woocommerce div.product form.cart .quantity :is(.minus, .plus):hover {
	background: var(--tb-s-soft);
}
body.tb-shop-on.woocommerce div.product form.cart .quantity input.qty {
	width: 40px;
	height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--tb-ink, #111);
	font: 600 15px/1 var(--tb-font-body, inherit);
	text-align: center;
	box-shadow: none;
}
body.tb-shop-on.single-product div.product form.cart .single_add_to_cart_button {
	min-height: 50px;
	margin: 0;
	padding: 0 34px;
	border-radius: var(--tb-r-btn, 999px);
	font: 600 15px/1.2 var(--tb-font-body, inherit);
}
body.tb-shop-on.single-product div.product .product_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-top: 4px;
	padding-top: 18px;
	border-top: 1px solid var(--tb-s-line);
	color: var(--tb-s-muted);
	font-size: 13px;
}
body.tb-shop-on.single-product div.product .product_meta > span {
	display: inline;
	margin: 0;
}
body.tb-shop-on.single-product div.product .product_meta a {
	color: var(--tb-ink, #111);
	text-decoration: none;
}

/* Fiche produit — onglets : une ligne d'onglets soulignés, texte confortable. */
body.tb-shop-on.single-product div.product .woocommerce-tabs {
	clear: both;
	margin-top: 0;
	padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); /* Une marge serait absorbée par la galerie flottante d'Astra. */
	border-top: 0;
}
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 30px;
	margin: 0 0 30px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--tb-s-line);
	text-align: left;
}
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs::before,
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs li::after {
	display: none !important; /* Le filet gris d'Astra au-dessus des onglets (sélecteur avec #content). */
}
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	margin-bottom: -1px;
	padding: 0 0 14px;
	border-bottom: 2px solid transparent;
	color: var(--tb-s-muted);
	font: 600 15px/1.3 var(--tb-font-body, inherit);
	text-decoration: none;
}
body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs li:is(.active, :hover) a {
	border-bottom-color: var(--tb-ink, #111);
	color: var(--tb-ink, #111);
}
body.tb-shop-on.single-product div.product .woocommerce-tabs .panel {
	max-width: 760px;
	margin: 0;
	color: color-mix(in srgb, var(--tb-ink, #111) 82%, transparent);
	font-size: 16px;
	line-height: 1.75;
}
body.tb-shop-on.single-product div.product .woocommerce-tabs .panel :is(h2, h3) {
	color: var(--tb-ink, #111);
	font-family: var(--tb-font-heading, inherit);
	font-size: 1.35rem;
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: -0.01em;
}
body.tb-shop-on.single-product div.product table.shop_attributes {
	border: 0;
	border-top: 1px solid var(--tb-s-line);
}
body.tb-shop-on.single-product div.product table.shop_attributes :is(th, td) {
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--tb-s-line);
	background: none;
	font-style: normal;
	text-align: left;
}
body.tb-shop-on.single-product div.product table.shop_attributes th {
	width: 34%;
	color: var(--tb-ink, #111);
	font-weight: 600;
}
body.tb-shop-on.single-product div.product table.shop_attributes td p {
	margin: 0;
	padding: 0;
}
body.tb-shop-on.single-product #reviews :is(input[type="text"], input[type="email"], textarea) {
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-sm, 8px);
	background: var(--tb-bg, #fff);
}
body.tb-shop-on.single-product #reviews .star-rating,
body.tb-shop-on.single-product #reviews p.stars a {
	color: var(--tb-ink, #111);
}

/* Produits similaires, ventes croisées : titre de section et respiration. */
body.tb-shop-on.single-product :is(section.related, section.upsells) {
	margin-top: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
}
body.tb-shop-on.woocommerce :is(section.related, section.upsells, .cross-sells) > h2 {
	margin: 0 0 26px;
	color: var(--tb-ink, #111);
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1.55rem, 1.25rem + 1vw, 2.15rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: -0.02em;
	text-transform: var(--tb-h-case, none);
}

/* Barre d'achat collante d'Astra : aux couleurs du site. */
body.tb-shop-on .ast-sticky-add-to-cart {
	border-top: 1px solid var(--tb-s-line);
	box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.06);
}
body.tb-shop-on .ast-sticky-add-to-cart .ast-sticky-add-to-cart-title {
	font-family: var(--tb-font-heading, inherit);
	font-weight: var(--tb-h-weight, 600);
}
body.tb-shop-on .ast-sticky-add-to-cart .single_add_to_cart_button {
	border-radius: var(--tb-r-btn, 999px);
}

@media (max-width: 921px) {
	body.tb-shop-on.single-product div.product .summary {
		margin-top: 28px;
	}
	body.tb-shop-on.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media (max-width: 544px) {
	body.tb-shop-on.woocommerce .woocommerce-result-count {
		float: none;
		width: 100%;
		margin: var(--tb-pt-gap) 0 12px;
		line-height: 1.4;
	}
	body.tb-shop-on.woocommerce .woocommerce-ordering {
		margin: 12px 0 18px;
	}
	body.tb-shop-on.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 14.5px;
	}
	body.tb-shop-on.woocommerce ul.products li.product .astra-shop-summary-wrap .button {
		width: 100%;
		padding: 10px 12px;
	}
	body.tb-shop-on.single-product div.product .woocommerce-tabs ul.tabs {
		gap: 4px 20px;
	}
}

/* ------------------------------------------------------------------ *
 * Filtres du catalogue : barre latérale native d'Astra (widgets WooCommerce, Apparence › Widgets)
 * ------------------------------------------------------------------ */
/* Fil d'Ariane et titre en pleine largeur (Tabula_Shop_Templates::catalogue_head), séparés par un
   filet ; dessous, les filtres à gauche et les produits à droite partent de la même ligne. */
body.tb-shop-on.woocommerce #content > .ast-container:has(> .tb-shop-head) {
	flex-wrap: wrap;
}
body.tb-shop-on.woocommerce .tb-shop-head {
	flex: 0 0 100%;
	grid-column: 1 / -1;
	width: 100%;
	margin: var(--tb-pt-gap) 0 0;
	padding: 0 0 clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem);
	border-bottom: 1px solid var(--tb-s-line);
}
body.tb-shop-on.woocommerce .tb-shop-head .woocommerce-products-header {
	margin: 0;
	padding: 0;
}
body.tb-shop-on.woocommerce #content > .ast-container:has(> .tb-shop-head) > :is(#primary, #secondary) {
	margin-top: 0;
}
@media (min-width: 922px) {
	body.tb-shop-on.woocommerce #content > .ast-container:has(> .tb-shop-head) #primary :is(.woocommerce-result-count, .woocommerce-ordering) {
		margin-top: 28px;
	}
}
/* Mobile et tablette : Astra empile les colonnes à l'envers (colonne inversée) ; le titre reste en
   tête, les produits dessous (les filtres sont dans le panneau). */
@media (max-width: 921px) {
	body.tb-shop-on.woocommerce #content > .ast-container:has(> .tb-shop-head) {
		flex-direction: column;
	}
	body.tb-shop-on.woocommerce .tb-shop-head {
		order: -2;
		padding-bottom: 22px;
	}
	body.tb-shop-on.woocommerce #content > .ast-container:has(> .tb-shop-head) > #primary {
		order: -1;
	}
	/* « 10 résultats » sur sa ligne, puis « Filtrer » et le tri côte à côte. */
	body.tb-shop-on.woocommerce:has(.tb-filters-open) #primary .woocommerce-result-count {
		float: none;
		width: 100%;
		margin: 22px 0 12px;
		line-height: 1.4;
	}
	/* Panneau : pas de second filet sous son en-tête. */
	body.tb-shop-on.woocommerce #secondary .tb-filters-head + .ast-filter-wrap > .widget:first-child,
	body.tb-shop-on.woocommerce #secondary .tb-filters-head + .widget {
		padding-top: 0;
		border-top: 0;
	}
}
/* Sans le filet vertical d'Astra, et un écart plus serré entre les filtres et les produits. */
body.tb-shop-on.woocommerce:is(.ast-left-sidebar, .ast-right-sidebar) #secondary,
body.tb-shop-on.woocommerce:is(.ast-left-sidebar, .ast-right-sidebar) #primary {
	border: 0;
}
@media (min-width: 922px) {
	body.tb-shop-on.woocommerce.ast-left-sidebar #secondary {
		padding-right: 0;
	}
	body.tb-shop-on.woocommerce.ast-left-sidebar #primary {
		padding-left: clamp(2rem, 0.5rem + 3vw, 3.5rem);
	}
	body.tb-shop-on.woocommerce.ast-right-sidebar #secondary {
		padding-left: 0;
	}
	body.tb-shop-on.woocommerce.ast-right-sidebar #primary {
		padding-right: clamp(2rem, 0.5rem + 3vw, 3.5rem);
	}
	/* « Filtres » sur la même ligne que « 10 résultats » et le tri. */
	body.tb-shop-on.woocommerce .tb-filters-head {
		display: flex;
		align-items: center;
		height: 44px;
		margin: 28px 0 26px;
		font: 600 16px/1.2 var(--tb-font-body, inherit);
		color: var(--tb-ink, #111);
	}
	body.tb-shop-on.woocommerce .tb-filters-close {
		display: none;
	}
}
body.tb-shop-on.woocommerce #secondary .widget {
	margin: 0;
	padding: 22px 0;
	border-top: 1px solid var(--tb-s-line);
	border-bottom: 0;
}
body.tb-shop-on.woocommerce #secondary .widget:last-child {
	padding-bottom: 0;
}
body.tb-shop-on.woocommerce #secondary :is(.widget-title, .widget h2, .wp-block-heading) {
	margin: 0 0 14px;
	color: var(--tb-ink, #111);
	font: 600 15px/1.3 var(--tb-font-body, inherit);
	letter-spacing: 0;
	text-transform: none;
}
body.tb-shop-on.woocommerce #secondary .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
body.tb-shop-on.woocommerce #secondary .widget ul li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 12px;
	margin: 0;
	padding: 5px 0;
	border: 0;
	font-size: 15px;
	line-height: 1.4;
}
/* Pas d'élément fantôme d'Astra en tête de ligne (il centrait le nom entre lui et le nombre). */
body.tb-shop-on.woocommerce #secondary .widget ul li::before,
body.tb-shop-on.woocommerce #secondary .widget ul li::after {
	content: none;
	display: none;
}
body.tb-shop-on.woocommerce #secondary .widget ul li > a {
	position: relative;
	display: flex;
	flex: 1 1 0%;
	align-items: center;
	gap: 11px;
	min-width: 0;
	color: color-mix(in srgb, var(--tb-ink, #111) 82%, transparent);
	text-decoration: none;
	transition: color 0.15s;
}
body.tb-shop-on.woocommerce #secondary .widget ul li > a:hover,
body.tb-shop-on.woocommerce #secondary .widget ul li:is(.current-cat, .chosen) > a {
	color: var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .widget ul li.current-cat > a {
	font-weight: 600;
}
body.tb-shop-on.woocommerce #secondary .widget ul li .count {
	color: var(--tb-s-muted);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
}
body.tb-shop-on.woocommerce #secondary .widget ul.children {
	flex: 1 1 100%;
	margin: 2px 0 2px 14px;
}
/* Valeurs d'un attribut (couleur, matière…) : une case à cocher devant chaque valeur. */
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list li > a:not(.tb-chip)::before {
	content: "";
	position: static;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin: 0;
	border: 1.5px solid color-mix(in srgb, var(--tb-ink, #111) 30%, transparent);
	border-radius: 5px;
	background: var(--tb-bg, #fff);
	font: inherit;
	transition: border-color 0.15s, background-color 0.15s;
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list li > a:not(.tb-chip):hover::before {
	border-color: var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list li.chosen > a:not(.tb-chip)::before {
	border-color: var(--tb-ink, #111);
	background: var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list li.chosen > a:not(.tb-chip)::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 3px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background: var(--tb-bg, #fff);
	-webkit-mask: var(--tb-check) center / contain no-repeat;
	mask: var(--tb-check) center / contain no-repeat;
}
/* Valeurs courtes (tailles, pointures) : des pastilles côte à côte. */
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li {
	display: block;
	padding: 0;
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li .count {
	display: none;
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li > :is(a, span) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-sm, 8px);
	color: var(--tb-ink, #111);
	font-size: 14px;
	font-weight: 500;
	transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li > a:hover {
	border-color: var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li.chosen > a {
	border-color: var(--tb-ink, #111);
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
}
body.tb-shop-on.woocommerce #secondary .woocommerce-widget-layered-nav-list:has(.tb-chip) li > span {
	opacity: 0.4;
}
/* Filtres actifs : des puces avec une croix. */
body.tb-shop-on.woocommerce #secondary .widget_layered_nav_filters ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.tb-shop-on.woocommerce #secondary .widget_layered_nav_filters ul li {
	padding: 0;
}
body.tb-shop-on.woocommerce #secondary .widget_layered_nav_filters ul li a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-pill, 999px);
	color: var(--tb-ink, #111);
	font-size: 13.5px;
	font-weight: 500;
}
body.tb-shop-on.woocommerce #secondary .widget_layered_nav_filters ul li a::before {
	content: "×";
	position: static;
	margin: 0;
	color: var(--tb-s-muted);
	font-family: inherit;
	font-size: 16px;
	line-height: 1;
}
/* Prix : curseur fin, poignées rondes, fourchette « 10 € – 90 € » et bouton discret. */
body.tb-shop-on.woocommerce #secondary .price_slider_wrapper .ui-widget-content {
	height: 3px;
	margin: 16px 10px 0;
	border: 0;
	border-radius: 999px;
	background: var(--tb-s-line);
}
body.tb-shop-on.woocommerce #secondary .price_slider_wrapper .ui-slider-range {
	border-radius: 999px;
	background: var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .price_slider_wrapper .ui-slider-handle {
	top: -9px;
	width: 21px;
	height: 21px;
	margin-left: -10.5px;
	border: 1.5px solid var(--tb-ink, #111);
	border-radius: 50%;
	outline: none;
	background: var(--tb-bg, #fff);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
	cursor: grab;
}
body.tb-shop-on.woocommerce #secondary .price_slider_wrapper .ui-slider-handle:focus-visible {
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--tb-ink, #111) 16%, transparent);
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 22px;
	font-size: 14px;
	line-height: 1.4;
}
/* « Prix : » répète le titre du filtre : seule la fourchette reste. */
body.tb-shop-on.woocommerce #secondary .price_slider_amount .price_label {
	order: -1;
	color: var(--tb-ink, #111);
	font-size: 0;
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount .price_label span {
	font-size: 15px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount .price_label .from::after {
	content: "\00a0–\00a0";
	color: var(--tb-s-muted);
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount .button {
	float: none;
	min-height: 36px;
	padding: 7px 16px;
	border: 0;
	border-radius: var(--tb-r-btn, 999px);
	background: transparent;
	color: var(--tb-ink, #111);
	box-shadow: inset 0 0 0 1px var(--tb-s-line);
	font: 600 13.5px/1.2 var(--tb-font-body, inherit);
	transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount .button:hover {
	background: var(--tb-ink, #111);
	color: var(--tb-bg, #fff);
	box-shadow: inset 0 0 0 1px var(--tb-ink, #111);
}
body.tb-shop-on.woocommerce #secondary .price_slider_amount .clear {
	display: none;
}
body.tb-shop-on.woocommerce #secondary .widget .star-rating {
	color: var(--tb-ink, #111);
}
/* Bouton « Filtrer » et en-tête du panneau : seulement sur mobile et tablette. */
.tb-filters-open,
.tb-filters-head {
	display: none;
}
@media (max-width: 921px) {
	/* « Filtrer » à gauche, le tri à droite, sur une même ligne. */
	body.tb-shop-on.woocommerce:has(.tb-filters-open) .woocommerce-ordering {
		float: right;
		width: calc(100% - 136px);
		margin: 0 0 18px;
	}
	body.tb-shop-on.woocommerce:has(.tb-filters-open) .woocommerce-ordering select.orderby {
		width: 100%;
	}
	body.tb-shop-on.woocommerce .tb-filters-open {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		float: left;
		height: 44px;
		margin: 0 0 18px;
		padding: 0 18px;
		border: 1px solid var(--tb-s-line);
		border-radius: var(--tb-r-pill, 999px);
		background: var(--tb-bg, #fff);
		color: var(--tb-ink, #111);
		font: 600 14px/1 var(--tb-font-body, inherit);
		cursor: pointer;
	}
	body.tb-shop-on.woocommerce .tb-filters-open .tb-ico {
		width: 17px;
		height: 17px;
	}
	body.tb-shop-on.woocommerce ul.products {
		clear: both;
	}
	body.tb-shop-on.woocommerce #secondary {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100000;
		width: min(88vw, 380px);
		max-width: none;
		margin: 0;
		padding: 0 24px 32px;
		overflow-y: auto;
		background: var(--tb-bg, #fff);
		transform: translateX(-102%);
		visibility: hidden;
		transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.3s;
	}
	body.tb-shop-on.woocommerce.tb-filters-is-open #secondary {
		transform: none;
		visibility: visible;
		box-shadow: 0 0 0 100vmax rgba(10, 10, 10, 0.4);
	}
	body.tb-shop-on.woocommerce.tb-filters-is-open {
		overflow: hidden;
	}
	body.tb-shop-on.woocommerce .tb-filters-head {
		position: sticky;
		top: 0;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin: 0 -24px 22px;
		padding: 18px 24px;
		border-bottom: 1px solid var(--tb-s-line);
		background: var(--tb-bg, #fff);
		font: var(--tb-h-weight, 600) 20px/1.2 var(--tb-font-heading, inherit);
	}
	body.tb-shop-on.woocommerce .tb-filters-close {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--tb-s-soft);
		color: var(--tb-ink, #111);
		cursor: pointer;
	}
	body.tb-shop-on.woocommerce .tb-filters-close .tb-ico {
		width: 18px;
		height: 18px;
	}
}

/* Cases à cocher des pages Panier, Commande et Compte (CGV, créer un compte, autre adresse) :
   case native, à la couleur de la marque. */
body.tb-shop input[type="checkbox"]:not(.tb-native) {
	width: 18px;
	height: 18px;
	accent-color: var(--tb-accent, #111);
	vertical-align: -3px;
}

/* ------------------------------------------------------------------ *
 * Fiche produit pensée pour la conversion (Personnaliser › WooCommerce › Fiche produit (Tabula)).
 * Chaque bloc a son interrupteur : classe tb-pp-* sur le corps de page, ou élément absent.
 * ------------------------------------------------------------------ */
/* Résumé qui suit le défilement : galerie et résumé dans une enveloppe (.tb-pp-top), le résumé
   colle en haut de l'écran tant que la galerie défile. */
@media (min-width: 922px) {
	body.tb-shop-on.tb-ppo-sticky.single-product div.product .tb-pp-top > .woocommerce-product-gallery {
		float: none;
		flex: 0 0 auto;
	}
	body.tb-shop-on.tb-ppo-sticky.single-product div.product .tb-pp-top > .summary {
		position: sticky;
		top: calc(var(--tb-hdr-top, 0px) + var(--tb-hdr-space, 84px) + 24px);
		float: none;
		flex: 0 0 auto;
	}
	/* Vignettes à gauche de la photo. */
	body.tb-shop-on.tb-ppo-thumbs-left.single-product div.product .woocommerce-product-gallery:has(.flex-control-thumbs) {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		align-items: start;
		gap: 14px;
	}
	body.tb-shop-on.tb-ppo-thumbs-left.single-product div.product .woocommerce-product-gallery .flex-viewport {
		grid-column: 2;
		grid-row: 1;
	}
	body.tb-shop-on.tb-ppo-thumbs-left.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		display: flex;
		flex-direction: column;
		grid-column: 1;
		grid-row: 1;
		gap: 10px;
		margin: 0;
	}
}
/* Note au-dessus du titre : étoiles et nombre d'avis sur une ligne. */
body.tb-shop-on.single-product div.product .summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	font-size: 13.5px;
}
body.tb-shop-on.single-product div.product .summary .woocommerce-product-rating .star-rating {
	order: -1;
	float: none;
	margin: 0;
	color: var(--tb-ink, #111);
}
body.tb-shop-on.single-product div.product .summary .woocommerce-product-rating .woocommerce-review-link {
	color: var(--tb-s-muted);
	text-decoration: none;
}
/* Listes de la description courte en coches (points forts). */
body.tb-shop-on.tb-ppo-checklist.single-product div.product .summary .woocommerce-product-details__short-description ul {
	display: grid;
	gap: 9px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
body.tb-shop-on.tb-ppo-checklist.single-product div.product .summary .woocommerce-product-details__short-description li {
	position: relative;
	margin: 0;
	padding-left: 30px;
	color: var(--tb-ink, #111);
	font-size: 15px;
	line-height: 1.5;
}
body.tb-shop-on.tb-ppo-checklist.single-product div.product .summary .woocommerce-product-details__short-description li::before {
	content: "";
	position: absolute;
	top: 0.12em;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--tb-accent-soft, #f0f0ee);
}
body.tb-shop-on.tb-ppo-checklist.single-product div.product .summary .woocommerce-product-details__short-description li::after {
	content: "";
	position: absolute;
	top: calc(0.12em + 5px);
	left: 5px;
	width: 10px;
	height: 10px;
	background: var(--tb-accent-text, var(--tb-ink, #111));
	-webkit-mask: var(--tb-check) center / contain no-repeat;
	mask: var(--tb-check) center / contain no-repeat;
}
/* Options en boutons : la liste de WooCommerce reste (masquée) et pilote le formulaire. */
body.tb-shop-on.tb-ppo-pills.single-product div.product form.cart table.variations select.tb-vsel {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}
body.tb-shop-on.single-product div.product form.cart table.variations tr {
	display: block;
	margin-bottom: 16px;
}
body.tb-shop-on.single-product div.product form.cart table.variations :is(th, td) {
	display: block;
}
.tb-vchosen {
	color: var(--tb-s-muted);
	font-weight: 500;
}
.tb-vpills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
body.tb-shop-on .tb-vpills .tb-vpill {
	min-width: 52px;
	height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-sm, 8px);
	background: var(--tb-bg, #fff);
	box-shadow: none;
	color: var(--tb-ink, #111);
	font: 500 14px/1 var(--tb-font-body, inherit);
	text-transform: none;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}
body.tb-shop-on .tb-vpills .tb-vpill:hover {
	border-color: var(--tb-ink, #111);
	background: var(--tb-bg, #fff);
	color: var(--tb-ink, #111);
}
body.tb-shop-on .tb-vpills .tb-vpill.is-on {
	border-color: var(--tb-ink, #111);
	box-shadow: inset 0 0 0 1px var(--tb-ink, #111);
}
body.tb-shop-on .tb-vpills .tb-vpill:disabled {
	opacity: 0.4;
	text-decoration: line-through;
	cursor: not-allowed;
}
/* Quantité et bouton d'achat sur une ligne, le bouton prend la place restante. */
body.tb-shop-on.single-product div.product form.cart:not(.variations_form),
body.tb-shop-on.single-product div.product form.cart .woocommerce-variation-add-to-cart {
	flex-wrap: nowrap;
}
body.tb-shop-on.single-product div.product form.cart .single_add_to_cart_button {
	flex: 1 1 0%;
	min-width: 0;
	padding-right: 16px;
	padding-left: 16px;
	white-space: nowrap;
}
/* Stock affiché par Tabula : la mention « 12 en stock » de WooCommerce est retirée (pas les ruptures). */
body.tb-shop-on.tb-ppo-stock.single-product div.product .summary .stock.in-stock,
body.tb-shop-on.tb-ppo-stock.single-product div.product .summary .ast-stock-detail:has(.in-stock) {
	display: none;
}
.tb-pp-extras {
	display: grid;
	gap: 14px;
	margin: 18px 0 0;
}
.tb-pp-stock {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--tb-ink, #111);
	font: 500 14px/1.4 var(--tb-font-body, inherit);
}
.tb-pp-stock i {
	width: 8px;
	height: 8px;
	margin-left: 2px;
	border-radius: 50%;
	background: #1f9d55;
	box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.16);
}
.tb-pp-stock.is-low i {
	background: #e8890c;
	box-shadow: 0 0 0 4px rgba(232, 137, 12, 0.18);
}
.tb-pp-delivery {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: var(--tb-s-muted);
	font-size: 14px;
	line-height: 1.45;
}
.tb-pp-delivery b {
	color: var(--tb-ink, #111);
	font-weight: 600;
}
.tb-pp-delivery .tb-ico {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	color: var(--tb-ink, #111);
}
.tb-pp-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 6px 0 0;
	padding: 18px 14px;
	border-radius: var(--tb-r-md, 12px);
	background: var(--tb-s-soft);
	list-style: none;
}
.tb-pp-trust li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--tb-ink, #111);
	font: 500 13px/1.35 var(--tb-font-body, inherit);
	text-align: center;
}
.tb-pp-trust .tb-ico {
	width: 22px;
	height: 22px;
}
.tb-pp-accs {
	margin-top: 8px;
	border-top: 1px solid var(--tb-s-line);
}
.tb-pp-acc {
	border-bottom: 1px solid var(--tb-s-line);
}
.tb-pp-acc > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 17px 0;
	color: var(--tb-ink, #111);
	font: 600 15px/1.3 var(--tb-font-body, inherit);
	list-style: none;
	cursor: pointer;
}
.tb-pp-acc > summary::-webkit-details-marker {
	display: none;
}
.tb-pp-acc > summary::after {
	content: "";
	flex: 0 0 12px;
	width: 12px;
	height: 12px;
	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='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%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='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}
.tb-pp-acc[open] > summary::after {
	transform: rotate(180deg);
}
.tb-pp-acc-body {
	padding: 0 0 20px;
	color: color-mix(in srgb, var(--tb-ink, #111) 80%, transparent);
	font-size: 15px;
	line-height: 1.65;
}
.tb-pp-acc-body > :last-child {
	margin-bottom: 0;
}
/* Listes de la description : alignées sur le texte (Astra les décale de 3em). */
.tb-pp-acc-body :is(ul, ol) {
	margin: 0 0 1em;
	padding-left: 1.3em;
}
.tb-pp-acc-body li {
	margin: 0 0 0.25em;
}
/* Logos de paiement d'Astra : discrets, centrés sous le bouton. */
body.tb-shop-on.single-product div.product .summary .ast-single-product-payments {
	margin: 18px 0 0;
}
body.tb-shop-on.single-product div.product .summary .ast-single-product-payments fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}
body.tb-shop-on.single-product div.product .summary .ast-single-product-payments legend {
	margin: 0 0 8px;
	padding: 0;
	color: var(--tb-s-muted);
	font-size: 13px;
}
/* Avis en pleine largeur sous la fiche (mode accordéons). */
body.tb-shop-on.single-product .tb-pp-reviews {
	margin-top: clamp(3rem, 2rem + 3vw, 5rem);
	padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
	border-top: 1px solid var(--tb-s-line);
}
body.tb-shop-on.single-product .tb-pp-reviews #reviews .woocommerce-Reviews-title,
body.tb-shop-on.single-product .tb-pp-reviews #reviews #reply-title {
	font-family: var(--tb-font-heading, inherit);
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: -0.015em;
}
body.tb-shop-on.single-product .tb-pp-reviews-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
body.tb-shop-on.single-product .tb-pp-reviews-head h2 {
	margin: 0;
	font-family: var(--tb-font-heading, inherit);
	font-size: calc(clamp(1.6rem, 1.25rem + 1.2vw, 2.25rem) * var(--tb-h-scale, 1));
	font-weight: var(--tb-h-weight, 600);
	letter-spacing: -0.02em;
	text-transform: var(--tb-h-case, none);
}
body.tb-shop-on.single-product .tb-pp-reviews-head .tb-pp-reviews-note {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--tb-s-muted);
	font-size: 14px;
}
body.tb-shop-on.single-product .tb-pp-reviews-head .star-rating {
	float: none;
	margin: 0;
	color: var(--tb-ink, #111);
}
/* Avis à gauche, formulaire à droite (empilés sur tablette et mobile). */
body.tb-shop-on.single-product .tb-pp-reviews #reviews .woocommerce-Reviews-title {
	display: none;
}
@media (min-width: 922px) {
	body.tb-shop-on.single-product .tb-pp-reviews #reviews {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		align-items: start;
		gap: clamp(2rem, 1rem + 3vw, 4rem);
	}
	body.tb-shop-on.single-product .tb-pp-reviews #reviews > .clear {
		display: none;
	}
}
body.tb-shop-on.single-product .tb-pp-reviews #review_form_wrapper #respond {
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	border: 1px solid var(--tb-s-line);
	border-radius: var(--tb-r-md, 12px);
	background: var(--tb-bg, #fff);
}
/* Astra enveloppe les étoiles (.review-rating) : elles passent avant le nombre d'avis. */
body.tb-shop-on.single-product :is(.summary .woocommerce-product-rating, .tb-pp-reviews-head .tb-pp-reviews-note) .review-rating {
	display: inline-flex;
	flex: 0 0 auto;
	order: -1;
	width: auto;
	margin: 0;
	float: none;
}
body.tb-shop-on.single-product :is(.summary .woocommerce-product-rating, .tb-pp-reviews-head .tb-pp-reviews-note) .review-rating .star-rating {
	float: none;
	margin: 0;
}
/* Résumé collant : seulement le long de la galerie (enveloppe .tb-pp-top ; galerie et résumé
   restent flottants sur tablette et mobile, l'enveloppe les contient). */
body.tb-shop-on.single-product div.product .tb-pp-top::after {
	content: "";
	display: table;
	clear: both;
}
@media (min-width: 922px) {
	body.tb-shop-on.tb-ppo-sticky.single-product div.product .tb-pp-top {
		position: relative;
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		width: 100%;
	}
	body.tb-shop-on.tb-ppo-sticky.single-product div.product .tb-pp-top::after {
		content: none;
	}
}
/* Sections communes sous la fiche (Personnaliser › WooCommerce › Produit › Sous chaque fiche) :
   pleine largeur, chaque section garde son conteneur ; la page ne défile jamais de côté. */
body.tb-shop-on.single-product #page {
	overflow-x: clip;
}
body.tb-shop-on.single-product div.product .tb-pp-below {
	clear: both;
	margin: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) calc(50% - 50vw) 0;
}
body.tb-shop-on.single-product div.product .tb-pp-below + :is(section.related, section.upsells) {
	margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

/* Mobile : les onglets des sections restent sur une ligne (rembourrage un peu réduit, défilement
   s'ils dépassent encore) au lieu d'un dernier onglet seul sur une seconde ligne. */
@media (max-width: 767px) {
	body .elementor .tb-tabs-menu {
		flex-wrap: nowrap;
		max-width: 100%;
		overflow-x: auto;
		scrollbar-width: none;
	}
	body .elementor .tb-tabs-menu::-webkit-scrollbar {
		display: none;
	}
	body .elementor .tb-tabs-menu > .tb-tab {
		flex: 0 0 auto;
		padding-inline: 11px;
	}
}
