/* ===== CSS RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Цвета */
    --main-orange: #DE5831;
    --main-black: #1C1C1C;
    --main-grey: #F3F5F7;
    --main-radius: 5px;
    --main-font: 'Montserrat', sans-serif;
    --grey-dark: #494949;
    --grey-medium: #999;
    --grey-light: #9B9B9B;
    --white: #fff;
    --black: #000;
    /* Размеры иконок соцсетей */
    --footer-social-1-width: 17px;
    --footer-social-2-width: 19px;
    --footer-social-3-width: 17px;
    --footer-social-4-width: 16px;
    --footer-social-5-width: 18px;
    /* Прочие размеры */
    --header-logo-width: 200px;
    --footer-payment-width: 54px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    color: var(--black);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.75;
}

a,
a:link,
a:visited {
    text-decoration: none;
    color: #000;
}

.container {
    max-width: 1496px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.inner-page-container {
    /* margin-top: 32px; */
    margin-bottom: 130px;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.span-4 {
    grid-column: span 4;
}

.span-5 {
    grid-column: span 5;
}

.span-6 {
    grid-column: span 6;
}

.span-7 {
    grid-column: span 7;
}

.span-8 {
    grid-column: span 8;
}

.span-9 {
    grid-column: span 9;
}

.span-10 {
    grid-column: span 10;
}

.span-11 {
    grid-column: span 11;
}

.span-12 {
    grid-column: span 12;
}


h1.page-title {
    font-size: 40px;
    line-height: normal;
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    h1.page-title {
        font-size: 28px;
        margin-top: 16px;
    }
}

.goup {
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    width: 90px;
    height: auto;
}
    @media screen and (max-width: 800px) {
        .goup {
            bottom: 60px;
            right: 0px;
        }
    }
/* TOP BAR */
.top-bar {
    background-color: var(--main-black);
    padding: 12px 0;
    color: var(--white);
    /* font-weight: 500; */
    font-size: 13px;
}

.top-bar a {
    color: var(--white);
}

.top-bar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__city {
    min-width: 246px;
}

@media screen and (max-width: 1000px) {
    .top-bar__city {
        min-width: 0;
    }
}

.top-bar__city-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--grey-dark);
    border-radius: 50px;
    padding: 2px 15px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: all 0.3s;
}

.top-bar__city-content:hover {
    background: var(--main-orange);
}

.top-bar__city-content.active {
    background: var(--main-orange);
}

.top-bar__city-icon {
    margin-top: -2px;
    transition: transform 0.3s;
}

.top-bar__city-content.active .top-bar__city-icon {
    transform: rotate(180deg);
}

.top-bar__city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

@media screen and (max-width: 600px) {
    .top-bar__city-dropdown {
        position: fixed;
        top: 50px;
        left: 0;
        min-width: 100%;
        max-width: 90vw;
        max-height: 80vh;
    }
}

.top-bar__city-dropdown.active {
    display: block;
}

/* Центрированный попап выбора города (для личного кабинета) */
.top-bar__city-dropdown.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 320px;
    max-width: 90vw;
    max-height: 80vh;
}

/* Затемнение фона для центрированного попапа */
.city-dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.city-dropdown-overlay.active {
    display: block;
}

.top-bar__city-dropdown-list {
    padding: 10px 0;
}

.top-bar__city-search {
    padding: 8px 10px;
    border-bottom: 1px solid var(--main-grey);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.top-bar__city-search-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.top-bar__city-search-input::placeholder {
    color: var(--grey-medium);
}

.top-bar__city-items-container {
    max-height: 300px;
    overflow-y: auto;
}

.top-bar__city-dropdown-item {
    padding: 8px 10px;
    font-size: 14px;
    color: var(--main-black);
    cursor: pointer;
    transition: all 0.3s;
}

.top-bar__city-dropdown-item:hover {
    background: var(--main-grey);
    border-left-color: var(--main-orange);
}

.top-bar__city-dropdown-item.active {
    background: var(--main-grey);
    border-left-color: var(--main-orange);
    font-weight: 700;
    color: var(--main-orange);
}

.top-bar__city {
    position: relative;
}

/* Мини-попап подтверждения города */
.city-confirm-popup {
    position: absolute;
    top: 12px;
    left: calc(50% - 730px);
    background: #fff;
    color: #222;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 12px 20px;
    z-index: 2000;
    display: flex;
    gap: 20px;
    align-items: center;
}

@media screen and (max-width: 1480px) {
    .city-confirm-popup {
        left: 10px;
        top: 3px
    }
}

@media screen and (max-width: 600px) {
    .city-confirm-popup {
        display: none !important;
    }
}

.city-confirm-popup__text {
    font-size: 14px;
    margin: 0;
}

.city-confirm-popup__actions {
    display: flex;
    gap: 8px;
}

.city-confirm-popup__btn {
    line-height: 1;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #fff;
    background: #fff;
    color: var(--main-orange);
}

.city-confirm-popup__btn--yes {
    background: var(--grey-dark);
    color: #fff;
}

@media screen and (max-width: 600px) {
    .city-confirm-popup {
        left: 10px;
        right: 10px;
        min-width: auto;
    }
}

.top-bar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
    margin-right: 20px;
}

@media screen and (max-width: 1000px) {
    .top-bar__nav {
        display: none;
    }
}

.top-bar__nav a {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.top-bar__nav a:hover {
    opacity: 1;
}

.top-bar__contacts {
    margin-left: auto;
}

.top-bar__worktime {
    color: var(--grey-medium);
    margin: 0 32px 0 0;
}

@media screen and (max-width: 700px) {
    .top-bar__worktime {
        display: none;
    }
}

.top-bar__phone {
    font-weight: 700;
    margin: 0 12px 0 0;
}

.top-bar__callback {
    border-bottom: 1px dashed var(--white);
    white-space: nowrap;
}

@media screen and (max-width: 700px) {
    .top-bar__callback {
        display: none;
    }
}

/* HEADER */
header.header {
    position: sticky;
    top: 0;
    z-index: 999;
    transition: border-bottom 0.3s ease;
}

@media screen and (max-width: 800px) {
    header.header {
        position: relative;
    }
}

/* Стиль для sticky состояния */
header.header.header--sticky {
    border-bottom: 1px solid var(--main-grey);
}

.header {
    background-color: var(--main-black);
}

.header__container {
    background-color: var(--white);
    border-radius: 10px 10px 0 0;
    padding: 37px 0 27px 0;
}

@media screen and (max-width: 800px) {
    .header__container {
        padding: 17px 0 12px 0;
    }
}

.header__container .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    justify-content: space-between;
}

.header__logo {
    min-width: 226px;
}

.header__logo a {
    display: flex;
    align-items: center;
}

.header__logo img {
    width: var(--header-logo-width);
    height: auto;
}

@media screen and (max-width: 1000px) {
    .header__logo {
        min-width: 0;
    }

    .header__logo img {
        width: 110px;
    }
}

.header__catalogbutton {
    min-width: 226px;
    background: linear-gradient(85.88deg, rgba(153, 19, 0, 0.2) 0%, rgba(223, 89, 49, 0.2) 71.49%, rgba(248, 165, 48, 0.2) 93.31%), var(--main-orange);
    border-radius: var(--main-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px 0;
}

.header__catalogbutton-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: url(../img/burger.png) no-repeat 0 50%;
    background-size: 16px auto;
    padding: 0 0 0 28px;
}

