/*
Theme name: Child Thema
Description: Child theme voor de website van Bouwmeester
Template: hello-elementor
*/

.elementor-widget-search .e-search-form { max-width: 500px; margin: 0 auto; }
.elementor-widget-search .e-search-input { height: auto; }

/* Product page */
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price { color: var(--e-global-color-primary); }

.woocommerce div.product p.price { margin-bottom: 0; }
.woocommerce div.product p.price ins, .woocommerce div.product span.price ins { font-weight: 500; }
.woocommerce div.product p.price del, .woocommerce div.product span.price del { opacity: 1; }

.woocommerce .product table { font-size: inherit; font-family: var(--e-global-typography-text-font-family), Sans-serif; }
.woocommerce .product table.shop_attributes { border-top: 0; }
.woocommerce .product table.shop_attributes th { width: 50%; }
.woocommerce .product table td, .woocommerce .product table th { border: 0; border-bottom: 1px #ccc solid; text-align: left; padding-left: 0; padding-right: 0; font-weight: normal; }
.woocommerce .product table.shop_attributes td { font-style: normal; }
.woocommerce .product table tbody>tr:nth-child(odd)>td, .woocommerce .product table tbody>tr:nth-child(odd)>th { background-color: transparent; }
.woocommerce .product table.shop_attributes tr:nth-child(even) td, .woocommerce .product table.shop_attributes tr:nth-child(even) th { background-color: transparent; }

.carousel-main { background: #fff; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; }
.carousel-main .slide-inner {  }
.carousel-main .slide-inner img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.carousel-cell { width: 100%; height: 350px; border-radius: 5px; overflow: hidden; }
.carousel-nav .carousel-cell { height: 100px; width: 100px; padding: 10px; background: #fff; margin-right: 15px; border: 1px solid #ccc; }
.carousel-nav .carousel-cell.is-nav-selected { border: 1px solid #111111; }
.carousel-nav .carousel-cell .slide-inner { width :100%; height: 100%; position: relative; }
.carousel-nav .carousel-cell .slide-inner img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }

.pre-order-label { position: absolute; top: 30px; left: 0; background: #41a219; color: #fff; padding: 5px 10px; font-size: 13px; font-weight: 700; border-radius: 0 3px 3px 0; z-index: 97; }

.custom-usp { list-style: none; padding: 0; margin: 0; }
.custom-usp .swiper-slide .item { display: flex; align-items: center; color: var( --e-global-color-primary ); font-size: 14px; }
.custom-usp .swiper-slide .item svg { fill: #5CA036; }
.custom-usp .swiper-slide .elementor-icon-list-icon { width: 16px; height: 16px; display: block; margin-right: 10px; }

@media (max-width: 768px) {

    .custom-usp .swiper-slide .item { justify-content: center; }

}

/* Category */
.woocommerce ul.products li.product { padding-bottom: 90px !important; }
.woocommerce ul.products li.product a img { height: 240px; object-fit: contain; }
.woocommerce ul.products li.product .price { position: absolute; left: 12px; bottom: 44px;}
.woocommerce ul.products li.product .price ins { font-weight: 500; }
.woocommerce ul.products li.product .price del { opacity: 1; }
.woocommerce ul.products li.product .button { width: calc(100% - 24px); text-align: center; position: absolute; bottom: 12px; left: 12px; }
.elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link { position: initial !important; }

/* Elementor */
.elementor-menu-cart__subtotal strong { font-weight: 500; }

/* Woocommerce */

.button.wc-forward { display: none; }

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { float: none; width: 100%; font-size: 20px; }

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
    background-color: #5CA036;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
    background-color: #427525;
}

:is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart.variations_form .woocommerce-variation-add-to-cart, :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form) {
    flex-wrap: wrap;
}

.wc-pao-addons-container { width: 100%; }

.wc-pao-addon { padding: 0; }
.wc-pao-addon label.wc-pao-addon-name { margin-bottom: 15px; font-weight: 600; }
.woocommerce form .wc-pao-addon .form-row { padding: 0; margin: 0 0 20px 0; }

div.product-addon-totals { margin: 0 0 20px 0; padding: 0; border: 0; }
div.product-addon-totals ul li { display: none; }
div.product-addon-totals ul li.wc-pao-subtotal-line { display: block; }
div.product-addon-totals .wc-pao-subtotal-line { border-top: 0; padding: 0; margin: 0; }

.wc-pao-subtotal-line .price .amount { color: var( --e-global-color-secondary ); font-size: 26px; font-weight: 500; }

#add_payment_method #payment ul.payment_methods li img, .woocommerce-cart #payment ul.payment_methods li img, .woocommerce-checkout #payment ul.payment_methods li img {
    float: left; margin-left: 0; margin-right: 0.6em;
}

#add_payment_method #payment ul.payment_methods li input, .woocommerce-cart #payment ul.payment_methods li input, .woocommerce-checkout #payment ul.payment_methods li input {
    margin: 0 0.5em 0 0;
}

#ship-to-different-address { font-size: 16px; font-weight: 500; }
#ship-to-different-address-checkbox { margin-right: 6px; }

.product-levertijd { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.product-levertijd span { display: flex; width: 20px; height: 20px; align-items: center; }
.product-levertijd span svg { width: 100%; height: 100%; object-fit: contain; }