/* ===========================
   WOOCOMMERCE
   =========================== */
:root {
	--grid-swatch: 50px;
	--page-swatch: 90px;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
    color: var(--color-text);
}
.poppy-categories-wrap {
    margin-bottom: var(--space-l);
}
bdi {
	font-weight: 500;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: var(--color-link);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
	background-color: var(--color-link-hover);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:disabled[disabled]:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt.disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled], .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:disabled[disabled]:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt.disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled], :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: var(--color-disabled);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
	background-color: var(--color-button);
	color: var(--color-button-text);
	font-weight: normal;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover {
	background-color: var(--color-button-hover);
	color: var(--color-button-text);
}
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: var(--space-s);
    width: 100%;
    box-sizing: border-box;
	display: flex;
	gap: var(--space-s);
}
.woocommerce div.product div.images .flex-control-thumbs li {
    /*padding: var(--space-s);*/
    box-sizing: border-box;
    margin: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
	border-radius: var(--card-radius);
}
.woocommerce div.product div.images img {
	border-radius: var(--card-radius);
}
/*.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
    padding-right: 0;
}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    padding-left: 0;
}*/
/* Flèches des iamges complémentaires de la gallery */
.woocommerce-product-gallery .flex-direction-nav {
	display: none;
}
.woocommerce-product-gallery {
    position: relative;
}
.woocommerce-product-gallery .flex-direction-nav li {
    list-style: none !important;
}
.woocommerce-product-gallery .flex-direction-nav a {
    position: absolute;
    z-index: 10 ;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
	  background: color-mix(in srgb, var(--color-text) 75%, transparent);
    color: var(--color-bg);

    font-size: 0;
    pointer-events: auto;
	  text-decoration: none;
	  
	top: 4rem;
}
.woocommerce-product-gallery .flex-direction-nav a:hover {
	    background: color-mix(in srgb, var(--color-bg) 75%, transparent);
    color: var(--color-text);
}
/* Chevrons */
.woocommerce-product-gallery .flex-direction-nav .flex-prev::after {
    content: "‹";
    font-size: 1.5rem;
}
.woocommerce-product-gallery .flex-direction-nav .flex-next::after {
    content: "›";
    font-size: 1.5rem;
}
.woocommerce-product-gallery .flex-direction-nav .flex-prev {
    left: 1.5rem;
}
.woocommerce-product-gallery .flex-direction-nav .flex-next {
    right: 1.5rem;
}
/* Positionnement */
.woocommerce-product-gallery {
    container-type: inline-size;
    container-name: product-image;
}

}
/*.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-color: var(--color-border);
    background-color: var(--color-light-text);
}*/
.woocommerce div.product .woocommerce-tabs h2, .woocommerce .related h2 {
	font-weight: normal;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border: none;
    background-color: var(--color-bg);
	border-radius: 0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--color-light-text);
	padding-left: var(--space-m);
	padding-right: var(--space-m);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--color-text);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--color-button-hover);
	border-bottom: 2px solid var(--color-button-hover);
}
@media screen and (max-width: 768px) {
	.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
		border-bottom: none;
		border-left: 2px solid var(--color-button-hover);
	}
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    background: var(--color-border);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 1px solid var(--color-border);
}
.woocommerce .product {
	margin-top: var(--space-m);
}
.woocommerce .summary, .woocommerce div.product .woocommerce-tabs .panel,
.woocommerce .related, .woocommerce .upsells {
	padding: 0 var(--space-m);
	box-sizing: border-box;
}
.woocommerce.single-product .product_title {
	font-weight: normal;
	margin: 0;
}
.woocommerce-info {
    border-top-color: var(--color-link);
}
.woocommerce-info::before {
    color: var(--color-link);
}
.woocommerce .wp-block-woocommerce-mini-cart-checkout-button-block:hover {
	background-color: var(--color-link);
	color: var(--color-bg);
}
.woocommerce .breadcrumb {
	margin-top: var(--space-s);
}
.woocommerce .product-category h2 {
	text-align: center;
}
.woocommerce .product-category a {
	color: var(--color-text);
}
.woocommerce .product-category mark {
	display: none;
}
.woocommerce .products .product a {
	text-align: center;
}
.woocommerce .products .product h2 {
	color: var(--color-text);
	transition: all 0.3s ease;
}
.woocommerce .products .product {
	text-align: center;
}
.woocommerce ul.products li.product .star-rating {
	text-align: center;
	margin: 0 auto;
	margin-bottom: var(--space-s);
	display: none;
}
.woocommerce ul.products li.product .onsale {
	left: 0.5em;
	top: 0.5em;
	right: unset;
	position: absolute;
	margin: 0;
}
.editor-styles-wrapper .wc-block-grid__products .wc-block-grid__product .wc-block-components-product-image img, .wc-block-components-product-image img,
.woocommerce ul.products li.product a img {
	border-radius: var(--card-radius);
}
.wc-block-components-product-sale-badge {
	border: none;
	color: var(--color-text);
}
.woocommerce div.product form.cart {
    margin-bottom: 0em;
}
.woocommerce .product_meta {
	margin-top: var(--space-m);
	color: var(--color-disabled);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	padding: var(--space-s);
}
.woocommerce .product_meta > span {
	display: block;
	font-size: 0.8rem;
	font-weight: bold;
}
.woocommerce .product_meta a {
	color: var(--color-disabled);
	font-weight: normal;
	text-decoration: none;
}
.woocommerce span.onsale {
	background-color: var(--color-link);
}
.woocommerce.single-product .breadcrumb, .woocommerce.single-product .woocommerce-product-gallery {
	padding-left: var(--space-m);
	padding-right: var(--space-m);
	box-sizing: border-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	right: calc(.5em + var(--space-s));
}
@media (max-width: 767px) {
	.woocommerce.single-product .breadcrumb, .woocommerce.single-product .woocommerce-product-gallery {
		padding-left: var(--space-l);
		padding-right: var(--space-l);
	}
	.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
		right: calc(.5em + var(--space-l));
	}
}
.woocommerce.single-product span.onsale {
	left: var(--space-s);
}
.woocommerce .price ins {
	text-decoration: none;
}
.woocommerce.single-product .summary .price {
	margin-top: 0;
	margin-bottom: var(--space-s);
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button {
	border-radius: var(--radius);
}
.woocommerce.single-product .summary .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single {
    margin-inline: 0;
    gap: 10px;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
}
.woocommerce.single-product .summary .yith-wcwl-add-to-wishlist-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    border: 2px solid var(--color-button);
    color: var(--color-text);
    padding: 0.35em var(--space-s);
    border-radius: var(--radius);
    width: 100%;
	box-sizing: border-box;
}
.woocommerce div.product form.cart .button {
	padding: var(--space-m);
}
/* Masquer la popup pénible */
.yith-wcwl-add-to-wishlist__feedback {
    display: none !important;
}
/* Bloc variation : prix et disponibilité à droite */
.woocommerce.single-product .summary .woocommerce-variation {
    flex: 0 0 auto;
    align-items: center;
}
.woocommerce.single-product .summary .woocommerce-variation-price,
.woocommerce.single-product .summary .woocommerce-variation-availability {
    padding-left: 55px;
	  text-align: right;
}
.woocommerce.single-product .summary .woocommerce-variation p {
	margin: 0px;
	line-height: 1rem;
	font-size: 0.85rem;
}
/* étoiles */
.woocommerce.single-product .summary:has(.woocommerce-product-rating) .price {
    margin-bottom: 0;
}
.woocommerce.single-product .summary .star-rating,
.woocommerce.single-product .summary .woocommerce-product-rating {
	margin: 0px !important;
}
.woocommerce.single-product .summary .woocommerce-review-link {
	display: none;
}
/* Ligne quantité */
.woocommerce.single-product .summary .cart:not(.variations_form) {
    margin-top: var(--space-s);
}
.woocommerce.single-product .summary .cart:not(.variations_form) .quantity {
	margin-bottom: var(--space-s);
}
.woocommerce.single-product .summary .cart.variations_form .quantity {
    margin-top: var(--space-s);
}
.woocommerce.single-product .summary .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-s);
}
/* WAPF options de produit */
.woocommerce.single-product .summary:has(.wapf) .woocommerce-variation-price {
    visibility: hidden;
	height: 1px;
	overflow: hidden;
}
.woocommerce.single-product .summary .woocommerce-variation-add-to-cart:not(:has(.wapf)) {
    margin-top: -2rem;
}
.wapf-product-totals .wapf--inner {
    padding-bottom: 0;
}
/* Bouton pleine largeur en dessous */
.woocommerce.single-product .summary .single_add_to_cart_button {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
}
.woocommerce.single-product .summary .single_add_to_cart_button::before {
    font-family: dashicons;
    content: "\f174";
    margin-right: var(--space-s);
    position: relative;
    top: 1px;
	transform: scale(1.4);
transform-origin: center;
	display: inline-block !important;
}
/* ===========================
   Made in France
   =========================== */