.header__catalogbutton--open {
    background-color: var(--main-black);
}

.header__catalogbutton--open .header__catalogbutton-label {
    background-image: url(../img/burger_close.png);
}

@media screen and (max-width: 800px) {
    .header__catalogbutton {
        min-width: 0;
        padding: 10px 14px;
        order: 2;
    }

    .header__catalogbutton-label {
        display: block;
        font-size: 0;
        padding: 0;
        width: 20px;
        height: 16px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 16px auto;
    }

    .header__logo {
        order: 0;
    }
    .header__icons {
        order: 3;
    }

    .header--search-focus .header__logo,
    .header--search-focus .header__catalogbutton {
        display: none;
    }

    .header--search-focus .header__search-wrapper {
        order: 0;
        flex: 1 1 100%;
        width: 100%;
    }
}

.header__search-wrapper {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    min-width: 200px;
}
    @media screen and (max-width: 800px) {
        .header__search-wrapper {
            min-width: 100px;
            order: 1;
        }
    }

.header__search {
    display: flex;
    align-items: center;
    width: 100%;
}

.header__search-input {
    width: 100%;
    border-radius: var(--main-radius);
    border: none;
    background: var(--main-grey);
    padding: 15px 44px 15px 16px;
    font-size: 15px;
}
    @media screen and (max-width: 800px) {
        .header__search-input {
            padding: 10px 24px 10px 8px;
        }
    }

.header__search-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 15px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
    @media screen and (max-width: 800px) {
        .header__search-icon {
            padding: 8px;
        }
    }

.header__search-icon img {
    width: 14px;
    height: auto;
    display: block;
}

.header__search-icon:hover,
.header__search-icon:focus {
    opacity: 1;
    outline: none;
}

.header__icons {
    min-width: 349px;
    display: flex;
    gap: 32px;
    margin-left: auto;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 6px 0 0 0;
}

@media screen and (max-width: 800px) {
    .header__icons {
        justify-content: space-around;
        flex: 1;
        position: fixed;
        bottom: 0;
        left: 0;
        background: #fff;
        width: 100%;
        padding: 20px 0 8px 0;
        border-top: 1px solid #e2e2e2;
    }
}

.header__search-form {
    display: flex;
    align-items: center;
}

.header__search-button {
    background: none;
    border: none;
    padding-left: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.header__search-button img {
    width: 22px;
    height: 22px;
    display: block;
}

.header__icon-tooltip-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .header__icons img {
        display: block; margin-bottom: 8px;
        
    }

.header__icon-tooltip-wrapper.header__icon-wrapper--catalog {
    display: none;
}

.header__icon-tooltip {
    /* display: none; */
    opacity: 0;
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    background: var(--main-black);
    color: var(--white);
    font-size: 14px;
    padding: 1px 12px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-weight: 400;
    transition: opacity 0.3s;
}

.header__icon-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent var(--main-black) transparent;
}
        @media screen and (max-width: 800px) {
            .header__icon-tooltip,
            .header__icon-tooltip::before {
                display: none;
            }
        }

.header__icon-tooltip-wrapper:hover .header__icon-tooltip {
    /* display: block; */
    opacity: 1;
}

.header__icon-label {
    display: none;
    font-size: 10px;
    line-height: 1;
    color: var(--black);
    font-weight: 400;
}

.header__icon-tooltip-wrapper.header__icon-wrapper--compare {
    display: flex;
}

.header__icon-tooltip-wrapper.header__icon-wrapper--catalog {
    display: none;
}

@media screen and (max-width: 800px) {
    .header__icon-tooltip-wrapper.header__icon-wrapper--compare {
        display: none;
    }

    .header__icon-tooltip-wrapper.header__icon-wrapper--catalog {
        display: flex;
    }

    .header__icon-label {
        display: block;
    }
}

.header__icon-tooltip--left {
    left: auto;
    right: 0;
    transform: none;
}

.header__icon-tooltip--left::before {
    left: auto;
    right: 1px;
    transform: none;
}

.header__icon-tooltip--right {
    left: 0;
    right: auto;
    transform: none;
}

.header__icon-tooltip--right::before {
    left: 1px;
    transform: none;
}

.header__icon-link--cart {
    position: relative;
    display: inline-block;
}

.header__cart-badge {
    position: absolute;
    top: -14px;
    right: -13px;
    background: var(--main-orange);
    color: var(--white);
    font-size: 10px;
    font-family: var(--main-font);
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header__icon-link:focus,
.header__icon-link:hover {
    outline: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

/* MAIN MENU */
.main-menu {
    padding: 0 0 32px 0;
    border-bottom: 1px solid var(--main-grey);
}

body.page-front .main-menu {
    border-bottom: none;
}

@media screen and (max-width: 800px) {
    .main-menu {
        display: none;
    }
}

.main-menu .container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.main-menu__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu__list a {
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
}

.main-menu__list a:hover {
    color: var(--main-orange);
}

.main-menu__item.active a {
    color: var(--main-orange);
}

.main-menu__right {
    display: flex;
    align-items: center;
    gap: 22px;
}

a.main-menu__services {
    color: var(--main-orange);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    background: url(../img/ico_services.svg) no-repeat 0 50%;
    padding-left: 20px;
}

a.main-menu__catalog {
    font-weight: 600;
}

.main-menu__link:focus,
.main-menu__link:hover {
    color: var(--main-orange);
    outline: none;
    transition: color 0.2s;
}

.news-and-subscribe__news-link {
    text-align: right;
    margin: 30px 0;
    background: url(../img/bigarrow.png) no-repeat 100% 50%;
    padding-right: 52px;
    background-size: 40px auto;
}

@media screen and (max-width: 800px) {
    .news-and-subscribe__news-link {
        text-align: left;
        display: inline-block;
    }
}

/* SUBSCRIBE */
.subscribe {
    background-color: var(--main-grey);
    padding: 37px 0;
    margin: 92px 0 0 0;
    border-radius: 20px 20px 0 0;
}

body.page-front .subscribe {
    display: none;
}

.subscribe .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

@media screen and (max-width: 1000px) {
    .subscribe .container {
        display: block;
    }
}

.subscribe__title {
    font-size: 22px;
    line-height: 27px;
    min-width: 349px;
}

@media screen and (max-width: 1000px) {
    .subscribe__title {
        margin-bottom: 20px;
    }
}

.subscribe__form {
    display: flex;
    flex-wrap: wrap;
    flex: 1 1 0;
    justify-content: space-between;
    align-items: center;
    gap: 20px 0;
}

@media screen and (max-width: 800px) {
    .subscribe__form {
        flex-direction: column;
        align-items: flex-start;
    }
}

.subscribe__form>* {
    width: 31%;
}

@media screen and (max-width: 800px) {
    .subscribe__form>* {
        width: 100%;
    }
}

.subscribe__input-wrapper {
    width: 31%;
}

@media screen and (max-width: 800px) {
    .subscribe__input-wrapper {
        width: 100%;
    }
}

.subscribe__input {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--main-radius);
    border: none;
    font-size: 14px;
}

.subscribe__checkbox {
    display: flex;
    align-items: flex-start;
    font-size: 12px;
    line-height: 15px;
    color: var(--grey-medium);
    gap: 12px;
    max-width: 100%;
}

.subscribe__checkbox input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.subscribe__checkbox span {
    display: block;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    word-break: break-word;
}

.subscribe__checkbox a {
    color: var(--grey-medium);
    text-decoration: underline;
}

.subscribe__button {
    background: var(--main-orange) url(../img/ico_subscribe.png) no-repeat calc(50% - 55px) 50%;
    background-size: 21px auto;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 15px 24px 15px 54px;
    border-radius: var(--main-radius);
    border: none;
    cursor: pointer;
}

.subscribe__button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* FOOTER */
.footer {
    background-color: var(--main-grey);
}

.footer__container {
    background-color: var(--main-black);
    color: var(--white);
    padding: 48px 0;
    border-radius: 20px 20px 0 0;
}

.footer__container .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1.75fr;
    gap: 58px 69px;
}

