/* Basket Page Styles */
.basket-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to left, #4cafef, #7f42a7, #6600c5, #5300e0, #2f6fd6, #4cafef);
    background-size: 200%;
    animation: animationGradient 7s linear infinite;
    box-shadow: 0 0 20px rgba(44,44,120,0.6);
    position: relative;
}

.basket-container::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: linear-gradient(to bottom, #0a0f1f, #0a0d16);
    border-radius: 45px;
    z-index: 1;
    filter: blur(0.5px);
    opacity: 0.97;
}

.basket-container > * {
    position: relative;
    z-index: 2;
}

.basket-container h1,
.basket-container, .wishlist-header, .wishlist-summary, .wishlist-item, .empty-state {
    color: #fff !important;
}

.basket-container h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}



/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 29px 40px;
    position: sticky;
    top: 0;
    background: rgba(10, 15, 30, 0.4); 
    backdrop-filter: blur(12px);        
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    z-index: 999;
}


.empty-state i {
    margin-bottom: 1rem;
    color: #bdc3c7;
}

.continue-shopping-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.continue-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Wishlist Items */
.wishlist-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(90deg, #512da8, #283593);
    border-radius: 10px;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff !important;
    box-shadow: 0 2px 8px #251b6e38;
}

.wishlist-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #4A148C;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.wishlist-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.item-details h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.1rem;
}

.item-details p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.item-price {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.1rem;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.main-btn{
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    position: absolute;
    top: 10px;
    transform: translateX(-20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Wishlist Summary */
.wishlist-summary {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(90deg, #283593 60%, #512da8 100%);
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff !important;
    box-shadow: 0 2px 14px #251b6e33;
}

.total-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #51b400;
}

.checkout-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

#wishlist-content, .wishlist-items {
    background: rgba(22, 20, 40, 0.70);
    border-radius: 18px;
    box-shadow: 0 2px 10px #512da822;
    padding-bottom: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .basket-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .wishlist-header,
    .wishlist-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .wishlist-summary {
        flex-direction: column;
        gap: 1rem;
    }
    
    .item-info {
        flex-direction: column;
        text-align: center;
    }
}

@keyframes animationGradient {
    to {
        background-position: -200%;
    }
}
