@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-text: #222;
    --color-bg-body: #fff;
    --color-link: var(--color-text);
    --radius-main: 30px;
    --transition: 0.3s ease;
    --font-main: 'Roboto', sans-serif;
    --fs-body: 1rem; /* 16px */
    --lh-body: 1.5;
    --fs-h1: 1.625rem; /* ~26px */
    --fs-h2: 1.375rem; /* ~22px */
    --fs-h3: 1.125rem; /* ~18px */
    --space-base: 1.25rem;
    --color-primary: #ED9C39;
    --color-primary-light: #EDCDA5;
    --color-secondary: #6699CC;
    --color-secondary-hover: #1d4ed8;
    --fs-contacts: 1.188rem; /* 19 */
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    font-weight: 300;
    color: var(--color-text);
    min-width: 360px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: url("/img/bg_site.webp");
    background-color: #A0E1FD;
    background-size: cover;
    background-attachment: fixed;
}

/* Главные размеры */

/* 1 Ступень */
body {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 2 */
@media (max-width: 1499.99px) {
    body {
        max-width: 1200px;
    }
}

/* 3 */
@media (max-width: 1219.99px) {
    body {
        max-width: 1000px;
    }
}

/* 4 */
@media (max-width: 1023.99px) {
    body {
        max-width: 760px;
    }
}

/* 5 */
@media (max-width: 768px) {
    body {
        max-width: 100%;
    }
}

/* 3 */
@media (max-width: 1219.99px) {
    :root {
        --fs-body: 0.938rem; /* ~15px  */
        --fs-h1: 1.5rem; /* 24px */
        --fs-h2: 1.25rem; /* 20px */
        --fs-h3: 1.063rem; /* 17px */
        --fs-contacts: 1rem; /* 16px */
    }
}

/* 5 */
@media (max-width: 768px) {
    :root {
        --fs-body: 1rem; /* 16px*/
        --lh-body: 1.5;
        --fs-h1: 1.375rem; /* 22px */
        --fs-h2: 1.188rem; /* 19px */
        --fs-h3: 1rem; /* 16px */
        --space-base: 1rem;
    }
}


/* Главная сетка */

.grid-container {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-template-areas:
        "header header header"
        "left   main   right"
        "footer footer footer";
}

.header-block {
    grid-area: header;
}

.left-block {
    grid-area: left;
}

.main-block {
    grid-area: main;
    padding: 0 20px 0 20px;
    min-width: 0; /* Запрещает колонке 1fr растягиваться шире сетки */
}

.right-block {
    grid-area: right;
}

.footer-block {
    grid-area: footer;
}

/* 4 */
@media (max-width: 1023.99px) {
    .grid-container {
        grid-template-columns: 200px 1fr;
        grid-template-areas:
            "header  header"
            "left    main"
            "right   right"
            "footer  footer";
    }
}

/* 5 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "main"
            "left"
            "right"
            "footer";
    }
}

/* Базовые размеры */

/* Абзацы */
p {
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    margin-bottom: var(--space-base);
}

a {
    text-decoration: none;
    color: var(--color-link);
    transition: color var(--transition);
}

a img {
    border: 0;
}

h1, h2, h3 {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: calc(var(--space-base) * 0.75);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
    margin-top: 40px;
}

h3 {
    font-size: var(--fs-h3);
}

ul, ol {
    padding: 0;
    margin: 0 0 var(--space-base) 0;
    list-style: none;
}

.content-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: var(--space-base);
}

.content-text ol {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-bottom: var(--space-base);
}

.content-text li {
    margin-bottom: 0.5rem;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
}

