/* Плюсофон начало */
.form-lk.plusofon .phone-green {
    font-weight: 700;
    color: #427e15;
    max-width: 115px;
}
.form-lk.plusofon .phones-input {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.form-lk.plusofon input[type="text"], .form-lk.plusofon input[type="password"], .form-lk.plusofon input[type="tel"], .form-lk.plusofon input[type="email"] {
    border-radius: 12px;
    border-color: #b1b9c1;
}
.form-lk.plusofon .form-item.form-item-split {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 16px;
}
.form-lk.plusofon .form-item.form-item-split input {
    text-align: center;
    border: 1px solid #b1b9c1;;
    border-radius: 8px;
    padding: 16px 16px 14px;
    height: 50px;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #363636;
    -webkit-appearance: none;
}
.plusofon .form-item.form-item-split input.form-number-4 {
    width: calc((100% - 24px) / 4);
}
.plusofon .form-item.form-item-split input.form-number-6 {
    width: calc((100% - 40px) / 6);
}
.form-lk.plusofon .form-item.form-item-split input::-webkit-outer-spin-button,
.form-lk.plusofon .form-item.form-item-split input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
    margin: 0;
}
.form-lk.plusofon [name="USER_CHECKWORD"]{
    display: none;
}
.form-lk.plusofon .time-rest {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 12px;
}
.form-lk.plusofon .time-rest.green {
    color: #427e15;
}
.form-lk.plusofon .time-green {
    color: #427e15;
}
.form-lk.plusofon p {
    font-size: 16px;
    margin-top: 12px;
}
.form-lk.plusofon input[type="password"] + input[type="password"] {
    margin-top: 12px;
}
.form-lk.plusofon .btn-grey {
    margin-top: 12px;
    color: #363636;
    background: #f0f1f4;
    text-transform: capitalize;
    font-weight: 600;
}
.form-lk.plusofon .btn-grey:hover {
    box-shadow: inset 0 0 0 2px #363636, inset 0 0 0 4px white;
}
.block-lk.plusofon {
    padding: 45px;
}
.form-lk.plusofon .send-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.form-lk.plusofon .send-new p {
    margin-top: 0;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #363636;
}
.form-lk.plusofon .send-new a {
    margin-top: 12px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    color: #427e15;
}
.form-lk.plusofon .error-node:not(.d-none) {
    margin-bottom: 12px;
    color: red;
}
input[name="USER_PHONE_NUMBER"], input[name="USER_LOGIN"], input[name="USER_PASSWORD"]{
    border-radius: 12px;
}
.js-tabs .tabs .tab {
    /*border-radius: 12px;*/
    padding: 5px;
}
.plusofon .fields-fl .error-node {
    margin-top: 8px;
    text-align: center;
}
/* Плюсофон конец */

/* Поля корзины начало */
/* Скругление полей /cart/ как у поиска на главной (.block-search: 12px).
   Перекрывает border-radius: 0 из css/site.css (подключается позже него).
   Поля: ФИО, телефон, e-mail, select города, комментарий, промокод. */
.input-aside-page-cart {
    border-radius: 12px;
}

/* Стрелка-шеврон у селекта города (у исходного селекта индикатора нет вовсе).
   Работает во всех браузерах. */
select.input-aside-page-cart {
    cursor: pointer;
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23559723' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 7px;
}

/* Пока город не выбран, текст в поле серый — как плейсхолдеры соседних инпутов */
select.input-aside-page-cart:has(option:first-child:checked) {
    color: #757575;
}

/* Первая опция — плейсхолдер «Выберите город» (value совпадает с «Другой»):
   прячем её из списка, чтобы не выглядела выбранным пунктом и не дублировала
   «Другой». Текст в закрытом поле при этом сохраняется (штатный паттерн
   placeholder-селектов). */
select.input-aside-page-cart option:first-child {
    display: none;
}

/* Фирменный выпадающий список города (customizable select).
   Поддержка: Chromium 135+ — Chrome, Яндекс.Браузер, Edge, Opera.
   Прочие браузеры остаются на нативном списке (прогрессивное улучшение).
   Только устройства с мышью — на сенсорных нативный пикер удобнее. */
@media (hover: hover) and (pointer: fine) {
    select.input-aside-page-cart,
    select.input-aside-page-cart::picker(select) {
        appearance: base-select;
    }
    /* В base-select браузер не центрирует текст кнопки сам (в отличие от
       нативного селекта) — центруем флексом */
    select.input-aside-page-cart {
        display: flex;
        align-items: center;
    }
    select.input-aside-page-cart::picker-icon {
        display: none;
    }
    select.input-aside-page-cart:open {
        border-color: var(--bs-green);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 6l5-5 5 5' fill='none' stroke='%23559723' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    }
    select.input-aside-page-cart::picker(select) {
        margin-top: 6px;
        background: #fff;
        border: 1px solid var(--bs-green);
        border-radius: 12px;
        box-shadow: 0 8px 12px rgba(0, 0, 0, .15);
        padding: 6px;
        max-height: 340px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #ced4da transparent;
        opacity: 1;
        translate: 0 0;
        transition: opacity .15s ease, translate .15s ease;
    }
    @starting-style {
        select.input-aside-page-cart::picker(select) {
            opacity: 0;
            translate: 0 -6px;
        }
    }
    select.input-aside-page-cart option {
        position: relative;
        padding: 10px 34px 10px 14px;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color .2s;
    }
    select.input-aside-page-cart option:hover,
    select.input-aside-page-cart option:focus {
        background-color: rgba(85, 151, 35, .12);
    }
    select.input-aside-page-cart option:checked {
        font-weight: 700;
        background-color: rgba(85, 151, 35, .08);
    }
    select.input-aside-page-cart option:checked:hover {
        background-color: rgba(85, 151, 35, .12);
    }
    /* Галочка выбранного пункта — справа, не сдвигает текст */
    select.input-aside-page-cart option::checkmark {
        position: absolute;
        right: 12px;
        top: 50%;
        translate: 0 -50%;
        color: var(--bs-green);
    }
}
/* Поля корзины конец */