/* 
 * Кастомные стили для переноса с TailwindCSS на UIKit3
 * Магазин печей и каминов Багира
 */

/* Local Fonts - VelaSans */
@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-ExtraLight.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-Light.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-Regular.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-Medium.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-SemiBold.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-Bold.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'VelaSans';
    src: url('../../fonts/vela-sans/VelaSans-ExtraBold.woff2') format('woff2'),
    url('../../fonts/vela-sans/VelaSans-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Local Fonts - Onest */
@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-100.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-200.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Onest';
    src: url('../../fonts/onest/onest-v9-cyrillic_latin-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* === Основные переменные === */
:root {
    --primary-color: #DC4726;
    --primary-light: #FEE7E2;
    --text-body: #404040;
    --text-dark: #171717;
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-900: #171717;
    --border-radius-30: 30px;

    --border-radius-40: 40px;
    --border-radius-48: 48px;
    --border-radius-78: 78px;
}

/* === Общие стили === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    font-family: 'Onest', sans-serif;
}

html {
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'VelaSans', sans-serif;
    color: var(--text-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    max-width: 100vw;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Все радио-кнопки и чекбоксы - оранжевый цвет */
input[type="radio"],
input[type="checkbox"] {
    accent-color: #DC4726;
}

/* Предотвращение горизонтального скролла для контента */
section, footer {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

/* === Header === */
.header-main {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 50 !important;
    padding-top: 3px;
    padding-bottom: 0;
    background-color: white;
    /*border-bottom: 1px solid var(--neutral-200);*/
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 100%;
}

/* Верхняя строка header */
.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-city {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.header-city button {
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    color: var(--text-body);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-city button:hover {
    color: var(--neutral-900);
}

/* Мобильный логотип-baloon (скрыт по умолчанию) */
.header-city-mobile {
    display: none;
}

.header-showroom {
    font-size: 14px;
    padding-left: 16px;
    border-left: 1px solid var(--neutral-500);
}

.header-showroom a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
}

.header-showroom a:hover span {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

/* Верхнее меню навигации */
.header-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

.header-nav-item {
    position: relative;
}

.header-nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav-item > a:hover {
    color: var(--primary-color);
}

.header-nav-item > a:hover span {
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.header-nav-item.primary > a {
    color: var(--primary-color);
}

/* Выпадающее меню */
.header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    min-width: 220px;
    padding: 8px 0;
    padding-top: 12px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
}

/* Невидимый мост для предотвращения мерцания */
.header-nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    display: block;
}

.header-nav-item:hover .header-dropdown {
    opacity: 1;
    visibility: visible;
}

.header-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: background-color 0.2s;
}

.header-dropdown a:hover {
    background-color: var(--neutral-100);
}

/* Правая часть верхней строки */
.header-top-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    font-size: 14px;
    color: var(--neutral-900);
}

.header-phone a {
    font-weight: 500;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.header-phone a:hover {
    color: var(--primary-color);
}

.header-phone-time {
    display: none;
    font-size: 12px;
    color: var(--neutral-600);
}

/* Нижняя строка header */
.header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
}

.header-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-burger svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.header-burger span {
    font-size: 12px;
    text-align: center;
    width: 50px;
}

/* Мобильный гамбургер (скрыт по умолчанию) */
.header-burger-mobile {
    display: none;
}

/* Мобильная кнопка каталога (скрыта по умолчанию) */
.catalog-btn-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #DC4726;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    outline: none;
}

.catalog-btn-mobile:focus {
    outline: none;
    box-shadow: none;
}

.catalog-btn-mobile:hover {
    background: #c73d1f;
}

.catalog-btn-mobile .catalog-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Мобильная ссылка "Акции" (скрыта по умолчанию) */
.sale-link-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    color: var(--neutral-900);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.sale-link-mobile:hover {
    background: var(--neutral-100);
    text-decoration: none;
}

.sale-link-mobile svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Мобильная кнопка поиска (скрыта по умолчанию) */
.header-search-btn-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.header-search-btn-mobile:hover {
    background: var(--neutral-100);
}

.header-search-btn-mobile svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.header-logo {
    display: block;
}

.header-logo img {
    display: block;
    object-fit: cover;
    max-width: 120px;
}

/* Центральная навигация */
.header-catalog-nav {
    display: none;
    align-items: center;
    gap: 16px;
}

.header-catalog-nav a {
    font-size: 15px;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Поиск */
.header-search {
    position: relative;
    flex-grow: 1;
    max-width: 384px;
    display: none;
}

.header-search input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 48px;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s;
    outline: none;
}

.header-search input:hover {
    border-color: var(--neutral-300);
}

.header-search input:focus {
    outline: none;
    border-color: var(--neutral-600);
    color: var(--neutral-900);
}

.header-search input::placeholder {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-500);
}

.header-search button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header-search button svg {
    width: 20px;
    height: 20px;
    color: var(--neutral-500);
}

/* Правая часть нижней строки */
.header-bottom-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: var(--border-radius-30);
    color: var(--neutral-900);
    text-decoration: none;
    transition: background-color 0.2s;
}

.header-icon-btn:hover {
    background-color: var(--neutral-100);
}

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

.header-icon-badge {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    background-color: #ef4444;
    border-radius: var(--border-radius-30);
}

.header-icon-price {
    position: absolute;
    bottom: -4px;
    padding: 1px 6px;
    white-space: nowrap;
    font-size: 10px;
    color: white;
    background-color: rgba(23, 23, 23, 0.5);
    border-radius: var(--border-radius-40);
}

/* Кнопки */
.btn-primary,
.button.button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-primary:hover,
.button.button--primary:hover {
    color: var(--neutral-200);
}

.btn-primary svg,
.button.button--primary svg {
    width: 20px;
    height: 20px;
}

/* Button Outline Primary */
.button.button--outline.button--outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.button.button--outline.button--outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Button Black 2 */
.button.button--black-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background-color: var(--neutral-900);
    border: 1px solid var(--neutral-900);
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

/* Button White */
.button.button--white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    background: white;
    color: var(--neutral-900);
    border: 1px solid white;
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.button.button--white:hover {
    background: rgba(255, 255, 255, 0.9);
}

.button.button--black-2:hover {
    color: var(--neutral-200);
}

.button.button--icons {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.button.button--icons svg {
    width: 20px;
    height: 20px;
}

.size-5 {
    width: 20px;
    height: 20px;
}

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

.btn-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    background-color: var(--neutral-700);
    border: 1px solid var(--neutral-700);
    border-radius: 24px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-black:hover {
    background-color: var(--primary-color);
}

.btn-black.active {
    background-color: black;
}

/* SVG Icons */
.icon {
    width: 20px;
    height: 20px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

/* Responsive */
@media (min-width: 370px) {
    .header-burger span {
        width: 50px;
    }
}

@media (min-width: 480px) {
    .header-city {
        display: flex;
    }

    .header-logo img {
        max-width: 140px;
    }

    .header-phone-time {
        display: block;
    }

    .header-icon-btn {
        width: 44px;
        height: 44px;
    }

    .header-icon-btn.comparison {
        display: flex !important;
    }
}

@media (min-width: 640px) {
    .header-catalog-nav {
        display: flex;
    }

    .header-logo img {
        max-width: 160px;
    }
}

@media (min-width: 768px) {
    .btn-black.callback {
        display: inline-flex !important;
    }
}

@media (min-width: 992px) {
    .header-search {
        display: block;
    }
}

@media (min-width: 1170px) {
    .header-nav {
        display: flex;
    }

    .header-burger {
        display: none !important;
    }

    .btn-primary.catalog-btn {
        display: inline-flex !important;
    }

    .header-search {
        max-width: 480px;
    }
}

@media (min-width: 1400px) {
    .header-catalog-nav {
        gap: 32px;
    }

    .header-nav-item.contacts {
        display: block !important;
    }
}

/* Каталог dropdown */
.catalog-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    max-height: 80vh;
    overflow-y: auto;
}

.catalog-dropdown.active {
    opacity: 1;
    visibility: visible;
}

.catalog-dropdown::-webkit-scrollbar {
    width: 4px;
}

.catalog-dropdown::-webkit-scrollbar-track {
    background: white;
    border-radius: 9999px;
}

.catalog-dropdown::-webkit-scrollbar-thumb {
    background: var(--neutral-200);
    border-radius: 9999px;
}

.catalog-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-300);
}

.catalog-content {
    padding: 40px 0;
}

.catalog-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 24px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.catalog-grid::-webkit-scrollbar {
    width: 4px;
}

.catalog-grid::-webkit-scrollbar-track {
    background: white;
    border-radius: 9999px;
}

.catalog-grid::-webkit-scrollbar-thumb {
    background: var(--neutral-200);
    border-radius: 9999px;
}

.catalog-grid::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-300);
}

.catalog-item {
    display: flex;
    gap: 16px;
}

.catalog-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neutral-100);
    border-radius: 8px;
    flex-shrink: 0;
}

.catalog-icon img {
    display: block;
    object-fit: cover;
}

.catalog-links {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-links a {
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.catalog-links a:first-child {
    font-weight: 500;
}

.catalog-links a:hover {
    color: var(--primary-color);
}

.catalog-links a.main {
    font-weight: 500;
}

/* Mobile menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    padding: 16px;
    padding-bottom: 24px;
    padding-right: 4px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-search {
    position: relative;
    margin-bottom: 28px;
}

.mobile-search input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 48px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s;
}

.mobile-search input:hover {
    border-color: var(--neutral-300);
}

.mobile-search input:focus {
    border-color: var(--neutral-600);
    color: var(--neutral-900);
}

.mobile-search input::placeholder {
    font-weight: 500;
    color: var(--neutral-500);
}

.mobile-search button {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 63vh;
    overflow-y: auto;
    padding-right: 8px;
}

.mobile-menu-list::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-list::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: 9999px;
}

.mobile-menu-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 9999px;
}

.mobile-menu-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--neutral-200);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    text-align: left;
}

.mobile-menu-toggle.primary {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-menu-toggle span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.mobile-menu-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.mobile-menu-toggle.active svg {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding-left: 0;
}

.mobile-submenu.active {
    display: flex;
}

.mobile-submenu a {
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-submenu a:hover {
    color: var(--primary-color);
}

.mobile-menu-link {
    display: block;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media (min-width: 480px) {
    .container {
        max-width: 480px;
    }
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }

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

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 992px;
    }

    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-height: 500px;
    }
}

@media (min-width: 1170px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .catalog-grid {
        max-height: none;
    }
}

/* === ОСНОВНОЙ КОНТЕНТ === */

/* Hero секция */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.hero-container {
    display: flex;
    align-items: center;
    height: 550px;
    width: 100%;
    max-width: 100%;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.hero-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: white;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-list li svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-list li span {
    font-size: 14px;
    font-weight: 500;
}

/* Заголовки */
.title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
}

.title-h1 {
    font-size: 24px;
}

.title-sm {
    font-size: 18px;
}

/* Секции */
.section {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.catalog-section.uk-section {
    padding-top: 20px !important;
    margin-top: 0 !important;
}

.section-muted {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: var(--neutral-50);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Табы */
.tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--neutral-200);
}

.tabs-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button:hover {
    border-color: var(--neutral-400);
}

.tab-button.active {
    background-color: var(--neutral-900);
    color: white;
    border-color: var(--neutral-900);
}

.tabs-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Карточки товаров */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 16px;
    gap: 20px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    transition: all 0.2s;
    background: white;
}

.product-card-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.product-image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
    color: white;
    border-radius: var(--border-radius-30);
}

.product-badge.sale {
    background-color: var(--primary-color);
}

.product-badge.popular {
    background-color: #f97316;
}

.product-badge.best-price {
    background-color: #F97316;
}

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

.product-badge.date-end {
    background-color: #ffffff;
    color: #F97316;
    font-weight: 500;
}

.product-badge svg {
    width: 16px;
    height: 16px;
}

.product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.product-action-btn:hover {
    color: var(--primary-color);
}

.product-action-btn svg {
    width: 20px;
    height: 20px;
}

.product-image {
    display: block;
    width: 100%;
    max-width: 448px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23, 23, 23, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-title {
    display: block;
    font-weight: 500;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.product-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.product-price-old {
    font-size: 16px;
    color: var(--neutral-500);
    text-decoration: line-through;
}

.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-cart {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.btn-cart:hover {
    color: var(--neutral-200);
}

.btn-cart svg {
    width: 20px;
    height: 20px;
}

.btn-buy-one {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-buy-one:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Grid системы */
.grid {
    display: grid;
    gap: 20px;
}

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

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-responsive {
    grid-template-columns: 1fr;
}

@media (min-width: 480px) {
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1170px) {
    .grid-responsive {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Секция преимуществ */
.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.advantage-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.advantage-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.advantage-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.4;
}

/* Секция монтажа */
.mounting-section {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mounting-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(23, 23, 23, 0.7);
    z-index: 10;
}

.mounting-container {
    display: flex;
    align-items: center;
    height: 375px;
    width: 100%;
    max-width: 100%;
}

.mounting-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mounting-content {
    position: relative;
    z-index: 20;
}

.mounting-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mounting-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.mounting-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.mounting-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-200);
}

.mounting-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 12px;
    max-height: 260px;
    overflow-y: auto;
}

.mounting-features::-webkit-scrollbar {
    width: 4px;
}

.mounting-features::-webkit-scrollbar-track {
    background: white;
    border-radius: 9999px;
}

.mounting-features::-webkit-scrollbar-thumb {
    background: var(--neutral-200);
    border-radius: 9999px;
}

.mounting-feature {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mounting-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.mounting-feature-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-200);
}

/* Кнопка "Показать еще" */
.show-more-section {
    padding-top: 32px;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
}

.btn-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-78);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-show-more:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Attention блок */
.attention {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background-color: var(--neutral-50);
    border-radius: 8px;
}

