﻿:root {
    --shadow-color: rgba(255, 255, 255, 0.15);
    --border-color: #f5c542;
    --background-dark: #1f1f1f;
}

.wishlist-table-area, .discount-area, .subtotal-main-area {
    background-color: var(--background-dark);
    color: white;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.table-responsive {
    overflow-x: auto;
}

.product-image img {
    width: 80px;
    border-radius: 5px;
    border: 1px solid #555;
}

.qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #777;
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--background-dark);
}

.qty-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: none;
    background-color: var(--background-dark);
    color: white;
    font-weight: bold;
}

.qty-btn {
    background-color: #000;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: 0.3s;
}

    .qty-btn:hover {
        background-color: white;
        color: black;
    }

.btn-add-cart {
    padding: 0.6rem 1.4rem;
    background: transparent;
    color: white;
    border: 1.5px solid white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}

    .btn-add-cart:hover {
        background-color: white;
        color: black;
    }

.product-remove button {
    background: none;
    border: none;
    color: #ff6b6b;
    font-size: 18px;
    cursor: pointer;
}

    .product-remove button:hover {
        color: #ff3b3b;
    }

.subtotal-area h2 {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #666;
    padding-bottom: 10px;
}

@@media (max-width: 768px) {
    .wishlist-table-area table {
        font-size: 13px;
    }

    .product-image img {
        width: 60px;
    }

    .shopingcart-bottom-area {
        flex-direction: column;
        gap: 10px;
    }
}


th, td {
    white-space: nowrap;
}

    th:nth-child(1), td:nth-child(1) {
        width: 60px;
    }

    th:nth-child(2), td:nth-child(2) {
        width: 80px;
        text-align: center;
    }

    th:nth-child(3), td:nth-child(3) {
        width: 100px;
    }

    th:nth-child(4), td:nth-child(4) {
        min-width: 150px;
    }

    th:nth-child(5), td:nth-child(5),
    th:nth-child(6), td:nth-child(6),
    th:nth-child(7), td:nth-child(7) {
        text-align: center;
    }

table tbody tr td {
    vertical-align: middle !important; /* vertical center */
    /*     text-align: center; /* horizontal center (optional) */
}
.wishlist-table-area table th,
.wishlist-table-area table td {
    text-align: center;
    vertical-align: middle;
}