/* Новый личный кабинет. Все стили ограничены блоком .stb-lk */
.stb-lk { padding-top: 20px; padding-bottom: 40px; color: #1d2929; }
.stb-lk h1 { margin: 0; font-size: 28px; font-weight: 800; }
.stb-lk h2 { margin: 24px 0 12px; font-size: 19px; font-weight: 800; }
.stb-lk__muted { color: #5b6a6a; font-size: 14px; }
.stb-lk__head { margin-bottom: 16px; }

.stb-lk__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin-bottom: 16px; background: #eef2f2; border-radius: 14px; }
.stb-lk .stb-lk__tabs a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 11px; color: #4d5c5c; font-weight: 700; text-decoration: none; }
.stb-lk .stb-lk__tabs a.is-active { background: #fff; color: #005c5f; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }

.stb-lk__alert { padding: 14px 16px; margin-bottom: 14px; border-radius: 12px; background: #dff2e7; color: #1f6b43; }
.stb-lk__alert--error { background: #fdeaea; color: #8f1f1f; }

.stb-lk__balance { padding: 24px; border-radius: 24px; background: #005c5f; color: #fff; }
.stb-lk__balance-label { color: #cfe6e6; font-size: 14px; }
.stb-lk__balance-value { margin: 6px 0; font-size: 52px; font-weight: 800; line-height: 1.1; }
.stb-lk .stb-lk__balance a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; padding: 0 20px; border-radius: 12px; background: #fff; color: #005c5f; font-weight: 700; text-decoration: none; }

.stb-lk__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.stb-lk .stb-lk__filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; background: #eef2f2; color: #1d2929; font-weight: 700; text-decoration: none; }
.stb-lk .stb-lk__filters a.is-active { background: #005c5f; color: #fff; }

.stb-lk__orders { display: grid; gap: 14px; }
.stb-lk__card { padding: 18px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; }
.stb-lk__card h2 { margin-top: 0; }
.stb-lk__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stb-lk__title { font-size: 18px; font-weight: 800; }
.stb-lk__sum { font-size: 22px; font-weight: 800; white-space: nowrap; }
.stb-lk__badge { padding: 5px 11px; border-radius: 20px; background: #fff0cc; color: #6b4a00; font-size: 12px; font-weight: 700; white-space: nowrap; }
.stb-lk__badge--done { background: #dff2e7; color: #1f6b43; }
.stb-lk__badge--cancelled { background: #eef2f2; color: #4d5c5c; }
.stb-lk__progress { display: flex; gap: 6px; margin-top: 14px; }
.stb-lk__progress span { flex: 1; height: 6px; border-radius: 3px; background: #dde4e4; }
.stb-lk__progress span.is-on { background: #005c5f; }
.stb-lk__products { margin: 14px 0; padding: 0; list-style: none; }
.stb-lk__products li { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.stb-lk__products img { flex: 0 0 75px; border-radius: 10px; object-fit: cover; }
.stb-lk details { margin-top: 10px; }
.stb-lk summary { display: list-item; min-height: 36px; padding: 8px 0; color: #005c5f; font-weight: 700; cursor: pointer; }
.stb-lk details p { margin: 0 0 6px; font-size: 14px; }

.stb-lk .stb-lk__button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 10px; border: 0; border-radius: 12px; background: #005c5f; color: #fff; font-weight: 700; text-decoration: none; }
.stb-lk .stb-lk__button--light { background: #e6f0f0; color: #005c5f; }
.stb-lk__empty { text-align: center; }

.stb-lk__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.stb-lk .stb-lk__tiles a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: #f3f5f5; color: #1d2929; text-decoration: none; }
.stb-lk__tiles span { overflow: hidden; color: #5b6a6a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

.stb-lk__rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.stb-lk__rules div { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 16px; background: #f3f5f5; }
.stb-lk__rules b { color: #005c5f; font-size: 22px; }
.stb-lk__rules span { color: #5b6a6a; font-size: 12px; }
.stb-lk__history { padding: 12px 0; border-top: 1px solid #e8eded; }
.stb-lk__history b { white-space: nowrap; }
.stb-lk__history b.is-plus { color: #1f6b43; }

@media (min-width: 768px) {
    .stb-lk__orders { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .stb-lk__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Ширина и отступы: кабинет занимает всю ширину сайта, блоки не слипаются */
.stb-lk.container { max-width: none; }
.stb-lk__balance { margin-bottom: 16px; }
.stb-lk__home { display: grid; gap: 16px; }
.stb-lk__home > * { min-width: 0; }
.stb-lk__home .stb-lk__balance { margin: 0; }
.stb-lk__home h2 { margin-top: 0; }
.stb-lk__home .stb-lk__orders { grid-template-columns: minmax(0, 1fr); }
.stb-lk__empty { grid-column: 1 / -1; }
.stb-lk__orders + .stb-lk__button { margin-top: 16px; }
@media (min-width: 992px) {
    .stb-lk__home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stb-lk__home .stb-lk__balance { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
}

/* Стандартные страницы аккаунта: вход, регистрация, профиль, пароль, адреса */
.stb-acc { color: #1d2929; padding-bottom: 40px; }
.stb-acc h1, .stb-acc h2 { margin: 8px 0 18px; font-size: 26px; font-weight: 800; text-transform: none; }
.stb-acc__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.stb-acc .stb-acc__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 22px; background: #eef2f2; color: #1d2929; font-weight: 700; text-decoration: none; }
.stb-acc .stb-acc__nav a:hover { background: #005c5f; color: #fff; }

.stb-acc .well, .stb-acc fieldset { margin: 0 0 18px; padding: 24px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; box-shadow: none; }
.stb-acc legend { float: left; width: 100%; margin: 0 0 16px; padding: 0; border: 0; font-size: 19px; font-weight: 800; }
.stb-acc fieldset { display: flex; flex-wrap: wrap; align-content: flex-start; }
.stb-acc .form-horizontal .form-group, .stb-acc fieldset .form-group { width: 100%; margin: 0 0 14px; padding: 0; border: 0; }
.stb-acc .form-group > [class*="col-"] { float: none; width: 100%; padding: 0; text-align: left; }
.stb-acc .control-label { margin-bottom: 6px; padding-top: 0; font-size: 14px; font-weight: 700; }
.stb-acc .form-control { height: 52px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; box-shadow: none; font-size: 16px; }
.stb-acc textarea.form-control { height: auto; }
.stb-acc .form-control:focus { border-color: #005c5f; box-shadow: 0 0 0 3px rgba(0, 92, 95, .15); }
.stb-acc .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 12px; font-weight: 700; }
.stb-acc .btn-primary { background: #005c5f; color: #fff; }
.stb-acc .btn-default, .stb-acc .btn-info { background: #e6f0f0; color: #005c5f; }
.stb-acc .btn-danger { background: #fdeaea; color: #8f1f1f; }
.stb-acc .buttons { margin: 4px 0 0; }
.stb-acc .alert { border: 0; border-radius: 12px; }
@media (min-width: 768px) {
    .stb-acc .form-horizontal fieldset { margin-left: 0; margin-right: 0; }
    .stb-acc .form-horizontal fieldset .form-group { width: 50%; padding: 0 8px; }
    .stb-acc .form-horizontal fieldset legend { margin-left: 8px; }
}

/* Вход */
#account-login.stb-acc #content > .row { display: flex; flex-wrap: wrap; }
#account-login.stb-acc #content > .row::before, #account-login.stb-acc #content > .row::after { display: none; }
#account-login.stb-acc #content > .row > div { display: flex; }
#account-login.stb-acc .well { width: 100%; }
#account-login.stb-acc .well a:not(.btn) { display: inline-block; margin-top: 10px; color: #005c5f; font-weight: 700; }
@media (max-width: 767px) {
    #account-login.stb-acc #content > .row > div { width: 100%; }
    #account-login.stb-acc #content > .row > div:last-child { order: -1; }
    #account-login.stb-acc .btn { width: 100%; }
}

/* Адреса: карточки вместо таблицы */
#account-address.stb-acc .table-responsive { border: 0; }
#account-address.stb-acc table, #account-address.stb-acc tbody { display: block; border: 0; }
#account-address.stb-acc tr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; padding: 18px; border: 1px solid #e2e8e8; border-radius: 20px; }
#account-address.stb-acc td { display: block; padding: 0; border: 0; white-space: normal; }

/* Убираем старую внешнюю рамку формы из темы */
.stb-acc form.form-horizontal { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

/* Единые кнопки: один радиус и высота во всём кабинете. Двойной класс перебивает стили темы */
.stb-acc.container .btn, .stb-lk .stb-lk__button, .stb-lk .stb-lk__balance a { min-height: 48px; border-radius: 12px; font-size: 15px; line-height: 20px; font-weight: 700; }
.stb-acc.container .btn { width: auto; min-width: 180px; padding: 12px 24px; }
.stb-acc.container .btn:hover { filter: brightness(.95); }
.stb-lk .stb-lk__filters a { border-radius: 12px; }

/* Одинаковая панель разделов в кабинете и на внутренних страницах */
.stb-lk .stb-lk__tabs, .stb-acc .stb-acc__nav { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0 0 20px; padding: 4px; overflow-x: auto; background: #eef2f2; border-radius: 16px; }
.stb-lk .stb-lk__tabs a, .stb-acc .stb-acc__nav a { display: flex; flex: 1 0 auto; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: transparent; color: #4d5c5c; font-weight: 700; text-decoration: none; }
.stb-lk .stb-lk__tabs a.is-active { background: #fff; color: #005c5f; }
.stb-acc .stb-acc__nav a:hover { background: #fff; color: #005c5f; }

/* Вход: два блока с промежутком */
#account-login.stb-acc #content > .row { gap: 20px; margin: 0; }
#account-login.stb-acc #content > .row > div { flex: 1 1 360px; width: auto; padding: 0; }
#account-login.stb-acc .well { margin: 0; }
#account-login.stb-acc .btn { margin-top: 6px; }
#account-login.stb-acc form .btn { display: flex; width: 100%; }
.stb-acc__promo { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; width: 100%; padding: 32px; border-radius: 20px; background: #005c5f; color: #fff; }
.stb-acc .stb-acc__promo h2 { margin: 0 0 20px; color: #fff; font-size: 30px; }
.stb-acc__promo ul { margin: 0 0 24px; padding: 0; list-style: none; font-size: 17px; }
.stb-acc__promo li { position: relative; margin-bottom: 12px; padding-left: 28px; }
.stb-acc__promo li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; }
.stb-acc.container .stb-acc__promo .btn { background: #fff; color: #005c5f; }
@media (max-width: 767px) {
    #account-login.stb-acc #content > .row > div { flex-basis: 100%; }
    .stb-acc__promo { padding: 24px; }
    .stb-acc.container .stb-acc__promo .btn { width: 100%; }
}

/* Согласие и кнопки под формами */
.stb-acc__agree { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid #e2e8e8; border-radius: 20px; }
.stb-acc__consent { display: flex; flex: 1 1 320px; align-items: flex-start; gap: 12px; margin: 0; font-weight: 500; cursor: pointer; }
.stb-acc__consent input[type="checkbox"] { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #005c5f; }
.stb-acc__consent br { display: none; }
@media (max-width: 767px) {
    .stb-acc__consent { flex-basis: 100%; }
    .stb-acc.container .buttons .btn { width: 100%; min-width: 0; }
    .stb-acc .buttons .pull-left, .stb-acc .buttons .pull-right { float: none !important; margin-bottom: 10px; }
}

/* Бонусы в корзине и на оформлении заказа */
.stb-bonus { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 0 0 18px; padding: 18px 22px; border-radius: 16px; background: #e6f0f0; color: #1d2929; }
.stb-bonus > div { display: flex; flex: 1 1 260px; flex-direction: column; gap: 4px; }
.stb-bonus b { font-size: 18px; }
.stb-bonus span { color: #3f5050; font-size: 14px; }
.stb-bonus form { margin: 0; }
.stb-bonus .stb-bonus__button { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 12px; background: #005c5f; color: #fff; font-weight: 700; text-decoration: none; }
.stb-bonus .stb-bonus__button--light { background: #fff; color: #005c5f; }
@media (max-width: 767px) {
    .stb-bonus form, .stb-bonus .stb-bonus__button { width: 100%; }
}

/* Кнопка кабинета в шапке */
.stb-head-mobile { display: none; }
/* Четыре пункта справа от поиска: равные доли и одинаковый отступ */
@media (min-width: 992px) {
    ul.nesk:has(> .stb-head-desktop) { padding-left: 12px; }
    ul.nesk:has(> .stb-head-desktop) > li.triod { flex: 1 1 0; min-width: 0; }
    ul.nesk:has(> .stb-head-desktop) > li:last-child { flex: 0 0 70px; }
}
/* На узких экранах подписи не помещаются: остаются значки */
@media (min-width: 992px) and (max-width: 1399px) {
    ul.nesk:has(> .stb-head-desktop) { padding-left: 4px; }
    ul.nesk:has(> .stb-head-desktop) .podzik { display: none; }
    ul.nesk:has(> .stb-head-desktop) > li.triod { padding-top: 12px; }
}

@media (max-width: 991px) {
    .stb-head-mobile { display: block; }
    .stb-head-mobile a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #005c5f; color: #fff; font-size: 20px; }
    .stb-head-desktop { display: none; }
    /* Ряд значков мобильной шапки: кнопка кабинета помещается рядом с корзиной */
    .row:has(> div > .stb-head-mobile) { display: flex; align-items: flex-start; }
    .row:has(> div > .stb-head-mobile)::before, .row:has(> div > .stb-head-mobile)::after { display: none; }
    .row:has(> div > .stb-head-mobile) > div { float: none !important; flex: 1 1 0; width: auto !important; min-width: 0; padding-left: 4px !important; padding-right: 4px !important; }
    .row:has(> div > .stb-head-mobile) > div:first-child { flex: 0 0 52px; }
    .row:has(> div > .stb-head-mobile) > div:last-child { display: flow-root; flex: 0 0 118px; }
    .row > div > .stb-head-mobile { float: left; margin: 12px 10px 0 0; }
    .row > div > .stb-head-mobile + #mbcart { float: left; width: 56px; }
}

/* Кабинет после заказа без регистрации */
.stb-claim { margin: 10px 0 24px; padding: 24px; border-radius: 20px; background: #e6f0f0; color: #1d2929; }
.stb-claim h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; text-transform: none; }
.stb-claim__error { margin-bottom: 12px; padding: 12px 14px; border-radius: 12px; background: #fdeaea; color: #8f1f1f; }
.stb-claim__field { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.stb-claim__field input { height: 52px; padding: 0 14px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; font-size: 16px; }
.stb-claim__consent { display: flex; align-items: flex-start; gap: 12px; margin: 10px 0 18px; font-weight: 500; }
.stb-claim__consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #005c5f; }
.stb-claim .stb-bonus__button { display: inline-flex; align-items: center; justify-content: center; min-width: 220px; min-height: 48px; border: 0; border-radius: 12px; background: #005c5f; color: #fff; font-weight: 700; }
@media (max-width: 767px) { .stb-claim .stb-bonus__button { width: 100%; } }

/* Выбор количества бонусов */
.stb-bonus .stb-bonus__info { flex: 1 1 280px; }
.stb-bonus strong { color: #005c5f; }
.stb-bonus .stb-bonus__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.stb-bonus__form input[type="range"] { width: 220px; height: 44px; margin: 0; accent-color: #005c5f; }
.stb-bonus__form input[type="number"] { width: 110px; height: 48px; padding: 0 12px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; font-size: 17px; font-weight: 700; text-align: center; }
.stb-bonus .stb-bonus__form .stb-bonus__button { min-width: 140px; }
@media (max-width: 767px) {
    .stb-bonus .stb-bonus__info { flex-basis: 100%; }
    .stb-bonus__form input[type="range"] { flex: 1 1 100%; width: 100%; }
    .stb-bonus__form input[type="number"] { width: 100%; }
}

/* Корзина */
.stb-cart h1 { text-transform: none; font-weight: 800; }
.stb-cart #korzvsya form, .stb-cart #korzvsya .table-responsive { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.stb-cart #poztov { display: flex; align-items: center; margin: 0 0 12px; padding: 16px 4px; border: 1px solid #e2e8e8; border-radius: 18px; background: #fff; }
.stb-cart #poztov::before, .stb-cart #poztov::after { display: none; }
.stb-cart #poztov .img-thumbnail { border: 0; border-radius: 12px; }
.stb-cart #nazvvkorz a { color: #1d2929; font-size: 17px; font-weight: 700; }
.stb-cart #nows { font-size: 18px; font-weight: 800; }
.stb-cart .my_quantity { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid #c8d4d4; border-radius: 12px; }
.stb-cart .my_quantity button { width: 44px; height: 44px; border: 0; background: #eef2f2; color: #005c5f; font-size: 20px; }
.stb-cart .my_quantity .quant { width: 48px; height: 44px; border: 0; text-align: center; font-weight: 700; }
.stb-cart #udalkorz { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: #fdeaea; color: #8f1f1f; }
.stb-cart #modulicart { margin: 18px 0 30px; padding: 22px; border-radius: 20px; background: #f3f5f5; }
.stb-cart #nizkorz { display: flex; flex-wrap: wrap; align-items: center; }
.stb-cart #nizkorz::before, .stb-cart #nizkorz::after { display: none; }
.stb-cart #modulicart input[type="text"] { height: 48px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; }
.stb-cart #modulicart .btn, .stb-cart #modulicart input[type="button"] { min-height: 48px; border-radius: 12px; }
.stb-cart #myitogokartitvse { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.stb-cart #myitogokart { font-size: 30px; font-weight: 800; }
.stb-cart #modulicart #svoya { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 54px; border-radius: 12px; background: #005c5f; font-size: 17px; font-weight: 700; }
@media (max-width: 767px) {
    .stb-cart #poztov { display: block; padding: 14px 4px; }
    .stb-cart #nizkorz > div { width: 100%; margin-bottom: 14px; }
    .stb-cart #nizkorz .pull-right { float: none !important; }
    .stb-cart #modulicart #svoya { width: 100%; }
}

/* Страница заказа */
.stb-order .stb-order__back { display: inline-flex; align-items: center; min-height: 40px; color: #005c5f; font-weight: 700; }
.stb-order__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 6px 0 18px; }
.stb-order__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; }
.stb-order__steps li { padding-top: 14px; border-top: 6px solid #dde4e4; border-radius: 3px; color: #5b6a6a; font-size: 13px; }
.stb-order__steps li.is-on { border-top-color: #005c5f; color: #005c5f; font-weight: 700; }
.stb-order__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.stb-order__main, .stb-order__side { display: grid; gap: 16px; min-width: 0; }
.stb-order__item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid #e8eded; }
.stb-order__item img { flex: 0 0 90px; border-radius: 12px; object-fit: cover; }
.stb-order__name { display: flex; flex: 1; flex-direction: column; gap: 3px; min-width: 0; }
.stb-order__name a { color: #005c5f; font-size: 13px; }
.stb-order__price { font-size: 17px; white-space: nowrap; }
.stb-order__total { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.stb-order__total span { color: #5b6a6a; }
.stb-order__total--final { margin-top: 8px; padding-top: 14px; border-top: 1px solid #e2e8e8; font-size: 22px; }
.stb-order__total--final span { color: #1d2929; font-weight: 700; }
.stb-order__earn { margin-top: 10px; padding: 12px; border-radius: 12px; background: #e6f0f0; color: #005c5f; font-weight: 700; }
.stb-order__info p { margin: 2px 0 14px; font-weight: 600; }
.stb-order__history { margin: 0; padding: 0; list-style: none; }
.stb-order__history li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 12px 0; border-top: 1px solid #e8eded; }
.stb-order__history li div { width: 100%; }
.stb-lk a.stb-lk__title { display: block; color: #1d2929; }
@media (min-width: 992px) { .stb-order__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .stb-order__item img { flex-basis: 64px; width: 64px; height: 52px; } }

/* Края блоков совпадают с краями шапки и поиска: убираем двойной отступ */
.stb-cart > .row, .stb-acc > .row { margin-left: 0; margin-right: 0; }
.stb-cart > .row > #content, .stb-acc > .row > #content { width: 100%; padding-left: 0; padding-right: 0; transition: none; }
.stb-cart #korzvsya { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

.stb-cart #poztov .my_quantity button { margin: 0; border-radius: 0; }

/* Корзина: поле промокода и кнопки количества. Перебиваем !important из темы */
#checkout-cart.stb-cart #input-coupon { height: 50px !important; border: 1px solid #c8d4d4 !important; border-radius: 12px !important; }
#checkout-cart.stb-cart #button-coupon { height: 50px; margin: 0; border: 1px solid #c8d4d4; border-radius: 12px; }
#checkout-cart.stb-cart .my_quantity { display: inline-flex; align-items: center; justify-content: center; height: 48px !important; max-width: none; padding: 2px; border: 0 !important; border-radius: 12px !important; background: #eef2f2 !important; }
#checkout-cart.stb-cart .my_quantity button { width: 44px; height: 44px; padding: 0; border-radius: 10px; background: transparent; }
#checkout-cart.stb-cart .my_quantity button:hover { background: #fff; }
#checkout-cart.stb-cart .my_quantity .quant { width: 44px; background: transparent; }
@media (max-width: 991px) {
    #checkout-cart.stb-cart #modulicart { padding: 18px 16px; }
    #checkout-cart.stb-cart #nizkorz { display: block; }
    #checkout-cart.stb-cart #nizkorz > div { width: 100%; max-width: 420px; margin-right: auto; margin-left: auto; padding: 0; float: none; }
    #checkout-cart.stb-cart #input-coupon { width: 100%; max-width: none !important; margin: 0 0 10px !important; float: none; }
    #checkout-cart.stb-cart #button-coupon { width: 100%; }
    #checkout-cart.stb-cart #modulicart .pull-right { float: none !important; }
    #checkout-cart.stb-cart #modulicart #svoya { width: 100%; min-width: 0; margin: 0; padding-right: 12px; padding-left: 12px; }
}

/* Мобильная шапка: шесть равных мест, все значки одного размера */
@media (max-width: 991px) {
    .row:has(> div > .stb-head-mobile) { align-items: center; min-height: 64px; }
    .row:has(> div > .stb-head-mobile) > div, .row:has(> div > .stb-head-mobile) > div:first-child { flex: 1 1 0; padding-right: 0 !important; padding-left: 0 !important; }
    .row:has(> div > .stb-head-mobile) > div:last-child { flex: 2 1 0; }
    .row:has(> div > .stb-head-mobile) #posmenu { display: flex; justify-content: center; margin: 0; }
    .row:has(> div > .stb-head-mobile) #posmenu label { margin: 0; }
    .row:has(> div > .stb-head-mobile) #idimg img { width: 28px; height: auto; }
    .row:has(> div > .stb-head-mobile) #mbcart2, .row:has(> div > .stb-head-mobile) #mbcart2333 { max-width: none; margin: 0; }
    .row:has(> div > .stb-head-mobile) #mbcart2 a, .row:has(> div > .stb-head-mobile) #mbcart2333 a, .row > div > .stb-head-mobile a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: #005c5f; color: #fff; text-decoration: none; }
    .row:has(> div > .stb-head-mobile) #mbcart2 img { display: none; }
    .row:has(> div > .stb-head-mobile) #mbcart2 a::before { content: "\f095"; font-family: FontAwesome; font-size: 21px; }
    .row:has(> div > .stb-head-mobile) #mbcart2333 i.fa { margin: 0; color: #fff; font-size: 23px; }
    .row > div > .stb-head-mobile a { font-size: 19px; }
    .row > div > .stb-head-mobile, .row > div > .stb-head-mobile + #mbcart { float: left; width: 50%; margin: 0; }
    .row:has(> div > .stb-head-mobile) #cart { margin: 0; }
    .row:has(> div > .stb-head-mobile) #cart > button { display: flex; justify-content: center; height: 40px; margin: 0; padding: 0; }
    .row:has(> div > .stb-head-mobile) #cart-totalkhat { width: 40px; height: 40px; margin: 0; padding: 0; float: none; background-size: 22px auto; }
}
@media (max-width: 991px) {
    .row:has(> div > .stb-head-mobile) #mbcart > #cart { padding: 0 !important; }
}
#checkout-cart.stb-cart #myitogokart, #checkout-cart.stb-cart #myitogokartit { white-space: nowrap; }
@media (max-width: 991px) {
    /* Последняя колонка той же высоты, что и остальные: значки на одной линии */
    .row:has(> div > .stb-head-mobile) > div:last-child { height: 40px; min-height: 0; }
}
@media (max-width: 767px) {
    /* Блок бонусов на оформлении по краям поиска */
    #container > .row > #content > .stb-bonus { margin-right: -15px; margin-left: -15px; }
}

/* Предложение зарегистрироваться */
.stb-join { margin: 0 0 20px; border-radius: 20px; overflow: hidden; background: #005c5f; color: #fff; }
.stb-join__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; }
.stb-join__offer { flex: 1 1 340px; }
.stb-join h2 { margin: 0 0 12px; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.25; text-transform: none; }
.stb-join ul { margin: 0; padding: 0; list-style: none; }
.stb-join li { position: relative; margin-bottom: 6px; padding-left: 24px; font-size: 15px; }
.stb-join li::before { content: "\2713"; position: absolute; left: 0; font-weight: 800; }
.stb-join__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.stb-join .stb-join__main { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border: 0; border-radius: 12px; background: #ffd83d; color: #1d2929; font-size: 16px; font-weight: 800; text-decoration: none; }
.stb-join .stb-join__login { color: #fff; font-weight: 700; text-decoration: underline; }
.stb-join__actions span { color: #cfe6e6; font-size: 13px; }
.stb-join__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 24px; border-top: 1px solid #d6e4e4; border-radius: 0 0 20px 20px; background: #e6f0f0; color: #1d2929; }
.stb-join__form[hidden] { display: none; }
.stb-join__form label { display: flex; flex-direction: column; gap: 6px; margin: 0; font-weight: 700; }
.stb-join__form input:not([type="checkbox"]) { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; font-size: 16px; font-weight: 500; }
.stb-join__form .stb-claim__error, .stb-join__form .stb-join__consent { grid-column: 1 / -1; }
.stb-join__form .stb-join__consent { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; }
.stb-join__consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #005c5f; }
.stb-join__form .stb-join__main { grid-column: 1 / -1; justify-self: start; background: #005c5f; color: #fff; }
@media (max-width: 767px) {
    .stb-join__top, .stb-join__form { padding: 18px 16px; }
    .stb-join h2 { font-size: 21px; }
    .stb-join__actions { width: 100%; }
    .stb-join__form { grid-template-columns: minmax(0, 1fr); }
    .stb-join__form .stb-join__main { justify-self: stretch; }
    #container > .row > #content > .stb-join { margin-right: -15px; margin-left: -15px; }
}

/* Оформление заказа */
.stb-checkout #d_quickcheckout .panel { margin-bottom: 16px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; box-shadow: none; }
.stb-checkout #d_quickcheckout .panel-heading { padding: 20px 22px 0; border: 0; background: transparent; }
.stb-checkout #d_quickcheckout .panel-title, .stb-checkout #d_quickcheckout .panel-heading .text { color: #1d2929; font-size: 19px; font-weight: 800; }
.stb-checkout #d_quickcheckout .panel-body { padding: 14px 22px 18px; }
.stb-checkout #d_quickcheckout .panel-heading .icon:empty { display: none; }
.stb-checkout #d_quickcheckout .form-control { height: 52px !important; padding: 0 14px; border: 1px solid #c8d4d4 !important; border-radius: 12px !important; background-color: #fff; box-shadow: none; font-size: 15px; }
.stb-checkout #d_quickcheckout textarea.form-control { height: 96px !important; padding: 12px 14px; }
.stb-checkout #d_quickcheckout .form-control:focus { border-color: #005c5f !important; box-shadow: 0 0 0 3px rgba(0, 92, 95, .15); }
.stb-checkout #d_quickcheckout .form-control.error, .stb-checkout #d_quickcheckout .has-error .form-control { border-color: #c0392b !important; }
.stb-checkout #payment_address_form, .stb-checkout #shipping_address_form { display: flex; flex-wrap: wrap; align-content: flex-start; margin: 0 -8px; padding: 10px 0 0; border: 0; }
.stb-checkout #payment_address_form > .form-group, .stb-checkout #shipping_address_form > .form-group { width: 50%; margin: 0 0 14px; padding: 0 8px; border: 0; }
.stb-checkout #payment_address_form > .form-group[id$="address_1_input"], .stb-checkout #shipping_address_form > .form-group[id$="address_1_input"] { width: 100%; }
.stb-checkout #d_quickcheckout .form-group > [class*="col-"] { float: none; width: 100%; padding: 0; text-align: left; }
.stb-checkout #d_quickcheckout .control-label { margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 700; }
.stb-checkout #d_quickcheckout .radio-input { margin: 0 0 10px; padding: 0; }
.stb-checkout #d_quickcheckout .radio-input label { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 12px 16px; border: 1px solid #e2e8e8; border-radius: 14px; cursor: pointer; }
.stb-checkout #d_quickcheckout .radio-input input[type="radio"] { position: static; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: #005c5f; }
.stb-checkout #d_quickcheckout .radio-input label:has(input:checked), .stb-checkout #d_quickcheckout .radio-input input:checked + label { border-color: #005c5f; background: #f1f8f8; }
.stb-checkout #d_quickcheckout .radio-input > input[type="radio"] { float: left; margin: 16px 10px 0 4px; }
.stb-checkout #d_quickcheckout .radio-input > input[type="radio"] + label { width: calc(100% - 36px); }
.stb-checkout #d_quickcheckout .radio-input .price { margin-left: auto; font-weight: 800; white-space: nowrap; }
.stb-checkout #d_quickcheckout .btn { min-height: 48px; border-radius: 12px; font-weight: 700; }
.stb-checkout #d_quickcheckout #confirm_view .btn, .stb-checkout #d_quickcheckout #qc_confirm_order { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px; border: 0; background: #005c5f; color: #fff; font-size: 17px; }
.stb-checkout #d_quickcheckout #confirm_view .pull-right { float: none !important; width: 100%; }
.stb-checkout #d_quickcheckout .qc-cart, .stb-checkout #d_quickcheckout .qc-cart td { border: 0; }
.stb-checkout #d_quickcheckout .qc-cart thead { display: none; }
.stb-checkout #d_quickcheckout .qc-cart img { border-radius: 12px; }
@media (max-width: 767px) {
    .stb-checkout > .row { margin-right: 0; margin-left: 0; }
    .stb-checkout > .row > #content { width: 100%; padding-right: 0; padding-left: 0; transition: none; }
    #container.stb-checkout > .row > #content > .stb-join, #container.stb-checkout > .row > #content > .stb-bonus { margin-right: 0; margin-left: 0; }
    .stb-checkout #d_quickcheckout .panel-heading { padding: 16px 16px 0; }
    .stb-checkout #d_quickcheckout .panel-body { padding: 12px 16px 14px; }
    .stb-checkout #payment_address_form > .form-group, .stb-checkout #shipping_address_form > .form-group { width: 100%; }
}

/* Корзина в мобильной шапке: такой же заметный круг, как остальные значки */
@media (max-width: 991px) {
    .row:has(> div > .stb-head-mobile) #cart-totalkhat { display: flex; align-items: center; justify-content: center; background: #005c5f; border-radius: 50%; }
    .row:has(> div > .stb-head-mobile) #cart-totalkhat::before { content: "\f07a"; color: #fff; font-family: FontAwesome; font-size: 20px; }
    /* Поиск: подсказка не заезжает под лупу */
    #search > input.form-control { padding-right: 62px; padding-left: 16px; font-size: 16px; letter-spacing: 0; text-overflow: ellipsis; }
    #search > .input-group-btn > .btn { color: #005c5f; }
    #search > .input-group-btn > .btn i { color: #005c5f; font-size: 19px; }
}

/* Оформление: отступы заголовков, подтверждение заказа и инструкции по оплате */
.stb-checkout #d_quickcheckout .panel-heading { padding: 20px 22px 4px !important; }
.stb-checkout #d_quickcheckout .panel-body { padding: 14px 22px 18px !important; }
.stb-checkout #d_quickcheckout #confirm_agree_input label { display: flex; align-items: flex-start; gap: 12px; padding: 0; font-weight: 500; line-height: 1.5; cursor: pointer; }
.stb-checkout #d_quickcheckout #confirm_agree { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #005c5f; }
.stb-checkout #d_quickcheckout #confirm_agree_input br { display: none; }
.stb-checkout #d_quickcheckout #qc_confirm_order, .stb-checkout #d_quickcheckout #button-confirm { display: block; width: 100% !important; height: auto; min-height: 58px; border: 0; border-radius: 12px; background: #005c5f; color: #fff; font-size: 17px; font-weight: 700; }
.stb-checkout #d_quickcheckout #qc_confirm_order[disabled] { opacity: .55; }
.stb-checkout #d_quickcheckout #payment_view h2 { margin: 6px 0 12px; font-size: 19px; font-weight: 800; text-transform: none; }
.stb-checkout #d_quickcheckout #payment_view .well { border: 0; border-radius: 14px; background: #f3f5f5; box-shadow: none; }
.stb-checkout #d_quickcheckout #payment_view .buttons .pull-right { float: none !important; }
.stb-checkout #d_quickcheckout .apiship_points { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; font-size: 14px; }
@media (max-width: 767px) {
    .stb-checkout #d_quickcheckout .panel-heading { padding: 16px 16px 4px !important; }
    .stb-checkout #d_quickcheckout .panel-body { padding: 12px 16px 14px !important; }
    .stb-checkout #d_quickcheckout .radio-input label { flex-wrap: wrap; }
}
@media (max-width: 767px) {
    /* Кружок, название и цена в одной строке; кнопка выбора ПВЗ переносится ниже */
    .stb-checkout #d_quickcheckout .radio-input label .text { flex: 1 1 0; min-width: 0; }
    .stb-checkout #d_quickcheckout .radio-input label .apiship_points { flex: 0 0 calc(100% - 32px); margin-left: 32px; }
}

/* Оформление: адрес «новый» выглядит так же, как сохранённый — кружок внутри карточки */
.stb-checkout #d_quickcheckout .radio-input:has(> input[type="radio"]) { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0 0 10px; padding: 0 16px; border: 1px solid #e2e8e8; border-radius: 14px; }
.stb-checkout #d_quickcheckout .radio-input:has(> input[type="radio"]:checked) { border-color: #005c5f; background: #f1f8f8; }
.stb-checkout #d_quickcheckout .radio-input > input[type="radio"] { float: none; margin: 0; }
.stb-checkout #d_quickcheckout .radio-input > input[type="radio"] + label { flex: 1; width: auto; min-height: 50px; margin: 0; padding: 12px 0; border: 0; background: transparent; }

/* Примечание к способу доставки не прилипает к соседним карточкам */
.stb-checkout #d_quickcheckout .xshippingpro-desc { margin: -2px 0 16px; padding: 0 16px 0 49px; color: #5b6a6a; font-size: 13px; line-height: 1.4; }

/* Инструкции по оплате и подтверждение заказа */
.stb-checkout #d_quickcheckout #payment_view:has(h2) { margin-bottom: 16px; padding: 22px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; }
.stb-checkout #d_quickcheckout #payment_view > p { margin: 0 0 10px; color: #5b6a6a; font-size: 14px; }
.stb-checkout #d_quickcheckout #payment_view > p b { font-weight: 500; }
.stb-checkout #d_quickcheckout #payment_view .well { position: relative; margin: 0; padding: 16px 18px 16px 52px; background: #e6f0f0; }
.stb-checkout #d_quickcheckout #payment_view .well::before { content: "\f05a"; position: absolute; top: 16px; left: 18px; color: #005c5f; font-family: FontAwesome; font-size: 22px; line-height: 22px; }
.stb-checkout #d_quickcheckout #payment_view .well p:first-child { margin: 0 0 4px; font-weight: 800; }
.stb-checkout #d_quickcheckout #payment_view .well p:last-child { margin: 0; color: #3f5050; font-size: 14px; }
.stb-checkout #d_quickcheckout #confirm_view .panel-body { padding: 22px !important; }
.stb-checkout #d_quickcheckout #confirm_agree_input { margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: #f3f5f5; }
.stb-checkout #d_quickcheckout #confirm_comment_input { margin-bottom: 14px; }
.stb-checkout #d_quickcheckout button#qc_confirm_order, .stb-checkout #d_quickcheckout #button-confirm { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100% !important; max-width: none; height: 62px; margin: 0; border: 0 !important; border-radius: 14px !important; background: #005c5f !important; color: #fff !important; font-family: inherit; font-size: 18px; font-weight: 800; box-shadow: 0 8px 20px rgba(0, 92, 95, .25); }
.stb-checkout #d_quickcheckout button#qc_confirm_order::after { content: "\f061"; font-family: FontAwesome; font-weight: 400; }
.stb-checkout #d_quickcheckout button#qc_confirm_order[disabled] { box-shadow: none; opacity: .5; }

/* Состав заказа и итоги */
.stb-checkout #d_quickcheckout #cart_view .panel-heading { display: none; }
.stb-checkout #d_quickcheckout #cart_view .panel-body { padding: 20px 22px !important; }
.stb-checkout #d_quickcheckout #cart_view .panel-body > p.text:empty { display: none; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart { width: 100%; margin: 0 0 14px; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart td { padding: 10px 0; border-bottom: 1px solid #e8eded; vertical-align: middle; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-image { width: 76px; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-image img { width: 64px; max-width: 64px; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-name { padding-right: 10px; padding-left: 4px; text-align: left; line-height: 1.35; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-name > a { color: #1d2929; font-size: 15px; font-weight: 700; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-name small { color: #5b6a6a; font-size: 12px; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-total { text-align: right; font-size: 16px; font-weight: 800; white-space: nowrap; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals { margin: 0; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0; padding: 7px 0; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row::before, .stb-checkout #d_quickcheckout #cart_view .qc-totals .row::after { display: none; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row > label { float: none; flex: 1 1 auto; width: auto; margin: 0; padding: 0; color: #5b6a6a; font-size: 14px; font-weight: 500; line-height: 1.45; text-align: left; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row > div { float: none; flex: 0 0 auto; width: auto; min-height: 0; margin: 0; padding: 0; color: #1d2929; font-size: 15px; font-weight: 700; line-height: 1.35; white-space: nowrap; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row:last-child { align-items: center; margin-top: 10px; padding: 16px 18px; border-radius: 14px; background: #e6f0f0; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row:last-child > label { color: #1d2929; font-size: 18px; font-weight: 800; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row:last-child > div { color: #005c5f; font-size: 28px; font-weight: 800; }
.stb-checkout #d_quickcheckout #cart_view .svsmanag { padding: 0 22px 22px; }
.stb-checkout #d_quickcheckout #cart_view .svsmanag div, .stb-checkout #d_quickcheckout #cart_view .svsmanag ul, .stb-checkout #d_quickcheckout #cart_view .svsmanag li { margin: 0; padding: 0; border: 0; list-style: none; }
.stb-checkout #d_quickcheckout #cart_view .svsmanag a { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin: 0; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; color: #005c5f; font-weight: 700; text-decoration: none; }
.stb-checkout #d_quickcheckout #cart_view .svsmanag a i { margin: 0; color: #229ed9; font-size: 22px; }
@media (max-width: 767px) {
    .stb-checkout #d_quickcheckout #payment_view:has(h2) { padding: 16px; }
    .stb-checkout #d_quickcheckout #confirm_view .panel-body { padding: 16px !important; }
    .stb-checkout #d_quickcheckout #cart_view .panel-body { padding: 14px 16px !important; }
    .stb-checkout #d_quickcheckout #cart_view .svsmanag { padding: 0 16px 16px; }
}
.stb-checkout #d_quickcheckout #cart_view .svsmanag .echbl1 { width: 100% !important; }
.stb-checkout #d_quickcheckout #cart_view .svsmanag .echbl1 a.ssylc1 { width: 100% !important; margin: 0 !important; }
.stb-checkout #d_quickcheckout #cart_view .qc-cart .qc-name > a { color: #1d2929 !important; }
.stb-checkout #d_quickcheckout #cart_view .qc-totals .row > div, .stb-checkout #d_quickcheckout #cart_view .qc-totals .row > label { font-family: inherit !important; }
.stb-checkout #d_quickcheckout #payment_view:has(h2) .buttons { margin: 0; }
.stb-checkout #d_quickcheckout #payment_view:has(h2) .buttons:has(input[style*="none"]) { display: none; }
.stb-checkout #d_quickcheckout button#qc_confirm_order::after { margin-left: 10px; }

/* Мобильная шапка: лёгкие контурные значки без заливки, один стиль и размер */
@media (max-width: 991px) {
    .row:has(> div > .stb-head-mobile) #mbcart2 a, .row:has(> div > .stb-head-mobile) #mbcart2333 a, .row > div > .stb-head-mobile a, .row:has(> div > .stb-head-mobile) #cart-totalkhat { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto; border: 0; border-radius: 12px; background: transparent; box-shadow: none; }
    .row:has(> div > .stb-head-mobile) #mbcart2333 a i, .row > div > .stb-head-mobile a i { display: none; }
    .row:has(> div > .stb-head-mobile) #mbcart2 a::before, .row:has(> div > .stb-head-mobile) #mbcart2333 a[href*="wa.me"]::before, .row:has(> div > .stb-head-mobile) #mbcart2333 a[href*="t.me"]::before, .row > div > .stb-head-mobile a::before, .row:has(> div > .stb-head-mobile) #cart-totalkhat::before { content: ""; display: block; width: 26px; height: 26px; background-color: #005c5f; }
    .row:has(> div > .stb-head-mobile) #mbcart2 a::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L8.1%209.9a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.8.7a2%202%200%200%201%201.7%202z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.5%2019.5%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L8.1%209.9a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.4c.9.3%201.8.6%202.8.7a2%202%200%200%201%201.7%202z%22/%3E%3C/svg%3E") center / contain no-repeat; }
    .row:has(> div > .stb-head-mobile) #mbcart2333 a[href*="wa.me"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021l1.7-4.8A8.7%208.7%200%201%201%208%2019.4L3%2021z%22/%3E%3Cpath%20d%3D%22M8.8%208.6c0%203.7%202.9%206.6%206.6%206.6l.9-1.5-2.2-1.1-.9%201c-1.3-.5-2.3-1.5-2.8-2.8l1-.9-1.1-2.2-1.5.9z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2021l1.7-4.8A8.7%208.7%200%201%201%208%2019.4L3%2021z%22/%3E%3Cpath%20d%3D%22M8.8%208.6c0%203.7%202.9%206.6%206.6%206.6l.9-1.5-2.2-1.1-.9%201c-1.3-.5-2.3-1.5-2.8-2.8l1-.9-1.1-2.2-1.5.9z%22/%3E%3C/svg%3E") center / contain no-repeat; }
    .row:has(> div > .stb-head-mobile) #mbcart2333 a[href*="t.me"]::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21.5%203.5L2.5%2011l6%202.3L11%2020l3.3-4.4%204.9%203.6%202.3-15.7z%22/%3E%3Cpath%20d%3D%22M8.5%2013.3l13-9.8%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M21.5%203.5L2.5%2011l6%202.3L11%2020l3.3-4.4%204.9%203.6%202.3-15.7z%22/%3E%3Cpath%20d%3D%22M8.5%2013.3l13-9.8%22/%3E%3C/svg%3E") center / contain no-repeat; }
    .row > div > .stb-head-mobile a::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224.2%22/%3E%3Cpath%20d%3D%22M4%2021c0-4.2%203.6-6.6%208-6.6s8%202.4%208%206.6%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%224.2%22/%3E%3Cpath%20d%3D%22M4%2021c0-4.2%203.6-6.6%208-6.6s8%202.4%208%206.6%22/%3E%3C/svg%3E") center / contain no-repeat; }
    .row:has(> div > .stb-head-mobile) #cart-totalkhat::before { -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%2220%22%20r%3D%221.4%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2220%22%20r%3D%221.4%22/%3E%3Cpath%20d%3D%22M2.5%203h2.8l2.5%2012a1.6%201.6%200%200%200%201.6%201.3h8.3a1.6%201.6%200%200%200%201.6-1.2L21%207.5H6.2%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%2220%22%20r%3D%221.4%22/%3E%3Ccircle%20cx%3D%2217.5%22%20cy%3D%2220%22%20r%3D%221.4%22/%3E%3Cpath%20d%3D%22M2.5%203h2.8l2.5%2012a1.6%201.6%200%200%200%201.6%201.3h8.3a1.6%201.6%200%200%200%201.6-1.2L21%207.5H6.2%22/%3E%3C/svg%3E") center / contain no-repeat; }
    .row:has(> div > .stb-head-mobile) #mbcart2 a:active, .row:has(> div > .stb-head-mobile) #mbcart2333 a:active, .row > div > .stb-head-mobile a:active { background: #e6f0f0; }
}

/* История бонусов: отступ до пояснения, заголовок обычным регистром */
.stb-lk .stb-lk__card + .stb-lk__muted { margin: 16px 4px 0; line-height: 1.55; }
.stb-lk .stb-lk__card h2 { text-transform: none; }
.stb-lk h2 { text-transform: none; }
@media (max-width: 991px) {
    .row:has(> div > .stb-head-mobile) > div:last-child, .row:has(> div > .stb-head-mobile) #cart > button { height: 44px; }
}

/* Галочки в списках преимуществ: свой SVG вместо символа */
.stb-acc__promo li, .stb-join li { padding-left: 32px; line-height: 1.45; }
.stb-acc__promo li::before, .stb-join li::before { content: ""; position: absolute; top: .72em; left: 0; width: 20px; height: 20px; margin-top: -10px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%2210%22%20fill%3D%22%23fff%22%20fill-opacity%3D%22.16%22/%3E%3Cpath%20d%3D%22M5.5%2010.4l3%203%206-6.4%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E") center / contain no-repeat; }

/* Кнопка регистрации в цветах сайта: белая на фирменном фоне */
.stb-join .stb-join__top .stb-join__main { background: #fff; color: #005c5f; }
.stb-join .stb-join__top .stb-join__main:hover { background: #e6f0f0; }

/* Страница «Заказ принят» */
.stb-done { padding-top: 16px; padding-bottom: 40px; color: #1d2929; }
.stb-done__box { max-width: 720px; margin: 0 auto; padding: 36px 32px; border: 1px solid #e2e8e8; border-radius: 24px; background: #fff; text-align: center; }
.stb-done__icon { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #005c5f; }
.stb-done h1 { margin: 0 0 8px; font-size: 30px; font-weight: 800; line-height: 1.25; text-transform: none; }
.stb-done__lead { margin: 0 0 22px; color: #5b6a6a; font-size: 16px; }
.stb-done__info { margin: 0 0 16px; text-align: left; }
.stb-done__info div { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 12px 0; border-top: 1px solid #e8eded; }
.stb-done__info dt { flex: 0 0 auto; color: #5b6a6a; font-weight: 500; }
.stb-done__info dd { margin: 0; font-weight: 700; text-align: right; }
.stb-done__note, .stb-done__bonus { margin-bottom: 12px; padding: 14px 16px; border-radius: 14px; text-align: left; line-height: 1.5; }
.stb-done__note { background: #f3f5f5; color: #3f5050; font-size: 14px; }
.stb-done__bonus { background: #e6f0f0; color: #005c5f; font-weight: 800; text-align: center; }
.stb-done__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.stb-done .stb-done__button { display: inline-flex; flex: 1 1 180px; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border-radius: 12px; background: #005c5f; color: #fff; font-weight: 700; text-decoration: none; }
.stb-done .stb-done__button--light { background: #e6f0f0; color: #005c5f; }
.stb-done__help { margin: 20px 0 0; color: #5b6a6a; font-size: 14px; }
.stb-done__help a { color: #005c5f; font-weight: 700; }
.stb-done > .stb-claim, .stb-done > .stb-bonus { max-width: 720px; margin-right: auto; margin-left: auto; }
.stb-done > .stb-claim, .stb-done > .stb-bonus { margin-top: 16px; }
@media (max-width: 767px) {
    .stb-done__box { padding: 28px 16px; }
    .stb-done h1 { font-size: 23px; }
    .stb-done .stb-done__button { flex-basis: 100%; }
}

/* Уровни бонусной программы */
.stb-level { margin-bottom: 16px; padding: 18px 20px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; }
.stb-level__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.stb-level__row b { font-size: 22px; }
.stb-level__percent { color: #005c5f; font-size: 40px; font-weight: 800; line-height: 1; }
.stb-level__bar { height: 8px; margin: 14px 0 10px; overflow: hidden; border-radius: 4px; background: #e8eded; }
.stb-level__bar span { display: block; height: 100%; border-radius: 4px; background: #005c5f; }
.stb-levels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 14px 0; }
.stb-levels__item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 24px; border: 1px solid #e2e8e8; border-radius: 20px; background: #fff; }
.stb-levels__item.is-active { border-color: #005c5f; box-shadow: 0 10px 28px rgba(0, 92, 95, .14); }
.stb-lk .stb-levels__percent { color: #005c5f; font-size: 48px; font-weight: 800; line-height: 1; }
.stb-levels__item b { font-size: 19px; }
.stb-lk .stb-levels__range { padding: 6px 10px; border-radius: 8px; background: #f3f5f5; color: #3f5050; font-size: 13px; font-weight: 700; }
.stb-lk .stb-levels__text { color: #3f5050; font-size: 14px; line-height: 1.5; }
.stb-lk .stb-levels__mark { position: absolute; top: 16px; right: 16px; padding: 5px 10px; border-radius: 20px; background: #005c5f; color: #fff; font-size: 12px; font-weight: 700; }
@media (min-width: 600px) { .stb-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .stb-levels { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* День рождения */
.stb-birthday { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; padding: 18px 20px; border-radius: 20px; background: #e6f0f0; }
.stb-birthday > div { display: flex; flex: 1 1 280px; flex-direction: column; gap: 2px; }
.stb-birthday input[type="date"] { height: 48px; padding: 0 12px; border: 1px solid #c8d4d4; border-radius: 12px; background: #fff; font-size: 16px; }
.stb-birthday label { display: flex; align-items: center; gap: 8px; margin: 0; }
.stb-birthday label input { width: 20px; height: 20px; margin: 0; accent-color: #005c5f; }
.stb-lk .stb-birthday .stb-lk__button { width: auto; margin: 0; padding: 0 24px; }
.stb-hint { margin-top: 6px; color: #5b6a6a; font-size: 13px; }
.stb-note { display: flex; flex-direction: column; gap: 4px; margin: 0 0 18px; padding: 18px 22px; border-radius: 16px; background: #e6f0f0; }
.stb-note a { color: #005c5f; font-weight: 700; }
.stb-claim__field + .stb-claim__field { margin-top: 12px; }
@media (max-width: 767px) { .stb-birthday input[type="date"], .stb-lk .stb-birthday .stb-lk__button { width: 100%; } }

/* Обзор: колонки не растягиваются друг под друга */
.stb-lk__home { align-items: start; }
.stb-lk__aside { display: flex; flex-direction: column; gap: 16px; }
.stb-lk__aside > * { margin: 0; }
.stb-lk__home .stb-lk__balance { justify-content: flex-start; }
.stb-lk .stb-lk__rest { color: #005c5f; font-weight: 700; }
@media (min-width: 992px) { .stb-lk__aside .stb-birthday input[type="date"] { flex: 1; } }

/* Профиль: заметка о дате рождения внутри формы, кнопки с отступом */
#account-edit.stb-acc .stb-note { margin: 0 0 18px; }
.stb-acc .buttons { clear: both; margin-top: 4px; }

/* Страница правил бонусной программы */
.stb-rules__hero { padding: 36px 32px; border-radius: 24px; background: #005c5f; color: #fff; }
.stb-rules .stb-rules__hero h1 { margin: 0 0 12px; color: #fff; font-size: 34px; text-transform: none; }
.stb-rules__hero p { max-width: 620px; margin: 0 0 22px; font-size: 17px; line-height: 1.55; }
.stb-rules__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stb-rules .stb-rules__button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border: 1px solid #fff; border-radius: 12px; background: #fff; color: #005c5f; font-weight: 700; text-decoration: none; }
.stb-rules .stb-rules__button--ghost { background: transparent; color: #fff; }
.stb-rules h2 { margin: 30px 0 12px; font-size: 22px; }
.stb-rules__steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: stb-step; }
.stb-rules__steps li { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #f3f5f5; counter-increment: stb-step; }
.stb-rules__steps li::before { content: counter(stb-step); display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #005c5f; color: #fff; font-weight: 800; }
.stb-rules__steps b { font-size: 17px; }
.stb-rules__steps span { color: #3f5050; line-height: 1.5; }
.stb-rules__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 26px; }
.stb-rules .stb-rules__grid h2 { margin: 0 0 12px; font-size: 20px; }
.stb-rules__grid ul { margin: 0; padding-left: 20px; }
.stb-rules__grid li { margin-bottom: 8px; line-height: 1.55; }
.stb-rules__grid a, .stb-rules__help a { color: #005c5f; font-weight: 700; }
.stb-rules__help { margin-top: 24px; text-align: center; }
.stb-acc .stb-acc__promo a.stb-rules-link, .stb-join a.stb-rules-link { display: inline-block; margin-top: 14px; color: #fff; font-size: 14px; font-weight: 500; text-decoration: underline; }
.stb-lk__orders ~ .stb-lk__button, .stb-lk > .stb-lk__button--light { margin-bottom: 14px; }
@media (min-width: 768px) {
    .stb-rules__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stb-rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .stb-rules__hero { padding: 24px 18px; }
    .stb-rules .stb-rules__hero h1 { font-size: 26px; }
    .stb-rules .stb-rules__button { width: 100%; }
}
.stb-rules .stb-rules__hero { margin-top: 18px; }
/* Блок «Каталог товаров» в шапке плавающий: контент начинается под ним */
.stb-lk, .stb-done, .stb-rules { clear: both; }
.stb-rules .stb-rules__hero { margin-top: 0; }
@media (max-width: 767px) { .stb-lk.stb-rules { padding-top: 0; } }

/* Трек-номер в кабинете */
.stb-track { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: #e6f0f0; }
.stb-track span { color: #3f5050; font-size: 14px; }
.stb-track b { color: #005c5f; font-size: 17px; word-break: break-all; user-select: all; }
.stb-track--page { margin: 0 0 18px; }
