/* ============================================================
   BONASORT
   Restrained industrial commerce interface

   Основные принципы:
   - реальные изображения вместо декоративных эффектов;
   - бордовый используется только как акцент;
   - минимум теней и скруглений;
   - моноширинный шрифт только для технических данных;
   - без универсальных reveal-анимаций и прыгающих карточек.
   ============================================================ */

/* ============================================================
   TOKENS
   ============================================================ */

:root {
    --bs-primary: #981f36;
    --bs-primary-dark: #781629;
    --bs-primary-hover: #861a2f;
    --bs-primary-light: #f5e9ec;

    --bs-ink: #1d2024;
    --bs-ink-soft: #3f444a;
    --bs-text: #2c3035;
    --bs-muted: #686e75;
    --bs-muted-light: #8c9299;

    --bs-white: #ffffff;
    --bs-paper: #f4f4f1;
    --bs-paper-dark: #ecece7;
    --bs-surface: #ffffff;

    --bs-border: #dedfda;
    --bs-border-dark: #c9cbc5;

    --bs-success: #267a4b;
    --bs-warning: #a66812;
    --bs-error: #b83232;

    --bs-radius-xs: 2px;
    --bs-radius: 4px;
    --bs-radius-lg: 8px;

    --bs-shadow-small:
        0 1px 2px rgba(29, 32, 36, 0.05);

    --bs-shadow:
        0 8px 30px rgba(29, 32, 36, 0.10);

    --bs-shadow-large:
        0 20px 60px rgba(29, 32, 36, 0.16);

    --bs-font-display:
        "Archivo",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --bs-font-body:
        "IBM Plex Sans",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --bs-font-mono:
        "IBM Plex Mono",
        "SFMono-Regular",
        Consolas,
        monospace;

    --bs-container: 1240px;

    --bs-transition-fast: 140ms ease;
    --bs-transition: 220ms ease;
}


/* ============================================================
   BASE
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bs-white);
    color: var(--bs-text);
    font-family: var(--bs-font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--bs-ink);
    font-family: var(--bs-font-display);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.025em;
}

p {
    margin-top: 0;
}

ul,
ol {
    margin-top: 0;
}

::selection {
    background: var(--bs-primary);
    color: var(--bs-white);
}

:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 3px;
}

.site-content {
    min-height: 50vh;
}

.container {
    width: min(calc(100% - 40px), var(--bs-container));
    max-width: var(--bs-container);
    margin-right: auto;
    margin-left: auto;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--bs-radius);

    font-family: var(--bs-font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast),
        border-color var(--bs-transition-fast);
}

.btn-lg {
    min-height: 50px;
    padding: 14px 26px;
    font-size: 15px;
}

.btn-sm {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.btn-outline {
    background: transparent;
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-light {
    background: var(--bs-paper);
    border-color: var(--bs-border);
    color: var(--bs-ink);
}

.btn:active {
    transform: translateY(1px);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background: var(--bs-primary-dark);
        border-color: var(--bs-primary-dark);
        color: var(--bs-white);
    }

    .btn-outline:hover {
        background: var(--bs-primary);
        border-color: var(--bs-primary);
        color: var(--bs-white);
    }

    .btn-light:hover {
        background: var(--bs-paper-dark);
        border-color: var(--bs-border-dark);
    }
}


/* ============================================================
   BADGES
   ============================================================ */

.badge,
.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 9px;
    border-radius: var(--bs-radius-xs);

    background: var(--bs-primary);
    color: var(--bs-white);

    font-family: var(--bs-font-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--bs-white);
    border: 1px solid var(--bs-border-dark);
    color: var(--bs-ink);
}


/* ============================================================
   DESKTOP HEADER
   ============================================================ */

.site-header {
    position: relative;
    z-index: 1000;
    background: var(--bs-white);
}

.header-topbar {
    min-height: 36px;
    display: flex;
    align-items: center;
    background: var(--bs-ink);
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
}

.header-topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-text {
    max-width: 620px;
}

.topbar-contacts {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
}

.topbar-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.88);
    transition: color var(--bs-transition-fast);
}

@media (hover: hover) {
    .topbar-contacts a:hover {
        color: var(--bs-white);
    }
}

.header-main {
    position: sticky;
    top: 0;
    z-index: 1001;

    padding: 15px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--bs-border);

    transition: box-shadow var(--bs-transition);
}

.admin-bar .header-main {
    top: 32px;
}

.header-main.is-scrolled {
    box-shadow: var(--bs-shadow-small);
}

.header-main .container {
    display: grid;
    grid-template-columns: auto minmax(340px, 1fr) auto;
    align-items: center;
    gap: 34px;
}

.site-logo {
    min-width: 160px;
}

.site-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo img,
.site-logo .custom-logo {
    width: auto;
    max-width: 210px;
    max-height: 54px;
}

.logo-fallback {
    color: var(--bs-primary);
    font-family: var(--bs-font-display);
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.logo-fallback span {
    color: var(--bs-ink);
}


/* Header search */

.header-search {
    position: relative;
    width: 100%;
}

.header-search .search-form,
.mobile-search-bar .search-form {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: stretch;

    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-border-dark);
    border-radius: var(--bs-radius);

    transition:
        border-color var(--bs-transition-fast),
        box-shadow var(--bs-transition-fast);
}

.header-search .search-form:focus-within,
.mobile-search-bar .search-form:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(152, 31, 54, 0.09);
}

.header-search .search-cat {
    min-width: 170px;
    display: flex;
    align-items: center;
    background: var(--bs-paper);
    border-right: 1px solid var(--bs-border);
}

.header-search .search-cat select {
    width: 100%;
    height: 100%;
    padding: 0 32px 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bs-muted);
    font-size: 12px;
    cursor: pointer;
}

.header-search .search-input,
.mobile-search-bar .search-input,
.header-search input[type="search"],
.mobile-search-bar input[type="search"] {
    min-width: 0;
    flex: 1;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--bs-ink);
    font-size: 14px;
}

.header-search .search-input::placeholder,
.mobile-search-bar input[type="search"]::placeholder {
    color: var(--bs-muted-light);
}

.header-search .search-submit,
.mobile-search-bar .search-submit {
    width: 52px;
    flex: 0 0 52px;
    border: 0;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: background-color var(--bs-transition-fast);
}

@media (hover: hover) {
    .header-search .search-submit:hover,
    .mobile-search-bar .search-submit:hover {
        background: var(--bs-primary-dark);
    }
}


/* Search dropdown */

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 1100;

    max-height: min(520px, 70vh);
    overflow-y: auto;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    box-shadow: var(--bs-shadow-large);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity var(--bs-transition-fast),
        visibility var(--bs-transition-fast),
        transform var(--bs-transition-fast);
}

.search-results-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 13px;

    min-height: 78px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--bs-border);

    transition: background-color var(--bs-transition-fast);
}

.search-result-item img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    background: var(--bs-paper);
}

.search-result-item .result-title {
    color: var(--bs-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.search-result-item .result-price {
    margin-top: 3px;
    color: var(--bs-primary);
    font-family: var(--bs-font-mono);
    font-size: 12px;
}

.search-results-dropdown .no-results {
    padding: 24px 18px;
    color: var(--bs-muted);
    font-size: 13px;
    text-align: center;
}

.search-results-dropdown .see-all {
    display: flex;
    justify-content: center;
    padding: 13px 18px;
    background: var(--bs-paper);
    color: var(--bs-primary);
    font-size: 13px;
    font-weight: 700;
}

@media (hover: hover) {
    .search-result-item:hover {
        background: var(--bs-paper);
    }

    .search-results-dropdown .see-all:hover {
        background: var(--bs-paper-dark);
    }
}


/* Header tools */

.header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.header-tools .tool-item {
    position: relative;
    min-width: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;

    color: var(--bs-ink-soft);
    font-size: 11px;
    line-height: 1.1;

    transition: color var(--bs-transition-fast);
}

.header-tools .tool-item i {
    font-size: 19px;
}

.header-tools .tool-count {
    position: absolute;
    top: -7px;
    right: 11px;

    min-width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;

    padding: 0 5px;
    border-radius: 10px;
    background: var(--bs-primary);
    color: var(--bs-white);

    font-family: var(--bs-font-mono);
    font-size: 10px;
    font-weight: 600;
}

.header-tools .tool-count[style*="display: inline"],
.header-tools .tool-count[style*="display: block"] {
    display: flex !important;
}

.header-social {
    display: none;
}

@media (hover: hover) {
    .header-tools .tool-item:hover {
        color: var(--bs-primary);
    }
}


/* Header bottom navigation */

.header-bottom {
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
}

.header-bottom .container {
    min-height: 50px;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.categories-trigger {
    position: relative;
    width: 250px;
    flex: 0 0 250px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 0 18px;
    background: var(--bs-primary);
    color: var(--bs-white);

    font-family: var(--bs-font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;

    cursor: pointer;
}

.categories-trigger .hamburger {
    width: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.categories-trigger .hamburger span {
    width: 100%;
    height: 1px;
    display: block;
    background: currentColor;
}

.categories-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;

    width: 360px;
    max-height: min(620px, 75vh);
    overflow-y: auto;

    padding: 7px;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    box-shadow: var(--bs-shadow-large);

    color: var(--bs-text);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);

    transition:
        opacity var(--bs-transition-fast),
        visibility var(--bs-transition-fast),
        transform var(--bs-transition-fast);
}

.categories-trigger.is-open .categories-dropdown,
.categories-trigger:focus-within .categories-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.categories-list li + li {
    border-top: 1px solid var(--bs-border);
}

.categories-list li a {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 46px;
    padding: 8px 10px;

    color: var(--bs-text);
    font-size: 13px;
    font-weight: 500;

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast);
}

.categories-list .cat-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    object-fit: contain;
}

@media (hover: hover) {
    .categories-trigger:hover {
        background: var(--bs-primary-dark);
    }

    .categories-trigger:hover .categories-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .categories-list li a:hover {
        background: var(--bs-paper);
        color: var(--bs-primary);
    }
}


/* Main navigation */

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

.main-nav > ul,
.main-nav .menu {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 26px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav li {
    position: relative;
    display: flex;
    align-items: stretch;
}

.main-nav li > a {
    display: flex;
    align-items: center;
    padding: 0;

    color: var(--bs-ink-soft);
    font-family: var(--bs-font-display);
    font-size: 13px;
    font-weight: 600;

    transition: color var(--bs-transition-fast);
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    z-index: 1050;

    min-width: 230px;
    display: block;

    margin: 0;
    padding: 7px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    box-shadow: var(--bs-shadow);

    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);

    transition:
        opacity var(--bs-transition-fast),
        visibility var(--bs-transition-fast),
        transform var(--bs-transition-fast);
}

.main-nav .sub-menu li {
    display: block;
}

.main-nav .sub-menu li + li {
    border-top: 1px solid var(--bs-border);
}

.main-nav .sub-menu a {
    min-height: 40px;
    padding: 8px 10px;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) {
    .main-nav li > a:hover,
    .main-nav .current-menu-item > a {
        color: var(--bs-primary);
    }
}


/* ============================================================
   MOBILE HEADER AND NAVIGATION
   ============================================================ */

.mobile-header,
.mobile-toolbar {
    display: none;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1190;

    background: rgba(20, 22, 25, 0.58);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--bs-transition),
        visibility var(--bs-transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1200;

    width: min(88vw, 390px);
    overflow-y: auto;

    background: var(--bs-white);
    box-shadow: var(--bs-shadow-large);

    transform: translateX(-101%);
    transition: transform 280ms ease;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav .nav-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-paper);
    color: var(--bs-ink);
    border: 1px solid var(--bs-border);
}