.header-block {
    display: grid;
    grid-template-columns: 200px 1fr 500px 200px;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.header_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header_logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.header-mobile {
    display: none;
}


/* Адаптивная шапка */

/* 2 */
@media (max-width: 1499.99px) {
    .header-block {
        grid-template-columns: 200px 1fr 400px 200px;
    }
}

/* 3 */
@media (max-width: 1219.99px) {

    .header-block {
        grid-template-columns: 180px 1fr 270px auto;
    }
}

/* 4 */
@media (max-width: 1023.99px) {

    .header-block {
        grid-template-columns: 150px 1fr auto;
    }

    .header-block .header-search {
        display: none;
    }
}

/* 5 */
@media (max-width: 768px) {

    .header_logo,
    .header-block > .header-search,
    .header-contacts,
    .header-basket {
        display: none !important;
    }

    .header-block {
        display: block !important;
        padding: 0 !important;
    }

    .header-mobile {
        display: flex;
        align-items: center;
        background-color: #f59e0b;
        width: 100%;
        height: 50px;
        position: relative;
        z-index: 9999;
        gap: 4px;
    }

    .m-spacer {
        flex-grow: 1;
    }

    .header-mobile .m-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: none;
        cursor: pointer;
        padding: 0;
        font-size: 20px;
        color: #000;
        text-decoration: none;
    }

    /* Бургер */
    /* Контейнер кнопки */
    .header-mobile .m-burger {
        position: relative;
        background-color: transparent;
        background-image: linear-gradient(#000, #000);
        background-size: 32px 3px;
        background-repeat: no-repeat;
        background-position: center;
        transition: background-size 0.3s ease;
    }

    .header-mobile .m-burger::before,
    .header-mobile .m-burger::after {
        content: "";
        position: absolute;
        left: 9px;
        width: 32px;
        height: 3px;
        background-color: #000;
        transition: transform 0.3s ease, top 0.3s ease;
    }

    .header-mobile .m-burger::before {
        top: 14px;
    }

    .header-mobile .m-burger::after {
        top: 32px;
    }

    .header-mobile .m-burger.header_mobile_menu_opened {
        background-size: 0 3px;
    }

    .header-mobile .m-burger.header_mobile_menu_opened::before {
        top: 23px;
        transform: rotate(45deg);
    }

    .header-mobile .m-burger.header_mobile_menu_opened::after {
        top: 23px;
        transform: rotate(-45deg);
    }

    .header-mobile .m-home {
        background-image: url("/img/header_mobile_home.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40px 40px;
    }

    .header-mobile .m-phone {
        background-image: url("/img/header_mobile_phone.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40px 40px;
    }

    .header-mobile .m-search {
        background-image: url("/img/header_mobile_search.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40px 40px;
    }

    .header-mobile .m-cart {
        background-image: url("/img/header_mobile_basket.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 40px 40px;
    }

}

@media (max-width: 768px) {

    body.sidebar_open {
        overflow: hidden;
    }

    .left-block {
        width: 240px;
        background-color: #fffbef;
        position: fixed;
        top: 50px;
        left: 0;
        height: calc(100vh - 50px);
        max-height: calc(100vh - 50px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 20px;
        box-sizing: border-box;
        border-radius: 0 !important;
        z-index: 9998;
        transform: translate3d(-240px, 0, 0);
        transition: transform 500ms ease;
    }

    body.sidebar_open .left-block {
        transform: translate3d(0, 0, 0);
    }

    .mobile-menu-only {
        display: block !important;
    }

    .sidebar-overlay {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: calc(100vh - 50px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9997;
        opacity: 0;
        pointer-events: none;
        transition: opacity 500ms ease;
    }

    body.sidebar_open .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .main-block {
        padding: 15px 20px 0 20px;
    }
}

input[type="text"],
input[type="search"],
input[type="tel"],
input[type="email"],
input[type="password"],
textarea,
select {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: normal;
    color: var(--color-text);
    background-color: #fff;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    height: auto;
    min-height: 120px;
    padding: 12px 16px;
    resize: vertical;
}

select {
    cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-link);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

::placeholder {
    color: #999;
    opacity: 1;
}

.form-group {
    margin-bottom: var(--space-base);
}

input[type="text"],
input[type="search"],
input[type="tel"],
input[type="email"],
input[type="password"],
select {
    height: 42px;
}

@media (max-width: 1023.99px) {

    input[type="text"],
    input[type="search"],
    input[type="tel"],
    input[type="email"],
    input[type="password"],
    select {
        height: 48px;
    }
}

.text-center {
    text-align: center;
}

.content_text p,
#product_text p,
.page_text p,
#catalog-text p {
    margin-bottom: 16px;
}

.bld {
    font-weight: bold;
}

.ul_1 {
    list-style: disc;
    padding: 0 0 18px 14px;
}

.ul_1 li {
    padding: 0 0 2px 0;
}

#catalog-text ul,
#product_text ul,
.product-text ul {
    list-style: disc;
    padding: 0 0 18px 14px;
}

#catalog-text ul li,
#product_text ul li {
    padding: 0 0 2px 0;
}

.ul_2 {
    list-style: disc;
    padding: 0 0 0 14px;
}

.ul_2 li {
    padding: 6px 0;
}

.ul_3 {
    list-style: disc;
    padding: 0 0 0 14px;
    margin-bottom: 20px;
}

.ul_3 li {
    margin-bottom: 8px;
}

.ol_1 {
    padding: 0 0 0 20px;
    list-style: decimal;
}

.ol_1 li {
    padding: 6px 0;
}

.no_select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* фон тела */

.left-block {
    background-color: #fff;
    border-top-left-radius: var(--radius-main);
}

.main-block {
    background-color: #fff;
}

.right-block {
    background-color: #fff;
    border-top-right-radius: var(--radius-main);
}

@media (max-width: 768px) {
    .right-block {
        border-top-right-radius: 0;
    }

    .right-block .button-1 {
        display: flex;
        margin: 20px auto;
    }
}

/* Левое меню */

.mobile-menu-only {
    display: none;
}

.category-list {
    padding: 0;
    margin: 30px 0 0 0;
    background-color: #f4f4f4;
}

.category-list > li {
    margin-bottom: 20px;
    list-style: none;
}

.category-list .head {
    display: flex;
    align-items: center;
    height: 40px;
    padding-left: 45px;
    position: relative;
    color: #000;
    background-image: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-top-left-radius: 10px;
}

.category-list .head:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.category-list > li > ul {
    margin-top: 10px;
    padding-left: 22px;
    list-style: disc;
}

.category-list > li > ul > li {
    margin-bottom: 6px;
}

.category-list a {
    color: #000;
    font-size: var(--fs-body);
    transition: color var(--transition), text-decoration var(--transition);
}

.category-list a:hover {
    text-decoration: underline;
}

.category-list .img1:before {
    background-image: url("/img/left_menu_1.svg");
}

.category-list .img2:before {
    background-image: url("/img/left_menu_2.svg");
}

.category-list .img3:before {
    background-image: url("/img/left_menu_3.svg");
}

.category-list .img4:before {
    background-image: url("/img/left_menu_4.svg");
}

.category-list .img5:before {
    background-image: url("/img/left_menu_5.svg");
}

.category-list .img6:before {
    background-image: url("/img/left_menu_6.svg");
}

@media (max-width: 768px) {
    .category-list {
        margin: 0 0 0 0;
    }
}

/* верхнее меню */

/* (Ступени 1 и 2 — в одну строку) */
.top-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    width: 100%;
    gap: 1px;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.top-menu li {
    flex: 1 1 auto;
    display: flex;
}

.top-menu li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background-color: #f59e0b;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    border-radius: 0;
    position: relative;
    z-index: 1;
    transition: color 300ms ease-in-out;
}

.top-menu li a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary-light) 100%);
    opacity: 0;
    transition: opacity 200ms ease-in-out;
}

.top-menu li a:hover::before {
    opacity: 1;
}


/* (Ступени 3, 4 и 5 — перенос кнопок) */
/*
@media (max-width: 1219.99px) {
    .top-menu {
        flex-wrap: wrap;
        gap: 10px;
        border-radius: 0;
        overflow: visible;
    }

    .top-menu li {
        flex: 0 1 auto;
    }

    .top-menu li a {
        height: 40px;
        padding: 0 16px;
        white-space: nowrap;
        border-radius: 8px;
    }
}
*/


/* (Ступень 3 — 1000px: всё ещё ровная единая полоска в 1 ряд) */
@media (max-width: 1219.99px) {
    .top-menu li a {
        height: 40px;
        padding: 0 4px; /* Было 10px — уменьшаем, чтобы не обрезало край */
        font-size: 0.875rem; /* 14px */
    }
}

/* (Ступень 4 — 760px: аккуратные 2 ряда на всю ширину без пустых дыр) */
@media (max-width: 1023.99px) {
    .top-menu {
        flex-wrap: wrap;
        gap: 2px;
        border-radius: 12px 12px 0 0;
    }

    .top-menu li {
        flex: 1 1 auto; /* Растягивает кнопки на всю ширину плашки */
    }

    .top-menu li a {
        height: 38px;
        padding: 0 12px;
        font-size: 0.938rem;
    }
}


@media (max-width: 768px) {
    .top-menu-container {
        display: none;
    }
}

@media (max-width: 1023.99px) {
    .main-block {
        border-top-right-radius: var(--radius-main);
    }
}

@media (max-width: 768px) {
    .main-block {
        border-top-right-radius: 0;
    }
}


/* контакты в шапке */

.header-contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    font-style: normal;
    text-align: right;
    gap: 4px;
}

