/* Mini Cart AJAX Notifications */
.cart-notification {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-notification--success {
    background: #28a745;
}

.cart-notification--error {
    background: #dc3545;
}

.cart-notification--info {
    background: #17a2b8;
}

/* Mini Cart Loading States */
.mini-cart-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

.mini-cart-item.loading .remove_from_cart_button {
    background: #ccc;
    cursor: not-allowed;
}

.mini-cart-qty input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Mini Cart Quantity Controls */
.mini-cart-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-cart-qty input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 14px;
}

.mini-cart-qty .qty-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.mini-cart-qty .qty-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mini-cart-qty .qty-btn:active {
    background: #dee2e6;
}

/* Mini Cart Remove Button */
.remove_from_cart_button {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
    position: absolute;
    top: 8px;
    right: 8px;
}

.remove_from_cart_button:hover {
    background: #c82333;
    transform: scale(1.1);
}

.remove_from_cart_button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

/* Mini Cart Coupon Form */
.coupon-form {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.coupon-form input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.coupon-form button {
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.coupon-form button:hover {
    background: #005a87;
}

.coupon-form button:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Mini Cart Empty State */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-size: 16px;
}

.empty-cart::before {
    /*content: "🛒";
    display: block;
    font-size: 48px;
    margin-bottom: 16px;*/
}

/* Mini Cart Animations */
.mini-cart-item {
    transition: all 0.3s ease;
}

.mini-cart-item.animate-in {
    animation: slideInFromRight 0.3s ease forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mini-cart-item.removing {
    animation: slideOutToRight 0.3s ease forwards;
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.mini-cart-thumb{
    width: 100px;
    height: 150px;
}