@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500&display=swap");

:root {
    --bg: #363fff;
    --bg2: #3138c6;
    --title: #293245;
    --secondary-light: rgb(34, 124, 112, 0.2);
    --secondary-light-2: rgb(127, 183, 126, 0.1);
    --white: #fff;
    --black: #393e46;
    --green: #00FF96;
    --blue: #00A2FF;

    --shadow: 0px 2px 8px 0px var(--secondary-light);
}

*{
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section.cart-container {
    display: flex;
    padding: 300px 10% 50px 10%;
    background: linear-gradient(180deg, #124559, #16184f);
    color: var(--white);
    text-align: center;
    gap: 60px;
    justify-content: space-between;
}

.cart-items {
    flex: 2;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.cart-items h2 {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
}

.cart-item-img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
    padding: 0 20px;
}

.cart-item-title {
    font-weight: bold;
}

.cart-item-desc {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.cart-item-remove {
    color: red;
    font-size: 0.9em;
    cursor: pointer;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
    color: var(--white);
}

.quantity {
    font-size: 1.2em;
}

.cart-item-price {
    font-weight: bold;
}

.cart-summary {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
}

.cart-summary p {
    margin: 10px 0;
}

.cart-total {
    font-size: 1.2em;
    font-weight: bold;
}

.apply-btn {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 5px;
    border-radius: 5px;
}

.checkout-btn {
    width: 100%;
    padding: 10px;
    background: #555;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
    transition: 0.5s;
}

button.checkout-btn:hover{
    background-color: #199BD2;
    transition: 0.5s;
}

.continue-shopping {
    text-align: center;
    margin-top: 10px;
}

.continue-shopping a{
    text-decoration: none;
    color: white;
}