:root {
    --sb-red: #eb0000;
    --sb-red-hover: #c80000;
    --sb-text: #313131;
    --sb-muted: #404040;
    --sb-placeholder: #bdbdbd;
    --sb-bg: #f9f9f9;
    --sb-surface: #eee;
    --sb-line: #eee;
    --sb-available: #31bf29;
    --sb-radius: 6px;
    --sb-container: 1140px;
    --sb-section-gap: 96px;
}

.item__tag {
    display: inline-block;
    border-radius: 3px 0 0 3px;
    padding: 3px 15px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: var(--sb-red);
}

.item__tag--new,
.item__tag--sale,
.item__tag--discount {
    background: var(--sb-red);
}

.btn-fill,
.btn.btn-fill {
    background: var(--sb-red);
    border-color: var(--sb-red);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: none !important;
    transform: none !important;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
    --mx: 50%;
    --my: 50%;
}

.btn-fill::before,
.btn.btn-fill::before,
.btn.add-cart::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse 240px 160px at var(--mx) var(--my),
        rgba(255, 255, 255, .46) 0%,
        rgba(255, 255, 255, .26) 22%,
        rgba(255, 255, 255, .12) 52%,
        rgba(255, 255, 255, .04) 74%,
        transparent 100%
    );
    filter: blur(18px);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    z-index: 0;
}

.btn-fill:hover,
.btn.btn-fill:hover,
.btn-green.btn-fill:hover {
    background: var(--sb-red);
    border-color: var(--sb-red);
    color: #fff;
    box-shadow: none !important;
    transform: none !important;
}

.btn-green.btn-fill:hover {
    background: #24c834;
    border-color: #24c834;
}

.btn-fill:hover::before,
.btn.btn-fill:hover::before,
.btn.add-cart:hover::before {
    opacity: 1;
}

.btn-fill > *,
.btn.btn-fill > *,
.btn.add-cart > * {
    position: relative;
    z-index: 1;
}

.btn-fill .icon,
.btn.btn-fill .icon {
    fill: #fff;
}

.btn.add-cart {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    --mx: 50%;
    --my: 50%;
}

/* Header — Figma 2 rows */
.top {
    background: #fff;
    border-bottom: 1px solid var(--sb-bg);
}

.top .container {
    max-width: var(--sb-container);
    border-bottom: 0;
    /* Match .container: no side padding on desktop so header aligns with content */
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media only screen and (max-width: 1170px) {
    .top .container {
        padding: 18px 15px;
    }
}

.top__logo {
    display: block !important;
    width: 270px;
    max-width: 40%;
    flex-shrink: 0;
    margin: 0;
}

.top__logo img {
    display: block;
    max-height: 48px;
    width: auto;
}

.top__geo--desktop-hidden {
    display: none !important;
}

.top__phone.header-contacts,
.header-contacts {
    display: flex;
    align-items: flex-end;
    align-self: stretch;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: auto;
}

.header-contacts__email {
    color: var(--sb-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-end;
}

.header-contacts__email:hover {
    color: var(--sb-red);
}

.header-contacts__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-contacts__label {
    color: var(--sb-muted);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
}

.header-contacts__phone > a {
    color: var(--sb-text);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.header-contacts__phone > a:hover {
    color: var(--sb-red);
}

.header-contacts__mobile {
    display: none;
}

.top__callback {
    padding: 12px 0;
    width: 173px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
}

.top__more {
    display: none;
}

.header {
    background: var(--sb-bg);
}

.header .container {
    max-width: var(--sb-container);
    /* Match .container: no side padding on desktop so header aligns with content */
    padding: 12px 0;
    border-bottom: 0;
}

@media only screen and (max-width: 1170px) {
    .header .container {
        padding: 12px 15px;
    }
}

.header__logo--mobile {
    display: none;
}

.header__logo img,
.top__logo img {
    max-height: 48px;
    width: auto;
}

.header__logo > div,
.footer__logo > div {
    line-height: 0;
}

.header a.btn-fill.header__catalog,
.header__catalog.btn-fill {
    background: var(--sb-red);
    border-color: var(--sb-red);
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px 20px;
    margin-right: 20px;
    width: 173px;
    justify-content: center;
    flex-shrink: 0;
}

.header a.btn-fill.header__catalog:hover,
.header__catalog.btn-fill:hover {
    background: var(--sb-red);
    border-color: var(--sb-red);
    color: #fff;
    box-shadow: none !important;
    transform: none !important;
}

.header a.btn-fill.header__catalog .icon,
.header__catalog.btn-fill .icon {
    fill: #fff;
    font-size: 18px;
    width: 1em;
    height: 1em;
}

.header .bx-searchtitle {
    flex: 1;
    min-width: 0;
    margin: 0 24px 0 0;
}

.header .bx-searchtitle .bx-input-group,
.header #title-search .bx-input-group {
    display: flex;
    width: 100%;
    align-items: center;
    border-collapse: separate;
}

.header .bx-searchtitle .bx-input-group-btn,
.header #title-search .bx-input-group-btn {
    display: flex;
    width: auto;
    align-items: center;
    flex-shrink: 0;
}

.header .header__search,
.header .bx-searchtitle .header__search,
.header #title-search .header__search {
    width: 100%;
    max-width: none;
    height: 44px;
    margin-right: 0;
    background: #fff;
    border: 1px solid var(--sb-red);
    border-radius: 6px;
    padding: 0 12px 0 24px;
    display: flex;
    align-items: center;
}

.header .header__search input,
.header .header__search .bx-form-control,
.header .bx-searchtitle .bx-input-group .bx-form-control,
.header .bx-searchtitle.theme-red .bx-input-group .bx-form-control {
    width: 100%;
    height: 42px;
    font-size: 14px;
    color: var(--sb-text);
    float: none;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

.header .header__search button,
.header .bx-searchtitle .bx-input-group-btn button,
.header .bx-searchtitle.theme-red .bx-input-group-btn button,
.header #title-search .bx-input-group-btn button {
    width: 40px;
    height: 40px;
    border: 0 !important;
    background: transparent !important;
    background-image: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    box-shadow: none !important;
}

.header .header__search button:hover,
.header .bx-searchtitle.theme-red .bx-input-group-btn button:hover {
    background: transparent !important;
    background-image: none !important;
}

.header .header__search button .icon,
.header .bx-searchtitle .bx-input-group-btn button .icon {
    font-size: 20px;
    fill: var(--sb-red);
    display: block;
    margin: 0;
}

.header .dropdown .bx-searchtitle,
.header .dropdown .header__search {
    display: none !important;
}

.header__menu {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 18px;
    width: 173px;
    justify-content: space-between;
}

.header__menu .bx-basket {
    display: contents !important;
}

.header__menu a,
.header__menu a:first-child,
.header__menu a:last-child {
    width: 34px;
    height: 32px;
    margin: 0 !important;
    justify-content: center;
    color: var(--sb-text);
    flex-direction: row;
    overflow: visible;
}

.header__menu a span {
    display: none !important;
}

.header__menu .icon {
    font-size: 20px;
    fill: #bdbdbd;
    margin: 0 !important;
}

.header__menu a:hover .icon {
    fill: #eb0000;
}

@media (min-width: 1024px) {
    .header__menu .hamburger {
        display: none !important;
    }
}

.header__count,
.header__menu a:last-child .header__count {
    top: -8px;
    right: -8px;
    background: var(--sb-red);
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    z-index: 2;
}

