/*
 * 101-СВЕТ+ — clean site stylesheet
 * Версия 1.0
 *
 * Новый CSS создаётся с нуля.
 * Старый styles_clean.min.css не используется.
 * HTML/DLE-разметка не изменяется.
 */

/* =========================================================
   01. VARIABLES
   ========================================================= */

:root {
    --color-primary: #00a651;
    --color-primary-dark: #008b45;
    --color-primary-soft: #effaf4;

    --color-text: #17212b;
    --color-text-secondary: #65717d;
    --color-text-light: #8a949d;

    --color-white: #ffffff;
    --color-bg: #f5f7f9;
    --color-border: #e4e8ec;
    --color-border-dark: #d5dbe0;

    --color-dark: #111820;

    --container-width: 1320px;
    --container-padding: 24px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 4px 18px rgba(17, 24, 32, .06);
    --shadow-md: 0 12px 35px rgba(17, 24, 32, .10);
    --shadow-lg: 0 20px 55px rgba(17, 24, 32, .15);

    --font-main:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;
}


/* =========================================================
   02. RESET / BASE
   ========================================================= */

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        opacity .2s ease,
        transform .2s ease;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

p,
h1,
h2,
h3,
h4,
ul,
ol {
    margin-top: 0;
}

ul,
ol {
    padding-left: 0;
}

table {
    border-collapse: collapse;
}

hr {
    border: 0;
    border-top: 1px solid var(--color-border);
}

.container {
    width: min(var(--container-width), calc(100% - (var(--container-padding) * 2)));
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   03. COMMON TYPOGRAPHY
   ========================================================= */

.text-bold {
    font-weight: 700;
}

.text-thin {
    font-weight: 300;
}

.text-block {
    display: block;
}

.text-red {
    color: inherit;
}

.st-orange {
    color: var(--color-primary);
}

.content-pages h1,
.main-center-tabs_content h1 {
    color: var(--color-text);
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.025em;
}

.content-pages h2,
.content-pages h3,
.content-pages h4,
.main-center_add-text h2,
.main-center_add-text h3,
.main-center_add-text h4 {
    color: var(--color-text);
    line-height: 1.25;
    font-weight: 700;
}

.content-pages h2,
.main-center_add-text h2 {
    font-size: 28px;
}

.content-pages h3,
.main-center_add-text h3 {
    font-size: 22px;
}

.content-pages p,
.main-center_add-text p {
    margin-bottom: 16px;
}

.content-pages ul,
.content-pages ol,
.main-center_add-text ul,
.main-center_add-text ol {
    margin-bottom: 18px;
    padding-left: 22px;
}

.content-pages ul,
.main-center_add-text ul {
    list-style: disc;
}

.content-pages ol,
.main-center_add-text ol {
    list-style: decimal;
}


/* =========================================================
   04. HEADER
   ========================================================= */

header {
    position: relative;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

header .container {
    min-height: 96px;
    display: grid;
    grid-template-columns: 150px minmax(250px, 1fr) auto 52px;
    align-items: center;
    column-gap: 26px;
}

.header-logo {
    position: relative;
    width: 150px;
    height: 72px;
}

.header-logo a {
    position: relative;
    display: block;
    width: 150px;
    height: 72px;
}

.header-logo a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/logo.png") left center / contain no-repeat;
}

.header-slogan {
    min-width: 0;
    padding: 0;
}

.header-slogan span {
    display: block;
    max-width: 500px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
}

.header-menu-phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    white-space: nowrap;
}

.header-menu-phones > a {
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.35;
}

.header-menu-phones > a:first-child {
    font-size: 18px;
    font-weight: 700;
}

.header-menu-phones > a:hover {
    color: var(--color-primary);
}

.header-menu-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-menu-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    transition: border-color .2s ease, background-color .2s ease;
}

.header-menu-btn:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-soft);
}

.header-menu-btn svg {
    width: 20px;
    height: auto;
}

.header-menu-btn svg path {
    fill: var(--color-text);
}

.header-phones {
    display: none;
}


/* =========================================================
   05. MAIN NAVIGATION
   ========================================================= */

.main-center-nav {
    position: relative;
    z-index: 50;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
}

