/* Cart Notification Styles */
.cart-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    transition: top 0.4s ease;
    white-space: nowrap;
}

.cart-notification.show {
    top: 24px;
}

/* Cart Items Styles - Tambahkan jika belum ada */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.cart-item-type {
    font-size: 12px;
    color: #666;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #FF8C00;
    margin-top: auto;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f5f5f5;
}

.cart-item-qty {
    font-size: 14px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: #ff4444;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
}

.remove-item:hover {
    text-decoration: underline;
}

/* Cart Badge - Ensure proper positioning */
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #FF8C00;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: none; /* Hidden by default, shown when items > 0 */
}