.header-contacts .contact-row {
    font-size: var(--fs-contacts);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

.header-contacts a {
    color: var(--color-text);
    text-decoration: none;
}

/* Форма поиска */

.header-search {
    display: flex;
    width: 100%;
    height: 40px;
    gap: 0;
}

.header-search input {
    flex-grow: 1;
    padding: 0 15px;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    color: var(--color-text);
    background-color: #fff;
    outline: none;
    box-sizing: border-box;
}

.header-search .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: var(--color-secondary);
    color: #fff;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color var(--transition), color var(--transition);
}

.header-search .btn:hover {
    background-color: var(--color-secondary-hover);
}

.header-search input:focus {
    border-color: var(--color-secondary);
}

/* корзина */

.header-basket {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 52px;
    padding: 0 28px;
    background-color: var(--color-secondary);
    border-radius: 12px;
    text-decoration: none;
    justify-self: end;
    transition: background-color var(--transition);
}

.header-basket:hover {
    background-color: var(--color-secondary-hover);
}

/* Иконка тележки — сделали крупнее */
.header-basket .basket-icon {
    width: 26px;
    height: 26px;
    color: #fff;
    margin-right: 14px;
    flex-shrink: 0;
}

.header-basket .basket-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    line-height: 1.25;
}

.header-basket .basket-title {
    font-family: var(--font-main);
    font-size: 1.063rem;
    font-weight: 600;
    color: #fff;
}

.header-basket .basket-count {
    font-family: var(--font-main);
    font-size: 0.875rem; /* ~14px */
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

/* главная банер */

.promo-1 {
    margin-bottom: 30px;
}

.promo-1 img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

/* категории на главной */

/* Контейнер сетки каталога */
.promo-catalog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-base);
    margin-bottom: 40px;
}

/* Карточка товара */
.promo-catalog a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    min-width: 0;
}

.promo-catalog a img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 10px;
}

.promo-catalog a {
    justify-content: center;
}

.promo-catalog a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.1);
}

@media (max-width: 1219.99px) {
    .promo-catalog {
        gap: 16px;
    }
}

@media (max-width: 1023.99px) {
    .promo-catalog {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .promo-catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .promo-catalog a {
        padding: 15px 10px;
    }

    .promo-catalog a img {
        height: 90px;
    }

}


/* витрина товаров */

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-base);
    margin-bottom: 30px;
}

.product-list .item {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-list .item_link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px 15px;
    box-sizing: border-box;
    text-decoration: none;
}