.main-center-nav .container {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-center-nav_list {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-center-nav_list li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-center-nav_list li a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 15px;
    color: #3e4852;
    font-size: 14px;
    font-weight: 500;
}

.main-center-nav_list li a::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.main-center-nav_list li:hover a,
.main-center-nav_list li.active a {
    color: var(--color-primary);
}

.main-center-nav_list li:hover a::after,
.main-center-nav_list li.active a::after {
    transform: scaleX(1);
}

.main-center-nav_mobile,
.catalog-btn {
    display: none;
}


/* =========================================================
   06. PAGE LAYOUT / SIDEBAR
   ========================================================= */

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

.main > .container {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    padding-top: 28px;
    padding-bottom: 56px;
}

.sidebar-left {
    position: sticky;
    top: 20px;
    overflow: hidden;
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.catalog-category-nav {
    padding: 10px 0;
}

.nav-main-sub {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-main-sub li {
    margin: 0;
    padding: 0;
}

.nav-main-sub li a {
    display: block;
    padding: 9px 18px;
    border-left: 3px solid transparent;
    color: #3e4953;
    font-size: 14px;
    line-height: 1.25;
}

.nav-main-sub li a:hover {
    border-left-color: var(--color-primary);
    background: var(--color-primary-soft);
    color: var(--color-primary-dark);
}

.catalog-questions {
    padding: 16px;
    border-top: 1px solid var(--color-border);
    background: #fafbfc;
}

.catalog-questions_btn {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(0, 166, 81, .18);
}

.catalog-questions_btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.main-center {
    min-width: 0;
}


/* =========================================================
   07. HERO / FLEXSLIDER
   ========================================================= */

.slider {
    position: relative;
    overflow: hidden;
    background: #101820;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.flexslider {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.flexslider .slides {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flexslider .slides > li {
    position: relative;
    display: none;
    margin: 0;
    padding: 0;
}

.flexslider .slides > li:first-child {
    display: block;
}

.flexslider .slides img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: cover;
}

.slides li a {
    position: relative;
    display: block;
}

.slide-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 16, .86) 0%, rgba(5, 10, 16, .60) 48%, rgba(5, 10, 16, .12) 100%),
        linear-gradient(0deg, rgba(5, 10, 16, .42) 0%, transparent 55%);
}

.slide-info-wrap {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 48px 54px;
}

.slide-info {
    display: block;
    width: 100%;
}

.slide-intro-cell {
    display: block;
    width: min(700px, 80%);
    max-width: 700px;
    padding: 0;
}

.slide-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.slide-intro {
    max-width: 680px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.92);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
}

.slide-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.78);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.slide-link:hover {
    background: #fff;
    border-color: #fff;
    color: var(--color-text);
}

.flex-control-nav {
    position: absolute !important;
    z-index: 10;
    right: 0;
    bottom: 18px !important;
    left: 0;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-nav li {
    margin: 0;
    padding: 0;
}

.flex-control-nav li a {
    display: block;
    width: 9px !important;
    height: 9px !important;
    margin: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55) !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 0;
}

.flex-control-nav li a.flex-active {
    background: var(--color-primary) !important;
}

.flex-direction-nav {
    position: absolute;
    z-index: 10;
    inset: 50% 0 auto;
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0 18px;
    list-style: none;
    transform: translateY(-50%);
    pointer-events: none;
}

.flex-direction-nav li {
    margin: 0;
    padding: 0;
}

.flex-direction-nav a {
    position: relative;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    background: rgba(0,0,0,.20);
    color: #fff;
    opacity: 0;
    pointer-events: auto;
    transition: opacity .2s ease, background-color .2s ease;
}

.slider:hover .flex-direction-nav a {
    opacity: 1;
}

.flex-direction-nav a:hover {
    background: rgba(0,0,0,.55);
}

.flex-direction-nav a::before {
    font-size: 22px;
    line-height: 1;
}

.flex-direction-nav .flex-prev::before {
    content: "‹";
}

.flex-direction-nav .flex-next::before {
    content: "›";
}


/* =========================================================
   08. ADVANTAGES
   ========================================================= */

.main-center-adv {
    margin-top: 18px;
    margin-bottom: 24px;
}