.woocommerce.single-product .summary.entry-summary:not(:has(.woocommerce-product-details__short-description)) .poppy-product-origin {
    margin-top: var(--space-m);
}
.woocommerce-product-details__short-description p {
	margin-top: var(--space-m);
	margin-bottom: var(--space-xs);
}
.single-product .variations_form {
	margin-top: var(--space-l);
}
.poppy-product-origin {
	display: flex;
	align-items: center;
	gap:  var(--space-s);
	font-size: 0.8rem;
	line-height: 1.5;
}
.poppy-product-origin__visual {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.poppy-product-origin__image {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}
/* Panier WooCommerce : version mobile */
@media (max-width: 767px) {
    .wp-block-woocommerce-cart-line-items-block {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .wp-block-woocommerce-cart-line-items-block table {
        width: 100%;
        min-width: 520px;
        max-width: none;
    }
}
/* Page du produit */
/* Swatches page produit */
.single-product-swatches {
    margin-bottom: var(--space-s);
}
.single-product-size-label,
.single-product-swatches-label {
    display: block;
    margin-bottom: 0;
    font-weight: bold;
}
.single-product-swatches-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: flex-start;
    gap: 0;
}
.single-product-swatch {
    display: block;
    flex: 0 0 var(--page-swatch);
    width: var(--page-swatch);
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    border: none;
}
.single-product-swatch img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px solid transparent;
    padding: 4px;
    box-sizing: border-box;
	border-radius: var(--card-radius);
}
.single-product-swatch span {
    display: block;
    text-align: center;
}
.single-product-swatch:hover img,
.single-product-swatch.is-selected:hover img {
    border-color: var(--color-link);
}
.single-product-swatch.is-selected img {
    border-color: var(--color-text);
}
/* Masquer toute la ligne du sélecteur de couleur */
.single-product form.variations_form
tr:has(select[name="attribute_pa_color"]) {
    display: none !important;
}
.variations .label {
	text-align: left;
}
/* ===========================
   WOOCOMMERCE — BOUTONS DE TAILLES
   =========================== */