.header.fixed {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

/* Footer — Figma 31:3955 */
footer.footer {
    background: #eee !important;
    color: #313131;
    padding: 50px 0 96px;
}

footer.footer .container {
    max-width: 1140px;
}

footer.footer .footer__main {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "brand contacts"
        "call contacts";
    align-items: end;
    column-gap: 24px;
    row-gap: 16px;
    margin-bottom: 48px;
}

footer.footer .footer__brand {
    grid-area: brand;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

footer.footer a.btn.btn-fill.footer__call,
footer.footer .footer__call {
    grid-area: call;
    width: 271px;
    max-width: 100%;
    height: 46px;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--sb-red) !important;
    border-color: var(--sb-red) !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

footer.footer .footer__logo {
    display: block;
    line-height: 0;
}

footer.footer .footer__logo img {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
}

footer.footer a.btn.btn-fill.footer__call:hover,
footer.footer .footer__call:hover {
    background: var(--sb-red) !important;
    border-color: var(--sb-red) !important;
    color: #fff !important;
}

footer.footer .footer__call::before,
footer.footer a.btn.btn-fill.footer__call::before {
    display: block;
}

footer.footer a.btn.btn-fill.footer__call:hover::before,
footer.footer .footer__call:hover::before {
    opacity: 1;
}

footer.footer .footer__contacts {
    grid-area: contacts;
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

footer.footer .footer__email {
    font-size: 16px;
    font-weight: 400;
    color: #313131;
    text-decoration: none;
    line-height: normal;
}

footer.footer .footer__email:hover {
    color: #eb0000;
}

footer.footer .footer__phones {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

footer.footer .footer__phone-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

footer.footer .footer__phone-label {
    font-size: 16px;
    font-weight: 400;
    color: #404040;
    line-height: normal;
}

footer.footer .footer__phone-num {
    font-size: 20px;
    font-weight: 400;
    color: #313131;
    text-decoration: none;
    line-height: normal;
    white-space: nowrap;
}

footer.footer .footer__phone-num:hover {
    color: #eb0000;
}

footer.footer .footer__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

footer.footer .footer__nav a {
    font-size: 20px;
    font-weight: 400;
    color: #313131;
    text-decoration: none;
    line-height: normal;
    white-space: nowrap;
}

footer.footer .footer__nav a:hover {
    color: #eb0000;
}

footer.footer .footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding-top: 0;
    border-top: 0;
}

footer.footer .footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

footer.footer .footer__legal a {
    font-size: 14px;
    font-weight: 400;
    color: #eb0000;
    text-decoration: underline;
    text-underline-position: from-font;
    line-height: normal;
}

footer.footer .footer__legal a:hover {
    opacity: 0.85;
}

footer.footer .footer__copy {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 24px;
    font-size: 14px;
    font-weight: 400;
    color: #313131;
    line-height: normal;
}

/* legacy hooks from old footer markup */
footer.footer .footer__top,
footer.footer .footer__menu,
footer.footer .footer__title,
footer.footer .footer__social,
footer.footer .footer__row,
footer.footer .footer__address,
footer.footer .footer__phone {
    display: none;
}

@media only screen and (max-width: 1023px) {
    footer.footer {
        padding: 34px 0 48px;
    }

    footer.footer .footer__main {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        margin-bottom: 36px;
    }

    footer.footer .footer__brand {
        width: 100%;
    }

    footer.footer .footer__logo img {
        width: min(270px, 100%);
    }

    footer.footer .footer__call {
        width: 100%;
        max-width: 341px;
    }

    footer.footer .footer__contacts {
        align-items: flex-end;
        width: 100%;
    }

    footer.footer .footer__nav {
        gap: 16px 24px;
        margin-bottom: 36px;
        justify-content: space-between;
    }

    footer.footer .footer__nav a {
        font-size: 18px;
    }

    footer.footer .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    footer.footer .footer__copy {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }
}

@media only screen and (max-width: 767px) {
    footer.footer {
        padding: 28px 0 40px;
    }

    footer.footer .footer__main {
        margin-bottom: 28px;
    }

    footer.footer .footer__call {
        max-width: none;
        height: 46px;
    }

    footer.footer .footer__phones {
        flex-direction: column;
        align-items: flex-end;
        gap: 16px;
        width: 100%;
    }

    footer.footer .footer__phone-num {
        font-size: 18px;
    }

    footer.footer .footer__nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 28px;
    }

    footer.footer .footer__nav a {
        font-size: 16px;
    }

    footer.footer .footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Homepage */
.main-page .container,
.main-page-wrapper .container {
    max-width: var(--sb-container);
}

.main-page-wrapper {
    overflow-x: hidden;
    overflow-y: visible;
}

.main-page-wrapper .slider__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.main-page-wrapper .slider__header h2 {
    font-size: 42px;
    font-weight: 500;
    color: var(--sb-text);
    margin: 0;
    letter-spacing: 0;
}

.main-page-wrapper > section,
.main-page .main-page-wrapper > .s-main-slider,
.main-page-wrapper .categories,
.main-page-wrapper .brands,
.main-page-wrapper .offers,
.main-page-wrapper .help,
.main-page-wrapper .promos,
.main-page-wrapper .about-us,
.main-page-wrapper .service {
    margin-bottom: 0;
}

.main-page .main-page-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--sb-section-gap);
    padding-top: 32px;
    padding-bottom: var(--sb-section-gap);
}

.main-page-wrapper .slider__controls {
    display: flex;
    gap: 4px;
}

.main-page-wrapper .slider__controls .swiper-button-next,
.main-page-wrapper .slider__controls .swiper-button-prev,
.main-page-wrapper .outline.swiper-button-next,
.main-page-wrapper .outline.swiper-button-prev {
    position: static;
    width: 32px;
    height: 32px;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    transform: none !important;
}

.main-page-wrapper .slider__controls .swiper-button-next:hover,
.main-page-wrapper .slider__controls .swiper-button-prev:hover,
.main-page-wrapper .outline.swiper-button-next:hover,
.main-page-wrapper .outline.swiper-button-prev:hover {
    background: transparent !important;
    transform: none !important;
}

.main-page-wrapper .slider__controls .icon,
.main-page-wrapper .slider__controls .swiper-button-next .icon,
.main-page-wrapper .slider__controls .swiper-button-prev .icon,
.main-page-wrapper .outline.swiper-button-next .icon,
.main-page-wrapper .outline.swiper-button-prev .icon {
    font-size: 16px;
    fill: #313131 !important;
    opacity: .55;
}

.main-page-wrapper .slider__controls .swiper-button-next:hover .icon,
.main-page-wrapper .slider__controls .swiper-button-prev:hover .icon,
.main-page-wrapper .outline.swiper-button-next:hover .icon,
.main-page-wrapper .outline.swiper-button-prev:hover .icon {
    fill: #313131 !important;
    opacity: 1;
}

.main-page-wrapper .swiper-pagination,
.main-page .swiper-pagination,
.s-main-slider .swiper-pagination {
    position: static;
    margin-top: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.main-page-wrapper .swiper-pagination-bullet,
.main-page .swiper-pagination-bullet,
.s-main-slider .swiper-pagination-bullet,
.main-page-wrapper .swiper-pagination-bullet-active,
.main-page .swiper-pagination-bullet-active,
.s-main-slider .swiper-pagination-bullet-active {
    width: 24px !important;
    height: 2px !important;
    margin: 0 !important;
    background: #d0d0d0 !important;
    opacity: 1 !important;
    border: 0 !important;
    border-radius: 1px;
    top: 0 !important;
    position: relative;
    transition: background .25s ease;
}

.main-page-wrapper .swiper-pagination-bullet-active,
.main-page .swiper-pagination-bullet-active,
.s-main-slider .swiper-pagination-bullet-active {
    background: #1a1a1a !important;
}

/* Hero */
.main-page .s-main-slider {
    padding: 0;
}

.main-page .s-main-slider .main {
    border-radius: 8px;
    overflow: hidden;
}

.main-page .s-main-slider .swiper-slide {
    min-height: 459px;
    border-radius: 8px;
    overflow: hidden;
}

.main-page .s-main-slider .swiper-button-next,
.main-page .s-main-slider .swiper-button-prev,
.main-page .main .swiper-button-next,
.main-page .main .swiper-button-prev {
    display: none !important;
}

.main-page .s-main-slider .swiper-pagination {
    margin-top: 16px;
}

/* Categories */
.categories {
    padding: 0;
    overflow: hidden;
}

.categories > .container {
    overflow: hidden;
}

.categories .swiper,
.categories .categories__swiper {
    overflow: hidden !important;
    max-width: 100%;
}

.categories .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.categories__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 8px;
    padding: 22px 22px 0;
    min-height: 259px;
    text-decoration: none;
    color: #313131;
    overflow: hidden;
    isolation: isolate;
}

.categories__item::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 50%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #f9f9f9;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}

.categories__item:hover {
    box-shadow: none;
}

@media (hover: hover) {
    .categories__item:hover .categories__title {
        color: #eb0000;
    }
}

.categories__title {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 70%;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #313131;
}

.categories__item img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 70%;
    height: 140px;
    object-fit: contain;
    object-position: right bottom;
    margin: auto 0 0 auto;
    background: transparent !important;
    mix-blend-mode: multiply;
}

