/* 
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 */

/* --- Add to Cart Popup Notification --- */

/* We no longer need to hide the default link, as JS removes it. */
/* This section can be removed if you added it before. */

/* 1. Style the new popup container */
.view-cart-popup {
    position: fixed; /* Keeps it in view even when scrolling */
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000; /* Ensures it's on top of other content */
    display: flex;
    align-items: center;
    gap: 15px; /* Adds space between the text and the button */

    /* Animation setup: Hide it by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Start slightly below its final position */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* 2. Style for when the popup is active/visible */
.view-cart-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move it to its final position */
}

/* 3. Style the text inside the popup */
.view-cart-popup p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* 4. Style the 'View Cart' button inside the popup */
.view-cart-popup .button {
    background-color: #28a745; /* A nice green color */
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap; /* Prevents the button text from wrapping */
}

.view-cart-popup .button:hover {
    background-color: #218838; /* A darker green on hover */
    color: #fff;
}