@media screen and (max-width: 1000px) {
    .footer__container .container {
        display: flex;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 800px) {
    .footer__container {
        padding: 48px 0 100px 0;
    }
    .footer__container .container {
        gap: 28px 40px;
    }
}

.footer__logo {
    display: flex;
    align-items: center;
}

.footer__logo img {
    width: var(--header-logo-width);
    height: auto;
}

@media screen and (max-width: 800px) {
    .footer__logo img {
        width: auto;
        height: 30px;
    }
}

.footer__phone {
    font-size: 12px;
    padding-top: 18px;
}

.footer__phone a {
    color: var(--white);
    font-weight: 700;
}

.footer__phone span {
    color: var(--grey-medium);
    margin-left: 16px;
}

.footer__boss {
    padding-top: 10px;
}

@media screen and (max-width: 800px) {
    .footer__boss {
        padding-top: 0;
        width: 100%;
        margin-bottom: 30px;
    }
}

a.footer__boss-link {
    display: inline-block;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    background: var(--grey-dark);
    border-radius: var(--main-radius);
    padding: 8px 27px;
    transition: background 0.2s;
}

@media screen and (max-width: 800px) {
    a.footer__boss-link {
        padding: 8px 0;
        width: 100%;
        text-align: center;
    }
}

a.footer__boss-link:hover {
    background: var(--main-orange);
}

.footer__menu {}

@media screen and (max-width: 800px) {
    .footer__menu {
        width: 100%;
    }
}

.footer__menu h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

@media screen and (max-width: 800px) {
    .footer__menu h3 {
    }

    .footer__menu.footer__menu--1 h3,
    .footer__menu.footer__menu--2 h3,
    .footer__menu.footer__menu--3 h3,
    .footer__menu.footer__menu--4 h3 {
        margin-bottom: 0;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding-left: 16px;
        position: relative;
            &::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 6px;
            margin-left: -16px;
            border: 1px solid currentColor;
            border-top: none;
            border-left: none;
            transform: rotate(45deg);
            transition: transform 0.2s ease;
            }
    }

    .footer__menu.is-open h3::before {
        transform: rotate(-135deg);
    }
}

.footer__menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media screen and (max-width: 800px) {
    .footer__menu:not(.footer__contacts) ul {
        display: none;
        padding-top: 12px;
    }

    .footer__menu.is-open ul {
        display: block;
    }
}

.footer__menu ul li {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
    line-height: 16px;
}

@media screen and (max-width: 800px) {
    .footer__menu ul li {
        margin: 0;
    }
}

.footer__menu ul li a {
    color: var(--grey-light);
    font-size: 12px;
    transition: color 0.2s;
}

.footer__menu ul li a:hover {
    color: var(--white);
}

.footer__contacts {
    font-size: 12px;
    line-height: 20px;
}

@media screen and (max-width: 800px) {
    .footer__contacts {
        margin: 40px 0;
    }

    .footer__contacts a {
        color: var(--white);
    }
}

.footer__contacts h3 {
    font-size: 16px;
}

.footer__contacts h3 span {
    color: var(--main-orange);
}

.footer__contacts-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;

}

a.footer__contacts-link {
    font-size: 14px;
    color: var(--white);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
}

.footer__copyright {
    color: var(--grey-light);
    font-size: 13px;
    line-height: 16px;
}

.footer__copyright a {
    color: var(--grey-light);
    text-decoration: underline;
}

.footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
}

.footer__social-title {}

.footer__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer__social-link-1 {
    width: var(--footer-social-1-width);
}

.footer__social-link-2 {
    width: var(--footer-social-2-width);
}

.footer__social-link-3 {
    width: var(--footer-social-3-width);
}

.footer__social-link-4 {
    width: var(--footer-social-4-width);
}

.footer__social-link-5 {
    width: var(--footer-social-5-width);
}

.footer__payment {
    display: flex;
    gap: 30px;
}

.footer__payment img {
    width: var(--footer-payment-width);
    height: auto;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 800px) {
    .footer__container .footer__logo {order: -5;} /* logo */
    .footer__container .footer__phone {order: -4;} /* phone */
    .footer__container .footer__boss {order: 0;} /* boss */
    .footer__container .footer__menu--1 {order: 1;} /* menu */
    .footer__container .footer__menu--2 {order: 1;} /* menu */
    .footer__container .footer__menu--3 {order: 1;} /* menu */
    .footer__container .footer__menu--4 {order: 1;} /* menu */
    .footer__container .footer__contacts {order: -3; margin: 0;} /* contacts */
    .footer__container .footer__copyright {order: 7;} /* copyright */
    .footer__container .footer__social {order: 3; margin: 30px 0;} /* social */
    .footer__container .footer__payment {order: 5;} /* payment */
}

/* HERO */
.hero {
    margin-bottom: 42px;
}

.hero .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

@media screen and (max-width: 1000px) {
    .hero .container {
        padding: 0;
    }
}

.hero__slider {}

@media screen and (max-width: 1000px) {
    .hero__slider {
        grid-column: span 12;
    }
}

.hero__slider-discount {
    box-shadow: -5px 0px 20px rgba(96, 38, 7, 0.1);
    border-radius: 10px;
}

@media screen and (max-width: 1000px) {
    .hero__slider-discount {
        grid-column: span 12;
        margin: 0 20px;
    }
}