.categories__swiper--mobile,
.categories__pagination--mobile {
    display: none !important;
}

.categories .swiper-pagination {
    position: static;
    margin-top: 16px;
}

.categories .swiper-pagination-bullet {
    width: 25px;
    height: 2px;
    border-radius: 0;
    background: #d0d0d0;
    opacity: 1;
    margin: 0 6px !important;
}

.categories .swiper-pagination-bullet-active {
    background: #404040;
}

@media only screen and (min-width: 768px) {
    .categories__item {
        flex-direction: column;
        align-items: flex-start;
        min-height: 259px;
        height: 100%;
        padding: 22px 22px 0;
    }

    .categories__item::after {
        /* Figma 31:3735 — ellipse 255×255 in 270×259 card */
        right: -85px;
        bottom: -74px;
        top: auto;
        width: 255px;
        height: 255px;
        background: #f9f9f9;
        transform: none;
    }

    .categories__title {
        max-width: 100%;
        margin-bottom: 12px;
        font-size: 20px;
        font-weight: 500;
    }

    .categories__item img {
        max-width: 85%;
        height: 175px;
        margin: auto 0 -8px auto;
        object-position: right bottom;
        mix-blend-mode: multiply;
        background: transparent !important;
    }
}

@media only screen and (min-width: 1024px) {
    .categories__item img {
        margin: auto -20px -8px auto;
    }
}

/* Brands */
.brands {
    padding: 30px 0;
    background: var(--sb-bg);
    width: 100%;
    overflow: hidden;
}

.brands > .container {
    overflow: hidden;
}

.main-page .brands__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 97px;
    width: 100%;
    max-width: 172px;
    margin: 0 auto;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    filter: none;
    opacity: 1;
}

