/**
 * Редизайн СпортГрупп — фаза 1 (DEV-52)
 * Токены из Figma: фон #0a0a0a, текст #fbfafa, карточки #131313
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --sg-bg: #0a0a0a;
    --sg-bg-elevated: #131313;
    --sg-text: #fbfafa;
    --sg-text-muted: rgba(251, 250, 250, 0.7);
    --sg-border: rgba(255, 255, 255, 0.06);
    --sg-border-hover: rgba(255, 255, 255, 0.2);
    /* Радиус карточек/панелей (вдохновение — тёмная тема Windows 11) */
    --sg-radius: 12px;
    --sg-container-desktop: 80px;
    --sg-container-tablet: 24px;
    --sg-container-mobile: 20px;
    /* Figma BODY: Desktop 20 / Tablet 18 / Mobile 16, lh 1.4 во всех разрешениях */
    --sg-fs-body: 20px;
    --sg-lh-body: 1.4;
    --main-color: #fbfafa;
    --main-color-hover: #d9d9d9;
}

@media (max-width: 1199px) {
    :root {
        --sg-fs-body: 18px;
    }
}

@media (max-width: 767px) {
    :root {
        --sg-fs-body: 16px;
    }
}

body.sg-redesign {
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: clip;
}

body.sg-menu-open {
    overflow: hidden;
}

body.sg-redesign a:not(.sg-hero__btn):not(.sg-product-mini__cart-btn):not(.sg-categories__card):not(.sg-categories__link):not(.sg-product-mini__title-link):not(.sg-blog-detail__promo-btn):not(.sg-about__btn):not(.sg-about__btn--primary):not(.open-basket-product-btn__basket):not(.open-basket-product-btn__more-buy):not(.open-basket-product__name):not(.open-basket-origami__tab-not-products-cat):not(.open-basket-origami__tab-not-products-main):not(.sg-brand-chips__item):not(.sg-brand-products__more-btn):not(.sg-pay__btn):not(.sg-pay__link) {
    color: inherit;
}

/* Скрываем старую шапку Origami, если осталась в DOM */
body.sg-redesign .header-three,
body.sg-redesign .header-two,
body.sg-redesign .header-one,
body.sg-redesign .header-four,
body.sg-redesign .header-five {
    display: none !important;
}

/* --- Header --- */
.sg-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--sg-bg);
    border-bottom: 1px solid #5f5d5d;
    max-width: 100%;
    overflow-x: clip;
}

.sg-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 69px;
    padding: 0 var(--sg-container-desktop);
    max-width: 1440px;
    margin: 0 auto;
}

.sg-header__logo-link {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sg-text);
    white-space: nowrap;
}

.sg-header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.sg-header__nav-link {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.7;
    text-decoration: none;
    padding: 3px 0;
    transition: opacity 0.2s ease;
}

.sg-header__nav-link:hover {
    opacity: 1;
}

.sg-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.sg-header__actions [data-sg-search-toggle] {
    order: 1;
}

.sg-header__basket {
    order: 2;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sg-header__basket .bx-basket {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-start;
    position: relative;
}

.sg-header__basket .header-two__basket-compare {
    order: 2;
}

.sg-header__basket .header-two__basket-favorites {
    order: 3;
}

.sg-header__basket .sg-header__profile {
    order: 4;
}

.sg-header__basket .header-two__basket-buy {
    order: 5;
}

.sg-header__basket .window_basket,
.sg-header__basket .bx-basket-item-list {
    order: 99;
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    left: auto;
    z-index: 1100;
    min-width: min(965px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
}

.sg-header__basket .overlay-basket {
    z-index: 1090;
}

.sg-header__actions > * {
    flex-shrink: 0;
}

.sg-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--sg-text);
    text-decoration: none;
    cursor: pointer;
    border-radius: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.sg-header__icon-btn:hover {
    opacity: 0.7;
    background: transparent;
}

.sg-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sg-header__burger span {
    display: block;
    height: 2px;
    background: var(--sg-text);
    border-radius: 1px;
}

.sg-header__search {
    border-top: 1px solid var(--sg-border);
    background: var(--sg-bg-elevated);
}

.sg-header__search-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px var(--sg-container-desktop);
}

.sg-header__search[hidden] {
    display: none !important;
}

.sg-header__basket .basket-block__link,
.sg-header__basket .header-two__basket-compare,
.sg-header__basket .header-two__basket-favorites,
.sg-header__basket .header-two__basket-buy,
.sg-header__basket .sg-header__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    color: var(--sg-text);
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.sg-header__basket .basket-block__link:hover,
.sg-header__basket .header-two__basket-compare:hover,
.sg-header__basket .header-two__basket-favorites:hover,
.sg-header__basket .header-two__basket-buy:hover,
.sg-header__basket .sg-header__profile:hover {
    opacity: 0.7;
    background: transparent;
}

.sg-icon-img {
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.sg-header__icon-btn img,
.sg-header__icon-btn .sg-icon-img,
.sg-header__basket .sg-icon-img {
    width: 20px;
    height: 20px;
}

/* Инлайновые svg гасим только у иконок-ссылок шапки: внутри выпадающей
   мини-корзины svg нужны (крестик, «+/-», сердце, корзина). */
.sg-header__icon-btn svg,
.sg-header__basket .bx-basket > a svg {
    display: none;
}

body.sg-redesign .sg-header__basket .header-two__basket-compare svg,
body.sg-redesign .sg-header__basket .header-two__basket-favorites svg,
body.sg-redesign .sg-header__basket .header-two__basket-buy svg {
    display: none !important;
}

.sg-header__basket .header-two__basket-compare:not(.active) .basket-item-count,
.sg-header__basket .header-two__basket-favorites:not(.active) .basket-item-count,
.sg-header__basket .header-two__basket-buy:not(.active) .basket-item-count {
    display: none;
}

.sg-header__basket .basket-item-count,
.sg-header__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--sg-text);
    color: var(--sg-bg);
    font-size: 10px;
    line-height: 16px;
    text-align: center;
}

.sg-header__badge--pulse {
    animation: sg-badge-pulse 0.45s ease;
}

@keyframes sg-badge-pulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.sg-header__icon-btn--badge {
    position: relative;
}

/* --- Мини-корзина в шапке (выпадающая панель) — тёмная тема SG ---
   Разметку компонента bitrix:sale.basket.basket.line / origami_basket_top
   не меняем: панель перерисовывается JS (basket_ajax.php), поэтому только CSS. */

/* Полноэкранный overlay Origami (z-index 1090 внутри .sg-header) перекрывал
   иконки шапки: клик по иконке корзины не срабатывал. Панель и так закрывается
   по mouseleave контейнера, так что в SG оверлей не нужен. */
body.sg-redesign .sg-header__basket .overlay-basket {
    display: none !important;
}

body.sg-redesign .sg-header__basket .modal-block {
    padding: 20px 0 0;
}

