/* Container Hidden State (Pushed up) */
#savage-sales-popup {
    position: fixed;
    top: -120px; /* Hidden off-screen */
    right: 20px;
    z-index: 999999;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
}

/* Container Visible State (Slid down) */
#savage-sales-popup.savage-popup-visible {
    top: 20px;
    opacity: 1;
    pointer-events: auto;
}

/* Premium Card Design */
.savage-popup-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    padding: 12px 18px 12px 12px;
    width: 320px;
    position: relative;
    border: 1px solid #f0f0f0;
}

/* Checkmark Icon Design */
.savage-popup-icon {
    background: #febd69; /* Premium Orange theme */
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.savage-popup-icon svg {
    width: 20px;
    height: 20px;
}

/* Text Formatting */
.savage-popup-text {
    flex-grow: 1;
}

.savage-popup-text p {
    margin: 0;
    font-size: 13.5px;
    color: #555;
    line-height: 1.4;
}

.savage-popup-text p strong {
    color: #111;
}

.savage-popup-text p span {
    font-weight: 600;
    color: #131921; /* Dark Color for Product */
}

.savage-popup-text small {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* Close Button */
#savage-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

#savage-popup-close:hover {
    color: #333;
}

/* =========================================
   MOBILE RESPONSIVE (TOP CENTER NOTIFICATION)
========================================= */
@media (max-width: 768px) {
    #savage-sales-popup {
        right: 5%;
        left: 5%;
        width: 90%; /* Center properly on mobile */
    }

    #savage-sales-popup.savage-popup-visible {
        top: 15px; /* Thora sa aur upar mobile pe */
    }

    .savage-popup-content {
        width: 100%;
        padding: 10px 15px 10px 10px;
    }

    .savage-popup-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        margin-right: 12px;
    }

    .savage-popup-text p {
        font-size: 12px;
    }
    
    .savage-popup-text small {
        font-size: 10px;
    }
}