.product-list .item-image {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.product-list .item-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product-list .item_name {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.3;
    color: #000;
    text-align: center;
    margin-bottom: 12px;
}

.product-list .item-commerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.product-list .price-old {
    font-family: var(--font-main);
    font-size: 0.875rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.product-list .price-sale {
    font-family: var(--font-main);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.product-list .item:hover {
    transform: translateY(-3px); /* Карточка изящно приподнимается */
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.15); /* Тень становится глубокой и сочной */
}

@media (max-width: 1499.99px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023.99px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-list .item_link {
        padding: 15px 10px;
    }

    .product-list .item-image {
        height: 140px;
    }
}

/* ссылки 1 */

.links-1 {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.links-1 a {
    padding: 5px 10px;
    background-color: var(--color-secondary);
    color: #FFF !important;
    margin: 0 10px 10px 0;
    border-radius: 10px;
    display: block;
    width: max-content;
}

.links-1 a:hover {
    background-color: #4580b7;
    transition: 400ms ease-in-out;
}

/* right sidebar */

.gray-bg {
    background-color: #f4f4f4;
    border-radius: 10px;
}

.right-sidebar-block-1 {
    margin-bottom: 40px;
}

.right-sidebar-block-1 .item {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: nowrap;
    padding: 10px;
}

.right-sidebar-block-1 .item img {
    width: 50px;
    height: 50px;
    margin: 5px 10px 0 0;
}

.right-sidebar-block-1 .header {
    color: #469BF0;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

/* бренды */

.right-sidebar-brands .head {
    font-size: 22px;
    text-align: center;
    padding: 0 0 8px 0;
    margin-bottom: 10px;
}

.right-sidebar-brands {
    text-align: center;
    margin-bottom: 20px;
}

.right-sidebar-brands .items {
    width: 140px;
    margin: 0 auto;
}

.right-sidebar-brands .items a {
    display: block;
    margin-bottom: 10px;
    border: 1px solid #CCC;
    width: 140px;
    height: 40px;
}

@media (max-width: 768px) {
    .right-sidebar-brands .items {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .right-sidebar-brands .items a {
        width: 100%;
        margin-bottom: 0;
        background-color: white;
        border: 0;
    }
}

/* новости */

.right_sidebar-news {
    padding: 10px;
    margin: 20px 0 20px 0;
}

.right_sidebar-news .item {
    margin-bottom: 15px;
}

.right_sidebar-news .date {
    color: #5d5d5d;
    display: block;
}

.right_sidebar-news a {
    color: #333399;
}

.right_sidebar-news .header {
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 20px;
}

/* статьи */

.right_sidebar-articles {
    padding: 10px;
}

.right_sidebar-articles a {
    color: #333399;
    display: block;
    margin-bottom: 15px;
}

.right_sidebar-articles .header {
    font-size: 18px;
    text-decoration: underline;
    margin-bottom: 20px;
}

/* хк */

.breadcrumbs {
    margin: 0 0 20px 0;
}

.breadcrumbs li {
    display: inline-block;
    color: #7a7a7a;
    vertical-align: middle;
}

.breadcrumbs a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.breadcrumbs li:not(:last-child)::after {
    content: "→";
    display: inline-block;
    margin: 0 8px;
    color: #7a7a7a;
    text-decoration: none;
}

/* продукт */

.product-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    width: 100%;
}


@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

}

.product-info .price-old {
    padding: 2px 0;
    text-decoration: line-through;
    color: #999;
}

.product-info .price-new {
    padding: 2px 0;
    color: #016AC9;
    font-size: 17px;
    font-weight: bold;
}

.product-info .price {
    color: #016AC9;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-info .price-sale {
    color: #016AC9;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 15px;
}

.product-info .product-availability {
    margin-bottom: 8px;
}

.product-info .available-1,
.product-info .available-2,
.product-info .available-3 {
    color: #009900;
    font-weight: bold;
}

.product-info .available-0,
.product-info .available-4 {
    color: #FF0000;
    font-weight: bold;
}

/* test */
.product-info .product_cart_add_result {
    display: block;
    margin: 14px 0 10px 0;
    width: max-content;
    padding: 10px 14px;
    background-color: #00a1ff;
    color: #FFF;
    border-radius: 8px;
    text-align: center;
}

.product-specs-list li {
    margin-bottom: 8px;
}

/* галерея */

.product-gallery {
    margin-bottom: 20px;
}

.product-gallery ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.product-gallery ul li {
    width: 32px;
    height: 32px;
    margin: 0 4px 4px 0;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
}

/* страниа бренды */

.page-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 620px;
    margin: 0 auto;
}

.page-brand a {
    display: block;
    width: 140px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.page-brand img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 8px auto 0;
}

/* пагинация */

.num-pages ul {
    display: flex;
    flex-wrap: wrap;
}

.num-pages li {
    padding: 5px;
}

.num-pages a,
.num-pages span {
    display: block;
    background-color: #A2D8FA;
    padding: 5px 8px;
    color: #000;
    border-radius: 5px;
}

.num-pages span {
    background-color: #3a89e8 !important;
    color: #FFF;
}

/* page about */

.page-about-sert {
    display: flex;
    flex-wrap: wrap;
}

.page-about-sert a {
    display: block;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    margin: 5px;
    width: 120px;
    height: 170px;
}

section,
.section {
    margin-bottom: 40px;
}

table {
    border-collapse: collapse;
}

td {
    border: 1px solid #CCC;
    padding: 5px;
}

@media (max-width: 1023.99px) {
    .table-container {
        overflow-x: scroll;
    }
}

.btn2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: transparent;
    padding: 6px 12px;
    margin-top: 10px;
    color: #333;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.btn2__icon {
    width: 16px;
    height: 16px;
    display: block;
}

.btn2:hover {
    color: #0066cc;
}

/* mobile header */

body.no-scroll {
    overflow: hidden;
    touch-action: none;
}

.hm-panel {
    display: none;
}

.header-mobile .m-btn {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.header-mobile {
    position: relative;
    z-index: 100;
}

@media (max-width: 768px) {

    .hm-panel {
        display: block;
        position: fixed;
        top: 48px;
        left: 0;
        width: 100%;
        z-index: 90;
        background: var(--color-primary);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        padding: 22px 16px 20px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, -16px, 0);
        transition: opacity 0.2s ease,
        transform 0.25s ease,
        visibility 0.2s;
    }

    .hm-panel.hm-panel-opened {
        z-index: 91;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: opacity 0.25s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0s;
    }

    .header-search {
        display: flex;
        gap: 8px;
        width: 100%;
    }

    .search-input-wrap {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
    }

    .search-icon {
        position: absolute;
        left: 12px;
        font-size: 15px;
        opacity: 0.5;
        pointer-events: none;
    }

    .header-search input {
        width: 100%;
        height: 44px;
        padding: 0 14px 0 38px;
        border: 1.5px solid #e5e7eb;
        border-radius: 12px;
        background: #f9fafb;
        font-size: 15px;
        color: #111827;
        outline: none;
        transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }

    .header-search input:focus {
        background: #ffffff;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    .btn-search {
        height: 44px;
        padding: 0 18px;
        border: none;
        border-radius: 12px;
        background: #2563eb;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.2s ease, transform 0.1s ease;
    }

    .btn-search:active {
        transform: scale(0.96);
        background: #1d4ed8;
    }

    .hm-panel-content {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hm-panel-card {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 14px;
        background: rgba(243, 244, 246, 0.75);
        border-radius: 12px;
    }

    .hm-panel-icon {
        font-size: 18px;
        line-height: 1.4;
    }

    .hm-panel-info {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .hm-panel-label {
        font-size: 11px;
        font-weight: 600;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .hm-panel-value {
        font-size: 14px;
        font-weight: 500;
        color: #111827;
    }

    .hm-panel-link {
        font-size: 15px;
        font-weight: 600;
        color: #2563eb;
        text-decoration: none;
    }
}

/* button-1 */

.button-1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    height: 45px;
    padding: 0 20px;
    border: none;
    border-radius: 12px;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    box-shadow: none;
    transition: background-color var(--transition), filter 0.2s ease, transform 0.1s ease;
}

.button-1:hover {
    color: #fff;
    filter: brightness(1.08);
}

.button-1:disabled,
.button-1.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.button-1--full {
    width: 100%;
}

.button-1--green {
    background-color: #177a47;
    background-image: linear-gradient(to bottom, #20965b 0%, #177a47 100%);
}

.button-1--green:hover {
    filter: brightness(1.15) saturate(1.05);
}

.button-1--secondary {
    background-color: var(--color-secondary);
}

.button-1--secondary:hover {
    filter: none;
    background-color: var(--color-secondary-hover);
}

.button-1--center {
    display: flex;
    margin: 0 auto;
}

.right-block .button-1 {
    display: flex;
    margin: 10px auto;
}

/* cart */

.cart-order-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: var(--lh-body);
}

.cart-order-table .item {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-bg-body);
    border: 1px solid #eceef2;
    border-radius: 20px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.cart-order-table .item:hover {
    border-color: #d8dce3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cart-order-table .item-img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 14px;
    padding: 6px;
    box-sizing: border-box;
    overflow: hidden;
}

.cart-order-table .item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.cart-order-table .info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-order-table .item-id {
    font-size: 0.75rem; /* 12px */
    color: #8c95a2;
    font-weight: 500;
}

.cart-order-table .item-title {
    font-size: var(--fs-body); /* 16px */
    font-weight: 500;
    color: var(--color-link);
    text-decoration: none;
    line-height: 1.35;
    transition: color var(--transition);
}

.cart-order-table .item-title:hover {
    color: var(--color-primary);
}

.cart-order-table .price {
    font-size: var(--fs-h3); /* 18px */
    font-weight: 700;
    color: var(--color-text);
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cart-order-table .count-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 120px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 14px;
    padding: 4px;
    box-sizing: border-box;
    user-select: none;
}

.cart-order-table .btn-count {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--color-bg-body);
    color: var(--color-text);
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: background var(--transition), transform 0.1s ease;
}

.cart-order-table .btn-count:hover {
    background: #e9ecef;
}

.cart-order-table .btn-count:active {
    transform: scale(0.94);
}

.cart-order-table .count-value {
    font-size: 0.9375rem; /* 15px */
    font-weight: 600;
    color: var(--color-text);
    font-variant-numeric: tabular-nums;
}

.cart-order-form {
    background: var(--color-bg-body);
    border: 1px solid #eceef2;
    border-radius: var(--radius-main);
    padding: 32px;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--color-text);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
}

.cart-order-form * {
    box-sizing: border-box;
}

.cart-order-form .form-main-title {
    margin: 0 0 var(--space-base) 0;
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--color-text);
}