/* Responsive для основного контента */
@media (min-width: 370px) {
    .hero-list li span {
        font-size: 14px;
    }
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-list li span {
        font-size: 16px;
    }

    .title {
        font-size: 24px;
    }

    .title-h1 {
        font-size: 32px;
    }

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

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

@media (min-width: 640px) {
    .tab-button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .section-content {
        gap: 40px;
    }

    .mounting-features {
        flex-direction: row;
        max-height: none;
        overflow: visible;
    }

    .mounting-feature {
        flex: 1;
    }
}

@media (min-width: 768px) {
    .hero-container {
        height: 650px;
    }

    .hero-content {
        gap: 40px;
    }

    .section {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .section-muted {
        padding-top: 80px;
        padding-bottom: 80px;
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .section-content {
        gap: 40px;
    }

    .advantages-grid {
        gap: 40px;
    }

    .advantage-icon {
        width: 48px;
        height: 48px;
    }

    .advantage-title {
        font-size: 18px;
    }

    .mounting-section {
        padding-top: 80px;
        padding-bottom: 80px;
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

@media (min-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mounting-features {
        gap: 40px;
    }
}

@media (min-width: 1170px) {
    .hero-title {
        font-size: 48px;
    }

    .title {
        font-size: 30px;
    }

    .title-h1 {
        font-size: 36px;
    }

    .section-content {
        gap: 56px;
    }

    .product-price-current {
        font-size: 20px;
    }

    .product-price-old {
        font-size: 18px;
    }

    .mounting-title {
        font-size: 32px;
    }

    .mounting-subtitle {
        font-size: 18px;
    }

    .mounting-feature-title {
        font-size: 18px;
    }
}

@media (min-width: 1400px) {
    .section {
        margin-top: 112px;
        margin-bottom: 112px;
    }

    .section-muted {
        padding-top: 112px;
        padding-bottom: 112px;
        margin-top: 112px;
        margin-bottom: 112px;
    }

    .mounting-section {
        margin-top: 112px;
        margin-bottom: 112px;
    }
}

/* === FOOTER === */

footer {
    padding-top: 24px;
    padding-bottom: 24px;
    background-color: var(--neutral-50);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    flex: 1 1 100%;
}

/* Footer column ordering */
.footer-col-brand {
    order: 1;
}

.footer-col-catalog {
    order: 3;
}

.footer-col-company {
    order: 4;
}

.footer-col-contacts {
    order: 2;
    align-self: flex-end;
}

.footer-logo img {
    display: block;
    object-fit: cover;
    max-width: 160px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s, color 0.2s;
    color: var(--text-body);
}

.footer-social-link:hover {
    border-color: var(--neutral-700);
}

.footer-social-link.whatsapp:hover {
    color: #0DC143;
}

.footer-social-link.telegram:hover {
    color: #18A3E6;
}

.footer-social-link.youtube:hover {
    color: #FF0000;
}

.footer-social-link.vk:hover {
    color: #18A3E6;
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: inherit;
}

.footer-social-link.youtube svg {
    width: 32px;
    height: 32px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
    color: var(--text-body);
}

.footer-info a {
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-info a:hover {
    color: var(--primary-color);
}

.footer-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-title:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    font-size: 15px;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
}

.footer-links li a.primary {
    color: var(--primary-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact a {
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-email {
    display: flex;
}

.footer-email a {
    font-weight: 500;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-email a:hover {
    color: var(--primary-color);
}

.footer-contact span {
    display: block;
    font-size: 12px;
    color: var(--neutral-600);
}

.footer-button {
    width: 208px;
}

/* Floating buttons */
.floating-buttons {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: white;
    border-radius: 50%;
    transition: background-color 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.floating-btn.whatsapp {
    background-color: #43d854;
}

.floating-btn.whatsapp:hover {
    background-color: var(--neutral-900);
}




.floating-btn.max {
    background-color: #22192f;
}

.floating-btn.max:hover {
    background-color: #8f3fff;
}

.floating-btn.max img {
    filter: brightness(0) invert(1);
}







.floating-btn.telegram {
    background-color: #0088cc;
}

.floating-btn.telegram:hover {
    background-color: var(--neutral-900);
}

.floating-btn.phone {
    background-color: var(--primary-color);
}

.floating-btn.phone:hover {
    background-color: var(--neutral-900);
}

.floating-btn svg,
.floating-btn img {
    width: 20px;
    height: 20px;
}

/* Form секция */
.form-section {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 16px;
    padding-top: 0;
    background-color: var(--neutral-50);
    border-radius: 16px;
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    order: 2;
}

.form-image {
    order: 1;
    align-self: flex-start;
}

.form-image img {
    display: block;
    object-fit: cover;
    width: 100%;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

.form-description {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin: 0;
}

.form-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    display: block;
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-48);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: all 0.2s;
    outline: none;
}

.form-input::placeholder {
    color: var(--neutral-500);
    font-weight: 500;
}

.form-input:hover {
    border-color: var(--neutral-300);
}

.form-input:focus {
    border-color: var(--neutral-600);
    color: var(--neutral-900);
}

.form-agreement {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.4;
}

.form-agreement a {
    color: var(--neutral-600);
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.form-agreement a:hover {
    color: var(--primary-color);
}

.form-submit {
    font-size: 12px;
    color: var(--text-body);
    line-height: 1.4;
}

.form-submit a {
    color: var(--neutral-600);
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.form-submit a:hover {
    color: var(--primary-color);
}

/* UIKit3 Modal Custom Styles */

/* City List in City Modal */
.city-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.city-list li a {
    display: block;
    font-size: 15px;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.city-list li a:hover {
    color: var(--primary-color);
}

@media (min-width: 640px) {
    .city-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 24px;
    }
}

/* Voucher Modal (Custom Modal) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(23, 23, 23, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-voucher-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    z-index: 20;
}

.modal-voucher-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-voucher-close svg {
    width: 24px;
    height: 24px;
}

.voucher-modal-content {
    position: relative;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 16px;
    overflow: hidden;
    min-height: 250px;
}

.voucher-modal-glow-left {
    position: absolute;
    left: 0;
    top: -64px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #F0866F 0%, rgba(240, 134, 111, 0.00) 100%);
    z-index: 0;
}

.voucher-modal-text {
    position: relative;
    z-index: 10;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voucher-modal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.voucher-modal-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.voucher-modal-img {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 10;
    display: none;
}

.voucher-modal-glow-right {
    position: absolute;
    right: -90px;
    top: -100px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: #F0866F;
    display: none;
}

@media (min-width: 640px) {
    .voucher-modal-content {
        padding: 48px 32px;
        min-height: 280px;
    }

    .voucher-modal-text {
        max-width: 380px;
        gap: 20px;
    }

    .voucher-modal-img {
        display: block;
    }

    .voucher-modal-glow-right {
        display: block;
    }
}

@media (min-width: 1024px) {
    .modal-voucher-wrapper {
        max-width: 900px;
    }

    .voucher-modal-content {
        padding: 56px 60px;
        min-height: 300px;
    }

    .voucher-modal-text {
        max-width: 420px;
    }

    .voucher-modal-title {
        font-size: 28px;
    }

    .voucher-modal-img {
        right: -60px;
        top: -80px;
        width: 360px;
        height: 360px;
    }

    .voucher-modal-glow-right {
        right: -100px;
        top: -120px;
        width: 420px;
        height: 420px;
    }
}

/* Fancybox Print Button */
.fancybox-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 12px;
}

.fancybox-print-btn:hover {
    background: #E66B4E;
}

.fancybox-print-btn svg {
    width: 20px;
    height: 20px;
}

/* === CATALOG PAGE === */

/* Catalog Hero */
.catalog-hero {
    max-width: 672px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

h1,
.catalog-hero-title,
.sf_h1 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Класс с шрифтом Onest */
.text-onest {
    font-family: Onest, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
}

.catalog-hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
    text-align: center;
}

.catalog-hero-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Catalog Categories Section */
.catalog-categories-section {
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: 5px;
    margin-bottom: 4px;
}

.catalog-categories-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.catalog-category-card {
    display: block;
    padding: 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-category-card:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

.catalog-category-image {
    display: block;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
}

.catalog-category-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s, opacity 0.2s;
}

.catalog-category-card:hover .catalog-category-image img {
    transform: scale(1.05);
    opacity: 0.9;
}

.catalog-category-img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.2s;
}

.catalog-category-card:hover .catalog-category-img {
    opacity: 0.8;
}

.catalog-category-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-category-title-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.catalog-category-title {
    font-weight: 500;
    color: var(--text-body);
    transition: color 0.2s;
}

.catalog-category-card:hover .catalog-category-title {
    color: var(--primary-color);
    text-decoration: none;
}

.catalog-category-arrow {
    width: 0;
    height: 0;
    color: var(--primary-color);
    transition: all 0.2s;
    position: absolute;
    right: 0;
    transform: translateX(100%);
    opacity: 0;
}

.catalog-category-card:hover .catalog-category-arrow {
    width: 15px;
    height: 15px;
    right: -2px;
    opacity: 1;
}

.catalog-category-count {
    font-size: 12px;
    color: var(--neutral-500);
}

/* Content Text Links */
.content-text a,
.prose a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.content-text a:hover,
.prose a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Production Video */
.production-video {
    margin: 24px 0;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.production-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Rutube Video Modal */
#rutubePlayerContainer {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

#rutubePlayerContainer iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Salon Gallery */
.salon-gallery-section {
    margin: 24px 0;
}

.salon-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    transition: box-shadow 0.3s, transform 0.3s;
}

.salon-gallery-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.salon-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.salon-gallery-item:hover img {
    transform: scale(1.05);
}

/* Catalog Tags */
.catalog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.catalog-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 9999px;
    font-size: 14px;
    color: var(--neutral-900);
    text-decoration: none;
    transition: all 0.2s;
}

.catalog-tag:hover {
    border-color: var(--primary-color);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    text-decoration: none;
}

.catalog-tag-count {
    font-size: 12px;
    color: var(--neutral-500);
}

.catalog-tag:hover .catalog-tag-count {
    color: var(--primary-color);
}

/* Show More Button */
.catalog-show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    padding: 6px;
    background: none;
    border: none;
    color: var(--text-body);
    cursor: pointer;
    transition: color 0.2s;
    font-size: 14px;
}

.catalog-show-more-btn:hover {
    color: var(--primary-color);
}

.catalog-show-more-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

/* Products Section */
.catalog-products-section {
    margin-top: 16px;
    margin-bottom: 40px;
}

.catalog-products-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Filters Sidebar */
.catalog-filters {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 9998;
    padding: 56px 16px;
    transition: left 0.3s;
}

.catalog-filters.active {
    left: 0;
}

.catalog-filters-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.catalog-filters-close:hover {
    color: var(--primary-color);
}

.catalog-filters-close svg {
    width: 20px;
    height: 20px;
}

.catalog-filters-scroll {
    max-height: calc(80vh);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Filter Group */
.catalog-filter-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.catalog-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-200);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    color: var(--neutral-900);
    font-size: 16px;
    cursor: pointer;
    text-align: left;
}

.catalog-filter-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.catalog-filter-group.active .catalog-filter-arrow {
    transform: rotate(180deg);
}

.catalog-filter-content {
    display: none;
}

.catalog-filter-group.active .catalog-filter-content {
    display: block;
}

/* Filter Price */
.catalog-filter-price {
    display: flex;
    align-items: center;
    gap: 4px;
}

.catalog-filter-price input {
    flex: 1;
}

.catalog-filter-price-separator {
    font-size: 14px;
    color: var(--text-body);
}

/* Filter Checkbox */
.catalog-filter-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 240px;
    overflow-y: auto;
    padding-bottom: 16px;
}

.catalog-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.catalog-filter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.catalog-filter-checkbox-count {
    margin-left: auto;
    font-size: 14px;
    color: var(--neutral-500);
}

/* Additional Filters (hidden by default) */
.catalog-filters-additional {
    display: none;
    flex-direction: column;
    gap: 24px;
}

.catalog-filters-additional.active {
    display: flex;
}

/* Show All Filters Button */
.catalog-filters-show-all {
    display: none;
    text-align: center;
    margin-top: 8px;
}

.catalog-show-all-filters-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.catalog-show-all-filters-btn svg {
    width: 20px;
    height: 20px;
}

/* Products Header */
.catalog-products-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: 24px;
}

.catalog-products-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
}

.catalog-products-count-number {
    color: var(--neutral-900);
    font-weight: 500;
}

.catalog-products-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Sort Dropdown */
.catalog-sort-dropdown {
    position: relative;
}

.catalog-sort-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-body);
    cursor: pointer;
    transition: color 0.2s;
}

.catalog-sort-trigger:hover {
    color: var(--primary-color);
}

.catalog-sort-trigger svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.catalog-sort-dropdown.active .catalog-sort-trigger svg {
    transform: rotate(180deg);
}

.catalog-sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 50;
    min-width: 240px;
    padding: 8px 0;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    list-style: none;
    margin: 0;
    display: none;
}

.catalog-sort-dropdown.active .catalog-sort-menu {
    display: block;
}

/* На мобильных дропдаун прижат к правому краю, иначе уезжает за экран */
@media (max-width: 991.98px) {
    .catalog-sort-menu {
        right: 0;
        left: auto;
    }
}

.catalog-sort-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-body);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.catalog-sort-option:hover {
    color: var(--primary-color);
}

.catalog-sort-option.active {
    background: var(--neutral-50);
}

.catalog-sort-check {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.2s;
}

.catalog-sort-option.active .catalog-sort-check {
    opacity: 1;
}

/* View Switcher */
.catalog-view-switcher {
    display: none;
    align-items: center;
    gap: 8px;
}

.catalog-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    transition: color 0.2s;
}

.catalog-view-btn svg {
    width: 20px;
    height: 20px;
    color: var(--text-body);
    transition: color 0.2s;
}

.catalog-view-btn.active svg {
    color: var(--primary-color);
}

.catalog-view-btn:hover svg {
    color: var(--neutral-900);
}

/* Mobile Filters Button */
.catalog-mobile-filters {
    display: block;
    position: sticky;
    top: 152px;
    /* ниже шапки с мобильным меню (.header-main = 50) и выпадающей сортировки (.catalog-sort-menu = 50) */
    z-index: 10;
    margin-bottom: 16px;
    background: transparent;
    padding: 0;
}

.catalog-mobile-filters .button {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    min-height: auto;
}

/* Разрешить sticky на мобильных/планшетах */
@media (max-width: 991.98px) {
    .catalog-products-section {
        overflow: visible !important;
    }
}

/* Catalog Banner Card (after 6th product) - Horizontal */
.catalog-banner-wrapper {
    grid-column: 1 / -1;
    width: 100%;
}

.catalog-banner-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 16px;
    padding: 32px;
}

.catalog-banner-icon {
    flex-shrink: 0;
}

.catalog-banner-content {
    flex-grow: 1;
}

.catalog-banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.catalog-banner-text {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.catalog-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #F97316;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.catalog-banner-btn:hover {
    background-color: #EA580C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
    .catalog-banner-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 24px;
    }
    
    .catalog-banner-title {
        font-size: 20px;
    }
    
    .catalog-banner-text {
        font-size: 14px;
    }
}

/* Product Card for Catalog Page */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.product-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 12px;
    max-width: max-content;
    border: none;
    cursor: pointer;
}

.product-badge-sale {
    background: var(--primary-color);
    color: white;
}

.product-badge-popular {
    background: #f97316;
    color: white;
}

.product-badge-voucher {
    background: #22c55e;
    color: white;
}

.product-badge svg {
    width: 16px;
    height: 16px;
}

.product-badge-sale svg {
    color: #fbbf24;
}

.product-badge-popular svg {
    color: #fed7aa;
}

.product-badge-voucher svg {
    color: #fed7aa;
}

.product-card-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .product-card-actions {
    opacity: 1;
}

.product-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s;
}

.product-action-btn:hover {
    color: var(--primary-color);
}

.product-action-btn svg {
    width: 20px;
    height: 20px;
}

.product-card-img {
    display: block;
    width: 100%;
    max-width: 384px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-title {
    display: block;
    font-weight: 500;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.product-card:hover .product-card-title {
    color: var(--primary-color);
}

.product-card-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
}

.product-price-old {
    font-size: 16px;
    color: var(--neutral-500);
    text-decoration: line-through;
}

.product-card-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-btn-cart,
.product-btn-buy {
    width: 100%;
}

.product-btn-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-btn-cart svg {
    width: 20px;
    height: 20px;
}

/* Load More Button */
.catalog-load-more {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 20px;
}

/* Visit Banner */
.catalog-visit-banner {
    position: relative;
    display: none;
    height: 290px;
    background: var(--primary-color);
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
    padding: 16px;
    overflow: hidden;
    align-items: center;
}

.catalog-visit-banner-glow-left {
    position: absolute;
    top: -64px;
    left: 0;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #F0866F 0%, rgba(240, 134, 111, 0.00) 100%);
    z-index: 0;
}

.catalog-visit-banner-content {
    position: relative;
    z-index: 1;
    max-width: 384px;
}

.catalog-visit-banner-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 16px;
}

.catalog-visit-banner-text p {
    font-size: 15px;
    color: #fbbf24;
    line-height: 1.6;
}

.catalog-visit-banner-img {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 10;
}

.catalog-visit-banner-glow-right {
    position: absolute;
    top: -100px;
    right: -90px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: #F0866F;
    z-index: 5;
}

/* Pagination */
.catalog-pagination-wrapper {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-200);
}

