/*
Theme Name: Candy Festival
Theme URI: https://www.candyfestival.nl/
Author: Het Creatieve Bureau
Author URI: https://www.hetcreatievebureau.nl/
Description: Official Child Theme
Version: 1.1
Template: porto
*/


/* MAIN */
body.boxed .page-wrapper {
    border: none;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:767px){
	body.boxed .page-wrapper {
	 -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
}

/* END of MAIN */


/* HEADER */
.header-usp {
    padding: 7px 0 5px;
    color: #000;
}

.header-usp ul {
    display: flex;
    list-style: none;
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap: 10px;
    border: none !important;
}

.header-usp ul li {
    flex: 1 1 auto;
    text-align: center;
    border: none !important;
}

.header-usp ul li:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #8cc63e;
    content: '\f058';
    font-size: 14px;
    margin-right: 10px;
}

/* END of HEADER */


/* CART */

.cart-v2 .card.card-default {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

dl.variation dt {
    font-weight: 700;
    color: #000;
    display: block;
}

dl.variation dd {
    margin-bottom: 10px;
}

.shop_table dt, .shop_table dd {
    margin: 0;
    display: block;
}

.shop_table td {
    vertical-align: top;
}

#payment .payment_methods li[class*="payment_method_pay_gateway"] div {
    width: 100%;
}

.order-total .includes_tax {
    display: block;
}

.order-total .includes_tax .amount {
    font-size: 0.875em !important;
}

/* END of CART */



/* CHECKOUT */
.checkout-order-review .shop_table td {
    padding: 5px 10px;
}

.woocommerce-cart h4, .woocommerce-checkout h4, .woocommerce-order-details h4 {
    line-height: 18px;
}

.payment_methods .porto-control-label {
    font-weight: 700;
    color: #333;
}

#payment .payment_methods li[class*="payment_method_pay_gateway"] img {
    margin: 0 !important;
}

.wps_upsell_offer_discount_section h3, #wps_upsell_offer_main_id_1 .wps_upsell_offer_discount_section h3 {
    font-size: 20px !important;
}

.wps_upsell_offer_discount_section h4, #wps_upsell_offer_main_id_1 .wps_upsell_offer_product_section h4 {
    font-size: 20px !important;
}

#wps_upsell_offer_main_id_1 p.wps_upsell_offer_product_price {
    margin-bottom: 5px !important;
}

#wps_upsell_offer_main_id_1 .wps_upsell_offer_img {
    max-width: 150px !important;
    max-height: 150px !important;
}

.showcoupon {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    margin-bottom: 10px;
    display: block;
}

.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle {
    font-size: 14px;
}

.woocommerce-checkout input[type=email], .woocommerce-checkout input[type=password], .woocommerce-checkout input[type=tel], .woocommerce-checkout input[type=text] {
    line-height: 1.6;
}

.elementor-143 .elementor-element.elementor-element-28f1fba {
    margin-top: 0 !important;
}

/* END of CHECKOUT */




/* PRODUCT PAGES */

.wapo-addon-description {
    display: block;
    width: 100%;
}

.yith-wapo-block .yith-wapo-addon .options.per-row-4 {
    display: flex !important;
    flex-flow: row wrap !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    gap:  0 !important;
}

.yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option {
    flex: 0 0 25%;
    max-width: 25% !important;
    float: none !important;
    margin: 0;
    display: flex;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    margin: 0 0 1.2rem;
}

.yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option .image {
    max-width: 100% !important;
}

.single_add_to_cart_button, .view-cart-btn {
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.product-summary-wrap .single_add_to_cart_button {
    background: #009d4d;
}

.product-summary-wrap .single_add_to_cart_button:hover {
    border-color: #008441;
    background-color: #008441;
}

.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-label .label_container {
    display: inline-block;
    width: 100%;
}

.yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option label {
    text-align: center !important;
    font-size: 12px;
    font-weight: 600;
    color: #000;
}


.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-label .label_container.content-align-left .label-container-display {
    align-items: center;
    text-align: center;
}

/*.postid-2039 .product-summary-wrap .summary-before {*/
/*    display: none !important;*/
/*}*/

/*.postid-2039 .product-summary-wrap .entry-summary {*/
/*    width: 100% !important;*/
/*}*/

.postid-2039 .woocommerce-tabs {
    display: none !important;
}

.btn-add-card {
    margin-top: 10px;
}

#wapo-total-price-table table {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
}

