/* WooCommerce Fake Sale Notification Styles */
/* VERSION: ĐÃ BỎ NÚT CLOSE */

.woo-fake-sale-notification {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 15px !important;
    max-width: 380px !important;
    z-index: 999999 !important;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: none !important;
}

.woo-fake-sale-notification.show {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.woo-fake-sale-notification.hide {
    opacity: 0 !important;
    transform: translateY(100px) !important;
}

.woo-fake-sale-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.woo-fake-sale-image {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.woo-fake-sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.woo-fake-sale-text {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.woo-fake-sale-message {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.4;
}

.woo-fake-sale-location {
    color: #333;
    font-weight: 600;
}

.woo-fake-sale-product-link {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s ease;
}

.woo-fake-sale-product-link:hover {
    color: #3498db;
    text-decoration: underline;
}

.woo-fake-sale-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .woo-fake-sale-notification {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        padding: 12px !important;
    }
    
    .woo-fake-sale-image {
        width: 60px;
        height: 60px;
    }
    
    .woo-fake-sale-content {
        gap: 10px;
    }
    
    .woo-fake-sale-message {
        font-size: 12px;
    }
    
    .woo-fake-sale-product-link {
        font-size: 13px;
    }
    
    .woo-fake-sale-time {
        font-size: 11px;
    }
    
    .woo-fake-sale-text {
        padding-right: 5px;
    }
}

@media (max-width: 480px) {
    .woo-fake-sale-notification {
        bottom: 5px !important;
        left: 5px !important;
        right: 5px !important;
        padding: 10px !important;
    }
    
    .woo-fake-sale-image {
        width: 55px;
        height: 55px;
    }
}

/* Animation cho bounce effect */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
    70% {
        transform: translateY(5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.woo-fake-sale-notification.bounce-in {
    animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}