.cart-order-form .form-section {
    padding-bottom: var(--space-base);
    margin-bottom: var(--space-base);
    border-bottom: 1px solid #f0f2f5;
}

.cart-order-form .form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--space-base);
}

.cart-order-form .form-section-title {
    margin: 0 0 16px 0;
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--color-text);
}

.cart-order-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.cart-order-form .form-col-full {
    grid-column: 1 / -1;
}

.cart-order-form input[type="text"],
.cart-order-form input[type="email"],
.cart-order-form select,
.cart-order-form textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    font-family: var(--font-main);
    font-size: var(--fs-body);
    color: var(--color-text);
    background-color: #f8f9fa;
    border: 1px solid #e2e6ec;
    border-radius: 14px;
    outline: none;
    transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.cart-order-form input::placeholder,
.cart-order-form textarea::placeholder {
    color: #8c95a2;
}

.cart-order-form input[type="text"]:hover,
.cart-order-form input[type="email"]:hover,
.cart-order-form select:hover,
.cart-order-form textarea:hover {
    border-color: #cbd2dc;
}

.cart-order-form input[type="text"]:focus,
.cart-order-form input[type="email"]:focus,
.cart-order-form select:focus,
.cart-order-form textarea:focus {
    background-color: var(--color-bg-body);
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(102, 153, 204, 0.18);
}