body.sg-redesign .sg-header__basket .bx-basket-item-list-container.modal-content,
body.sg-redesign .sg-header__basket .open-basket-origami,
body.sg-redesign .sg-header__basket .open-basket-origami__tab {
    background: var(--sg-bg-elevated);
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .bx-basket-item-list-container.modal-content {
    padding: 0;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

body.sg-redesign .sg-header__basket .bx-basket-item-list-container:before {
    border-top: 1px solid var(--sg-border);
    border-left: 1px solid var(--sg-border);
    background: var(--sg-bg-elevated);
}

/* Внутри панели — шрифт SG (тема вешает Open Sans на все a/кнопки через !important) */
body.sg-redesign .sg-header__basket .open-basket-origami,
body.sg-redesign .sg-header__basket .open-basket-origami * {
    font-family: 'Inter', Arial, sans-serif !important;
}

body.sg-redesign .sg-header__basket .open-basket-origami {
    padding: 24px 0 0;
}

body.sg-redesign .sg-header__basket .open-basket-origami__title {
    position: static;
    flex: 1 1 auto;
    margin: 0;
    padding: 0 20px 0 30px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__close {
    position: static;
    align-self: center;
    padding: 0 30px 0 0;
    font-size: 13px;
    line-height: 1.2;
    color: var(--sg-text-muted);
    transition: color 0.2s ease;
}

body.sg-redesign .sg-header__basket .open-basket-origami__close:hover,
body.sg-redesign .sg-header__basket .open-basket-origami__close:hover .open-basket-origami__close-svg {
    color: var(--sg-text);
    fill: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__close-svg {
    width: 12px;
    height: 14px;
    margin-right: 6px;
    fill: currentColor;
    transition: none;
}

/* Табы: подпись в 15px, активный — текст SG и подчёркивание 2px */
body.sg-redesign .sg-header__basket .open-basket-origami__tabs {
    justify-content: flex-start;
    margin-top: 20px;
    padding: 0 30px;
}

body.sg-redesign .sg-header__basket .open-basket-origami__tabs label,
body.sg-redesign .sg-header__basket .open-basket-origami__tabs label[for=open-basket-origami__tab_basket],
body.sg-redesign .sg-header__basket .open-basket-origami__tabs label[for=open-basket-origami__tab_wish] {
    margin: 0 32px 0 0;
    padding: 0 0 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--sg-text-muted);
    transition: color 0.2s ease;
}

body.sg-redesign .sg-header__basket .open-basket-origami__tabs label:hover,
body.sg-redesign .sg-header__basket .open-basket-origami__tabs input[type=radio]:checked + label,
body.sg-redesign .sg-header__basket .open-basket-origami__tabs input[type=radio]:checked + label:hover {
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tabs input[type=radio]:checked + label:before,
body.sg-redesign .sg-header__basket .open-basket-origami__tabs input[type=radio]:checked + label:hover:before {
    bottom: 0;
    height: 2px;
    background: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tabs .open-basket-origami__tab {
    margin-top: 0;
    min-height: 0;
    background: transparent;
}

/* Таблица позиций */
body.sg-redesign .sg-header__basket .open-basket-product-block-title {
    padding: 14px 30px 12px;
    background: transparent;
}

body.sg-redesign .sg-header__basket .open-basket-product-block-title::after {
    left: 30px;
    width: calc(100% - 60px);
    background: var(--sg-border);
}

body.sg-redesign .sg-header__basket .open-basket-product-block-name {
    font-size: 13px;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

/* Ширины колонок заголовка подогнаны под колонки строки (измерено) */
body.sg-redesign .sg-header__basket .open-basket-product-block-name.open-basket-product-block-name--name {
    width: 208px;
    margin-left: 116px;
}

body.sg-redesign .sg-header__basket .open-basket-product-block-name.open-basket-product-block-name--price {
    width: 150px;
}

body.sg-redesign .sg-header__basket .open-basket-product-block-name.open-basket-product-block-name--quantity {
    width: 164px;
}

body.sg-redesign .sg-header__basket .open-basket-product-block__one {
    padding: 16px 30px;
    align-items: center;
    background: transparent;
}

body.sg-redesign .sg-header__basket .open-basket-product-block__one::after {
    left: 30px;
    width: calc(100% - 60px);
    background: var(--sg-border);
}

body.sg-redesign .sg-header__basket .open-basket-product-block.origami_main_scroll {
    max-height: 320px;
    padding-bottom: 0;
}

body.sg-redesign .sg-header__basket .open-basket-product-block.preload {
    background-image: linear-gradient(rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04));
}

body.sg-redesign .sg-header__basket .open-basket-product-block__item,
body.sg-redesign .sg-header__basket .open-basket-product-block__item.open-basket-product__total {
    padding: 0;
}

body.sg-redesign .sg-header__basket .open-basket-product-block__item.open-basket-product__picture {
    padding: 0;
}

body.sg-redesign .sg-header__basket .open-basket-product__info {
    padding: 0 0 0 16px;
}

body.sg-redesign .sg-header__basket .open-basket-product__price,
body.sg-redesign .sg-header__basket .open-basket-product__price-one {
    padding-top: 0;
}

body.sg-redesign .sg-header__basket .open-basket-product__number,
body.sg-redesign .sg-header__basket .open-basket-product__number.open-basket-product__number--wish {
    padding: 0;
    align-items: center;
}

body.sg-redesign .sg-header__basket .open-basket-product__total-block,
body.sg-redesign .sg-header__basket .open-basket-product__total-block.open-basket-product__total-block--wish {
    align-items: center;
    justify-content: space-between;
}

body.sg-redesign .sg-header__basket .open-basket-product__total-price {
    padding-top: 0;
}

/* Тексты позиций */
body.sg-redesign .sg-header__basket .open-basket-product__name {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product__price-one-value {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product__total-value {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product__total-name,
body.sg-redesign .sg-header__basket .open-basket-product__price-one-name,
body.sg-redesign .sg-header__basket .open-basket-product__property-name {
    font-size: 12px;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product__property-value {
    font-size: 12px;
    line-height: 1.4;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product__price-one-old-value,
body.sg-redesign .sg-header__basket .open-basket-product__price-one-quantity,
body.sg-redesign .sg-header__basket .open-basket-product__total-eco,
body.sg-redesign .sg-header__basket .open-basket-product__number-item,
body.sg-redesign .sg-header__basket .open-basket-product__price-one-saving .price-one-saving__name,
body.sg-redesign .sg-header__basket .open-basket-product-btn__total-eco-title,
body.sg-redesign .sg-header__basket .open-basket-product-btn__total-eco-old-price {
    color: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product__price-one-saving .price-one-saving__value,
body.sg-redesign .sg-header__basket .open-basket-product-btn__total-eco-summ {
    color: #4ade80;
    border-color: rgba(74, 222, 128, 0.45);
    border-radius: 6px;
}

/* Количество: тёмный инпут, рамка и радиус SG */
body.sg-redesign .sg-header__basket .open-basket-product__quantity {
    height: 40px;
    margin-top: 0;
    background: var(--sg-bg);
    border: 1px solid var(--sg-border);
    border-radius: 8px;
    overflow: hidden;
}

body.sg-redesign .sg-header__basket .open-basket-product__quantity .open-basket-product__quantity-value {
    width: 36px;
    height: 100%;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    color: var(--sg-text);
    background: transparent;
    border-left: 1px solid var(--sg-border);
    border-right: 1px solid var(--sg-border);
}

body.sg-redesign .sg-header__basket .open-basket-product__quantity .open-basket-product__quantity-plus,
body.sg-redesign .sg-header__basket .open-basket-product__quantity .open-basket-product__quantity-minus {
    width: 30px;
    color: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product__quantity .open-basket-product__quantity-plus:hover,
body.sg-redesign .sg-header__basket .open-basket-product__quantity .open-basket-product__quantity-minus:hover {
    background-color: rgba(255, 255, 255, 0.06);
}

body.sg-redesign .sg-header__basket .open-basket-product__quantity-minus-icon,
body.sg-redesign .sg-header__basket .open-basket-product__quantity-plus-icon {
    fill: var(--sg-text-muted);
}

/* В отложенных количество — просто текст, без рамки-инпута */
body.sg-redesign .sg-header__basket .open-basket-product__quantity.open-basket-product__quantity--wish {
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

body.sg-redesign .sg-header__basket .open-basket-product__quantity.open-basket-product__quantity--wish span {
    font-size: 14px;
    color: var(--sg-text);
}

/* Иконки действий в строке */
body.sg-redesign .sg-header__basket .open-basket-product__wish .open-basket-product__wish-svg {
    width: 18px;
    height: 18px;
    fill: var(--sg-text-muted);
    stroke: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product__wish:hover .open-basket-product__wish-svg {
    fill: var(--sg-text);
    stroke: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product-block__one-close {
    width: 14px;
    height: 14px;
    right: 30px;
    fill: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product-block__one-close:hover {
    fill: var(--sg-text);
}

/* Итог и кнопки */
body.sg-redesign .sg-header__basket .open-basket-product-btn {
    width: 100%;
    margin: 0;
    padding: 20px 30px 24px;
    align-items: center;
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__more-buy {
    align-self: center;
    padding-top: 0;
    font-size: 14px;
    line-height: 1.2;
    color: var(--sg-text-muted);
    transition: color 0.2s ease;
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__more-buy svg {
    fill: currentColor;
    transition: none;
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__more-buy:hover,
body.sg-redesign .sg-header__basket .open-basket-product-btn__more-buy:hover svg {
    color: var(--sg-text);
    fill: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__total-price-n-name {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__total-price-value {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .basket-line-btn-oc {
    order: 3;
    width: auto;
    min-width: 160px;
    height: 44px;
    margin-left: 16px;
    padding: 0 20px;
    font-size: 14px;
    color: var(--sg-text);
    background: transparent;
    border: 1px solid var(--sg-border-hover);
    border-radius: 8px;
}

body.sg-redesign .sg-header__basket .basket-line-btn-oc:hover {
    color: var(--sg-text);
    border-color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__basket {
    min-width: 220px;
    height: 44px;
    margin-left: 16px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--sg-bg);
    background: var(--sg-text);
    border: 1px solid var(--sg-text);
    border-radius: 8px;
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__basket:hover {
    color: var(--sg-bg);
    background: var(--main-color-hover);
    border-color: var(--main-color-hover);
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__basket svg,
body.sg-redesign .sg-header__basket .open-basket-product-btn__basket .open-basket-product-btn__basket-svg {
    width: 20px;
    height: 18px;
    margin: 0 8px 0 0;
    fill: var(--sg-bg);
    stroke: var(--sg-bg);
}

body.sg-redesign .sg-header__basket .open-basket-product-btn__basket:hover svg {
    fill: var(--sg-bg);
    stroke: var(--sg-bg);
}

/* Пустое состояние */
body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products {
    padding: 32px 30px;
    background: transparent;
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-logo svg {
    fill: rgba(251, 250, 250, 0.25);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-title {
    padding-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-descripion {
    font-size: 14px;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-cat,
body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-main {
    width: auto;
    min-width: 140px;
    height: 44px;
    line-height: 42px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-cat {
    margin-right: 12px;
    color: var(--sg-bg);
    background-color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-cat:hover {
    color: var(--sg-bg);
    background-color: var(--main-color-hover);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-main {
    color: var(--sg-text);
    border: 1px solid var(--sg-border-hover);
}

body.sg-redesign .sg-header__basket .open-basket-origami__tab-not-products-main:hover {
    color: var(--sg-text);
    border-color: var(--sg-text);
}

body.sg-redesign .sg-header__basket .ps__thumb-y {
    background-color: rgba(255, 255, 255, 0.2);
}

.sg-header__basket .header-three__basket-block {
    color: var(--sg-text);
}

.sg-header__basket .bx-basket-item-list,
.sg-header__basket .header-three__basket-popup {
    color: var(--sg-text);
}

/* --- Mobile menu --- */
.sg-mobile-menu[hidden] {
    display: none !important;
}

.sg-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.sg-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.sg-mobile-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 88vw);
    height: 100%;
    background: var(--sg-bg-elevated);
    padding: 20px;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
}

.sg-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sg-mobile-menu__close {
    border: 0;
    background: transparent;
    color: var(--sg-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sg-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sg-mobile-menu__link {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    opacity: 0.85;
}

/* --- Footer --- */
body.sg-redesign .footer-block {
    display: none !important;
}

.sg-footer {
    background: #060606;
    color: var(--sg-text);
    margin-top: auto;
}

.sg-footer__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px var(--sg-container-desktop) 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sg-footer__columns {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.sg-footer__brand {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-right: 20px;
}

.sg-footer__logo-link {
    display: inline-flex;
    text-decoration: none;
    line-height: 0;
}

.sg-footer__logo {
    display: block;
    width: 100px;
    height: 95px;
    object-fit: contain;
    object-position: left center;
}

.sg-footer__brand-name {
    display: none;
    margin: 0;
}

.sg-footer__tagline {
    margin: 0;
    max-width: 220px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
}

.sg-footer__socials {
    display: flex;
    align-items: center;
    min-height: 20px;
}

.sg-footer__socials-wrap {
    position: relative;
    width: 105px;
    height: 20px;
}

.sg-footer__socials-img {
    display: block;
    width: 105px;
    height: 20px;
}

.sg-footer__social-hit {
    position: absolute;
    top: 0;
    height: 100%;
}

.sg-footer__social-hit--tg {
    left: 0;
    width: 24px;
}

.sg-footer__social-hit--vk {
    left: 38px;
    width: 33px;
}

.sg-footer__col {
    flex: 0 0 auto;
    width: auto;
}

.sg-footer__nav-groups {
    display: flex;
    flex: 0 0 auto;
    gap: 20px;
    align-items: flex-start;
}

.sg-footer__col--catalog,
.sg-footer__col--info,
.sg-footer__col--contacts {
    flex: 0 0 197px;
    width: 197px;
}

.sg-footer__col--docs {
    flex: 0 0 196px;
    width: 196px;
}

.sg-footer__col--contacts {
    max-width: 220px;
}

.sg-footer__title {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.91px;
    text-transform: uppercase;
    color: rgba(251, 250, 250, 0.5);
}

.sg-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sg-footer__links a {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sg-footer__links a:hover {
    opacity: 0.7;
}

.sg-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
}

.sg-footer__contacts a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sg-footer__contacts a:hover {
    opacity: 0.7;
}

.sg-footer__phone {
    font-weight: 500;
}

.sg-footer__address {
    max-width: 210px;
}

.sg-footer__divider {
    width: 100%;
    max-width: 1280px;
    height: 1px;
    margin: 24px auto 0;
    background: rgba(251, 250, 250, 0.3);
    flex-shrink: 0;
}

.sg-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    flex: 0 0 auto;
    color: rgba(251, 250, 250, 0.4);
}

.sg-footer__copy {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
}

.sg-footer__payments {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
    opacity: 0.4;
}

/* --- Hero (главная) --- */
.sg-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 900px;
    overflow: hidden;
    color: var(--sg-text);
    touch-action: pan-y;
}

.sg-hero__track {
    position: absolute;
    inset: 0;
}

.sg-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.sg-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.sg-hero__media {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sg-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.sg-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.sg-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 120px;
    width: 100%;
    max-width: 1440px;
    min-height: 900px;
    margin: 0 auto;
    padding: 0 var(--sg-container-desktop);
    text-align: center;
}

.sg-hero__eyebrow {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--sg-text);
    overflow-wrap: anywhere;
}

.sg-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    width: 100%;
}

.sg-hero__title {
    margin: 0;
    width: 100%;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--sg-text);
}

.sg-hero__subtitle {
    margin: 0;
    width: 100%;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text);
}

.sg-hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.sg-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 301px;
    max-width: 100%;
    min-height: 60px;
    padding: 20px 40px;
    border-radius: 4px;
    background: var(--sg-text) !important;
    color: #0a0a0a !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sg-hero__btn:hover,
.sg-hero__btn:focus {
    opacity: 0.9;
    color: #0a0a0a !important;
    background: var(--sg-text) !important;
}

.sg-hero__progress {
    display: flex;
    gap: 8px;
    width: 200px;
}

.sg-hero__progress-seg {
    position: relative;
    flex: 1;
    height: 4px;
    padding: 0;
    border: 0;
    background: rgba(251, 250, 250, 0.5);
    cursor: pointer;
    overflow: hidden;
}

.sg-hero__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--sg-text);
}

.sg-hero__progress-seg.is-active .sg-hero__progress-fill {
    width: 100%;
    transition: width linear;
}

.sg-hero__progress-seg.is-done .sg-hero__progress-fill {
    width: 100%;
    transition: none;
}

/* --- Секции главной --- */
.sg-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.sg-section-head__title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--sg-text);
}

.sg-section-head__link {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--sg-text-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sg-section-head__link:hover {
    color: var(--sg-text);
}

.sg-popular-products {
    padding: 160px 0 0;
}

.sg-popular-products__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--sg-container-desktop);
}

.sg-popular-products .sg-section-head {
    align-items: center;
    margin-bottom: 48px;
}

.sg-popular-products .sg-section-head__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.sg-popular-products .sg-section-head__link {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
    color: var(--sg-text);
    opacity: 1;
}

.sg-popular-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* --- Категории (главная) — Figma 319:199 --- */
.sg-categories {
    padding: 160px 0 0;
    box-sizing: border-box;
}

.sg-categories *,
.sg-categories *::before,
.sg-categories *::after {
    box-sizing: border-box;
}

.sg-categories__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-categories__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 48px;
    height: 22px;
    min-height: 22px;
}

.sg-categories__title {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fbfafa;
    white-space: nowrap;
}

.sg-categories__link {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fbfafa !important;
    text-decoration: none !important;
    white-space: nowrap;
    outline: none;
}

body.sg-redesign .sg-categories__link:hover,
body.sg-redesign .sg-categories__link:focus,
body.sg-redesign .sg-categories__link:active,
body.sg-redesign .sg-categories__link:visited {
    color: #fbfafa !important;
    text-decoration: none !important;
    outline: none;
}

body.sg-redesign .sg-categories__link:hover::after,
body.sg-redesign .sg-categories__link:focus::after {
    display: none !important;
    border-color: transparent !important;
}

.sg-categories__link--bottom {
    display: none;
}

.sg-categories__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.sg-categories__row {
    display: grid;
    gap: 20px;
    width: 100%;
    height: 220px;
    min-height: 220px;
    max-height: 220px;
}

/* Desktop: 305 + 20 + 305 + 20 + 630 = 1280 */
.sg-categories__row--mixed {
    grid-template-columns: 305fr 305fr 630fr;
}

/* Desktop: 630 + 20 + 630 = 1280 */
.sg-categories__row--halves {
    grid-template-columns: 630fr 630fr;
}

.sg-categories__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 100%;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    padding: 0 24px 24px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fbfafa !important;
    border: 1px solid transparent;
    isolation: isolate;
    outline: none;
    transition: none;
}

.sg-categories__card--bordered {
    border-color: rgba(255, 255, 255, 0.06);
}

/* Глобальный body a:hover { color:#2112ef } ломает hover карточек */
body.sg-redesign .sg-categories__card:hover,
body.sg-redesign .sg-categories__card:focus,
body.sg-redesign .sg-categories__card:active,
body.sg-redesign .sg-categories__card:visited {
    color: #fbfafa !important;
    text-decoration: none !important;
    outline: none;
}

body.sg-redesign .sg-categories__card:hover::after,
body.sg-redesign .sg-categories__card:focus::after {
    display: none !important;
    border-color: transparent !important;
}

body.sg-redesign .sg-categories__card--dark-text,
body.sg-redesign .sg-categories__card--dark-text:hover,
body.sg-redesign .sg-categories__card--dark-text:focus,
body.sg-redesign .sg-categories__card--dark-text:active,
body.sg-redesign .sg-categories__card--dark-text:visited {
    color: #0a0a0a !important;
}

.sg-categories__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    z-index: 0;
    filter: grayscale(1);
    transition: filter 0.3s ease-out;
}

.sg-categories__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 12px;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0) 0%,
        rgba(10, 10, 10, 0) 42%,
        rgba(10, 10, 10, 0.55) 100%
    );
}

.sg-categories__card--dark-text .sg-categories__overlay {
    background: linear-gradient(
        180deg,
        rgba(251, 250, 250, 0) 0%,
        rgba(251, 250, 250, 0) 42%,
        rgba(251, 250, 250, 0.35) 100%
    );
}

.sg-categories__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
    overflow: hidden;
}

.sg-categories__name,
.sg-categories__desc {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    color: inherit !important;
}

.sg-categories__name {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
}

.sg-categories__desc {
    font-family: 'Inter', Arial, sans-serif;
    font-size: var(--sg-fs-body);
    font-weight: 400;
    line-height: var(--sg-lh-body);
    letter-spacing: 0;
}

@media (min-width: 992px) {
    body.sg-redesign .sg-categories__card:hover .sg-categories__image,
    body.sg-redesign .sg-categories__card:focus-visible .sg-categories__image {
        filter: none;
    }
}

/* Tablet · 768 — Figma 420:467 */
@media (max-width: 991px) {
    .sg-categories {
        padding: 100px 0 0;
    }

    .sg-categories__inner {
        padding: 0 24px;
    }

    .sg-categories__head {
        margin-bottom: 36px;
        height: 23px;
        min-height: 23px;
    }

    .sg-categories__title {
        font-size: 18px;
        line-height: 1.3;
        letter-spacing: 5px;
    }

    .sg-categories__link {
        font-size: 18px;
    }

    .sg-categories__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .sg-categories__row {
        display: contents;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .sg-categories__card {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        padding: 0 16px 16px;
        border-radius: 8px;
    }

    .sg-categories__image,
    .sg-categories__overlay {
        border-radius: 8px;
    }

    .sg-categories__content {
        gap: 10px;
    }

    .sg-categories__name {
        font-size: 18px;
        letter-spacing: -0.54px;
    }

    .sg-categories__desc {
        font-size: 18px;
    }

    .sg-categories__image {
        filter: none;
    }
}

/* Mobile · 360 — Figma 430:738: 2 колонки, ссылка снизу */
@media (max-width: 575px) {
    .sg-categories {
        padding: 100px 0 0;
    }

    .sg-categories__inner {
        padding: 0 20px;
    }

    .sg-categories__head {
        margin-bottom: 24px;
        height: 19px;
        min-height: 19px;
    }

    .sg-categories__title {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .sg-categories__link--top {
        display: none;
    }

    .sg-categories__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .sg-categories__row {
        display: contents;
    }

    .sg-categories__card {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
        padding: 0 16px 16px;
        border-radius: 4px;
    }

    .sg-categories__image,
    .sg-categories__overlay {
        border-radius: 4px;
    }

    .sg-categories__content {
        gap: 8px;
    }

    .sg-categories__name {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: 0;
        white-space: normal;
    }

    .sg-categories__desc {
        font-size: var(--sg-fs-body);
        line-height: var(--sg-lh-body);
        white-space: normal;
    }

    .sg-categories__link--bottom {
        display: inline-flex;
        margin-top: 24px;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: -0.32px;
    }
}

/* --- Разделители (Figma Divider Wrapper) --- */
.sg-divider {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sg-divider span {
    display: block;
    width: calc(100% - 160px);
    max-width: 1280px;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.sg-divider--lg {
    padding: 160px 0 80px;
    height: 241px;
    box-sizing: border-box;
}

.sg-divider--md {
    padding: 80px 0 160px;
    height: 241px;
    box-sizing: border-box;
}

.sg-divider--sm {
    padding: 80px 0;
    height: 161px;
    box-sizing: border-box;
}

/* --- Atmosphere (Figma 319:233, h=970, pt=160) --- */
.sg-atmosphere {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 970px;
    min-height: 970px;
    overflow: hidden;
    color: #fbfafa;
}

.sg-atmosphere__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #111;
}

.sg-atmosphere__video,
.sg-atmosphere__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.sg-atmosphere__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.72) 100%);
}

.sg-atmosphere__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px 160px;
}

.sg-atmosphere__eyebrow {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.sg-atmosphere__title {
    margin: 0 0 24px;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
}

.sg-atmosphere__text {
    margin: 0;
    max-width: 640px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(251, 250, 250, 0.78);
}

/* --- Brands (Figma 319:239, h=697.5, pt=160) --- */
.sg-brands {
    padding: 160px 0 0;
    min-height: 697.5px;
    box-sizing: border-box;
}

.sg-brands__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-brands__head {
    display: flex;
    align-items: center;
    margin: 0 0 48px;
    min-height: 22px;
}

.sg-brands__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fbfafa;
}

.sg-brands__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
}

.sg-brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 142.5px;
    max-height: 142.5px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #131313;
    text-decoration: none !important;
    color: #fbfafa !important;
    overflow: hidden;
}

body.sg-redesign .sg-brands__item:hover,
body.sg-redesign .sg-brands__item:focus {
    color: #fbfafa !important;
    text-decoration: none !important;
}

.sg-brands__logo {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
    object-position: center;
    padding: 10%;
    box-sizing: border-box;
    background: #f3f3f3;
    border-radius: 10px;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 992px) {
    .sg-brands__item:hover .sg-brands__logo,
    .sg-brands__item:focus-visible .sg-brands__logo {
        transform: scale(1.03);
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .sg-brands__logo {
        filter: none;
        opacity: 1;
    }

    .sg-brands__item--muted .sg-brands__logo {
        opacity: 0.85;
        transition: opacity 0.6s ease-in-out;
    }
}

.sg-brands__fallback {
    padding: 12px;
    font-size: 12px;
    text-align: center;
    opacity: 0.7;
}

/* --- Encyclopedia (Figma 319:252) --- */
.sg-encyclopedia {
    box-sizing: border-box;
    overflow: hidden;
}

.sg-encyclopedia__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-encyclopedia__left {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

.sg-encyclopedia__eyebrow {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fbfafa;
}

.sg-encyclopedia__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.05;
    color: #fbfafa;
}

.sg-encyclopedia__text {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(251, 250, 250, 0.78);
}

.sg-encyclopedia__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 55px;
    padding: 0 28px;
    margin-top: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fbfafa !important;
    text-decoration: none !important;
}

body.sg-redesign .sg-encyclopedia__btn:hover,
body.sg-redesign .sg-encyclopedia__btn:focus {
    color: #fbfafa !important;
    border-color: rgba(255, 255, 255, 0.45);
}

.sg-encyclopedia__cards {
    display: flex;
    flex: 0 0 304px;
    flex-direction: column;
    gap: 20px;
    align-self: stretch;
    width: 304px;
    max-width: 100%;
}

.sg-encyclopedia__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 88px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #131313;
    text-decoration: none !important;
    color: #fbfafa !important;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sg-encyclopedia__card:last-child {
    flex: 1 1 auto;
    min-height: 88px;
}

body.sg-redesign .sg-encyclopedia__card:hover,
body.sg-redesign .sg-encyclopedia__card:focus {
    color: #fbfafa !important;
    border-color: rgba(255, 255, 255, 0.2);
    background: #060606;
}

.sg-encyclopedia__card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
}

.sg-encyclopedia__card-text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(251, 250, 250, 0.7);
}

/* --- Trust Bar (Figma 319:273) --- */
.sg-trust {
    box-sizing: border-box;
    padding: 48px 0;
}

.sg-trust__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fbfafa;
}

.sg-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    color: #fbfafa;
}

.sg-trust__icon svg {
    display: block;
    max-width: 50px;
    max-height: 50px;
}

.sg-trust__texts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.sg-trust__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
}

.sg-trust__text {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(251, 250, 250, 0.7);
}

/* --- News (Figma 319:306, h=465, pt=80) --- */
.sg-news {
    padding: 80px 0 0;
    min-height: 465px;
    box-sizing: border-box;
}

.sg-news__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-news__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 48px;
    min-height: 22px;
}

.sg-news__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fbfafa;
}

.sg-news__link {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fbfafa !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.sg-redesign .sg-news__link:hover,
body.sg-redesign .sg-news__link:focus {
    color: #fbfafa !important;
}

.sg-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sg-news__card {
    display: flex;
    flex-direction: column;
    min-height: 315px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: #131313;
}

.sg-news__media {
    display: block;
    height: 200px;
    overflow: hidden;
    background: #1a1a1a;
    text-decoration: none !important;
}

.sg-news__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

@media (min-width: 992px) {
    .sg-news__card:hover .sg-news__image {
        filter: none;
    }
}

.sg-news__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.sg-news__date {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(251, 250, 250, 0.55);
}

.sg-news__name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.sg-news__name a {
    color: #fbfafa !important;
    text-decoration: none !important;
}

body.sg-redesign .sg-news__name a:hover,
body.sg-redesign .sg-news__name a:focus {
    color: #fbfafa !important;
}

/* --- Blog (Figma 319:326, h=772, pt=160) --- */
.sg-blog {
    padding: 160px 0 0;
    min-height: 772px;
    box-sizing: border-box;
}

.sg-blog__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-blog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 48px;
    min-height: 22px;
}

.sg-blog__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fbfafa;
}

.sg-blog__link {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fbfafa !important;
    text-decoration: none !important;
    white-space: nowrap;
}

body.sg-redesign .sg-blog__link:hover,
body.sg-redesign .sg-blog__link:focus {
    color: #fbfafa !important;
}

.sg-blog__grid {
    display: grid;
    grid-template-columns: 780fr 480fr;
    gap: 20px;
    min-height: 542px;
}

.sg-blog__large {
    display: flex;
    flex-direction: column;
    min-height: 542px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    background: #131313;
}

.sg-blog__large-media {
    display: block;
    height: 340px;
    background: #1a1a1a;
    text-decoration: none !important;
}

.sg-blog__large-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

@media (min-width: 992px) {
    .sg-blog__large:hover .sg-blog__large-image {
        filter: none;
    }
}

.sg-blog__large-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
}

.sg-blog__side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sg-blog__small {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 261px;
    min-height: 261px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #131313;
    box-sizing: border-box;
}

.sg-blog__tag {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(251, 250, 250, 0.55);
}

.sg-blog__name {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
}

.sg-blog__name a {
    color: #fbfafa !important;
    text-decoration: none !important;
}

body.sg-redesign .sg-blog__name a:hover,
body.sg-redesign .sg-blog__name a:focus {
    color: #fbfafa !important;
}

.sg-blog__excerpt {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(251, 250, 250, 0.7);
}

/* --- Subscribe (Figma 319:351, h=655, pt=80, box=495) --- */
.sg-subscribe {
    padding: 80px 0 80px;
    min-height: 655px;
    box-sizing: border-box;
}

.sg-subscribe__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

.sg-subscribe__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    min-height: 495px;
    padding: 80px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: #131313;
    box-sizing: border-box;
}

