.bodyguard-single-product * {
    font-family: var(--wp--preset--font-family--itc-avant-garde) !important;
}

#product-hero {
    padding: 0 20px;
}
#product-hero > .wp-block-columns {
    gap: 60px;
}
#product-hero > .wp-block-columns > .left-col {
    flex-basis: 45%;
}
#product-hero > .wp-block-columns > .right-col {
    flex-basis: 55%;
}

#product-hero .woocommerce-product-gallery img {
    border-radius: 10px;
    max-height: 650px;
    object-fit: cover;
    width: 100%!important;
}
#product-hero .variations label {
    padding-top: 15px;
    font-weight: 600;
    display: block;
    color:black;
}

.woocommerce-product-gallery__trigger {
    background: transparent !important;
    position: absolute !important;
    cursor: zoom-in !important;
    height: 100% !important;
    border: none !important;
    z-index: 10 !important;
    width: 100% !important;
    opacity: 0 !important;
    left: 0 !important;
    top: 0 !important;
}

.woocommerce-product-gallery__image:hover {
    cursor: zoom-in !important;
}

.woocommerce-product-gallery__image:hover::after {
    opacity: 1 !important;
}

.woocommerce-product-gallery,
.woocommerce-product-gallery__image {
    position: relative !important;
}

ol.flex-control-nav.flex-control-thumbs {
    display: none;
}

.bodyguard-single-product h1 {
    line-height: var(--wp--custom--line-height--heading);
    color: var(--wp--preset--color--theme-black);
    font-size: var(--wp--preset--font-size--h-2);
    font-style: normal;
    font-weight: 500;
}
.bodyguard-single-product h1 span {
    display: block;
}
.bodyguard-single-product h1 span:first-child {
    font-size: 0.6em;
}

table.variations tr th.label {
    display: none;
}

.bodyguard-single-product .product-hero__slogan {
    line-height: var(--wp--custom--line-height--heading);
    font-size: var(--wp--preset--font-size--text-small);
    color: var(--wp--preset--color--theme-semi-grey);
    font-style: normal;
}

.bodyguard-single-product .product-hero__price .price {
    line-height: var(--wp--custom--line-height--heading);
    color: var(--wp--preset--color--theme-black);
    font-size: var(--wp--preset--font-size--h-5);
    font-style: normal;
    font-weight: 600;
    margin: 0 0 30px;
}

.bodyguard-single-product .woocommerce-variation-price .woocommerce-Price-amount.amount {
    color: var(--wp--preset--color--theme-black);
    font-size: var(--wp--preset--font-size--h-3);
    font-weight: 600;
}

.bodyguard-single-product .product-hero__description {
    line-height: var(--wp--custom--line-height--heading);
    font-weight: 500;
    font-size: 16px;
    color: black;
}

table.variations tr {
    display: inline-flex;
    width: 500px;
}

table.variations tr th.label {
    padding-right: 10px;
    text-align: left;
    width: 25%;
}

table.variations tr td.value {
    display: inline;
    width: 75%;
}

table.variations tr td.value * {
    width: 100%;
}

table.variations tr td.value select {
    border: 1px solid var(--wp--preset--color--theme-light-grey);
    background-color: var(--wp--preset--color--theme-white);
    line-height: var(--wp--custom--line-height--heading);
    font-size: var(--wp--preset--font-size--text-small);
    color: var(--wp--preset--color--theme-black);
    font-style: normal;
    padding: 15px;
}

.single_variation_wrap .woocommerce-variation-add-to-cart {
    justify-content: space-between;
    display: flex;
    gap: 16px;
}

.woocommerce-variation-price {
    font-size: var(--wp--preset--font-size--h-4);
    margin: 24px 0px;
}

.woocommerce-variation-add-to-cart .custom-quantity,
.product-hero__cart .custom-quantity {
    border: 1px solid var(--wp--preset--color--theme-light-grey);
    justify-content: space-between;
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
    max-width: 33.33%;
    padding: 12px;
    display: flex;
    min-width: 0;
    flex: 1 1 0;
    
}

.woocommerce-variation-add-to-cart .custom-quantity .quantity-minus,
.woocommerce-variation-add-to-cart .custom-quantity .quantity-plus,
.product-hero__cart .custom-quantity .quantity-minus,
.product-hero__cart .custom-quantity .quantity-plus {
    font-size: var(--wp--preset--font-size--text-medium);
    justify-content: center;
    align-items: center;
    background: none;
    box-shadow: none;
    cursor: pointer;
    flex-shrink: 0;
    outline: none;
    display: flex;
    border: none;
    height: 20px;
    width: 20px;
    padding: 0;
    margin: 0;
}

.woocommerce-variation-add-to-cart .custom-quantity .input-text,
.product-hero__cart .custom-quantity .input-text {
    font-size: var(--wp--preset--font-size--text-medium);
    text-align: center;
    background: none;
    box-shadow: none;
    max-width: 40px;
    margin: 0 10px;
    outline: none;
    border: none;
    min-width: 0;
    padding: 0;
    flex: 1;
}

