/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Child theme for Hello Elementor
Author: Your Name
Author URI: https://yourwebsite.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom CSS below */

/* Custom Mini Cart css */
header .elementor-menu-cart__main .mini-cart-suggestions {
    width: 50%;
    padding: 0 20px 0 5px;
    border-right: 1px solid #d5d8dc;
    margin-right: 20px;
}

header .elementor-menu-cart__main .mini-cart-products {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 20px;
}

header .elementor-menu-cart__main .mini-cart-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #d5d8dc;
    padding-bottom: 20px;
}

header .elementor-menu-cart__main .mini-cart-product>img {
    width: 60px;
    height: auto;
}

header .elementor-menu-cart__main .mini-cart-product>div {
    padding-left: 18px;
    padding-right: 15px;
    width: 100%;
}

header .elementor-menu-cart__main .mini-cart-product .add img {
    min-width: 20px;
    width: 20px;
}

header .elementor-menu-cart__main .mini-cart-product .add {
    display: block;
    line-height: 0;
}

header .elementor-menu-cart__main .mini-cart-product>div a {
    font-size: 17px;
    line-height: 24px;
    color: #000000;
    font-family: 'Alegreya';
    display: block;
}

header .elementor-menu-cart__main .mini-cart-suggestions h4 {
    font-family: 'Alegreya';
    font-size: 22px;
}

header .elementor-menu-cart__main .mini-cart-product span.woocommerce-Price-amount.amount {
    font-family: 'Poppins';
}

@media only screen and (min-width: 768px) {
    header .elementor-menu-cart__main .widget_shopping_cart_content {
        width: 50%;
    }

    header .elementor-menu-cart__main {
        flex-direction: row;
        width: 650px;
    }

    header .elementor-menu-cart__main .elementor-menu-cart__close-button {
        position: absolute;
        right: 25px;
        top: 15px;
    }
}

@media only screen and (max-width: 767px) {
    header .elementor-menu-cart__main {
        gap: 10px;
        overflow: auto;
    }

    header .elementor-menu-cart__main .elementor-menu-cart__close-button {
        order: 1;
    }

    header .elementor-menu-cart__main .mini-cart-suggestions {
        width: 100%;
        order: 3;
        margin: 20px 0 15px 0;
        padding: 0 10px 0 0;
        border: 0;
    }

    header .elementor-menu-cart__main .widget_shopping_cart_content {
        order: 2;
    }
}