.mobile-nav .nav-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 66px 16px 0;
    border-bottom: 1px solid var(--bs-border);
}

.mobile-nav .nav-tabs button {
    min-height: 44px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--bs-muted);
    font-weight: 700;
}

.mobile-nav .nav-tabs button.active {
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
}

.mobile-nav .nav-content {
    padding: 12px 16px 28px;
}

.mobile-nav .tab-content {
    display: none;
}

.mobile-nav .tab-content.active {
    display: block;
}

.mobile-nav .menu,
.mobile-nav .tab-content > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav .menu li + li {
    border-top: 1px solid var(--bs-border);
}

.mobile-nav .menu a {
    display: block;
    padding: 12px 4px;
    color: var(--bs-ink);
    font-size: 14px;
    font-weight: 600;
}

.mobile-nav .sub-menu {
    margin: 0 0 8px;
    padding: 0 0 0 16px;
    list-style: none;
}


/* ============================================================
   HOME HERO
   ============================================================ */

.home-page {
    overflow: hidden;
}

.home-hero {
    padding: 72px 0;
    background: var(--bs-paper);
    border-bottom: 1px solid var(--bs-border);
}

.home-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
    align-items: center;
    gap: clamp(48px, 6vw, 86px);
}

.home-hero--without-media .home-hero__layout {
    grid-template-columns: minmax(0, 840px);
}

.home-hero__content {
    padding-bottom: 58px;
}

.home-hero__overline {
    margin-bottom: 22px;
    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 5vw, 4.45rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.home-hero__description {
    max-width: 610px;
    margin-bottom: 30px;
    color: var(--bs-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    line-height: 1.65;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 26px;
}

.home-hero__primary span {
    font-size: 17px;
}

.home-hero__contact {
    display: flex;
    flex-direction: column;
    gap: 1px;
    color: var(--bs-ink);
    line-height: 1.3;
}

.home-hero__contact-label {
    color: var(--bs-muted);
    font-size: 12px;
}

.home-hero__contact-value {
    color: var(--bs-ink);
    font-size: 16px;
    font-weight: 700;
    transition: color var(--bs-transition-fast);
}

.home-hero__schedule {
    margin-top: 22px;
    color: var(--bs-muted);
    font-size: 12px;
}

.home-hero__schedule strong {
    color: var(--bs-ink-soft);
    font-weight: 600;
}

.home-hero__media {
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
}

.home-hero__image-wrap {
    position: relative;
    min-height: 450px;
    flex: 1;
    overflow: hidden;
    background: var(--bs-white);
    border-right: 1px solid var(--bs-border);
    border-left: 1px solid var(--bs-border);
}

.home-hero__image {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    object-position: center;
}

.home-hero__caption {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
}

.home-hero__caption span {
    min-height: 56px;
    display: flex;
    align-items: center;
    padding: 11px 15px;
    color: var(--bs-muted);
    font-size: 11px;
    line-height: 1.35;
}

.home-hero__caption span + span {
    border-left: 1px solid var(--bs-border);
}

@media (hover: hover) {
    .home-hero__contact:hover .home-hero__contact-value {
        color: var(--bs-primary);
    }
}


/* Hero directions */

.home-hero__directions {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: stretch;
    border-top: 1px solid var(--bs-border);
}

.home-hero__directions-label {
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 0;
    border-right: 1px solid var(--bs-border);

    color: var(--bs-muted);
    font-size: 12px;
    font-weight: 600;
}

.home-hero__directions-list {
    min-width: 0;
    display: flex;
    align-items: stretch;

    margin: 0;
    padding: 0;
    list-style: none;
}

.home-hero__directions-list li {
    display: flex;
    align-items: stretch;
    border-right: 1px solid var(--bs-border);
}

.home-hero__directions-list li:last-child {
    border-right: 0;
}

.home-hero__directions-list a {
    display: flex;
    align-items: center;
    padding: 17px 18px;

    color: var(--bs-ink-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast);
}

.home-hero__directions-all {
    margin-left: auto;
}

.home-hero__directions-all a {
    color: var(--bs-primary);
}

@media (hover: hover) {
    .home-hero__directions-list a:hover {
        background: var(--bs-white);
        color: var(--bs-primary);
    }
}


/* ============================================================
   HOME PROOF
   ============================================================ */

.home-proof {
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
}

.home-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-proof__item {
    min-height: 126px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 25px 28px;
}

.home-proof__item + .home-proof__item {
    border-left: 1px solid var(--bs-border);
}

.home-proof__value {
    color: var(--bs-ink);
    font-family: var(--bs-font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.home-proof__label {
    max-width: 220px;
    color: var(--bs-muted);
    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   HOME SECTION HEADINGS
   ============================================================ */

.home-section {
    padding: 92px 0;
}

.home-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.home-section__heading {
    max-width: 750px;
}

.home-section__kicker {
    margin-bottom: 10px;
    color: var(--bs-primary);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-section__title {
    margin-bottom: 0;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.home-section__description {
    max-width: 660px;
    margin: 15px 0 0;
    color: var(--bs-muted);
    font-size: 15px;
    line-height: 1.65;
}

.home-section__link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;

    color: var(--bs-primary);
    font-size: 13px;
    font-weight: 700;

    transition: color var(--bs-transition-fast);
}

@media (hover: hover) {
    .home-section__link:hover {
        color: var(--bs-primary-dark);
    }
}


/* Legacy section title */

.section-title {
    margin-bottom: 32px;
    padding: 0;
    text-align: left;
}

.section-title::before {
    display: none;
}

.section-title .subtitle {
    margin-bottom: 8px;
    color: var(--bs-primary);
    font-family: var(--bs-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title .subtitle::before {
    display: none;
}

.section-title h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3vw, 2.75rem);
    letter-spacing: -0.04em;
}


/* ============================================================
   HOME CATEGORIES
   ============================================================ */

.home-categories {
    background: var(--bs-white);
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card {
    grid-column: span 2;
    min-width: 0;
    display: flex;
    flex-direction: column;

    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    box-shadow: none;

    transition:
        border-color var(--bs-transition),
        background-color var(--bs-transition);
}

.home-category-card:nth-child(1),
.home-category-card:nth-child(2) {
    grid-column: span 3;
}

.home-category-card::after {
    display: none !important;
    content: none !important;
}

.home-category-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bs-paper);
    border-bottom: 1px solid var(--bs-border);
}

.home-category-card:nth-child(1) .home-category-card__media,
.home-category-card:nth-child(2) .home-category-card__media {
    aspect-ratio: 16 / 8;
}

.home-category-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 420ms ease;
}

.home-category-card__image--icon {
    padding: 17%;
    object-fit: contain;
}

.home-category-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-paper);
    color: var(--bs-border-dark);
}

.home-category-card__placeholder span {
    font-family: var(--bs-font-display);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.home-category-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 19px 20px 21px;
}

.home-category-card__number {
    margin-bottom: 11px;
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 10px;
    line-height: 1;
}

.home-category-card__title {
    max-width: 92%;
    margin: 0;
    color: var(--bs-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

.home-category-card:nth-child(1) .home-category-card__title,
.home-category-card:nth-child(2) .home-category-card__title {
    font-size: 19px;
}

.home-category-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;

    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .home-category-card:hover {
        border-color: var(--bs-border-dark);
        background: var(--bs-paper);
        transform: none;
        box-shadow: none;
    }

    .home-category-card:hover .home-category-card__image {
        transform: scale(1.025);
    }
}


/* ============================================================
   HOME PRODUCTS
   ============================================================ */

.home-products {
    background: var(--bs-paper);
    border-top: 1px solid var(--bs-border);
    border-bottom: 1px solid var(--bs-border);
}

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


/* ============================================================
   PRODUCT GRID AND CARDS
   ============================================================ */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;

    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    box-shadow: none;

    transition:
        border-color var(--bs-transition),
        background-color var(--bs-transition);
}

.product-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 18px;

    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
}

.product-card-image > a {
    width: 100%;
    height: 100%;
    display: block;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;

    transition: transform 400ms ease;
}

.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.product-card-brand {
    margin-bottom: 7px;
    color: var(--bs-primary);
    font-family: var(--bs-font-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.product-card-title {
    min-height: 44px;
    margin: 0;
    color: var(--bs-ink);
    font-family: var(--bs-font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -0.015em;
}

.product-card-title a {
    transition: color var(--bs-transition-fast);
}

.product-card-desc {
    margin-top: 9px;
    color: var(--bs-muted);
    font-size: 12px;
    line-height: 1.55;
}

.product-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;

    display: flex;
    flex-direction: column;
    gap: 7px;
}

.product-actions a,
.product-actions button,
.bs-compare-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    background: rgba(255, 255, 255, 0.96);
    color: var(--bs-ink-soft);

    box-shadow: none;

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast),
        border-color var(--bs-transition-fast);
}

.bs-compare-btn.added {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.product-warranty-tag {
    position: absolute;
    bottom: 11px;
    left: 11px;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius-xs);

    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    font-size: 10px;
    font-weight: 600;

    opacity: 1;
    transform: none;
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--bs-border);
}

