/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Cart List Styling */
/* Mini Cart General Styles */
.elementor-menu-cart__main {
    width: 80%;
    max-width: 590px;
}

.widget_shopping_cart_content {
    background-color: #ffffff;
    padding: 0;
}

.woocommerce-mini-cart {
    list-style-type: none;
    padding: 0;
}

.mini-cart-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Mini Cart Item Wrapper */
.woocommerce-mini-cart-item .mini-cart-item-wrapper {
    display: flex;
    align-items: flex-start;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: solid 1px #e4e4e4;
}

/* Product Image */
.mini-cart-item-image {
    max-width: 6.5rem;
    max-height: 6.5rem;
    margin-right: 1.2rem;
}

.mini-cart-item-image img {
    object-fit: cover;
    border-radius: 5px;
}

/* Product Details */
.mini-cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.mini-cart-item-title-and-remove {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
	width: 100%;
}

.mini-cart-item-title {
    font-weight: normal;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    max-width: 90%;
}

.mini-cart-item-title a {
    color: #333;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.mini-cart-item-title a:hover {
    color: #0073aa;
}

.mini-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-cart-item-quantity {
    font-size: 14px;
    color: #555;
}

.mini-cart-item-remove {
    background: #fff;
    cursor: pointer;
    border: none;
    padding: 0;
    max-width: 2.3rem;
    max-height: 2.3rem;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, .1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-item-remove a {
    background: #00000000;
    color: #000;
    padding: 10px;
}

.mini-cart-item-remove a:hover {
    color: #cc0000;
}

.mini-cart-item-qty-and-price {
    display: flex;
    justify-content: space-between;
}

/* Mini-Cart Notice Styling */
.woocommerce-mini-cart__notice {
    background-color: #fff3cd; /* Light yellow background for a warning-style notice */
    color: #856404; /* Dark brown text for readability */
    border: 1px solid #ffeeba; /* Border matching the background for a softer look */
    border-radius: 4px; /* Rounded corners for a modern feel */
    padding: 10px 15px; /* Padding for some breathing space */
    font-size: 14px; /* Slightly larger font for better readability */
    font-weight: 500; /* Medium font weight for emphasis */
    display: flex;
    align-items: center;
    margin-bottom: 10px; /* Some space below the notice */
}

/* Adding an icon to the notice */
.woocommerce-mini-cart__notice::before {
    content: "\26A0"; /* Unicode for a warning icon */
    font-size: 18px;
    margin-right: 10px; /* Space between icon and text */
    color: #856404; /* Same color as text */
}

/* Blue notice styling for the free shipping messages */
.woocommerce-mini-cart__shipping-notice, .woocommerce-notice.notice {
    background-color: #e7f5ff; /* Light blue background */
    color: #0c5460; /* Dark blue text */
    border: 1px solid #b8daff; /* Slightly darker border */
    border-radius: 4px; /* Rounded corners */
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Adding an info icon to the notice */
.woocommerce-mini-cart__shipping-notice::before, .woocommerce-notice.notice::before {
    content: "\2139"; /* Unicode for an info icon */
    font-size: 18px;
    margin-right: 10px;
    color: #0c5460; /* Same color as the text */
}


/* WooCommerce Notices */
.woocommerce-mini-cart .woocommerce-error,
.woocommerce-mini-cart .woocommerce-message,
.woocommerce-mini-cart .woocommerce-info {
    margin-bottom: 15px;
}

/* Subtotal */
.woocommerce-mini-cart__total {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right;
}

/* Buttons */
.woocommerce-mini-cart__buttons .button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #0073aa;
    color: #ffffff;
    padding: 12px 0;
    margin-bottom: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.woocommerce-mini-cart__buttons .button:hover {
    background-color: #005c85;
}

/* Adjustments for Empty Cart Message */
.woocommerce-mini-cart__empty-message {
    font-size: 16px;
    color: #555;
    text-align: center;
    padding: 20px 0;
}

.mini-cart__empty-image {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.mini-cart__empty-image img {
    max-width: 250px;
}

.elementor-menu-cart__main .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
    text-align: center;
}


.single-product .single_variation_wrap {
    text-align: center;
}

.single-product .single_variation_wrap .sumosubs_plan_message {
    font-family: "Poppins", sans-serif;
    font-size: 24px;
}

.single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
    margin-top: 20px;
}

.woocommerce-mini-cart__buttons.buttons .button.wc-forward:not(.checkout) {
    background-color: transparent;
    border: solid 2px #546552;
    color: #546552;
    font-family: "Poppins", sans-serif;
}



.woocommerce-mini-cart__buttons.buttons .button.wc-forward.checkout {
    background-color: #546552;
    border: solid 2px #546552;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
}

.woocommerce-mini-cart__buttons.buttons .button.wc-forward:hover {
    background-color: #642912;
    border: solid 2px #642912;
    color: #ffffff;
}

/*Cart page*/
body.woocommerce-cart .shop_table .cart_item .product-thumbnail img {
    width: unset !important;
    max-width: 140px;
}

body.woocommerce-cart .shop_table .cart_item .product-name a {
    font-weight: bold;
}


/*Cart coupon code*/
body.woocommerce-cart .shop_table .coupon {
    display: flex;
    align-items: center;
}

body.woocommerce-cart .shop_table .coupon .input-text {
    width: unset !important;
    max-width: 175px;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .mini-cart-title-and-quantity {
        margin-left: 10px;
    }

    .mini-cart-item-details {
        align-items: flex-start;
        width: 100%;
    }

    .mini-cart-item-bottom {
        flex-direction: column;
    }

    .mini-cart-item-remove {
        margin-top: 10px;
    }

    .woocommerce.single-product div.product div.images {
        margin-bottom: 0 !important;
    }

    .woocommerce.single-product div.product form.cart .variations td,
    .woocommerce.single-product div.product form.cart .variations th {
        text-align: left;
        vertical-align: text-top;
    }
}
