
.cart {
    /*margin-bottom: 59px;*/
}
.cart__order-total-card__total span.total-value {

    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
}
.cart__order-total-card__item {
    justify-content: space-between;
}
.cart__order-total-card__total-item {
    justify-content: space-between;
}
.cart__order-total-card__total span.total-name {

    font-weight: 600;
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #393939;
}
.cart__order-form {
    flex-direction: column;
    align-items: end;
}
.cart--text-empty {
    font-weight: 700;
    font-size: 20px;
}
.title__page {
    text-transform: none;
}
section.cart {
    /*margin-top: 30px;*/
}
.btn__cart-empty {
    margin-top: 14px;
    padding: 9px 28px;
}
.cart--title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.cart--title-item h1.promo__title.title__page {
    margin-bottom: 0
}
.cart--filter {
    margin-top: 50px;
    margin-bottom: 62px;
}
.cart--filter-items {
    display: flex
;
    gap: 20px;
    margin-bottom: 38px;
}
.cart--filter-item {
    display: flex
;
    flex-direction: column;
    gap: 10px;
}
.checkbox-item label{
    font-size: 14px;
    font-weight: 600;
}
.checkbox-item {
    display: flex
;
    gap: 18px;
}
a.btn__cart-filter-select.btn.btn-black {
    height: 39px;
    padding: 7px 15px;
    width: 324px;
}
.filter-select {

        -webkit-appearance: none; /* Для Safari и Chrome */
        -moz-appearance: none;    /* Для Firefox */
        appearance: none;         /* Стандартное свойство */
        background-image: none;   /* Убирает стрелку в IE */
        padding-right: 10px;      /* Чтобы текст не прилипал к краю */

}
.filter-select {
    border: 2px solid #6D6D6D;
    width: 324px;
    height: 60px;
    border-radius: 10px;
    font-size: 16px;
    padding: 0 20px;
    background: url(/verstka/images/cart/select.svg) 94% no-repeat;
    cursor: pointer;
}
.cart--title-item {
    display: flex
;
    align-items: baseline;
    gap: 30px;
}
a.btn-link:hover {
    border-bottom: 0
}
a.btn-link {
    border-bottom: 1px solid;
}
a.btn__cart-remove.btn.btn-white {
    padding: 4px 13px;
    font-size: 14px;
}



    /* Контейнер для одной радиокнопки и её метки */
.cart__order .radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

/* Стилизация радиокнопки:
   - Убираем стандартное оформление с помощью appearance
   - Настраиваем размеры, границу и скругление */
.cart__order .radio-input {
    -webkit-appearance: none;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 50%;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
}
    /* Стилизация выбранного состояния радиокнопки */
.cart__order .radio-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