.main-page .brands__img {
    height: auto;
    border: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.main-page .brands__img img {
    max-height: 64px;
    max-width: 150px;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.main-page .brands .swiper {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    max-width: 100%;
}

.main-page .brands .swiper-slide {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Offers / product cards */
.offers {
    padding: 0;
}

.offers__tabs {
    display: flex;
    gap: 24px;
    width: 100%;
    margin-top: 4px;
}

.offers .slider__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.offers__tab {
    border: 0;
    background: none;
    padding: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #8a8a8a;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    border-radius: 0;
}

.offers__tab:hover {
    color: var(--sb-red);
}

.offers__tab.active {
    color: var(--sb-red);
    border-bottom-color: var(--sb-red);
}

.offers__pane {
    display: none;
}

.offers__pane.active {
    display: block;
}

.offers__pane .popular {
    padding: 0;
    background: none;
}

.offers__pane .popular .container {
    max-width: none;
    padding: 0;
    margin: 0;
}

.offers__pane .popular .slider__header,
.offers__pane .catalog__more {
    display: none;
}

/* Equal-height product cards in offers sliders */
.offers__pane .swiper-wrapper,
.main-page-wrapper .offers .swiper-wrapper,
.main-page-wrapper .popular .swiper-wrapper {
    align-items: stretch;
}

.offers__pane .swiper-slide,
.main-page-wrapper .offers .swiper-slide,
.main-page-wrapper .popular .swiper-slide {
    height: auto !important;
    display: flex;
    box-sizing: border-box;
}

.main-page-wrapper .item {
    background: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0 0 12px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.main-page-wrapper .item.item--oos {
    opacity: 0.3;
}

.main-page-wrapper .item__controls {
    position: absolute;
    top: 16px;
    right: 16px;
    margin: 0;
    z-index: 5;
    display: flex;
}

.main-page-wrapper .item__controls a .icon {
    width: 20px;
    height: 20px;
    fill: #c4c4c4;
}

.main-page-wrapper .item__tags {
    left: 0;
    right: auto;
    top: 12px;
    align-items: flex-start;
    z-index: 5;
}

.main-page-wrapper .item__tags span {
    border-radius: 0 3px 3px 0;
    padding: 3px 15px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff !important;
    background: var(--sb-red) !important;
    margin-bottom: 4px;
    text-transform: none;
}

.main-page-wrapper .item__img {
    order: 1;
    height: 226px;
    flex-shrink: 0;
    margin: 0;
    background-image: none !important;
    background-color: var(--sb-bg);
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    position: relative;
    z-index: 0;
}

.main-page-wrapper .item__img img {
    display: block;
    width: 100%;
    height: 178px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.main-page-wrapper .stars {
    display: none !important;
}

.main-page-wrapper .item__code,
.main-page-wrapper .item__top {
    display: none !important;
}

.main-page-wrapper .item__stock {
    order: 2;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    color: var(--sb-available);
    padding: 12px 12px 0;
    margin: 0;
}

.main-page-wrapper .item__stock--oos {
    color: var(--sb-red);
}

.main-page-wrapper .item__price-label,
.main-page-wrapper .item__more {
    display: none;
}

.main-page-wrapper .item__price-wrap {
    order: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0 12px;
    min-height: 0;
    height: auto;
}

.main-page-wrapper .item__price {
    position: static;
    color: var(--sb-text);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
}

.main-page-wrapper .item__price-old {
    color: var(--sb-muted);
    font-size: 14px;
    text-decoration: line-through;
}

.main-page-wrapper .item__title {
    order: 4;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--sb-text);
    margin: 12px 0 30px;
    min-height: 60px;
    height: auto !important;
    max-height: 60px;
    padding: 0 12px;
    position: static !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.main-page-wrapper .item .add-cart,
.main-page-wrapper .item .btn.add-cart,
.main-page-wrapper .item__add,
.main-page-wrapper .item .btn[data-modal="order-unavailable"] {
    order: 5;
    margin-top: auto;
}

.main-page-wrapper .item .add-cart,
.main-page-wrapper .item .btn.add-cart {
    width: calc(100% - 24px);
    margin: auto 12px 0;
    background: #fff;
    border: 2px solid var(--sb-red);
    color: var(--sb-red);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    --mx: 50%;
    --my: 50%;
}

.main-page-wrapper .item .add-cart .icon {
    display: none;
}

.main-page-wrapper .item .add-cart:hover {
    background: var(--sb-red);
    border-color: var(--sb-red);
    color: #fff;
}

.main-page-wrapper .item.item--oos .btn[data-modal="order-unavailable"] {
    width: calc(100% - 24px);
    margin: auto 12px 0;
    background: #fff;
    border: 2px solid var(--sb-red);
    color: var(--sb-red);
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.main-page-wrapper .item__add {
    width: calc(100% - 24px);
    margin: auto 12px 0;
}

.main-page-wrapper .item__add .btn-green {
    width: 100%;
    background: var(--sb-red);
    border-color: var(--sb-red);
}

/* Help form — Figma 1920 (31:3834) */
.help {
    position: relative;
    background: #eee;
    padding: 48px 0;
    overflow: hidden;
    color: var(--sb-text);
}

.help__layout {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 456px;
    padding-bottom: 0;
}

.help__intro {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 520px;
    flex: 1 1 auto;
    min-width: 0;
}

.help__title {
    color: #eb0000 !important;
    font-family: Lato, sans-serif !important;
    font-size: 46px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: normal;
    white-space: nowrap;
}

.help__text {
    color: #313131;
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    max-width: none;
    white-space: nowrap;
}

.help__text p {
    margin: 0;
}

.help__break--tablet,
.help__break--mobile {
    display: none;
}

/* Figma Group4: inset 40.08% 52.81% 13.36% 35.36% of full section */
.help__icons-bg {
    position: absolute;
    left: 35.36%;
    top: 40.08%;
    width: 11.83%;
    max-width: 227px;
    height: auto;
    z-index: 0;
    opacity: .5;
    pointer-events: none;
}

/* Photo sits on the bottom edge of the gray help band */
.help__visual {
    position: absolute;
    left: calc(112px - (100vw - min(100vw, var(--sb-container))) / 2);
    top: auto;
    bottom: -48px;
    width: 645px;
    max-width: none;
    height: 361px;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    background: transparent;
}

.help__visual *,
.help__visual img,
.help__photo {
    pointer-events: none !important;
}

.help__icons {
    display: none;
}

.help__visual .help__photo,
.help__photo {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: block;
    width: 645px;
    max-width: none;
    height: 361px;
    object-fit: contain;
    object-position: left bottom;
}

/* Figma: mirrored table bleed to the left of the main photo */
.help__visual .help__photo--mirror {
    left: -645px;
    transform: scaleX(-1);
    z-index: 0;
}

.help__form {
    position: relative;
    z-index: 2;
    width: 560px;
    max-width: 560px;
    flex: 0 0 560px;
    margin-left: auto;
    padding: 0;
}

.help__form-fields {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.help__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help__form .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.help__form .control,
.help__form .control input,
.help__form textarea {
    width: 100%;
}

.help__form .control input,
.help__form textarea {
    background: #fff;
    border: none;
    border-radius: 3px;
    min-height: 48px;
    padding: 12px 24px;
    font-size: 16px;
    color: #313131;
    box-shadow: none;
}

.help__form .control .placeholder {
    left: 24px;
    color: #313131;
    opacity: .5;
    font-size: 16px;
}

.help__form textarea {
    height: 135px;
    min-height: 135px;
    resize: vertical;
}

.help__submit {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.help__form .btn-fill {
    width: 100%;
    height: 53px;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    background: #eb0000;
    border-color: #eb0000;
}

.help__form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    position: relative;
    z-index: 3;
}

.help__form .checkbox input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 1px 0 0;
    padding: 0 !important;
    border: 1px solid #eb0000 !important;
    border-radius: 4px;
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    display: inline-grid;
    place-content: center;
}

.help__form .checkbox input[type="checkbox"]::after {
    content: "";
    width: 11px;
    height: 8px;
    opacity: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M14.7125 0L5.08161 9.46848L1.28747 5.73833L0 7.00409L5.08161 12L16 1.26576L14.7125 0Z' fill='%23FFFFFF'/%3E%3C/svg%3E") no-repeat center / contain;
}

.help__form .checkbox input[type="checkbox"]:checked {
    background: #eb0000 !important;
    background-image: none !important;
    border-color: #eb0000 !important;
}

.help__form .checkbox input[type="checkbox"]:checked::after {
    opacity: 1;
}

.help__form .checkbox input[type="checkbox"]:focus-visible {
    box-shadow: 0 0 0 2px rgba(235, 0, 0, .25) !important;
}

.help__form .checkbox label {
    font-size: 14px;
    color: #313131;
    line-height: 1.35;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
}

.help__form .checkbox label a {
    color: #eb0000;
    text-decoration: underline;
}

/* Promos — Figma 1920 */
.promos {
    padding: 0;
    background: #fff;
}

.promos__heading {
    font-family: Lato, sans-serif;
    font-size: 42px !important;
    font-weight: 500 !important;
    color: #313131 !important;
    margin: 0 0 48px !important;
    line-height: normal;
}

.promos__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 20px;
    row-gap: 30px;
}

.promos__item {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    height: 259px;
    min-height: 259px;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: #313131;
    padding: 24px;
    box-shadow: none;
}

.promos__item:hover {
    box-shadow: none;
}

.promos__title {
    position: relative;
    z-index: 2;
    margin: 0;
    max-width: 55%;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #313131;
    align-self: flex-start;
    transition: color .2s ease;
}

@media (hover: hover) and (min-width: 1024px) {
    .promos__item:hover .promos__title {
        color: #eb0000;
    }
}

.promos__media {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.promos__circle {
    position: absolute;
    right: -20px;
    bottom: -40px;
    width: 246px;
    height: 246px;
    border-radius: 50%;
    background: #efefef;
    z-index: 0;
}

.promos__media img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 85%;
    height: 220px;
    object-fit: contain;
    object-position: right bottom;
    display: block;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: .55;
    transition: filter .25s ease, opacity .25s ease, -webkit-filter .25s ease;
}

@media (hover: hover) and (min-width: 1024px) {
    .promos__item:hover .promos__media img,
    .promos__item:focus-visible .promos__media img {
        -webkit-filter: none;
        filter: none;
        opacity: 1;
    }
}

.promos__more {
    display: none;
}

/* About — Figma 1920 */
.about-us {
    background: var(--sb-surface);
    padding: 48px 0;
    margin-top: 0;
    color: var(--sb-text);
}

.about-us__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.about-us__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
    flex-shrink: 0;
}

.about-us__info h2 {
    font-family: Lato, sans-serif;
    font-size: 46px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    color: #313131 !important;
    line-height: normal;
}

.about-us__text {
    font-size: 18px;
    line-height: 24px;
    color: #313131;
    font-weight: 400;
}

.about-us__text p {
    margin: 0 0 16px;
}

.about-us__text p:last-child {
    margin-bottom: 0;
}

.about-us__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-top: 0;
    flex-shrink: 0;
}

.about-us__stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-us__num {
    font-family: Montserrat, Lato, sans-serif;
    font-size: 44px;
    font-weight: 600;
    color: #eb0000;
    line-height: normal;
}

.about-us__label {
    margin-top: 0;
    font-family: Montserrat, Lato, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #313131;
    line-height: normal;
}

/* Service — Figma 31:3922 */
.main-page .service,
.main-page-wrapper .service {
    padding: 0;
}

.main-page .service h2,
.main-page-wrapper .service h2 {
    margin-bottom: 48px;
    font-size: 42px;
    font-weight: 500;
    line-height: normal;
    color: #313131;
}

.main-page .service__list,
.main-page-wrapper .service__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
    align-items: stretch;
    min-height: 449px;
}

.main-page .service__col,
.main-page-wrapper .service__col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: auto;
    margin: 0;
}

.main-page .service__col:first-child,
.main-page-wrapper .service__col:first-child {
    grid-template-columns: 1fr;
}

.main-page .service__item,
.main-page-wrapper .service__item {
    position: relative;
    display: block;
    overflow: hidden;
    background: #fff !important;
    border: 2px solid #eee;
    border-radius: 8px;
    min-height: 214px;
    padding: 24px;
    box-shadow: none;
    width: 100%;
    margin: 0;
    height: auto;
    color: #313131;
    text-decoration: none;
}

.main-page .service__item::after,
.main-page-wrapper .service__item::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -90px;
    width: 217px;
    height: 217px;
    border-radius: 50%;
    background: #eee;
    pointer-events: none;
    z-index: 0;
}