.product-card-meta .lead-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    font-size: 11px;
    font-weight: 500;
}

.product-card-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        border-color: var(--bs-border-dark);
        transform: none;
        box-shadow: none;
    }

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

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

    .product-actions a:hover,
    .product-actions button:hover,
    .bs-compare-btn:hover {
        background: var(--bs-primary);
        border-color: var(--bs-primary);
        color: var(--bs-white);
        transform: none;
    }
}


/* Product specification rows */

.product-card-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 13px 0 15px;
}

.product-card-specs .spec-row {
    display: grid;
    grid-template-columns: auto minmax(14px, 1fr) auto;
    align-items: baseline;
    gap: 7px;

    font-size: 11px;
    line-height: 1.4;
}

.product-card-specs dt {
    grid-column: 1;
    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    white-space: nowrap;
}

.product-card-specs .spec-row::after {
    grid-column: 2;
    content: "";
    align-self: end;
    margin-bottom: 4px;
    border-bottom: 1px dotted var(--bs-border-dark);
}

.product-card-specs dd {
    grid-column: 3;
    margin: 0;

    color: var(--bs-ink);
    font-family: var(--bs-font-mono);
    font-size: 10.5px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
}


/* ============================================================
   HOME SELECTION CTA
   ============================================================ */

.home-selection {
    padding: 72px 0;
    background: var(--bs-white);
}

.home-selection__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 60px;

    padding: 48px 52px;
    background: var(--bs-paper);
    border: 1px solid var(--bs-border);
    border-left: 4px solid var(--bs-primary);
}

.home-selection__kicker {
    margin-bottom: 9px;
    color: var(--bs-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-selection__title {
    max-width: 760px;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    letter-spacing: -0.04em;
}

.home-selection__description {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--bs-muted);
    font-size: 14px;
    line-height: 1.7;
}

.home-selection__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.home-selection__email {
    color: var(--bs-muted);
    font-size: 12px;
    line-height: 1.45;
}

.home-selection__email strong {
    display: block;
    color: var(--bs-ink);
    font-size: 14px;
}


/* ============================================================
   HOME COMPANY
   ============================================================ */

.home-company {
    background: var(--bs-white);
    border-top: 1px solid var(--bs-border);
}

.home-company__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    align-items: start;
    gap: clamp(48px, 7vw, 96px);
}

.home-company__layout--without-media {
    grid-template-columns: minmax(0, 900px);
}

.home-company__media {
    position: sticky;
    top: 100px;
    overflow: hidden;
    background: var(--bs-paper);
    border: 1px solid var(--bs-border);
}

.home-company__image {
    width: 100%;
    min-height: 520px;
    object-fit: cover;
}

.home-company__text {
    margin-top: 23px;
    color: var(--bs-muted);
    font-size: 15px;
    line-height: 1.8;
}

.home-company__text > *:last-child {
    margin-bottom: 0;
}

.home-company__advantages {
    margin-top: 38px;
    padding-top: 28px;
    border-top: 1px solid var(--bs-border);
}

.home-company__advantages-title {
    margin-bottom: 17px;
    font-size: 17px;
}

.home-company__advantages-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-company__advantage {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
    border-top: 1px solid var(--bs-border);
}

.home-company__advantage:first-child {
    border-top: 0;
}

.home-company__advantage-number {
    padding-top: 3px;
    color: var(--bs-primary);
    font-family: var(--bs-font-mono);
    font-size: 11px;
}

.home-company__advantage-content h4 {
    margin-bottom: 5px;
    font-size: 15px;
}

.home-company__advantage-content p {
    margin: 0;
    color: var(--bs-muted);
    font-size: 13px;
    line-height: 1.55;
}


/* Legacy advantages */

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--bs-border);
    border: 1px solid var(--bs-border);
}

.advantage-item {
    display: flex;
    gap: 14px;
    padding: 20px;
    background: var(--bs-white);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.advantage-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-primary-light);
    color: var(--bs-primary);
    border-radius: var(--bs-radius);
}

.advantage-title {
    font-size: 14px;
    font-weight: 700;
}

.advantage-text {
    margin-top: 4px;
    color: var(--bs-muted);
    font-size: 12px;
}


/* ============================================================
   HOME CLIENTS
   ============================================================ */

.home-clients {
    background: var(--bs-paper);
    border-top: 1px solid var(--bs-border);
    border-bottom: 1px solid var(--bs-border);
}

.home-clients__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: var(--bs-border);
    border: 1px solid var(--bs-border);
    gap: 1px;
}

.home-clients__item {
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
    background: var(--bs-white);
}

.home-clients__logo {
    width: auto;
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.68;

    transition:
        filter var(--bs-transition),
        opacity var(--bs-transition);
}

@media (hover: hover) {
    .home-clients__item:hover .home-clients__logo {
        filter: grayscale(0);
        opacity: 1;
    }
}


/* Legacy client carousel */

.clients-section-wrapper {
    background: var(--bs-paper);
    border-top: 1px solid var(--bs-border);
    border-bottom: 1px solid var(--bs-border);
}

.clients-carousel {
    position: relative;
    overflow: hidden;
}

.clients-track {
    display: flex;
}

.client-logo {
    min-width: 190px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.client-logo img {
    max-height: 64px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
}

.carousel-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    background: var(--bs-white);
    color: var(--bs-ink);
}


/* ============================================================
   HOME JOURNAL / BLOG
   ============================================================ */

.home-journal {
    background: var(--bs-white);
}

.home-journal__grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-card,
.home-journal-card {
    min-width: 0;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    box-shadow: none;

    transition: border-color var(--bs-transition);
}

.blog-card-image,
.home-journal-card__media {
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: var(--bs-paper);
    border-bottom: 1px solid var(--bs-border);
}

.blog-card-image img,
.home-journal-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 420ms ease;
}

.home-journal-card__placeholder {
    width: 100%;
    height: 100%;
    background: var(--bs-paper-dark);
}

.blog-card-body,
.home-journal-card__body {
    padding: 20px;
}

.blog-card-date,
.home-journal-card__date {
    display: block;
    margin-bottom: 12px;

    padding: 0;
    background: transparent;
    color: var(--bs-muted);

    font-family: var(--bs-font-body);
    font-size: 11px;
    font-weight: 600;
}

.blog-card-title,
.home-journal-card__title {
    margin-bottom: 11px;
    font-size: 18px;
    line-height: 1.35;
}

.blog-card-title a,
.home-journal-card__title a {
    transition: color var(--bs-transition-fast);
}

.blog-card-excerpt,
.home-journal-card__excerpt {
    color: var(--bs-muted);
    font-size: 13px;
    line-height: 1.65;
}

.blog-card-link,
.home-journal-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-top: 18px;
    color: var(--bs-primary);
    font-size: 12px;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
    .blog-card:hover,
    .home-journal-card:hover {
        border-color: var(--bs-border-dark);
        transform: none;
        box-shadow: none;
    }

    .blog-card:hover img,
    .home-journal-card:hover .home-journal-card__image {
        transform: scale(1.025);
    }

    .blog-card-title a:hover,
    .home-journal-card__title a:hover {
        color: var(--bs-primary);
    }
}


/* ============================================================
   HOME FINAL CONTACT
   ============================================================ */

.home-contact {
    padding: 72px 0;
    background: var(--bs-ink);
    color: var(--bs-white);
}

.home-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
    align-items: center;
    gap: 70px;
}

.home-contact__kicker {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.home-contact__title {
    max-width: 780px;
    margin-bottom: 15px;
    color: var(--bs-white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.home-contact__description {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    line-height: 1.7;
}

.home-contact__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.home-contact__phone {
    display: flex;
    flex-direction: column;
    gap: 3px;

    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.32);

    color: var(--bs-white);
}

.home-contact__phone span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
}

.home-contact__phone strong {
    font-family: var(--bs-font-display);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 700;
}

.home-contact__mail {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;

    transition: color var(--bs-transition-fast);
}

@media (hover: hover) {
    .home-contact__phone:hover,
    .home-contact__mail:hover {
        color: var(--bs-white);
    }
}


/* ============================================================
   HOME EXTRA CONTENT
   ============================================================ */

.home-extra {
    padding: 68px 0;
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
}

.home-extra__content,
.extra-content {
    max-width: 820px;
    color: var(--bs-muted);
    font-size: 14px;
    line-height: 1.85;
}

.home-extra__content h2,
.home-extra__content h3,
.extra-content h2,
.extra-content h3 {
    margin-top: 1.7em;
    color: var(--bs-ink);
}

.home-extra__content a,
.extra-content a,
.entry-content a {
    color: var(--bs-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ============================================================
   LEGACY STATS AND HERO ELEMENTS
   ============================================================ */

.stats-strip,
.hero-sidebar,
.trust-strip {
    display: none !important;
}


/* ============================================================
   PAGE HEADER AND BREADCRUMBS
   ============================================================ */

.page-header-section {
    padding: 38px 0;
    background: var(--bs-paper);
    border-bottom: 1px solid var(--bs-border);
}

.page-header-section h1 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.045em;
}

.page-header-sub {
    max-width: 720px;
    margin-top: 10px;
    color: var(--bs-muted);
    font-size: 14px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 13px;
    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    font-size: 11px;
}

.breadcrumbs a {
    transition: color var(--bs-transition-fast);
}

.breadcrumbs .sep {
    color: var(--bs-border-dark);
}

.breadcrumbs .current {
    color: var(--bs-ink-soft);
}

@media (hover: hover) {
    .breadcrumbs a:hover {
        color: var(--bs-primary);
    }
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 38px;
    padding: 8px 13px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-ink-soft);
    font-size: 12px;
}


/* ============================================================
   SUBCATEGORY CHIPS
   ============================================================ */

.subcat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-height: 38px;
    padding: 7px 12px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-ink-soft);
    font-size: 12px;
    font-weight: 600;

    transition:
        color var(--bs-transition-fast),
        border-color var(--bs-transition-fast),
        background-color var(--bs-transition-fast);
}