.sg-subscribe__intro {
    width: 100%;
    text-align: center;
}

.sg-subscribe__title {
    margin: 0 0 24px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.1;
    color: #fbfafa;
}

.sg-subscribe__text {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(251, 250, 250, 0.7);
}

.sg-subscribe__form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: 674px;
}

.sg-subscribe__row {
    display: flex;
    gap: 16px;
    width: 100%;
    max-width: 560px;
}

.sg-subscribe__field {
    flex: 1 1 auto;
}

.sg-subscribe__input {
    width: 100%;
    height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: #0a0a0a;
    color: #fbfafa;
    font-family: inherit;
    font-size: 16px;
    outline: none;
}

.sg-subscribe__input::placeholder {
    color: rgba(251, 250, 250, 0.45);
}

.sg-subscribe__btn {
    flex: 0 0 auto;
    height: 58px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    background: #fbfafa;
    color: #0a0a0a !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.sg-subscribe__btn:hover,
.sg-subscribe__btn:focus {
    background: #ffffff;
    color: #0a0a0a !important;
}

.sg-subscribe__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.3;
    color: rgba(251, 250, 250, 0.65);
    cursor: pointer;
}

.sg-subscribe__checkbox {
    margin-top: 1px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Tablet */
@media (max-width: 991px) {
    .sg-divider span {
        width: calc(100% - 48px);
    }

    .sg-divider--lg,
    .sg-divider--md {
        height: 151px;
        padding: 100px 0 50px;
    }

    .sg-divider--sm {
        height: 151px;
        padding: 75px 0;
    }

    .sg-atmosphere {
        height: 1024px;
        min-height: 1024px;
    }

    .sg-atmosphere__inner {
        padding: 0 24px 100px;
    }

    .sg-atmosphere__eyebrow {
        font-size: 18px;
    }

    .sg-atmosphere__title {
        font-size: 36px;
    }

    .sg-atmosphere__text {
        font-size: 18px;
    }

    .sg-brands {
        padding: 100px 0 0;
        min-height: 0;
    }

    .sg-brands__inner,
    .sg-encyclopedia__inner,
    .sg-trust__inner,
    .sg-news__inner,
    .sg-blog__inner,
    .sg-subscribe__inner {
        padding: 0 24px;
    }

    .sg-brands__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .sg-brands__item {
        height: auto;
        max-height: none;
    }

    .sg-brands__logo {
        filter: none;
        opacity: 1;
    }

    .sg-encyclopedia {
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .sg-encyclopedia__inner {
        flex-direction: column;
        gap: 32px;
    }

    .sg-encyclopedia__left {
        width: 100%;
    }

    .sg-encyclopedia__cards {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sg-encyclopedia__card {
        flex: 1 1 calc(33.333% - 14px);
        min-width: 180px;
    }

    .sg-trust {
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .sg-trust__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .sg-news {
        padding: 80px 0 0;
        min-height: 0;
    }

    .sg-news__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .sg-news__card:nth-child(3) {
        grid-column: 1 / -1;
    }

    .sg-news__image {
        filter: none;
    }

    .sg-blog {
        padding: 100px 0 0;
        min-height: 0;
    }

    .sg-blog__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .sg-blog__large {
        min-height: 0;
    }

    .sg-blog__large-image {
        filter: none;
    }

    .sg-blog__small {
        height: auto;
        min-height: 180px;
    }

    .sg-subscribe {
        padding: 80px 0;
        min-height: 0;
    }

    .sg-subscribe__box {
        min-height: 0;
        gap: 48px;
        padding: 56px 24px;
    }

    .sg-subscribe__row {
        flex-direction: column;
    }

    .sg-subscribe__btn {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .sg-divider span {
        width: calc(100% - 40px);
    }

    .sg-atmosphere {
        height: 660px;
        min-height: 660px;
    }

    .sg-atmosphere__inner {
        padding: 0 20px 80px;
    }

    .sg-atmosphere__title {
        font-size: 28px;
    }

    .sg-atmosphere__text {
        font-size: 16px;
    }

    .sg-brands__inner,
    .sg-encyclopedia__inner,
    .sg-trust__inner,
    .sg-news__inner,
    .sg-blog__inner,
    .sg-subscribe__inner {
        padding: 0 20px;
    }

    .sg-brands__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .sg-encyclopedia__cards {
        flex-direction: column;
    }

    .sg-encyclopedia__card {
        flex: 1 1 auto;
        width: 100%;
    }

    .sg-trust__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sg-news__grid,
    .sg-blog__grid {
        grid-template-columns: 1fr;
    }

    .sg-news__card:nth-child(3) {
        grid-column: auto;
    }

    .sg-news__head,
    .sg-blog__head,
    .sg-brands__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }

    .sg-news__title,
    .sg-blog__title,
    .sg-brands__title {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .sg-news__link,
    .sg-blog__link {
        font-size: 14px;
    }

    .sg-blog__name {
        font-size: 20px;
    }

    .sg-subscribe__title {
        font-size: 24px;
    }
}

/* --- Мини-карточка товара (списки) --- */
.sg-product-mini {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: var(--sg-bg-elevated);
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .sg-product-mini {
        transition: background 0.3s ease-out, border-color 0.3s ease-out, box-shadow 0.3s ease-out;
    }

    .sg-product-mini:hover {
        background: #060606;
        border-color: var(--sg-border-hover);
        box-shadow: 0 0 0 1px var(--sg-border-hover);
    }

    .sg-product-mini__image {
        filter: grayscale(1);
        transition: filter 0.3s ease-out;
    }

    .sg-product-mini:hover .sg-product-mini__image {
        filter: none;
    }

    .sg-product-mini__actions {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-out;
    }

    .sg-product-mini:hover .sg-product-mini__actions {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 1199px) {
    .sg-product-mini__image {
        filter: none;
        transition: filter 0.6s ease-in-out;
    }

    .sg-product-mini--muted .sg-product-mini__image {
        filter: grayscale(1);
    }

    .sg-product-mini__actions {
        opacity: 1;
        pointer-events: auto;
    }
}

.sg-product-mini__media {
    position: relative;
    display: block;
    height: 320px;
    flex-shrink: 0;
    overflow: hidden;
    background: #1a1a1a;
    text-decoration: none;
}

.sg-product-mini__labels {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sg-product-mini__label {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
}

.sg-product-mini__label--hit {
    background: var(--sg-bg);
    color: var(--sg-text);
}

.sg-product-mini__label--discount {
    background: var(--sg-text);
    color: var(--sg-bg);
}

.sg-product-mini__actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sg-product-mini__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--sg-bg);
    color: var(--sg-text);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.3s ease-out;
}

.sg-product-mini__action-btn:hover {
    background: #1f1f1f;
    border-color: rgba(255, 255, 255, 0.14);
}

.sg-product-mini__action-btn.is-active {
    background: #1f1f1f;
    border-color: rgba(255, 255, 255, 0.2);
}

.sg-product-mini__action-btn.is-active .sg-product-mini__action-icon {
    opacity: 1;
    filter: brightness(1.25);
}

.sg-product-mini__action-btn.is-busy {
    opacity: 0.55;
    pointer-events: none;
}

.sg-favorites__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--sg-container-desktop) 80px;
    box-sizing: border-box;
}

.sg-favorites__body {
    width: 100%;
}

.sg-favorites__toolbar {
    display: flex;
    align-items: center;
    margin: 0 0 36px;
}

.sg-favorites__found {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

.sg-favorites__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0 64px;
}

.sg-favorites__empty-text {
    margin: 0;
    color: var(--sg-text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.sg-favorites__empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--sg-text);
    color: var(--sg-bg) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sg-favorites__empty-btn:hover {
    opacity: 0.85;
}

@media (max-width: 1199px) {
    .sg-favorites__inner {
        padding-left: var(--sg-container-tablet);
        padding-right: var(--sg-container-tablet);
    }
}

@media (max-width: 575px) {
    .sg-favorites__inner {
        padding-left: var(--sg-container-mobile);
        padding-right: var(--sg-container-mobile);
        padding-bottom: 48px;
    }
}

/* --- Compare page --- */
.sg-compare__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--sg-container-desktop) 80px;
    box-sizing: border-box;
}

.sg-compare__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 28px;
}

.sg-compare__found {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--sg-text-muted);
}

