/* Cart Button and Quantity Adjuster Styles */
.btn-add-to-cart,
.btn-add-to-cart-outline,
.btn-add-to-cart-modal {
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add-to-cart:hover,
.btn-add-to-cart-outline:hover,
.btn-add-to-cart-modal:hover {
    transform: translateY(-2px);
}

/* Quantity Adjuster */
.quantity-adjuster {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 3px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 1px solid #dee2e6;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.minus-btn {
    color: #dc3545;
}

.plus-btn {
    color: var(--primary-color, #0d6efd);
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.minus-btn:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

.plus-btn:hover {
    background-color: var(--primary-color, #0d6efd);
    color: white;
    border-color: var(--primary-color, #0d6efd);
}

.quantity-value {
    font-weight: 600;
    color: #343a40;
    padding: 0 8px;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    min-width: 250px;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
}

.toast-notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background-color: var(--primary-color, #0d6efd);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.toast-notification.toast-error::before {
    background-color: #dc3545;
}

.toast-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary-color, #0d6efd);
}

.toast-notification.toast-error .toast-icon {
    color: #dc3545;
}

.toast-message {
    font-size: 0.9rem;
    color: #343a40;
}

/* Cart badge animation */
.badge-animated {
    animation: badge-pulse 0.3s ease-in-out;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

/* Toast animations without GSAP */
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(20px);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(20px);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .quantity-adjuster {
        border-radius: 15px;
        padding: 2px;
    }
    
    .quantity-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .quantity-value {
        padding: 0 5px;
        font-size: 0.85rem;
    }
    
    .toast-notification {
        left: 20px;
        right: 20px;
        width: auto;
    }
} 