.catalog-pagination-text {
    font-size: 14px;
    text-align: center;
    color: var(--text-body);
    margin-bottom: 24px;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-link:hover {
    color: var(--primary-color);
}

.pagination-link span {
    transition: color 0.2s;
}

.pagination-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pagination-link:hover svg {
    color: var(--primary-color);
}

.pagination-prev svg {
    transform: rotate(180deg);
}

.pagination-numbers {
    display: none;
    align-items: center;
    gap: 16px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-number:hover {
    border-color: var(--neutral-400);
}

.pagination-number-active {
    background: var(--neutral-900);
    border-color: transparent;
    color: white;
}

.pagination-dots {
    font-size: 14px;
    color: var(--neutral-500);
}

/* Articles Section */
.catalog-articles-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.catalog-article {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.2s;
}

.catalog-article:hover {
    border-color: var(--neutral-400);
}

.catalog-article-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.catalog-article-image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 12px;
    transition: background 0.2s;
    z-index: 10;
}

.catalog-article:hover .catalog-article-image-wrap::before {
    background: rgba(0, 0, 0, 0.4);
}

.catalog-article-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s;
}

.catalog-article:hover .catalog-article-image {
    transform: scale(1.1);
}

.catalog-article-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 5;
}

.catalog-article:hover .catalog-article-overlay {
    opacity: 1;
}

.catalog-article-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 20;
}

.catalog-article:hover .catalog-article-more {
    opacity: 1;
}

.catalog-article-more svg {
    width: 20px;
    height: 20px;
}

.catalog-article-text h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
    line-height: 1.4;
    transition: color 0.2s;
}

.catalog-article:hover .catalog-article-text h3,
.catalog-article-large:hover .catalog-article-text h3 {
    color: var(--primary-color);
}

.catalog-article-text p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    margin-top: 12px;
}

/* Large Article */
.catalog-article-large {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.catalog-article-large:hover .catalog-article-image-wrap::before {
    background: rgba(0, 0, 0, 0.4);
}

.catalog-article-large:hover .catalog-article-image {
    transform: scale(1.1);
}

.catalog-article-large:hover .catalog-article-overlay {
    opacity: 1;
}

.catalog-article-large:hover .catalog-article-more {
    opacity: 1;
}

/* SEO Section Styles */
.catalog-seo-wrapper {
    padding: 16px;
    background: var(--neutral-50);
    border-radius: 16px;
}

.catalog-seo-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.3;
    margin-bottom: 16px;
}

.catalog-seo-wrapper h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    line-height: 1.4;
    margin-bottom: 12px;
}

.catalog-seo-wrapper p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.catalog-seo-collapsed {
    display: none;
    margin-top: 24px;
}

.catalog-seo-collapsed.active {
    display: block;
}

.catalog-seo-toggle-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    margin-top: 24px;
    padding: 0;
    background: none;
    border: none;
    color: var(--text-body);
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.catalog-seo-toggle-btn:hover {
    color: var(--primary-color);
}

.catalog-seo-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.catalog-seo-toggle-btn svg:hover {
    color: var(--neutral-900);
}

/* ===== PRODUCT PAGE ===== */
.product-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Product Header */
.product-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-title-main {
    font-size: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0;
}

.product-actions-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.product-action-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.product-action-link:hover,
.product-action-link.active {
    color: var(--primary-color);
}

.product-action-link svg {
    width: 20px;
    height: 20px;
}

/* Product Main Grid */
.product-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Gallery Column */
.product-gallery-col {
    grid-column: 1;
}

.product-gallery-wrapper {
    position: relative;
}

.product-gallery-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-gallery-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-gallery-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--neutral-900);
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: color 0.2s;
}

.product-gallery-action-btn:hover {
    color: var(--neutral-200);
}

.product-gallery-action-btn svg {
    width: 20px;
    height: 20px;
}

.product-gallery-main {
    margin-bottom: 20px;
}

.product-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 226, 226, 0.4);
    border-radius: 16px;
    text-decoration: none;
    min-height: 300px;
    overflow: hidden;
}

.product-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery-thumbs-wrapper {
    position: relative;
}

.product-gallery-thumbs-container {
    overflow-x: hidden;
    overflow-y: hidden;
    width: 100%;
}

.product-gallery-thumbs-grid {
    display: flex;
    gap: 8px;
    transition: transform 0.3s ease;
}

.product-gallery-thumbs-grid a {
    flex: 0 0 calc((100% - 24px) / 4);
}

.product-gallery-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    padding: 8px;
    background: rgba(226, 226, 226, 0.4);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: var(--primary-color);
}

.product-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-gallery-thumb-more {
    position: relative;
}

.product-gallery-thumb-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

.product-gallery-thumb-more::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 5;
}

.product-gallery-thumbs-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--neutral-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.product-gallery-thumbs-arrow:hover {
    background: var(--neutral-200);
}

.product-gallery-thumbs-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--neutral-900);
}

.product-gallery-thumbs-arrow-prev {
    left: -50px;
}

.product-gallery-thumbs-arrow-prev svg {
    transform: rotate(90deg);
}

.product-gallery-thumbs-arrow-next {
    right: -50px;
}

.product-gallery-thumbs-arrow-next svg {
    transform: rotate(-90deg);
}

.product-gallery-thumbs-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.product-gallery-thumbs-dot {
    width: 8px;
    height: 8px;
    background: var(--neutral-300);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}

.product-gallery-thumbs-dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 992px) {
    .product-gallery-thumbs-dots {
        display: none;
    }
}

/* Specs Column */
.product-specs-col {
    display: none;
}

/* Buy Column */
.product-buy-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-buy-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 16px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 24px;
}

.product-price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
}

.product-price-old {
    font-size: 18px;
    color: var(--neutral-500);
    text-decoration: line-through;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s;
}

.quantity-btn:hover {
    border-color: var(--neutral-600);
}

.quantity-btn svg {
    width: 20px;
    height: 20px;
}

.quantity-input {
    width: 90px;
    padding: 10px 12px;
    text-align: center;
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-48);
    font-size: 15px;
}

.product-buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-buy-buttons button {
    width: 100%;
}

/* Voucher Banner */
.product-voucher-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 16px;
    background: var(--primary-color);
    border-radius: 16px;
    overflow: hidden;
}

.product-voucher-glow {
    position: absolute;
    left: 0;
    top: -64px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #F0866F 0%, rgba(240, 134, 111, 0.00) 100%);
    z-index: 0;
}

.product-voucher-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.product-voucher-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* Promo Card */
.product-promo-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
}

.product-promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-promo-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-100);
    border-radius: 50%;
}

.product-promo-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.product-promo-text {
    font-size: 14px;
    color: var(--text-body);
}

.product-promo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
}

.product-promo-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

/* Product Tabs Section */
.product-tabs-section {
    margin-top: 40px;
    margin-bottom: 40px;
    scroll-margin-top: 180px;
}

.product-tabs-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* UIKit3 Accordion for Mobile */
.product-accordion {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-accordion > li {
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.product-accordion .uk-accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: white;
    color: var(--neutral-900);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.product-accordion .uk-accordion-title:hover {
    text-decoration: none;
}

.product-accordion .uk-accordion-title svg {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--neutral-600);
}

.product-accordion .uk-open > .uk-accordion-title {
    background: #FFF4ED;
    color: var(--primary-color);
}

.product-accordion .uk-open > .uk-accordion-title svg {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.product-accordion .uk-accordion-content {
    padding: 0 20px 20px 20px;
}

/* Tabs Navigation (hidden on mobile) */
.product-tabs-nav {
    display: none;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-200);
}

.product-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: white;
    color: var(--text-body);
    border: 1px solid var(--neutral-200);
    border-radius: var(--border-radius-78);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.product-tab-btn:hover {
    border-color: var(--neutral-600);
}

.product-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.product-tabs-panels {
    display: none;
    margin-top: 20px;
}

.product-tab-panel {
    display: none;
}

/* Increase spacing in tabs specs */
.product-tabs-panels .product-spec-item {
    gap: 48px;
}

.product-tabs-panels .spec-label,
.product-tabs-panels .spec-label-with-tooltip {
    min-width: 180px;
}

.product-tab-panel.active {
    display: block;
}

/* Product Specs Grid (in tabs) */
.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-specs-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.product-spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    gap: 32px;
    width: 100%;
}

.spec-label {
    color: var(--text-body);
    flex-shrink: 0;
}

.spec-label-with-tooltip {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 4px;
    flex-shrink: 0;
    flex-grow: 0 !important;
    width: auto !important;
    max-width: fit-content;
}

.spec-tooltip-icon {
    width: 16px;
    height: 16px;
    color: var(--neutral-400);
    cursor: help;
    flex-shrink: 0;
    transition: color 0.2s;
    margin-top: 1px;
}

/* Specific for main specs column */
.product-specs-col .product-spec-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.product-specs-col .spec-label-with-tooltip {
    display: inline-flex !important;
    width: auto !important;
}

.spec-tooltip-icon:hover {
    color: var(--neutral-600);
}

/* UIKit Tooltip Custom Styles */
.uk-tooltip {
    background: white;
    color: var(--neutral-900);
    border: 1px solid var(--neutral-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 300px;
}

.spec-value,
.spec-value-link {
    color: var(--neutral-900);
    text-align: right;
}

/* Prose - content typography */
.prose {
    line-height: 1.7;
    color: var(--text-body);
    font-size: 0.875rem; /* 14px - as in Tailwind config */
    max-width: none;
}

.prose p {
    margin: 16px 0;
    font-size: 0.875rem; /* 14px */
    line-height: 1.7;
}

.prose h3 {
    font-size: 1.1rem; /* ~17.6px - as in Tailwind config */
    font-weight: 500;
    color: var(--neutral-900);
    margin: 24px 0 16px 0;
}

.prose ul,
.prose ol {
    margin: 16px 0;
    padding-left: 24px;
}

.prose li {
    margin: 8px 0;
    font-size: 0.875rem; /* 14px */
}

/* Product Why Grid */
.product-why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-why-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-why-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.product-why-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.product-why-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Product Guarantee Section */
.product-guarantee-section {
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin: 40px 0;
    background: var(--neutral-900);
}

.product-guarantee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.product-guarantee-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none;
}

.product-guarantee-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-guarantee-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-align: center;
    margin: 0;
}

.product-guarantee-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-guarantee-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-guarantee-subtitle {
    font-size: 16px;
    color: var(--neutral-300);
}

.product-guarantee-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.product-guarantee-item svg {
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-guarantee-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-200);
    line-height: 1.5;
}

/* Product Similar Section */
.product-similar-section {
    margin: 40px 0;
}

.product-similar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--neutral-200);
    margin-bottom: 24px;
}

.product-similar-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0;
}

.product-similar-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.product-slider-btn:hover {
    border-color: var(--neutral-600);
}

.product-slider-btn svg {
    width: 20px;
    height: 20px;
}

.product-slider-btn:first-child svg {
    transform: rotate(180deg);
}

/* Similar products - smaller prices */
.product-similar-section .product-price-current {
    font-size: 16px;
}

.product-similar-section .product-price-old {
    font-size: 14px;
}

/* Similar products - equal height cards */
.product-similar-section .uk-slider-items {
    align-items: stretch;
}

.product-similar-section .uk-slider-items > li {
    display: flex;
    height: auto;
}

.product-similar-section .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Products List View (for catalog2.php) */
.product-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    position: relative;
}

.product-list-image {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 100%;
}

.product-list-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.product-list-actions-mobile {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-action-btn-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.2s;
}

.product-action-btn-sm:hover {
    color: var(--primary-color);
}

.product-action-btn-sm svg {
    width: 16px;
    height: 16px;
}

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

.product-list-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-list-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.product-list-title:hover {
    color: var(--primary-color);
}

.product-list-badges {
    display: none;
    flex-wrap: wrap;
    gap: 4px;
}

.product-list-specs {
    display: none;
    grid-template-columns: 1fr;
    gap: 12px;
}

.product-list-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
}

.product-list-spec a {
    color: var(--neutral-900);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.product-list-spec a:hover {
    color: var(--primary-color);
}

.product-list-spec .spec-value {
    color: var(--neutral-900);
}

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

.product-list-price {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-list-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-list-buttons button {
    width: 100%;
}

.product-list-actions-desktop {
    display: none;
}

/* Load More & Banner in List View */
.products-list .catalog-load-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.products-list .catalog-visit-banner {
    display: block;
    margin-top: 24px;
}

/* SEO Section */
.catalog-seo-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Мобильная версия: хедер */
@media (max-width: 639.98px) {
    /* Скрываем логотип на мобильных */
    .header-logo {
        display: none !important;
    }
    
    /* Скрываем "Ваш город" на мобильных */
    .header-city {
        display: none !important;
    }
    
    /* Показываем baloon вместо "Ваш город" */
    .header-city-mobile {
        display: flex !important;
        align-items: center;
    }
    
    .header-city-mobile img {
        width: 32px;
        height: 32px;
    }
    
    /* Скрываем оригинальный гамбургер в header-bottom */
    .header-bottom .header-burger {
        display: none !important;
    }
    
    /* Показываем мобильный гамбургер в header-top-right */
    .header-burger-mobile {
        display: flex !important;
    }
    
    /* Настраиваем отображение телефона на мобильных */
    .header-phone a {
        font-size: 13px;
    }
    
    .header-phone-time {
        font-size: 11px;
    }
    
    /* Показываем мобильную кнопку каталога */
    .catalog-btn-mobile {
        display: inline-flex !important;
    }
    
    /* Показываем мобильную ссылку "Акции" */
    .sale-link-mobile {
        display: inline-flex !important;
    }
    
    /* Показываем мобильную кнопку поиска */
    .header-search-btn-mobile {
        display: inline-flex !important;
    }
}

/* Стили для offcanvas поиска */
#offcanvas-search .offcanvas-search-bar {
    background: white;
    padding: 20px;
    height: auto;
    width: 100%;
    max-width: 100%;
}

#offcanvas-search .uk-offcanvas-close {
    color: var(--neutral-900);
}

#offcanvas-search .uk-offcanvas-close:hover {
    color: var(--primary-color);
}

.offcanvas-search-content {
    margin-top: 20px;
}

/* Мобильная версия: блоки как плашки */
@media (max-width: 639.98px) {
    .catalog-categories-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .catalog-category-card {
        flex-direction: row;
        text-align: left;
        padding: 8px;
        gap: 8px;
        align-items: center;
        width: 100%;
    }
    
    /* Последний (5-й) блок по центру */
    .catalog-category-card:nth-child(5) {
        grid-column: span 2;
        justify-self: center;
        max-width: 50%;
    }
    
    .catalog-category-img {
        width: 40px;
        height: 40px;
        min-width: 40px;
        object-fit: contain;
        margin: 0;
    }
    
    .catalog-category-content {
        flex: 1;
        gap: 0;
    }
    
    .catalog-category-title {
        font-size: 13px;
    }
    
    .catalog-category-title-wrap {
        justify-content: flex-start;
    }
    
    .catalog-category-count {
        display: none;
    }
    
    .catalog-hero-title {
        font-size: 24px;
    }
}

/* Responsive для footer */
@media (min-width: 480px) {
    .footer-social-link {
        width: 40px;
        height: 40px;
    }

    .footer-social-link svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
        color: inherit;
    }

    .footer-social-link.youtube svg {
        width: 40px;
        height: 40px;
    }

    .floating-buttons {
        gap: 16px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
    }

    .city-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 16px;
    }

    .modal-submit {
        width: auto;
    }

    /* Catalog responsive */
    .catalog-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-category-card {
        padding: 16px;
    }

    .catalog-tags {
        justify-content: center;
    }

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

}