.sg-compare__toggle {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 8px;
    background: var(--sg-bg-elevated);
    border: 1px solid var(--sg-border);
}

.sg-compare__toggle-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    color: var(--sg-text-muted) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.sg-compare__toggle-link.is-active,
.sg-compare__toggle-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--sg-text) !important;
}

.sg-compare__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sg-compare__table {
    width: 100%;
    min-width: calc(220px + var(--sg-compare-cols, 1) * 240px);
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.sg-compare__sticky-col {
    position: sticky;
    left: 0;
    z-index: 3;
    width: 200px;
    min-width: 180px;
    max-width: 220px;
    padding: 16px 20px 16px 0;
    background: var(--sg-bg);
    color: var(--sg-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-align: left;
    vertical-align: middle;
    box-shadow: 8px 0 16px rgba(0, 0, 0, 0.15);
}

.sg-compare__sticky-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--sg-text);
}

.sg-compare__product-col,
.sg-compare__prop-row td {
    width: 240px;
    min-width: 220px;
    padding: 16px;
    vertical-align: top;
    border-bottom: 1px solid var(--sg-border);
    color: var(--sg-text);
    font-size: 14px;
    line-height: 1.4;
    background: var(--sg-bg);
}

.sg-compare__products-row th {
    border-bottom: 1px solid var(--sg-border);
    vertical-align: top;
}