.cart-order-form textarea {
    height: auto;
    min-height: 92px;
    padding: 14px 16px;
    resize: vertical;
    line-height: var(--lh-body);
}

.cart-order-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23222222' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.cart-order-form .opl-1 {
    margin-top: 14px;
    padding: 16px;
    background: rgba(237, 205, 165, 0.25);
    border: 1px solid var(--color-primary-light);
    border-radius: 14px;
    font-size: 0.875rem;
    line-height: var(--lh-body);
    color: var(--color-text);
}

.cart-order-form .opl-notice-title {
    font-weight: 700;
    margin-bottom: 4px;
    color: #b86e14;
}

.cart-order-form .opl-2 {
    margin-top: 14px;
    padding: 18px;
    background: #f8f9fa;
    border: 1px solid #e2e6ec;
    border-radius: 16px;
}

.cart-order-form .opl-requisites-title {
    margin: 0 0 12px 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.cart-order-form .opl-2 input {
    background-color: var(--color-bg-body);
}

.cart-order-form .form-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-order-form .oferta {
    margin: 0;
    font-size: 0.8125rem; /* 13px */
    line-height: 1.45;
    color: #8c95a2;
}

.cart-order-form .oferta a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition);
}

.cart-order-form .oferta a:hover {
    color: var(--color-secondary-hover);
}

@media (max-width: 768px) {

    .cart-order-table .item {
        grid-template-columns: 72px 1fr;
        gap: 12px;
        padding: 14px;
        border-radius: 18px;
    }

    .cart-order-table .item-img {
        width: 72px;
        height: 72px;
    }

    .cart-order-table .price {
        text-align: left;
    }

    .cart-order-table .count-control {
        justify-self: end;
    }

    .cart-order-form {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .cart-order-form .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.order_result {
    font-size: var(--fs-h3);
}


.product-sever-price-available-info {
    color: #fff;
    padding: 5px;
    background-color: #20965b;
    border-radius: 5px;
    margin: 8px 0;
    width: max-content;
}

.product-sever-price-available-info a {
    color: white;
}

/* статьи */

.blog-list .article {
    margin: 0 0 35px 0;
}

.blog-list .article .name {
    display: block;
    padding: 0 0 8px 0;
    font-weight: bold;
}

/* быстрая заявка */

.fast-order {
    position: fixed;
    inset: 0;
    margin: auto;
    z-index: 9999;
    padding: 0;
    border: none;
    border-radius: 14px;
    max-width: 700px;
    width: 95%;
    height: fit-content;
    background-color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
}

.fast-order:not([open]) {
    display: none;
}

.fast-order::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.fast-order-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
}

.fast-order-image {
    position: relative;
    width: 46%;
    flex-shrink: 0;
    background-color: #e8ecef;
    overflow: hidden;
}

.fast-order-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
}

.fast-order-content {
    width: 54%;
    padding: 28px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fast-order-content h2 {
    margin: 0 0 16px 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
    color: #1a1a1a;
}

/* Поля ввода */
.fast-order-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fast-order-content input[type="text"],
.fast-order-content input[type="tel"],
.fast-order-content input[type="email"] {
    width: 100%;
    height: 40px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #e2e5e9;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.fast-order-content input::placeholder {
    color: #8c939d;
}

.fast-order-content input:focus {
    border-color: #34d058;
}

/* Зеленая кнопка */
.fast-order-content button {
    width: 100%;
    height: 42px;
    margin-top: 2px;
    background-color: #38d65c;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.fast-order-content button:hover {
    background-color: #2fc250;
}

/* Текст о политике конфиденциальности */
.fast_order_text_small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.35;
    color: #8c939d;
}

.fast_order_text_small a {
    color: #8c939d;
    text-decoration: none;
}

.fast_order_text_small a:hover {
    text-decoration: underline;
}

.fast-order-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: transparent;
    color: #8c939d;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s, color 0.2s;
}

.fast-order-close:hover {
    background-color: #f2f4f7;
    color: #1a1a1a;
}

@media (max-width: 650px) {
    .fast-order-image {
        display: none;
    }

    .fast-order-content {
        width: 100%;
        padding: 24px 20px;
    }

    .fast-order-content h2 {
        font-size: 17px;
    }
}

footer {
    background-color: #FFF;
    background-image: url("/img/snow.webp");
    background-position: center bottom;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 50px;
}

footer p {
    margin-bottom: 6px;
}

.table-scroll-x-1 {
    overflow-x: auto;
}

.table4 {
    border-collapse: collapse;
    margin-bottom: 30px;
}

.table4 td {
    padding: 5px;
    border: 1px solid #a9a9a9;
}

.table4 tbody tr:nth-child(2n) {
    background-color: #edf2fa;
}

.table4 thead,
.table4 .table4_thead {
    background-color: #a0e1fd;
}

.page-news .item {
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #e3e3e3;
}

.promo-cta-block {
    text-align: center;
    margin: 50px 0;
    padding: 0 15px;
}