/* Responsive для modal */
@media (min-width: 640px) {
    .modal-content {
        padding: 24px;
    }

    .modal-title {
        font-size: 24px;
    }

    /* Catalog */
    .catalog-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-category-card {
        padding: 24px;
    }

    .catalog-categories-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .catalog-categories-wrapper {
        gap: 16px;
    }
}

@media (min-width: 768px) {
    /* Catalog */
    .catalog-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .catalog-hero-title {
        font-size: 40px;
    }

    /* Products Section */
    .catalog-products-section {
        margin-bottom: 80px;
        overflow: visible !important;
    }

    /* Pagination */
    .pagination-numbers {
        display: flex;
    }

    .pagination-number {
        width: 40px;
        height: 40px;
    }

    /* Articles */
    .catalog-article-large {
        flex-direction: row;
    }

    /* SEO */
    .catalog-seo-wrapper {
        padding: 24px;
    }

    /* Products List View */
    .product-list-badges {
        display: flex;
    }

    /* Product Page (md) */
    .product-main-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 32px;
    }

    .product-gallery-col {
        grid-column: span 3;
    }

    .product-buy-col {
        grid-column: span 2;
    }

    .product-buy-buttons {
        flex-direction: row;
    }
}

/* Планшеты: 3 блока в первом ряду, 2 во втором */
@media (min-width: 768px) and (max-width: 991.98px) {
    .catalog-categories-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .catalog-category-card:nth-child(1),
    .catalog-category-card:nth-child(2),
    .catalog-category-card:nth-child(3) {
        flex: 0 0 calc(33.333% - 7px);
    }
    
    .catalog-category-card:nth-child(4),
    .catalog-category-card:nth-child(5) {
        flex: 0 0 calc(50% - 5px);
    }
}

@media (min-width: 992px) {
    .modal-content {
        padding: 40px;
    }

    .modal-close {
        width: 48px;
        height: 48px;
        top: 24px;
        right: 24px;
    }

    .modal-header {
        gap: 28px;
    }

    .modal-body {
        gap: 28px;
    }

    /* Catalog */
    .catalog-categories-section {
        padding-top: 40px;
        padding-bottom: 64px;
        margin-top: 80px;
        margin-bottom: 32px;
    }

    .catalog-categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .catalog-category-card {
        padding: 24px;
    }

    /* Products Section */
    .catalog-products-layout {
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }

    .catalog-filters {
        position: static;
        top: auto;
        align-self: flex-start;
        width: auto;
        height: auto;
        padding: 0;
        background: none;
        z-index: 10;
    }

    .catalog-filters-close {
        display: none;
    }

    .catalog-filters-scroll {
        max-height: none;
        overflow-y: visible;
        padding-bottom: 20px;
    }
    
    /* Скрыть scrollbar (скролл работает, но не виден) */
    .catalog-filters-scroll::-webkit-scrollbar {
        display: none;
    }
    
    /* Firefox */
    .catalog-filters-scroll {
        scrollbar-width: none;
    }
    
    /* IE/Edge */
    .catalog-filters-scroll {
        -ms-overflow-style: none;
    }

    .catalog-filters-btn {
        display: none;
    }

    .catalog-mobile-filters {
        display: none;
    }

    .catalog-pagination-wrapper {
        margin-top: 60px;
    }

    .catalog-pagination-text {
        font-size: 15px;
    }

    /* Visit Banner */
    .catalog-visit-banner {
        display: flex;
        grid-column: span 2;
    }

    /* Show All Filters Button (desktop only) */
    .catalog-filters-show-all {
        display: block;
    }

    /* Product Page (992px+) */
    border-radius: 50%;
    cursor: pointer;
}

.product-gallery-thumbs-prev {
    left: -56px;
}

.product-gallery-thumbs-next {
    right: -40px;
}

.product-gallery-thumbs-prev svg,
.product-gallery-thumbs-next svg {
    width: 24px;
    height: 24px;
}

.product-gallery-thumbs-prev svg {
    transform: rotate(90deg);
}

.product-gallery-thumbs-next svg {
    transform: rotate(-90deg);
}

/* View Switcher (desktop only) */
.catalog-view-switcher {
    display: flex;
}

/* Products List View (desktop) */
.product-card-list {
    flex-wrap: nowrap;
    gap: 24px;
    padding: 24px;
}

.product-list-image {
    width: auto;
    height: 180px;
}

.product-list-image img {
    height: 100%;
    width: auto;
}

.product-list-actions-mobile {
    display: none;
}

.product-list-info {
    flex: 1;
    max-width: 320px;
}

.product-list-specs {
    display: grid;
}

.product-list-actions {
    width: auto;
}

.product-list-buttons {
    flex-direction: column;
    gap: 8px;
}

.product-list-buttons button {
    padding: 12px 32px;
}

.product-list-actions-desktop {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-seo-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.catalog-seo-wrapper h2 {
    font-size: 32px;
}

.catalog-seo-wrapper {
    padding: 32px;
}


@media (min-width: 1170px) {
    /* Catalog */
    .catalog-hero {
        gap: 24px;
    }
}

@media (min-width: 1280px) {
    /* Catalog */
    .catalog-categories-grid {
        gap: 10px;
    }

    .catalog-category-card {
        padding: 6px 14px;
    }

    /* Products Section */
    .catalog-products-layout {
        grid-template-columns: 300px 1fr;
        gap: 80px;
    }

    /* Visit Banner */
    .catalog-visit-banner {
        grid-column: span 3;
        padding: 16px 80px;
    }

    .catalog-visit-banner-text h3 {
        font-size: 32px;
    }

    .catalog-visit-banner-img {
        width: 450px;
        height: 450px;
        top: -150px;
        right: -70px;
    }

    .catalog-visit-banner-glow-right {
        width: 520px;
        height: 520px;
        top: -200px;
        right: -100px;
    }

    /* Products List View (2xl) */
    .product-list-info {
        max-width: 448px;
    }

    .product-list-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Product Page (xl) */
    .product-main-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .product-gallery-col {
        grid-column: span 5;
    }

    .product-specs-col {
        display: block;
        grid-column: span 3;
        padding: 16px;
        margin-top: 32px;
    }

    .product-specs-title {
        font-size: 16px;
        font-weight: 500;
        color: var(--neutral-900);
        margin: 0 0 24px 0;
    }

    .product-specs-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 0 24px 0;
        margin: 0;
        border-bottom: 1px solid var(--neutral-200);
        list-style: none;
    }

    .product-spec-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        gap: 16px;
    }

    .spec-label {
        color: var(--text-body);
    }

    .spec-label-with-tooltip {
        width: auto !important;
    }

    .spec-value {
        color: var(--neutral-900);
    }

    .spec-value-link {
        color: var(--neutral-900);
        text-decoration: underline;
        text-underline-offset: 2px;
        transition: color 0.2s;
    }

    .spec-value-link:hover {
        color: var(--primary-color);
    }

    .product-specs-all-link {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 24px;
        padding: 0;
        background: none;
        border: none;
        font-size: 15px;
        color: var(--text-body);
        text-decoration: none;
        cursor: pointer;
        transition: color 0.2s;
    }

    .product-specs-all-link:hover {
        color: var(--primary-color);
    }

    .product-specs-all-link svg {
        width: 20px;
        height: 20px;
    }

    .product-buy-col {
        grid-column: span 4;
    }

    .product-buy-buttons {
        flex-direction: column;
    }

    /* Product Page (2xl) */
    .product-section {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .product-content {
        gap: 40px;
    }

    .product-title-main {
        font-size: 32px;
    }

    .product-actions-top {
        gap: 32px;
    }

    .product-action-link {
        font-size: 16px;
    }

    .product-gallery-action-btn {
        width: 48px;
        height: 48px;
    }

    .product-gallery-item {
        min-height: 535px;
        height: 535px;
    }

    .product-gallery-thumbs-arrow {
        display: flex;
    }

    .product-gallery-thumbs-grid a {
        flex: 0 0 calc((100% - 32px) / 5);
    }

    .product-buy-card {
        padding: 32px;
    }

    .product-price-current {
        font-size: 30px;
    }

    .product-price-old {
        font-size: 24px;
    }

    .quantity-btn {
        width: 44px;
        height: 44px;
    }

    .product-voucher-title {
        font-size: 24px;
    }

    .product-promo-card {
        padding: 24px;
    }

    .product-promo-title {
        font-size: 18px;
    }

    /* Product Tabs (768px+) */
    .product-tabs-section {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .product-tabs-content {
        gap: 40px;
    }

    /* Hide accordion on desktop, show tabs */
    .product-accordion {
        display: none;
    }

    .product-tabs-nav {
        display: flex;
    }

    .product-tabs-panels {
        display: flex;
    }

    .product-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .product-why-icon {
        width: 48px;
        height: 48px;
    }

    .product-why-title {
        font-size: 18px;
    }

    .prose h3 {
        font-size: 24px;
    }

    /* Product Guarantee (md) */
    .product-guarantee-bg {
        display: block;
    }

    .product-guarantee-section {
        padding: 80px 0;
        margin: 80px 0;
    }

    .product-guarantee-content {
        gap: 56px;
    }

    .product-guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .product-guarantee-subtitle {
        font-size: 20px;
    }

    /* Product Similar (md) */
    .product-similar-section {
        margin: 80px 0;
    }

    .product-similar-title {
        font-size: 32px;
    }

    /* Similar products - larger prices on desktop */
    .product-similar-section .product-price-current {
        font-size: 20px;
    }

    .product-similar-section .product-price-old {
        font-size: 18px;
    }
}

@media (min-width: 1280px) {
    /* Product Tabs (xl) */
    .product-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-why-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product Guarantee (xl) */
    .product-guarantee-section {
        margin: 112px 0;
    }

    /* Product Similar (xl) */
    .product-similar-section {
        margin: 112px 0;
    }
}

/* Footer lg+ */
@media (min-width: 992px) {
    .footer-col-contacts {
        order: 5;
        align-self: flex-start;
    }

    .footer-col-brand,
    .footer-col-contacts {
        gap: 32px;
    }

    .footer-contact-actions {
        gap: 32px;
    }

    .floating-btn svg,
    .floating-btn img {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 768px) {
    footer {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .footer-content {
        gap: 80px;
    }

    .footer-col {
        gap: 32px;
        width: auto;
        flex: 0 1 auto;
    }

    .floating-buttons {
        right: 40px;
        bottom: 40px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
    }

    .floating-btn svg,
    .floating-btn img {
        width: 28px;
        height: 28px;
    }

    .form-section {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .form-title {
        font-size: 32px;
    }

    .form-fields {
        gap: 28px;
    }
}

@media (min-width: 992px) {
    .footer-content {
        gap: 40px;
        justify-content: space-between;
    }

    .form-grid {
        grid-template-columns: 2fr 3fr;
        padding-left: 20px;
        height: 540px;
    }

    .form-content {
        order: 1;
    }

    .form-image {
        order: 2;
    }
}

@media (min-width: 1170px) {
    footer {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .form-section {
        margin-top: 112px;
        margin-bottom: 112px;
    }
}

@media (min-width: 1400px) {
    .form-grid {
        padding-left: 40px;
    }
}

/* ===================================
   Objects Page
   =================================== */

/* Objects Section */
.objects-section {
    margin: 40px 0;
}

.objects-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Page Title */
.objects-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

/* Filter Tabs */
.objects-filters {
    display: flex;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-200);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) white;
}

.objects-filters::-webkit-scrollbar {
    height: 6px;
}

.objects-filters::-webkit-scrollbar-track {
    background: white;
    border-radius: 10px;
}

.objects-filters::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.objects-filter-btn {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    border-radius: var(--border-radius-78);
    border: 1px solid var(--neutral-200);
    background: white;
    color: var(--text-body);
    transition: all 0.2s;
    display: inline-block;
}

.objects-filter-btn:hover {
    border-color: var(--neutral-400);
    color: var(--neutral-900);
}

.objects-filter-btn.active {
    background: var(--neutral-900);
    color: white;
    border-color: var(--neutral-900);
}

/* Objects Grid */
.objects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Object Card */
.object-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    gap: 20px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.object-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.object-card-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.object-card-image {
    display: block;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

.object-card:hover .object-card-image {
    transform: scale(1.05);
}

.object-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.object-card:hover .object-card-overlay {
    opacity: 1;
}

.object-card-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    color: var(--neutral-900);
    transition: color 0.2s;
}

.object-card:hover .object-card-title {
    color: var(--primary-color);
}

/* Pagination */
.objects-pagination-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-200);
}

.objects-pagination-text {
    font-size: 14px;
    text-align: center;
    color: var(--text-body);
}

.objects-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pagination reuse from catalog */
.pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination-link:hover {
    color: var(--primary-color);
}

.pagination-link span {
    transition: color 0.2s;
}

.pagination-link svg {
    width: 20px;
    height: 20px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.pagination-link:hover svg {
    color: var(--primary-color);
}

.pagination-prev svg {
    transform: rotate(180deg);
}

.pagination-numbers {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 16px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text-body);
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    transition: all 0.2s;
}

.pagination-number:hover {
    border-color: var(--neutral-400);
}

.pagination-number-active {
    background: var(--neutral-900);
    color: white;
    border-color: var(--neutral-900);
}

.pagination-dots {
    font-size: 14px;
    color: var(--text-body);
}

/* Responsive: xs (480px+) */
@media (min-width: 480px) {
    .objects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .objects-section {
        margin: 80px 0;
    }

    .objects-content {
        gap: 40px;
    }

    .objects-title {
        font-size: 32px;
    }

    .objects-filters {
        overflow-x: visible;
    }

    .objects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .pagination-numbers {
        display: flex;
    }

    .pagination-number {
        width: 40px;
        height: 40px;
    }

    .pagination-link {
        font-size: 15px;
    }

    .objects-pagination-text {
        font-size: 15px;
    }
}

/* Responsive: lg (992px+) */
@media (min-width: 992px) {
    .objects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive: xl (1170px+) */
@media (min-width: 1170px) {
    .objects-content {
        gap: 40px;
    }
}

/* ===================================
   Object Detail Page
   =================================== */

/* Object Detail Section */
.object-detail-section {
    margin: 40px 0;
}

.object-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Page Title */
.object-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

/* Gallery Grid */
.object-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Gallery Item */
.object-gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    gap: 20px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.object-gallery-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.object-gallery-image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.object-gallery-image {
    display: block;
    width: 100%;
    max-width: 400px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s;
}

.object-gallery-item:hover .object-gallery-image {
    transform: scale(1.05);
}

.object-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 23, 23, 0.3);
    opacity: 0;
    transition: opacity 0.2s;
}

.object-gallery-item:hover .object-gallery-overlay {
    opacity: 1;
}