.main-page .service__item.full,
.main-page-wrapper .service__item.full {
    min-height: 449px;
    height: 100%;
    padding: 39px 44px;
}

.main-page .service__item.full::after,
.main-page-wrapper .service__item.full::after {
    right: -50px;
    bottom: -120px;
    width: 349px;
    height: 349px;
}

.main-page .service__list + .service__item,
.main-page-wrapper .service__list + .service__item {
    display: none;
}

.main-page .service__icon,
.main-page-wrapper .service__icon {
    display: none !important;
}

.main-page .service__title,
.main-page-wrapper .service__title {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    color: #313131;
    max-width: none;
    white-space: nowrap;
}

.main-page .service__item.full .service__title,
.main-page-wrapper .service__item.full .service__title {
    font-size: 26px;
}

.main-page .service__item img,
.main-page-wrapper .service__item img {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 72%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
}

.main-page .service__item.full img,
.main-page-wrapper .service__item.full img {
    right: 12px;
    bottom: -8px;
    max-width: 54%;
    max-height: 88%;
}

.main-page .service__item:hover,
.main-page-wrapper .service__item:hover {
    color: #313131;
}

.main-page .service__item:hover .service__title,
.main-page-wrapper .service__item:hover .service__title {
    color: #eb0000;
}

@media only screen and (max-width: 1279px) {
    .header a.btn-fill.header__catalog:hover,
    .header__catalog.btn-fill:hover {
        background: var(--sb-red);
        color: #fff;
    }

    .header a.btn-fill.header__catalog:hover .icon {
        fill: #fff;
    }

    .help__form {
        width: 480px;
    }

    .help__layout {
        min-height: 440px;
    }
}

/* Tablet ~786 — Figma 31:4491 */
@media only screen and (max-width: 1023px) {
    :root {
        --sb-section-gap: 64px;
    }

    .main-page .main-page-wrapper {
        padding-top: 36px;
    }

    .top__address {
        display: none;
    }

    .top__logo {
        width: 155px;
    }

    .header-contacts__email {
        display: none;
    }

    .header a.btn-fill.header__catalog,
    .header__catalog.btn-fill {
        width: 155px;
        margin-right: 16px;
        font-size: 16px;
    }

    .header .dropdown .bx-searchtitle {
        display: block !important;
        width: calc(100% - 40px);
        margin: 0 20px 16px;
        flex: none;
    }

    .header .dropdown .header__search {
        display: flex !important;
        width: 100%;
        margin: 0;
    }

    .header__menu {
        width: auto;
        gap: 12px;
        justify-content: flex-end;
    }

    .header .header__search,
    .header .bx-searchtitle .header__search,
    .header #title-search .header__search {
        height: 46px;
        max-width: 341px;
    }

    .top .container,
    .header .container,
    .main-page-wrapper .container,
    .main-page .container,
    .categories > .container,
    .brands > .container,
    .offers > .container {
        padding-left: 36px;
        padding-right: 36px;
    }

    .offers .popular .slider__controls {
        display: none;
    }

    .offers .popular .swiper {
        overflow: hidden !important;
    }

    .offers .popular .swiper-wrapper {
        display: flex !important;
        flex-direction: column;
        transform: none !important;
        gap: 24px;
        height: auto !important;
        width: 100% !important;
    }

    .offers .popular .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }

    .main-page-wrapper .slider__header h2 {
        font-size: 36px;
    }

    /* Figma tablet hero 714×387 / r8 */
    .main-page .s-main-slider .main,
    .main-page .s-main-slider .swiper-slide {
        border-radius: 8px;
        min-height: 387px;
    }

    /* Figma tablet category cards 341×327 */
    .categories__item {
        min-height: 327px;
        border-radius: 8px;
    }

    .categories__item::after {
        /* Figma 31:4583 — ellipse 342×343 */
        width: 342px;
        height: 342px;
        right: -84px;
        bottom: -92px;
        top: auto;
        transform: none;
        background: #f9f9f9;
    }

    .help {
        padding: 36px 0;
    }

    .help > .container,
    .promos > .container,
    .about-us > .container {
        padding-left: 36px;
        padding-right: 36px;
    }

    .help__layout {
        flex-direction: column;
        gap: 24px;
        min-height: 0;
    }

    .help__intro {
        max-width: none;
        gap: 12px;
    }

    .help__title {
        font-size: 36px !important;
        white-space: nowrap;
    }

    .help__text {
        font-size: 16px;
        line-height: normal;
        max-width: none;
        white-space: normal;
    }

    .help__break--desktop {
        display: none;
    }

    .help__break--tablet {
        display: inline;
    }

    .help__break--mobile {
        display: none;
    }

    .help__visual {
        display: none;
    }

    .help__icons-bg {
        display: none;
    }

    .help__form {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
        margin-left: 0;
    }

    .help__form .form-group {
        gap: 32px;
    }

    .help__fields {
        gap: 20px;
    }

    .help__form textarea {
        height: 79px;
        min-height: 79px;
    }

    .promos {
        padding: 64px 0 0;
    }

    .promos__heading {
        font-size: 36px !important;
        margin: 0 0 36px !important;
    }

    .promos__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .promos__item {
        padding: 24px 20px;
    }

    .promos__title {
        max-width: 55%;
    }

    .about-us {
        margin-top: 64px;
        padding: 24px 0 36px;
    }

    .about-us__layout {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .about-us__info {
        max-width: none;
        gap: 24px;
    }

    .about-us__info h2 {
        font-size: 36px !important;
    }

    .about-us__text {
        font-size: 16px;
        line-height: normal;
    }

    .about-us__stats {
        gap: 36px;
        width: 100%;
        max-width: 560px;
    }

    .main-page .service {
        padding: 48px 0 40px;
    }

    .main-page .service h2 {
        margin-bottom: 36px;
        font-size: 36px;
    }

    .main-page .service__list {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 16px;
    }

    .main-page .service__col {
        gap: 16px;
    }

    .main-page .service__item {
        min-height: 273px;
        padding: 24px;
    }

    .main-page .service__item.full {
        min-height: 273px;
        padding: 39px 44px;
    }

    .main-page .service__title {
        font-size: 22px;
        max-width: none;
        white-space: nowrap;
    }

    .main-page .service__item.full .service__title {
        font-size: 26px;
    }

    .main-page .service__item.full img {
        max-width: 40%;
        right: 24px;
    }
}

.header__mobile-call {
    display: none;
}

/* Mobile bottom tab bar */
.mobile-tabbar {
    display: none;
}