.promo-cta-block__text {
    font-size: 22px;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

@media (max-width: 768px) {

    .promo-cta-block {
        margin: 35px 0;
    }

    .promo-cta-block__text {
        font-size: 18px;
        margin-bottom: 18px;
    }
}

.article-items {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.article-items a {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 15px 0 0;
    text-align: center;
}

.article-items a img {
    width: 150px;
    height: 150px;
}

/* user sitemap */

.structure-site {
    padding: 0;
}

.structure-site a {
    color: #0033CC;
}

.structure-site ul {
    list-style: disc;
    padding: 0 0 0 22px;
}

.structure-site ul li {
    margin: 5px 0;
}

.product-manual ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    margin: 10px 0;
}

.product-manual ul li {
    display: block;
    margin: 0 30px 0 0;
    padding: 8px 0 8px 35px;
    background-image: url("/img/pdf.webp");
    background-repeat: no-repeat;
}

/* sever */

.table4_sever .tab_available {
    background-color: #00c010;
    text-align: right;
}

.table4_sever .tab_order {
    background-color: #cbcbcb;
    text-align: right;
}

.table4_sever .tab_available_p {
    background-color: #00c010;
    width: max-content;
    padding: 5px;
}

.table4_sever .tab_order_p {
    background-color: #cbcbcb;
    width: max-content;
    padding: 5px;
}

.table4_sever .tab_c {
    text-align: center;
}

/* polair столы */

.polair_st_tab_v3_nav {
    list-style: disc;
    padding: 0 0 0 15px;
}

.polair_st_tab_v3_nav ul {
    list-style: disc;
    padding: 0 0 10px 15px;
}

.polair_st_tab_v3 {
    border-collapse: collapse;
    font-size: 13px;
    line-height: 20px;
    width: 100%;
}

.polair_st_tab_v3 tr:nth-child(2n) {
    background-color: #f2f8ff;
}

.polair_st_tab_v3 th,
.polair_st_tab_v3 td {
    padding: 5px;
    border: 1px solid #d7d7d7;
    text-align: center;
}

.polair_st_tab_v3 th:nth-child(1),
.polair_st_tab_v3 td:nth-child(1) {
    text-align: left !important;
    width: 270px !important;
}

.polair_st_tab_v3 .center {
    text-align: center;
}

.polair_st_tab_v3 .left {
    text-align: left;
}

.sever_kameri_images {
    display: flex;
    flex-wrap: wrap;
}

.sever_kameri_images img {
    margin: 5px;
    border: 1px solid #CCC;
    border-radius: 10px;
}

/* pro 34 */

.product-feature-1 {
    margin-top: 40px;
}

.product-feature-1 ul {
    padding: 0 0 0 20px;
    list-style: disc;
}

.product-feature {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    background-color: #f4f4f4;
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
}

.product-feature div {
    font-size: 18px;
}

.product-feature .row {
    margin: 10px 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 50%;
}

.product-feature .row img {
    margin-right: 10px;
    width: 64px;
    height: 64px;
}

.product-actual-info {
    font-size: 14px;
    color: #7e7e7e;
    line-height: 20px;
    margin-top: 20px !important;
}

.product-more {
    margin-top: 20px;
    border-top: 2px solid #CCC;
}

.product-param-wrap {
    background-color: var(--color-bg-body);
    border-radius: var(--radius-main);
    border: 1px solid rgba(34, 34, 34, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.product-param {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    margin: 0;
    text-align: left;
}

.product-param tr {
    border: none;
    border-bottom: 1px solid rgba(34, 34, 34, 0.06);
    transition: background-color var(--transition);
}

.product-param tr:last-child {
    border-bottom: none;
}

.product-param tr:nth-child(even) {
    background-color: rgba(102, 153, 204, 0.03);
}

.product-param tr:not(:has(.param-group)):hover {
    background-color: rgba(237, 205, 165, 0.25);
}

.product-param th,
.product-param td {
    border: none;
    padding: 1rem 1.6rem;
    vertical-align: middle;
}

.product-param th {
    color: rgba(34, 34, 34, 0.72);
    width: 55%;
    font-weight: normal;
}

.product-param .param-ed {
    color: rgba(34, 34, 34, 0.55);
}

.product-param td {
    color: var(--color-text);
    width: 45%;
}

.product-param td.param-group {
    width: 100%;
    font-weight: 700;
    color: var(--color-text);
    background-color: rgba(102, 153, 204, 0.09);
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.product-replaced {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: var(--lh-body);
    background-color: rgba(237, 205, 165, 0.25);
    border: 1px solid rgba(237, 156, 57, 0.35);
    border-radius: calc(var(--radius-main) * 0.65);
    padding: 0.9rem 1.15rem;
    margin-top: 1rem;
    margin-bottom: var(--space-base);
    max-width: 460px;
}

.product-replaced p {
    margin: 0 0 0.5rem 0;
    color: rgba(34, 34, 34, 0.75);
}

.product-replaced ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-replaced li {
    margin: 0;
    padding: 0;
}

.product-replaced a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--color-bg-body);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.55rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(34, 34, 34, 0.08);
    transition: border-color var(--transition), background-color var(--transition);
}

.product-replaced a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background-color: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform var(--transition);
}

.product-replaced a:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
}

.product-replaced a:hover::after {
    transform: translateX(3px);
}

/* filter v5 */

#filter_v5 {
    background-color: #A2D8FA;
    font-size: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 10px;
    display: none;
    margin-top: 10px;
}

#filter_v5 ul.d1 {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

#filter_v5 ul.d1 li {
    padding: 1px 8px;
    border-radius: 8px;
    background-color: #FFF;
    margin: 0 4px 4px 0;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 17px;
}

#filter_v5 ul.d1 .select {
    background-color: #1ea04a;
    color: #FFF;
    transition: 400ms ease-in-out;
}

#filter_v5 .param {
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(236, 236, 236, 0.73);
    padding-bottom: 2px;
}

#filter_v5 .param:last-child {
    border: 0 !important;
}

#filter_v5 .param span {
    display: block;
    margin-bottom: 1px;
    font-size: 13px;
    color: #000;
}