/* Responsive: xs (480px+) */
@media (min-width: 480px) {
    .object-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .object-detail-section {
        margin: 80px 0;
    }

    .object-detail-content {
        gap: 40px;
    }

    .object-detail-title {
        font-size: 32px;
    }

    .object-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Responsive: lg (992px+) */
@media (min-width: 992px) {
    .object-gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive: xl (1170px+) */
@media (min-width: 1170px) {
    .object-detail-content {
        gap: 40px;
    }

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

/* ===================================
   Contacts Page
   =================================== */

/* Contacts Section */
.contacts-section {
    margin: 40px 0;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Page Title */
.contacts-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

/* Contacts Info */
.contacts-info-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contacts-info-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-info-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contacts-info-phones,
.contacts-info-emails {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contacts-info-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-900);
}

.contacts-phone-list,
.contacts-email-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts-phone-list li a {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.contacts-phone-list li a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-style: dotted;
}

.contacts-email-list li a {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

.contacts-email-list li a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-style: dotted;
}

/* Social Links */
.contacts-social-links {
    display: flex;
    gap: 16px;
}

.contacts-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    transition: background-color 0.2s;
    text-decoration: none;
}

.contacts-social-link svg,
.contacts-social-link img {
    width: 16px;
    height: 16px;
}

.contacts-social-whatsapp {
    background-color: #43d854;
}

.contacts-social-whatsapp:hover {
    background-color: var(--neutral-900);
}


.contacts-social-max {
    background-color: #22192f;
}

.contacts-social-max:hover {
    background-color: #8f3fff;
}

.contacts-social-max img {
    filter: brightness(0) invert(1);
}



.contacts-social-telegram {
    background-color: #0088cc;
}

.contacts-social-telegram:hover {
    background-color: var(--neutral-900);
}

.contacts-social-vk {
    background-color: #0077FF;
}

.contacts-social-vk:hover {
    background-color: var(--neutral-900);
}

.contacts-social-youtube {
    background-color: #F00;
}

.contacts-social-youtube:hover {
    background-color: var(--neutral-900);
}

.contacts-social-youtube svg {
    width: 24px;
    height: 24px;
}

.contacts-social-skype {
    background-color: #009EDC;
}

.contacts-social-skype:hover {
    background-color: var(--neutral-900);
}

/* Requisites */
.contacts-requisites {
    display: none; /* Hidden on mobile */
    align-self: flex-start;
    padding: 16px 24px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-100);
    border-radius: 16px;
}

.contacts-requisites-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.contacts-requisites-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--text-body);
}

/* Locations */
.contacts-locations-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.contacts-office-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts-office-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--neutral-900);
}

.contacts-office-address {
    font-size: 15px;
    color: var(--text-body);
}

.contacts-directions-btn {
    font-size: 15px;
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    transition: text-decoration 0.2s;
}

.contacts-directions-btn:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-style: dotted;
}

.contacts-office-hours {
    font-size: 15px;
    color: var(--text-body);
}

/* Warehouses Card */
.contacts-warehouses-card {
    align-self: flex-start;
    max-width: 640px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contacts-warehouses-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.contacts-warehouses-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts-warehouses-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-900);
}

.contacts-warehouses-subtitle {
    font-size: 14px;
    color: var(--neutral-500);
}

.contacts-warehouses-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    transition: all 0.2s;
}

.contacts-warehouses-toggle:hover .contacts-warehouses-icon {
    background: var(--primary-color);
    color: white;
}

.contacts-warehouses-icon svg {
    width: 20px;
    height: 20px;
}

.contacts-warehouses-list {
    margin-top: 12px;
}

.contacts-warehouses-list ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.contacts-warehouses-list ul li {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 8px;
}

/* Map */
.contacts-map {
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    height: 300px;
}

/* Gallery */
.contacts-gallery-section {
    padding: 40px 0;
}

/* Branches */
.contacts-branches-section {
    padding: 40px 0;
}

.contacts-branches-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacts-branches {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contacts-branches-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

.contacts-branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.contacts-branch-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
}

.contacts-branch-name,
.contacts-branch-city {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
}

.contacts-branch-address {
    font-size: 15px;
    color: var(--text-body);
}

.contacts-branch-link {
    font-size: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: text-decoration 0.2s;
    display: block;
}

.contacts-branch-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-style: dotted;
}

/* Responsive: xs (480px+) */
@media (min-width: 480px) {
    .contacts-social-link {
        width: 40px;
        height: 40px;
    }

    .contacts-social-link svg,
    .contacts-social-link img {
        width: 20px;
        height: 20px;
    }

    .contacts-social-youtube svg {
        width: 32px;
        height: 32px;
    }
}

/* Responsive: sm (640px+) */
@media (min-width: 640px) {
    .contacts-info-group {
        gap: 80px;
    }

    .contacts-info-phones {
        gap: 16px;
    }

    .contacts-info-emails {
        gap: 10px;
    }

    .contacts-email-list {
        gap: 12px;
    }

    .contacts-email-list li a {
        font-size: 15px;
    }
}

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .contacts-section {
        margin: 80px 0;
    }

    .contacts-gallery-section {
        padding: 80px 0;
    }

    .contacts-branches-section {
        padding: 80px 0;
    }

    .contacts-branches-title {
        font-size: 28px;
    }

    .contacts-content {
        gap: 40px;
    }

    .contacts-title {
        font-size: 32px;
    }

    .contacts-info-label {
        font-size: 18px;
    }

    .contacts-phone-list li a {
        font-size: 20px;
    }

    .contacts-warehouses-title {
        font-size: 18px;
    }

    .contacts-map {
        height: 450px;
    }

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

    .contacts-branch-name,
    .contacts-branch-city {
        font-size: 18px;
    }
}

/* Responsive: lg (992px+) */
@media (min-width: 992px) {
    .contacts-requisites {
        display: block;
    }

    .contacts-info-group {
        gap: 160px;
    }

    .contacts-locations-wrapper {
        flex-wrap: nowrap;
        gap: 40px;
    }

    .contacts-branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: xl (1280px+) */
@media (min-width: 1280px) {
    .contacts-content {
        gap: 40px;
    }
}

/* ===================================
   Cart Page
   =================================== */

/* Cart Section */
.cart-section {
    margin: 40px 0;
}

.cart-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Page Header */
.cart-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cart-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

.cart-count-badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 14px;
    color: white;
    background: var(--primary-color);
    border-radius: 30px;
}

/* Clear cart button in header */
.cart-header .ms2_form {
    margin-left: auto;
}

.cart-header .btn-cart {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    background: transparent;
    border: 1px solid var(--neutral-300);
    border-radius: 8px;
    transition: all 0.2s;
}

.cart-header .btn-cart:hover {
    color: var(--primary-color);
    background: var(--neutral-50);
    border-color: var(--primary-color);
}

.cart-back-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--text-body);
    text-decoration: none;
    transition: color 0.2s;
}

.cart-back-link:hover {
    color: var(--primary-color);
}

.cart-back-link svg {
    width: 20px;
    height: 20px;
    transform: rotate(180deg);
}

/* Cart Grid */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Cart Item */
.cart-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    transition: border-color 0.2s, opacity 0.3s;
}

.cart-item:hover {
    border-color: var(--neutral-400);
}

.cart-item-content {
    display: flex;
    gap: 16px;
}

.cart-item-image-wrap {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: rgba(229, 231, 235, 0.4);
    border-radius: 16px;
}

.cart-item-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900);
    text-decoration: none;
    max-width: 240px;
    transition: color 0.2s;
}

.cart-item-title:hover {
    color: var(--primary-color);
}

.cart-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.cart-item-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 12px;
    color: white;
}

.cart-item-badge svg {
    width: 16px;
    height: 16px;
}

.cart-item-badge-sale {
    background: var(--primary-color);
}

.cart-item-badge-sale svg {
    color: rgba(240, 134, 111, 0.5);
}

.cart-item-badge-popular {
    background: #f97316;
}

.cart-item-badge-popular svg {
    color: rgba(254, 215, 170, 1);
}

.cart-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cart-item-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text-body);
    transition: color 0.2s;
}

.cart-item-action-btn:hover {
    color: var(--primary-color);
}

.cart-item-action-btn svg {
    width: 20px;
    height: 20px;
}

.cart-item-action-text {
    display: none;
    font-size: 14px;
}

.cart-item-price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-prices {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.cart-item-price-old {
    font-size: 14px;
    color: var(--neutral-500);
    text-decoration: line-through;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity .quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.cart-item-quantity .quantity-btn:hover {
    border-color: var(--neutral-600);
}

.cart-item-quantity .quantity-btn svg {
    width: 20px;
    height: 20px;
}

.cart-item-quantity .quantity-input {
    width: 70px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--neutral-200);
    border-radius: 48px;
    padding: 0 8px;
    font-size: 14px;
}

/* Checkout Section */
.cart-checkout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.cart-checkout-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-checkout-header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-200);
}

.cart-checkout-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

/* Delivery Options */
.cart-delivery-options {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.cart-delivery-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
}

.cart-delivery-option:hover {
    border-color: var(--neutral-400);
}

.cart-delivery-option.active {
    border-color: var(--primary-color);
}

.cart-delivery-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-delivery-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
}

.cart-delivery-price {
    display: block;
    font-size: 14px;
    color: var(--text-body);
}

.form-radio {
    width: 20px;
    height: 20px;
    border: 1px solid var(--neutral-200);
    cursor: pointer;
    pointer-events: none;
}

/* Delivery Address */
.cart-delivery-address {
    margin-top: 24px;
}

.cart-delivery-address-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cart-delivery-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-address-input {
    margin: 0;
}

.cart-apartment-input {
    margin: 0;
}

/* Pickup Map */
.cart-pickup-map {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-map-container {
    width: 100%;
}

.cart-map {
    width: 100%;
    height: 350px;
    border-radius: 16px;
}

.cart-pickup-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--neutral-200);
}

.cart-pickup-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-pickup-info-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-900);
}

.cart-pickup-info-text {
    font-size: 14px;
    color: var(--text-body);
}

.cart-pickup-directions {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Recipient Form */
.cart-recipient-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-recipient-contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

/* Payment Options */
.cart-payment-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.cart-payment-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
    text-align: left;
}

.cart-payment-option:hover {
    border-color: var(--neutral-400);
}

.cart-payment-option.active {
    border-color: var(--primary-color);
}

.cart-payment-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-payment-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
}

.cart-payment-note {
    display: none;
    font-size: 14px;
    color: var(--text-body);
}

/* Submit Section */
.cart-submit-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-privacy-text {
    font-size: 12px;
    color: var(--neutral-500);
}

.cart-privacy-text a {
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.cart-privacy-text a:hover {
    color: var(--primary-color);
}

/* Order Summary */
.cart-summary-col {
    display: none; /* Hidden on mobile by default */
}

.cart-summary-sticky {
    position: sticky;
    top: 144px;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 12px 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
}

.cart-summary-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
}

.cart-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-body);
}

.cart-summary-label-with-tooltip {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-summary-label-with-tooltip svg {
    width: 20px;
    height: 20px;
    color: var(--neutral-400);
}

.cart-summary-value {
    font-weight: 600;
    color: var(--neutral-900);
}

.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--neutral-200);
}

.cart-summary-total-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
}

.cart-summary-total-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
}

/* Responsive: xs (480px+) */
@media (min-width: 480px) {
    .cart-item-title {
        font-size: 15px;
        max-width: 100%;
    }

    .cart-item-details {
        gap: 4px;
    }
}

/* Responsive: sm (640px+) */
@media (min-width: 640px) {
    .cart-delivery-address-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .cart-section {
        margin: 80px 0;
    }

    .cart-title {
        font-size: 32px;
    }

    .cart-checkout-title {
        font-size: 24px;
    }

    .cart-item-action-text {
        display: block;
    }

    .cart-item-actions {
        gap: 24px;
    }

    .cart-item-price-current {
        font-size: 18px;
    }

    .cart-item-price-old {
        font-size: 16px;
    }

    .cart-item-quantity .quantity-btn {
        width: 44px;
        height: 44px;
    }

    .cart-item-quantity .quantity-input {
        height: 44px;
    }

    .cart-delivery-option {
        padding: 24px;
    }

    .cart-delivery-name,
    .cart-payment-name {
        font-size: 18px;
    }

    .cart-payment-option {
        padding: 24px;
    }

    .cart-map {
        height: 500px;
    }

    .cart-pickup-info {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .cart-pickup-info-item {
        flex: 1;
    }

    .cart-summary {
        padding: 24px;
    }

    .cart-summary-title {
        font-size: 18px;
    }

    .cart-summary-total-label {
        font-size: 18px;
    }

    .cart-summary-total-value {
        font-size: 22px;
    }
}

/* Responsive: lg (992px+) */
@media (min-width: 992px) {
    .cart-checkout {
        gap: 80px;
        margin-top: 80px;
    }

    .cart-delivery-options {
        flex-wrap: nowrap;
    }

    .cart-recipient-contacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .cart-recipient-form {
        gap: 28px;
    }

    .cart-payment-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-payment-note {
        display: block;
    }
}

/* Responsive: xl (1280px+) */
@media (min-width: 1280px) {
    .cart-grid {
        grid-template-columns: 5fr 3fr;
        gap: 40px;
    }

    .cart-summary-col {
        display: block;
    }

    .cart-items-list {
        gap: 16px;
    }
}

/* Responsive: 2xl (1536px+) */
@media (min-width: 1536px) {
    .cart-grid {
        gap: 160px;
    }

    .cart-item-action-text {
        display: block;
    }
}

/* ===================================
   Calculator Page
   =================================== */

/* Calculator Section */
.calculator-section {
    margin: 40px 0;
}

.calculator-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Calculator Layout */
.calculator-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Calculator Main Column */
.calculator-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Calculator Filters Card */
.calculator-filters-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
}

/* Filter Section */
.calculator-filter-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calculator-filter-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--neutral-900);
}

/* Radio Group */
.calculator-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calculator-radio-break {
    width: 100%;
}

.calculator-radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.calculator-radio-label:hover {
    border-color: var(--neutral-400);
}

.calculator-radio-text {
    font-size: 14px;
    color: var(--neutral-900);
    pointer-events: none;
}

.calculator-radio-label input[type="radio"] {
    pointer-events: none;
}

/* Checkbox */
.calculator-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.calculator-checkbox-label input[type="checkbox"] {
    pointer-events: none;
}

.calculator-checkbox-label span {
    font-size: 14px;
    color: var(--neutral-900);
}

/* Select Wrapper */
.calculator-select-wrapper {
    margin-top: 8px;
}

.calculator-select-wrapper .uk-select {
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
}

.calculator-select-wrapper .uk-select:disabled {
    background-color: var(--neutral-100);
    cursor: not-allowed;
}

/* Discount Text */
.calculator-discount-text {
    font-size: 14px;
    color: var(--neutral-500);
    margin-top: -16px;
}

/* Products Grid */
.calculator-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Product Card */
.calculator-product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
}

.calculator-product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.calculator-product-title {
    font-size: 15px;
    color: var(--neutral-900);
    line-height: 1.4;
}

.calculator-product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator-product-spec {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
}

.calculator-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--neutral-900);
}

.calculator-product-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculator-quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--neutral-200);
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s;
}

.calculator-quantity-btn:hover {
    border-color: var(--neutral-600);
}

.calculator-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.calculator-quantity-input {
    width: 90px;
    text-align: center;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    padding: 8px;
    font-size: 14px;
}

.calculator-add-btn {
    width: 100%;
}

.calculator-product-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.calculator-product-link:hover {
    text-decoration: underline;
}

/* UIKit Radio Override */
input[type="radio"].uk-radio:checked,
input[type="radio"].uk-radio:checked:focus,
input[type="radio"]:checked,
input[type="radio"]:checked:focus {
    background-color: var(--primary-color) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle fill='%23fff' cx='8' cy='8' r='3'/%3e%3c/svg%3e") !important;
    border-color: var(--primary-color) !important;
}

input[type="radio"].uk-radio:focus,
input[type="radio"]:focus {
    outline: none;
}

/* UIKit Checkbox Override */
input[type="checkbox"].uk-checkbox:checked,
input[type="checkbox"].uk-checkbox:checked:focus {
    background-color: var(--primary-color) !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='14' height='11' viewBox='0 0 14 11' xmlns='http://www.w3.org/2000/svg'%3e%3cpolygon fill='%23fff' points='12 1 5 7.5 2 4.5 0 6.5 5 10.5 14 3'/%3e%3c/svg%3e") !important;
    border-color: var(--primary-color) !important;
}

input[type="checkbox"].uk-checkbox:focus {
    outline: none;
}