.hero__slider-discount-header {
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero__slider-discount-header h3 {
    font-size: 24px;
    margin: 0;
    padding: 0;
}

.hero__slider-discount-countdown {}

.hero__slider-discount-content {
    position: relative;
}

.hero__slider-discount-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.hero__slider-discount-wrapper::-webkit-scrollbar {
    display: none;
}

.hero__slider-discount-arrows {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 25%;
    top: 60px;
    padding: 0 20px;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.hero__slider-discount-prev,
.hero__slider-discount-next {
    pointer-events: auto;
    width: auto;
    height: 18px;
    object-fit: contain;
    cursor: pointer;
}

.hero__slider-discount-next {
    transform: scaleX(-1);
}

.hero__slider-discount-arrow--disabled {
    opacity: 0.2;
    cursor: default;
}

.hero__slider-discount-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.hero__slider-discount-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 45px auto;
}

@media screen and (max-width: 1000px) {
    .hero__slider-discount-image {
        margin: 0 auto 15px auto;
    }
}

.hero__slider-discount-image-img {
    display: block;
    margin: 0 auto;
    max-width: 250px;
    height: 140px;
    object-fit: contain;
}

.hero__slider-discount-description {
    padding: 0 20px 10px 20px;
}

a.hero__slider-discount-description-name {
    font-size: 15px;
    line-height: 18px;
    display: block;
    margin: 0 0 8px 0;
}

.hero__slider-discount-description-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hero__slider-discount-description-price-new {
    font-size: 24px;
    font-weight: 700;
}

.hero__slider-discount-description-price-old {
    font-size: 14px;
    text-decoration: line-through;
    color: var(--grey-dark);
    padding-top: 6px;
}

.hero__slider-discount-description-price-buy {
    display: block;
    width: 58px;
    height: 38px;
    background: url(../img/ico_buy.png) no-repeat 50% 50%;
    background-color: var(--main-orange);
    background-size: 20px auto;
    border-radius: var(--main-radius);
    margin-left: auto;
}

/* advantages */
.advantages {
    margin-bottom: 52px;
}

.advantages .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px 0;
}

.advantages__item {
    width: calc(25% - 15px);
    font-size: 15px;
    line-height: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 300px;
}

.advantages__item-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--main-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages__item-icon img {
    width: 24px;
    height: auto;
}

.advantages__item span {
    display: block;
    font-weight: 700;
}

/* === HERO SLIDER === */
.slider {
    position: relative;
    width: 100%;
}

.slider__slide {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

@media screen and (max-width: 1000px) {
    .slider__slide {
        border-radius: 0;
    }
}

.slider__slide img {
    width: auto;
    height: 370px;
    display: block;
}

@media screen and (max-width: 800px) {
    .slider__slide img {
        width: 130%;
        height: auto;
    }
}

.slider__nav {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
    align-items: center;
    /* pointer-events: none; */
}

.slider__nav-line {
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    border-radius: 10px;
    opacity: 0.5;
    transition: all 0.3s;
    pointer-events: auto;
    position: relative;
}

.slider__nav-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 30px;
    background: transparent;
    cursor: pointer;
}

.slider__nav-line--active {
    height: 5px;
    opacity: 1;
}

/* === COUNTDOWN TIMER === */
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.countdown__item {
    background: var(--main-grey);
    border-radius: var(--main-radius);
    min-width: 29px;
    min-height: 31px;
    width: 29px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--main-black);
    font-family: inherit;
    box-sizing: border-box;
}

.countdown__sep {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey-medium);
    margin: 0 2px;
    user-select: none;
    line-height: 1;
}

/* === CATEGORIES === */
.categories {
    margin-bottom: 100px;
}
    @media screen and (max-width: 800px) {
        .categories {
            margin-bottom: 60px;
        }
    }   

.categories .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 52px 20px;
}

@media screen and (max-width: 800px) {
    .categories .container {
        gap: 30px 20px;
    }
}

.categories__item {
    width: calc(25% - 15px);
    font-size: 15px;
    line-height: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 1000px) {
    .categories__item {
        width: calc(50% - 10px);
    }
}

.categories__item-link {
    width: 100%;
}

.categories .categories__item-icon {
    background: var(--main-grey);
    border-radius: 10px;
    height: 190px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categories .categories__item-icon img {
    width: auto;
    height: 70%;
    object-fit: contain;
    transition: all 0.3s;
}

.categories .categories__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s;
}

@media screen and (max-width: 800px) {
    .categories .categories__item-icon img {
        width: 80%;
        height: auto;
        max-height: 70%;
    }

    .categories .categories__item-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.categories .categories__item-icon:hover img {
    transform: scale(1.05);
}

.categories__item-title {
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
}

@media screen and (max-width: 1000px) {
    .categories__item-title {
        font-size: 14px;
    }
}

.categories__item-link:hover .categories__item-title {
    color: var(--main-orange);
}

/* === EQUIPMENT === */
.equipment {
    margin-bottom: 140px;
}
    @media screen and (max-width: 800px) {
        .equipment {
            margin-bottom: 60px;
        }
    }

.equipment .container {}

.equipment__title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 44px;
}

@media screen and (max-width: 800px) {
    .equipment__title {
        font-size: 30px;
        line-height: 36px;
    }
}

.equipment__content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 20px;
}

@media screen and (max-width: 1000px) {
    .equipment__content {
        gap: 14px 10px;
    }
}

.equipment__content-item {
    background: var(--grey-dark);
    border-radius: 10px;
    width: calc(16.66% - 17px);
    display: flex;
    align-items: flex-end;
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: var(--white);
    height: 280px;
    padding: 18px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s;
}

a.equipment__content-item {
    color: var(--white);
    text-decoration: none;
}

@media screen and (max-width: 1000px) {
    .equipment__content-item {
        width: calc(50% - 5px);
        height: 200px;
    }
}

.equipment__content-item:hover {
    transform: scale(1.05);
}

.equipment__content-item-1 {
    background-image: url(../img/equip-1.jpg);
}

.equipment__content-item-2 {
    background-image: url(../img/equip-2.jpg);
}

.equipment__content-item-3 {
    background-image: url(../img/equip-3.jpg);
}

.equipment__content-item-4 {
    background-image: url(../img/equip-4.jpg);
}

.equipment__content-item-5 {
    background-image: url(../img/equip-5.jpg);
}

.equipment__content-item-6 {
    background-image: url(../img/equip-6.jpg);
}

.equipment__content-item-7 {
    background-image: url(../img/equip-7.jpg);
}

.equipment__content-item-8 {
    background-image: url(../img/equip-8.jpg);
}

.equipment__content-item-9 {
    background-image: url(../img/equip-9.jpg);
}

.equipment__content-item-10 {
    background-image: url(../img/equip-10.jpg);
}

.equipment__content-item-11 {
    background-image: url(../img/equip-11.jpg);
}

.equipment__content-item-12 {
    background-image: url(../img/equip-12.jpg);
}

/* === PROCESS === */
.process {
    margin-bottom: 32px;
}

    @media (max-width: 800px) {
    .process {
        /* display: none; */
    }
        .process .container {
            padding: 0;
        }
    .page-front .process {
        display: block;
    }
}

.process .container {}

.process__img {
    width: 100%;
    height: auto;
}

/* === TENDER === */
.tender {
    margin-bottom: 100px;
}
    @media (max-width: 800px) {
    .tender {
        display: none;
    }
}

.tender .container {}

.tender__content {
    background: var(--main-black);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 16px;
}

.tender__content-item {}

a.tender__content-item-link {
    background: linear-gradient(0deg, #DF5931, #DF5931), #DF5931;
    border-radius: 10px;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    padding: 20px 32px;
    display: block;
    position: relative;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 800px) {
    a.tender__content-item-link {
        font-size: 16px;
        padding: 16px 16px;
    }
}

a.tender__content-item-link::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    margin-right: 16px;
    flex-shrink: 0;
}

.tender__content-item--right {
    display: flex;
    align-items: center;
    gap: 10px 40px;
}

@media screen and (max-width: 800px) {
    .tender__content-item--right {
        gap: 10px 20px;
    }
}