/* Mobile ~375 */
@media only screen and (max-width: 767px) {
    :root {
        --sb-section-gap: 66px;
    }

    body {
        padding-top: 0;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .top {
        display: none !important;
    }

    .main-page .main-page-wrapper {
        padding-top: 24px;
    }

    .header {
        width: 100%;
        max-width: 100%;
        background: #fff;
        border-bottom: 0;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 20;
    }

    .header.fixed {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        box-shadow: none;
    }

    .header__logo--mobile {
        display: flex !important;
        width: auto;
    }

    .main-page-wrapper .slider__header h2 {
        font-size: 24px;
        font-weight: 500;
    }

    .header .container {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo call"
            "search search";
        align-items: center;
        justify-content: stretch;
        gap: 0;
        max-width: 100% !important;
        padding: 0 !important;
        width: 100% !important;
        border-bottom: 0;
        background: #fff;
    }

    /* Hidden header controls must not create empty grid cells */
    .header .container > .header__catalog,
    .header .container > .header__menu,
    .header .container > script {
        display: none !important;
    }

    .header .container > .dropdown {
        grid-area: unset !important;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1200;
    }

    .header .container > .dropdown:not(.active) {
        visibility: hidden;
        pointer-events: none;
    }

    .header__logo {
        grid-area: logo;
        display: flex;
        align-items: center;
        width: auto;
        max-width: none;
        padding: 16px 20px 12px;
        margin: 0;
        background: #fff;
    }

    .header__logo img {
        width: 180px;
        height: 32px;
        max-height: 32px;
        display: block;
    }

    .header__mobile-call {
        grid-area: call;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 12px 12px 8px 0;
        color: #eb0000;
        text-decoration: none;
        background: #fff;
    }

    .header__mobile-call .icon {
        width: 21px;
        height: 24px;
        fill: #eb0000;
    }

    .header a.btn-fill.header__catalog,
    .header__catalog.btn-fill,
    .header__menu {
        display: none !important;
    }

    .header .bx-searchtitle,
    .header #title-search {
        grid-area: search;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        flex: none;
        background: #f9f9f9 !important;
        padding: 12px 20px;
        box-sizing: border-box;
        border: 0 !important;
        box-shadow: none !important;
    }

    .header .header__search,
    .header .bx-searchtitle .header__search,
    .header #title-search .header__search {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        height: 46px !important;
        min-height: 46px !important;
        border: 1px solid #eb0000 !important;
        outline: none !important;
        box-shadow: none !important;
        border-radius: 6px !important;
        background: #fff !important;
        padding: 0 8px 0 12px !important;
        margin: 0 !important;
        box-sizing: border-box;
        position: relative;
    }

    .header .bx-searchtitle.theme-red .header__search,
    .header .theme-red .header__search {
        border: 1px solid #eb0000 !important;
        background: #fff !important;
    }

    .header .bx-searchtitle .bx-input-group,
    .header .bx-searchtitle form,
    .header #title-search form,
    .header #title-search .bx-input-group {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        background: transparent !important;
        float: none !important;
        position: relative;
        table-layout: auto;
    }

    .header .bx-searchtitle .bx-input-group-btn,
    .header #title-search .bx-input-group-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        position: static !important;
        width: auto !important;
        flex: 0 0 auto;
        font-size: inherit;
        vertical-align: middle;
    }

    .header .bx-searchtitle input[type="text"],
    .header #title-search-input,
    .header .header__search .bx-form-control,
    .header .bx-searchtitle.theme-red .bx-input-group .bx-form-control {
        flex: 1 1 auto !important;
        width: auto !important;
        float: none !important;
        display: block !important;
        height: 100% !important;
        min-height: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 0 8px 0 0 !important;
        font-size: 16px !important;
        line-height: 46px !important;
        color: #313131 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .header .bx-searchtitle input::placeholder,
    .header #title-search-input::placeholder {
        color: #bdbdbd;
        opacity: 1;
    }

    .header .bx-searchtitle .bx-input-group-btn button,
    .header .bx-searchtitle.theme-red .bx-input-group-btn button,
    .header #title-search button,
    .header .header__search button {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        background-image: none !important;
        box-shadow: none !important;
        color: #eb0000 !important;
        flex: 0 0 auto;
    }

    .header .bx-searchtitle .bx-input-group-btn button .icon,
    .header #title-search button .icon,
    .header .header__search button .icon {
        width: 22px;
        height: 22px;
        fill: #eb0000 !important;
    }

    .header .bx-searchtitle-preloader {
        display: none !important;
    }

    /* Fixed bottom menu — Figma 31:4466 */
    .mobile-tabbar {
        display: flex !important;
        position: fixed !important;
        left: 0;
        right: 0;
        top: auto !important;
        bottom: 0 !important;
        z-index: 1100;
        align-items: flex-end;
        justify-content: space-between;
        min-height: 64px;
        padding: 18px 20px calc(18px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: 0 -4px 18px rgba(0, 0, 0, .06);
    }

    .mobile-tabbar__item {
        appearance: none;
        border: 0;
        background: transparent;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        gap: 3px;
        min-width: 0;
        padding: 0;
        color: #bdbdbd;
        text-decoration: none;
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.1;
        cursor: pointer;
    }

    .mobile-tabbar__item .icon {
        width: 24px;
        height: 24px;
        fill: currentColor !important;
        color: inherit;
    }

    .mobile-tabbar__item--catalog .icon {
        width: 19px;
        height: 19px;
    }

    .mobile-tabbar__item--cart .icon {
        width: 18px;
        height: 18px;
    }

    .mobile-tabbar__item--profile .icon {
        width: 20px;
        height: 20px;
    }

    .mobile-tabbar__item.is-active {
        color: #404040;
    }

    .mobile-tabbar__item.is-active .icon {
        fill: #404040 !important;
    }

    .mobile-tabbar__icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: flex-end;
        justify-content: center;
        width: 21px;
        height: 24px;
    }

    .mobile-tabbar__badge {
        position: absolute;
        top: -6px;
        right: -10px;
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 9px;
        background: #eb0000;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
        text-align: center;
    }

    .main-page-wrapper .container,
    .main-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-page-wrapper .slider {
        margin-top: 24px;
    }

    .main-page-wrapper .slider__header {
        margin-bottom: 24px;
    }

    .main-page-wrapper .slider__header h2,
    .main-page-wrapper h2,
    .categories .slider__header h2,
    .brands .slider__header h2,
    .offers .slider__header h2 {
        font-size: 24px !important;
        font-weight: 500 !important;
        line-height: 1.2;
        color: #313131;
        text-align: left;
    }

    .categories {
        padding-top: 0;
        padding-bottom: 0;
        background: #fff;
        position: relative;
        z-index: 1;
    }

    .categories .slider__controls {
        display: none;
    }

    .categories__swiper--desktop,
    .categories__pagination--desktop {
        display: none !important;
    }

    .categories__swiper--mobile {
        display: block !important;
    }

    .categories__pagination--mobile {
        display: flex !important;
    }

    .categories__page {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        height: auto !important;
        box-sizing: border-box;
    }

    .categories .swiper,
    .categories .categories__swiper {
        overflow: hidden !important;
    }

    .categories .swiper-wrapper {
        align-items: stretch;
    }

    .categories .swiper-slide {
        height: auto;
    }

    .categories__item {
        display: block;
        position: relative;
        min-height: 110px;
        height: 110px;
        padding: 20px 20px 0 20px;
        border-radius: 8px;
        background: #fff;
        border: 2px solid #eee;
        overflow: hidden;
    }

    .categories__item::after {
        width: 158px;
        height: 158px;
        right: -36px;
        left: auto;
        top: auto;
        bottom: -42px;
        transform: none;
        background: #f9f9f9;
    }

    .categories__title {
        position: relative;
        z-index: 1;
        display: block;
        margin: 0;
        padding: 0;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
        max-width: calc(100% - 120px);
        color: #313131;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .categories__item img {
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
        height: 96px;
        max-width: 48%;
        margin: 0;
        object-fit: contain;
        object-position: right bottom;
        background: transparent !important;
        mix-blend-mode: multiply;
    }

    .categories .swiper-pagination {
        position: static;
        margin-top: 16px;
    }

    .brands {
        margin-top: 0;
        padding: 20px 0;
        background: #f9f9f9 !important;
    }

    .brands .slider__header {
        margin-bottom: 24px;
    }

    .brands .slider__controls {
        display: none;
    }

    .main-page .brands .swiper {
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    .main-page .brands__item,
    .main-page .brands .swiper-slide {
        height: 42px;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .main-page .brands__img {
        height: auto !important;
        border: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .main-page .brands__img img {
        max-height: 42px;
        max-width: 107px;
        filter: none;
        opacity: 1;
    }

    .main-page .brands__item:hover .brands__img img {
        filter: none;
        opacity: 1;
    }

    .offers {
        margin-top: 0;
        padding: 0 0 40px;
    }

    .offers .slider__header {
        gap: 16px;
        margin-bottom: 24px;
    }

    .offers__tabs {
        gap: 30px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .offers__tabs::-webkit-scrollbar {
        display: none;
    }

    .offers__tab {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.25;
        color: #313131;
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0;
        border-bottom: 0;
        text-decoration: none;
    }

    .offers__tab:hover {
        color: #313131;
    }

    .offers__tab.active {
        font-weight: 600;
        color: #eb0000;
        border-bottom: 0;
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-thickness: 1px;
    }

    .offers__pane .popular .container {
        padding-left: 0;
        padding-right: 0;
    }

    .offers .popular .slider__controls {
        display: none;
    }

    .offers .popular .swiper {
        overflow: hidden !important;
    }

    .offers .popular .swiper-wrapper {
        display: flex !important;
        flex-direction: column;
        transform: none !important;
        gap: 30px;
        height: auto !important;
        width: 100% !important;
    }

    .offers .popular .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }

    .offers .popular .swiper-slide:nth-child(n+6):not(.is-offers-revealed) {
        display: none !important;
    }

    .offers__pane .catalog__more {
        display: block;
        appearance: none;
        background: none;
        border: 0;
        padding: 0;
        width: fit-content;
        margin: 30px auto 0;
        left: auto;
        transform: none;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        color: #eb0000;
        border-bottom: 0;
        cursor: pointer;
        font-family: inherit;
    }

    .offers__pane .catalog__more.is-exhausted {
        display: none !important;
    }

    .main-page-wrapper .item,
    .offers .item {
        border-radius: 6px;
        height: 100%;
    }

    .main-page-wrapper .item__img {
        height: 226px;
        margin: 0;
    }

    .main-page-wrapper .item__price,
    .offers .item__price {
        font-size: 20px;
        font-weight: 600;
    }

    .main-page-wrapper .item__title,
    .offers .item__title {
        font-size: 16px;
        min-height: 60px;
        max-height: 60px;
        margin-bottom: 16px; /* Figma mobile gap 16 before CTA */
    }

    .main-page-wrapper .add-cart,
    .offers .add-cart {
        height: 46px;
        min-height: 46px;
        font-size: 16px;
        margin-top: auto;
    }

    /* Mobile banners are 335×465 in Figma. Keep that ratio so cover/contain
       does not crop on 390–430 phones, and never stretch a 1x PNG. */
    .main-page .s-main-slider .main,
    .main-page .s-main-slider .swiper {
        aspect-ratio: 335 / 465;
        height: auto !important;
        min-height: 0;
    }

    .main-page .s-main-slider .main,
    .main-page .s-main-slider .swiper-slide {
        border-radius: 8px;
        padding-top: 0;
        min-height: 0;
        height: 100%;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat;
    }

    .main-page .s-main-slider .swiper-slide > .container {
        min-height: 0;
        height: 100%;
        max-width: none;
        width: 100%;
        padding: 14px 14px 16px !important;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        box-sizing: border-box;
    }

    .main-page .s-main-slider .swiper-slide.slide-background > .container > img,
    .main-page .s-main-slider .swiper-slide.slide-background .main__images {
        display: none;
    }

    .main-page .s-main-slider .main__info {
        max-width: 307px;
        width: 100%;
        margin: 0;
        order: 0;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    .main-page .s-main-slider .main__title {
        font-family: Montserrat, sans-serif;
        font-size: 31px;
        font-weight: 600;
        line-height: 1.22;
        margin: 0 0 8px;
    }

    .main-page .s-main-slider .main__text {
        font-family: Montserrat, sans-serif;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.2;
        margin: 0 0 16px;
    }

    .main-page .s-main-slider .main__text br {
        display: block;
    }

    .main-page .s-main-slider .main__text p,
    .main-page .s-main-slider .main__text li,
    .main-page .s-main-slider .main__text div {
        margin: 0 0 8px;
        padding: 0 0 4px;
        border-bottom: 1px solid currentColor;
        width: fit-content;
        max-width: 100%;
    }

    .main-page .s-main-slider .main__controls {
        width: 100%;
        max-width: 307px;
        margin-top: auto;
        align-items: stretch;
    }

    .main-page .s-main-slider .main__controls .btn {
        width: 100%;
        max-width: 307px;
        height: 46px;
        margin: 0;
        padding: 0 16px;
        border-radius: 6px;
        background: #fff !important;
        border: 1px solid #fff !important;
        color: #313131 !important;
        box-shadow: none !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
    }

    .main-page .s-main-slider .main__controls .btn::before {
        display: none;
    }

    .main-page .s-main-slider .main__controls .btn:hover {
        background: #fff !important;
        border-color: #fff !important;
        color: #313131 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .help {
        margin-top: 0;
        padding: 20px 0 36px;
        background: #eee;
    }

    .help > .container,
    .promos > .container,
    .about-us > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .help__layout {
        gap: 36px;
        align-items: stretch;
        text-align: left;
    }

    .help__intro {
        gap: 16px;
        min-height: 0;
        padding: 0;
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .help__title {
        font-size: 24px !important;
        font-weight: 500 !important;
        white-space: nowrap;
        text-align: left !important;
    }

    .help__text {
        font-size: 16px;
        line-height: 20px;
        max-width: none;
        white-space: normal;
    }

    .help__break--desktop,
    .help__break--tablet {
        display: none;
    }

    .help__break--mobile {
        display: inline;
    }

    .help__visual {
        display: none;
    }

    .help__icons-bg {
        display: none;
    }

    .help__form-fields {
        gap: 24px;
    }

    .help__fields {
        gap: 16px;
    }

    .help__form .form-group {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .help__form .control input,
    .help__form textarea {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 16px;
    }

    .help__form .control .placeholder {
        left: 16px;
    }

    .help__form textarea {
        height: 92px;
        min-height: 92px;
    }

    .help__submit {
        gap: 16px;
    }

    .help__form .btn-fill {
        height: 46px;
        font-size: 16px;
        width: 100%;
    }

    .help__form .checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border-radius: 6px;
    }

    .help__form .checkbox input[type="checkbox"]::after {
        width: 13px;
        height: 10px;
    }

    .promos {
        margin-top: 0;
        padding: 0;
    }

    .promos__heading {
        font-size: 24px !important;
        font-weight: 500 !important;
        margin: 0 0 24px !important;
        text-align: left !important;
    }

    .promos__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promos__item {
        height: 110px;
        min-height: 110px;
        border-radius: 6px;
        padding: 16px;
        align-items: flex-start;
    }

    .promos__title {
        font-size: 16px;
        line-height: 20px;
        max-width: 58%;
    }

    .promos__circle {
        width: 137px;
        height: 137px;
        right: -8px;
        bottom: -24px;
    }

    .promos__media img {
        height: 100px;
        max-width: 55%;
        -webkit-filter: grayscale(1) !important;
        filter: grayscale(1) !important;
        opacity: .55 !important;
        transition: none;
    }

    .promos__item:hover .promos__media img,
    .promos__item:focus-visible .promos__media img,
    .promos__item:active .promos__media img {
        -webkit-filter: grayscale(1) !important;
        filter: grayscale(1) !important;
        opacity: .55 !important;
        transition: none;
    }

    .promos__item:hover .promos__title,
    .promos__item:focus-visible .promos__title,
    .promos__item:active .promos__title {
        color: #313131 !important;
    }

    .about-us {
        margin-top: 0;
        padding: 20px 0 36px;
        background: #eee;
    }

    .about-us__layout {
        gap: 24px;
    }

    .about-us__info {
        gap: 24px;
    }

    .about-us__info h2 {
        font-size: 24px !important;
        font-weight: 500 !important;
        text-align: left !important;
    }

    .about-us__text {
        font-size: 14px;
        line-height: 20px;
    }

    .about-us__stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 36px;
    }

    .about-us__num {
        font-size: 32px;
        font-weight: 600;
        color: #eb0000;
    }

    .about-us__label {
        font-size: 14px;
        color: #313131;
    }

    .main-page .service {
        margin-top: 0;
        padding: 0 0 40px;
    }

    .main-page .service h2 {
        margin-bottom: 24px;
        font-size: 24px !important;
        font-weight: 500 !important;
    }

    .main-page .service__list,
    .main-page .service__col {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .main-page .service__item,
    .main-page .service__item.full {
        min-height: 110px;
        height: 110px;
        padding: 16px;
        border-radius: 6px;
    }

    .main-page .service__title,
    .main-page .service__item.full .service__title {
        font-size: 16px;
        font-weight: 500;
        max-width: none;
        white-space: nowrap;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .main-page .service__title br,
    .main-page .service__item.full .service__title br {
        display: none;
    }

    .main-page .service__item::after,
    .main-page .service__item.full::after {
        width: 149px;
        height: 149px;
        right: -20px;
        bottom: -40px;
    }

    .main-page .service__item img,
    .main-page .service__item.full img {
        max-width: 42%;
        max-height: 90%;
        right: 8px;
        bottom: 4px;
    }

    footer.footer {
        padding: 36px 0 calc(28px + 8px);
        background: #f4f4f4 !important;
    }

    footer.footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer.footer .footer__main {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-bottom: 24px;
    }

    footer.footer .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        grid-area: auto;
    }

    footer.footer .footer__contacts {
        grid-area: auto;
        justify-self: stretch;
        align-items: stretch;
        width: 100%;
    }

    footer.footer .footer__logo {
        width: 100%;
        display: block;
    }

    footer.footer .footer__logo img {
        display: block;
        width: 100%;
        max-width: none;
        height: 58px;
        max-height: 58px;
        object-fit: contain;
        object-position: center;
    }

    footer.footer .footer__contacts {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    footer.footer .footer__email {
        display: none;
    }

    footer.footer .footer__phones {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        width: 100%;
    }

    footer.footer .footer__phone-item {
        align-items: flex-start;
        gap: 6px;
    }

    footer.footer .footer__phone-label {
        font-size: 14px;
    }

    footer.footer .footer__phone-num {
        font-size: 16px;
    }

    footer.footer .footer__call {
        order: 3;
        width: 100%;
        max-width: none;
        height: 46px;
        margin-top: 0;
        grid-area: auto;
        background: var(--sb-red) !important;
        border-color: var(--sb-red) !important;
        color: #fff !important;
    }

    footer.footer .footer__nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 95px;
        margin-bottom: 36px;
    }

    footer.footer .footer__nav a {
        font-size: 16px;
        color: #313131;
    }

    footer.footer .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
    }

    footer.footer .footer__legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    footer.footer .footer__legal a {
        font-size: 14px;
        color: #eb0000;
    }

    footer.footer .footer__copy {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        font-size: 14px;
        color: #313131;
    }

    .help__layout,
    .help__intro,
    .about-us__info,
    .promos > .container {
        align-items: flex-start;
        text-align: left;
    }

    body .user-cookie-confirm {
        z-index: 1200;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}

/* Bitrix public pencils: do not clip toolbars, keep them above banners */
#bx-panel {
    z-index: 3000;
}

.bx-context-toolbar,
.bx-core-popup-menu,
.bx-component-opener {
    z-index: 1600 !important;
}

.header,
.header .container,
.header__logo,
.footer__logo,
.top__logo {
    overflow: visible;
}

body:has(#bx-panel) .s-main-slider .swiper,
body:has(#bx-panel) .s-main-slider .swiper-wrapper,
body:has(#bx-panel) .s-main-slider .swiper-slide {
    overflow: visible !important;
}

body:has(#bx-panel) .slide-background-link {
    pointer-events: none;
}

div.title-search-result {
    max-width: min(520px, calc(100vw - 32px));
    overflow-x: hidden !important;
    overflow-y: auto !important;
    max-height: min(56vh, 380px);
    border-radius: 8px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12) !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    z-index: 4000 !important;
    scrollbar-width: thin;
    scrollbar-color: #eb0000 #f3f3f3;
}

div.title-search-result::-webkit-scrollbar {
    width: 6px;
}

div.title-search-result::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 8px;
}

div.title-search-result::-webkit-scrollbar-thumb {
    background: #eb0000;
    border-radius: 8px;
}

.sb-search-hint {
    padding: 8px 0 0;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.sb-search-hint__group {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: visible;
}

.sb-search-hint__group + .sb-search-hint__group {
    border-top: 1px solid #eee;
    margin-top: 4px;
    padding-top: 4px;
}

.sb-search-hint__row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    text-decoration: none;
    color: #313131;
}

.sb-search-hint__row:hover {
    background: #f7f7f7;
}

.sb-search-hint__pic {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #f4f4f4 center / contain no-repeat;
}

.sb-search-hint__pic--brand {
    background-color: #fff;
    border: 1px solid #eee;
}

.sb-search-hint__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sb-search-hint__name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #313131;
    overflow-wrap: anywhere;
}

.sb-search-hint__name b {
    font-weight: 700;
    color: #313131;
}

.sb-search-hint__meta {
    font-size: 12px;
    line-height: 1.3;
    color: #8a8a8a;
}

.sb-search-hint__price {
    font-size: 14px;
    font-weight: 600;
    color: #313131;
}

.sb-search-hint__price-old {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #9b9b9b;
    text-decoration: line-through;
}

.sb-search-hint__all {
    display: block;
    margin: 8px 16px 12px;
    padding: 10px 16px;
    text-align: center;
    color: #fff;
    background: #eb0000;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sb-search-hint__all:hover {
    background: #c80000;
    color: #fff;
}

@media only screen and (max-width: 1023px) {
    .promos__media img,
    .promos__item:hover .promos__media img,
    .promos__item:focus-visible .promos__media img,
    .promos__item:active .promos__media img {
        -webkit-filter: grayscale(1) !important;
        filter: grayscale(1) !important;
        opacity: .55 !important;
        transition: none;
    }

    .promos__item:hover .promos__title,
    .promos__item:focus-visible .promos__title,
    .promos__item:active .promos__title {
        color: #313131 !important;
    }
}