input[type="checkbox"].uk-checkbox:indeterminate {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Calculator Sidebar */
.calculator-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calculator-sidebar .title {
    font-size: 20px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
}

/* Summary Card */
.calculator-summary-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
}

.calculator-summary-item {
    display: flex;
    gap: 16px;
}

.calculator-summary-image {
    flex-shrink: 0;
    width: 100px;
    height: auto;
}

.calculator-summary-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.calculator-summary-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.calculator-summary-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-900);
}

.calculator-summary-specs {
    font-size: 14px;
    color: var(--neutral-500);
    line-height: 1.4;
}

.calculator-summary-qty {
    font-size: 14px;
    color: var(--neutral-900);
}

.calculator-summary-price-text {
    font-size: 14px;
    color: var(--neutral-900);
}

.calculator-summary-remove {
    color: var(--primary-color);
    font-size: 14px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.calculator-summary-remove:hover {
    opacity: 1;
}

.calculator-total {
    font-size: 16px;
    font-weight: 700;
    color: var(--neutral-900);
}

.calculator-submit-btn {
    width: 100%;
}

/* Responsive: sm (640px+) */
@media (min-width: 640px) {
    .calculator-filters-card {
        padding: 24px;
    }

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

/* Responsive: md (768px+) */
@media (min-width: 768px) {
    .calculator-filter-title {
        font-size: 18px;
    }

    .calculator-quantity-btn {
        width: 44px;
        height: 44px;
    }

    .calculator-product-price {
        font-size: 20px;
    }
}

/* Responsive: lg (992px+) */
@media (min-width: 992px) {
    .calculator-section {
        margin: 80px 0;
    }

    .calculator-content {
        gap: 40px;
    }

    .calculator-layout {
        grid-template-columns: 2fr 1fr;
        gap: 40px;
    }

    .calculator-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive: xl (1170px+) */
@media (min-width: 1170px) {
    .calculator-sidebar .title {
        font-size: 24px;
    }
}

/* ========================================
   VOUCHER (ПОДАРОЧНЫЙ ВАУЧЕР)
   ======================================== */

/* Voucher Badge in Gallery */
.product-badge-voucher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #10B981;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.product-badge-voucher:hover {
    background: #059669;
    transform: translateY(-2px);
}

.product-badge-voucher span {
    font-size: 12px;
    color: #ffffff;
    font-weight: 500;
}

.product-badge-voucher svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

/* Custom Modal Base */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(23, 23, 23, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

/* Voucher Banner in Product Buy Column */
.product-voucher-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    padding: 16px;
    background: var(--primary-color);
    border-radius: 16px;
    overflow: hidden;
}

.product-voucher-glow {
    position: absolute;
    z-index: 0;
    left: 0;
    top: -64px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #F0866F 0%, rgba(240, 134, 111, 0.00) 100%);
}

.product-voucher-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.product-voucher-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* Voucher Modal (Custom Modal) */
.modal-voucher-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    z-index: 20;
}

.modal-voucher-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 30;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-voucher-close svg {
    width: 24px;
    height: 24px;
}

.voucher-modal-content {
    position: relative;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 16px;
    overflow: hidden;
    min-height: 250px;
}

.voucher-modal-glow-left {
    position: absolute;
    left: 0;
    top: -64px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, #F0866F 0%, rgba(240, 134, 111, 0.00) 100%);
    z-index: 0;
}

.voucher-modal-text {
    position: relative;
    z-index: 10;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voucher-modal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
}

.voucher-modal-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.voucher-modal-img {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    z-index: 10;
    display: none;
}

.voucher-modal-glow-right {
    position: absolute;
    right: -90px;
    top: -100px;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    background: #F0866F;
    display: none;
}

/* Responsive: sm (640px+) */
@media (min-width: 640px) {
    .voucher-modal-content {
        padding: 48px 32px;
        min-height: 280px;
    }

    .voucher-modal-text {
        max-width: 380px;
        gap: 20px;
    }

    .voucher-modal-img {
        display: block;
    }

    .voucher-modal-glow-right {
        display: block;
    }
}

/* Responsive: lg (1024px+) */
@media (min-width: 1024px) {
    .modal-voucher-wrapper {
        max-width: 900px;
    }

    .voucher-modal-content {
        padding: 56px 60px;
        min-height: 300px;
    }

    .voucher-modal-text {
        max-width: 420px;
    }

    .voucher-modal-title {
        font-size: 28px;
    }

    .voucher-modal-img {
        right: -60px;
        top: -80px;
        width: 360px;
        height: 360px;
    }

    .voucher-modal-glow-right {
        right: -100px;
        top: -120px;
        width: 420px;
        height: 420px;
    }
}

/* Responsive: xl (1170px+) */
@media (min-width: 1170px) {
    .product-voucher-title {
        font-size: 24px;
    }
}

/* === Search Styles === */
.msearch2 {
    position: relative;
    width: 100%;
}

.search-submit-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit-btn .icon {
    width: 20px;
    height: 20px;
    color: var(--neutral-500);
}

.search-submit-btn:hover .icon {
    color: var(--primary-color);
}

/* Search Dropdown */
.mse2_results {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1000;
}

.search-dropdown-item {
    padding: 16px;
    border-bottom: 1px solid var(--neutral-200);
}

.search-dropdown-item:last-child {
    border-bottom: none;
}

.search-item-content {
    display: flex;
    gap: 24px;
}

.search-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-100);
    border-radius: 16px;
    overflow: hidden;
}

.search-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.search-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.search-item-title:hover {
    color: var(--primary-color);
}

.search-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-item-price {
    font-weight: 700;
    color: var(--neutral-900);
}

.search-item-article {
    font-weight: 600;
    color: var(--neutral-900);
}

/* Responsive */
@media (max-width: 768px) {
    .search-item-content {
        gap: 16px;
    }

    .search-item-image {
        width: 80px;
        height: 80px;
    }

    .search-item-title {
        font-size: 13px;
    }

    .search-item-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* === Search Results Page === */
.search-result-item {
    padding: 24px;
    border: 1px solid var(--neutral-200);
    border-radius: 16px;
    margin-bottom: 16px;
}

.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-number {
    font-weight: 600;
    color: var(--neutral-500);
    margin-right: 8px;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    text-decoration: none;
    transition: color 0.2s;
}

.search-result-title:hover {
    color: var(--primary-color);
}

.search-result-intro {
    font-weight: 300;
    color: var(--neutral-700);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--neutral-200);
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagination-pages {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .pagination-pages {
        display: flex;
    }
}

.pagination-skip {
    font-size: 14px;
    color: var(--neutral-500);
}

/* === Product Options (msOptionsPrice) === */
.product-option-label {
    font-size: 14px;
    margin-bottom: 8px;
}

.product-option-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.product-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-option-item:hover {
    border-color: var(--neutral-400);
}

.product-option-radio {
    pointer-events: none;
    width: 16px;
    height: 16px;
}

/* Радио-кнопки - оранжевый цвет при выборе */
.product-option-radio:checked {
    background-color: #DC4726 !important;
    border-color: #DC4726 !important;
}

.product-option-text {
    font-size: 14px;
    color: var(--neutral-900);
}

.product-old-price-text {
    font-size: 14px;
    margin-bottom: 8px;
}

/* Disabled опции - серый цвет и перечеркнутый текст */
.product-option-item:has(.product-option-radio:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--neutral-200);
    background-color: var(--neutral-50, #f9fafb);
}

.product-option-item:has(.product-option-radio:disabled):hover {
    border-color: var(--neutral-200);
}

.product-option-item:has(.product-option-radio:disabled) .product-option-text {
    color: #999;
    text-decoration: line-through;
}

.product-option-radio:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}


.product-image-container {
    width: 100%;
    margin-bottom: 16px;
}

.product-unavailable-text {
    font-size: 14px;
    color: var(--neutral-700);
    line-height: 1.5;
}

.product-delivery-time {
    display: flex;
    align-items: center;
}

.product-delivery-time span {
    font-size: 18px;
    color: var(--neutral-900);
}

@media (min-width: 992px) {
    .product-delivery-time span {
        font-size: 24px;
    }
}

/* Calculator Styles */
.calc-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-option:hover {
    border-color: var(--neutral-400);
}

.calc-option input[type="radio"]:checked + span,
.calc-option:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(255, 121, 0, 0.05);
}

.calc-option span {
    font-size: 14px;
    color: var(--neutral-900);
}

/* Переопределяем UIkit primary цвет на фирменный оранжевый #DC4726 */
.uk-text-primary {
    color: #DC4726 !important;
}

.uk-link,
.uk-link:hover,
.uk-link:focus,
a.uk-link,
a.uk-link:hover,
a.uk-link:focus {
    color: #DC4726 !important;
}

/* Все ссылки на сайте */
a {
    color: #DC4726;
}

a:hover {
    color: #DC4726;
}

/* UIkit компоненты с primary цветом */
.uk-button-primary,
.uk-button-primary:hover,
.uk-button-primary:focus {
    background-color: #DC4726 !important;
    border-color: #DC4726 !important;
}

.uk-background-primary {
    background-color: #DC4726 !important;
}

.uk-border-primary {
    border-color: #DC4726 !important;
}

.uk-label-primary {
    background-color: #DC4726 !important;
}

.uk-badge-primary {
    background-color: #DC4726 !important;
}

.uk-nav-primary > li.uk-active > a {
    color: #DC4726 !important;
}

.uk-tab > .uk-active > a {
    color: #DC4726 !important;
    border-color: #DC4726 !important;
}

.uk-progress::-webkit-progress-value {
    background-color: #DC4726 !important;
}

.uk-progress::-moz-progress-bar {
    background-color: #DC4726 !important;
}

/* Убираем все синие цвета, которые могут остаться */
.uk-link-muted:hover,
.uk-link-text:hover {
    color: #DC4726 !important;
}

/* Хлебные крошки - активный элемент оранжевый */
.uk-breadcrumb > .uk-disabled > span {
    color: #DC4726;
}

/* Хлебные крошки - уменьшенное расстояние от верха */
.section-breadcrumb.uk-margin-medium-top {
    margin-top: 8px !important;
}

/* Иконки подсказок в характеристиках товара */
.info-tooltip-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted, #9ca3af);
}

/* Список опций товара в карточке */
.product-option-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.product-option-label {
    display: block;
    min-width: 200px;
}

.product-option-value {
    color: var(--neutral-900);
    font-weight: 500;
}

/* === Блок с мессенджерами и соцсетями === */
.messengers-section {
    padding: 60px 0;
}

.messengers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    padding: 16px;
    padding-top: 0;
    background-color: var(--neutral-50);
    border-radius: 16px;
}

@media (min-width: 960px) {
    .messengers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.messengers-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.messengers-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--neutral-700);
}

.messengers-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.messengers-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.messengers-group-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0;
}

.messengers-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-700);
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.messenger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.messenger-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

/* MAX - темно-фиолетовый */
.messenger-btn-max {
    background: #fff;
}

.messenger-btn-max .messenger-icon {
    filter: brightness(0) saturate(100%);
}

.messenger-btn-max:hover {
    background: linear-gradient(135deg, #22192f 0%, #1a1426 100%);
}

.messenger-btn-max:hover .messenger-icon {
    filter: brightness(0) saturate(100%) invert(1);
}

/* Telegram - голубой */
.messenger-btn-telegram {
    background: #fff;
}

.messenger-btn-telegram svg {
    fill: var(--neutral-700);
}

.messenger-btn-telegram:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.messenger-btn-telegram:hover svg {
    fill: #fff;
}

/* WhatsApp - зеленый */
.messenger-btn-whatsapp {
    background: #fff;
}

.messenger-btn-whatsapp svg {
    fill: var(--neutral-700);
}

.messenger-btn-whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #1EBE57 100%);
}

.messenger-btn-whatsapp:hover svg {
    fill: #fff;
}

/* VK - синий */
.messenger-btn-vk {
    background: #fff;
}

.messenger-btn-vk svg {
    fill: var(--neutral-700);
}

.messenger-btn-vk:hover {
    background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
}

.messenger-btn-vk:hover svg {
    fill: #fff;
}

/* Rutube - красный */
.messenger-btn-rutube {
    background: #fff;
}

.messenger-btn-rutube svg {
    fill: var(--neutral-700);
}

.messenger-btn-rutube:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
}

.messenger-btn-rutube:hover svg {
    fill: #fff;
}

/* ========================================
   Promotions (Акции)
   ======================================== */

/* Promotions Catalog */
.promotions-section {
    padding: 5px 0 20px;
}

.promotions-header {
    margin-bottom: 5px;
    text-align: center;
}

.promotions-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 5px 0;
}

.promotions-description {
    font-size: 16px;
    color: var(--neutral-600);
    max-width: 800px;
    margin: 0 auto;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Promotion Timer Block */
.promotion-timer-block {
    padding: 40px 0;
    margin-bottom: 40px;
}

/* Promo Banner Sticky */
.promo-banner-sticky {
    background-color: #DC4726;
    padding: 10px 0;
    width: 100%;
    margin: 0;
    margin-top: 8px;
    position: relative;
    z-index: 5;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.promo-banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.promo-banner-link:hover {
    opacity: 0.9;
    color: #ffffff;
}

.promo-banner-text {
    color: #ffffff;
}

.promo-banner-arrow {
    color: #ffffff;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .promo-banner-sticky {
        padding: 8px 0;
    }
    
    .promo-banner-link {
        font-size: 13px;
        gap: 8px;
    }
    
    .promo-banner-arrow {
        width: 20px;
        height: 20px;
    }
}

.promotion-timer-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

.promotion-timer-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 120px;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #F97316;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.timer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.timer-value {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 8px;
}

.timer-label {
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    text-align: center;
}

.timer-separator {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 5px;
}

/* Promotion Card */
.promotion-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.promotion-card-title-link {
    text-decoration: none;
    color: inherit;
}

.promotion-card-title-link:hover {
    text-decoration: none;
}

.promotion-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
}

.promotion-card-image-wrapper > a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 5;
}