.tender__logo {
    width: 150px;
    display: flex;
    align-items: center;
}

.tender__logo img {
    width: 100%;
    height: auto;
}

.tender__delimiter {
    width: 1px;
    height: 100%;
    background: var(--white);
}

.tender__text {
    font-size: 14px;
    line-height: 17px;
    color: var(--white);
    margin-right: 24px;
}

@media screen and (max-width: 800px) {
    .tender__text {
        font-size: 12px;
    }
}

/* === PRODUCTS === */
.products {
    margin-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 0;
}
    @media screen and (max-width: 800px) {
        .products {
            margin-bottom: 70px;
        }
    }
/* === PRODUCTS CAROUSEL === */
.products-carousel {
    position: relative;
}

.products-carousel .products__nav-next,
.products-carousel .products__nav-prev {
    width: auto;
    height: 18px;
    position: absolute;
    top: 150px;
    left: 12px;
    z-index: 2;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
}

.products-carousel .products__nav-next {
    transform: rotate(180deg);
    left: auto;
    right: 12px;
}

.products-carousel .products__nav-next:hover,
.products-carousel .products__nav-prev:hover {
    opacity: 1;
}

.products-carousel .products {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    margin: 0 30px;
}

/* === / PRODUCTS CAROUSEL === */
.products__item {
    width: 25%;
    min-width: 25%;
}

@media screen and (max-width: 1000px) {
    .products__item {
        width: calc(50% - 5px);
        min-width: calc(50% - 5px);
    }
}

@media screen and (max-width: 600px) {
    .products__item {
        width: 100%;
        min-width: 100%;
    }
}

.products__item-wrapper {
    margin: 0 12px;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s;
}

.products__item:hover .products__item-wrapper {
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.07);
}
    @media screen and (max-width: 800px) {
        .products__item:hover .products__item-wrapper {
            box-shadow: none;
        }
    }

.products__item:hover .products__item-favorites {
    opacity: 1;
}

.products__item:hover .products__item-compare {
    opacity: 1;
}

.products__item-image {
    position: relative;
}

.products__item-image a {
    cursor: pointer;
    height: 230px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.products__item-image img {
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    max-width: 95%;
    max-height: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.products__item-image .products__item-img {
    display: none;
}

.products__item-image .products__item-img:first-child {
    display: block;
}

.products__item-code {
    font-size: 14px;
    color: var(--grey-medium);
}

.products__item-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 16px;
}
    @media screen and (max-width: 800px) {
        .products__item-title {
            font-size: 16px;
            line-height: 20px;
            margin-bottom: 8px;
        }
    }

.products__specs {
    margin-bottom: 16px;
}

.products__spec {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    line-height: 18px;
    position: relative;
}
    @media screen and (max-width: 800px) {
        .products-grid .products__spec {
            font-size: 13px;
            line-height: 16px;
            flex-direction: column;
            margin-bottom: 4px;
        }
        .products__item-wrapper {
            padding: 0;
        }
        .products__spec {
            font-size: 13px;
            line-height: 16px;
        }
    }
.products__spec::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px dotted var(--grey-medium);
    z-index: -1;
}

.products__spec-name {
    color: var(--grey-medium);
    background: var(--white);
    padding-right: 2px;
}

.products__spec-value {
    color: var(--main-black);
    background: var(--white);
    padding-left: 2px;
}
    @media screen and (max-width: 800px) {
        .products__spec-value {
            padding-left: 0;
        }
    }

.products__item-price {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 27px;
    font-weight: 700;
}
    @media screen and (max-width: 800px) {
        .products__item-price {
            font-size: 18px;
            line-height: 22px;
        }
    }

.products__item-price span {
    margin-left: 12px;
    font-size: 14px;
    line-height: 17px;
    color: var(--grey-dark);
    font-weight: 400;
    text-decoration: line-through;
}

.products__item-buy {
    display: flex;
    gap: 8px;
}