/* Стилизация отключённого состояния радиокнопки */
.cart__order .radio-input:disabled {
    filter: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Стилизация метки радиокнопки при отключённом состоянии */
.cart__order .radio-input:disabled ~ .radio-label {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Отключаем стандартный стиль чекбокса */
.checkbox-input {
    appearance: none;
    -webkit-appearance: none; /* для поддержки в Safari */
}
/* Стилизация чекбокса */
.catalog-compare-filter .checkbox-input ,
.cart__order-select .checkbox-input {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 0;
    border-radius:30px;
    background: url("/verstka/images/cart/radio.svg") no-repeat;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
}
/* Оформление состояния checked */
.catalog-compare-filter .checkbox-input:checked,
.cart__order-select .checkbox-input:checked{
background-color: #0d6efd;
border-color: #0d6efd;
    background: url("/verstka/images/cart/radio-select.svg") no-repeat;
}
/* Эффект нажатия */
.catalog-compare-filter .checkbox-input:active ,
.cart__order-select .checkbox-input:active {
    filter: brightness(90%);
}

/* Смена цвета границы при наведении */
.catalog-compare-filter  .checkbox-input:hover:not(:disabled) ,
.cart__order-select .checkbox-input:hover:not(:disabled) {
  /*  border-color: #6D6D6D;

    background: url("/verstka/images/cart/radio-hover.svg") no-repeat;*/
}

/* Стили для чекбокса при фокусе */
.catalog-compare-filter  .checkbox-input:focus ,
.cart__order-select .checkbox-input:focus {
  /*  background: url("/verstka/images/cart/radio-select.svg") no-repeat;
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);*/
}

/* Отключенный чекбокс */
.catalog-compare-filter .checkbox-input:disabled ,
.cart__order-select .checkbox-input:disabled {
    filter: none;
    opacity: 0.5;
    cursor: not-allowed;
}


.catalog-compare-filter  .checkbox-input ,
.select__checkbox .checkbox-input ,
.cart__order-product__select .checkbox-input {
    appearance: none;
    width: 28px;
    height: 28px;
    border: 0;

    background: url("/verstka/images/cart/checkbox.svg") no-repeat;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
    background-size: 28px;
}
/* Оформление состояния checked */
.catalog-compare-filter  .checkbox-input:checked,
.select__checkbox .checkbox-input:checked,
.cart__order-product__select .checkbox-input:checked{
    background-color: #0d6efd;
    border-color: #0d6efd;
    background: url("/verstka/images/cart/checkbox-select.svg") no-repeat;
    background-size: 28px;
}
/* Эффект нажатия */
.catalog-compare-filter  .checkbox-input:active ,
.select__checkbox .checkbox-input:active ,
.cart__order-product__select .select__checkbox  .checkbox-input:active {
    filter: brightness(90%);

}

/* Смена цвета границы при наведении */
.catalog-compare-filter  .checkbox-input:hover:not(:disabled) ,
.select__checkbox .checkbox-input:hover:not(:disabled) ,
.cart__order-product__select .select__checkbox  .checkbox-input:hover:not(:disabled) {
    /*border-color: #6D6D6D;

    background: url("/verstka/images/cart/checkbox-hover.svg") no-repeat;
    background-size: 28px;*/
}
.catalog-compare-filter  .checkbox-input:hover:not(:disabled),
.cart .select__checkbox .checkbox-input:hover:not(:disabled){
    background-size: 28px;
}
/* Стили для чекбокса при фокусе */
    .catalog-compare-filter  .checkbox-input:focus ,
.select__checkbox .checkbox-input:focus ,
.cart__order-product__select .select__checkbox .checkbox-input:focus {
    /*background: url("/verstka/images/cart/checkbox-select.svg") no-repeat;
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    background-size: 28px;*/
}

/* Отключенный чекбокс */
    .catalog-compare-filter .checkbox-input:disabled ,
.select__checkbox .checkbox-input:disabled ,
.cart__order-product__select .checkbox-input:disabled {
    filter: none;
    opacity: 0.5;
    cursor: not-allowed;
}
/************************************************/



.cart__order-select .checkbox-input:disabled ~ .checkbox-label {
    opacity: 0.5;
    cursor: not-allowed;
}
.cart__order-product, .cart__order-total-card {
    border: 1px solid #E6E6E6;
    box-shadow: 0px 4px 4px 0px #0000001A;
    border-radius: 10px;
}
.cart__order-product__card-top__item-name {
    font-weight: 600;
    font-size: 16px;
}
.cart__order-product__card-top__item-properties li {

    font-weight: 600;
    font-size: 14px;

}
span.span-property {
    font-weight: 600;
    font-size: 16px;
}
.cart__order-total-card {
    padding: 39px 17px;
}
.cart__order-product__card-bottom {
    border-top: 1px solid #E6E6E6;
    padding-top: 20px;
    margin-top: 3px;
    padding-bottom: 7px;
}
.cart__order-form {
    display: flex
;
    margin-top: 30px;
    gap: 25px;
}
.cart__order-products {
    display: flex
;
    flex-direction: column;
}
.cart__order-product
{

        display: grid
    ;
        gap: 0;
        grid-template-columns: 98px 117px 1fr;

}
.cart__order-product__card-top__item {

    padding-right: 30px;
}
.action-product {
    display: flex;
    gap: 19px;
}
.cart__product__card-properties {
    display: flex;
    flex-direction: column;
    border: 1px solid #E6E6E6;
}
.cart__product__card-properties--name {

    border-bottom: 1px solid #E6E6E6;
}
.cart__product__card-properties {
    /* font-family: Inter; */
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
}
.cart__order-product__card-top__item {

    width: 100%;
}
.cart__order-product__card-top {

    width: 100%;
}
.cart__order-product__image {
    width: 59px;
    padding-top: 28px;
}
.cart__order-total-card__items {
    display: flex
;
    flex-direction: column;
    gap: 18px;
}
.cart__order-total-card__item {
    display: flex
;
    gap: 20px;
}
.cart__order-product__card {
    display: flex
;
    flex-direction: column;
    padding-top: 4px;
}
.cart__order-total-card__total {
    border-top: 1px solid #E6E6E6;
    margin-top: 24px;
    padding-top: 21px;
}
.cart__order-total-card__total-item {
    display: flex
;
    gap: 39px;
}
.cart__order-total-card {
    margin-bottom: 42px;
}
.cart__order-product {
    padding: 13px 11px;
    padding-bottom: 19px;
}
.cart__order-product__card-top
{
    display: flex
;
    gap: 42px;
}
.cart__order-product__card-top__item-properties ul li {
    list-style-type: none;
}
.cart__order-product__card-top__item-properties ul {
    padding-left: 0;
    margin-left: 0;
}
.cart__order-product__card-top__item {
     display: flex
 ;
     flex-direction: column;
     gap: 24px;
 }
.cart__order-product__card-top__item-properties {
    display: flex
;
    /*gap: 86px;*/
}
.cart__order-product__card-top__item-properties ul {

    display: flex
;
    flex-direction: column;
    gap: 11px;
}
.cart__product__card-properties
{
    width: 109px;
}
.cart__product__card-properties--name {
    padding: 9px 0;
    display: flex
;
    justify-content: center;
}
.cart__product__card-properties--value {
    padding: 17px 0;
    display: flex
;
    justify-content: center;
}
.cart__order-product__card {
    padding-bottom: 10px;
}
.cart__product__card-properties--value .change__quantity-wrap {
    margin-right: 0;
    margin-top: -8px;
}
.cart__order-product__card-bottom p{
    margin-bottom: 0;
}
.cart__order-product__card-bottom {
    display: flex
;
    gap: 10px;
    align-items: center;
}
span.total-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #6D6D6D;
}
.cart__order-total-card__total span.total-value {
    color: #CA2E2E;
}
a.btn__cart-success.btn.btn-black {
    width: 100%;
    height: 39px;
    padding: 7px 0;
}
span.total-value {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
}
.cart__order-form {

    margin-top: 30px;
}
.cart__order-total {
    width: 440px;
}
.cart__order-products {
    width: 900px;
    width: 100%;

    gap: 20px;
}
.span-property--mobile  {
    display: none;
}
.cart-pay {
    display: flex
;
    flex-direction: column;
    gap: 61px;
}
.info__title ,
.delivery-info__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 23px;
}
.payment-methods {
    display: flex
;
    flex-direction: column;
    gap: 19px;
}
.cart-pay {
    margin-top: 61px;
}
.cart-pay__item label {
    font-weight: 600;
}
.cart-pay__item {
    display: flex
;
    flex-direction: column;
    gap: 36px;
}
.delivery-info__items {
    display: flex
;

}
.submit-pay {
    width: 440px;
    height: 38px;
    padding: 0;
}
.payment-methods select.filter-select {
    width: 440px;
    padding: 0 29px;
    font-family: Inter;
}
.delivery-info__item {
    display: flex
;
    flex-direction: column;
    gap: 20px;
    width: 32%;
}
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="text"] {
    width: 100%;
    font-family: Inter;
    border: 2px solid #6D6D6D;
    height: 60px;
    border-radius: 10px;
    font-size: 16px;
    padding:0 29px;
    cursor: pointer;
}
textarea#comment {
    font-family: Inter;
    border: 2px solid #6D6D6D;
    width: 100%;
    height: 140px;
    border-radius: 10px;
    font-size: 16px;
    padding: 18px 24px;
    cursor: pointer;
}
.cart__order-product__card-top__item-name {
    width: 100%;
    display: flex
;
    justify-content: space-between;
}
.property-sizes .cart__product__card-properties--value{
    font-size: 14px;
}
span.order-size-change {
    margin-left: 7px;
}
@media (max-width: 1416px) {
    .cart__product__card-properties {
        flex: 1;
        width: auto;
    }

}
@media (max-width: 1230px) {
    .cart__product__card-properties {
        font-size: 13px;
    }
}
@media (max-width: 1120px) {
    .cart__product__card-properties {
        font-size: 16px;
    }
    .cart__order-product__card-top__item-properties {
        flex-direction: column;
    }
    .cart__product__card-properties--name {
        border-right: 1px solid #E6E6E6;
        width: 109px;
        padding: 0;
        border-bottom: 0;
        display: flex
    ;
        padding: 10px 0;
    }
    .cart__product__card-properties--value .change__quantity-wrap {
        margin-top: 0;
    }
    .cart__product__card-properties--value {
        width: 135px;
        padding: 0;
    }
    .cart__product__card-properties {
        flex-direction: row;
        border: 1px solid #E6E6E6;
        align-items: center;
    }
    .cart--filter-item {
        width: 30%;
    }
    .filter-select {
        width: 100%;
    }
}
@media (max-width: 991px) {
    .cart__order-products {
        width: 100%;
    }
    .cart__order-form {
        flex-direction: column;
    }

    .cart__order-total {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .delivery-info__item {

        width: 100%;
    }
    .delivery-info__item {
        margin-bottom: 20px;
    }
    .submit-pay {
        width: 100%;
        height: 48px;
        padding: 0;
    }
    .cart-pay
    {
        margin-top: 50px;
    }
    .payment-methods {
        gap: 9px;
    }
    delivery-info__title {
        margin-bottom: 42px;
    }
    .delivery-info__items {

        flex-direction: column;
    }
    .payment-methods select.filter-select {
        width: 100%;
    }
    .cart__order-product__card-bottom .new__price {
        font-size: 20px;
    }
    .span-property {
        display: none;
    }
    .cart__order-product {
        grid-template-columns: 98px 1fr;
    }
    .cart__order-product {
        gap: 15px;
    }
    .cart__order-product__image {
        width: 30%

    }
    .cart__order-product__card

    {
        position: relative;
    }
    .action-product {
        display: flex
    ;
        gap: 19px;
        position: absolute;
        right: 0;
        top: -17px;
    }
    .cart__order-product {
        padding: 22px 15px;
    }
    .cart__order-product__select {
        position: absolute;
    }
    .cart__order-product__image {
        width: 104px;
        padding-top: 0;
    }
    .cart__order-product__card-bottom {

        justify-content: space-between;
    }
    .cart__order-product__card-top__item {

        gap: 10px;
    }
    .cart__order-product__card-top__item-properties {
        display: flex
    ;
        gap: 0;
        flex-direction: column;
    }
    .span-property--mobile  {
        display: inline-block;
    }
    section.cart {
        margin-top: 56px;
    }
    .title__page span  {
        display: none;
    }
    .cart--text-empty {
        margin-top: 21px;
        margin-bottom: 25px;
    }
    .btn__cart-empty {
        width: 100%;
    }
    .cart--title-item .title__page span {
        display: inline-block;
    }
    .cart--title-item {
        flex-direction: column;
    }
    .cart--title-item {
        gap: 23px;
    }
    .cart--filter-item {
        width: 100%
    ;
    }
    a.btn__cart-filter-select.btn.btn-black {
        height: 48px;
        padding: 13px 15px;
        width: 100%;
    }
    .cart__order-select .checkbox-input {
        width: 21px;
        height: 21px;
        background-size: 21px;
    }
    .cart--filter-items {
        flex-direction: column;
    }
    .cart--filter {
        margin-bottom: 59px;
    }
    .checkbox-item label {
        font-size: 16px;
    }
    .cart__order-form {
        margin-top: 40px;
    }
    a.btn__cart-success.btn.btn-black {
        width: 100%;
        height: 48px;
        padding: 13px 15px;
    }
}

@media (max-width: 449px) {
    .cart__product__card-properties {
        font-size: 14px;
    }
    .cart__product__card-properties--name,
    .cart__product__card-properties--value{
        width: 50%;
    }
}
@media (max-width: 410px) {
    .cart__order-product {
        grid-template-columns: 70px 1fr;
    }

        .cart__order-product__image {
            width: 70px;
        }
}