.woocommerce-variation-add-to-cart .custom-quantity .quantity-minus,
.woocommerce-variation-add-to-cart .custom-quantity .quantity-plus,
.product-hero__cart .custom-quantity .quantity-minus,
.product-hero__cart .custom-quantity .quantity-plus {
    color: var(--wp--preset--color--theme-black);
    transition: color 0.3s ease;
    user-select: none;
}

.single_variation_wrap .woocommerce-variation-add-to-cart,
.product-hero__cart form:not(.variations_form) {
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    display: flex;
    gap: 16px;
}

.woocommerce-variation-add-to-cart button,
.product-hero__cart form button {
    max-width: 66.66%;
    min-width: 0;
    flex: 2 1 0;
}

.single_add_to_cart_button,
#related-products-section .add_to_cart_button,
.archive #products-container .add_to_cart_button {
    border: 1px solid var(--wp--preset--color--theme-forest-green) !important;
    color: var(--wp--preset--color--theme-forest-green) !important;
    background-color: transparent !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 10px !important;
    border-radius: 2px !important;
    transition: 0.3s !important;
    font-weight: 600 !important;
    display: flex !important;
    height: 48px !important;
    gap: 10px !important;
    font-size: 15px;
}

.single_add_to_cart_button:hover,
#related-products-section .add_to_cart_button:hover,
.archive #products-container .add_to_cart_button:hover {
    background-color: rgb(246, 98, 38) !important;
    border-color: rgb(246, 98, 38) !important;
    color: rgb(255, 255, 255) !important;
}

.single_add_to_cart_button::before,
#related-products-section .add_to_cart_button::before,
.archive #products-container .add_to_cart_button::before {
    content: url(http://preprod.bodyguardprotect.fr/wp-content/uploads/2025/07/add-to-cart-1.svg) !important;
}

.single_add_to_cart_button:hover::before,
#related-products-section .add_to_cart_button:hover::before,
.archive #products-container .add_to_cart_button:hover::before {
    content: url(http://preprod.bodyguardprotect.fr/wp-content/uploads/2025/07/add-to-cart-hover.svg) !important;
}

#related-products-section .splide__pagination {
    display: none;
}

.product-hero__pharmacy {
    font-size: var(--wp--preset--font-size--text-small);
    text-underline-position: from-font;
    text-decoration-thickness: auto;
    text-decoration-line: underline;
    text-decoration-skip-ink: none;
    text-decoration-style: solid;
    text-underline-offset: auto;
    align-items: center;
    margin: 24px 0px;
    font-weight: 500;
    display: flex;
}

.product-hero__pharmacy::before {
    content: url(http://preprod.bodyguardprotect.fr/wp-content/uploads/2025/07/shop-finder.svg);
    margin-right: 10px;
}

.product-hero__benefits {
    background-color: #FEF2DE;
    padding: 20px;
}

.product-hero__benefits #icon-section {
    padding: 0!important;
}
.product-hero__benefits #icon-section .wp-block-columns {
    gap: 15px!important;
}
.product-hero__benefits #icon-section .wp-block-column p {
    line-height: 17px;
    font-size: 13px!important;
    font-style: normal;
    margin-top: 10px;
    color: black;
    word-break: normal;
}
.product-hero__benefits #icon-section .wp-block-columns .wp-block-column {
    flex-basis: calc(20% - 12px) !important;
    margin-top: 0!important;
}



/* Responsive */
@media (max-width: 1024px) {
    .tab-content-formule {
        flex-direction: column;
        gap: 30px;
    }

    .tab-content-formule .formule-title {
        margin-bottom: 20px;
        text-align: center;
        max-width: none;
        width: 100%;
    }

    .formule-items {
        justify-content: flex-start;
        padding: 0 20px 10px 20px;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .product-tabs {
        padding: 40px 0;
    }

    .tabs-container {
        padding: 0 15px;
    }

    .tab-content-formule {
        gap: 20px;
    }

    .formule-items {
        padding: 0 10px 10px 10px;
        gap: 20px;
    }

    .formule-item {
        padding: 20px 15px;
        min-width: 160px;
        max-width: 200px;
    }

    .formule-item-image {
        margin-bottom: 15px;
        height: 60px;
        width: 60px;
    }

    .formule-title,
    .simple-title {
        font-size: var(--wp--preset--font-size--h-4);
    }

    .formule-item_title {
        font-size: var(--wp--preset--font-size--text);
    }
}

@media (max-width: 480px) {
    .tabs-container {
        padding: 0 10px;
    }

    .formule-item {
        padding: 15px 10px;
        min-width: 140px;
        max-width: 170px;
    }

    .formule-title,
    .simple-title {
        font-size: var(--wp--preset--font-size--h-5);
    }

    .formule-item-description,
    .simple-description {
        font-size: var(--wp--preset--font-size--text-extra-small);
    }
}