.promotion-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.promotion-card-timer {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.promotion-card-timer-icon {
    width: 14px;
    height: 14px;
}

.promotion-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.promotion-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promotion-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.promotion-card-description {
    font-size: 14px;
    color: var(--neutral-600);
    margin: 0 0 16px 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.promotion-card-button {
    margin-top: auto;
}

.promotion-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #DC4726;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.promotion-detail-btn:hover {
    background: #B8371B;
    transform: scale(1.05);
    color: #ffffff;
    text-decoration: none;
}

.promotion-detail-btn svg {
    width: 16px;
    height: 16px;
}

/* Адаптивность для планшетов */
@media (max-width: 991.98px) {
    .promotions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .promotion-detail-btn {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 575.98px) {
    .promotion-timer-block {
        padding: 25px 0;
        margin-bottom: 25px;
    }
    
    .promotion-timer-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .promotion-timer-counter {
        gap: 5px;
    }
    
    .timer-item {
        min-width: 60px;
        min-height: 60px;
        padding: 8px;
        border-radius: 12px;
        border-width: 1.5px;
    }
    
    .timer-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(249, 115, 22, 0.18);
    }
    
    .timer-value {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    .timer-label {
        font-size: 10px;
    }
    
    .timer-separator {
        font-size: 18px;
        margin: 0 2px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .promotion-card-content {
        padding: 16px;
    }
    
    .promotion-card-title {
        font-size: 16px;
    }
    
    .promotion-card-description {
        font-size: 13px;
    }
    
    .promotion-detail-btn {
        padding: 6px 12px;
        font-size: 11px;
        gap: 4px;
        width: 100%;
        justify-content: center;
    }
    
    .promotion-detail-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Promotion Detail */
.promotion-detail-section {
    padding: 40px 0 60px;
}

.promotion-detail-header {
    margin-bottom: 32px;
    text-align: center;
}

.promotion-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 24px 0;
}

.promotion-detail-timer {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
}

.promotion-timer-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.promotion-timer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.promotion-timer-label {
    font-size: 12px;
    opacity: 0.9;
}

.promotion-timer-value {
    font-size: 18px;
    font-weight: 700;
}

.promotion-detail-content {
    margin-bottom: 48px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--neutral-700);
}

.promotion-detail-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 24px 0;
}

.promotion-detail-gallery {
    margin-bottom: 48px;
}

.promotion-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.promotion-gallery-item {
    position: relative;
    display: block;
    padding-bottom: 75%;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.promotion-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.promotion-gallery-item:hover .promotion-gallery-image {
    transform: scale(1.1);
}

.promotion-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.promotion-gallery-item:hover .promotion-gallery-overlay {
    opacity: 1;
}

.promotion-gallery-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.promotion-detail-products {
    margin-bottom: 48px;
}

.promotion-detail-products .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Responsive для планшетов (576-768px) */
@media (min-width: 576px) and (max-width: 768px) {
    .promotion-timer-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .promotion-timer-counter {
        gap: 12px;
    }
    
    .timer-item {
        min-width: 90px;
        min-height: 90px;
        padding: 15px;
    }
    
    .timer-value {
        font-size: 36px;
        margin-bottom: 6px;
    }
    
    .timer-label {
        font-size: 13px;
    }
    
    .timer-separator {
        font-size: 28px;
        margin: 0 3px;
    }
    
    .promotions-title,
    .promotion-detail-title {
        font-size: 24px;
    }
    
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .promotion-detail-timer {
        flex-direction: column;
        text-align: center;
    }
    
    .promotion-timer-text {
        align-items: center;
    }
    
    .promotion-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promotion-detail-products .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .promotion-detail-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Category Page (Subcategories)
   ======================================== */

.category-section {
    padding: 40px 0 60px;
}

.category-header {
    margin-bottom: 40px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 16px 0;
}

.category-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--neutral-600);
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Subcategory Card */
.subcategory-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.subcategory-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.subcategory-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.subcategory-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    background: var(--neutral-100);
}

.subcategory-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.subcategory-card:hover .subcategory-card-image {
    transform: scale(1.05);
}

.subcategory-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.subcategory-card-content {
    padding: 20px;
    position: relative;
}

.subcategory-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.subcategory-card-description {
    font-size: 14px;
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .category-title {
        font-size: 24px;
    }
    
    .subcategories-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Advantages Section
   ======================================== */

.advantages-wrapper {
    position: relative;
}

/* ========================================
   Products Slider
   ======================================== */

.uk-slider-items {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.uk-slider-items > li {
    list-style: none !important;
}

.uk-slider-items > li::before,
.uk-slider-items > li::marker {
    display: none !important;
    content: none !important;
}

.tabs-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.tabs-slider-nav {
    display: flex;
    gap: 8px;
}

@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tabs-slider-nav {
        justify-content: flex-end;
    }
}

/* ========================================
   Content Section (Read More)
   ======================================== */

.content-wrapper {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.content-wrapper.expanded {
    max-height: none;
}

.content-wrapper.expanded .content-fade {
    opacity: 0;
    visibility: hidden;
}

.content-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

.content-toggle-wrapper {
    text-align: center;
    margin-top: 16px;
}

.content-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    background: white;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.content-toggle-btn:hover {
    background: var(--primary-color);
    color: white;
}

.content-toggle-btn:hover .content-toggle-icon {
    color: white;
}

.content-toggle-icon {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
    transition: transform 0.3s, color 0.3s;
}

.content-toggle-btn:hover .content-toggle-icon {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .content-wrapper {
        max-height: 150px;
    }
}

/* ========================================
   Promotions Section Slider
   ======================================== */

.section-promotions {
    background-color: var(--neutral-50, #f9fafb);
}

.section-header-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header-with-nav .title {
    margin: 0;
}

.promotions-slider-nav {
    display: flex;
    gap: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header-with-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .promotions-slider-nav {
        width: 100%;
        justify-content: flex-end;
    }
}

.messengers-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messengers-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .messengers-buttons {
        grid-template-columns: 1fr;
    }

    .messenger-btn {
        width: 100%;
    }
}

/* ========================================
   Mounting Tab (Product Card)
   ======================================== */

.mounting-tab {
    padding: 0;
}

.mounting-tab-header-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--neutral-900, #171717);
    margin: 0 0 16px 0;
}

.mounting-tab-header-text {
    font-size: 14px;
    color: var(--neutral-600, #525252);
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.mounting-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .mounting-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 40px;
    }
}

@media (min-width: 1280px) {
    .mounting-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.mounting-card {
    position: relative;
    width: 100%;
    height: 164px;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
}

.mounting-card-img {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    object-fit: cover;
    z-index: 0;
}

.mounting-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(23, 23, 23, 0.8);
    z-index: 1;
}

.mounting-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.mounting-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.mounting-card-text {
    font-size: 14px;
    font-weight: 500;
    color: #d4d4d8;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (min-width: 1024px) {
    .mounting-card {
        padding: 24px;
    }
    
    .mounting-card-title {
        font-size: 20px;
    }
    
    .mounting-card-content {
        gap: 16px;
    }
}

@media (min-width: 1536px) {
    .mounting-card-text {
        font-size: 16px;
    }
}

/* ========================================
   Review Card Component
   ======================================== */

.review-card {
    background: white;
    border: 1px solid var(--neutral-200, #e5e5e5);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--neutral-300, #d4d4d4);
}

.review-header {
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    flex-shrink: 0;
}

.review-avatar svg {
    display: block;
}

.review-author-info {
    flex: 1;
}

.review-author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900, #171717);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.review-date {
    font-size: 14px;
    color: var(--neutral-500, #737373);
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-700, #404040);
}

.review-reply {
    background: var(--neutral-50, #f9fafb);
    border-left: 3px solid var(--primary-color, #dc2626);
    border-radius: 8px;
    padding: 16px;
}

.review-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.review-reply-header svg {
    color: var(--primary-color, #dc2626);
}

.review-reply-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-900, #171717);
}

.review-reply-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--neutral-700, #404040);
}

/* Responsive */
@media (max-width: 640px) {
    .review-card {
        padding: 16px;
    }

    .review-author-name {
        font-size: 16px;
    }

    .review-text,
    .review-reply-text {
        font-size: 14px;
    }
}

/* ========================================
   VIDEO CARDS STYLES
   ======================================== */

/* Video Card */
.video-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--neutral-200, #e5e5e5);
    border-radius: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.video-card:hover {
    border-color: var(--neutral-400, #a3a3a3);
}

.video-card-image-wrapper {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-card-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    border-radius: 12px;
}

.video-card:hover .video-card-image-wrapper::before {
    background: rgba(0, 0, 0, 0.4);
}

.video-card-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.video-card:hover .video-card-image {
    transform: scale(1.1);
}

.video-card-play-overlay {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.video-card:hover .video-card-play-overlay {
    opacity: 1;
}

.video-card-play-overlay svg {
    width: 20px;
    height: 20px;
}

.video-card-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--neutral-900, #171717);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card:hover .video-card-title {
    color: var(--primary-color, #dc2626);
}

.video-card-link {
    display: inline-block;
    font-size: 14px;
    color: var(--primary-color, #dc2626);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.video-card-link:hover {
    opacity: 0.8;
}

/* Category Card */
.video-category-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--neutral-200, #e5e5e5);
    border-radius: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.video-category-card:hover {
    border-color: var(--neutral-400, #a3a3a3);
}

.video-category-card-image-wrapper {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-category-card-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0);
    transition: background 0.2s ease;
    border-radius: 12px;
}

.video-category-card:hover .video-category-card-image-wrapper::before {
    background: rgba(0, 0, 0, 0.4);
}

.video-category-card-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.video-category-card:hover .video-category-card-image {
    transform: scale(1.1);
}

.video-category-card-overlay {
    position: absolute;
    z-index: 20;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.video-category-card:hover .video-category-card-overlay {
    opacity: 1;
}

.video-category-card-overlay svg {
    width: 20px;
    height: 20px;
}

.video-category-card-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--neutral-900, #171717);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-category-card:hover .video-category-card-title {
    color: var(--primary-color, #dc2626);
}

/* ============================================
   PROMOTION SIMPLE TEMPLATE
   ============================================ */

.promotion-simple-section {
    padding: 60px 0;
}

.promotion-simple-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--neutral-900);
    text-align: center;
    margin: 0 0 32px 0;
    line-height: 1.2;
}

.promotion-simple-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-body);
    text-align: center;
    margin: 0 auto 32px;
    max-width: 800px;
}

.promotion-simple-button {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.promotion-catalog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #DC4726;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.promotion-catalog-btn:hover {
    background: #B8371B;
    transform: scale(1.05);
    color: #ffffff;
    text-decoration: none;
}

.promotion-catalog-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.promotion-simple-image {
    margin: 0 auto 48px;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.promotion-simple-image img {
    width: 100%;
    height: auto;
    display: block;
}

.promotion-simple-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.promotion-simple-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 40px 0 24px;
}

.promotion-simple-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--neutral-900);
    margin: 32px 0 16px;
}

.promotion-simple-content p {
    margin: 0 0 16px;
}

.promotion-simple-content ul,
.promotion-simple-content ol {
    margin: 0 0 24px;
    padding-left: 24px;
}

.promotion-simple-content li {
    margin-bottom: 8px;
}

/* Адаптивность для планшетов */
@media (max-width: 991.98px) {
    .promotion-simple-section {
        padding: 40px 0;
    }
    
    .promotion-simple-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .promotion-simple-intro {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .promotion-simple-button {
        margin-bottom: 32px;
    }
    
    .promotion-catalog-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .promotion-simple-image {
        margin-bottom: 32px;
    }
    
    .promotion-simple-content h2 {
        font-size: 26px;
    }
    
    .promotion-simple-content h3 {
        font-size: 20px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 575.98px) {
    .promotion-simple-section {
        padding: 32px 0;
    }
    
    .promotion-simple-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .promotion-simple-intro {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .promotion-simple-button {
        margin-bottom: 24px;
    }
    
    .promotion-catalog-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .promotion-catalog-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .promotion-simple-image {
        margin-bottom: 24px;
        border-radius: 12px;
    }
    
    .promotion-simple-content {
        font-size: 15px;
    }
    
    .promotion-simple-content h2 {
        font-size: 22px;
        margin: 32px 0 16px;
    }
    
    .promotion-simple-content h3 {
        font-size: 18px;
        margin: 24px 0 12px;
    }
}

/* ============================================
   CATALOG CARDS - Mobile Layout (Horizontal)
   ============================================ */

/* Мобильная версия: фото слева, название справа */
@media (max-width: 639px) {
    .catalog-section .product-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        height: auto !important;
        min-height: 75px !important;
    }
    
    .catalog-section .product-card-top {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }
    
    .catalog-section .product-image-wrapper {
        flex-shrink: 0 !important;
        width: 75px !important;
        height: 75px !important;
        min-width: 75px !important;
        max-width: 75px !important;
    }
    
    .catalog-section .product-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 10px !important;
    }
    
    .catalog-section .product-card-top > div {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .catalog-section .product-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    
    /* Уменьшение элементов карточек товаров на мобильных */
    .product-title {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }
    
    .product-price-current {
        font-size: 14px !important;
    }
    
    .product-price-old {
        font-size: 13px !important;
    }
    
    .btn-cart,
    .button.button--primary {
        padding: 8px 16px !important;
        font-size: 13px !important;
        gap: 6px !important;
    }
    
    .btn-cart svg,
    .button.button--primary svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .product-card {
        padding: 12px !important;
    }
    
    .product-card-top,
    .product-card-bottom {
        gap: 12px !important;
    }
    
    /* Плашки на карточках - только иконки без текста на мобильных */
    .product-badge,
    .product-badge-sale,
    .product-badge-popular,
    .product-badge-voucher {
        padding: 6px !important;
        font-size: 0 !important;
        gap: 0 !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        justify-content: center !important;
    }
    
    .product-badge svg,
    .product-badge-sale svg,
    .product-badge-popular svg,
    .product-badge-voucher svg {
        width: 16px !important;
        height: 16px !important;
        margin: 0 !important;
    }
}

/* ========================================
   Страница монтажа
   ======================================== */

/* --- Hero --- */
.montaz-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(90deg, #DDD2CD 40%, rgba(221, 210, 205, 0) 65%), var(--hero-bg);
    background-size: var(--hero-bg-size, cover);
    background-position: var(--hero-bg-pos, right center);
    padding-top: 40px;
    padding-bottom: 40px;
}

.montaz-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 820px;
}

.montaz-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    width: fit-content;
}

.montaz-hero__badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.montaz-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.montaz-hero__subtitle {
    font-size: 20px;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
}

.montaz-hero__stats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.montaz-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px;
    background: #F2F2F2;
    border-radius: 12px;
    flex: 1 1 180px;
    min-width: 0;
}

.montaz-hero__stat-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
}

.montaz-hero__stat-label {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.375;
}

.montaz-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.montaz-hero__btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    background-color: white;
    border: none;
    border-radius: var(--border-radius-78);
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s;
}

.montaz-hero__btn-white:hover {
    background-color: var(--neutral-100);
    color: var(--primary-color);
}

/* --- Выбор варианта --- */
.montaz-vybor-card {
    position: relative;
    background: #F2F2F2;
    border-radius: 12px;
    overflow: hidden;
    height: 383px;
}

.montaz-vybor-card__img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    overflow: hidden;
    line-height: 0;
}

.montaz-vybor-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.montaz-vybor-card__img--right img {
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.montaz-vybor-card__body {
    position: relative;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 60%;
    height: 100%;
}

.montaz-vybor-card__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.5;
    white-space: nowrap;
}

.montaz-vybor-card__sub {
    font-size: 18px;
    color: var(--text-dark);
    line-height: 1.4;
}

.montaz-vybor-card__includes {
    margin-top: auto;
    margin-bottom: 12px;
}

.montaz-vybor-card__includes-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.montaz-vybor-card__list {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.montaz-vybor-card__list li {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.375;
}

/* --- Безопасность --- */
.montaz-bezop {
    position: relative;
    min-height: 579px;
    display: flex;
    align-items: center;
    background-color: #F2F2F2;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.montaz-bezop__photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    line-height: 0;
}

.montaz-bezop__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.montaz-bezop__inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.montaz-bezop__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.montaz-bezop__subtitle {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
}

.montaz-bezop__cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.montaz-bezop__card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.montaz-bezop__card-head {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.montaz-bezop__card-head--ok {
    color: var(--primary-color);
}

.montaz-bezop__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.montaz-bezop__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-dark);
}

.montaz-bezop__list--danger li svg {
    opacity: 0.5;
    flex-shrink: 0;
}

.montaz-bezop__list--ok li svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.montaz-bezop__footer {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* --- О компании --- */
.montaz-ok__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.montaz-ok__subtitle {
    font-size: 20px;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.montaz-ok__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #F2F2F2;
    border-radius: 12px;
    text-align: center;
    height: 100%;
}

.montaz-ok__icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.montaz-ok__item span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.375;
}

/* --- Полноширинное фото --- */
.montaz-fullphoto {
    width: 100%;
    height: 400px;
    overflow: hidden;
    line-height: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

.montaz-fullphoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Этапы --- */
.montaz-etapy__subtitle {
    font-size: 20px;
    color: var(--text-dark);
    margin: 0;
}

.montaz-etapy__wrap {
    position: relative;
}

.montaz-etapy__line {
    display: none;
    position: absolute;
    top: 20px;
    left: 0;
    right: calc(100% / 6);
    height: 0;
    border-top: 1px dashed #999;
    z-index: 0;
}

.montaz-etapy__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    position: relative;
    z-index: 1;
}