.single-product-size-buttons {
    margin: var(--space-m) 0;
}
.single-product-size-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-s);
}
/* Boutons */
.single-product-size-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-s) var(--space-m);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}
/* Survol */
.single-product-size-button:not(:disabled):hover {
	background: var(--color-link);
	border-color: var(--color-link);
	color: var(--color-bg);
}
/* Taille sélectionnée */
.single-product-size-button.is-selected {
    background: var(--color-text);
	border-color: var(--color-text);
    color: var(--color-bg);
}
/* Masquer toute la ligne du sélecteur de taille */
.single-product form.variations_form
tr:has(select[name="attribute_pa_size"]) {
    display: none !important;
}
/* Option indisponible */
button.is-unavailable {
    opacity: 0.35;
	  cursor: not-allowed;
}
button.is-unavailable:hover img {
    border-color: transparent;
}
/* Barrer les pointures */
.single-product-size-button.is-unavailable {
    text-decoration: line-through;
}
/*********************/
/* Page de catégorie */
.product-variations-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    box-sizing: border-box;
}
.product-variation-link {
    display: block;
    flex: 0 0 var(--grid-swatch);
    width: var(--grid-swatch);
    height: var(--grid-swatch);
    border-radius: var(--card-radius);;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-decoration: none;
}
.product-variation-more {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--grid-swatch);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
/* ----- Grille WooCommerce ----- */