.subcat-chip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.subcat-chip i {
    color: var(--bs-primary);
}

.subcat-chip em {
    color: var(--bs-muted);
    font-family: var(--bs-font-mono);
    font-size: 10px;
    font-style: normal;
}

.subcat-chip.is-active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.subcat-chip.is-active i,
.subcat-chip.is-active em {
    color: rgba(255, 255, 255, 0.8);
}

@media (hover: hover) {
    .subcat-chip:hover {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
        transform: none;
        box-shadow: none;
    }
}


/* ============================================================
   CATALOG LAYOUT
   ============================================================ */

.shop-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 34px;
    padding: 38px 0 64px;
}

.shop-sidebar {
    position: sticky;
    top: 94px;
}

.shop-sidebar .widget {
    margin-bottom: 30px;
    padding: 0 0 25px;

    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--bs-border);
    border-radius: 0;
    box-shadow: none;
}

.shop-sidebar .widget:last-child {
    border-bottom: 0;
}

.shop-sidebar .widget-title {
    position: relative;
    margin-bottom: 16px;
    padding: 0;

    color: var(--bs-ink);
    font-size: 15px;
    font-weight: 700;
}

.shop-sidebar .widget-title::after {
    display: none;
}

.sidebar-mobile-title,
.sidebar-close {
    display: none;
}


/* Category filter */

.cat-filter-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cat-filter-list li + li {
    border-top: 1px solid var(--bs-border);
}

.cat-filter-list li a {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 42px;
    padding: 7px 3px;

    color: var(--bs-ink-soft);
    font-size: 12px;

    transition: color var(--bs-transition-fast);
}

.cat-filter-list li.is-active > a {
    color: var(--bs-primary);
    font-weight: 700;
}

.cat-filter-list .cat-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
}

.cat-filter-list .cat-ico-fa {
    width: 20px;
    color: var(--bs-muted-light);
    text-align: center;
}

.cat-filter-list .cnt {
    margin-left: auto;
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 10px;
}

.cat-filter-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 12px;
    color: var(--bs-muted);
    font-size: 11px;
}

@media (hover: hover) {
    .cat-filter-list li a:hover,
    .cat-filter-back:hover {
        color: var(--bs-primary);
        background: transparent;
    }
}


/* Brand filter */

.brand-filter {
    display: flex;
    flex-direction: column;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;

    min-height: 38px;
    padding: 6px 3px;

    color: var(--bs-ink-soft);
    font-size: 12px;
    cursor: pointer;
}

.filter-check + .filter-check {
    border-top: 1px solid var(--bs-border);
}

.filter-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--bs-primary);
}

.filter-check span {
    min-width: 0;
    flex: 1;
}

.filter-check em {
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 10px;
    font-style: normal;
}

.filter-check.is-checked {
    color: var(--bs-primary);
    font-weight: 600;
}

.brand-filter .btn {
    margin-top: 14px;
}

.filter-reset {
    margin-top: 10px;
    color: var(--bs-muted);
    font-size: 11px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Catalog toolbar */

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 22px;
    padding: 0 0 16px;

    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--bs-border);
    border-radius: 0;
    box-shadow: none;
}

.shop-toolbar .result-count {
    color: var(--bs-muted);
    font-size: 12px;
}

.shop-toolbar .result-count b {
    color: var(--bs-ink);
    font-weight: 600;
}

.shop-toolbar .toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-toolbar .ordering {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.shop-toolbar .ordering label {
    color: var(--bs-muted);
    font-size: 11px;
    white-space: nowrap;
}

.shop-toolbar .ordering select {
    min-height: 36px;
    padding: 7px 34px 7px 11px;

    background-color: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.view-switcher {
    display: flex;
    gap: 5px;
}

.view-switcher button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-muted);
}

.view-switcher button.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}


/* List view */

.products-grid.list-view {
    grid-template-columns: 1fr;
    gap: 12px;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
}

.products-grid.list-view .product-card-image {
    width: auto;
    aspect-ratio: auto;
    min-height: 220px;
    border-right: 1px solid var(--bs-border);
    border-bottom: 0;
}

.products-grid.list-view .product-card-body {
    justify-content: center;
}

.products-grid.list-view .product-card-title {
    min-height: 0;
    font-size: 17px;
}

.products-grid.list-view .product-card-desc {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.products-grid.list-view .product-card-specs {
    max-width: 440px;
}


/* Catalog empty */

.catalog-empty {
    padding: 60px 20px;
    border: 1px solid var(--bs-border);
    color: var(--bs-muted);
    text-align: center;
}

.catalog-empty i {
    margin-bottom: 15px;
    color: var(--bs-border-dark);
    font-size: 36px;
}


/* Custom category content */

.custom-content-before-products {
    display: grid !important;
    grid-template-columns: minmax(180px, 250px) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 30px !important;

    margin-bottom: 30px !important;
    padding: 24px !important;

    background: var(--bs-paper) !important;
    border: 1px solid var(--bs-border) !important;
    border-radius: var(--bs-radius) !important;
    box-shadow: none !important;
}

.custom-content-before-products img {
    width: 100%;
    max-width: none !important;
    border-radius: 0 !important;
}


/* Mobile shop overlay */

.shop-overlay {
    position: fixed;
    inset: 0;
    z-index: 1210;

    background: rgba(20, 22, 25, 0.58);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity var(--bs-transition),
        visibility var(--bs-transition);
}

.shop-overlay.open {
    opacity: 1;
    visibility: visible;
}


/* ============================================================
   PAGINATION AND LOAD MORE
   ============================================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 35px;
}

.pagination .page-numbers {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-ink-soft);
    font-family: var(--bs-font-body);
    font-size: 12px;
}

.pagination .page-numbers.current {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.pagination .page-numbers.dots {
    border-color: transparent;
}

.load-more-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 25px;
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-radius);

    background: var(--bs-primary);
    color: var(--bs-white);

    font-family: var(--bs-font-display);
    font-size: 14px;
    font-weight: 700;

    transition: background-color var(--bs-transition-fast);
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.65;
}

@media (hover: hover) {
    .pagination a.page-numbers:hover {
        border-color: var(--bs-primary);
        color: var(--bs-primary);
    }

    .load-more-btn:hover {
        background: var(--bs-primary-dark);
    }
}


/* ============================================================
   SINGLE PRODUCT
   ============================================================ */

.single-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 54px;
}

.product-gallery-main {
    position: relative;
    overflow: hidden;
    padding: 24px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    box-shadow: none;
}

.product-gallery-main img {
    width: 100%;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.product-gallery-thumbs img {
    width: 76px;
    height: 76px;
    padding: 5px;

    object-fit: contain;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    cursor: pointer;
}

.product-gallery-thumbs img.active {
    border-color: var(--bs-primary);
}

.product-info h1 {
    margin-bottom: 17px;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -0.045em;
}

.product-short-desc {
    margin: 22px 0;
    padding: 20px 22px;

    background: var(--bs-paper);
    border: 1px solid var(--bs-border);
    border-left: 3px solid var(--bs-primary);
    border-radius: 0;

    color: var(--bs-muted);
}

.product-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info-row .info-item {
    padding: 7px 11px;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    font-size: 11px;
    box-shadow: none;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 25px 0;
    background: var(--bs-border);
    border: 1px solid var(--bs-border);
}

.product-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px;
    background: var(--bs-white);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.product-feature i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-primary-light);
    color: var(--bs-primary);
    border-radius: var(--bs-radius);
}

.product-cta,
.product-contact-row {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--bs-border);
}


/* Product tabs */

.product-tabs {
    margin-top: 58px;
}

.product-tabs .tabs {
    display: flex;
    align-items: stretch;
    gap: 0;

    margin: 0;
    padding: 0;

    background: transparent;
    border-bottom: 1px solid var(--bs-border);
    border-radius: 0;

    list-style: none;
}

.product-tabs .tabs a {
    display: block;
    margin: 0 24px 0 0;
    padding: 13px 0;

    border-bottom: 2px solid transparent;
    color: var(--bs-muted);

    font-size: 13px;
    font-weight: 700;
}

.product-tabs .tabs a.active {
    background: transparent;
    border-bottom-color: var(--bs-primary);
    color: var(--bs-primary);
    box-shadow: none;
}

.product-tabs .tab-content {
    display: none;
    padding-top: 28px;
}

.product-tabs .tab-content.active {
    display: block;
}


/* Product attributes */

.product-attributes {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--bs-border);
    border-radius: 0;
}

.product-attributes th,
.product-attributes td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--bs-border);
    text-align: left;
    vertical-align: top;
}

.product-attributes th {
    width: 34%;
    background: var(--bs-paper);
    color: var(--bs-muted);
    font-family: var(--bs-font-body);
    font-size: 11px;
    font-weight: 600;
}

.product-attributes td {
    color: var(--bs-ink);
    font-family: var(--bs-font-mono);
    font-size: 12px;
}

.product-attributes tr:last-child th,
.product-attributes tr:last-child td {
    border-bottom: 0;
}


/* Documents */

.product-documents {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-document {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border);

    transition:
        border-color var(--bs-transition-fast),
        color var(--bs-transition-fast);
}

