/* Wishlist Button Styles */
.product-card {
    position: relative;
}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.wishlist-btn i {
    font-size: 1.3rem;
    color: #dc3545;
    transition: all 0.3s ease;
}

.wishlist-btn.active i {
    font-weight: 900;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toast-notification.error {
    background: #dc3545;
}

.toast-notification.info {
    background: #17a2b8;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wishlist-btn {
        width: 36px;
        height: 36px;
        top: 10px;
        right: 10px;
    }
    
    .wishlist-btn i {
        font-size: 1.1rem;
    }
    
    .toast-notification {
        top: 10px;
        right: 10px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}


* Pre-Order Badge */
.preorder-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-family: 'Vonca', sans-serif;
}

.preorder-badge.out-of-stock {
    background: #6c757d;
    color: #fff;
}

.preorder-badge i {
    font-size: 0.85rem;
}

/* Adjust wishlist button position when badge present */
.product-card:has(.preorder-badge) .wishlist-btn {
    top: 65px;
}

.estimated-ship {
    text-align: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-gray);
}

.estimated-ship small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.estimated-ship i {
    color: var(--gold);
}