/* K1: веса другой обжарки в карточке кофе скрыты атрибутом hidden (перебивает display у .product-variants__labels) */
.product-card .variant-wt-list[hidden] {
    display: none !important;
}

/* K3: вариант группы фасовок, которого нет в наличии, — виден, но выключен */
.product-card .variant-wt.is-disabled {
    opacity: .4;
    pointer-events: none;
}
.product-card .variant-wt.is-disabled .product-variant__btn {
    text-decoration: line-through;
}

/* P-292 M-10 / M-11: корзина в карточке списка. Состояние рисует SpListCart (specialty_new/script.js), разметка нейтральна.
   Цвета - токены проекта: #6667AB (--btn-violet-active), #F4F4FF (--main-light-blue). Зоны нажатия не меньше 44x44 px. */
.sp-lc [hidden] {
    display: none !important;
}

.sp-lc[aria-busy="true"] {
    opacity: .6;
    pointer-events: none;
}

.sp-lc__stepper {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 44px;
    overflow: hidden;
    border: 1px solid var(--btn-violet-active, #6667AB);
    border-radius: 100px;
    background-color: var(--main-light-blue, #F4F4FF);
    box-sizing: border-box;
}

.sp-lc__btn {
    position: relative;
    flex: 0 0 44px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--btn-violet-active, #6667AB);
    cursor: pointer;
}

.sp-lc__btn::before,
.sp-lc__btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 1px;
    background-color: currentColor;
}

.sp-lc__minus::after {
    display: none;
}

.sp-lc__plus::after {
    transform: rotate(90deg);
}

.sp-lc__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.sp-lc__btn:focus-visible,
.sp-lc__input:focus-visible,
.sp-lc__more:focus-visible {
    outline: 2px solid var(--btn-stroke-focused, #212121);
    outline-offset: -2px;
}

.sp-lc__input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    font-family: var(--font);
    font-size: 16px; /* не меньше 16 px: iOS не приближает страницу при фокусе */
    line-height: 22px;
    font-weight: 600;
    color: var(--btn-violet-active, #6667AB);
    -moz-appearance: textfield;
    appearance: textfield;
}

.sp-lc__input::-webkit-outer-spin-button,
.sp-lc__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-lc__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border: 1px solid var(--btn-violet-active, #6667AB);
    border-radius: 100px;
    background-color: var(--main-light-blue, #F4F4FF);
    color: var(--btn-violet-active, #6667AB);
    font-family: var(--font);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    box-sizing: border-box;
}

.sp-lc__note {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 14px;
    color: var(--text-dark-gray, #777880);
}

.sp-lc__note--err {
    color: var(--text-error, #FF122E);
}