#filter_v5 .param input[type=number] {
    padding: 1px 4px;
    border-radius: 8px;
    width: 90px;
    border: none;
    margin-right: 5px;
    background-color: #FFF;
}

#filter_v5 .count_pro {
    margin: 10px 0 0 0;
    font-weight: bold;
    text-align: center;
}

#filter_v5 .param input[type="number"] {
    border-radius: 6px;
    border: 1px solid #9ab8cc;
    padding: 4px 10px;
}

#filter_v5 .param input[type="number"]:focus {
    outline: none;
    border-color: #2e8b57;
}

.filter-v2 {
    background-color: #A2D8FA;
    border-radius: 10px;
    padding: 10px;
}

.filter-v2 .param2 {
    padding: 5px 0;
}

.filter-v2 .param2 .elf {
    display: inline-block;
    margin: 0 4px 6px 0;
    padding: 3px;
    background-color: #b5e2ff;
    border: 1px solid #999;
    border-radius: 3px;
}

.filter-v2 ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.filter-v2 ul li,
.filter-v2 .mm div {
    float: left;
    background-color: #F3F3F3;
    color: #000;
    padding: 2px 4px;
    margin: 0 4px 4px 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 2px;
    cursor: pointer;
    transition: 0.5s ease;
}

.filter-v2 ul li.cur {
    background-color: #66D763;
    transition: 0.5s ease;
    color: #FFF;
}

.filter-v2 ul li.head {
    background-color: #A2D8FA !important;
    cursor: default;
    text-decoration: none !important;
}

.filter-v2 div.clear {
    clear: both;
    height: 8px;
}

.data-news-art {
    color: #6699FF;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    width: calc(100% - 40px);
    padding: 20px;
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: left;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-banner__text {
    margin: 0;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    text-align: left;
}

.cookie-banner__text a {
    color: #2563eb;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.cookie-banner__text a:hover {
    color: #1d4ed8;
}

.cookie-banner__btn {
    margin: 0;
    padding: 10px 22px;
    background-color: #111827;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cookie-banner__btn:hover {
    background-color: #374151;
}

.cookie-banner__btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        padding: 16px;
    }

    .cookie-banner__btn {
        width: 100%;
        text-align: center;
    }
}

/* order send */

.order-send-ok {
    position: relative;
    margin-top: 24px;
    padding: 20px 24px 20px 64px;
    background-color: #f2fbf6;
    border: 1px solid #bce8cf;
    border-radius: 10px;
    color: #1f2937;
    line-height: 1.5;
}

/* Иконка галочки слева без изменения HTML */
.order-send-ok::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 22px;
    width: 28px;
    height: 28px;
    background-color: #16a34a;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.order-send-ok p {
    margin: 0 0 8px 0;
}

/* Выделяем первую строку как заголовок */
.order-send-ok p:first-child {
    font-weight: 600;
    color: #15803d;
    margin-bottom: 10px;
}

/* Номер заказа в виде аккуратного бейджа */
.order-send-ok b {
    display: inline-block;
    padding: 1px 8px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 6px;
}

/* График работы делаем чуть спокойнее */
.order-send-ok p:last-child {
    margin-top: 12px;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid #d1fae5;
    color: #4b5563;
}

@media (max-width: 480px) {
    .order-send-ok {
        padding: 56px 16px 16px 16px;
    }

    .order-send-ok::before {
        left: 16px;
        top: 16px;
    }
}

/* product mod */

.product-mod-v1 {
    margin: 24px 0;
}

.product-mod-v1 table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.product-mod-v1 thead th {
    background: #f8fafc;
    color: #64748b;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.product-mod-v1 tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.product-mod-v1 tbody tr:last-child td {
    border-bottom: none;
}

.product-mod-v1 tbody tr:hover {
    background-color: #f8fafc;
}

.product-mod-v1 tbody tr.is-current {
    background-color: #eff6ff;
}

.product-mod-v1 .td-name a {
    color: inherit;
    text-decoration: none;
}

.product-mod-v1 .td-name a:hover {
    text-decoration: underline;
}

.product-mod-v1 .td-name a.current {
    pointer-events: none;
}

.product-mod-v1 .td-price,
.product-mod-v1 .td-av-1,
.product-mod-v1 .td-av-0 {
    white-space: nowrap;
}

.product-mod-v1 .td-av-1 {
    color: #15803d;
}

.product-mod-v1 .td-av-1::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #22c55e;
    margin-right: 7px;
    vertical-align: middle;
}

.product-mod-v1 .td-av-0 {
    color: #64748b;
}

.product-mod-v1 .td-av-0::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #cbd5e1;
    margin-right: 7px;
    vertical-align: middle;
}

@media (max-width: 767px) {

    .product-mod-v1 thead {
        display: none;
    }

    .product-mod-v1 table,
    .product-mod-v1 tbody {
        display: block;
        width: 100%;
        border: none;
        background: transparent;
    }

    .product-mod-v1 tbody tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        border: 1px solid #e2e8f0;
        padding: 12px 14px;
        margin-bottom: 10px;
        gap: 8px;
    }

    .product-mod-v1 tbody tr.is-current {
        border-color: #93c5fd;
        background-color: #eff6ff;
    }

    .product-mod-v1 tbody td {
        display: block;
        padding: 0;
        border: none;
    }

    .product-mod-v1 .td-name {
        width: 100%;
    }

    .product-mod-v1 .td-price,
    .product-mod-v1 .td-av-1,
    .product-mod-v1 .td-av-0 {
        width: auto;
    }
}