.main-center-adv_flex {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.main-center-adv_flex > div {
    position: relative;
    min-height: 102px;
    display: flex;
    align-items: center;
    padding: 20px 22px 20px 70px;
    border-right: 1px solid var(--color-border);
}

.main-center-adv_flex > div:last-child {
    border-right: 0;
}

.main-center-adv_flex > div::before {
    position: absolute;
    top: 50%;
    left: 24px;
    width: 30px;
    height: 30px;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    content: "";
}

.main-center_base::before {
    background-image: url("../images/folder.svg");
}

.main-center_prof::before {
    background-image: url("../images/architectr.svg");
}

.main-center_projects::before {
    background-image: url("../images/project.png");
}

.main-center-adv .text-block {
    color: #34404b;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}


/* =========================================================
   09. HOME CONTENT
   ========================================================= */

.main-center-tabs {
    margin-top: 0;
}

.main-center-tabs_content {
    position: relative;
    overflow: hidden;
    padding: 32px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: #46525d;
    font-size: 16px;
    line-height: 1.7;
}

.main-center-tabs_content h1 {
    margin: 28px 0 18px !important;
    text-align: left !important;
}

.owl-carusel-desc {
    width: 100%;
}

.dleplyrplayer {
    margin-bottom: 26px;
}

.dleplyrplayer video {
    display: block;
    width: 100%;
    border-radius: var(--radius-md);
    background: #101820;
}

.main-center-tabs_content .owl-carusel-desc > br {
    display: block;
    margin-bottom: 8px;
}


/* =========================================================
   10. INNER PAGES
   ========================================================= */

.content-pages {
    min-width: 0;
    padding: 34px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: #46525d;
    font-size: 16px;
    line-height: 1.7;
}

.breadcrumbs {
    margin-bottom: 18px;
    color: var(--color-text-light);
    font-size: 13px;
}

.content-pages a {
    color: var(--color-primary-dark);
}

.content-pages a:hover {
    color: var(--color-primary);
}

.content-pages img {
    max-width: 100%;
    height: auto;
}

.gallery-fancy__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.gallery-fancy__row a {
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.gallery-fancy__row img {
    width: 100%;
    transition: transform .3s ease;
}

.gallery-fancy__row a:hover img {
    transform: scale(1.03);
}


/* =========================================================
   11. CATALOG / PRODUCT — BASE
   Не зависит от старой геометрии.
   ========================================================= */

.main-inner-text {
    margin-bottom: 20px;
}

.main-center-filters {
    margin-bottom: 24px;
    padding: 18px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.main-center-filters form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.main-center-filters_item {
    position: relative;
    flex: 1 1 160px;
    min-width: 150px;
    color: var(--color-text-secondary);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.main-center-filters_item h4 {
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.main-center-filters_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
}

.main-center-filters_btn:hover {
    background: var(--color-primary-dark);
}

#mse2_results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#mse2_results li,
.product-preview {
    width: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.product-preview a {
    color: inherit;
}

.product-preview:hover {
    box-shadow: var(--shadow-md);
}

.product-preview .container {
    width: 100%;
    min-width: 0;
    padding: 16px;
}


/* =========================================================
   12. PRODUCT PAGE
   ========================================================= */

.content-product {
    min-width: 0;
}

.product-tabs_slider,
.product-tabs_content,
.product-properties {
    min-width: 0;
}

.product-properties {
    color: var(--color-text-secondary);
}

.product-name {
    color: var(--color-text);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
}

.product-price_value,
.product-price_build .product-price_name.text-color,
.product-price_build .product_heating {
    color: var(--color-primary-dark);
}

.product-order_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

.product-order_btn:hover {
    background: var(--color-primary-dark);
}


/* =========================================================
   13. FORMS
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-sm);
    outline: none;
    background: #fff;
    color: var(--color-text);
    transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0,166,81,.10);
}

button[type="submit"],
input[type="submit"] {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
    background: var(--color-primary-dark);
}


/* =========================================================
   14. MOBILE SLIDE MENU
   ========================================================= */

.popup_bg {
    position: fixed;
    z-index: 998;
    inset: 0;
    display: none;
    background: rgba(10, 16, 22, .55);
    opacity: 0;
    transition: opacity .2s ease;
}

.sb-slidebar-intro {
    position: fixed;
    z-index: 999;
    inset: 0;
    display: none;
    overflow: hidden;
}

.sb-slidebar {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 88vw);
    overflow-y: auto;
    padding: 80px 24px 28px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .25s ease;
}

.sb-slidebar.show {
    transform: translateX(0);
}

.header-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.header-menu-close::before,
.header-menu-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 2px;
    background: var(--color-text);
}

.header-menu-close::before {
    transform: rotate(45deg);
}

.header-menu-close::after {
    transform: rotate(-45deg);
}

.header-nav-mobile {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-nav-mobile li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.header-nav-mobile li a {
    display: block;
    padding: 13px 0;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 500;
}

.header-nav-mobile li a:hover {
    color: var(--color-primary);
}


/* =========================================================
   15. FOOTER
   ========================================================= */

footer {
    background: var(--color-dark);
    color: rgba(255,255,255,.72);
}

footer .container {
    padding-top: 44px;
    padding-bottom: 34px;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr 1fr 1fr;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin: 0;
    padding: 0;
}

.footer-nav li > span,
.footer-nav li > p:first-child {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.footer-nav-line {
    margin: 5px 0 0;
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.5;
}

.footer-nav a {
    color: #fff;
}

.footer-nav a:hover {
    color: #62dc96;
}

.footer-policy {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.10);
}

.footer-policy a {
    color: rgba(255,255,255,.52);
    font-size: 13px;
    line-height: 1.7;
}

.footer-policy a:hover {
    color: #fff;
}


/* =========================================================
   16. COOKIE BANNER
   ========================================================= */

#cookie-banner {
    position: fixed !important;
    z-index: 10000 !important;
    right: 0;
    bottom: 18px;
    left: 50%;
    width: min(920px, calc(100% - 32px));
    padding: 18px 22px !important;
    transform: translateX(-50%);
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(17,24,32,.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__text p {
    margin: 0;
    color: #56616d;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.cookie-button,
#cookie-accept {
    flex: 0 0 auto;
    min-width: 108px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.cookie-button:hover,
#cookie-accept:hover {
    background: var(--color-primary-dark);
}


/* =========================================================
   17. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    :root {
        --container-padding: 18px;
    }

    header .container {
        grid-template-columns: 130px minmax(200px, 1fr) auto 50px;
        column-gap: 18px;
    }

    .header-logo,
    .header-logo a {
        width: 130px;
    }

    .header-slogan span {
        font-size: 18px;
    }

    .main > .container {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 22px;
    }

    .main-center-nav_list li a {
        padding-right: 11px;
        padding-left: 11px;
        font-size: 13px;
    }

    .slide-info-wrap {
        padding: 38px;
    }

    .slide-title {
        font-size: 40px;
    }

    .slide-intro {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    header .container {
        min-height: 78px;
        grid-template-columns: 120px 1fr 48px;
    }

    .header-logo,
    .header-logo a {
        width: 120px;
        height: 60px;
    }

    .header-slogan span {
        font-size: 16px;
    }

    .header-menu-phones {
        display: none;
    }

    .main-center-nav_list {
        display: none;
    }

    .main-center-nav .container {
        min-height: 48px;
        justify-content: flex-start;
    }

    .catalog-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .main-center-nav_mobile {
        display: block;
        flex: 1 1 0;
        padding: 13px 6px;
        color: #3e4852;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
    }

    .main-center-nav_mobile:hover {
        color: var(--color-primary);
    }

    .main > .container {
        display: block;
        padding-top: 18px;
    }

    .sidebar-left {
        display: none;
    }

    #mse2_results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-center-adv_flex {
        grid-template-columns: 1fr;
    }

    .main-center-adv_flex > div {
        min-height: 82px;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .main-center-adv_flex > div:last-child {
        border-bottom: 0;
    }

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

@media (max-width: 650px) {
    :root {
        --container-padding: 12px;
    }

    header .container {
        min-height: 70px;
        grid-template-columns: 100px 1fr 44px;
        column-gap: 10px;
    }

    .header-logo,
    .header-logo a {
        width: 100px;
        height: 54px;
    }

    .header-slogan span {
        font-size: 12px;
        line-height: 1.2;
    }

    .header-menu-btn {
        width: 42px;
        height: 42px;
    }

    .catalog-btn {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .main-center-nav_mobile {
        flex: 0 0 auto;
        padding-right: 10px;
        padding-left: 10px;
        white-space: nowrap;
    }

    .slider {
        border-radius: var(--radius-md);
    }

    .flexslider .slides img {
        height: 500px;
    }

    .slide-info-wrap {
        align-items: flex-end;
        padding: 28px 22px 50px;
    }

    .slide-intro-cell {
        width: 100%;
        max-width: none;
    }

    .slide-title {
        font-size: 29px;
        line-height: 1.03;
    }

    .slide-intro {
        max-height: 170px;
        overflow: hidden;
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.4;
    }

    .slide-link {
        min-height: 40px;
        font-size: 12px;
    }

    .flex-direction-nav {
        display: none;
    }

    .main-center-tabs_content,
    .content-pages {
        padding: 22px 18px;
        border-radius: 10px;
    }

    .main-center-tabs_content {
        font-size: 15px;
        line-height: 1.6;
    }

    .main-center-tabs_content h1 {
        margin-top: 22px !important;
        font-size: 26px;
    }

    #mse2_results {
        grid-template-columns: 1fr;
    }

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

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    footer .container {
        padding-top: 32px;
        padding-bottom: 28px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    #cookie-accept,
    .cookie-button {
        width: 100%;
    }

    #cookie-banner {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 16px !important;
    }
}

@media (max-width: 430px) {
    .header-slogan {
        display: none;
    }

    header .container {
        grid-template-columns: 100px 1fr 44px;
        justify-content: space-between;
    }

    .header-menu-phones {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    .header-menu-phones > a {
        font-size: 12px;
    }

    .header-menu-phones > a:first-child {
        font-size: 14px;
    }

    .slide-title {
        font-size: 25px;
    }

    .slide-intro {
        max-height: 145px;
    }

    .main-center-adv_flex > div {
        padding-left: 62px;
    }

    .main-center-adv_flex > div::before {
        left: 20px;
    }

    .gallery-fancy__row {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   PORTFOLIO
   ========================================================= */

#dle-content > div.row.ms2_product.product-preview {
    display: inline-block !important;
    vertical-align: top !important;

    width: 31.8% !important;
    margin: 0 1.45% 20px 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;

    background: #fff !important;
    border: 1px solid #e1e6ea !important;
    border-radius: 12px !important;
    overflow: hidden !important;

    box-shadow: 0 4px 18px rgba(15, 25, 35, 0.06) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

#dle-content > div.row.ms2_product.product-preview:nth-child(3n) {
    margin-right: 0 !important;
}

#dle-content > div.row.ms2_product.product-preview > a {
    display: block !important;
    width: 100% !important;
}

#dle-content .ms2_product_slider_thumb {
    width: 100% !important;
    height: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

#dle-content .ms2_product_slider_thumb img.product-thumbs {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
}

#dle-content .ms2_product_pagetitle {
    width: 100% !important;
    min-height: 62px !important;
    padding: 14px 16px !important;

    box-sizing: border-box !important;

    color: #26323d !important;
    background: #fff !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

#dle-content .ms2_product_pagetitle span {
    display: block !important;
    margin-top: 6px !important;
    color: #00a95c !important;
}


/* Планшет */
@media (max-width: 900px) {

    #dle-content > div.row.ms2_product.product-preview {
        width: 48.5% !important;
        margin-right: 3% !important;
    }

    #dle-content > div.row.ms2_product.product-preview:nth-child(3n) {
        margin-right: 3% !important;
    }

    #dle-content > div.row.ms2_product.product-preview:nth-child(2n) {
        margin-right: 0 !important;
    }

}


