.single-product .product .price bdi {
	word-break: keep-all;
	font-size: 2rem;
}

.single-product  .woocommerce-product-details__short-description table {
	margin-top: 0;
}

.single-product  .woocommerce-product-details__short-description tr {
	border-width: 1px;
}

.single-product .woocommerce-product-attributes {
    border-color: black;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
    font-size: clamp(1rem, 1vw + 5px, 1.5rem);
}

.single-product .woocommerce-message {
    border-radius: 20px;
    border: 4px solid #FFA149;

    background-color: transparent;

    font-size: 1.6rem;
    padding: 2rem 3rem;
}

.single-product .woocommerce-message a {
    padding: 0;
    word-break: keep-all;
}

.single-product .woocommerce-message a {
    border: unset;
    color: var(--primary-color);
    text-decoration: underline !important;
    background-color: unset;
}

.single-product .woocommerce-message a:hover {
    text-decoration: none !important;
}

.single-product .product_title {
    /*
			# Ajouter une valeur fixe en pixel dans le calcul de la valeur préférentielle permet de rendre le grossissement de la police moins brutal.
			# Plus la valeur en pixels est haute, plus la valeur en vw devra être basse et plus la transition de la taille de police sera douce.
			*/
    font-size: clamp(3.5rem, 1.5vw + 30px, 4.8rem)
}

.single-product .woocommerce-product-gallery {
    margin-bottom: 2rem;
    max-width: unset;
}

.single-product .wp-post-image {
    max-height: 100%;
}

.single-product .stock {
    font-size: 1.6rem;
}

.single-product .cart {
    display: flex;
    gap: 1.5rem;
}

.single-product .summary {
    margin-bottom: 2rem;
}

.single-product .summary p.price {
	color: white;
	background-color: var(--primary-color);
	text-align: center;
	border-radius: 20px;
	border: 4px solid var(--primary-color);
	padding: 1rem;
	margin-bottom: 0;
}

.single-product .cart .quantity input {
    border-radius: 20px;
    border: 4px solid #FFA149;

    background-color: transparent;
}

.single-product .cart button {
    border-radius: 20px;
    border: 4px solid #FFA149;

    background-color: transparent;

    text-transform: none;
    color: #353535;
}

.single-product .summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.single-product .summary>.price {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

.single-product .summary>.cart {
    flex-grow: 1000;
    flex-shrink: 1;
    flex-basis: 350px;
}

.single-product .description_tab {
    font-size: 1.6rem;
}

/* Twenty Twenty override */
.single-product .woocommerce-tabs ul li.active a {
    color: var(--primary-color);
}

/* Twenty Twenty override */
.single-product .tabs li {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

.single-product .tabs li:not(:first-child) {
    margin-left: 1rem;
}

.single-product .wp-block-table {
    margin-inline: 0;
    max-width: 100% !important;
    width: unset !important;
}

.single-product .wp-block-table table {
    margin-block: clamp(2rem, 7vw, 4rem);
}

/* Twenty Twenty override */
.single-product .woocommerce-Tabs-panel ul {
    margin-left: 3.5rem;
}

/* TwentyTwenty override */
.single-product.woocommerce .related.products ul.products,
.single-product .upsells .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(110px, 20vw, 200px)), 1fr));
    justify-content: space-between;
    row-gap: 1.5rem;
    column-gap: 2rem;
}

/* TwentyTwenty override */
.single-product.woocommerce ul.products[class*=columns-] li.product,
.woocommerce-page ul.products[class*=columns-] li.product {
    width: auto;
}

/* TwentyTwenty override */
.single-product .woocommerce .related.products ul.products li.product,
.woocommerce-page .related.products ul.products li.product {
    margin-bottom: 0;
}

/* WooCommerce override */
.single-product ul.products::before,
.single-product ul.products::after {
    content: unset;
}

.single-product .product-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.single-product .up-sells>h2,
.single-product .related>h2 {
    font-size: 3rem;
    border-bottom: 2px solid var(--primary-color);
    margin-block: 2rem 1.5rem;
}

/* ###### SHORT DESCRIPTION (namespace : .woocommerce-product-details__short-description)*/

.single-product .woocommerce-product-details__short-description {
	background-color: rgb(240,240,240);
	border-radius: 25px;
	padding: 2rem;
}

.single-product .woocommerce-product-details__short-description  {
	font-size: 2.2rem;
}

@media screen and (max-width: 600px) {
	.single-product .woocommerce-product-details__short-description {
		font-size: 1.8rem;
	}
}
	
.single-product .woocommerce-product-details__short-description h2 {
	font-size: 3.2rem;
}

.single-product .woocommerce-product-details__short-description p + h2 {
	margin-block: 3rem 1rem;
}

.single-product .woocommerce-product-details__short-description [style] {
    font-size: 1.6rem !important;
}

/* #endregion */

/* #region SIMPLE PRODUCT (namespace : parent + .product-type-simple) ####*/

.product-type-simple .cart button {
    flex-grow: 1;
    flex-shrink: 1;
}

/* #endregion */

/* #region VARIABLE PRODUCT (namespace : .product-type-variable) #### */

.product-type-variable .variations-selection> :not(:last-child) {
    margin-bottom: 1rem;
}

.product-type-variable .variations {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.product-type-variable .variation {
    position: relative;

    flex-grow: 1;
}

.product-type-variable .variation .icon {
    --icon-size: 10px;

    position: absolute;
    inset: 50% 1rem auto auto;
    translate: -100% -50%;
    width: var(--icon-size);
    aspect-ratio: 1;
    display: block;

    rotate: 45deg;
}

.product-type-variable .variation .icon::before,
.variation .icon::after {
    --line-thickness: 2px;

    content: "";
    position: absolute;
    background-color: black;
}

.product-type-variable .variation .icon::before {
    inset: 0 0 calc(var(--icon-size) - var(--line-thickness)) 0;
}

.product-type-variable .variation .icon::after {
    inset: 0 0 0 calc(var(--icon-size) - var(--line-thickness));
}

.product-type-variable .variation select {
    min-width: 100%;
    text-align: center;
    border: 4px solid #E8E8E8;
    padding: 1rem;
    border-radius: 20px;
    font-size: 1.5rem;
    appearance: none;
}

.product-type-variable .woocommerce-variation-description {
    font-size: 1.6rem;
}

.product-type-variable .product-type-variable select {
    min-width: 100%;
    text-align: center;
    border: 4px solid #E8E8E8;
    padding: 1rem;
    border-radius: 20px;
    font-size: 1.5rem;
    appearance: none;
}

.product-type-variable .single_add_to_cart_button {
    width: 100%;
}