.woocommerce {
    .product {
        padding-top: 100px !important;
        margin-left: auto;
        margin-right: auto;
    }
    div.product {
        padding-left: 5%;
        padding-right: 5%;
        max-width: 1600px;
    }
    div.product .woocommerce-tabs {
        background-color: white;
        max-width: 1600px;
    }
    button.single_add_to_cart_button.button.alt {
        color: var(--color-primary);
        background-color: var(--color-tertiary);
    }
}

.top-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    h1 {
        font-size: clamp(1em, 2vw, 2em);
    }
    .price {
        color: var(--color-5) !important;
        font-weight: 700;
    }
    select {
        padding-left: 10px;
    }
    .woocommerce-product-gallery {
        width: calc(50% - 20px);
        margin: 0 !important;
    }
    .summary.entry-summary {
        width: calc(50% - 20px);
        margin: 0 !important;
    }
    input:not(:placeholder-shown):valid {
        border-color: unset;
        height: 36px;
    }
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0;
}

.wc-tabs {
    li {
        background-color: white !important;
    }
    .active {
        background-color: #f4f4f4 !important;
        color: black;
        z-index: 2;
        border-bottom-color: #f4f4f4 !important;
    }
}

.woocommerce-Tabs-panel {
    background-color: #f4f4f4;
    padding: 50px !important;
    h2 {
        font-size: clamp(1.5em, 2.4vw, 2em);
        margin-bottom: 20px;
    }
}

.woocommerce div.product div.images .flex-control-thumbs li {
    margin-top: 10px;
    margin-right: 10px;
    gap: 10px;
    width: 15%;
}

.bloc-reassurance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 50px;
    padding-bottom: 40px;
    border-radius: 8px;
    text-align: center;
}

.bloc-reassurance .reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    background-color: var(--color-4);
    height: 100px;
}

@media (max-width: 768px) {
    .bloc-reassurance {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .top-wrapper .woocommerce-product-gallery,
    .top-wrapper .summary.entry-summary {
        width: 100%;
    }
}