/* Телефон */
@media (max-width: 600px) {

    #dle-content > div.row.ms2_product.product-preview {
        display: block !important;
        width: 100% !important;
        margin: 0 0 18px 0 !important;
    }

    #dle-content .ms2_product_slider_thumb {
        height: 230px !important;
    }

}

/* =========================================================
   КАТАЛОГ ИЗДЕЛИЙ — СЕТКА КАРТОЧЕК
   ========================================================= */

.text > .row.ms2_product.product-preview {
    display: inline-block;
    vertical-align: top;
    width: calc(33.333% - 14px);
    margin: 0 18px 20px 0;
    padding: 0;
    box-sizing: border-box;
}

.text > .row.ms2_product.product-preview:nth-of-type(3n) {
    margin-right: 0;
}

.text > .row.ms2_product.product-preview .ms2_product_slider_thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    padding: 15px;
    box-sizing: border-box;
}

.text > .row.ms2_product.product-preview .product-thumbs {
    display: block;
    width: auto;
    max-width: 100%;
    height: 220px !important;
    object-fit: contain;
}

.text > .row.ms2_product.product-preview .ms2_product_pagetitle {
    min-height: 64px;
    padding: 12px 15px;
    box-sizing: border-box;
    text-align: center;
}


/* Планшет */
@media (max-width: 900px) {
    .text > .row.ms2_product.product-preview {
        width: calc(50% - 10px);
        margin-right: 16px;
    }

    .text > .row.ms2_product.product-preview:nth-of-type(3n) {
        margin-right: 16px;
    }

    .text > .row.ms2_product.product-preview:nth-of-type(2n) {
        margin-right: 0;
    }
}