/* Conteneur de produits */
.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--grid-gap) * 2) var(--grid-gap);
    width: 100%;
    box-sizing: border-box;
    container-type: inline-size;
}
.woocommerce ul.products li.product .woocommerce-placeholder {
    border: none;
}
.woocommerce ul.products:not(.related.products ul.products):not(.upsells.products ul.products) {
    margin: 0;
    padding: 0 var(--grid-gap);
}
/* Supprime le clearfix WooCommerce */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}
/* ----- Desktop : 6 colonnes ----- */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    box-sizing: border-box;
	transition: all 0.3s ease;
	position: relative;
}
.woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
.woocommerce ul.products li.product-category {
    width: calc((99% - (5 * var(--grid-gap))) / 6) !important;
}
/* ----- Grand écran : 5 colonnes ----- */
@container page-content (max-width: 1400px) {
    .woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
    .woocommerce ul.products li.product-category {
        width: calc((99% - (4 * var(--grid-gap))) / 5) !important;
    }
}
/* ----- Moyen écran : 4 colonnes ----- */
@container page-content (max-width: 1224px) {
    .woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
    .woocommerce ul.products li.product-category {
        width: calc((99% - (3 * var(--grid-gap))) / 4) !important;
    }
}
/* ----- Petit écran : 3 colonnes ----- */
@container page-content (max-width: 992px) {
    .woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
    .woocommerce ul.products li.product-category {
        width: calc((99% - (2 * var(--grid-gap))) / 3) !important;
    }
}
/* ----- Tablette : 2 colonnes ----- */
@container page-content (max-width: 768px) {
    .woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
    .woocommerce ul.products li.product-category {
        width: calc((99% - var(--grid-gap)) / 2) !important;
    }
}
/* ----- Mobile : 1 colonne ----- */
@container page-content (max-width: 576px) {
    .woocommerce ul.products {
        padding: 0;
    }
    .woocommerce ul.products li.product:not(.related li.product):not(.upsells li.product),
    .woocommerce ul.products li.product-category {
        width: 100% !important;
    }
}
 /* Bugs */
 .woocommerce .wp-block-button__link {
	height: auto;
}
.add-to-wishlist-before_image .yith-add-to-wishlist-button-block {
    margin: 0px auto;
}
.add-to-wishlist-before_image .yith-wcwl-add-to-wishlist-button {
    right: 0;
	left: unset;
}
/* ===========================
   YITH
   =========================== */
.woocommerce table.shop_table {
    border-color: var(--color-border);
}
.woocommerce table.shop_table.wishlist_table tr td {
    background: var(--color-bg);
    color: var(--color-light-text);
    border-color: var(--color-border);
}
.wishlist_table thead tr th, .wishlist_table tfoot td td, .widget_yith-wcwl-lists ul.dropdown li.current a, .widget_yith-wcwl-lists ul.dropdown li a:hover, .selectBox-dropdown-menu.selectBox-options li.selectBox-selected a, .selectBox-dropdown-menu.selectBox-options li.selectBox-hover a {
    background: var(--color-border);
}
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--anchor {
    gap: var(--space-xs);
}
.yith-add-to-wishlist-button-block a {
	color: var(--color-text);
	text-decoration: none;
}
.yith-add-to-wishlist-button-block svg {
	transition: transform 0.3s ease;
}
.yith-add-to-wishlist-button-block {
    width: auto;
}
#yith-wcwl-form .wishlist-title {
	display: none;
}
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--icon-button:is(button),
.yith-wcwl-add-to-wishlist-button.yith-wcwl-add-to-wishlist-button--icon-button:is(button):hover {
	background-color: var(--color-bg);
	border-radius: var(--radius);
	padding: var(--space-s);
}
.wishlist_table.mobile {
    padding-left: 0px;
}
/* ===========================
   Gutemberg
   =========================== */