.products__item-buy-link {
    display: block;
    width: 58px;
    height: 38px;
    background: linear-gradient(85.88deg, rgba(153, 19, 0, 0.2) 0%, rgba(223, 89, 49, 0.2) 71.49%, rgba(248, 165, 48, 0.2) 93.31%), var(--main-orange);
    border-radius: var(--main-radius);
    background-image: url(../img/ico_buy.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px auto;
}

.products__item-favorites {
    display: block;
    width: 58px;
    height: 38px;
    background: #fff;
    border-radius: var(--main-radius);
    background-image: url(../img/ico_favorites.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px auto;
    opacity: 0;
    transition: all 0.3s;
}

@media screen and (max-width: 800px) {
    .products__item-favorites {
        opacity: 1;
    }
}

.products__item-favorites:hover {
    background-color: var(--main-grey);
}

.products__item-compare {
    display: block;
    width: 58px;
    height: 38px;
    background: #fff;
    border-radius: var(--main-radius);
    background-image: url(../img/ico_compare.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px auto;
    opacity: 0;
    transition: all 0.3s;
}

@media screen and (max-width: 800px) {
    .products__item-compare {
        opacity: 1;
        display: none;
    }
}

.products__item-compare:hover {
    background-color: var(--main-grey);
}

.products__item-slider-nav {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5px;
    margin-bottom: 28px;
    width: 100%;
}

@media screen and (max-width: 800px) {
    .products-carousel .products__item-slider-nav {
        display: none;
    }
}

.products__item-slider-line {
    height: 1px;
    background: var(--grey-medium);
    flex: 1 1 0;
    transition: all 0.2s;
    opacity: 0.3;
    min-width: 0;
}

.products__item-slider-line.active {
    background: var(--main-black);
    opacity: 1;
}

.products__item-image:focus {
    outline: none;
}

/* popup tooltip */
.products__icon-tooltip-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products__icon-tooltip {
    opacity: 0;
    position: absolute;
    left: 50%;
    bottom: -35px;
    transform: translateX(-50%);
    background: var(--main-black);
    color: var(--white);
    font-size: 13px;
    padding: 2px 12px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 10;
    font-weight: 400;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.products__icon-tooltip::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 7px 8px;
    border-style: solid;
    border-color: transparent transparent var(--main-black) transparent;
    width: 0;
    height: 0;
    display: block;
}

.products__icon-tooltip-wrapper:hover .products__icon-tooltip {
    opacity: 1;
    pointer-events: auto;
}

/* top labels container */
.products__item-labels {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    align-items: flex-end;
}

/* top labels */
.products__item-label {
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    padding: 1px 7px;
    letter-spacing: 0.02em;
}

.products__item-label--hit {
    background: #FF5722;
}

.products__item-label--new {
    background: #83C971;
}

.products__item-label--sale {
    background: #71B5C9;
}

.products__item-label--used {
    background: #666;
    color: #fff;
}

/* === VIEWED BEFORE === */
.viewed-before {
    margin-bottom: 92px;
}
    @media screen and (max-width: 800px) {
        .viewed-before {
            margin-bottom: 50px;
        }
    }

.viewed-before__title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 56px 0;
}

@media screen and (max-width: 800px) {
    .viewed-before__title {
        font-size: 30px;
        line-height: 36px;
    }
}


/* === TABS === */
.tabs {}

.tabs .container {}

.tabs__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.tabs__show-all {
    font-size: 14px;
    color: var(--main-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.tabs__show-all:hover {
    color: var(--main-black);
}

.tabs__nav {
    display: inline-flex;
    background: var(--main-grey);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.tabs__nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--main-black);
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 0;
}

.tabs__nav-item {
    padding: 12px 24px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

@media screen and (max-width: 800px) {
    .tabs__nav-item {
        padding: 10px 14px;
    }
}

.tabs__nav-item--active {
    color: var(--white);
    font-weight: 700;
}

.tabs__nav.initialized .tabs__nav-item--active~.indicator {
    opacity: 1;
}

.tabs__nav .indicator {
    position: absolute;
    background: var(--main-black);
    border-radius: 10px;
    z-index: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.tabs__content {
    position: relative;
    padding-top: 4px;
}

.tabs__content-item {
    display: none;
}

.tabs__content-item--active {
    display: block;
}

/* === / TABS === */

.products-tabs {
    margin-bottom: 36px;
}

.news-tabs .tabs__content {
    padding-top: 42px;
}

.news-tabs .tabs__nav-item {
    color: var(--main-black);
    text-decoration: none;
}

.news-tabs .tabs__nav-item--active {
    background: var(--main-black);
    border-radius: 10px;
    color: var(--white);
    font-weight: 700;
}

.news-tabs__tab-intro {
    margin: 0 0 40px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.news-tabs .brand-categories {
    padding: 0 0 30px 0;
}

/* === NEWS AND SUBSCRIBE === */
.news-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 60px;
}

.news-search__title {
    margin: 0 0 20px 0;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.news-search__field {
    flex: 1;
    position: relative;
    max-width: 334px;
}

.news-social-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.news-social-links__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-search__social {
    flex-shrink: 0;
}

.news-social-links__link {
    display: inline-flex;
    width: 24px;
    height: 24px;
}

.news-social-links__link img {
    width: 24px;
    height: 24px;
    display: block;
}

@media screen and (max-width: 800px) {
    .news-search {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-search__title {
        font-size: 28px;
    }

    .news-search__field {
        width: 100%;
        max-width: none;
    }
}

.news-search__input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    background-image: url(../img/search.png);
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px auto;
}

.news-search__input:focus {
    border-color: #DF5931;
}

.news-search__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 20;
    margin-top: 4px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    max-height: 360px;
    overflow-y: auto;
}

.news-search__item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #F1F1F1;
}

.news-search__item:last-child {
    border-bottom: none;
}

.news-search__item:hover {
    background-color: #F7F7F7;
}

.news-search__item-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.news-search__item-title {
    font-size: 14px;
    font-weight: 500;
}

.news-search__empty,
.news-search__loading {
    padding: 10px 14px;
    font-size: 14px;
    color: #666;
}

.news-and-subscribe {
    margin-bottom: 100px;
}
    @media screen and (max-width: 800px) {
        .news-and-subscribe {
            margin-bottom: 50px;
        }
    }

.news-and-subscribe .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

@media screen and (max-width: 1000px) {
    .news-and-subscribe .container {
        flex-direction: column;
    }
}

.news-and-subscribe__news {
    flex: 1;
    margin-right: 30px;
}

.page-news .news-and-subscribe__news {
    margin-right: 0;
}

.news-and-subscribe__subscribe {
    width: 349px;
    padding-top: 40px;;
}

@media screen and (max-width: 800px) {
    .news-and-subscribe__subscribe {
        width: 100%;
    }
}

/* === NEWS === */
.newsblock {
    display: flex;
    flex-wrap: wrap;
    gap: 56px 0;
}

.newsblock__item {
    width: 28%;
    margin-right: 5.3333%;
    font-size: 14px;
}

@media screen and (max-width: 800px) {
    .newsblock__item {
        width: 100%;
        margin-right: 0;
    }
}

.newsblock__item-date {
    font-size: 14px;
    line-height: 17px;
    color: var(--grey-medium);
    margin-bottom: 10px;
}

.newsblock__item-reading-time {
    margin-left: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.newsblock__item-date:not(.news__header-date-line) {
    display: flex;
    align-items: center;
    gap: 16px;
}

.newsblock__item-reading-time::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.35em;
    vertical-align: middle;
    background: url(../img/clock.png) no-repeat center;
    background-size: contain;
    opacity: 0.5;
}

@media screen and (max-width: 800px) {
    .newsblock__item-date {
        margin-bottom: 5px;
    }
}

.news__header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.news__hero {
    display: flex;
    align-items: flex-start;
    gap: 52px;
    margin-bottom: 24px;
}

.news__hero-media {
    flex: 0 0 40%;
    max-width: 40%;
}

.news__hero .news__image {
    margin: 0;
}

.news__hero .news__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.news__hero-content {
    flex: 1;
    min-width: 0;
}

.news__hero-content .page-title {
    margin-top: 0;
}

.news__hero--no-image .news__hero-content {
    width: 100%;
}

.news__header-meta .newsblock__item-date {
    margin-bottom: 0;
}

.news__header-meta .news__header-date-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.news__header-meta .news__header-date-line .newsblock__item-reading-time {
    margin-left: 0;
}

.news__header-meta .share-dropdown {
    left: auto;
    right: 0;
}

/* На мобильных скрываем текст "Поделиться", оставляя только иконку */
@media screen and (max-width: 1024px) {
    .news__hero {
        flex-direction: column;
        gap: 16px;
    }

    .news__hero-media {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .news__header-meta .share-dropdown-wrapper .action-button--share {
        font-size: 0;
        display: block;
    }
}

/* Содержание статьи (оглавление по h3) */
.news__toc {
    margin-bottom: 32px;
    padding: 20px 24px;
    background: #f8f8f8;
    border-radius: 8px;
}

.news__toc-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--main-black, #222);
}

.news__toc-list {
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
}

.news__toc-list li {
    margin-bottom: 8px;
}

.news__toc-list li:last-child {
    margin-bottom: 0;
}

.news__toc-link {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
}

.news__toc-link:hover {
    color: #DF5931;
    text-decoration: underline;
}

.news__content a {
    color: var(--main-orange);
}

/* Прокрутка с учётом фиксированной шапки при переходе по якорю */
.news__content h3[id] {
    scroll-margin-top: 120px;
}

.news__downloads.product-detail__right-block--docs {
    margin-top: 32px;
    margin-bottom: 0;
    padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 0;
    padding-left: 0;
}

.newsblock__item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 130%;
}

@media screen and (max-width: 800px) {
    .newsblock__item-title {
    }
}

.newsblock__item-text {

    line-height: 17px;
}

.newsblock__item-image {
    display: block;
    position: relative;
    aspect-ratio: 2 / 1;
    background: var(--main-grey);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.newsblock__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* === Promo-style NEWS blocks (used on promo pages and product page) === */
.brand-news-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.brand-news-section__title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.product-related-news {
    margin-bottom: 60px;
}

.newsblock--grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 0;
}

.newsblock--grid .newsblock__item {
    width: 22%;
    margin-right: 4%;
    font-size: 14px;
}

.newsblock--grid .newsblock__item:nth-child(4n) {
    margin-right: 0;
}

@media (max-width: 1200px) {
    .newsblock--grid .newsblock__item {
        width: 30%;
        margin-right: 5%;
    }

    .newsblock--grid .newsblock__item:nth-child(4n) {
        margin-right: 5%;
    }

    .newsblock--grid .newsblock__item:nth-child(3n) {
        margin-right: 0;
    }
}

@media (max-width: 800px) {
    .newsblock--grid .newsblock__item {
        width: 100%;
        margin-right: 0;
    }

    .brand-news-section {
        margin-top: 40px;
        padding-top: 30px;
    }

    .brand-news-section__title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.newsblock--grid .newsblock__item-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 15px;
}

.newsblock--grid .newsblock__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsblock--grid .newsblock__item-date {
    font-size: 14px;
    line-height: 17px;
    color: var(--grey-medium, #999);
    margin-bottom: 10px;
}

.newsblock--grid .newsblock__item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 130%;
}

.newsblock--grid .newsblock__item-title a {
    color: #333;
    text-decoration: none;
}

.newsblock--grid .newsblock__item-text {
    font-size: 14px;
    color: #666;
    line-height: 17px;
}

.newsblock__item-labels {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    align-items: flex-end;
}

.newsblock__item-label {
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    padding: 1px 7px;
    letter-spacing: 0.02em;
    background: #666;
}

/* === / NEWS === */

.news__related-products {
    margin-top: 60px;
    margin-bottom: 0;
}

.news__wide-banner-row {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-top: 30px;
}

.news__wide-banner-main {
    flex: 1;
    min-width: 0;
}

.news__wide-banner-main .wide-banner {
    max-width: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.news__wide-banner-social {
    width: 349px;
    flex-shrink: 0;
    display: flex;
}

.news__wide-banner-social .news-and-subscribe__subscribe-social {
    width: 100%;
    height: 100%;
    margin-top: 0;
}

@media (max-width: 1000px) {
    .news__wide-banner-row {
        flex-direction: column;
    }

    .news__wide-banner-social {
        width: 100%;
        padding-top: 0;
    }

    .news__wide-banner-social .news-and-subscribe__subscribe-social {
        height: auto;
    }
}

.news__also-read {
    margin-top: 60px;
}

.news__also-read .news-and-subscribe {
    margin-bottom: 0;
}

.news__also-read .news-and-subscribe__news {
    margin-right: 0;
}

.news__also-read .newsblock--grid .newsblock__item {
    width: 30%;
    margin-right: 5%;
}

.news__also-read .newsblock--grid .newsblock__item:nth-child(3n) {
    margin-right: 0;
}

@media (max-width: 800px) {
    .news__also-read .newsblock--grid .newsblock__item {
        width: 100%;
        margin-right: 0;
    }
}

/* === NEWS AND SUBSCRIBE SUBSCRIBE === */
.news-and-subscribe__subscribe-form {
    padding: 52px 30px;
    background: var(--main-grey);
    border-radius: 20px;
}

.news-and-subscribe__subscribe-form h2 {
    font-size: 22px;
    line-height: 27px;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.news-and-subscribe__subscribe-form form {}

.news-and-subscribe__subscribe-form form input[type="email"] {
    width: 100%;
    padding: 17px 20px;
    border-radius: var(--main-radius);
    border: none;
    background: var(--white);
    font-size: 14px;
}

.news-and-subscribe__subscribe-form .form-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 44px;
    margin-top: 28px;
}

.news-and-subscribe__subscribe-form .form-checkbox input[type="checkbox"] {}

.news-and-subscribe__subscribe-form .form-checkbox label {
    color: var(--grey-medium);
    font-size: 12px;
    line-height: 15px;
}

.news-and-subscribe__subscribe-form form button {
    background: var(--main-orange) url(../img/ico_subscribe.png) no-repeat calc(50% - 55px) 50%;
    background-size: 21px auto;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    padding: 15px 24px 15px 54px;
    border-radius: var(--main-radius);
    border: none;
    cursor: pointer;
    width: 100%;
}

.news-and-subscribe__subscribe-social {
    border: 1px solid #D0D0D0;
    border-radius: 20px;
    padding: 35px 0 45px 0;
}

.news-and-subscribe__subscribe-social .news-social-links-wrapper {
    text-align: center;
}

.news-and-subscribe__subscribe-social .news-social-links {
    justify-content: center;
}

/* === / NEWS AND SUBSCRIBE SUBSCRIBE === */

/* === CERTIFICATES === */
.certificates {
    margin-bottom: 100px;
}
    @media screen and (max-width: 800px) {
        .certificates {
            margin-bottom: 50px;
        }
    }

.certificates .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
}

@media screen and (max-width: 1000px) {
    .certificates .container {
        flex-direction: column;
    }
}

.certificates__feedback {
    width: 299px;
    position: relative;
}

@media screen and (max-width: 800px) {
    .certificates__feedback {
        width: 100%;
    }
}

.feedback__image {
    height: 284px;
    object-fit: cover;
    margin-bottom: 24px;
    position: relative;
}

.feedback__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 64.96%, rgba(0, 0, 0, 0.5) 95.12%);
    border-radius: 10px;
}

.feedback__image img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.feedback__info {
    position: absolute;
    top: 224px;
    left: 20px;
    z-index: 1;
}

.feedback__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: var(--white);
}