.product-document > i {
    color: var(--bs-primary);
    font-size: 23px;
}

.product-document .doc-name {
    color: var(--bs-ink);
    font-size: 13px;
    font-weight: 600;
}

.product-document .doc-size {
    margin-top: 2px;
    color: var(--bs-muted);
    font-family: var(--bs-font-mono);
    font-size: 10px;
}

@media (hover: hover) {
    .product-document:hover {
        border-color: var(--bs-primary);
    }
}

.related-products {
    margin-top: 72px;
}

.related-products h2 {
    margin-bottom: 28px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}


/* ============================================================
   LEGACY CTA BANNER
   ============================================================ */

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    margin: 50px 0;
    padding: 38px 42px;

    background: var(--bs-ink);
    color: var(--bs-white);
    border-radius: var(--bs-radius);
}

.cta-banner::before {
    display: none;
}

.cta-banner > * {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    margin-bottom: 7px;
    color: var(--bs-white);
    font-size: 24px;
}

.cta-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.cta-banner-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.cta-btn-light {
    background: var(--bs-white);
    border-color: var(--bs-white);
    color: var(--bs-ink);
}

.cta-social {
    display: flex;
    gap: 6px;
}

.cta-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.10);
    color: var(--bs-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--bs-radius);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    margin-top: 0;
    padding: 42px 0;
    background: #17191c;
    color: rgba(255, 255, 255, 0.67);
}

.site-footer .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.footer-copyright {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.58);
    font-family: var(--bs-font-body);
    font-size: 11px;
    line-height: 1.75;
}

.footer-social {
    display: flex;
    gap: 7px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--bs-radius);
    color: rgba(255, 255, 255, 0.78);

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast);
}

@media (hover: hover) {
    .footer-social a:hover {
        background: var(--bs-primary);
        color: var(--bs-white);
    }
}


/* ============================================================
   SCROLL TOP
   ============================================================ */

.scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;

    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background: var(--bs-ink);
    border: 0;
    border-radius: var(--bs-radius);
    color: var(--bs-white);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity var(--bs-transition),
        visibility var(--bs-transition),
        transform var(--bs-transition),
        background-color var(--bs-transition-fast);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (hover: hover) {
    .scroll-top:hover {
        background: var(--bs-primary);
        transform: none;
    }
}


/* ============================================================
   HIDDEN PRODUCT OVERLAY
   ============================================================ */

.my-hidden-archive .product-card-image::after,
.my-hidden-archive .product-gallery-wrapper::after {
    position: absolute;
    inset: 0;
    z-index: 8;
    content: "";
    background: rgba(152, 31, 54, 0.88);
    border-radius: 0;
}


/* ============================================================
   IMAGE LOADING
   ============================================================ */

/*
 * Важно: lazy-изображения не скрываются через opacity.
 * Браузер самостоятельно управляет их загрузкой.
 */

.js-anim img[loading="lazy"] {
    opacity: 1;
}


/* ============================================================
   SMALL UI ANIMATIONS
   ============================================================ */

.bs-compare-btn.just-toggled {
    animation: bs-compare-pulse 260ms ease;
}

.tool-count.bump {
    animation: bs-count-pulse 260ms ease;
}

@keyframes bs-compare-pulse {
    50% {
        transform: scale(1.08);
    }
}