.sg-compare__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--sg-border);
    border-radius: 12px;
    background: var(--sg-bg-elevated);
}

.sg-compare__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
    color: var(--sg-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.sg-compare__remove:hover {
    background: rgba(0, 0, 0, 0.7);
}

.sg-compare__media {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #0d0d0d;
}

.sg-compare__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-compare__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--sg-text) !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.sg-compare__brand {
    margin: 0;
    color: var(--sg-text-muted);
    font-size: 12px;
}

.sg-compare__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.sg-compare__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--sg-text);
}

.sg-compare__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: var(--sg-text);
    color: var(--sg-bg) !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.sg-compare__buy:hover {
    opacity: 0.85;
}

.sg-compare__prop-row.is-different td {
    color: var(--sg-text);
}

.sg-compare__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0 64px;
}

.sg-compare__empty-text {
    margin: 0;
    color: var(--sg-text-muted);
    font-size: 16px;
    line-height: 1.5;
}

.sg-compare__empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border-radius: 8px;
    background: var(--sg-text);
    color: var(--sg-bg) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.sg-compare__empty-btn:hover {
    opacity: 0.85;
}

@media (max-width: 1199px) {
    .sg-compare__inner {
        padding-left: var(--sg-container-tablet);
        padding-right: var(--sg-container-tablet);
    }

    .sg-compare__sticky-col {
        width: 140px;
        min-width: 120px;
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .sg-compare__inner {
        padding-left: var(--sg-container-mobile);
        padding-right: var(--sg-container-mobile);
        padding-bottom: 48px;
    }

    .sg-compare__sticky-col {
        position: static;
        box-shadow: none;
        width: auto;
        max-width: none;
        padding-right: 12px;
    }

    .sg-compare__table {
        min-width: calc(var(--sg-compare-cols, 1) * 200px);
    }
}

.sg-product-mini__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sg-product-mini__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 28px;
    padding: 36px 24px;
}

.sg-product-mini__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sg-product-mini__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.sg-product-mini__brand {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fbfafa;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
}

.sg-product-mini__titles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Figma Frame 48: title 52 + gap 16 + kind (20×1.4≈28) */
    min-height: 96px;
}

.sg-product-mini__title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: #fbfafa;
    /* Figma: название всегда занимает 2 строки (52px) — выравнивает тип/граммы в ряду */
    min-height: calc(1.1em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sg-product-mini__title-link {
    color: inherit;
    text-decoration: none;
}

.sg-product-mini__title-link:hover {
    opacity: 0.85;
}

.sg-product-mini__category,
.sg-product-mini__kind {
    margin: 0;
    padding: 0;
    font-size: var(--sg-fs-body);
    font-weight: 400;
    line-height: var(--sg-lh-body);
    color: #fbfafa;
    min-height: calc(var(--sg-fs-body) * var(--sg-lh-body));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-product-mini__specs,
.sg-product-mini__flavor,
.sg-product-mini__meta {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #fbfafa;
    opacity: 0.5;
    min-height: 1.4em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sg-product-mini__flavor {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    opacity: 1;
    /* Резерв строки вкуса: граммовки/порции на одной линии у всех карточек */
    min-height: calc(16px * 1.4);
}

.sg-product-mini__flavor.is-empty {
    visibility: hidden;
}

.sg-product-mini__flavor-label,
.sg-product-mini__flavor-value {
    opacity: 0.5;
}

.sg-product-mini__flavor-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-product-mini__pack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.sg-product-mini__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    margin-top: auto;
}

.sg-product-mini__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    min-width: 0;
}

.sg-product-mini__price {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--sg-text);
}

.sg-product-mini__price-old {
    font-size: 14px;
    line-height: 1.2;
    color: var(--sg-text-muted);
    text-decoration: line-through;
}

.sg-product-mini__cart-control {
    position: relative;
    flex-shrink: 0;
    min-width: 40px;
    height: 40px;
}

.sg-product-mini__cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--sg-text);
    border-radius: 8px;
    background: transparent;
    color: var(--sg-text) !important;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sg-product-mini__cart-btn[data-sg-cart-add][hidden] {
    display: none;
}

.sg-product-mini__cart-btn--loading {
    pointer-events: none;
}

.sg-product-mini__cart-btn--loading svg {
    visibility: hidden;
}

.sg-product-mini__cart-btn__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-product-mini__cart-btn__loader::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: sg-cart-spin 0.65s linear infinite;
}

@keyframes sg-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

.sg-product-mini__qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    min-width: 96px;
    height: 40px;
    padding: 0 6px;
    border: 1px solid var(--sg-text);
    border-radius: 8px;
    background: transparent;
}

.sg-product-mini__qty[hidden] {
    display: none;
}

.sg-product-mini__qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--sg-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.sg-product-mini__qty-btn:hover {
    opacity: 0.7;
}

.sg-product-mini__qty-btn:disabled {
    opacity: 0.35;
    cursor: wait;
}

.sg-product-mini__qty-value {
    min-width: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    color: var(--sg-text);
}

.sg-product-mini__cart-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.sg-product-mini__cart-btn--disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}

.sg-product-mini__cart-btn:hover {
    opacity: 0.85;
}

/* SVG-иконки мини-карточки: те же глифы, что в шапке, но без растеризации PNG */
.sg-product-mini__action-btn .sg-product-mini__action-icon {
    display: block;
    width: 14px;
    height: 14px;
    object-fit: contain;
    pointer-events: none;
}

/* вендорские svg в кнопках мини-карточки не выводим — иконка идёт через .sg-product-mini__action-icon */
.sg-product-mini__action-btn > svg {
    display: none;
}

.sg-product-mini__cart-btn .sg-product-mini__action-icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.sg-product-mini__cart-btn > svg {
    display: none;
}

/* кнопка корзины уменьшается на планшете/мобильном — иконка следует за ней */
@media (max-width: 991px) {
    .sg-product-mini__cart-btn .sg-product-mini__action-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 575px) {
    .sg-product-mini__cart-btn .sg-product-mini__action-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1199px) {
    .sg-popular-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sg-popular-products {
        padding: 100px 0 0;
    }

    .sg-popular-products__inner {
        padding: 0 var(--sg-container-tablet);
    }

    .sg-popular-products .sg-section-head__title {
        font-size: 18px;
        letter-spacing: 5px;
    }

    .sg-popular-products .sg-section-head__link {
        font-size: 18px;
    }
}

@media (max-width: 575px) {
    .sg-popular-products__inner {
        padding: 0 var(--sg-container-mobile);
    }

    .sg-popular-products .sg-section-head {
        margin-bottom: 24px;
    }
}

/* --- Главная страница --- */
body.sg-redesign--home {
    background: var(--sg-bg);
}

body.sg-redesign--home .block_main_left_menu__content,
body.sg-redesign--home .puzzle_block.main-container {
    max-width: 100%;
    overflow-x: clip;
}

body.sg-redesign--home .puzzle_block.main-container {
    padding: 0;
    background: transparent;
}

body.sg-redesign--home .block_main_left_menu__content {
    padding: 0;
}

.sg-home {
    color: var(--sg-text);
    max-width: 100%;
    overflow-x: clip;
}

body.sg-redesign--home .block_main_canvas_all_width {
    display: none !important;
}

.sg-home .mt-4,
.sg-home .mb-4,
.sg-home .pt-4 {
    margin: 0 !important;
    padding: 0 !important;
}

.sg-home .fonts__middle_title,
.sg-home .fonts__big_title,
.sg-home h2,
.sg-home h3,
.sg-home .block_title {
    color: var(--sg-text) !important;
}

.sg-home .block__title_link,
.sg-home a.block__title_link {
    color: var(--sg-text-muted) !important;
}

.sg-home section,
.sg-home .block,
.sg-home .puzzle_block {
    background: transparent;
}

.sg-home .product_card,
.sg-home .product-card-inner,
.sg-home .block__product_cards .product_card__inner {
    background: var(--sg-bg-elevated) !important;
    border: 1px solid var(--sg-border) !important;
    border-radius: 12px !important;
    color: var(--sg-text) !important;
}

.sg-home .product_card__title,
.sg-home .product-card-inner__title,
.sg-home .product_card__price {
    color: var(--sg-text) !important;
}

.sg-home .main_btn,
.sg-home .product_card__btn,
.sg-home .btn-primary {
    background: var(--sg-text) !important;
    color: var(--sg-bg) !important;
    border-color: var(--sg-text) !important;
    border-radius: 8px !important;
}

.sg-home .advantages_block,
.sg-home .origami_advantages,
.sg-home [class*='advantages'] {
    background: transparent !important;
}

.sg-home .news_block,
.sg-home .blog_block,
.sg-home .brands_block {
    padding-left: var(--sg-container-desktop);
    padding-right: var(--sg-container-desktop);
}

