.et_pb_section_1_tb_header {
    padding: 0px !important;
}

.et_pb_section_3_tb_header {
    padding: 20px 0px !important;
    padding-bottom: 20px !important;
}

.et_pb_section_3_tb_header .et_pb_row_1_tb_header {
    padding-bottom: 20px !important;
}

.et_pb_section_3_tb_header .et_pb_row_1_tb_header .et_pb_image {
    margin-left: unset !important;
}

.et_pb_column {
    z-index: unset;
}

.wpf_slider.ui-slider .ui-widget-header {
    background: #202A37 !important;
}

table.variations tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 0px !important;
}

table.variations label {
    color: #000;
    /* Text/Small/Regular */
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 150%;
    /* 24px */
}

table.variations select {
    display: flex;
    padding: 12px !important;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    border-radius: var(--spacing-radius-radius-xs, 4px);
    border: 1px solid rgba(31, 41, 55, 0.20);
    background: #F8F9FA;
}

table.variations select option {
    color: var(--text-text-body, #414141);

    /* Text/Regular/Normal */
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

table.variations select::placeholder {
    color: var(--text-text-body, #414141);

    /* Text/Regular/Normal */
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
}

table.variations .value {
    padding: 0 !important;
}

table.variations .value>span::after {
    content: none !important;
}

.woocommerce-variation-add-to-cart,
form.cart {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Quantity input styling */
.quantity::before {
    content: "Aantal";
    display: block;
    color: #000;
    font-family: Outfit;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 24px */
    margin-bottom: 8px;
}

.quantity {
    display: flex;
    flex-direction: column;
}

.quantity input[type="number"] {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(31, 41, 55, 0.20);
    background: #F8F9FA;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

/*
 * Divi's generated CSS caps the quantity input (4.3em on product pages,
 * 25% in the cart module) with 16px side padding, so anything past two
 * digits gets clipped. Give it a fixed, roomy width everywhere.
 */
.woocommerce .quantity input.qty,
.woocommerce-page .quantity input.qty,
.woocommerce .et_pb_wc_add_to_cart .quantity input.qty,
.woocommerce .et_pb_wc_cart_products .quantity input.qty,
.woocommerce-page .et_pb_wc_cart_products .quantity input.qty {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 100% !important;
    padding: 12px;
    font-size: 16px;
    text-align: left;
}

/* Cart thumbnails: WooCommerce defaults them to 32px, far too small. */
.woocommerce-cart table.cart td.product-thumbnail img,
.woocommerce table.cart td.product-thumbnail img {
    width: 96px;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.et_pb_tab_content,
.et_pb_tab_content p {
    font-family: 'Outfit', Helvetica, Arial, Lucida, sans-serif !important;
}

/* Table specifications styling */
.et_pb_tab_content table:not(.woocommerce-product-attributes) {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    border-radius: 8px;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) th,
.et_pb_tab_content table:not(.woocommerce-product-attributes) td {
    padding: 12px;
    border: 1px solid rgba(31, 41, 55, 0.20);
    text-align: left;
    /* font-family: 'Roboto', sans-serif; */
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) th {
    background: #F8F9FA;
    color: #000;
    font-weight: 600;
}

.et_pb_tab_content table tbody tr td {
    font-family: 'Outfit', Helvetica, Arial, Lucida, sans-serif !important;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tbody tr:nth-child(even) td {
    background: #F8F9FA;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tbody tr:nth-child(odd) td {
    background: #FFFFFF;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tbody {
    border-radius: 8px;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:hover {
    background: #F1F5F9;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:hover td {
    background: #F1F5F9;
    color: #000;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:hover th {
    background: #F1F5F9;
    color: #000;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:hover td,
.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:hover th {
    transition: background-color 0.3s ease;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:first-child td {
    background: #2D3E7C !important;
    color: #fff;
    font-weight: 600;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:first-child td:first-child {
    border-top-left-radius: 8px;
}

.et_pb_tab_content table:not(.woocommerce-product-attributes) tr:first-child td:last-child {
    border-top-right-radius: 8px;
}


/* Two-column tables */
.et_pb_tab_content table.table-two-col:not(.woocommerce-product-attributes) {
    table-layout: auto;
}

.et_pb_tab_content table.table-two-col:not(.woocommerce-product-attributes) tr > *:first-child {
    white-space: nowrap;
}

.et_pb_tab_content table.table-two-col:not(.woocommerce-product-attributes) tr > *:last-child {
    width: auto;
}

/* Three-column tables */
.et_pb_tab_content table.table-three-col:not(.woocommerce-product-attributes) {
    table-layout: fixed;
    width: 100%;
}

.et_pb_tab_content table.table-three-col:not(.woocommerce-product-attributes) tr > * {
    width: 33.3333%;
}



.et_pb_tabs_controls {
    display: flex;
    /* justify-content: center; */
    gap: 10px;
}

.et_pb_tabs_controls li {
    background-color: transparent !important;
    border-right: unset !important;
    border-left: unset !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid transparent !important;
}

.et_pb_tabs_controls li a {
    padding: 0 !important;
}

.et_pb_tabs_controls li:hover {
    border-bottom: 1px solid #121212 !important;
    color: #2D3E7C !important;
}

.et_pb_tabs_controls li.et_pb_tab_active {
    border-bottom: 1px solid #121212 !important;
}

/* Checkout */
.woocommerce-input-wrapper input[type="text"] {
    border-radius: 4px 4px 4px 4px !important;
    overflow: hidden !important;
    border-width: 1px !important;
    background-color: #fff !important;
    border-color: #a0a0a0 !important;
    padding-top: 13px !important;
    padding-bottom: 13px !important;
}


/* ↓ single product gallery ↓ */

@media (min-width: 980px) {
    /*
     * Layout: thumbnailkolom links, hoofdafbeelding rechts.
     *
     * Flexbox i.p.v. grid. De WooCommerce/Divi-gallerij heeft niet altijd
     * dezelfde directe kinderen: vóór FlexSlider-init staat er enkel een
     * .woocommerce-product-gallery__wrapper; erna een .flex-viewport plus
     * een .flex-control-thumbs. Een grid met vaste kolommen plaatste de
     * hoofdafbeelding daardoor in de smalle 86px-kolom (minuscuul beeld,
     * geen thumbs). Flex met row-reverse werkt voor beide gevallen:
     * thumbs links, hoofdafbeelding vult de resterende ruimte.
     */
    .woocommerce div.product div.images .woocommerce-product-gallery,
    .et-db #et-boc .et-l .et_pb_wc_images .woocommerce-product-gallery.images {
        display: flex !important;
        flex-direction: row-reverse; /* DOM [beeld, thumbs] → visueel [thumbs, beeld] */
        align-items: flex-start;
        gap: 16px;
        width: 100% !important;
    }

    /* Hoofdafbeelding-gebied: vult de resterende ruimte (werkt vóór én na init). */
    .woocommerce div.product div.images .woocommerce-product-gallery > .flex-viewport,
    .woocommerce div.product div.images .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        max-width: 100%;
        height: auto !important;
        overflow: hidden;
    }

    /* Thumbnailkolom: vaste breedte, verticaal gestapeld. */
    .woocommerce div.product div.images .flex-control-thumbs {
        flex: 0 0 86px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 8px !important;
        border: 0.5px solid rgba(31, 41, 55, 0.20);
        overflow: hidden;
        cursor: pointer;
    }

    /*
     * Thumbnails: net vierkant raster — bewust bijgesneden met object-fit:
     * cover zodat de thumbnailkolom een gelijkmatige stapel blijft.
     */
    .woocommerce div.product div.images .flex-control-thumbs li img {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 8px !important;
    }

    /*
     * Hoofdafbeelding: VOLLEDIG en ONVERVORMD tonen, ongeacht de
     * beeldverhouding. object-fit: contain voorkomt bijsnijden;
     * width: 100% + height: auto behoudt de natuurlijke verhouding.
     */
    .woocommerce div.product div.images .woocommerce-product-gallery__image {
        width: 100%;
    }

    .woocommerce-product-gallery__image img,
    .woocommerce div.product div.images .woocommerce-product-gallery__image img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
        border-radius: 16px !important;
    }
}

/* ↑ single product gallery ↑ */