@keyframes bs-count-pulse {
    50% {
        transform: scale(1.16);
    }
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {
    .header-main .container {
        grid-template-columns: auto minmax(300px, 1fr) auto;
        gap: 22px;
    }

    .site-logo {
        min-width: 130px;
    }

    .site-logo img,
    .site-logo .custom-logo {
        max-width: 170px;
    }

    .header-search .search-cat {
        min-width: 140px;
    }

    .main-nav > ul,
    .main-nav .menu {
        gap: 18px;
    }

    .categories-trigger {
        width: 220px;
        flex-basis: 220px;
    }

    .home-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
        gap: 46px;
    }

    .home-hero__title {
        font-size: clamp(2.6rem, 5vw, 3.8rem);
    }

    .home-hero__directions {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .home-hero__directions-list {
        overflow-x: auto;
    }

    .home-hero__directions-list li {
        flex-shrink: 0;
    }

    .home-hero__directions-all {
        margin-left: 0;
    }

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

    .shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 24px;
    }

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

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


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .container {
        width: min(calc(100% - 28px), var(--bs-container));
    }

    .site-header {
        display: none;
    }

    .mobile-header {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1150;

        display: block;
        background: var(--bs-white);
        border-bottom: 1px solid var(--bs-border);
        box-shadow: none;

        transform: translateY(0);
        transition:
            transform var(--bs-transition),
            box-shadow var(--bs-transition);
    }

    .mobile-header.is-pinned {
        position: fixed;
        box-shadow: var(--bs-shadow);
    }

    .admin-bar .mobile-header.is-pinned {
        top: 46px;
    }

    .mobile-header.is-hidden {
        transform: translateY(-100%);
    }

    .mobile-header-spacer {
        display: none;
    }

    .mobile-header-spacer.active {
        display: block;
    }

    .mobile-header > .container {
        min-height: 62px;
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        align-items: center;
        gap: 12px;
    }

    .mobile-header button {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0;
        background: transparent;
        border: 0;
        color: var(--bs-ink);
        font-size: 18px;
    }

    .mobile-logo {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo .custom-logo-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-logo img,
    .mobile-logo .custom-logo {
        width: auto;
        max-width: 170px;
        max-height: 42px;
    }

    .mobile-logo .logo-fallback {
        font-size: 23px;
    }

    .mobile-search-bar {
        display: none;
        padding: 10px 14px 13px;
        border-top: 1px solid var(--bs-border);
    }

    .mobile-search-bar.open {
        display: block;
    }

    .mobile-search-bar .search-cat {
        display: none;
    }

    .mobile-search-bar .search-results-dropdown {
        position: static;
        margin-top: 8px;
    }


    /* Mobile bottom toolbar */

    .mobile-toolbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;

        display: block;
        padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));

        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--bs-border);
        box-shadow: 0 -5px 22px rgba(29, 32, 36, 0.08);
    }

    .mobile-toolbar .container {
        display: flex;
        align-items: stretch;
        gap: 6px;
    }

    .mobile-toolbar a,
    .mobile-toolbar button {
        min-width: 0;
        min-height: 50px;
        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;

        padding: 4px;
        background: transparent;
        border: 0;
        color: var(--bs-muted);

        font-size: 10px;
        line-height: 1.1;
    }

    .mobile-toolbar a i,
    .mobile-toolbar button i {
        font-size: 17px;
    }

    .mobile-toolbar .toolbar-call {
        flex: 1.35;
        flex-direction: row;
        gap: 7px;

        margin: 0;
        background: var(--bs-primary);
        border-radius: var(--bs-radius);
        color: var(--bs-white);

        font-family: var(--bs-font-display);
        font-size: 12px;
        font-weight: 700;
        box-shadow: none;
    }

    .mobile-toolbar .toolbar-call i {
        font-size: 15px;
        animation: none;
    }


    /* Hero */

    .home-hero {
        padding-top: 48px;
    }

    .home-hero__layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-hero__content {
        padding-bottom: 0;
    }

    .home-hero__overline {
        margin-bottom: 17px;
        font-size: 10px;
    }

    .home-hero__title {
        margin-bottom: 18px;
        font-size: clamp(2.35rem, 10vw, 3.7rem);
    }

    .home-hero__description {
        margin-bottom: 25px;
        font-size: 16px;
    }

    .home-hero__image-wrap {
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-top: 1px solid var(--bs-border);
    }

    .home-hero__image {
        min-height: 0;
    }

    .home-hero__caption span {
        padding: 10px 12px;
        font-size: 10px;
    }

    .home-hero__directions {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .home-hero__directions-label {
        padding: 14px 0 10px;
        border-right: 0;
    }

    .home-hero__directions-list {
        width: calc(100vw - 14px);
        margin-right: -14px;
        padding-bottom: 12px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .home-hero__directions-list::-webkit-scrollbar {
        display: none;
    }

    .home-hero__directions-list li {
        border: 1px solid var(--bs-border);
        border-right: 0;
    }

    .home-hero__directions-list li:last-child {
        border-right: 1px solid var(--bs-border);
    }

    .home-hero__directions-list a {
        padding: 12px 14px;
        background: var(--bs-white);
        white-space: nowrap;
    }


    /* Proof */

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

    .home-proof__item {
        min-height: 112px;
        padding: 20px 16px;
    }

    .home-proof__item + .home-proof__item {
        border-left: 0;
    }

    .home-proof__item:nth-child(even) {
        border-left: 1px solid var(--bs-border);
    }

    .home-proof__item:nth-child(n + 3) {
        border-top: 1px solid var(--bs-border);
    }

    .home-proof__value {
        font-size: 15px;
    }

    .home-proof__label {
        font-size: 11px;
    }


    /* Sections */

    .home-section {
        padding: 64px 0;
    }

    .home-section__header {
        display: block;
        margin-bottom: 28px;
    }

    .home-section__title {
        font-size: clamp(1.9rem, 8vw, 2.65rem);
    }

    .home-section__description {
        font-size: 14px;
    }

    .home-section__link {
        margin-top: 20px;
    }


    /* Categories */

    .home-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-category-card,
    .home-category-card:nth-child(1),
    .home-category-card:nth-child(2) {
        grid-column: auto;
    }

    .home-category-card__media,
    .home-category-card:nth-child(1) .home-category-card__media,
    .home-category-card:nth-child(2) .home-category-card__media {
        aspect-ratio: 4 / 3;
    }

    .home-category-card__body {
        padding: 15px;
    }

    .home-category-card__title,
    .home-category-card:nth-child(1) .home-category-card__title,
    .home-category-card:nth-child(2) .home-category-card__title {
        font-size: 14px;
    }

    .home-category-card__link {
        margin-top: 12px;
        font-size: 11px;
    }


    /* Products */

    .products-grid,
    .home-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card-image {
        padding: 12px;
    }

    .product-card-body {
        padding: 14px;
    }

    .product-card-title {
        min-height: 0;
        font-size: 13px;
    }

    .product-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }


    /* Selection */

    .home-selection {
        padding: 50px 0;
    }

    .home-selection__panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 25px;
    }


    /* Company */

    .home-company__layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-company__media {
        position: static;
    }

    .home-company__image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }


    /* Clients */

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

    .home-clients__item {
        min-height: 100px;
        padding: 17px;
    }

    .home-clients__logo {
        max-height: 50px;
    }


    /* Blog */

    .home-journal__grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }


    /* Contact */

    .home-contact {
        padding: 58px 0;
    }

    .home-contact__layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .home-contact__actions {
        align-items: flex-start;
    }


    /* Catalog */

    .shop-layout {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }

    .shop-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -101%;
        z-index: 1220;

        width: min(88vw, 370px);
        overflow-y: auto;

        padding: 24px 18px 50px;
        background: var(--bs-white);
        box-shadow: var(--bs-shadow-large);

        transition: left 280ms ease;
    }

    .shop-sidebar.open {
        left: 0;
    }

    .sidebar-mobile-title {
        display: block;
        margin-bottom: 24px;
        padding-right: 45px;

        font-family: var(--bs-font-display);
        font-size: 20px;
        font-weight: 700;
    }

    .sidebar-close {
        position: absolute;
        top: 16px;
        right: 16px;

        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;

        background: var(--bs-paper);
        border: 1px solid var(--bs-border);
        color: var(--bs-ink);
    }

    .subcat-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .subcat-chips::-webkit-scrollbar {
        display: none;
    }

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

    .shop-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-toolbar .toolbar-right {
        justify-content: space-between;
    }

    .products-grid.list-view .product-card {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .products-grid.list-view .product-card-image {
        min-height: 190px;
    }

    .custom-content-before-products {
        grid-template-columns: 1fr !important;
    }


    /* Single product */

    .single-product-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .product-tabs .tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .product-tabs .tabs::-webkit-scrollbar {
        display: none;
    }

    .product-tabs .tabs a {
        flex-shrink: 0;
        white-space: nowrap;
    }

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


    /* CTA */

    .cta-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px 24px;
    }

    .cta-banner-actions {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }


    /* Footer */

    .site-footer {
        padding: 34px 0;
    }

    .site-footer .container {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .scroll-top {
        right: 14px;
        bottom: 86px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 560px) {
    .home-hero {
        padding-top: 38px;
    }

    .home-hero__title {
        font-size: clamp(2.15rem, 11vw, 3rem);
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-hero__primary {
        width: 100%;
    }

    .home-hero__contact {
        padding: 4px 0;
    }

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

    .home-hero__caption span + span {
        border-top: 1px solid var(--bs-border);
        border-left: 0;
    }

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

    .home-category-card,
    .home-category-card:nth-child(1),
    .home-category-card:nth-child(2) {
        display: grid;
        grid-template-columns: 122px minmax(0, 1fr);
    }

    .home-category-card__media,
    .home-category-card:nth-child(1) .home-category-card__media,
    .home-category-card:nth-child(2) .home-category-card__media {
        height: 100%;
        min-height: 132px;
        aspect-ratio: auto;
        border-right: 1px solid var(--bs-border);
        border-bottom: 0;
    }

    .home-category-card__body {
        justify-content: center;
    }

    .products-grid,
    .home-products__grid {
        grid-template-columns: 1fr;
    }

    .product-card-title {
        font-size: 15px;
    }

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

    .home-proof__value {
        font-size: 14px;
    }

    .home-proof__label {
        font-size: 10px;
    }

    .home-selection__panel {
        padding: 28px 21px;
    }

    .shop-toolbar .toolbar-right {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-toolbar .ordering {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-toolbar .ordering select {
        width: 100%;
    }

    .view-switcher {
        display: none;
    }

    .products-grid.list-view .product-card {
        display: flex;
    }

    .products-grid.list-view .product-card-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 3;
        border-right: 0;
        border-bottom: 1px solid var(--bs-border);
    }

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

    .product-attributes th,
    .product-attributes td {
        display: block;
        width: 100%;
    }

    .product-attributes th {
        border-bottom: 0;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .js-anim img[loading="lazy"] {
        opacity: 1 !important;
    }
}

/* ============================================================
   ACCESSIBLE CATEGORY TRIGGER
   ============================================================ */

.categories-trigger__button {
    width: 100%;
    min-width: 0;
    min-height: 50px;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;

    font: inherit;
    letter-spacing: inherit;
    text-align: left;
}

.categories-trigger__button:focus-visible {
    outline-color: var(--bs-white);
    outline-offset: -4px;
}

.mobile-nav__contacts {
    margin: 16px;
    padding: 20px 4px 0;
    border-top: 1px solid var(--bs-border);
}

.mobile-nav__contacts-label {
    margin-bottom: 10px;
    color: var(--bs-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mobile-nav__contacts a,
.mobile-nav__hours {
    display: block;
    padding: 3px 0;
}

.mobile-nav__primary-phone {
    color: var(--bs-ink);
    font-family: var(--bs-font-display);
    font-size: 18px;
    font-weight: 700;
}

.mobile-nav__secondary-phone,
.mobile-nav__email {
    color: var(--bs-ink-soft);
    font-size: 13px;
}

.mobile-nav__hours {
    margin-top: 8px;
    color: var(--bs-muted);
    font-size: 11px;
}

/* ============================================================
   NEW FOOTER
   ============================================================ */

.site-footer {
    padding: 0;
}

.site-footer .site-footer__main {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.3fr)
        minmax(160px, 0.8fr)
        minmax(160px, 0.8fr)
        minmax(220px, 1fr);
    align-items: start;
    gap: clamp(36px, 5vw, 72px);

    padding-top: 58px;
    padding-bottom: 50px;
}

.site-footer__column {
    min-width: 0;
}

.site-footer__logo {
    display: inline-block;
    margin-bottom: 20px;

    color: var(--bs-white);
    font-family: var(--bs-font-display);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.site-footer__logo span {
    color: #c24a61;
}

.site-footer__description {
    max-width: 340px;
    margin-bottom: 23px;

    color: rgba(255, 255, 255, 0.57);
    font-size: 12px;
    line-height: 1.7;
}

.site-footer__schedule {
    display: flex;
    flex-direction: column;
    gap: 2px;

    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
}

.site-footer__schedule strong {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
}

.site-footer__title {
    margin-bottom: 19px;
    color: var(--bs-white);

    font-family: var(--bs-font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-footer__links,
.site-footer__navigation .menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li + li,
.site-footer__navigation .menu li + li {
    margin-top: 8px;
}

.site-footer__links a,
.site-footer__navigation .menu a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.45;

    transition: color var(--bs-transition-fast);
}

.site-footer__links-all {
    padding-top: 6px;
}

.site-footer__links-all a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
}

.site-footer__phone {
    display: block;
    margin-bottom: 4px;

    color: var(--bs-white);
    font-family: var(--bs-font-display);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

.site-footer__phone--secondary {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
}

.site-footer__email {
    display: inline-block;
    margin-top: 12px;

    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.site-footer__address {
    max-width: 280px;
    margin-top: 17px;
    margin-bottom: 19px;

    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
    font-style: normal;
    line-height: 1.65;
}

.site-footer__social {
    margin-top: 17px;
}

.site-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer .site-footer__legal-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    padding-top: 22px;
    padding-bottom: 25px;
}

.site-footer__copyright {
    max-width: 900px;
}

.site-footer__catalog-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);

    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 600;
}

@media (hover: hover) {
    .site-footer__links a:hover,
    .site-footer__navigation .menu a:hover,
    .site-footer__email:hover,
    .site-footer__catalog-link:hover {
        color: var(--bs-white);
    }

    .site-footer__phone:hover {
        color: #e9a8b5;
    }
}


/* ============================================================
   AJAX SEARCH ACTIVE OPTION
   ============================================================ */

.search-result-item.is-active,
.search-results-dropdown .see-all.is-active {
    background: var(--bs-paper);
    color: var(--bs-primary);
}

.search-result-item--without-image {
    grid-template-columns: 1fr;
}


/* ============================================================
   SITE NOTICES
   ============================================================ */

.bs-site-notice {
    position: fixed;
    right: 22px;
    bottom: 78px;
    z-index: 99999;

    max-width: min(360px, calc(100vw - 28px));

    padding: 13px 16px;
    background: var(--bs-ink);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--bs-primary);
    border-radius: var(--bs-radius);
    box-shadow: var(--bs-shadow);

    color: var(--bs-white);
    font-size: 12px;
    line-height: 1.5;

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity var(--bs-transition),
        visibility var(--bs-transition),
        transform var(--bs-transition);
}

.bs-site-notice.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bs-site-notice--success {
    border-left-color: var(--bs-success);
}

.bs-site-notice--error {
    border-left-color: var(--bs-error);
}


/* ============================================================
   SKIP LINK
   ============================================================ */

.skip-link:focus {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 999999;

    width: auto;
    height: auto;

    padding: 10px 14px;
    clip: auto;

    background: var(--bs-white);
    color: var(--bs-ink);
    border: 2px solid var(--bs-primary);

    font-size: 13px;
}


/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .site-footer .site-footer__main {
        grid-template-columns:
            minmax(230px, 1.2fr)
            repeat(3, minmax(140px, 0.8fr));

        gap: 35px;
    }
}

@media (max-width: 768px) {
    .site-footer .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 24px;

        padding-top: 44px;
        padding-bottom: 38px;
    }

    .site-footer__brand,
    .site-footer__contacts {
        grid-column: 1 / -1;
    }

    .site-footer .site-footer__legal-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .bs-site-notice {
        right: 14px;
        bottom: 88px;
        left: 14px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .site-footer .site-footer__main {
        grid-template-columns: 1fr;
    }

    .site-footer__brand,
    .site-footer__contacts {
        grid-column: auto;
    }
}

/* ============================================================
   MOBILE HERO TITLE
   ============================================================ */

@media (max-width: 768px) {
    .home-hero__title {
        width: 100%;
        max-width: 100%;

        margin-bottom: 17px;

        font-size: clamp(1.75rem, 8vw, 2.65rem);
        line-height: 1.07;
        letter-spacing: -0.045em;

        text-wrap: balance;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }
}

@media (max-width: 380px) {
    .home-hero__title {
        font-size: 1.75rem;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }
}

/* ============================================================
   COMPACT CATALOG DIRECTORY
   ============================================================ */

.catalog-directory__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.catalog-directory__total {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 4px;
}

.catalog-directory__total strong {
    color: var(--bs-primary);
    font-family: var(--bs-font-display);
    font-size: 28px;
    line-height: 1;
}

.catalog-directory__total span {
    margin-top: 5px;
    color: var(--bs-muted);
    font-size: 11px;
}


/* Catalog search */

.catalog-finder {
    padding: 28px 0;
    background: var(--bs-white);
    border-bottom: 1px solid var(--bs-border);
}

.catalog-finder__panel {
    display: grid;
    grid-template-columns:
        minmax(180px, 0.55fr)
        minmax(420px, 1.45fr)
        minmax(190px, 0.55fr);
    align-items: center;
    gap: 30px;
}

.catalog-finder__content h2 {
    margin-bottom: 4px;
    font-size: 17px;
}

.catalog-finder__content p {
    margin: 0;
    color: var(--bs-muted);
    font-size: 11px;
}

.catalog-finder__search {
    z-index: 20;
}

.catalog-finder__help {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.35;
}

.catalog-finder__help span {
    color: var(--bs-muted);
    font-size: 10px;
}

.catalog-finder__help strong {
    color: var(--bs-ink);
    font-size: 14px;
    transition: color var(--bs-transition-fast);
}

@media (hover: hover) {
    .catalog-finder__help:hover strong {
        color: var(--bs-primary);
    }
}


/* Directory heading */

.catalog-directory__content {
    padding: 64px 0 80px;
    background: var(--bs-paper);
}

.catalog-directory__section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.catalog-directory__section-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.catalog-directory__section-header > p {
    max-width: 480px;
    margin: 0;
    color: var(--bs-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* Directory grid */

.catalog-directory__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.catalog-section-card {
    min-width: 0;
    overflow: hidden;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);
    transition: border-color var(--bs-transition);
}

.catalog-section-card__main {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    min-height: 148px;
}

.catalog-section-card__media {
    overflow: hidden;
    background: var(--bs-paper);
    border-right: 1px solid var(--bs-border);
}

.catalog-section-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.catalog-section-card__image--icon {
    padding: 22%;
    object-fit: contain;
}

.catalog-section-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--bs-border-dark);
    font-family: var(--bs-font-display);
    font-size: 46px;
    font-weight: 700;
}

.catalog-section-card__summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: 18px 20px;
}

.catalog-section-card__number {
    margin-bottom: 8px;
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 9px;
}

.catalog-section-card__summary h3 {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.3;
}

.catalog-section-card__summary p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 8px;

    color: var(--bs-muted);
    font-size: 11px;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-section-card__count {
    color: var(--bs-muted);
    font-size: 10px;
}

.catalog-section-card__footer {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 10px 15px 10px 162px;
    border-top: 1px solid var(--bs-border);
}

.catalog-section-card__children {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 12px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-section-card__children a {
    color: var(--bs-muted);
    font-size: 10px;
    line-height: 1.35;
    transition: color var(--bs-transition-fast);
}

.catalog-section-card__more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: var(--bs-primary);
    font-size: 10px;
    font-weight: 700;
}

@media (hover: hover) {
    .catalog-section-card:hover {
        border-color: var(--bs-border-dark);
    }

    .catalog-section-card:hover .catalog-section-card__image {
        transform: scale(1.025);
    }

    .catalog-section-card__children a:hover {
        color: var(--bs-primary);
    }
}


/* Assistance */

.catalog-assistance {
    padding: 0 0 80px;
    background: var(--bs-paper);
}

.catalog-assistance__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    align-items: center;
    gap: 50px;

    padding: 40px 44px;
    background: var(--bs-white);
    border: 1px solid var(--bs-border);
    border-left: 4px solid var(--bs-primary);
}