.feedback__position {
    font-size: 14px;
    color: var(--white);
}

.feedback__text {
    font-size: 14px;
    margin-bottom: 16px;
    font-style: italic;
}

.feedback__link {
    font-size: 14px;
    text-decoration: underline;
    display: inline-block;
    color: var(--grey-medium);
    background: url(../img/bigarrow.png) no-repeat 100% 50%;
    padding-right: 52px;
    background-size: 40px auto;
}

.certificates__certs {
    flex: 1;
}

.certificates__certs-slider {
    display: flex;
    align-items: center;
    gap: 35px;
}

.certificates__certs-slider-nav-left {}

.certificates__certs-slider-nav-left img {
    width: auto;
    height: 18px;
    cursor: pointer;
}

.certificates__certs-slider-nav-right {
    transform: rotate(180deg);
}

.certificates__certs-slider-nav-right img {
    width: auto;
    height: 18px;
    cursor: pointer;
}

.certificates__certs-slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.certificates__certs-slider-item {
    min-width: 25%;
    width: 25%;
    padding: 10px 0;
}

@media screen and (max-width: 800px) {
    .certificates__certs-slider-item {
        min-width: 50%;
        width: 50%;
    }
}

@media screen and (max-width: 500px) {
    .certificates__certs-slider-item {
        min-width: 100%;
        width: 100%;
    }
}

