.goodini-basket {
    margin: 2rem auto 0;
}
.basket {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: var(--dark);
    gap: 1rem;
}


.inner__basket {
	flex: 1 0 auto;
    background-color: #fff;
    padding: 3rem;
    max-width: 100%;
    position: relative;
}
.inner__basket.disabled {
    opacity: 0.5;
}
.inner__basket.disabled::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    cursor: not-allowed;
    z-index: 1;
}
.goodini-basket-inner {
    display: flex;
    flex-direction: column;
}
.goodini-basket-item {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 0.5rem 0;
}
.image__basket-item {
    width: 5rem;
    height: 5rem;
}
.name__basket-item {
    flex: 1;
    padding: 0rem 1rem;
    font-size: 1rem;
}
.goodini-basket-item-name {
    color: var(--color);
    border-bottom: 1px solid var(--color_30);
}
.goodini-basket-item-name:hover {
    border-bottom-color: transparent;
}
.count__basket-item {
    width: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goodini-basket-item-count-plus,
.goodini-basket-item-count-minus {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 2.5rem;
    width: 2.5rem;
    border: solid 1px #e3e3e3;
    font-size: 2rem;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    cursor: pointer;
}
.goodini-basket-item-count-plus:hover svg,
.goodini-basket-item-count-minus:hover svg{
    opacity: 0.5;
}
.goodini-basket-item-count-plus svg,
.goodini-basket-item-count-minus svg {
    fill: var(--dark);
    width: 1.5rem;
    height: 1.5rem;
    pointer-events: none;
}
.count__basket-item .goodini-basket-item-count {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    outline: none;
    background-color: #fff;
    border: solid 1px #e3e3e3;
    border-left: none;
    border-right: none;
    height: 2.5rem;
    width: 2.5rem;
    text-align: center;
    padding: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

.count__basket-item input.goodini-basket-item-count::-webkit-outer-spin-button,
.count__basket-item input.goodini-basket-item-count::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price__basket-item {
    width: 11rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 1rem;
}
.goodini-basket-item-price {
    font-size: 0.875rem;
    opacity: 0.5;
}
.goodini-basket-item-amount {
    font-size: 1.125rem;
}
.remove__basket-item {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.goodini-basket-item-remove {
    width: 1.125rem;
    height: 1.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    outline: none;
    margin: 0;
    cursor: pointer;
}
.goodini-basket-item-remove:hover {
    opacity: 0.5;
}
.goodini-basket-item-remove svg {
    fill: red;
    pointer-events: none;
}
.goodini-basket-clear {
    border: 0;
    background: transparent;
    color: red;
    padding: 0;
    border-bottom: 1px dashed;
    cursor: pointer;
}
.goodini-basket-clear:hover {
    border-bottom-color: transparent;
}
.goodini-basket.empty .goodini-basket-clear {
    display: none;
}

.order__basket {
    max-width: 33%;
	flex: 1 0 450px;
    background-color: #fff;
    padding: 3rem;
}
.goodini-basket-form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.goodini-basket-form .form-group {
    width: 100%;
}
.goodini-basket-form .form-mini {
    max-width: 400px;
    margin: 0.5rem auto 1rem 0;
}
.goodini-basket-form label {
    width: 100%;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.goodini-basket-form label > span {
    flex: 1;
    text-align: right;
    padding-right: 1rem;
    font-size: 1.125rem;
    line-height: 1.4;
}
.goodini-basket-form label > input,
.goodini-basket-form label > textarea {
    width: 70%;
    background-color: #fff;
    border: solid 1px #e3e3e3;
    outline: none;
    box-shadow: none;
    padding: 0.75rem 1rem;
}
.goodini-basket-form .button  {
    margin: 0;
    margin-top: 1rem;
}

.info__basket {
    width: 100%;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.right__info__basket {
    display: flex;
    align-items: center;
}
.right__info__basket > span {
    margin-right: 1rem;
}
.goodini-basket-amount {
    font-size: 1.25rem;
    font-weight: var(--f1wb);
}

.down__basket {
    width: 100%;
}


.up__inner__basket {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.title__basket {
    font-size: 2rem;
    font-weight: var(--f2wb);
    font-family: var(--f2);
}

.go-to-basket {
}

.carts .cart .price .goodini-addtocart,
.carts .cart .price .goodini-gotobasket {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color);
    border: 1px solid var(--color);
    
}
.carts .cart .price button.goodini-addtocart > span,
.carts .cart .price a.goodini-gotobasket > span {
    color: #fff;
    font-size: 0.875rem;
    padding: 0;
    margin: 0;
}

.goodini-basket-inner-header {
    display: flex;
    background-color: #eee;
    padding: 1rem 0;
}
.goodini-basket-inner-header > span {
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}
.goodini-basket-inner-header > span:nth-child(1) {
    flex: 1;
}
.goodini-basket-inner-header > span:nth-child(2) {
    width: 8rem;
}
.goodini-basket-inner-header > span:nth-child(3) {
    width: 13rem;
}


.goodini-basket.empty .goodini-basket-inner-header,
.goodini-basket.empty .info__basket,
.goodini-basket.empty .down__basket,
.goodini-basket.empty .order__basket {
    display: none;
}

@media (max-width: 1100px) {
    .order__basket {
        max-width: 100%;
        flex: 1 0 100%;
    }
}

@media (max-width: 767px) {
    .order__basket,
    .inner__basket {
        padding: 1.5rem;
    }
    .up__inner__basket {
        margin-bottom: 1rem;
    }
    .goodini-basket-inner-header {
        display: none;
    }
    .goodini-basket-inner {
        border-top: 1px solid #ddd;
    }
    .image__basket-item {
        width: 4rem;
        height: 4rem;
        margin-bottom: 0.5rem;
    }
    .goodini-basket-item {
        flex-wrap: wrap;
    }
    .name__basket-item {
        flex: 1 0 calc(100% - 4rem);
    }
    .count__basket-item {
        justify-content: flex-start;
        flex: 1;
    }
}


/* YooKassa */
.qa-iframe-widget {
    margin-top: 1.5rem;
}