.catalog-assistance__content h2 {
    margin-bottom: 10px;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.catalog-assistance__content p {
    max-width: 720px;
    margin: 0;
    color: var(--bs-muted);
    font-size: 13px;
    line-height: 1.65;
}

.catalog-assistance__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.catalog-assistance__email {
    color: var(--bs-muted);
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ============================================================
   COMPACT PRODUCT ARCHIVE
   ============================================================ */

.catalog-archive__header-main {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.catalog-archive__heading {
    max-width: 830px;
}

.catalog-archive__header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.catalog-archive__total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.catalog-archive__total strong {
    color: var(--bs-primary);
    font-family: var(--bs-font-display);
    font-size: 23px;
    line-height: 1;
}

.catalog-archive__total span {
    margin-top: 4px;
    color: var(--bs-muted);
    font-size: 10px;
}

.catalog-archive__all-categories {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;

    color: var(--bs-primary);
    font-size: 11px;
    font-weight: 700;
}


/* Search inside archive */

.catalog-archive__finder {
    position: relative;
    z-index: 30;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    padding: 20px 0;
    border-bottom: 1px solid var(--bs-border);
}

.catalog-archive__search {
    max-width: 720px;
}

.catalog-archive__filter-button {
    min-height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 16px;
    background: var(--bs-white);
    border: 1px solid var(--bs-border-dark);
    border-radius: var(--bs-radius);

    color: var(--bs-ink);
    font-size: 12px;
    font-weight: 700;
}


/* Active filters */

.catalog-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    padding: 13px 0;
    border-bottom: 1px solid var(--bs-border);
}

.catalog-active-filters__label {
    color: var(--bs-muted);
    font-size: 11px;
}

.catalog-active-filters__items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.catalog-active-filter {
    padding: 4px 8px;
    background: var(--bs-primary-light);
    color: var(--bs-primary);
    border-radius: var(--bs-radius-xs);

    font-size: 10px;
    font-weight: 600;
}

.catalog-active-filters__reset {
    margin-left: auto;
    color: var(--bs-muted);
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* Compact archive sidebar */

.catalog-archive .shop-layout {
    grid-template-columns: 238px minmax(0, 1fr);
    gap: 28px;
    padding-top: 26px;
}

.catalog-archive .shop-sidebar .widget {
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.catalog-archive .cat-filter-list li a {
    min-height: 36px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.catalog-archive .filter-check {
    min-height: 34px;
    padding-top: 4px;
    padding-bottom: 4px;
}

.catalog-empty h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.catalog-empty__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}


/* ============================================================
   CATALOG RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .catalog-finder__panel {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .catalog-finder__help {
        display: none;
    }

    .catalog-section-card__main {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .catalog-section-card__footer {
        padding-left: 140px;
    }
}

@media (max-width: 768px) {
    .catalog-directory__heading,
    .catalog-directory__section-header,
    .catalog-archive__header-main {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .catalog-directory__total {
        align-items: flex-start;
    }

    .catalog-finder__panel {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .catalog-directory__content {
        padding: 48px 0 60px;
    }

    .catalog-directory__section-header > p {
        max-width: none;
    }

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

    .catalog-assistance {
        padding-bottom: 60px;
    }

    .catalog-assistance__panel {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 25px;
    }

    .catalog-archive__header-actions {
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .catalog-archive__total {
        align-items: flex-start;
    }

    .catalog-archive__finder {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .catalog-archive__filter-button {
        display: inline-flex;
    }

    .catalog-archive .shop-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .catalog-section-card__main {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 120px;
    }

    .catalog-section-card__summary {
        padding: 14px;
    }

    .catalog-section-card__summary h3 {
        font-size: 14px;
    }

    .catalog-section-card__summary p {
        display: none;
    }

    .catalog-section-card__footer {
        padding: 10px 13px;
    }

    .catalog-section-card__children {
        display: none;
    }

    .catalog-archive__header-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

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

    .catalog-archive__filter-button {
        width: 100%;
    }

    .catalog-active-filters {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-active-filters__reset {
        margin-left: 0;
    }
}

/* ============================================================
   HEADER SOCIALS AND OFFER BUTTON
   ============================================================ */

.header-tools {
    gap: 13px;
}

.header-tools .header-social--compact {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-social--compact a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-paper);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-muted);
    font-size: 15px;

    transition:
        color var(--bs-transition-fast),
        background-color var(--bs-transition-fast),
        border-color var(--bs-transition-fast);
}

.header-offer-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 9px 15px;

    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-radius);
    color: var(--bs-white);

    font-family: var(--bs-font-display);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;

    transition:
        background-color var(--bs-transition-fast),
        border-color var(--bs-transition-fast);
}

.header-offer-button i {
    font-size: 13px;
}

@media (hover: hover) {
    .header-social--compact a:hover {
        background: var(--bs-primary);
        border-color: var(--bs-primary);
        color: var(--bs-white);
    }

    .header-offer-button:hover {
        background: var(--bs-primary-dark);
        border-color: var(--bs-primary-dark);
    }
}


/* Mobile socials and offer */

.mobile-nav__socials {
    display: flex;
    gap: 6px;
    margin: 16px 0;
}

.mobile-nav__socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bs-paper);
    border: 1px solid var(--bs-border);
    border-radius: var(--bs-radius);

    color: var(--bs-muted);
}

.mobile-nav__offer {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 13px;
    padding: 10px 14px;

    background: var(--bs-primary);
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-radius);
    color: var(--bs-white);

    font-family: var(--bs-font-display);
    font-size: 13px;
    font-weight: 700;
}


/* Header responsive */

@media (max-width: 1200px) {
    .header-tools .header-social--compact {
        display: none;
    }
}