#wapo-total-price-table table th {
    padding-left: 0;
}

.yith-wapo-block .yith-wapo-addon.yith-wapo-addon-type-textarea .yith-wapo-option textarea {
    min-height: 150px;
}

.wapo-addon-description {
    margin-bottom: 0;
}

.wapo-addon-title {
    margin-bottom: 0;
}

.add-card-button {
	margin-top: 10px;
}

.popular-products .category-list, .owl-stage .category-list {
    display: none;
}

ul.products .category-list {
    display: none;
}

.single-product .product-summary-wrap .price {
    font-size: 1rem;
}

.single-product .woocommerce-Price-amount.amount {
    font-size: 1.5rem;
}

.widget_shopping_cart .single-product .product-summary-wrap .price {
    font-size: 1rem;
}

/* END of PRODUCT PAGE */



/* CATEGORY PAGE */

li.product-outimage .add-links .button, li.product-outimage .add-links .quickview, li.product-outimage .add-links .yith-wcwl-add-to-wishlist a, li.product-outimage .add-links .yith-wcwl-add-to-wishlist span:not(.yith-wcwl-tooltip) {
    background: var(--porto-primary-color);
    color: #fff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

li.product-outimage .add-links .button:focus, li.product-outimage .add-links .button:hover, li.product-outimage .add-links .quickview:hover, li.product-outimage .add-links .yith-wcwl-add-to-wishlist a:hover {
    background: #f4f4f4;
    color: #333;
}

/* END of CATEGORY PAGE */




/* FOOTER */
#footer {
    background: none;
}

#footer .footer-bottom {
    -webkit-border-bottom-left-radius: 25px;
    -moz-border-bottom-left-radius: 25px;
    border-bottom-left-radius: 25px;
    -webkit-border-bottom-right-radius: 25px;
    -moz-border-bottom-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.footer-payment-img {
    max-width: 250px;
}

/* END of FOOTER */


/* HOMEPAGE */

.home-category-link a:hover img {

}

/* END of HOMEPAGE */


/* MEDIA QUERIES */
@media screen and (max-width: 768px) {

    .header-usp {
        min-height: 40px;
    }

    .header-usp ul {
        flex-direction: column;
        font-size: 12px;
    }

    .footer-usp ul {
        flex-direction: column;
        font-size: 11px;
    }

    .header-usp ul li {
        display: none;
    }

    .yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option {
        min-width: 0 !important;
        padding-left: 0.3125rem !important;
        padding-right: 0.3125rem !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
        margin: 0 0 10px !important;
        float: none !important;
    }

    .page-header-8 {
        padding: 10px 0;
    }

    .page-header-8 .breadcrumb {
        padding-left: var(--porto-fluid-spacing);
        padding-right: var(--porto-fluid-spacing);
    }

    .page-header-8 li {
        line-height: 2.0rem;
    }

    .page-header-8 li a {
        font-size: 0.8rem;
    }

    .page-header-8 li .delimiter.delimiter-2 {
        font-size: 1.2rem;
        margin: 0 5px;
        width: 15px;
    }

    #customer_details {
        order: 2;
    }

    .checkout-order-review {
        order: 1;
    }

    .order-1-sm {
        order: 1;
    }

    .order-2-sm {
        order: 2;
    }

    .order-3-sm {
        order: 3;
    }

}

@media screen and (min-width: 768px) {
    .header-usp {
        display: block;
        margin: 10px 0;
    }

    .home-category-link a:hover img {
        opacity: 0.8;
        transform: scale(0.98);
    }
}

@media screen and (min-width: 1220px) {
    .yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option {
        flex: 0 0 25%;
        max-width: 25% !important;
    }
}

/*@media screen and (min-width: 1600px){*/
/*    .yith-wapo-block .yith-wapo-addon .options.per-row-4 .yith-wapo-option {*/
/*        flex: 0 0 16.5%;*/
/*        max-width: 16.5% !important;*/
/*    }*/
/*}*/


/* END of MEDIA QUERIES */
