/* Base Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: "Century Gothic";

}

/* Cart Container */
.cart-container {
    display: flex;
    justify-content: space-between;
    box-shadow: 5px 6px 30px #efefef;
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
}

/* Cart Heading */
#cartheading {
    font-size: 48px;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    margin-bottom: 30px;
    /* background: linear-gradient(to right, #6a11cb, #2575fc); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
}

/* Product Table */
.product-tablediv {
    flex: 0 0 65%;
    margin-bottom: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

thead th {
    font-size: 16px;
    padding: 20px;
    background-color: #ecf0f1;
    text-transform: uppercase;
    color: #7f8c8d;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

tbody td {
    padding: 20px;
    text-align: center;
}

.product-image {
    max-width: 80px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

/* Remove Button */
.btn-remove {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-remove:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* Summary Section */
.cart-summary-section {
    flex: 0 0 30%;
    padding: 30px;
    filter: invert(1);
    color: white;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cart-summary-section h2 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 20px;
}

.summary-details {
    font-size: 18px;
    color: #000000;
}

#givecode {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-checkout {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to right, #0e001e, #2575fc);
    color: white;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.5s ease-in-out;
}

.btn-checkout:hover {
    background: linear-gradient(to right, #1c1c1c, #000000);
}

.table>:not(caption)>*>* {
    padding: 1.2rem 1rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
        padding: 20px;
         font-family: "Century Gothic";
    }

    .product-tablediv, .cart-summary-section {
        width: 100%;
    }

    #cartheading {
        text-align: center;
        font-size: 30px;
         font-family: "Century Gothic";
    }

    table {
        font-size: 14px;
         font-family: "Century Gothic";
    }

    thead th, tbody td {
        padding: 10px;
         font-family: "Century Gothic";
    }

    tbody td img {
        width: 50px;
    }

    .cart-summary-section {
        margin-top: 20px;
        padding: 20px;
    }

    .btn-checkout {
        padding: 12px;
    }
    .cart-items-section {
        overflow-y: scroll;
    }
}

@media (max-width: 480px) {
    table {
        font-size: 12px;
         font-family: "Century Gothic";
    }

    #cartheading {
        font-size: 24px;
         font-family: "Century Gothic";
    }

    .btn-checkout {
        padding: 10px;
    }
    .cart-items-section {
        overflow-y: scroll;
    }
}

#quantitytd {
    display: flex;
    gap: 3px;
    height: 101px;
}


#quantitytd > button {
    width: 40px;
    border: none;
    background-color: black;
    height: 70%;
}
#quantitytd > input {
    width: 42px;
    background-color: rgb(255, 255, 255);
    border: none;
    height: 70%;
    font-size: 18px;
    font-weight: 700;
}

#imgtd > img{
    max-height: 60px;
    object-fit: contain;
}

.btn-warning{
    display: block;
    padding: 15px;
    text-align: center;
    background: linear-gradient(to right, #252525, #3d3d3d);
    color: white;
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.5s ease-in-out;
    border: none;
    filter: invert(1);
}
