.cart-items {
    padding: 10px 14px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: auto;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-name span {
    color: #777;
    font-size: 12px;
    font-weight: 500;
}

.cart-remove-btn {
    border: 0;
    background: transparent;
    color: #888;
    padding: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.cart-remove-btn:hover {
    color: #dc3545;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.qty-btn {
    width: 27px;
    height: 27px;
    border: 0;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
}

.qty-btn:hover {
    background: #eee;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.disableBtn{
    cursor: not-allowed !important;
}

.cart-footer {
    padding: 15px;
    background: #fff;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 12px;

    font-size: 15px;
}

.cart-subtotal strong {
    font-size: 17px;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    background: var(--nav-color);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .25s;
}
.cart-checkout-btn:hover {
    background: var(--color-second);
    color: #fff;
}

.product-image {
        position: relative;
        width: 100%;
        aspect-ratio: 2 / 3;
        overflow: hidden;
        background: #f7f7f7;
    }

    /* Image */
    .lazy-product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .lazy-product-image.loaded {
        opacity: 1;
    }

    /* Loader */
    .image-loader {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f7f7f7;
        z-index: 2;
    }

    /* Spinner */
    .spinner {
        width: 32px;
        height: 32px;
        border: 3px solid #ddd;
        border-top-color: #222;
        border-radius: 50%;
        animation: imageSpin 0.8s linear infinite;
    }

    @keyframes imageSpin {
        to {
            transform: rotate(360deg);
        }
    }