.related.products h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3,
.wc-block-product-template h2.wp-block-post-title {
	text-align: center;
	padding: var(--space-s) 0;
    margin: 0 !important;
	font-size: 1.25rem;
	display: block;
	font-weight: bold;
}
.wc-block-product-template .wp-block-post-title a {
	color: var(--color-text);
}
.wp-block-woocommerce-product-image {
	margin-bottom: 0px;
}
/* ===========================
   Filtres
   =========================== */
.wc-block-product-filter-price-slider .text input[type=text]  {
	border-color: var(--color-border);
}
.is-mobile-overlay.wp-block-woocommerce-product-filters {
	width: 100%;
}
.is-mobile-overlay.wp-block-woocommerce-product-filters button {
	padding-top: var(--space-m);
	padding-bottom: var(--space-m);
	width: 100%;
}
.is-mobile-overlay.wp-block-woocommerce-product-filters header > button {
	padding-top: 0;
	padding-bottom: 0;
	width: auto;
}
/* ===========================
   Messages
   =========================== */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    background-color: color-mix(in srgb, var(--color-border) 90%, transparent);
    color: var(--color-text);
}
.woocommerce-error {
    color: #d60000;
}
/* Correctif gallery avec sidebar */

/* marge image produit */
.wp-singular .product .woocommerce-product-gallery {
	width: calc(50% - 1px) !important;
}
.wp-singular .product .summary {
	width: 50% !important;
}
@container page-content (max-width: 768px) {
	.wp-singular .product .woocommerce-product-gallery,
	.wp-singular .product .summary
		{
			width: 100% !important;
		}
    .woocommerce #content div.product div.images, .woocommerce #content div.product div.summary, .woocommerce div.product div.images, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.images, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.images, .woocommerce-page div.product div.summary {
        float: none;
        width: 100%;
    }
	.woocommerce.single-product .breadcrumb, .woocommerce.single-product .woocommerce-product-gallery,
	.woocommerce .summary, .woocommerce div.product .woocommerce-tabs .panel,
	.woocommerce .related, .woocommerce .upsells {
		padding: 0 var(--space-l);
	}
}
/* Badge nouveau */
.poppy-badge-new {
	position: absolute;
	color: var(--color-bg);
	background: var(--color-link);
	display: block;
	left: 0;
  top: 1.25em;
	padding: var(--space-xs) var(--space-m);
}

/* Guide des tailles */
.wpcsc-size-charts-list {
	margin-top: var(--space-l);
	text-align: right;
}
.single-product:has(.wpcsc-size-charts-list) .variations_form {
    margin-top: 0;
}
/* Description des catégories */
.description-wrapper .term-description {
    position: relative;
}
.description-wrapper.is-collapsed .term-description {
    max-height: 100px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.description-wrapper.is-collapsed .term-description::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: linear-gradient(to bottom, transparent, var(--color-bg));
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.description-wrapper.expanded .term-description {
    max-height: none;
}
.description-wrapper.expanded .term-description::after {
    opacity: 0;
}
.description-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-s);
    margin-bottom: var(--space-m);
    padding: 0;
    background: transparent;
    border: none;
    font-weight: 700;
    cursor: pointer;
}
.description-arrow {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}
/* Flèche vers le haut lorsque déplié */
.description-wrapper.expanded .description-arrow {
    transform: rotate(180deg);
}
