#product-tabs {
    padding: 80px 20px;
}

#product-tabs.gammes .auto-tabs-wrapper {
    justify-content: space-between;
}

#product-tabs .auto-tabs-wrapper>a {
    font-family: var(--wp--preset--font-family--itc-avant-garde);
    font-weight: var(--wp--custom--font-weight--regular);
    color: var(--wp--preset--color--theme-semi-grey);
    font-size: var(--wp--preset--font-size--h-3);
    text-decoration: none;
    text-align: center;
    line-height: 1.1;
}

#product-tabs.h4-titles .auto-tabs-wrapper>a {
    font-size: var(--wp--preset--font-size--h-4);
    padding: 0;
    margin: 0;
}

#product-tabs .auto-tabs-wrapper>a.current-tab {
    border-bottom: 2px solid var(--wp--preset--color--theme-black);
    color: var(--wp--preset--color--theme-black);
    background-color: transparent;
}

#product-tabs .wp-block-auto-tabs .wp-block-group {
    margin-top: 70px;
}

#product-tabs .wp-block-auto-tabs .wp-block-heading {
    opacity: 0;
}

#product-tabs .wp-block-auto-tabs .wp-block-columns {
    justify-content: space-between;
    gap: 0;
}

#product-tabs .wp-block-auto-tabs .wp-block-columns .wp-block-column {
    max-width: 310px;
    width: 310px;
}

#product-tabs .product-image {
    margin-bottom: 15px;
    height: 400px;
}

#product-tabs .product-image a,
#product-tabs .product-image a img {
    border-radius: 10px;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

#product-tabs .product-title {
    margin-bottom: 10px;
    font-size: 1.2em;
}

#product-tabs p,
#product-tabs a,
#product-tabs h3 {
    text-align: left;
}

#product-tabs .product-title a {
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    color: inherit;
}

#product-tabs .product-title a:hover {
    color: var(--wp--preset--color--theme-forest-green);
}
#product-tabs .product-title a span:first-child {
    display: block;
    font-size: var(--wp--preset--font-size--text-small);
    font-weight: 400;
}

#product-tabs .product-excerpt {
    font-size: 0.95em !important;
    margin-bottom: 10px;
    line-height: 20px;
    font-weight: 400;
    color: #666;
}

#product-tabs .product-rating {
    margin-bottom: 15px;
}

#product-tabs .product-rating .star-rating {
    margin: 0 auto;
}

#product-tabs .rating-count {
    margin-left: 5px;
    font-size: 0.8em;
    color: #666;
}

#product-tabs .product-price {
    margin-bottom: 15px;
}

#product-tabs .product-price p {
    font-style: normal;
    font-weight: 500;
    color: black;
    margin: 0;
}


#product-tabs .product-price strong {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
}

#product-tabs .price-add-to-cart-container>.product-add-to-cart {
    flex-direction: column;
    justify-content: end;
    display: flex;
}
#product-tabs .price-add-to-cart-container>.product-add-to-cart .added_to_cart.wc-forward {
    text-align: right;
    font-size: 13px;
    margin-top: 5px;
}

#product-tabs .product-add-to-cart .button {
    border: 1px solid var(--wp--preset--color--theme-forest-green);
    color: var(--wp--preset--color--theme-forest-green);
    transition: all 0.3s ease;
    justify-content: center;
    padding: 12px 15px 8px;
    text-decoration: none;
    align-items: center;
    border-radius: 2px;
    font-weight: 600;
    display: flex;
    height: 48px;
    gap: 10px;
}

#product-tabs .product-add-to-cart .button::before {
    content: url('http://preprod.bodyguardprotect.fr/wp-content/uploads/2025/07/add-to-cart-1.svg');
}

#product-tabs .product-add-to-cart .button:hover:before {
    content: url('http://preprod.bodyguardprotect.fr/wp-content/uploads/2025/07/add-to-cart-hover.svg');
}

#product-tabs .product-add-to-cart .button:hover {
    background-color: #F66226;
    border-color: #F66226;
    color: #ffffff;
}

#product-tabs .product-add-to-cart .button.disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#product-tabs .price-add-to-cart-container,
#product-tabs .title-rating-container {
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    display: flex;
}

#product-tabs .title-rating-container>*,
#product-tabs .price-add-to-cart-container>* {
    margin: 0;
}

#product-tabs figure {
    position: relative;
}
#product-tabs figure .btn-3 {
    width: calc(100% - 20px);
    transition: .3s all;
    position: absolute;
    bottom: 0px;
    left: 10px;
    opacity: 0;
}
#product-tabs figure:hover .btn-3 {
    bottom: 10px;
    opacity: 1;
}
#product-tabs figure .btn-3 a {
    background-color: #FEF2DE;
    text-align: center;
    border-radius: 2px;
    font-style: normal;
    line-height: 22px;
    font-weight: 500;
    font-size: 16px;
    color: black;
    border: none;
}
#product-tabs figure .btn-3 a:hover {
    background-color: black;
    padding: 12px 25px;
    color: white;
}
#product-tabs figure .btn-3 a:before {
    content: none;
}

#product-tabs .related-product-item .content {
    min-height: 110px;
}

#products-container .related-product-info > a {
    min-height: 130px;
    display: block;
}

#products-container .related-product-add-to-cart a.button {
    margin-top: 0;
}


@media (max-width: 768px) {
    #product-tabs.wp-block-columns {
        flex-direction: column;
    }

    #product-tabs .wp-block-column {
        flex-basis: 100% !important;
        margin-bottom: 30px;
    }
}