.cart-box {
    display: flex;
    gap: 4rem;
}

.cart-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 70%;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-bottom: .1rem solid var(--primary-color);
    padding-bottom: 1rem;
}

.cross__btn {
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: none;
}

.cross.cross__btn::before,
.cross.cross__btn::after {
    background-color: var(--default-color);
}

.cross.cross__btn:hover::before,
.cross.cross__btn:hover::after {
    background-color: #ee3f58;
}

.cart-product__img {
    width: 10rem;
}

.cart-product__img img {
    width: 100%;
    border-radius: .8rem;
}

.cart-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-product-top a {
    line-height: 1.4;
}

.cart-product-bottom {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.cart-product-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.cart-product__span {
    font-size: 1.2rem;
    color: var(--dim-color);
}

.cart-total {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    width: 30%;
    height: fit-content;
    padding: 2.5rem;
    background-color: var(--primary-color);
    border-radius: .8rem;

}

.cart-total-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
}

.cart-null {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.cart-null__icon {
    width: 4rem;
}

.cart-null__title {
    font-weight: 600;
}

.cart-null__btns {
    max-width: 16rem;
}

.cart-btn-null {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--dim-color);
}

.cart-btn-null:hover {
    color: var(--default-color);
}

.form-popup--order {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 9;
    overflow: auto;
}

/* Попап оформления*/
#inputs-container {
    width: 100%;
}

#inputs-container textarea {
    width: 100%;
    border: navajowhite;
    font-size: 1.4rem;
    resize: none;
}

.cart-product__price {
    white-space: nowrap;
}

.cart-product__price {
    white-space: nowrap;
}

.cart-null__description {
    line-height: 1.4;
}


@media (max-width: 800px) {
    .cart-box {
        flex-direction: column;
    }

    .cart-products {
        width: 100%;
    }

    .cart-total {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .cart-product-left {
        display: none;
    }
}