/*.swiper-container {
    width: 100%;
    margin-top: 20px !important;
}

.swiper-slide img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.swiper-wrapper {
    display: flex;
}*/

body {
    background-color: #F5F5F5 !important;
}

.woocommerce .woocommerce-breadcrumb {
    margin-top: 60px !important;
    margin-bottom: 20px !important;
    font-weight: 300;
    color: #000000 !important;
}

.woocommerce .woocommerce-breadcrumb a {
    font-weight: 300;
    color: #000000 !important;
}

.woocommerce div.product .product_title {
    margin-bottom: 20px;
}

.woocommerce div.product .price {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 25px !important;
    line-height: 29px;
    color: #000000 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 40px;
}

.woocommerce div.product p.stock {
    font-weight: 400;
    font-size: 14px !important;
    line-height: 18px;
    color: #000000;
}

.woocommerce div.product .product_meta {
    display:none;
}

.woocommerce div.product form.cart .quantity .input-text.qty {
    min-width: 80px;
    height: 48px;
    padding: 5px 8px 5px 12px;
    margin-right: 22px;
    border: 0;
    border-radius: 0;
    background: #FFFFFF;
    color: #000000;
}

.woocommerce div.product form.cart .quantity .input-text.qty:focus {
    outline: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    min-width: 200px;
    height: 48px;
    background-color: #000000;
    border-radius: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
}

/**
* Form variations
*/
.woocommerce div.product form.variations_form .variations {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px !important;
}

.woocommerce div.product form.variations_form .variations tbody>tr:nth-child(odd)>th,
.woocommerce div.product form.variations_form .variations tbody>tr:nth-child(odd)>td {
    background-color: #F7F5FD;
}

.woocommerce div.product form.variations_form .variations tbody>tr:nth-child(even):hover >th,
.woocommerce div.product form.variations_form .variations tbody>tr:nth-child(even):hover >td {
    background-color: #FFFFFF;
}

.woocommerce div.product form.variations_form .variations select {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E7EB;
    border-radius: 0;
}

.woocommerce div.product form.variations_form .variations select:focus {
    outline: none;
}

.woocommerce div.product .woocommerce-tabs {
    padding-top: 40px;
}

.woocommerce .products.related {
    margin-top: 60px;
    margin-bottom: 80px;
}

.woocommerce .products.related h2,
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 24px;
    line-height: 36px;
}

.woocommerce div.product .woocommerce-tabs .panel h3 {
    font-size: 22px;
    line-height: 34px;
}

.woocommerce div.product .woocommerce-tabs .panel h4 {
    font-size: 20px;
    line-height: 32px;
}

.woocommerce div.product .up-sells a img,
.woocommerce .products.related a img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

/**
* Produit similaire
*/
.woocommerce div.product .up-sells .woocommerce-loop-product__title,
.woocommerce .products.related .woocommerce-loop-product__title {
    font-weight: 800;
    font-size: 20px !important;
    line-height: 22px;
    padding-right: 1em !important;
    padding-left: 1em !important;
    color: #000000;
}

.woocommerce div.product .up-sells .price,
.woocommerce .products.related .price {
    font-weight: 300 !important;
    font-size: 20px !important;
    line-height: 22px;
    color: #000000 !important;
    margin-bottom: 1em !important;
    padding-right: 1em;
    padding-left: 1em;
}

.woocommerce div.product .up-sells a.button,
.woocommerce .products.related a.button {
    position: absolute;
    bottom: 25px;
    right: 25px;
    margin-top: 0 !important;
    padding: 0 16px !important;
    height: 48px;
    background-color: #000000 !important;
    border-radius: 0;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 48px !important;
    text-transform: uppercase;
    color: #FFFFFF !important;
}

/**
* Tabs
*/
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs {
    display: flex;
    border-bottom: 1px solid #9CA3AF;
    padding: 0;
    gap: 30px;
    overflow: unset;
}

/* Style des onglets */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li {
    position: relative;
    padding: 2px;
    background-color: transparent !important;
    border: 0;
    font-size: 16px !important;
    line-height: 38px;
}

/* Style du lien dans l'onglet */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li a {
    padding: 0;
    font-weight: 400;
    color: #9CA3AF;
}

/* Onglet actif */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li.active a {
    font-weight: 600;
    color: #000000;
}

/* Ajout du soulignement sous l'onglet actif */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li.active a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
}

/* Réduit l'espace entre les onglets */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li + li {
    margin-left: 5px; /* Ajuste l'espacement entre les onglets */
}

.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 !important;
    content: none !important;
}

/**
* Table des attributs
*/
.woocommerce table.shop_attributes td {
    padding-left: 10px !important;
}

.woocommerce table.shop_attributes tbody>tr:nth-child(odd)>th,
.woocommerce table.shop_attributes tbody>tr:nth-child(odd)>td {
    background-color: #F7F5FD;
}

.woocommerce table.shop_attributes tbody>tr:nth-child(even)>th,
.woocommerce table.shop_attributes tbody>tr:nth-child(even)>td {
    background-color: #80008005;
}