@media (max-width: 980px) {
    .header-offer-button {
        width: 44px;
        flex: 0 0 44px;
        padding: 0;
    }

    .header-offer-button span {
        display: none;
    }

    .header-offer-button i {
        font-size: 15px;
    }
}


/* ============================================================
   IMPROVED PRODUCT CARD
   ============================================================ */

.product-card-eyebrow {
    min-height: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 8px;
}

.product-card-eyebrow .product-card-brand {
    min-width: 0;
    overflow: hidden;
    margin: 0;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-sku {
    flex-shrink: 0;
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 9px;
    line-height: 1.2;
}

.product-card-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-meta {
    margin-top: auto;
}

.product-card-meta .lead-time {
    min-width: 0;
    flex: 1;
    line-height: 1.35;
}

.product-card-offer {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 0;
    background: transparent;
    border: 0;
    color: var(--bs-primary);

    font-family: var(--bs-font-display);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;

    transition: color var(--bs-transition-fast);
}

.product-card-offer span {
    font-size: 14px;
    line-height: 1;
}

.product-card-offer:disabled {
    opacity: 0.55;
    cursor: wait;
}

.product-card--hidden {
    opacity: 0.64;
}

.product-card--out-of-stock .product-card-image img {
    opacity: 0.82;
}

@media (hover: hover) {
    .product-card-offer:hover {
        color: var(--bs-primary-dark);
    }
}

@media (max-width: 560px) {
    .product-card-eyebrow {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .product-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-card-offer {
        font-size: 12px;
    }
}

/* ============================================================
   COMPACT CATALOG SIDEBAR
   ============================================================ */

.widget-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.widget-heading .widget-title {
    margin-bottom: 0;
}

.widget-heading__link {
    color: var(--bs-primary);
    font-size: 10px;
    font-weight: 700;
}


/* Current category */

.cat-filter-current {
    margin-bottom: 12px;
    padding: 12px;

    background: var(--bs-primary-light);
    border-left: 3px solid var(--bs-primary);
}

.cat-filter-current__label {
    display: block;
    margin-bottom: 4px;

    color: var(--bs-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cat-filter-current__name {
    display: block;
    color: var(--bs-primary);
    font-size: 12px;
    line-height: 1.35;
}

.cat-filter-current__count {
    display: block;
    margin-top: 4px;

    color: var(--bs-muted);
    font-size: 9px;
}


/* Back */

.cat-filter-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 14px;
    color: var(--bs-muted);
    font-size: 10px;
}

.cat-filter-back i {
    font-size: 9px;
}


/* Section label */

.cat-filter-section-label {
    margin-bottom: 6px;

    color: var(--bs-muted-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* Compact category list */

.cat-filter-list--compact li a {
    min-height: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    padding: 6px 2px;
}

.cat-filter-list__name {
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;

    color: var(--bs-ink-soft);
    font-size: 11px;
    line-height: 1.3;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cat-filter-list--compact .cnt {
    margin: 0;
    padding: 0;
    background: transparent;

    color: var(--bs-muted-light);
    font-size: 9px;
}

.cat-filter-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    margin-top: 13px;
    color: var(--bs-primary);
    font-size: 10px;
    font-weight: 700;
}


/* Compact brand filter */

.widget-brands-compact .filter-check {
    min-height: 32px;
    padding: 5px 2px;
}

.widget-brands-compact .filter-check span {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-filter__more {
    margin-top: 8px;
    border-top: 1px solid var(--bs-border);
}

.brand-filter__more summary {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    color: var(--bs-primary);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.brand-filter__more summary::-webkit-details-marker {
    display: none;
}

.brand-filter__more summary::after {
    content: "+";
    color: var(--bs-primary);
    font-size: 15px;
    font-weight: 400;
}

.brand-filter__more[open] summary::after {
    content: "−";
}

.brand-filter__more summary span {
    margin-left: auto;
    color: var(--bs-muted-light);
    font-family: var(--bs-font-mono);
    font-size: 9px;
}

.brand-filter__more-content {
    max-height: 310px;
    overflow-y: auto;
    padding-right: 5px;
}

.widget-brands-compact .filter-reset {
    margin-top: 12px;
}

/* ============================================================
   ACTION COLOR HIERARCHY
   ============================================================ */

/*
 * Каталог оборудования:
 * тёмный графит — навигационное действие.
 */
.categories-trigger {
    background: #26313a;
}

.categories-trigger.is-open {
    background: #1d252c;
}

@media (hover: hover) {
    .categories-trigger:hover {
        background: #1d252c;
    }
}


/*
 * Кнопка поиска:
 * холодный стальной цвет.
 */
.header-search .search-submit,
.mobile-search-bar .search-submit,
.catalog-finder .search-submit,
.catalog-archive__search .search-submit {
    background: #536979;
}

@media (hover: hover) {
    .header-search .search-submit:hover,
    .mobile-search-bar .search-submit:hover,
    .catalog-finder .search-submit:hover,
    .catalog-archive__search .search-submit:hover {
        background: #405462;
    }
}


/*
 * Переход в каталог:
 * графитовая кнопка, а не бордовая.
 */
.home-hero__primary {
    background: var(--bs-ink);
    border-color: var(--bs-ink);
    color: var(--bs-white);
}

@media (hover: hover) {
    .home-hero__primary:hover {
        background: #08090a;
        border-color: #08090a;
    }
}


/*
 * Получить предложение:
 * единственное главное коммерческое действие.
 */
.header-offer-button,
.mobile-nav__offer {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}


/*
 * Запрос из карточки:
 * спокойная текстовая версия главного действия.
 */
.product-card-offer {
    color: var(--bs-primary);
}


/*
 * Обычные ссылки каталога.
 */
.home-section__link,
.catalog-section-card__more,
.catalog-archive__all-categories,
.cat-filter-all {
    color: #405462;
}

@media (hover: hover) {
    .home-section__link:hover,
    .catalog-section-card__more:hover,
    .catalog-archive__all-categories:hover,
    .cat-filter-all:hover {
        color: var(--bs-ink);
    }
}

/* ============================================================
   SINGLE PRODUCT COMPARE BUTTON
   ============================================================ */

.product-cta {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.product-cta .product-compare-button {
    width: 100%;
    height: auto;
    min-height: 44px;

    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 11px 18px;

    background: var(--bs-white);
    border: 1px solid var(--bs-border-dark);
    border-radius: var(--bs-radius);

    color: var(--bs-ink);

    font-family: var(--bs-font-display);
    font-size: 13px;
    font-weight: 700;

    box-shadow: none;
}

.product-cta .product-compare-button.added {
    background: #eaf3ee;
    border-color: #b9d4c3;
    color: var(--bs-success);
}

.product-cta .product-compare-button i {
    font-size: 14px;
}

@media (hover: hover) {
    .product-cta .product-compare-button:hover {
        background: var(--bs-paper);
        border-color: var(--bs-ink);
        color: var(--bs-ink);
    }

    .product-cta .product-compare-button.added:hover {
        background: #e2eee7;
        border-color: var(--bs-success);
        color: var(--bs-success);
    }
}

/* ============================================================
   DYNAMIC CATALOG FILTERS
   ============================================================ */

.catalog-filters {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.catalog-filters.is-loading { pointer-events: none; }

.catalog-filters.is-loading .filter-group,
.catalog-filters.is-loading .catalog-filters__actions {
    opacity: .45;
    transition: opacity .15s ease;
}

.catalog-filters__loader {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    z-index: 3;
}

.catalog-filters.is-loading .catalog-filters__loader { display: grid; }

.catalog-filters__loader::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 2px solid rgba(0, 0, 0, .12);
    border-top-color: var(--accent, #0a63d6);
    border-radius: 50%;
    animation: bs-spin .7s linear infinite;
}

@keyframes bs-spin { to { transform: rotate(360deg); } }

/* --- Группы --- */

.filter-group {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fff;
}

.filter-group__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    list-style: none;
}

.filter-group__title::-webkit-details-marker { display: none; }

.filter-group__title::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .5;
    transition: transform .18s ease;
    flex: 0 0 auto;
}

.filter-group[open] > .filter-group__title::after { transform: rotate(-135deg); }

.filter-group__badge {
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    margin-left: auto;
}

.filter-group__list {
    margin-top: 10px;
    max-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-group__search {
    width: 100%;
    margin: 10px 0 0;
    padding: 7px 10px;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
}

/* --- Чекбоксы --- */

.filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 2px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    border-radius: 6px;
}

.filter-check:hover { background: rgba(0, 0, 0, .03); }

.filter-check input { flex: 0 0 auto; margin: 0; }

.filter-check__name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.filter-check__count {
    font-style: normal;
    font-size: 12px;
    opacity: .55;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
}

.filter-check.is-empty {
    opacity: .35;
    cursor: not-allowed;
}

.filter-check.is-empty:hover { background: none; }

.filter-check-group__children {
    margin-left: 24px;
    padding-left: 8px;
    border-left: 1px solid rgba(0, 0, 0, .08);
}

.filter-check--child { font-size: 13px; }

/* --- Цена --- */

.filter-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.filter-price input {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 8px;
}

.filter-price__sep { opacity: .45; }

/* --- Действия --- */

.catalog-filters__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-filters__apply { flex: 1 1 auto; }

.catalog-filters__reset {
    font-size: 13px;
    text-decoration: underline;
    opacity: .7;
}

.catalog-filters__reset:hover { opacity: 1; }

/* На десктопе выдача обновляется сразу — кнопка нужна как no-JS фолбэк */
@media (min-width: 901px) {
    .catalog-archive--dynamic-filters .catalog-filters__apply { display: none; }
}

/* --- Результаты --- */

[data-bs-catalog-results][aria-busy='true'] {
    min-height: 320px;
    position: relative;
}

[data-bs-catalog-results][aria-busy='true']::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(1px);
    z-index: 2;
}

.shop-sidebar__widgets { margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
    .catalog-filters__loader::after { animation: none; }
    .filter-group[open] > .filter-group__title::after { transition: none; }
}