/* ------------------------------
   CART LAYOUT (Shopify-style)
--------------------------------*/
.cart-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.cart-items {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ------------------------------
   CART ITEM
--------------------------------*/
.cart-item {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.cart-item-main {
    display: flex;
    gap: 20px;
}

.cart-item-image img {
    width: 150px;
    border-radius: 6px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.cart-item-name:hover {
    text-decoration: underline;
}

.cart-item-model,
.cart-item-options small,
.cart-item-reward,
.cart-item-recurring small {
    font-size: 14px;
    color: #666;
}

/* ------------------------------
   QUANTITY CONTROLS
--------------------------------*/
.cart-item-meta {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cart-item-qty {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-qty-label {
    font-size: 14px;
    color: #555;
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-qty {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 22px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-qty:hover {
    background: #f7f7f7;
}

.cart-qty-input {
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* ------------------------------
   ITEM PRICING
--------------------------------*/
.cart-item-pricing {
    text-align: right;
}

.cart-item-price,
.cart-item-total {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-item-price-value,
.cart-item-total-value {
    font-weight: 600;
    margin-left: 5px;
}

/* Free shipping badge */
.free-shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #ff8d00;
}

.free-shipping-icon {
    width: 28px;
}

/* ------------------------------
   ORDER SUMMARY (Right Column)
--------------------------------*/
.cart-summary {
    width: 340px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.cart-summary .table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.cart-checkout-btn,
.cart-express-btn {
    min-width: 332px;
    padding: 14px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 100px;
    margin-top: 15px;
}

/* Express checkout banner */
.express-payment-btn {
    display: block;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 991px) {
    .cart-layout {
        flex-direction: column;
    }

    .cart-summary {
        width: 100%;
        position: static;
    }
}

@media (max-width: 600px) {
    .cart-item-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cart-item-meta {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cart-item-pricing {
        text-align: center;
    }
}