.sg-home .block__inner {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Контакты на главной — тёмный блок */
.sg-home .sg-home-contacts,
.sg-home > div:last-child {
    background: var(--sg-bg-elevated);
    border-top: 1px solid var(--sg-border);
}

/* Хлебные крошки и заголовки внутри контента главной скрываем */
body.sg-redesign--home .breadcrumb,
body.sg-redesign--home h1:not(.sg-hero__title) {
    display: none;
}

/* Общие правки контента */
body.sg-redesign .main-container {
    background: transparent;
}

body.sg-redesign .breadcrumb a,
body.sg-redesign .breadcrumb span {
    color: var(--sg-text-muted);
}

body.sg-redesign h1 {
    color: var(--sg-text);
}

/* Текст info-страниц (help, about/delivery и т.п.) — как .sg-page-header__desc */
body.sg-redesign .block_main_left_menu__content p,
body.sg-redesign .block_main_left_menu__content ul,
body.sg-redesign .block_main_left_menu__content ol,
body.sg-redesign .block_main_left_menu__content li {
    margin: 16px 0 0;
    font-size: var(--sg-fs-body);
    font-weight: 400;
    line-height: var(--sg-lh-body);
    color: rgba(251, 250, 250, 0.7);
}

body.sg-redesign .block_main_left_menu__content li span {
    font-size: var(--sg-fs-body) !important;
    font-weight: 400;
    line-height: var(--sg-lh-body);
    color: rgba(251, 250, 250, 0.7);
}

body.sg-redesign .block_main_left_menu__content li {
    margin-top: 8px;
}

body.sg-redesign .block_main_left_menu__content > h1 + p,
body.sg-redesign .block_main_left_menu__content > h1 + ul,
body.sg-redesign .block_main_left_menu__content > h1 + ol,
body.sg-redesign .block_main_left_menu__content > h1 + .row > .col-xs-12 > p:first-child {
    margin: 36px 0 0;
}

body.sg-redesign .block_main_left_menu__content h2,
body.sg-redesign .block_main_left_menu__content p > b,
body.sg-redesign .block_main_left_menu__content p > strong {
    color: var(--sg-text);
    font-weight: 600;
}

body.sg-redesign .block_main_left_menu__content h2 {
    margin: 36px 0 0;
    font-size: 22px;
    line-height: 1.3;
}

body.sg-redesign .block_main_left_menu__content a {
    color: var(--sg-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Боковое меню (help, about/delivery) как фильтр каталога */
body.sg-redesign--aside-menu .block_main_left_menu__container {
    width: 305px;
    flex: 0 0 305px;
    max-width: 100%;
    margin-top: 0;
    background: transparent !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__container .bx-sidebar-block:empty {
    display: none;
}

body.sg-redesign--aside-menu .block_main_left_menu__list {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 0 !important;
    padding: 16px !important;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px;
    background: #131313 !important;
    background-color: #131313 !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__list_item,
body.sg-redesign--aside-menu .block_main_left_menu__list_item.active,
body.sg-redesign--aside-menu .block_main_left_menu__list .bx-inclinkspersonal-selected {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    background-color: transparent !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__list_item:first-child {
    border-top: 0 !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__list_item::after,
body.sg-redesign--aside-menu .block_main_left_menu__list_item::before,
body.sg-redesign--aside-menu .block_main_left_menu__list .current::after {
    display: none !important;
    content: none !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__list_item > div {
    color: inherit !important;
    font-weight: inherit !important;
}

body.sg-redesign--aside-menu .block_main_left_menu__link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    padding: 18px 0 !important;
    border: 0;
    background: transparent !important;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: #fbfafa !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.15s ease, opacity 0.15s ease;
}

body.sg-redesign--aside-menu a.block_main_left_menu__link:hover {
    color: #fbfafa !important;
    opacity: 0.8;
}

body.sg-redesign--aside-menu .block_main_left_menu__list_item.active .block_main_left_menu__link,
body.sg-redesign--aside-menu .block_main_left_menu__list_item.active > .block_main_left_menu__link {
    color: rgba(251, 250, 250, 0.7) !important;
    cursor: default;
}

body.sg-redesign--aside-menu .block_main_left_menu__link-img,
body.sg-redesign--aside-menu .block_main_left_menu__link-icon,
body.sg-redesign--aside-menu .block_main_left_menu__link-arrow,
body.sg-redesign--aside-menu .block_main_left_menu__link-wrapper {
    display: none !important;
}

@media (min-width: 992px) {
    body.sg-redesign--aside-menu .block_main_left_menu__content.active {
        width: calc(100% - 305px) !important;
    }
}

@media (max-width: 991px) {
    body.sg-redesign--aside-menu .block_main_left_menu__container {
        width: 100%;
        flex-basis: auto;
        margin-bottom: 24px;
    }

    body.sg-redesign--aside-menu .block_main_left_menu__list {
        display: block !important;
    }
}

/* Поиск в шапке */
.sg-header__search .header-search,
.sg-header__search .header-three__search,
.sg-header__search .title-search-result {
    width: 100%;
}

.sg-header__search .form-search {
    position: relative;
    display: block;
    margin: 0;
}

.sg-header__search input[type='text'],
.sg-header__search .search-input,
.sg-header__search #sg-title-search-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 0;
    background: var(--sg-bg);
    border: 1px solid var(--sg-border);
    color: var(--sg-text);
    border-radius: 8px;
    padding: 12px 48px 12px 16px;
    font-size: 15px;
    line-height: 1.4;
    outline: none;
}

.sg-header__search input[type='text']::placeholder,
.sg-header__search #sg-title-search-input::placeholder {
    color: var(--sg-text-muted);
    opacity: 1;
}

.sg-header__search input[type='text']:focus,
.sg-header__search #sg-title-search-input:focus {
    border-color: var(--sg-border-hover);
}

/* Лупа внутри поля справа; логотип и кнопка закрытия из origami_header_3 не нужны */
.sg-header__search .header-search__logo {
    display: none !important;
}

.sg-header__search .header-search__btn-close {
    display: none !important;
}

.sg-header__search .header-search__btn-search {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: transparent;
    cursor: pointer;
    color: var(--sg-text-muted);
    transition: color 0.2s ease;
}

.sg-header__search .header-search__btn-search:hover {
    color: var(--sg-text);
}

.sg-header__search .header-search__btn-search svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* Дропдаун поиска: тёмный фон (origami по умолчанию белый) */
body.sg-redesign .title-search-result,
.sg-header__search .title-search-result {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: min(50vh, 420px);
    padding-bottom: 72px !important;
    overflow: hidden;
    background: #131313 !important;
    background-color: #131313 !important;
    border: 1px solid var(--sg-border) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

body.sg-redesign .header__search-matches-list {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: calc(min(50vh, 420px) - 72px);
    overflow-y: auto;
}

body.sg-redesign .header__search-matches-item {
    border-bottom: 1px solid var(--sg-border) !important;
}

body.sg-redesign .header__search-matches-item-link {
    color: var(--sg-text) !important;
}

body.sg-redesign .header__search-matches-name {
    color: var(--sg-text) !important;
}

body.sg-redesign .header__search-matches-price {
    color: var(--sg-text) !important;
}

body.sg-redesign .header__search-matches-old-price {
    color: var(--sg-text-muted) !important;
}

/* «Все результаты» — как «Добавить в корзину» (PDP): белая кнопка на тёмной панели */
body.sg-redesign .header__search-matches-item-btn,
.sg-header__search .header__search-matches-item-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: #131313 !important;
    background-color: #131313 !important;
    border-radius: 0 0 8px 8px;
}

body.sg-redesign .header__search-matches-btn,
body.sg-redesign .header__search-matches-btn.main-color-btn-fill,
.sg-header__search .header__search-matches-btn,
.sg-header__search .header__search-matches-btn.main-color-btn-fill {
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 8px !important;
    background: #fbfafa !important;
    background-color: #fbfafa !important;
    color: #0a0a0a !important;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

body.sg-redesign .header__search-matches-btn:hover,
body.sg-redesign .header__search-matches-btn.main-color-btn-fill:hover,
.sg-header__search .header__search-matches-btn:hover,
.sg-header__search .header__search-matches-btn.main-color-btn-fill:hover {
    background: #fbfafa !important;
    background-color: #fbfafa !important;
    color: #0a0a0a !important;
    opacity: 0.88;
}

@media (min-width: 1200px) {
    .sg-header__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }

    .sg-header__logo {
        justify-self: start;
    }

    .sg-header__nav {
        justify-self: center;
    }

    .sg-header__actions {
        justify-self: end;
    }
}

@media (max-width: 1199px) {
    .sg-footer__columns {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .sg-footer__brand {
        flex: 1 1 100%;
        padding-right: 0;
        margin-bottom: 8px;
    }

    .sg-footer__col {
        flex: 1 1 calc(33.333% - 14px);
        min-width: 140px;
    }

    .sg-footer__col--contacts {
        max-width: none;
    }
}

@media (max-width: 991px) {
    .sg-hero,
    .sg-hero__inner {
        min-height: 620px;
    }

    .sg-hero__inner {
        justify-content: space-between;
        gap: 0;
        padding-left: var(--sg-container-tablet);
        padding-right: var(--sg-container-tablet);
    }

    .sg-hero__subtitle br {
        display: none;
    }

    .sg-header__inner,
    .sg-header__search-inner,
    .sg-footer__inner {
        padding-left: var(--sg-container-tablet);
        padding-right: var(--sg-container-tablet);
        min-height: auto;
    }

    .sg-footer {
        min-height: auto;
    }

    .sg-footer__col {
        flex: 1 1 calc(50% - 10px);
    }

    .sg-header__nav {
        display: none;
    }

    .sg-header__burger {
        display: flex;
    }

    .sg-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sg-footer__columns {
        gap: 32px 20px;
    }

    .sg-footer__bar {
        align-items: flex-start;
    }

    .sg-home .news_block,
    .sg-home .blog_block,
    .sg-home .brands_block {
        padding-left: var(--sg-container-tablet);
        padding-right: var(--sg-container-tablet);
    }
}

@media (max-width: 575px) {
    .sg-hero,
    .sg-hero__inner {
        min-height: 560px;
    }

    .sg-header__inner,
    .sg-footer__inner {
        padding-left: var(--sg-container-mobile);
        padding-right: var(--sg-container-mobile);
        padding-top: 48px;
    }

    .sg-header__search-inner {
        padding-left: var(--sg-container-mobile);
        padding-right: var(--sg-container-mobile);
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .sg-footer__columns {
        flex-direction: column;
        gap: 32px;
    }

    .sg-footer__brand {
        margin-bottom: 0;
    }

    .sg-footer__col {
        flex: 1 1 100%;
        width: 100%;
    }

    .sg-footer__divider {
        margin-top: 32px;
    }

    .sg-footer__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 32px;
    }

    .sg-header__logo-link {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .sg-home .news_block,
    .sg-home .blog_block,
    .sg-home .brands_block {
        padding-left: var(--sg-container-mobile);
        padding-right: var(--sg-container-mobile);
    }
}

/* --- DEV-52: финальная Pixel Perfect геометрия главной --- */
.sg-popular-products__mobile-link,
.sg-news__mobile-link,
.sg-blog__mobile-link {
    display: none;
}

.sg-atmosphere__media {
    inset: 160px 0 0;
    height: 810px;
    background: transparent;
}

.sg-atmosphere__media picture,
.sg-atmosphere__art {
    display: block;
    width: 100%;
    height: 100%;
}

.sg-atmosphere__art {
    object-fit: cover;
}

@media (min-width: 992px) {
    .sg-header__inner {
        height: 69px;
        min-height: 69px;
    }

    body.sg-redesign--home .sg-popular-products {
        height: auto;
        min-height: 809px;
    }

    body.sg-redesign--home .sg-product-mini {
        height: auto;
        min-height: 579px;
    }

    body.sg-redesign--home .sg-product-mini__media {
        height: 320px;
        flex-shrink: 0;
    }

    body.sg-redesign--home .sg-categories {
        height: 930px;
    }

    body.sg-redesign--home .sg-atmosphere {
        height: 970px;
        min-height: 970px;
    }

    body.sg-redesign--home .sg-brands {
        min-height: 0;
        height: auto;
    }

    body.sg-redesign--home .sg-encyclopedia {
        min-height: 0;
        height: auto;
    }

    .sg-encyclopedia__cards {
        height: auto;
    }

    .sg-encyclopedia__card {
        height: 96px;
        min-height: 96px;
    }

    .sg-encyclopedia__card:last-child {
        height: auto;
        min-height: 96px;
    }

    body.sg-redesign--home .sg-trust {
        min-height: 0;
        height: auto;
    }

    .sg-trust__title {
        font-size: 24px;
    }

    .sg-trust__text {
        font-size: 20px;
    }

    body.sg-redesign--home .sg-news {
        height: 473px;
        min-height: 473px;
    }

    .sg-news__card {
        height: 323px;
        min-height: 323px;
    }

    .sg-news__date {
        font-size: 13px;
    }

    .sg-news__name {
        font-size: 16px;
        font-weight: 500;
    }

    body.sg-redesign--home .sg-blog {
        height: 795px;
        min-height: 795px;
    }

    .sg-blog__grid,
    .sg-blog__large {
        height: 565px;
        min-height: 565px;
    }

    .sg-blog__small {
        height: 272.5px;
        min-height: 272.5px;
    }

    body.sg-redesign--home .sg-subscribe {
        height: 678px;
        min-height: 678px;
        padding: 80px 0;
    }

    .sg-subscribe__box {
        height: 518px;
        min-height: 518px;
    }

    .sg-subscribe__title {
        font-size: 44px;
        line-height: 1.05;
    }

    .sg-subscribe__text {
        font-size: 20px;
        line-height: 1.2;
    }

    .sg-subscribe__input,
    .sg-subscribe__btn {
        height: 55px;
    }

    .sg-footer {
        min-height: 0;
    }

    .sg-footer__inner {
        min-height: 0;
        padding: 160px 80px 32px;
        gap: 24px;
    }

    .sg-footer__columns {
        align-items: flex-start;
        min-height: 267px;
        height: auto;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .sg-footer__brand {
        gap: 20px;
        padding-right: 0;
    }

    .sg-footer__nav-groups {
        display: flex;
        gap: 20px;
    }

    .sg-footer__col {
        flex: 0 0 197px;
        width: 197px;
    }

    .sg-footer__col--docs {
        flex-basis: 196px;
        width: 196px;
    }

    .sg-footer__title {
        margin-bottom: 24px;
    }

    .sg-footer__divider {
        margin-top: 24px;
    }

    .sg-footer__bar {
        min-height: 17px;
        height: auto;
        padding: 0;
        align-items: center;
        color: rgba(251, 250, 250, 0.4);
    }

    .sg-footer__copy,
    .sg-footer__payments {
        color: inherit;
    }

    .sg-footer__payments {
        gap: 12px;
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .sg-header {
        background: #060606;
        border-bottom: 0;
    }

    .sg-header__inner {
        height: 64px;
        min-height: 64px;
        padding: 0 24px;
    }

    .sg-header__burger {
        display: flex;
        width: 16px;
        height: 16px;
        padding: 2px;
        gap: 3px;
        opacity: 0.6;
    }

    .sg-header__burger span {
        height: 1px;
    }

    .sg-header__actions,
    .sg-header__basket .bx-basket {
        gap: 20px;
    }

    .sg-header__basket .header-two__basket-compare,
    .sg-header__basket .header-two__basket-favorites,
    .sg-header__basket .sg-header__profile {
        display: none !important;
    }

    .sg-header__icon-btn,
    .sg-header__basket .header-two__basket-buy {
        width: 16px;
        height: 16px;
    }

    .sg-header__icon-btn img,
    .sg-header__icon-btn .sg-icon-img,
    .sg-header__basket .header-two__basket-buy img,
    .sg-header__basket .header-two__basket-buy .sg-icon-img {
        width: 16px;
        height: 16px;
    }

    .sg-hero,
    .sg-hero__inner {
        height: 620px;
        min-height: 620px;
    }

    .sg-hero__inner {
        justify-content: space-between;
        gap: 0;
        padding: 48px 24px;
    }

    .sg-hero__content {
        gap: 36px;
    }

    .sg-hero__cta {
        gap: 48px;
    }

    .sg-hero__eyebrow {
        font-size: 18px;
        line-height: 1.3;
        letter-spacing: 5px;
    }

    .sg-hero__title {
        font-size: 44px;
        line-height: 1;
    }

    .sg-hero__subtitle {
        font-size: 18px;
        line-height: 1.2;
    }

    .sg-hero__content {
        gap: 36px;
    }

    .sg-hero__btn {
        width: auto;
        min-height: 45px;
        padding: 12px 32px;
        font-size: 18px;
    }

    .sg-hero__progress-seg,
    .sg-hero__progress-fill {
        height: 2px;
    }

    body.sg-redesign--home .sg-popular-products {
        height: 1133px;
        min-height: 1133px;
        padding-top: 100px;
    }

    .sg-popular-products .sg-section-head {
        height: 23px;
        margin-bottom: 36px;
    }

    .sg-popular-products .sg-section-head__title {
        font-size: 18px;
        line-height: 1.3;
        letter-spacing: 5px;
    }

    .sg-popular-products .sg-section-head__link {
        font-size: 18px;
    }

    .sg-popular-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 479px);
        gap: 16px;
        height: 974px;
    }

    body.sg-redesign--home .sg-product-mini {
        height: 479px;
        min-height: 479px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: #060606;
    }

    .sg-product-mini__media {
        height: 229px;
        flex: 0 0 229px;
    }

    .sg-product-mini__body {
        height: 270px;
        padding: 32px 24px;
        gap: 24px;
        overflow: hidden;
    }

    .sg-product-mini__info {
        gap: 24px;
    }

    .sg-product-mini__details {
        gap: 20px;
    }

    .sg-product-mini__brand {
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .sg-product-mini__titles {
        gap: 16px;
    }

    .sg-product-mini__title {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0;
    }

    .sg-product-mini__kind,
    .sg-product-mini__category {
        font-size: 16px;
        font-weight: 400;
    }

    .sg-product-mini__specs,
    .sg-product-mini__flavor,
    .sg-product-mini__meta {
        font-size: 14px;
        line-height: 1.1;
    }

    .sg-product-mini__price {
        font-size: 18px;
        letter-spacing: -0.54px;
    }

    .sg-product-mini__price-row {
        width: 100%;
    }

    .sg-product-mini__cart-btn {
        width: 36px;
        height: 36px;
    }

    body.sg-redesign--home .sg-categories {
        height: 1007px;
        padding-top: 100px;
    }

    body.sg-redesign--home .sg-atmosphere {
        height: 1024px;
        min-height: 1024px;
    }

    .sg-atmosphere__media {
        inset: 100px 0 0;
        height: 924px;
    }

    body.sg-redesign--home .sg-brands {
        min-height: 0;
        height: auto;
    }

    .sg-brands__head {
        height: 23px;
        min-height: 23px;
        margin-bottom: 36px;
    }

    .sg-brands__title {
        font-size: 18px;
        line-height: 1.3;
    }

    .sg-brands__grid {
        grid-template-columns: repeat(5, 131px);
        grid-auto-rows: 131px;
        gap: 16px;
        height: auto;
    }

    .sg-brands__item {
        width: 131px;
        height: 131px;
        border: 2px solid rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        background: #060606;
    }

    body.sg-redesign--home .sg-encyclopedia {
        min-height: 0;
        height: auto;
    }

    .sg-encyclopedia__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 48px;
        height: auto;
        padding: 0 24px;
    }

    .sg-encyclopedia__left {
        width: 100%;
    }

    .sg-encyclopedia__eyebrow {
        margin-bottom: 36px;
        font-size: 18px;
        line-height: 1.3;
    }

    .sg-encyclopedia__title {
        margin-bottom: 20px;
        font-size: 36px;
        line-height: 1.05;
    }

    .sg-encyclopedia__text {
        font-size: 18px;
        line-height: 1.2;
    }

    .sg-encyclopedia__btn {
        position: static;
        align-self: flex-start;
        min-height: 45px;
        margin-top: 0;
        padding: 0 32px;
        font-size: 18px;
    }

    .sg-encyclopedia__cards {
        position: static;
        flex: 0 0 auto;
        flex-direction: row;
        gap: 16px;
        width: 100%;
        height: auto;
    }

    .sg-encyclopedia__card {
        flex: 1 1 0;
        min-width: 0;
        height: 81px;
        min-height: 81px;
        padding: 20px 24px;
        border-radius: 6px;
    }

    .sg-encyclopedia__card:last-child {
        flex: 1 1 0;
        height: 81px;
        min-height: 81px;
    }

    .sg-encyclopedia__card-title {
        font-size: 15px;
    }

    .sg-encyclopedia__card-text {
        font-size: 12px;
    }

    body.sg-redesign--home .sg-trust {
        min-height: 0;
        height: auto;
    }

    .sg-trust__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 125px 147px;
        gap: 24px 16px;
    }

    .sg-trust__item {
        padding-top: 8px;
    }

    .sg-trust__icon {
        width: 56px;
        height: 48px;
        margin-bottom: 16px;
    }

    .sg-trust__icon svg {
        max-width: 56px;
        max-height: 48px;
    }

    .sg-trust__texts {
        gap: 10px;
    }

    .sg-trust__title {
        font-size: 13px;
    }

    .sg-trust__text {
        font-size: 16px;
        line-height: 1.35;
    }

    body.sg-redesign--home .sg-news {
        height: 428px;
        min-height: 428px;
        padding-top: 50px;
    }

    .sg-news__head {
        height: 23px;
        min-height: 23px;
        margin-bottom: 36px;
    }

    .sg-news__title,
    .sg-news__link {
        font-size: 18px;
    }

    .sg-news__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        height: 319px;
    }

    .sg-news__card,
    .sg-news__card:nth-child(3) {
        grid-column: auto;
        height: 319px;
        min-height: 319px;
    }

    .sg-news__info {
        height: 119px;
        gap: 12px;
        padding: 20px 16px;
        overflow: hidden;
    }

    .sg-news__date {
        font-size: 13px;
    }

    .sg-news__name {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.2;
    }

    body.sg-redesign--home .sg-blog {
        height: 869px;
        min-height: 869px;
        padding-top: 100px;
    }

    .sg-blog__head {
        height: 23px;
        min-height: 23px;
        margin-bottom: 16px;
    }

    .sg-blog__title,
    .sg-blog__link {
        font-size: 18px;
    }

    .sg-blog__grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }

    .sg-blog__large {
        height: 518px;
        min-height: 518px;
    }

    .sg-blog__large-info {
        height: 178px;
        padding: 32px;
        gap: 20px;
        overflow: hidden;
    }

    .sg-blog__side {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .sg-blog__small {
        height: 196px;
        min-height: 196px;
        padding: 32px;
    }

    .sg-blog__small:nth-child(2) {
        height: 211px;
        min-height: 211px;
    }

    .sg-blog__name {
        font-size: 18px;
    }

    body.sg-redesign--home .sg-subscribe {
        position: relative;
        height: 494px;
        min-height: 494px;
        padding: 0;
    }

    .sg-subscribe__inner,
    .sg-subscribe__box {
        height: 494px;
        min-height: 494px;
    }

    .sg-subscribe__box {
        position: relative;
        display: block;
        padding: 0;
    }

    .sg-subscribe__intro {
        position: absolute;
        top: 120px;
        left: 40px;
        width: calc(100% - 80px);
    }

    .sg-subscribe__title {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .sg-subscribe__text {
        font-size: 16px;
    }

    .sg-subscribe__form {
        position: absolute;
        top: 272px;
        left: 80px;
        width: calc(100% - 160px);
        height: 102px;
        max-width: none;
        gap: 20px;
    }

    .sg-subscribe__row {
        flex-direction: row;
        max-width: none;
    }

    .sg-subscribe__input,
    .sg-subscribe__btn {
        height: 56px;
    }

    .sg-subscribe__btn {
        width: 192px;
    }

    .sg-footer {
        min-height: 0;
    }

    .sg-footer__inner {
        min-height: 0;
        padding: 100px 24px 50px;
        gap: 32px;
    }

    .sg-footer__columns {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 32px;
    }

    .sg-footer__brand {
        align-items: center;
        gap: 32px;
        margin: 0;
        text-align: center;
    }

    .sg-footer__brand > .sg-footer__logo-link {
        margin-bottom: -20px;
    }

    .sg-footer__brand-name {
        display: block;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: 3px;
    }

    .sg-footer__tagline {
        max-width: none;
        margin-top: -20px;
    }

    .sg-footer__tagline br {
        display: none;
    }

    .sg-footer__nav-groups {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        width: 100%;
        padding-top: 32px;
        border-top: 1px solid rgba(251, 250, 250, 0.3);
    }

    .sg-footer__col {
        min-width: 0;
        width: 100%;
    }

    .sg-footer__title {
        margin-bottom: 12px;
    }

    .sg-footer__links,
    .sg-footer__contacts {
        gap: 12px;
    }

    .sg-footer__address {
        display: none;
    }

    .sg-footer__divider {
        margin: 0;
    }

    .sg-footer__bar {
        padding: 0;
        align-items: center;
        color: rgba(251, 250, 250, 0.5);
    }

    .sg-footer__copy,
    .sg-footer__payments {
        color: inherit;
    }

    .sg-footer__payments {
        opacity: 1;
    }
}

@media (max-width: 575px) {
    .sg-header__inner {
        height: 56px;
        min-height: 56px;
        padding: 0 20px;
    }

    .sg-header__burger {
        width: 14px;
        height: 14px;
        padding: 1px;
    }

    .sg-header__logo-link {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .sg-header__actions [data-sg-search-toggle] {
        display: none;
    }

    .sg-header__basket .header-two__basket-buy {
        width: 14px;
        height: 14px;
    }

    .sg-header__basket .header-two__basket-buy img,
    .sg-header__basket .header-two__basket-buy .sg-icon-img {
        width: 14px;
        height: 14px;
    }

    .sg-hero,
    .sg-hero__inner {
        height: 560px;
        min-height: 560px;
    }

    .sg-hero__inner {
        position: relative;
        justify-content: space-between;
        gap: 0;
        padding: 36px 20px;
    }

    .sg-hero__eyebrow {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .sg-hero__content {
        position: absolute;
        top: 112px;
        left: 20px;
        width: calc(100% - 40px);
        gap: 24px;
    }

    .sg-hero__title {
        font-size: 36px;
        line-height: 1;
    }

    .sg-hero__subtitle {
        font-size: 16px;
        line-height: 1.1;
    }

    .sg-hero__cta {
        margin-top: auto;
        gap: 0;
    }

    .sg-hero__btn {
        width: auto;
        min-height: 44px;
        padding: 10px 24px;
        font-size: 16px;
    }

    .sg-hero__progress {
        display: none;
    }

    body.sg-redesign--home .sg-popular-products {
        height: 1522px;
        min-height: 1522px;
        padding-top: 100px;
    }

    .sg-popular-products .sg-section-head {
        display: block;
        height: 19px;
        margin-bottom: 24px;
    }

    .sg-popular-products .sg-section-head__title {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
        white-space: nowrap;
    }

    .sg-popular-products .sg-section-head__link {
        display: none;
    }

    .sg-popular-products__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 1336px;
    }

    body.sg-redesign--home .sg-product-mini {
        flex: 0 0 432px;
        height: 432px;
        min-height: 432px;
    }

    .sg-product-mini__media {
        height: 219px;
        flex-basis: 219px;
    }

    .sg-product-mini__body {
        height: 233px;
        padding: 24px 16px;
        gap: 20px;
    }

    .sg-product-mini__info {
        gap: 20px;
    }

    .sg-product-mini__details {
        gap: 16px;
    }

    .sg-product-mini__brand {
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .sg-product-mini__label {
        min-height: auto;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 11px;
    }

    .sg-product-mini__label--hit {
        background: #060606;
    }

    .sg-product-mini__titles {
        gap: 12px;
    }

    .sg-product-mini__title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.1;
    }

    .sg-product-mini__kind,
    .sg-product-mini__category {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2;
    }

    .sg-product-mini__specs,
    .sg-product-mini__flavor,
    .sg-product-mini__meta {
        font-size: 13px;
        line-height: 1.1;
    }

    .sg-product-mini__price {
        font-size: 16px;
    }

    .sg-product-mini__price-row {
        width: 100%;
    }

    .sg-product-mini__cart-btn {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .sg-popular-products__mobile-link,
    .sg-news__mobile-link,
    .sg-blog__mobile-link {
        display: inline-flex;
        margin-top: 24px;
        color: #fbfafa !important;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
        letter-spacing: -0.32px;
        text-decoration: none !important;
    }

    body.sg-redesign--home .sg-categories {
        height: 942px;
        padding-top: 100px;
    }

    body.sg-redesign--home .sg-atmosphere {
        height: 660px;
        min-height: 660px;
    }

    .sg-atmosphere__media {
        inset: 100px 0 0;
        height: 560px;
    }

    body.sg-redesign--home .sg-brands {
        min-height: 0;
        height: auto;
    }

    .sg-brands__head {
        height: 19px;
        min-height: 19px;
        margin-bottom: 24px;
    }

    .sg-brands__title {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .sg-brands__grid {
        grid-template-columns: repeat(3, 98px);
        grid-auto-rows: 98px;
        gap: 12px;
        height: auto;
    }

    .sg-brands__item {
        width: 98px;
        height: 98px;
        padding: 12px;
    }

    .sg-divider span {
        width: calc(100% - 48px);
    }

    .sg-divider--lg,
    .sg-divider--md,
    .sg-divider--sm {
        height: 151px;
        padding: 100px 24px 50px;
    }

    body.sg-redesign--home .sg-encyclopedia {
        min-height: 0;
        height: auto;
    }

    .sg-encyclopedia__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        height: auto;
        padding: 0 20px;
    }

    .sg-encyclopedia__eyebrow {
        width: auto;
        margin-bottom: 24px;
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
        white-space: normal;
    }

    .sg-encyclopedia__title {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.05;
    }

    .sg-encyclopedia__text {
        font-size: 16px;
        line-height: 1.35;
    }

    .sg-encyclopedia__btn {
        position: static;
        width: 100%;
        min-height: 55px;
        margin-top: 0;
    }

    .sg-encyclopedia__cards {
        position: static;
        flex: 0 0 auto;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: auto;
    }

    .sg-encyclopedia__card,
    .sg-encyclopedia__card:last-child {
        flex: 0 0 auto;
        width: 100%;
        height: 74px;
        min-height: 74px;
        padding: 0 16px;
        gap: 8px;
    }

    body.sg-redesign--home .sg-trust {
        min-height: 0;
        height: auto;
    }

    .sg-trust__inner {
        grid-template-columns: repeat(2, 154px);
        grid-template-rows: 100px 136px;
        gap: 28px 12px;
        padding: 0 20px;
    }

    .sg-trust__icon {
        width: 35px;
        height: 30px;
        margin-bottom: 16px;
    }

    .sg-trust__icon svg {
        max-width: 35px;
        max-height: 30px;
    }

    .sg-trust__texts {
        gap: 8px;
    }

    .sg-trust__title {
        font-size: 13px;
    }

    .sg-trust__text {
        font-size: 13px;
        line-height: 1.35;
    }

    body.sg-redesign--home .sg-news {
        height: 1035px;
        min-height: 1035px;
        padding-top: 0;
    }

    .sg-news__head {
        display: block;
        height: 19px;
        min-height: 19px;
        margin-bottom: 24px;
    }

    .sg-news__title {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .sg-news__link {
        display: none;
    }

    .sg-news__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 949px;
    }

    .sg-news__card,
    .sg-news__card:nth-child(3) {
        flex: 0 0 303px;
        height: 303px;
        min-height: 303px;
    }

    .sg-news__info {
        height: 103px;
        padding: 16px;
        gap: 12px;
    }

    .sg-news__name {
        font-size: 14px;
    }

    body.sg-redesign--home .sg-blog {
        height: 1017px;
        min-height: 1017px;
        padding-top: 100px;
    }

    .sg-blog__head {
        display: block;
        height: 19px;
        min-height: 19px;
        margin-bottom: 24px;
    }

    .sg-blog__title {
        font-size: 16px;
        line-height: 1.2;
        letter-spacing: 5px;
    }

    .sg-blog__link {
        display: none;
    }

    .sg-blog__grid {
        gap: 20px;
        height: 831px;
    }

    .sg-blog__large {
        height: 447px;
        min-height: 447px;
    }

    .sg-blog__large-media {
        height: 180px;
    }

    .sg-blog__large-info {
        height: 267px;
        padding: 24px 16px;
        gap: 16px;
    }

    .sg-blog__side {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .sg-blog__small,
    .sg-blog__small:nth-child(2) {
        height: 195px;
        min-height: 195px;
        padding: 24px 16px;
    }

    .sg-blog__small:nth-child(2) {
        height: 149px;
        min-height: 149px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .sg-blog__name {
        font-size: 16px;
    }

    .sg-blog__excerpt {
        font-size: 16px;
    }

    body.sg-redesign--home .sg-subscribe {
        height: 552px;
        min-height: 552px;
        padding: 0 0 50px;
    }

    .sg-subscribe__inner {
        height: 502px;
        min-height: 502px;
        padding: 0 20px;
    }

    .sg-subscribe__box {
        height: 502px;
        min-height: 502px;
    }

    .sg-subscribe__intro {
        top: 60px;
        left: 24px;
        width: 272px;
    }

    .sg-subscribe__title {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.05;
    }

    .sg-subscribe__text {
        font-size: 16px;
        line-height: 1.1;
    }

    .sg-subscribe__form {
        top: 227px;
        left: 24px;
        width: 272px;
        height: 215px;
        display: block;
    }

    .sg-subscribe__row {
        display: contents;
    }

    .sg-subscribe__field {
        position: absolute;
        inset: 0 0 auto;
        height: 48px;
    }

    .sg-subscribe__input {
        height: 48px;
    }

    .sg-subscribe__check {
        position: absolute;
        top: 60px;
        left: 0;
        width: 272px;
        min-height: 51px;
    }

    .sg-subscribe__btn {
        position: absolute;
        top: 159px;
        left: 0;
        width: 272px;
        height: 56px;
    }

    .sg-footer {
        min-height: 0;
    }

    .sg-footer__inner {
        min-height: 0;
        padding: 40px 20px;
        gap: 28px;
    }

    .sg-footer__columns {
        gap: 28px;
    }

    .sg-footer__brand {
        gap: 20px;
    }

    .sg-footer__brand > .sg-footer__logo-link {
        margin-bottom: -10px;
    }

    .sg-footer__tagline {
        width: 316px;
        margin-top: -10px;
    }

    .sg-footer__nav-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
        padding-top: 28px;
    }

    .sg-footer__col {
        flex: none;
    }

    .sg-footer__col--docs,
    .sg-footer__col--contacts {
        grid-column: 1 / -1;
        padding-top: 28px;
        border-top: 1px solid rgba(251, 250, 250, 0.3);
    }

    .sg-footer__col--contacts {
        align-items: center;
        text-align: center;
    }

    .sg-footer__col--contacts .sg-footer__title {
        text-align: center;
    }

    .sg-footer__contacts {
        align-items: center;
        gap: 10px;
    }

    .sg-footer__col--docs .sg-footer__links li:last-child {
        display: none;
    }

    .sg-footer__divider {
        margin: 0;
    }

    .sg-footer__bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0;
        text-align: center;
    }

    .sg-footer__copy {
        max-width: 250px;
    }

    .sg-footer__payments {
        gap: 4px;
    }

    .sg-footer__payments span:not(:last-child)::after {
        content: ' ·';
    }
}

@media (min-width: 992px) {
    .sg-encyclopedia__eyebrow {
        margin-bottom: 48px;
    }

    .sg-encyclopedia__title {
        margin-bottom: 24px;
        font-size: 44px;
        line-height: 1.05;
    }

    .sg-encyclopedia__text {
        font-size: 20px;
        line-height: 1.2;
    }

    .sg-encyclopedia__btn {
        width: 339px;
        min-height: 55px;
        margin-top: 60px;
        padding: 0 40px;
        font-size: 20px;
    }

    .sg-encyclopedia__card {
        height: 96px;
        min-height: 96px;
        padding: 20px 24px;
        border-radius: 6px;
    }

    .sg-encyclopedia__card:last-child {
        flex: 1 1 auto;
        height: auto;
        min-height: 96px;
    }

    .sg-encyclopedia__card-title {
        font-size: 24px;
    }

    .sg-encyclopedia__card-text {
        font-size: 16px;
    }
}
