.cart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.cart-left,
.cart-right {
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
}
.cart-left h2{
    font-size: 24px;
    margin-bottom: 1rem !important;
    padding-bottom: 1rem;
}
.cart-left {
    flex: 2;
    min-width: 300px;
}

.cart-right {
    flex: 1;
    min-width: 260px;
}

.cart-item {
    display: flex;
    gap: 15px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 20px;
}

.item-img img {
    width: 100px;
    height: auto;
}

.item-details h3 {
    font-size: 16px;
    margin: 0;
}

.item-details p {
    margin: 10px 0 !important;
}

.price .old {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.price .new {
    color: #000;
    font-weight: bold;
    margin-right: 5px;
}

.price .save {
    color: green;
}

.delivery input {
    padding: 5px;
    margin-top: 5px;
    width: 100%;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.item-actions select,
.item-actions button {
    padding: 6px 10px;
    font-size: 14px;
}

.item-actions .remove {
    color: var(--black-color);
    background: #F6D7DA;
    border: none;
    cursor: pointer;
}

.item-actions .fav {
    color: var(--black-color);
    background: #F6D7DA;
    border: none;
    cursor: pointer;
}

.delivery-check {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.delivery-check input {
    flex: 1;
    padding: 5px;
    width: 100%;
}

.delivery-check button {
    background: #F6D7DA;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
}

.summary p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

.summary .green {
    color: green;
}

.summary .total {
    font-weight: bold;
    font-size: 18px;
}

.checkout {
    width: 100%;
    background: var(--black-color);
    color: var(--white-color);
    padding: 10px;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.offer-box {
    background: #fff4e0;
    padding: 10px;
    margin-top: 20px;
    font-size: 14px;
}

.offer-box a {
    color: var(--main-color);
    float: right;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-left,
    .cart-right {
        width: 100%;
    }

    .cart-item {
        flex-direction: column;
        align-items: center;
    }

    .item-actions {
      flex-wrap: wrap;
        align-items: flex-start;
    }
    .cart-left h2{
        font-size: 18px;
        margin-bottom: 0 !important;
    }
}

