/* Professional Social Proof Notification */

.flash-sale-notification,
#flash-sale-notification-container {
    position: fixed;
    top: 110px;
    /* Increased to avoid covering the sticky header */
    right: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100000 !important;
    /* Extremely high z-index */
    /* High but below extremely critical modals if any */
    max-width: 320px;
    width: auto;
    transform: translateX(150%);
    /* Hidden by default */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #da1884;
    font-family: 'Inter', sans-serif;
}

.flash-sale-notification.active {
    transform: translateX(0);
}

.flash-notification-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #f0f0f0;
}

.flash-notification-content {
    flex: 1;
}

.flash-notification-title {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.flash-notification-title span {
    color: #da1884;
    font-weight: 700;
}

.flash-notification-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.flash-verified-badge {
    color: #24B800;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.close-flash-notification {
    position: absolute;
    top: 5px;
    right: 8px;
    color: #ccc;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.close-flash-notification:hover {
    color: #999;
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .flash-sale-notification {
        top: 20px;
        /* On mobile, header might be smaller or we accept partial overlap, but top-right requested */
        right: 10px;
        bottom: auto;
        width: auto;
        max-width: 90%;
        transform: translateX(120%);
    }

    .flash-sale-notification.active {
        transform: translateX(0);
    }

    .flash-notification-img {
        width: 50px;
        height: 50px;
    }

    .flash-notification-title {
        font-size: 13px;
    }

    .flash-notification-meta {
        font-size: 11px;
    }
}