/* Телефон */
@media (max-width: 600px) {
    .text > .row.ms2_product.product-preview {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* =========================================================
   HOVER — ВСЕ КАРТОЧКИ MS2
   ========================================================= */

.row.ms2_product.product-preview {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

@media (hover:hover) and (pointer:fine) {

    .row.ms2_product.product-preview:hover {
        transform: translateY(-5px);
        border-color:#d5dce2;
        box-shadow:0 12px 28px rgba(15,25,35,.12);
    }

    .row.ms2_product.product-preview .ms2_product_slider_thumb img {
        transition:transform .35s ease;
    }

    .row.ms2_product.product-preview:hover .ms2_product_slider_thumb img {
        transform:scale(1.035);
    }

    .row.ms2_product.product-preview:hover .ms2_product_pagetitle {
        color:#ff6a2a;
    }
}

@media (prefers-reduced-motion: reduce) {

    .row.ms2_product.product-preview,
    .row.ms2_product.product-preview .ms2_product_slider_thumb img,
    .row.ms2_product.product-preview .ms2_product_pagetitle {
        transition:none;
    }
}

/* =========================================================
   HEADER 2026
   ========================================================= */

header .container{
    display:grid;
    grid-template-columns:160px 1fr auto;
    align-items:center;
    max-width:1140px;
    margin:0 auto;
    padding:0;
}

.header-logo {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding-left:0;
}

.header-logo a {
    width:120px;
    height:58px;
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
}

.header-slogan{
    width:auto;
    margin:0;
    padding:0;
}

.header-slogan span{
    display:block;
    font-size:18px;
    line-height:1.2;
    font-weight:800;
    color:#101820;
    white-space:nowrap;
}

.header-menu-phones{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    width:auto;
}

.header-menu-phones a:first-child{
    font-size:20px;
    line-height:1.3;
    font-weight:700;
    color:#00a651;
    text-decoration:none;
}

.header-menu-phones a:last-child{
    margin-top:5px;
    font-size:16px;
    line-height:1.3;
    color:#00a651;
    text-decoration:none;
}

.header-menu-phones .st-orange{
    color:#00a651;
}

/* =========================
   MOBILE HEADER FIX
   ========================= */

@media (max-width: 991px) {

    .header-logo {
        width:100%;
        height:70px;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .header-logo a {
        width:120px;
        height:55px;
        background-size:contain;
        background-repeat:no-repeat;
        background-position:center;
    }

    .header-slogan {
        display:none;
    }

    .header-menu-phones {
        width:100%;
        margin-top:5px;
        margin-bottom:10px;
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .header-menu-phones a:first-child {
        font-size:16px;
        font-weight:700;
        color:#00a651;
    }

    .header-menu-phones a:last-child {
        font-size:14px;
        color:#00a651;
    }

}