.certificates__certs-slider-item img {
    width: 80%;
    height: auto;
    object-fit: cover;
    padding: 10px;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* === / CERTIFICATES === */


/* === PROFITABLE KIT === */
.profitable-kit {
    margin-bottom: 100px;
}
    @media screen and (max-width: 800px) {
        .page-front .profitable-kit {
            display: none;
        }
    }

.profitable-kit__title {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
    margin: 0 0 32px 0;
}

@media screen and (max-width: 800px) {
    .profitable-kit__title {
        font-size: 30px;
        line-height: 36px;
    }
}

.profitable-kit__container {
    display: flex;
    flex-wrap: wrap;
    border-radius: 20px;
    overflow: hidden;
}

@media screen and (max-width: 950px) {
    .profitable-kit__container {
        flex-direction: column;
    }
}

.profitable-kit__left {
    flex: 1;
    background: var(--main-grey);
    display: grid;
    grid-template-columns: 1fr 90px 1fr 90px 1fr;
    padding: 45px 45px 20px 45px;
}

@media screen and (max-width: 800px) {
    .profitable-kit__left {
        display: flex;
        flex-wrap: wrap;
        padding: 20px 20px 20px 20px;
    }
}

.wide {}

.wide a {
    display: block;
}

.wide__item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--white);
    aspect-ratio: 1/1;
    border-radius: 10px;
    margin-bottom: 22px;
}

@media screen and (max-width: 800px) {
    .wide__item-image {
        width: 40%;
        height: auto;
        float: left;
        margin: 0 20px 0 0;
    }
}

.wide__item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.wide__item-title {}

.wide__item-price {
    font-size: 22px;
    line-height: 27px;
    font-weight: 700;
}

.narrow {
    background: url(../img/profitable.png) no-repeat 50% 25%;
    background-size: auto 213px;
}

@media screen and (max-width: 800px) {
    .narrow {
        height: 40px;
        width: 100%;
        background-position: 18% 50%;
        clear: both;
    }
}

.profitable-kit__right {
    width: 349px;
    background: linear-gradient(126.28deg, #D34D29 0%, #E36631 100%);
    color: var(--white);
    position: relative;
}

@media screen and (max-width: 950px) {
    .profitable-kit__right {
        width: 100%;
    }
}

.profitable-kit__right::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 56px;
    width: 20px;
    height: 20px;
    background: #D34D29;
    transform: translateY(-50%) rotate(45deg);
}

.profitable-kit__right h3 {
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
    margin: 42px 50px 19px 50px;
}

@media screen and (max-width: 950px) {
    .profitable-kit__right h3 {
        margin-left: 20px;
    }
}

.profitable-kit__right-item {
    font-size: 14px;
    line-height: 17px;
    margin: 0 50px 0 50px;
}

@media screen and (max-width: 950px) {
    .profitable-kit__right-item {
        margin-left: 20px;
    }
}

.profitable-kit__oldprice {
    margin: 83px 50px 6px 50px;
    font-size: 14px;
    line-height: 17px;
    text-decoration: line-through;
}

@media screen and (max-width: 950px) {
    .profitable-kit__oldprice {
        margin-left: 20px;
    }
}

.profitable-kit__newprice {
    margin: 0 50px 19px 50px;
    font-size: 26px;
    line-height: 32px;
    font-weight: 700;
}

@media screen and (max-width: 950px) {
    .profitable-kit__newprice {
        margin-left: 20px;
    }
}

.profitable-kit__btn {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    margin: 0 50px 30px 50px;
    padding: 11px 58px 11px 88px;
    background: var(--white);
    background-image: url(../img/ico_cart.svg);
    background-size: 18px auto;
    background-repeat: no-repeat;
    background-position: 58px 50%;
    color: var(--main-black);
    border-radius: var(--main-radius);
    cursor: pointer;
}

@media screen and (max-width: 950px) {
    .profitable-kit__btn {
        margin-left: 20px;
    }
}

/* === TRUST === */
.trust {
    margin-bottom: 76px;
}

.trust .container {}

.trust__title {
    font-size: 24px;
    line-height: 48px;
    font-weight: 700;
    margin: 40px 0 12px 0;
}

@media screen and (max-width: 800px) {
    .trust__title {
        font-size: 30px;
        line-height: 36px;
        margin: 28px 0 10px 0;
    }
}

.trust__item {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid #d0d0d0;
    padding: 32px 0;
}

@media screen and (max-width: 800px) {
    .trust__item {
        flex-direction: column;
    }
}

.trust__item-title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    width: 200px;
}

@media screen and (max-width: 800px) {
    .trust__item-title {
        font-size: 23px;
        line-height: 28px;
    }
}

.trust__item-logos {
    display: flex;
    gap: 20px 50px;
    flex: 1;
    overflow-x: scroll;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

@media screen and (max-width: 800px) {
    .trust__item-logos {
        width: 100%;
    }
}

.trust__item-logos::-webkit-scrollbar {
    display: none;
    /* Safari и Chrome */
}

.trust__item-logo {
    width: auto;
    height: 35px;
    object-fit: contain;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.trust__item-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.trust__item-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 800px) {
    .trust__item-link {
        display: none;
    }
}

img.trust__item-link-arrow {
    transform: rotate(180deg);
    width: auto;
    height: 18px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
}

.trust__item-link:hover img.trust__item-link-arrow {
    opacity: 1;
}

/* === / TRUST === */

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    font-size: 12px;
    color: var(--grey-medium);
    margin: 32px 0 16px 0;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0 8px;
}

.breadcrumbs__item {
    position: relative;
}

.breadcrumbs__item a {
    color: var(--grey-medium);
    text-decoration: underline;
}

.breadcrumbs__item:not(:last-child)::after {
    content: '/';
    margin-left: 5px;
}
@media screen and (max-width: 800px) {
    .breadcrumbs__item:first-child {display: none;}
    .breadcrumbs__item:not(:last-child)::after {
        content: '→';
    }
}

.breadcrumbs__link {
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs__link:hover {
    color: var(--main-orange);
}

.breadcrumbs__text {}

@media screen and (max-width: 800px) {
    .breadcrumbs {
        margin: 4px 0 8px 0;
    }
        .breadcrumbs__text {display: none;}
}

/* ===== / BREADCRUMBS ===== */

/* ===== PRODUCT GALLERY ===== */
.product-detail__gallery {
    position: relative;
}

/* Product detail labels (left side) */
.product-detail__labels {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
    align-items: flex-start;
}

.product-detail__label {
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    padding: 3px 10px;
    letter-spacing: 0.02em;
    font-weight: 500;
}

.product-detail__label--hit {
    background: #FF5722;
}

.product-detail__label--new {
    background: #83C971;
}

.product-detail__label--sale {
    background: #71B5C9;
}

.product-detail__label--used {
    background: #666;
    color: #fff;
}

.product-detail__image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: var(--main-grey); */
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-detail__image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.product-detail__thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.product-detail__thumbnail {
    min-width: 64px;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 1px solid var(--grey-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail__thumbnail:hover {
    opacity: 0.8;
}

.product-detail__thumbnail.active {
    opacity: 1;
}

.product-detail__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-detail__thumbnail:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 800px) {
    .product-detail__image {
        height: 300px;
    }

    .product-detail__thumbnail {
        min-width: 60px;
        width: 60px;
        height: 60px;
    }
}

.product-detail__thumbnail--video {
    background-color: #1a1a1a;
    color: #fff;
    flex-direction: column;
    gap: 4px;
}

.product-detail__thumbnail-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px;
}

.product-detail__thumbnail-play svg {
    display: block;
    flex-shrink: 0;
}

.product-detail__thumbnail-play span {
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
    max-width: 56px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-detail__thumbnail--video:hover {
    background-color: #333;
}

/* ===== / PRODUCT GALLERY ===== */