/* =========================
   CART SECTION
========================= */
.cart-section {
    padding: 60px 6%;
    font-family: "DM Sans", sans-serif;
    background: #f9fafb;
}

.cart-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* =========================
   LEFT SIDE
========================= */
.cart-left {
    flex: 2;
}

.cart-left h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.cart-count {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 25px;
}

/* =========================
   CART ITEM CARD
========================= */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-3px);
}

/* IMAGE */
.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

/* INFO */
.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.item-size {
    font-size: 15px;
    color: #6b7280;
}

/* QUANTITY */
.quantity-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-box button {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.quantity-box button:hover {
    background: #e5e7eb;
}

.quantity-box span {
    font-size: 18px;
    font-weight: 600;
}

/* PRICE */
.item-price {
    font-size: 18px;
    font-weight: 700;
    color: #f97316;
}

/* REMOVE BUTTON */
.remove-btn {
    font-size: 14px;
    color: #ef4444;
    cursor: pointer;
    margin-top: 5px;
}

/* =========================
   RIGHT SIDE (SUMMARY)
========================= */
.cart-right {
    flex: 1;
}

.summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 40px;
}

.summary-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    margin-top: 25px;
}

/* BUTTONS */
.checkout-btn {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn:hover {
    background: #ea580c;
}

.continue-btn {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: #f3f4f6;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

/* CLEAR ALL */
.clear-all {
    text-align: right;
    font-size: 14px;
    color: #ef4444;
    cursor: pointer;
    margin-bottom: 20px;
}

/* =========================
   EMPTY CART
========================= */
.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 20px;
}
.checkout-btn,
.continue-btn{
    display: inline-block;
    text-decoration: none;
}
/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 900px) {

    .cart-container {
        flex-direction: column;
    }

    .summary-card {
        position: relative;
        top: 0;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item img {
        width: 100%;
        height: 200px;
    }

    .item-info h4 {
        font-size: 22px;
    }

    .quantity-box {
        margin-top: 10px;
    }

}