.montaz-etapy__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.montaz-etapy__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #F2F2F2;
    border-radius: 50px;
    font-size: 16px;
    color: var(--text-dark);
    width: fit-content;
}

.montaz-etapy__name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.montaz-etapy__desc {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.375;
}

.montaz-etapy__note {
    font-size: 14px;
    color: rgba(23, 23, 23, 0.5);
    line-height: 1.43;
}

.montaz-etapy__item--accent {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 32px 20px;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    gap: 12px;
}

.montaz-etapy__item--accent svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: white;
}

/* --- Сколько стоит --- */
.montaz-stoimost {
    position: relative;
    min-height: 496px;
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.montaz-stoimost__photo {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    line-height: 0;
}

.montaz-stoimost__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.montaz-stoimost__inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.montaz-stoimost__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.montaz-stoimost__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--primary-color);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    width: fit-content;
}

.montaz-stoimost__badge svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.montaz-stoimost__card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
}

.montaz-stoimost__card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.montaz-stoimost__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.montaz-stoimost__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--text-dark);
}

.montaz-stoimost__list svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

/* --- Скидка 20% --- */
#montaz-skidka {
    scroll-margin-top: 160px;
}

.montaz-skidka {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), var(--skidka-bg);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    min-height: 430px;
    display: flex;
    align-items: flex-start;
}

.montaz-skidka__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 620px;
    padding: 60px;
}

.montaz-skidka__title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.montaz-skidka__sub {
    font-size: 20px;
    color: white;
    margin: 0;
}

.montaz-skidka__features {
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
}

.montaz-skidka__feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    color: white;
    line-height: 1.375;
}

.montaz-skidka__feature svg {
    flex-shrink: 0;
}

/* --- Галерея работ --- */
.montaz-raboty__slider-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.montaz-raboty__slider {
    flex: 1;
    min-width: 0;
}

.montaz-raboty__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.montaz-raboty__arrow:hover {
    background: #c23d20;
}

.montaz-work-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #F2F2F2;
}

.montaz-work-card__img {
    aspect-ratio: 320 / 380;
    overflow: hidden;
    line-height: 0;
}

.montaz-work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.montaz-work-card:hover .montaz-work-card__img img {
    transform: scale(1.04);
}

/* --- FAQ --- */
.montaz-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.montaz-faq > li {
    background: #F2F2F2;
    border-radius: 12px;
    padding: 0;
    list-style: none;
}

.montaz-faq__question.uk-accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 25px 20px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.montaz-faq__question.uk-accordion-title::before {
    display: none;
}

.montaz-faq__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: white;
    border-radius: 30px;
    position: relative;
}

.montaz-faq__icon::before,
.montaz-faq__icon::after {
    content: '';
    position: absolute;
    background: var(--primary-color);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.montaz-faq__icon::before {
    width: 2px;
    height: 12px;
    transition: transform 0.2s;
}

.montaz-faq__icon::after {
    width: 12px;
    height: 2px;
}

.uk-open .montaz-faq__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.montaz-faq .uk-accordion-content {
    padding: 0 20px 20px;
    margin-top: 0;
}

.montaz-faq .uk-accordion-content p {
    font-size: 16px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.375;
}

/* --- CTA + Контакты --- */
.montaz-cta-wrap {
    margin-top: 20px;
    margin-bottom: 20px;
    scroll-margin-top: 160px;
}

.montaz-cta-wrap__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.montaz-cta {
    background: var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.montaz-cta__title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.montaz-cta__text {
    font-size: 18px;
    color: white;
    margin: 0;
    line-height: 1.4;
}

.montaz-cta__fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
}

.montaz-cta__field {
    display: flex;
    flex-direction: column;
}

.montaz-cta__input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    background: transparent;
    color: white;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.montaz-cta__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.montaz-cta__input:focus {
    border-color: rgba(255, 255, 255, 0.8);
}

.montaz-cta__agree {
    font-size: 12px;
    color: white;
    margin: 0;
    line-height: 1.5;
}

.montaz-cta__agree a {
    color: white;
    text-decoration: underline;
}

.montaz-cta__submit {
    width: 100%;
    max-width: 500px;
}

.montaz-cta__success {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 500;
}

.montaz-cta-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.montaz-contacts {
    background: #F2F2F2;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.montaz-logo-card {
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.montaz-logo-card img {
    width: 100%;
    height: auto;
    display: block;
}

.montaz-contacts__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.montaz-contacts__phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.5;
}

.montaz-contacts__schedule {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.375;
}

/* --- Адаптив --- */
@media (min-width: 640px) {
    .montaz-hero { min-height: 500px; }
}

/* --- Планшет (640px – 959px) --- */
@media (min-width: 640px) and (max-width: 959px) {

    /* Hero */
    .montaz-hero__inner { max-width: 100%; }
    .montaz-hero__stats { flex-wrap: wrap; }
    .montaz-hero__stat { flex: 1 1 160px; }

    /* Vybor */
    .montaz-vybor-card__title { white-space: normal; font-size: 24px; }
    .montaz-vybor-card__body { max-width: 65%; }

    /* Безопасность — фото ниже контента */
    .montaz-bezop {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .montaz-bezop > .container { order: 1; }
    .montaz-bezop__photo {
        order: 2;
        position: static;
        width: 100%;
        height: 520px;
        flex-shrink: 0;
    }
    .montaz-bezop__photo img {
        object-position: center 80%;
    }
    .montaz-bezop__inner {
        max-width: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* Этапы — вертикальный список */
    .montaz-etapy__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .montaz-etapy__item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 16px;
        row-gap: 4px;
        align-items: start;
    }
    .montaz-etapy__badge {
        grid-column: 1;
        grid-row: 1 / 4;
        align-self: start;
    }
    .montaz-etapy__name { grid-column: 2; grid-row: 1; }
    .montaz-etapy__desc { grid-column: 2; grid-row: 2; }
    .montaz-etapy__note { grid-column: 2; grid-row: 3; }
    .montaz-etapy__item--accent {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
    }
    .montaz-etapy__line {
        display: block;
        left: 41px;
        top: 20px;
        right: auto;
        bottom: 128px;
        width: 0;
        height: auto;
        border-top: none;
        border-left: 1px dashed #999;
    }

    /* Сколько стоит — фото ниже контента */
    .montaz-stoimost {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    .montaz-stoimost > .container { order: 1; }
    .montaz-stoimost__photo {
        order: 2;
        position: static;
        width: 100%;
        height: 360px;
        flex-shrink: 0;
    }
    .montaz-stoimost__inner {
        max-width: 100%;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    /* CTA — форма сверху, контакты + лого в ряд снизу */
    .montaz-cta-wrap__inner { flex-direction: column; }
    .montaz-cta-right {
        width: 100%;
        flex-direction: row;
        gap: 16px;
    }
    .montaz-contacts,
    .montaz-logo-card { flex: 1; }
    .montaz-logo-card {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F2F2F2;
        border-radius: 12px;
        padding: 24px;
    }
    .montaz-logo-card img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (min-width: 960px) and (max-width: 1199px) {
    .montaz-bezop__inner,
    .montaz-stoimost__inner { max-width: 460px; }

    .montaz-vybor-card { height: auto; min-height: 383px; }
    .montaz-vybor-card__title { white-space: normal; font-size: 24px; }
    .montaz-vybor-card__body { max-width: 65%; }
}

@media (min-width: 960px) {
    .montaz-hero { min-height: 578px; padding-top: 60px; padding-bottom: 60px; }
    .montaz-hero__title { font-size: 40px; }

    .montaz-etapy__grid { grid-template-columns: repeat(6, 1fr); }
    .montaz-etapy__line { display: block; }

    .montaz-fullphoto { height: 579px; }

    .montaz-stoimost,
    .montaz-bezop,
    .montaz-cta-wrap { margin-top: 80px; margin-bottom: 80px; }

    .montaz-skidka { min-height: 430px; }
    .montaz-skidka__title { font-size: 40px; }

    .montaz-cta__title { font-size: 32px; }

    .montaz-cta-wrap__inner { flex-direction: row; align-items: stretch; }
    .montaz-cta { flex: 1; }
    .montaz-cta-right { width: 460px; flex-shrink: 0; flex-direction: column; }
}

@media (min-width: 1200px) {
    .montaz-hero__title { font-size: 48px; }
}

@media (max-width: 639px) {
    .montaz-hero {
        background-image: linear-gradient(90deg, #DDD2CD 0%, rgba(221, 210, 205, 0.7) 100%), var(--hero-bg);
        background-position: center right;
        min-height: unset;
        padding-top: 40px;
        padding-bottom: 40px;
        align-items: flex-start;
    }

    .montaz-stoimost__photo { display: none; }

    /* Безопасность — фото ниже контента */
    .montaz-bezop { display: flex; flex-direction: column; min-height: auto; }
    .montaz-bezop > .container { order: 1; }
    .montaz-bezop__photo {
        order: 2;
        position: static;
        width: 100%;
        height: 293px;
        flex-shrink: 0;
    }
    .montaz-bezop__photo img {
        object-position: center 80%;
    }
    .montaz-bezop__inner { max-width: 100%; padding-top: 32px; padding-bottom: 32px; }

    .montaz-vybor-card__img { display: none; }
    .montaz-vybor-card__body { max-width: 100%; }
    .montaz-vybor-card { height: auto; }
    .montaz-vybor-card__title { white-space: normal; font-size: 20px; }

    /* Hero stats — 2x2 карточки */
    .montaz-hero__inner { max-width: 100%; }
    .montaz-hero__stats { flex-wrap: wrap; gap: 8px; }
    .montaz-hero__stat {
        flex: 0 0 calc(50% - 4px);
        background: #F2F2F2;
        border-radius: 12px;
        padding: 16px;
    }
    .montaz-hero__stat-val { font-size: 18px; }
    .montaz-hero__stat-label { font-size: 14px; color: var(--text-dark); }

    /* Hero кнопки — в столбец */
    .montaz-hero__actions {
        flex-direction: column;
        gap: 10px;
    }
    .montaz-hero__actions .btn-primary,
    .montaz-hero__actions .montaz-hero__btn-white {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Этапы — вертикальный список */
    .montaz-etapy__grid { grid-template-columns: 1fr; gap: 24px; }
    .montaz-etapy__item {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 16px;
        row-gap: 4px;
        align-items: start;
    }
    .montaz-etapy__badge { grid-column: 1; grid-row: 1 / 4; align-self: start; }
    .montaz-etapy__name { grid-column: 2; grid-row: 1; }
    .montaz-etapy__desc { grid-column: 2; grid-row: 2; }
    .montaz-etapy__note { grid-column: 2; grid-row: 3; }
    .montaz-etapy__item--accent {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
    }
    .montaz-etapy__line {
        display: block;
        left: 41px;
        top: 20px;
        right: auto;
        bottom: 128px;
        width: 0;
        height: auto;
        border-top: none;
        border-left: 1px dashed #999;
    }

    /* Скидка — фичи в столбец */
    .montaz-skidka__features { flex-direction: column; flex-wrap: wrap; gap: 12px; }
    .montaz-skidka__feature { flex-direction: row; align-items: center; gap: 12px; }

    /* CTA — все блоки в столбец */
    .montaz-cta-wrap__inner { flex-direction: column; }
    .montaz-cta-right { width: 100%; flex-direction: column; }
    .montaz-logo-card {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #F2F2F2;
        border-radius: 12px;
        padding: 24px;
    }
    .montaz-logo-card img { width: 100%; height: auto; object-fit: contain; }
}


/* ============================================
   SEO-ТЕКСТЫ РАЗДЕЛОВ (чанки text-seo/*)
   ============================================ */

/* Вступительный абзац под заголовком */
.seo-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--neutral-600);
    max-width: 920px;
}

/* Небольшой надзаголовок над h2 */
.seo-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Порядковый номер внутри карточки */
.seo-number {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

/* Акцентная врезка */
.seo-note {
    margin: 24px 0 0;
    padding: 18px 24px;
    border-left: 3px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    background: #fff;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
}

.seo-note p:last-child,
.seo-note ul:last-child,
.seo-note ol:last-child {
    margin-bottom: 0;
}

/* Сетка карточек: 3 в ряд, планшет — 2, телефон — 1 */
.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

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

.seo-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-grid > * {
    margin: 0;
}

@media (max-width: 991px) {
    .seo-grid,
    .seo-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .seo-grid,
    .seo-grid--2,
    .seo-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* Пронумерованные шаги — в ряд, на мобильных в столбик */
.seo-steps {
    counter-reset: seo-step;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.seo-steps > li {
    margin: 0;
    padding: 20px;
    border: 1px solid var(--neutral-200);
    border-radius: 12px;
    background: #fff;
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
}

.seo-steps > li::before {
    counter-increment: seo-step;
    content: counter(seo-step);
    display: flex;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.seo-steps > li strong {
    color: var(--neutral-900);
}

.seo-steps > li h3 {
    margin-bottom: 6px;
}

.seo-steps > li p:last-child {
    margin-bottom: 0;
}

/* Ряд кнопок */
.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* .content-text a перебивает цвет текста кнопки — возвращаем белый */
.content-text .btn-primary,
.seo-actions .btn-primary,
.seo-cta .btn-primary {
    color: #fff;
}

.content-text .btn-primary:hover,
.seo-actions .btn-primary:hover,
.seo-cta .btn-primary:hover {
    color: var(--neutral-200);
}

/* Ряд текстовых ссылок */
.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 20px;
}

.seo-links a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Тёмный баннер-призыв */
.seo-cta {
    padding: 40px;
    border-radius: 16px;
    background: var(--neutral-900);
    color: #fff;
}

.seo-cta h2,
.seo-cta h3,
.seo-cta p,
.seo-cta li,
.seo-cta strong,
.seo-cta span {
    color: #fff;
}

.seo-cta h2 {
    margin-bottom: 16px;
}

.seo-cta p:last-of-type {
    margin-bottom: 0;
}

/* Вложенные светлые блоки внутри тёмного баннера — текст остаётся тёмным */
.seo-cta .uk-card,
.seo-cta .uk-card h3,
.seo-cta .uk-card p,
.seo-cta .uk-card li,
.seo-cta .uk-card span,
.seo-cta .seo-steps > li,
.seo-cta .seo-steps > li p,
.seo-cta .seo-steps > li span,
.seo-cta .seo-note,
.seo-cta .seo-note p,
.seo-cta .seo-note span {
    color: var(--text-body);
}

.seo-cta .uk-card h3,
.seo-cta .uk-card strong,
.seo-cta .seo-steps > li strong,
.seo-cta .seo-note strong {
    color: var(--neutral-900);
}

.seo-cta a:not(.btn-primary):not(.button) {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seo-cta a:not(.btn-primary):not(.button):hover {
    opacity: 0.8;
}

/* Вторая кнопка на тёмном фоне — белый контур */
.seo-cta .button.button--outline.button--outline-primary {
    border-color: #fff;
    color: #fff;
}

.seo-cta .button.button--outline.button--outline-primary:hover {
    background: #fff;
    color: var(--neutral-900);
}

@media (max-width: 767px) {
    .seo-cta {
        padding: 24px;
    }

    .seo-lead {
        font-size: 16px;
    }

    .seo-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-steps > li {
        padding: 16px;
    }

    .seo-steps > li::before {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }

    .seo-actions .btn-primary,
    .seo-actions .button {
        width: 100%;
    }
}
