/* ТопСтройка — B2B UI, строгая геометрия, без скруглений */
:root {
    --mz-bg: #ffffff;
    --mz-bg-alt: #ffffff;
    --mz-surface: #ffffff;
    --mz-border: #d8dce3;
    --mz-text: #1a1f2e;
    --mz-muted: #5c6578;
    --mz-primary: #1e3a5f;
    --mz-primary-hover: #152a45;
    --mz-accent: #c45c26;
    --mz-success: #1d6b42;
    --mz-warning: #9a6b00;
    --mz-premium: #f0f4ff;
    --mz-header: #121820;
    --mz-toolbar-bg: #f4f5f7;
    --mz-font: "Inter", system-ui, sans-serif;
    --mz-container: 1280px;
    --mz-sidebar-ad: 160px;
    --mz-page-end-gap: 40px;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html { scroll-behavior: smooth; }

body.mz-body {
    margin: 0;
    font-family: var(--mz-font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--mz-text);
    background: var(--mz-bg);
}

a { color: var(--mz-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.mz-container {
    width: min(100% - 32px, var(--mz-container));
    margin-inline: auto;
}

/* Header (Aspro-style) */
.mz-header-top {
    font-size: 12px;
    border-bottom: 1px solid #2a3344;
    background: var(--mz-header);
    color: #e8ecf2;
}

.mz-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--mz-header);
    color: #e8ecf2;
    border-bottom: 2px solid var(--mz-accent);
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.2s ease;
    overflow: visible;
    --mz-header-nav-height: 40px;
}

.mz-header.is-scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.mz-header-top__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 4px 0;
    min-height: 32px;
}
.mz-header-top__right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.mz-btn--supplier {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    background: transparent;
    color: #e8ecf2;
    border: 1px solid #5c6b82;
    text-decoration: none;
}
.mz-btn--supplier:hover {
    background: var(--mz-accent);
    border-color: var(--mz-accent);
    color: #fff;
    text-decoration: none;
}

.mz-city-form { display: flex; align-items: center; gap: 6px; }
.mz-city-form__label { font-size: 12px; }
.mz-city-form__select {
    background: #1e2633;
    color: #fff;
    border: 1px solid #3d4a5c;
    padding: 2px 6px;
    font: inherit;
    font-size: 12px;
    border-radius: 0;
}

.mz-header-contacts { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.mz-header-contacts__phone { color: #fff; font-weight: 600; font-size: 12px; text-decoration: none; }
.mz-header-contacts__hours { color: #9aa5b5; font-size: 11px; white-space: nowrap; }

.mz-header-info-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px 14px;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}
.mz-header-info-nav__link,
.mz-header-info-nav__trigger {
    color: #b8c4d4;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
.mz-header-info-nav__link:hover,
.mz-header-info-nav__trigger:hover { color: #fff; }

.mz-header-info-nav__item--dropdown {
    position: relative;
    z-index: 30;
}
.mz-header-info-nav__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mz-header-info-nav__caret {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    opacity: 0.7;
}
.mz-header-info-nav__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    display: none;
    min-width: 140px;
    padding: 6px 0;
    background: #1e2636;
    border: 1px solid #2a3344;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.mz-header-info-nav__menu::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 6px;
}
.mz-header-info-nav__menu a {
    display: block;
    padding: 6px 12px;
    color: #b8c4d4;
    font-size: 11px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.mz-header-info-nav__menu a:hover {
    color: #fff;
    background: #2a3344;
    text-decoration: none;
}
.mz-header-info-nav__item--dropdown.is-open .mz-header-info-nav__menu,
.mz-header-info-nav__item--dropdown:hover .mz-header-info-nav__menu,
.mz-header-info-nav__item--dropdown:focus-within .mz-header-info-nav__menu {
    display: block;
}

@media (max-width: 1100px) {
    .mz-header-top__inner { flex-wrap: wrap; row-gap: 8px; }
    .mz-header-info-nav {
        order: 4;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 4px 0 0;
        border-top: 1px solid #2a3344;
        row-gap: 6px;
    }
}

.mz-header-social { display: flex; gap: 4px; }
.mz-social-link {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    background: #2a3344;
    color: #cbd5e1;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}
.mz-social-link:hover { background: var(--mz-accent); color: #fff; text-decoration: none; }

/* Main bar: logo | catalog | search | actions (тёмная) */
.mz-header-bar {
    background: var(--mz-header);
    border-bottom: 1px solid #2a3344;
}
.mz-header-bar__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    flex-wrap: wrap;
    min-height: 57px;
}

.mz-logo {
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    color: #fff;
}
.mz-logo:hover { text-decoration: none; color: #fff; }
.mz-logo__text small { color: #9aa5b5; }
.mz-logo__mark {
    width: 36px;
    height: 36px;
    background: var(--mz-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.mz-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.mz-logo__text strong { font-size: 17px; }
.mz-logo__text small { font-size: 10px; font-weight: 400; }
.mz-logo__frame {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
    max-width: min(220px, 42vw);
    flex-shrink: 0;
}
.mz-logo__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}
.mz-logo--image:hover { opacity: 0.92; }

.mz-btn-catalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 41px;
    background: var(--mz-primary);
    color: #fff;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}
.mz-btn-catalog:hover { background: var(--mz-primary-hover); }
.mz-btn-catalog__icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 14px;
}
.mz-btn-catalog__icon span {
    display: block;
    width: 6px;
    height: 6px;
    background: currentColor;
}
.mz-btn-catalog[aria-expanded="true"] { background: var(--mz-accent); }

.mz-header-bar .mz-search--bar {
    display: flex;
    flex: 0 1 380px;
    width: 100%;
    max-width: 380px;
    min-width: 160px;
    height: 41px;
}
.mz-header-bar .mz-search__input {
    height: 100%;
    box-sizing: border-box;
    flex: 1;
    border: 1px solid #3d4a5c;
    border-right: 0;
    padding: 8px 10px;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 0;
    background: #1e2633;
    color: #fff;
}
.mz-header-bar .mz-search__input::placeholder {
    color: #6b7789;
}
.mz-header-bar .mz-search__input:focus {
    outline: none;
    border-color: #5c6b82;
    background: #252f3f;
}
.mz-header-bar .mz-search__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    background: var(--mz-primary);
    color: #fff;
    border: 0;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 0;
    min-width: 40px;
}
.mz-header-bar .mz-search__btn:hover { background: var(--mz-primary-hover); }

.mz-header-tenders {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.mz-header-tenders__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    padding: 0 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 0;
    cursor: pointer;
}
.mz-header-tenders__btn--outline {
    color: #e8ecf2;
    background: transparent;
    border: 1px solid #5c6b82;
}
.mz-header-tenders__btn--outline:hover {
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}
.mz-header-tenders__btn--accent {
    color: #fff;
    background: var(--mz-accent);
    border: 1px solid var(--mz-accent);
}
.mz-header-tenders__btn--accent:hover {
    background: #a34d1f;
    border-color: #a34d1f;
    color: #fff;
    text-decoration: none;
}
.mz-header-tenders__label-short { display: none; }

.mz-header-actions {
    display: flex;
    align-items: stretch;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}
.mz-header-action {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 50px;
    padding: 4px 6px;
    color: #e8ecf2;
    text-decoration: none;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
}
.mz-header-action:hover {
    border-color: #3d4a5c;
    background: #2a3344;
    text-decoration: none;
    color: #fff;
}
.mz-header-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #e8ecf2;
}
.mz-header-action__icon i {
    font-size: 20px;
    line-height: 1;
    display: block;
}
.mz-header-action:hover .mz-header-action__icon {
    color: #fff;
}
.mz-header-action__label {
    font-weight: 500;
    white-space: nowrap;
    color: #9aa5b5;
}
.mz-header-action:hover .mz-header-action__label {
    color: #e8ecf2;
}
.mz-header-action__badge {
    position: absolute;
    top: 1px;
    right: 2px;
    min-width: 14px;
    height: 14px;
    padding: 0 4px;
    background: var(--mz-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mz-mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    background: #1a2230;
    border-top: 1px solid #2a3344;
    border-bottom: 1px solid #2a3344;
    padding: 20px 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.mz-mega[hidden] { display: none; }
.mz-mega__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
@media (max-width: 1100px) {
    .mz-mega__grid { grid-template-columns: repeat(3, 1fr); }
}
.mz-mega__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    text-decoration: none;
}
.mz-mega__title:hover { color: var(--mz-accent); text-decoration: none; }
.mz-mega__list { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.mz-mega__list a { color: #9aa5b5; }
.mz-mega__list a:hover { color: #fff; }

.mz-menu-icon svg { width: 20px; height: 20px; flex-shrink: 0; }

.mz-header-nav {
    position: relative;
    z-index: 1;
    background: #1e2633;
    border-bottom: 1px solid #2a3344;
    max-height: var(--mz-header-nav-height);
    opacity: 1;
    overflow: hidden;
    pointer-events: auto;
    transition:
        max-height 0.22s ease,
        opacity 0.18s ease,
        border-color 0.22s ease;
}

.mz-header.is-scrolled .mz-header-nav {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
    pointer-events: none;
}

.mz-header.is-scrolled .mz-quick-nav {
    padding-top: 0;
    padding-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .mz-header-nav {
        transition: none;
    }
}
.mz-header-nav .mz-container {
    padding-top: 0;
    padding-bottom: 0;
}
.mz-quick-nav {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 5px 0 3px;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}
.mz-quick-nav li {
    flex-shrink: 0;
    padding-bottom: 2px;
}
.mz-quick-nav::-webkit-scrollbar {
    height: 1px;
}
.mz-quick-nav::-webkit-scrollbar-track {
    background: transparent;
    margin: 0;
}
.mz-quick-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
}
.mz-quick-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}
.mz-quick-nav::-webkit-scrollbar-button,
.mz-quick-nav::-webkit-scrollbar-corner {
    display: none;
    width: 0;
    height: 0;
}

.mz-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #2a3344;
    border: 1px solid #3d4a5c;
    color: #e8ecf2;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}
.mz-cat-pill:hover {
    border-color: var(--mz-accent);
    color: #fff;
    text-decoration: none;
    background: #323d4f;
}
.mz-cat-pill .mz-menu-icon svg {
    width: 14px;
    height: 14px;
    stroke: #9aa5b5;
}
.mz-cat-pill:hover .mz-menu-icon svg {
    stroke: var(--mz-accent);
}

@media (max-width: 1100px) {
    .mz-header-action__label { display: none; }
    .mz-header-action { min-width: 44px; }
    .mz-header-tenders__btn {
        padding: 0 8px;
        font-size: 11px;
    }
}
@media (max-width: 768px) {
    .mz-logo__text small { display: none; }
    .mz-btn-catalog__text { display: none; }
}

/* Buttons */
.mz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    border-radius: 0;
    font-size: 14px;
}
.mz-btn:hover { text-decoration: none; }
.mz-btn--primary { background: var(--mz-primary); color: #fff; }
.mz-btn--primary:hover { background: var(--mz-primary-hover); color: #fff; }
.mz-btn--outline { background: transparent; color: #fff; border: 1px solid #5c6b82; }
.mz-btn--outline:hover { border-color: #fff; color: #fff; }
.mz-btn--sm { padding: 6px 12px; font-size: 13px; }
.mz-btn--block { display: flex; width: 100%; }
.mz-btn--accent { background: var(--mz-accent); color: #fff; }
.mz-btn--accent:hover { background: #a34d1f; color: #fff; }
.mz-btn--ghost {
    background: #fff;
    color: var(--mz-primary);
    border: 1px solid var(--mz-border);
}
.mz-btn--ghost:hover { background: #eef0f4; color: var(--mz-primary-hover); }
.mz-btn--outline.mz-btn--block {
    background: #fff;
    color: var(--mz-primary);
    border: 1px solid var(--mz-primary);
}
.mz-btn--outline.mz-btn--block:hover {
    background: var(--mz-primary);
    color: #fff;
}

.mz-main { padding: 24px 0 0; min-height: 40vh; }

/* Отступ перед футером — на последнем блоке контента (фон секции, не белая полоса у footer) */
.mz-blog-page,
.mz-article,
.mz-page,
.mz-mfg-dir,
.mz-cat-page,
.mz-cart-page,
.mz-reviews-page,
.mz-news-list,
.mz-news-article,
.mz-manufacturer,
.mz-content-outer,
.mz-error-404 {
    padding-bottom: var(--mz-page-end-gap);
}

.mz-body--home .mz-main > :last-child {
    padding-bottom: var(--mz-page-end-gap);
}

/* Контент + баннеры вне ширины сайта */
.mz-content-outer--category {
    margin-bottom: 32px;
}
.mz-cat-ad-top {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}
.mz-listing-ad-row td {
    padding: 12px 8px;
    background: var(--mz-bg-alt, #fff);
    border-bottom: 1px solid var(--mz-border, #e2e6ec);
}
.mz-listing-ad-row:not(:has(.mz-ad)) {
    display: none;
}
.mz-listing-ad-row .mz-ad {
    margin: 0 auto;
    max-width: 100%;
}
.mz-ad--listing-inline .mz-ad__placeholder {
    min-height: 90px;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}
.mz-ad--listing-inline .mz-ad__img {
    margin: 0 auto;
}
.mz-ad__img {
    display: block;
    max-width: 100%;
    height: auto;
}
.mz-content-outer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 16px;
    padding: 0 12px;
}
.mz-content-outer__main {
    flex: 0 1 var(--mz-container);
    width: 100%;
    max-width: var(--mz-container);
    min-width: 0;
}
.mz-content-outer > .mz-ad--sidebar-left,
.mz-content-outer > .mz-ad--sidebar-right {
    flex: 0 0 160px;
    width: 160px;
    margin-top: 0;
}
@media (max-width: 1540px) {
    .mz-content-outer > .mz-ad--sidebar-left,
    .mz-content-outer > .mz-ad--sidebar-right {
        display: none;
    }
    .mz-content-outer__main {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.mz-product {
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    padding: 24px;
}

.mz-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 13px;
    color: var(--mz-muted);
}
.mz-breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin-left: 6px;
    color: var(--mz-border);
}

.mz-product__head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--mz-border);
}
.mz-product__title { margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.2; }
.mz-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--mz-muted);
    margin: 0 0 12px;
}
.mz-product__lead { margin: 0; max-width: 720px; }
.mz-product__price-range {
    text-align: right;
    flex-shrink: 0;
    border: 1px solid var(--mz-border);
    padding: 16px;
    background: #fff;
}
.mz-product__price-label { display: block; font-size: 12px; color: var(--mz-muted); }
.mz-product__price-value { display: block; font-size: 24px; font-weight: 700; color: var(--mz-primary); margin: 4px 0 12px; }
.mz-product__price-range .mz-btn--outline {
    color: var(--mz-primary);
    border-color: var(--mz-primary);
    background: #fff;
}
.mz-product__price-range .mz-btn--outline:hover {
    background: var(--mz-primary);
    color: #fff;
    border-color: var(--mz-primary);
}

/* Карточка: галерея 50% | инфо 25% | заказ 25% */
.mz-product__hero--3col {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
}
.mz-product__hero-gallery { min-width: 0; }
.mz-product__hero-middle {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.mz-product__hero-buy { min-width: 0; }

@media (max-width: 1024px) {
    .mz-product__hero--3col {
        grid-template-columns: 1fr 1fr;
    }
    .mz-product__hero-gallery { grid-column: 1 / -1; }
    .mz-product__hero-buy { order: 2; }
    .mz-product__hero-middle { order: 3; grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .mz-product__hero--3col { grid-template-columns: 1fr; }
    .mz-product__hero-gallery { grid-column: auto; order: 1; }
    .mz-product__hero-buy { grid-column: auto; order: 2; }
    .mz-product__hero-middle { grid-column: auto; order: 3; }
}

.mz-product__block-title {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--mz-muted);
}
.mz-specs-mini { margin: 0; }
.mz-specs-mini__row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #eef0f4;
    font-size: 12px;
}
.mz-specs-mini__row dt { color: var(--mz-muted); margin: 0; font-weight: 400; }
.mz-specs-mini__row dd { margin: 0; font-weight: 600; text-align: right; }
.mz-link-more {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

/* Галерея: превью слева, основное фото справа */
.mz-gallery--side-thumbs {
    display: flex;
    align-items: stretch;
    gap: 10px;
}
.mz-gallery--side-thumbs .mz-gallery__thumbs {
    flex: 0 0 68px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.mz-gallery--side-thumbs .mz-gallery__thumb {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
}
.mz-gallery--side-thumbs .mz-gallery__stage {
    flex: 1;
    min-width: 0;
    position: relative;
}
.mz-gallery--single .mz-gallery__stage {
    width: 100%;
}

.mz-gallery__item {
    display: none;
    border: 1px solid var(--mz-border);
    background: #fff;
    min-height: 280px;
    max-height: 340px;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.mz-gallery--side-thumbs .mz-gallery__item.is-active {
    display: flex;
}
.mz-gallery__item.is-active { display: flex; }
.mz-gallery__item img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.mz-gallery__thumbs { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mz-gallery__thumb {
    border: 2px solid var(--mz-border);
    padding: 0;
    background: #fff;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.15s;
}
.mz-gallery__thumb:hover { border-color: #94a3b8; }
.mz-gallery__thumb.is-active {
    border-color: var(--mz-primary);
    box-shadow: 0 0 0 1px var(--mz-primary);
}
.mz-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 640px) {
    .mz-gallery--side-thumbs {
        flex-direction: column-reverse;
    }
    .mz-gallery--side-thumbs .mz-gallery__thumbs {
        flex: none;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }
    .mz-gallery--side-thumbs .mz-gallery__thumb {
        width: 56px;
        height: 56px;
    }
    .mz-gallery--side-thumbs .mz-gallery__item {
        min-height: 220px;
        max-height: 280px;
    }
}

.mz-product__short-specs {
    border: 1px solid var(--mz-border);
    padding: 12px;
    background: #fff;
}

.mz-best-offer-card {
    border: 1px solid var(--mz-border);
    padding: 12px;
    background: #fff;
}
.mz-best-offer-card__label {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mz-muted);
    font-weight: 600;
}
.mz-best-offer-card__vendor {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}
.mz-best-offer-card__vendor a { text-decoration: none; }
.mz-best-offer-card__rating {
    padding: 8px 0 0;
    border-top: 1px solid var(--mz-border);
    margin: 8px 0 0;
}
.mz-best-offer-card__rating .mz-mfr-rating { margin: 0; }

.mz-mini-offers {
    border: 1px solid var(--mz-border);
    padding: 12px;
    background: var(--mz-surface);
}
.mz-mini-offers__title { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.mz-mini-offers__list { margin: 0; padding: 0; list-style: none; font-size: 12px; }
.mz-mini-offers__list li {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 0;
    border-bottom: 1px solid #eef0f4;
}
.mz-mini-offers__list li:last-child { border-bottom: 0; }

.mz-hero-middle .mz-ad { margin-bottom: 0; }
.mz-hero-middle .mz-ad__placeholder { min-height: 200px; }

/* Блок заказа (Aspro-style) */
.mz-buybox {
    border: 1px solid var(--mz-border);
    padding: 16px;
    background: #fff;
    position: sticky;
    top: 12px;
}
.mz-buybox--compact {
    padding: 12px;
}
.mz-buybox--compact .mz-buybox__price {
    margin: 0 0 4px;
    font-size: 24px;
}
.mz-buybox--compact .mz-buybox__stock {
    margin: 0 0 8px;
}
.mz-buybox--compact .mz-buybox__actions {
    gap: 6px;
}
.mz-buybox--compact .mz-alert {
    margin-bottom: 8px;
}
.mz-buybox__label {
    margin: 0 0 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mz-muted);
    font-weight: 600;
}
.mz-buybox__vendor {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
}
.mz-buybox__vendor a { text-decoration: none; }
.mz-buybox__price {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--mz-primary);
    line-height: 1.1;
}
.mz-buybox__price span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--mz-muted);
    margin-top: 4px;
}
.mz-buybox__stock {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--mz-muted);
}
.mz-buybox__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mz-buybox__all {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

/* Tabs */
.mz-tabs { margin-top: 8px; }
.mz-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 2px solid var(--mz-border);
}
.mz-tabs__btn {
    background: #fff;
    border: 1px solid var(--mz-border);
    border-bottom: 0;
    padding: 12px 18px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    margin-right: -1px;
    border-radius: 0;
    color: var(--mz-muted);
}
.mz-tabs__btn[aria-selected="true"],
.mz-tabs__btn.is-active {
    background: var(--mz-surface);
    color: var(--mz-primary);
    border-bottom: 2px solid var(--mz-surface);
    margin-bottom: -2px;
}
.mz-tabs__panel {
    padding: 20px 0;
    display: none;
}
.mz-tabs__panel.is-active { display: block; }

.mz-offers-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--mz-muted);
}

.mz-table-wrap {
    overflow-x: auto;
    border: none;
    border-top: 1px solid var(--mz-border);
    border-bottom: 1px solid var(--mz-border);
}
.mz-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.mz-table th,
.mz-table td {
    border: 0;
    border-bottom: 1px solid var(--mz-border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.mz-table tbody tr:last-child td {
    border-bottom: 0;
}
.mz-table th {
    background: #fff;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.mz-table--offers tr.is-premium { background: var(--mz-premium); }
.mz-table--offers th,
.mz-table--offers td {
    white-space: nowrap;
}
.mz-table--offers td:first-child {
    white-space: normal;
    min-width: 200px;
}
.mz-table-wrap:has(.mz-table--offers) {
    overflow-x: auto;
}
.mz-table--specs {
    border-top: 1px solid var(--mz-border);
    border-bottom: 1px solid var(--mz-border);
}
.mz-table--specs th { width: 40%; font-weight: 500; text-transform: none; background: #fff; }

.mz-offer-vendor { display: flex; gap: 10px; align-items: flex-start; }
.mz-offer-vendor__logo { border: 1px solid var(--mz-border); background: #fff; object-fit: contain; border-radius: 4px; }
.mz-offer-vendor__name { font-weight: 600; display: block; }
.mz-offer-price { font-size: 16px; color: var(--mz-primary); }
.mz-offer-price-meta { display: block; font-size: 12px; color: var(--mz-muted); }
.mz-offer-distance { display: block; font-size: 12px; color: var(--mz-muted); }

.mz-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    margin-top: 4px;
    margin-right: 4px;
    border-radius: 0;
}
.mz-badge--gold { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.mz-badge--premium { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.mz-badge--verified { background: #dcfce7; color: #166534; border: 1px solid #86efac; }

.mz-recommended-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff3e8;
    color: var(--mz-accent);
    border: 1px solid #f0c9a8;
    font-size: 11px;
    flex-shrink: 0;
    vertical-align: middle;
    margin-top: 2px;
    margin-right: 4px;
    line-height: 1;
}
.mz-recommended-icon.mz-mfg-premium-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 14px;
    margin: 0;
}
.mz-listing__name + .mz-badge,
.mz-best-offer-card__vendor .mz-badge,
.mz-buybox__vendor .mz-badge,
.mz-offer-vendor .mz-badge {
    margin-left: 6px;
}

.mz-stock { font-size: 12px; font-weight: 600; }
.mz-stock--ok { color: var(--mz-success); }
.mz-stock--order { color: var(--mz-warning); }

.mz-link-phone { font-weight: 600; white-space: nowrap; }

/* Ad slots */
.mz-ad { margin-bottom: 16px; }
.mz-ad__placeholder {
    border: 2px dashed #c5cad4;
    background: #fff;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    position: relative;
}
.mz-ad--sidebar-left .mz-ad__placeholder,
.mz-ad--sidebar-right .mz-ad__placeholder { min-height: 600px; }
.mz-ad--inline-tab .mz-ad__placeholder { min-height: 90px; }
.mz-ad__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 10px;
    color: var(--mz-muted);
    background: #fff;
    padding: 2px 6px;
    border: 1px solid var(--mz-border);
}
.mz-ad__size { font-weight: 700; font-size: 14px; }
.mz-ad__hint { margin: 4px 0 0; font-size: 11px; color: var(--mz-muted); }
.mz-ad__demo { max-width: 100%; margin-top: 8px; }

/* Cross-sell */
.mz-cross-sell { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--mz-border); }
.mz-section-title { margin: 0 0 16px; font-size: 20px; }
.mz-section-desc { margin: 0 0 16px; color: var(--mz-muted); font-size: 14px; }

.mz-card-grid {
    display: grid;
    gap: 12px;
}

.mz-card-grid--tiles {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Product tile (cross-sell / similar) */
.mz-product-tile {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--mz-border);
    border-radius: 6px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mz-product-tile:hover {
    border-color: var(--mz-primary);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    text-decoration: none;
    color: inherit;
}

.mz-product-tile__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    padding: 14px;
    background: #fff;
    border-bottom: 1px solid var(--mz-border);
}

.mz-product-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mz-product-tile__placeholder {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: #eceff3;
}

.mz-product-tile__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 12px 14px 14px;
}

.mz-product-tile__cat {
    font-size: 11px;
    color: var(--mz-muted);
    line-height: 1.3;
}

.mz-product-tile__name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.9em;
}

.mz-product-tile__price {
    margin-top: auto;
    padding-top: 4px;
    color: var(--mz-primary);
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
}

/* Similar products carousel — one row, 5 visible */
.mz-similar-carousel {
    position: relative;
}

.mz-similar-carousel__viewport {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 5);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}

.mz-similar-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.mz-similar-carousel__viewport > .mz-product-tile {
    scroll-snap-align: start;
}

.mz-similar-carousel__btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border: 1px solid var(--mz-border);
    border-radius: 50%;
    background: #fff;
    color: var(--mz-text);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mz-similar-carousel__btn:hover {
    border-color: var(--mz-primary);
    color: var(--mz-primary);
}

.mz-similar-carousel__btn--prev { left: -14px; }
.mz-similar-carousel__btn--next { right: -14px; }

.mz-similar-carousel__btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 1200px) {
    .mz-card-grid--tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mz-similar-carousel__viewport {
        grid-auto-columns: calc((100% - 36px) / 4);
    }
}

@media (max-width: 768px) {
    .mz-card-grid--tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mz-similar-carousel__viewport {
        grid-auto-columns: calc((100% - 24px) / 3);
    }
}

@media (max-width: 520px) {
    .mz-card-grid--tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mz-similar-carousel__viewport {
        grid-auto-columns: calc((100% - 12px) / 2);
    }

    .mz-similar-carousel__btn--prev { left: -6px; }
    .mz-similar-carousel__btn--next { right: -6px; }
}

/* Legacy text cards (services etc.) */
.mz-product-card {
    display: block;
    border: 1px solid var(--mz-border);
    padding: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}
.mz-product-card:hover {
    border-color: var(--mz-primary);
    text-decoration: none;
    background: #fff;
}
.mz-product-card__cat { font-size: 11px; color: var(--mz-muted); display: block; }
.mz-product-card__name { font-weight: 600; display: block; margin: 4px 0; }
.mz-product-card__price { color: var(--mz-primary); font-weight: 700; font-size: 14px; }

.mz-manufacturer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mz-manufacturer-chips a {
    display: block;
    padding: 8px 12px;
    border: 1px solid var(--mz-border);
    background: #fff;
    font-size: 13px;
}
.mz-manufacturer-chips a:hover { border-color: var(--mz-primary); text-decoration: none; }

.mz-docs-list { list-style: none; margin: 0; padding: 0; }
.mz-docs-list li {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef0f4;
}
.mz-docs-list__type {
    font-size: 11px;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--mz-border);
    padding: 2px 8px;
    min-width: 48px;
    text-align: center;
}

.mz-prose p { margin: 0 0 12px; }

/* Home */
.mz-hero {
    background: var(--mz-primary);
    color: #fff;
    padding: 48px 0;
    margin-bottom: 32px;
}
.mz-hero__title { margin: 0 0 12px; font-size: 32px; }
.mz-hero__text { margin: 0 0 20px; max-width: 560px; opacity: 0.9; }
.mz-hero .mz-btn--primary { background: var(--mz-accent); }
.mz-hero .mz-btn--primary:hover { background: #a34d1f; }
.mz-hero .mz-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.mz-hero .mz-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
}

.mz-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.mz-cat-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}
.mz-cat-tile__icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.mz-cat-tile__icon--fa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mz-primary);
    font-size: 22px;
    line-height: 1;
}
.mz-cat-tile__icon--fa i {
    display: block;
}
.mz-cat-tile__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.mz-cat-tile:hover { border-color: var(--mz-primary); text-decoration: none; }

/* Listing */
.mz-listing__head { margin-bottom: 20px; }
.mz-listing__title { margin: 0 0 6px; font-size: 26px; }
.mz-listing__meta { margin: 0; color: var(--mz-muted); font-size: 14px; }
.mz-listing__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .mz-listing__layout { grid-template-columns: 1fr; }
}
.mz-filters {
    background: var(--mz-surface);
    border: none;
    padding: 16px;
}
.mz-filters__title { margin: 0 0 12px; font-size: 16px; }
.mz-filters__label { margin: 0 0 8px; font-size: 12px; text-transform: uppercase; color: var(--mz-muted); }
.mz-filters__list { list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; }
.mz-filters__list a { color: var(--mz-text); display: block; padding: 4px 0; }
.mz-filters__list a.is-active { color: var(--mz-primary); font-weight: 600; }
.mz-listing__name { font-weight: 600; }
.mz-listing__thumb img,
.mz-listing-thumb {
    border: 1px solid var(--mz-border);
    object-fit: cover;
    border-radius: 4px;
}
.mz-listing__thumb .mz-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--mz-border);
    border-radius: 4px;
    background: var(--mz-surface);
    color: var(--mz-primary);
}
.mz-listing__thumb .mz-menu-icon svg {
    width: 22px;
    height: 22px;
}
.mz-listing__sku { font-size: 13px; }
.mz-table--listing {
    font-size: 13px;
    table-layout: fixed;
    width: 100%;
}
.mz-table--listing.mz-table--multi-offer {
    min-width: 980px;
    border-collapse: collapse;
}
.mz-table--multi-offer tbody tr[data-product-row] {
    border-bottom: 1px solid var(--mz-border, #e2e6ec);
}
.mz-table--multi-offer tbody tr[data-product-row] td {
    border-bottom: none;
    vertical-align: middle;
}
.mz-table--multi-offer tbody tr[data-product-row]:last-child {
    border-bottom: 0;
}
.mz-table--listing th,
.mz-table--listing td {
    vertical-align: top;
    padding: 10px 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.4;
}
.mz-table--listing th {
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1.3;
}
.mz-table--listing col.mz-col-thumb { width: 44px; }
.mz-table--listing col.mz-col-name { width: 24%; }
.mz-table--listing col.mz-col-sku { width: 14%; }
.mz-table--listing col.mz-col-dims { width: 11%; }
.mz-table--listing col.mz-col-beton { width: 56px; }
.mz-table--listing thead th:nth-child(5) { white-space: nowrap; }
.mz-table--listing col.mz-col-mass { width: 58px; }
.mz-table--listing col.mz-col-price { width: 80px; }
.mz-table--listing col.mz-col-delivery { width: 72px; }
.mz-table--listing col.mz-col-stock { width: 44px; }
.mz-table--listing col.mz-col-actions { width: 148px; }
/* multi-offer: только px, иначе % + px ломают table-layout: fixed */
.mz-table--multi-offer col.mz-col-name { width: 210px; }
.mz-table--multi-offer col.mz-col-sku { width: 118px; }
.mz-table--multi-offer col.mz-col-dims { width: 96px; }
.mz-table--multi-offer col.mz-col-beton { width: 52px; }
.mz-table--multi-offer col.mz-col-mass { width: 56px; }
.mz-table--multi-offer col.mz-col-price { width: 86px; }
.mz-table--multi-offer col.mz-col-delivery { width: 76px; }
.mz-table--multi-offer col.mz-col-stock { width: 56px; }
.mz-table--multi-offer col.mz-col-actions { width: 168px; }
.mz-table--multi-offer th {
    white-space: nowrap;
    padding-left: 6px;
    padding-right: 6px;
}
.mz-table--listing td.mz-listing__actions {
    overflow-wrap: normal;
    word-break: normal;
    vertical-align: middle;
}
.mz-table--listing .mz-listing__actions {
    flex-wrap: nowrap;
    white-space: nowrap;
}
.mz-table--multi-offer .mz-btn-add-cart {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
    padding: 6px 4px;
}
.mz-table--multi-offer .mz-listing__actions {
    padding-right: 4px;
    gap: 3px;
    max-width: 168px;
    box-sizing: border-box;
}
.mz-table--multi-offer td[data-label="Наличие"] {
    text-align: center;
    vertical-align: middle;
}
.mz-table--listing .mz-listing__thumb {
    padding: 8px 4px 8px 8px;
    text-align: center;
}
.mz-table--listing .mz-listing__thumb img,
.mz-table--listing .mz-listing__thumb .mz-menu-icon {
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto;
}
.mz-listing__name {
    display: block;
    font-weight: 600;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
    hyphens: auto;
}
.mz-listing__sku-cell {
    font-size: 12px;
}
.mz-listing__sku {
    display: block;
    font-weight: 600;
    line-height: 1.3;
}
.mz-listing__gost {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--mz-muted);
    font-weight: 400;
    line-height: 1.3;
}
.mz-listing__dims {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    line-height: 1.45;
}
.mz-dims {
    display: inline-block;
    max-width: 100%;
}
.mz-listing__beton {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 4px;
    padding-right: 4px;
}
.mz-listing__mass {
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
}
.mz-listing__mass > span {
    display: block;
}
.mz-listing__mass .mz-listing__load {
    margin-top: 3px;
    font-size: 11px;
    color: var(--mz-muted);
}
.mz-listing__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding-right: 8px;
    flex-wrap: nowrap;
}
.mz-listing__price {
    font-weight: 700;
    color: var(--mz-primary);
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
}
.mz-price-from {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--mz-muted);
}
.mz-price-value {
    display: block;
    white-space: nowrap;
}
.mz-table--listing .mz-stock {
    font-size: 11px;
    line-height: 1.3;
    display: inline-block;
}
.mz-stock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
}
.mz-stock-icon--ok {
    color: #1a7f4e;
    background: #e8f6ef;
}
.mz-stock-icon--order {
    color: #9a3412;
    background: #fff4e8;
}
.mz-btn-add-cart {
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.2;
    width: 78px;
    min-width: 78px;
    max-width: 78px;
    white-space: nowrap;
}
.mz-btn-add-cart.is-added {
    background: #1a7f4e;
    border-color: #1a7f4e;
}
.mz-buybox .mz-btn-add-cart {
    padding: 10px 18px;
    font-size: 14px;
    line-height: normal;
    width: 100%;
    min-width: 0;
    max-width: none;
}
.mz-btn-compare--icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: var(--mz-primary);
    background: #fff;
    border-color: var(--mz-border);
}
.mz-btn-compare--icon:hover,
.mz-btn-compare--icon.is-active {
    color: #fff;
    background: var(--mz-primary);
    border-color: var(--mz-primary);
}
.mz-btn-compare--icon i {
    font-size: 13px;
    line-height: 1;
}
.mz-table--listing .mz-btn-compare--icon.mz-btn--outline {
    color: var(--mz-primary);
    background: #fff;
    border-color: var(--mz-border);
}
.mz-table--listing .mz-btn-compare--icon.mz-btn--outline:hover,
.mz-table--listing .mz-btn-compare--icon.mz-btn--outline.is-active {
    color: #fff;
    background: var(--mz-primary);
    border-color: var(--mz-primary);
}
.mz-table--listing .mz-btn-fav {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--mz-border);
    background: #fff;
    color: var(--mz-muted);
}
.mz-table--listing .mz-btn-fav:hover,
.mz-table--listing .mz-btn-fav.is-active {
    color: #e11d48;
    border-color: #fecdd3;
    background: #fff1f2;
}
.mz-listing__empty { text-align: center; padding: 32px; color: var(--mz-muted); }
.mz-muted { color: var(--mz-muted); font-size: 13px; }

/* Manufacturer page */
.mz-manufacturer__head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    padding: 24px;
    margin-bottom: 24px;
}
.mz-manufacturer__logo { border: 1px solid var(--mz-border); }
.mz-manufacturer__title { margin: 0 0 8px; font-size: 28px; }
.mz-manufacturer__region { color: var(--mz-muted); margin: 0 0 8px; }
.mz-manufacturer__about {
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    padding: 16px 20px;
    margin-bottom: 24px;
}
.mz-manufacturer__about-toggle {
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mz-primary);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}
.mz-manufacturer__about-toggle:hover { text-decoration: none; }
.mz-manufacturer__banner {
    margin-bottom: 24px;
}
.mz-manufacturer__banner .mz-ad {
    margin: 0 auto;
    max-width: 100%;
}
.mz-ad--manufacturer-profile .mz-ad__placeholder {
    min-height: 120px;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}
.mz-manufacturer__category { margin-bottom: 28px; }
.mz-manufacturer__cat-title { margin: 0 0 12px; font-size: 18px; }

/* Manufacturer: tiles + toolbar */
.mz-mfg-sections { margin-bottom: 28px; }
.mz-mfg-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.mz-mfg-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.mz-mfg-tile:hover {
    border-color: var(--mz-primary);
    box-shadow: 0 2px 8px rgba(30, 58, 95, 0.08);
}
.mz-mfg-tile.is-active {
    border-color: var(--mz-primary);
    background: #f0f4ff;
    box-shadow: inset 0 0 0 1px var(--mz-primary);
}
.mz-mfg-tile__title { font-weight: 600; font-size: 14px; }
.mz-mfg-tile__count { font-size: 12px; color: var(--mz-muted); }

.mz-mfg-catalog { margin-bottom: 32px; }
.mz-mfg-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
}
.mz-mfg-search { flex: 1; min-width: 220px; }
.mz-mfg-search__input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--mz-border);
    font: inherit;
    border-radius: 0;
}
.mz-mfg-search__input:focus {
    outline: none;
    border-color: var(--mz-primary);
}
.mz-mfg-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.mz-mfg-sort-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--mz-muted);
}
.mz-mfg-sort {
    padding: 8px 10px;
    border: 1px solid var(--mz-border);
    font: inherit;
    border-radius: 0;
    background: #fff;
}
.mz-mfg-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
}
.mz-mfg-toolbar__count {
    margin: 0 0 0 auto;
    font-size: 13px;
    color: var(--mz-muted);
}
.mz-mfg-empty {
    text-align: center;
    padding: 24px;
    color: var(--mz-muted);
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
}

/* Footer */
.mz-footer {
    background: var(--mz-header);
    color: #9aa5b5;
    margin-top: 0;
    font-size: 14px;
}
.mz-footer__grid {
    display: grid;
    grid-template-columns: minmax(200px, 1.25fr) 1fr 0.9fr 1fr minmax(220px, 1.15fr);
    gap: 36px;
    padding: 40px 0 32px;
    align-items: start;
}
@media (max-width: 1100px) {
    .mz-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .mz-footer__brand-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .mz-footer__grid { grid-template-columns: 1fr; }
}
.mz-footer__logo-link {
    display: inline-block;
    margin-bottom: 16px;
}
.mz-footer__logo-link--wordmark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #fff;
}
.mz-footer__logo-link--wordmark:hover {
    text-decoration: none;
    color: #fff;
}
.mz-footer__logo-mark {
    width: 36px;
    height: 36px;
    background: var(--mz-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.mz-footer__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.mz-footer__logo-text strong {
    font-size: 17px;
    color: #fff;
}
.mz-footer__logo-text small {
    font-size: 10px;
    color: #9aa5b5;
    font-weight: 400;
}
.mz-footer__logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    height: 80px;
    max-width: min(440px, 100%);
    width: 100%;
}
.mz-footer__logo {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: left center;
}
.mz-footer__requisites {
    font-size: 12px;
    line-height: 1.55;
    color: #7d8a9c;
    margin-bottom: 12px;
}
.mz-footer__text {
    margin: 0;
    line-height: 1.55;
    color: #9aa5b5;
    max-width: 320px;
}
.mz-footer__heading {
    color: #fff;
    margin: 0 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.mz-footer__heading--sub {
    margin-top: 22px;
}
.mz-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mz-footer__links li {
    margin-bottom: 10px;
}
.mz-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b8c2d0;
    line-height: 1.45;
    text-decoration: none;
}
.mz-footer__links a:hover {
    color: #fff;
    text-decoration: none;
}
.mz-footer__link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: #1e2838;
    color: var(--mz-accent);
}
.mz-footer__link-icon .mz-menu-icon svg {
    width: 18px;
    height: 18px;
}
.mz-footer__contacts .mz-footer__phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.mz-footer__contacts .mz-footer__email {
    display: block;
    color: #b8c2d0;
    margin-bottom: 8px;
}
.mz-footer__muted {
    display: block;
    font-size: 12px;
    color: #7d8a9c;
    margin-bottom: 12px;
}
.mz-footer__schedule {
    margin: 8px 0 14px;
    font-size: 13px;
}
.mz-footer__schedule i {
    margin-right: 6px;
    color: var(--mz-accent);
}
.mz-footer__socials {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}
.mz-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1e2838;
    color: #fff;
    font-size: 16px;
}
.mz-footer__socials a:hover {
    background: var(--mz-primary);
    color: #fff;
}
.mz-footer__callback {
    width: 100%;
    max-width: 240px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mz-btn--accent {
    background: var(--mz-accent);
    color: #fff;
    border: 1px solid var(--mz-accent);
}
.mz-btn--accent:hover {
    background: #a34d1f;
    border-color: #a34d1f;
    color: #fff;
}
.mz-footer__bottom {
    border-top: 1px solid #2a3344;
    padding: 16px 0 20px;
    font-size: 12px;
}
.mz-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.mz-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.mz-footer__legal a,
.mz-footer__bottom a {
    color: #9aa5b5;
}
.mz-footer__dev {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    color: #9aa5b5;
    text-decoration: none;
    flex-shrink: 0;
}
.mz-footer__dev:hover {
    color: #fff;
    text-decoration: none;
}
.mz-footer__dev span {
    font-size: 12px;
}
.mz-footer__dev-logo {
    display: block;
    width: 90px;
    height: 33px;
    object-fit: contain;
}

/* Контурная кнопка на светлом фоне (не в шапке/hero) */
.mz-main .mz-btn--outline,
.mz-error-404 .mz-btn--outline {
    color: var(--mz-primary);
    border-color: var(--mz-primary);
    background: #fff;
}
.mz-main .mz-btn--outline:hover,
.mz-error-404 .mz-btn--outline:hover {
    background: var(--mz-primary);
    color: #fff;
    border-color: var(--mz-primary);
}

/* Hero: контурная кнопка на тёмном фоне (перекрывает правило .mz-main выше) */
.mz-main .mz-hero .mz-btn--outline,
.mz-main .mz-hero--home .mz-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.mz-main .mz-hero .mz-btn--outline:hover,
.mz-main .mz-hero--home .mz-btn--outline:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: #fff;
}

/* Category page */
.mz-cat-page { padding-bottom: var(--mz-page-end-gap); }
.mz-cat-head { margin-bottom: 28px; }
.mz-cat-head__title { margin: 0 0 12px; font-size: 28px; }
.mz-cat-head__intro { margin: 0; max-width: 720px; line-height: 1.6; color: var(--mz-text); }
.mz-cat-section { margin-bottom: 32px; }
.mz-cat-section__title { margin: 0 0 14px; font-size: 18px; }
.mz-cat-section__desc { margin: -8px 0 14px; color: var(--mz-muted); font-size: 14px; }
.mz-cat-tiles {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 1024px) {
    .mz-cat-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .mz-cat-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.mz-cat-tiles--collapsible.is-collapsed {
    max-height: var(--cat-tiles-collapsed-height, none);
    overflow: hidden;
}
.mz-cat-tiles--collapsible.is-expanded {
    max-height: none;
    overflow: visible;
}
.mz-cat-tiles__more {
    margin-top: 12px;
}
@media (max-width: 640px) {
    .mz-cat-tiles__more {
        display: block;
        width: 100%;
    }
}
.mz-cat-tiles__more[hidden] {
    display: none !important;
}
.mz-btn--outline-cat {
    color: var(--mz-primary);
    border-color: var(--mz-border);
    background: #fff;
}
.mz-btn--outline-cat:hover {
    color: var(--mz-primary);
    border-color: var(--mz-primary);
    background: #fff;
}
.mz-cat-region-note {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--mz-muted, #64748b);
}
.mz-city-trigger--inline {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}
.mz-city-trigger--inline strong {
    color: var(--mz-primary, #1d4ed8);
    font-weight: 600;
}
.mz-cat-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
}
.mz-cat-toolbar--listing {
    --mz-cat-search-height: 35px;
    --mz-cat-search-width-trim: 120px;
    background: var(--mz-toolbar-bg);
    border: none;
}
.mz-cat-toolbar__count {
    font-size: 13px;
    color: var(--mz-muted);
    white-space: nowrap;
}
.mz-cat-search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1 1 280px;
    min-width: 0;
}
.mz-cat-search--wide,
.mz-cat-search--listing {
    flex: 1 1 100%;
    max-width: 100%;
}
.mz-cat-toolbar--listing .mz-cat-search--listing {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    align-items: center;
}
.mz-cat-toolbar--listing .mz-cat-toolbar__count,
.mz-cat-toolbar--listing .mz-cat-sort {
    flex-shrink: 0;
}
.mz-cat-toolbar--listing .mz-cat-search__label {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - var(--mz-cat-search-width-trim));
    display: block;
    margin: 0;
}
.mz-cat-toolbar--listing .mz-cat-search__input {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    box-sizing: border-box;
    height: var(--mz-cat-search-height);
    min-height: var(--mz-cat-search-height);
    max-height: var(--mz-cat-search-height);
    padding: 0 14px;
    border: 1px solid var(--mz-border);
    border-radius: 4px;
    font-size: 14px;
    line-height: normal;
}
.mz-cat-toolbar--listing .mz-btn--search {
    flex-shrink: 0;
    align-self: center;
    margin: 0;
    box-sizing: border-box;
    height: var(--mz-cat-search-height);
    min-height: var(--mz-cat-search-height);
    max-height: var(--mz-cat-search-height);
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.mz-cat-search--wide .mz-cat-search__input {
    flex: 1 1 300px;
    min-width: 200px;
}
.mz-cat-search__input {
    flex: 1 1 200px;
    min-width: 160px;
    padding: 8px 12px;
    border: 1px solid var(--mz-border);
    border-radius: 4px;
    font-size: 14px;
}
.mz-btn--search {
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    min-height: 42px;
}
.mz-cat-search__reset {
    font-size: 13px;
    color: var(--mz-muted);
}
.mz-cat-hub-note {
    margin: 0 0 24px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--mz-border);
    font-size: 15px;
    line-height: 1.5;
}
.mz-pagination__nav.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.mz-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    color: var(--mz-muted);
    font-weight: 600;
}
.mz-pagination--catalog a.mz-pagination__btn {
    text-decoration: none;
    color: inherit;
}
.mz-pagination--catalog a.mz-pagination__btn:hover {
    border-color: var(--mz-primary);
}
.mz-cat-page .mz-cat-tile {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.mz-cat-page .mz-cat-tile__icon,
.mz-cat-page .mz-cat-tile .mz-menu-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.mz-cat-page .mz-cat-tile .mz-menu-icon svg {
    width: 24px;
    height: 24px;
}
.mz-cat-page .mz-cat-tile__icon--fa {
    font-size: 24px;
}
.mz-cat-tile__name { font-weight: 600; }
.mz-cat-tile__count { font-size: 12px; color: var(--mz-muted); font-weight: 400; }
.mz-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mz-tag {
    padding: 8px 14px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    color: inherit;
    border-radius: 0;
}
.mz-tag:hover { border-color: var(--mz-primary); }
.mz-tag.is-active {
    background: var(--mz-primary);
    border-color: var(--mz-primary);
    color: #fff;
}
.mz-cat-listing__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
.mz-cat-listing__layout > .mz-filters--cat {
    min-width: 0;
    width: 100%;
    overflow: hidden;
}
.mz-cat-listing__main {
    min-width: 0;
    max-width: 100%;
}
.mz-cat-listing__main .mz-table-wrap {
    max-width: 100%;
}
@media (max-width: 960px) {
    .mz-cat-listing__layout { grid-template-columns: 1fr; }
}
.mz-filters--cat .mz-filters__reset {
    display: inline-block;
    margin-bottom: 12px;
    padding: 0;
    border: none;
    background: none;
    color: var(--mz-primary);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.mz-filters__block {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
    min-width: 0;
}
.mz-filters--cat select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 10px;
    font: inherit;
    background: #fff;
    border: 1px solid var(--mz-border);
    border-radius: 0;
}
.mz-filter-range { display: flex; align-items: center; gap: 6px; }
.mz-filter-range input {
    width: 100%;
    max-width: 88px;
    padding: 8px;
    border: 1px solid var(--mz-border);
    font: inherit;
    border-radius: 0;
}
.mz-filter-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}
.mz-filter-check__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    line-height: 1.35;
}
.mz-filter-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 10px;
    flex-shrink: 0;
}
.mz-cat-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mz-muted); }
.mz-cat-sort select {
    padding: 8px 10px;
    border: 1px solid var(--mz-border);
    font: inherit;
    border-radius: 0;
    background: #fff;
}
.mz-cat-empty { text-align: center; color: var(--mz-muted); padding: 16px; }
.mz-filter-spoiler {
    border-bottom: 1px solid #eef0f4;
    margin-bottom: 0;
}
.mz-filter-spoiler__title {
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--mz-text);
}
.mz-filter-spoiler__title::-webkit-details-marker { display: none; }
.mz-filter-spoiler__title::after {
    content: '+';
    float: right;
    font-weight: 400;
    color: var(--mz-muted);
}
.mz-filter-spoiler[open] .mz-filter-spoiler__title::after { content: '−'; }
.mz-filter-spoiler__body {
    padding: 0 0 12px;
}
.mz-filter-spoiler__body .mz-filters__block {
    border-bottom: none;
    padding-bottom: 10px;
    margin-bottom: 0;
}
.mz-filter-spoiler__body .mz-filters__block--last { padding-bottom: 0; }
.mz-cat-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.mz-cat-pager__more {
    display: flex;
    justify-content: center;
    width: 100%;
}
.mz-btn--show-more {
    padding: 10px 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mz-primary);
    background: #fff;
    border: 1px solid var(--mz-border);
    cursor: pointer;
    font-family: inherit;
    border-radius: 0;
}
.mz-btn--show-more:hover {
    border-color: var(--mz-primary);
    background: #f0f4ff;
    color: var(--mz-primary-hover);
}
.mz-pagination {
    justify-content: center;
}
.mz-pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.mz-pagination__btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--mz-border);
    background: #fff;
    font: inherit;
    cursor: pointer;
    border-radius: 0;
}
.mz-pagination__btn.is-active {
    background: var(--mz-primary);
    border-color: var(--mz-primary);
    color: #fff;
}
.mz-stock { font-size: 12px; font-weight: 600; }
.mz-stock--ok { color: #1a7f4e; }
.mz-stock--order { color: var(--mz-muted); }
.mz-recent { display: flex; flex-wrap: wrap; gap: 10px; }
.mz-recent__item {
    padding: 10px 14px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface);
    font-size: 13px;
    text-decoration: none;
    color: inherit;
}
.mz-recent__item:hover { border-color: var(--mz-primary); text-decoration: none; }
.mz-featured-mfg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}
.mz-featured-mfg__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--mz-border);
    background: #fff;
    text-decoration: none;
    color: inherit;
}
.mz-featured-mfg__card:hover { border-color: var(--mz-primary); text-decoration: none; }
.mz-featured-mfg__name { font-weight: 600; }
.mz-featured-mfg__region { font-size: 12px; color: var(--mz-muted); }
.mz-prose-seo {
    background: var(--mz-surface);
    border: 1px solid var(--mz-border);
    padding: 24px 28px;
    margin-bottom: 32px;
    line-height: 1.65;
    font-size: 15px;
}
.mz-prose-seo h2, .mz-prose-seo h3 { margin: 24px 0 12px; font-size: 20px; }
.mz-prose-seo table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    border-top: 1px solid var(--mz-border);
    border-bottom: 1px solid var(--mz-border);
}
.mz-prose-seo th, .mz-prose-seo td {
    border: 0;
    border-bottom: 1px solid var(--mz-border);
    padding: 10px 12px;
    text-align: left;
}
.mz-prose-seo tbody tr:last-child td {
    border-bottom: 0;
}
.mz-prose-seo th { background: #fff; font-weight: 600; }
.mz-prose-seo blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    border-left: 4px solid var(--mz-accent);
    background: #fff;
    font-style: italic;
}
.mz-faq__item {
    border: 1px solid var(--mz-border);
    margin-bottom: 8px;
    background: var(--mz-surface);
}
.mz-faq__item summary {
    padding: 14px 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.mz-faq__item summary::-webkit-details-marker { display: none; }
.mz-faq__item p { margin: 0; padding: 0 16px 16px; color: var(--mz-muted); line-height: 1.55; }
.mz-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.mz-facts__item {
    padding: 16px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface);
}
.mz-facts__item strong { display: block; margin-bottom: 6px; }
.mz-facts__item p { margin: 0; font-size: 14px; color: var(--mz-muted); line-height: 1.5; }
.mz-articles { display: grid; gap: 10px; }
.mz-articles__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface);
    text-decoration: none;
    color: inherit;
}
.mz-articles__item:hover { border-color: var(--mz-primary); text-decoration: none; }
.mz-articles__title { font-weight: 600; }
.mz-articles__excerpt { font-size: 13px; color: var(--mz-muted); }

/* Phone reveal + modal */
.mz-col-phone { width: 120px; white-space: nowrap; }
.mz-btn-show-phone {
    padding: 6px 10px;
    font-size: 12px;
    border: 1px solid var(--mz-primary);
    background: #fff;
    color: var(--mz-primary);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    border-radius: 0;
}
.mz-btn-show-phone:hover { background: var(--mz-primary); color: #fff; }
.mz-modal[hidden] { display: none !important; }
.mz-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.mz-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}
.mz-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid var(--mz-border);
    padding: 28px 24px 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.mz-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--mz-muted);
}
.mz-modal__title { margin: 0 0 12px; font-size: 18px; }
.mz-modal__vendor { margin: 0 0 8px; font-weight: 600; font-size: 16px; }
.mz-modal__hours { margin: 0 0 12px; font-size: 13px; color: var(--mz-muted); }
.mz-modal__phone {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--mz-primary);
    margin-bottom: 16px;
    text-decoration: none;
}
.mz-modal-open { overflow: hidden; }

.mz-cart-page { padding-bottom: var(--mz-page-end-gap); }
.mz-cart-page__title { margin: 0 0 20px; font-size: 30px; }
.mz-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}
@media (max-width: 960px) {
    .mz-cart-layout { grid-template-columns: 1fr; }
}
.mz-cart-section__title { margin: 0 0 12px; font-size: 18px; }
.mz-cart-checkout {
    padding: 20px;
    border: 1px solid var(--mz-border);
    background: var(--mz-surface);
}
.mz-cart-checkout__note { font-size: 14px; color: var(--mz-muted); margin: 0 0 16px; }
.mz-cart-checkout textarea,
.mz-cart-checkout select { width: 100%; padding: 8px 12px; border: 1px solid var(--mz-border); border-radius: 4px; }
.mz-cart-qty-input { width: 72px; }
.mz-cart-empty { padding: 32px; text-align: center; background: #fff; border: 1px solid var(--mz-border); }
.mz-alert { padding: 14px 16px; margin-bottom: 16px; border-radius: 4px; font-size: 14px; }
.mz-alert--success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #1b5e20; }
.mz-alert--error { background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c; }
.mz-alert--info { background: #e3f2fd; border: 1px solid #90caf9; color: #0d47a1; }
.mz-alert--info code { font-size: 13px; }
.mz-field-error { color: #b71c1c; font-size: 13px; margin: -8px 0 12px; }
.mz-home-links { padding: 32px 0 24px; }
.mz-home-links__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mz-home-link-card {
    display: block;
    padding: 20px;
    border: 1px solid var(--mz-border);
    background: #fff;
    text-decoration: none;
    color: inherit;
}
.mz-home-link-card:hover { border-color: var(--mz-primary); }
.mz-home-link-card strong { display: block; margin-bottom: 6px; font-size: 17px; }
.mz-home-link-card span { font-size: 14px; color: var(--mz-muted); }

/* Beat blog-prose.css `.mz-page { padding-bottom: 0 }` so cabinet/auth cards clear the footer */
.mz-page.mz-auth-form {
    padding-bottom: var(--mz-page-end-gap);
}

.mz-auth-form__lead {
    max-width: 720px;
    margin: 0 0 20px;
    color: var(--mz-muted);
    line-height: 1.55;
    font-size: 14px;
}
.mz-auth-form__grid {
    margin-top: 8px;
    align-items: stretch;
}
.mz-auth-form__grid .mz-home-link-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.mz-auth-form__grid .mz-home-link-card > strong {
    margin-bottom: 8px;
}
.mz-auth-form__grid .mz-home-link-card > p:not(.mz-auth-form__actions) {
    flex: 1 1 auto;
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--mz-muted);
}
.mz-auth-form__actions {
    margin: 0;
    margin-top: auto;
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Role cards: supplier / buyer — distinct from help (orange) */
.mz-cabinet-role {
    position: relative;
    overflow: hidden;
    padding: 22px 22px 20px;
    border-left-width: 4px;
    border-left-style: solid;
}
.mz-cabinet-role__badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}
.mz-cabinet-role__badge svg {
    width: 26px;
    height: 26px;
}
.mz-cabinet-role__eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.mz-cabinet-role > strong {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.25;
}
.mz-cabinet-role > p:not(.mz-auth-form__actions) {
    position: relative;
    z-index: 1;
}
.mz-cabinet-role .mz-auth-form__actions {
    position: relative;
    z-index: 1;
}

.mz-cabinet-role--supplier {
    border-color: rgba(30, 58, 95, 0.28);
    border-left-color: var(--mz-primary);
    background:
        linear-gradient(155deg, rgba(30, 58, 95, 0.08) 0%, rgba(244, 247, 251, 0.95) 45%, #fff 100%),
        radial-gradient(ellipse 140px 100px at 100% 0%, rgba(30, 58, 95, 0.1), transparent 70%);
    box-shadow: 0 8px 22px rgba(30, 58, 95, 0.06);
}
.mz-cabinet-role--supplier:hover {
    border-color: var(--mz-primary);
    box-shadow: 0 12px 28px rgba(30, 58, 95, 0.12);
}
.mz-cabinet-role--supplier .mz-cabinet-role__badge {
    color: var(--mz-primary);
    background: rgba(30, 58, 95, 0.1);
    border: 1px solid rgba(30, 58, 95, 0.18);
}
.mz-cabinet-role--supplier .mz-cabinet-role__eyebrow {
    color: var(--mz-primary);
}

.mz-cabinet-role--buyer {
    border-color: rgba(61, 90, 115, 0.28);
    border-left-color: #3d5a73;
    background:
        linear-gradient(155deg, rgba(61, 90, 115, 0.09) 0%, rgba(245, 248, 250, 0.95) 45%, #fff 100%),
        radial-gradient(ellipse 140px 100px at 100% 0%, rgba(61, 90, 115, 0.1), transparent 70%);
    box-shadow: 0 8px 22px rgba(61, 90, 115, 0.06);
}
.mz-cabinet-role--buyer:hover {
    border-color: #3d5a73;
    box-shadow: 0 12px 28px rgba(61, 90, 115, 0.12);
}
.mz-cabinet-role--buyer .mz-cabinet-role__badge {
    color: #3d5a73;
    background: rgba(61, 90, 115, 0.1);
    border: 1px solid rgba(61, 90, 115, 0.18);
}
.mz-cabinet-role--buyer .mz-cabinet-role__eyebrow {
    color: #3d5a73;
}

.mz-cabinet-help {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 22px 22px 20px;
    overflow: hidden;
    border: 1px solid rgba(196, 92, 38, 0.32) !important;
    border-left: 4px solid var(--mz-accent) !important;
    background:
        linear-gradient(155deg, rgba(196, 92, 38, 0.1) 0%, rgba(255, 248, 243, 0.92) 42%, #fff 100%),
        radial-gradient(ellipse 140px 100px at 100% 0%, rgba(196, 92, 38, 0.14), transparent 70%) !important;
    box-shadow: 0 8px 22px rgba(196, 92, 38, 0.08);
}
.mz-cabinet-help::before {
    content: "";
    position: absolute;
    top: -36px;
    right: -28px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(196, 92, 38, 0.07);
    pointer-events: none;
}
.mz-cabinet-help:hover {
    border-color: var(--mz-accent) !important;
    box-shadow: 0 12px 28px rgba(196, 92, 38, 0.14);
}
.mz-cabinet-help__eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--mz-accent);
}
.mz-cabinet-help strong {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.25;
    color: var(--mz-text);
}
.mz-cabinet-help > p {
    position: relative;
    z-index: 1;
    margin: 0;
    flex: 1;
    font-size: 14px;
    line-height: 1.55;
    color: var(--mz-muted);
}
.mz-cabinet-help .mz-auth-form__actions {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 16px;
}
.mz-cabinet-help .mz-btn--accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
@media (min-width: 900px) {
    .mz-auth-form__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Responsive polish: public templates */
.mz-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.mz-filters__head .mz-filters__title { margin: 0; }
.mz-filters__close,
.mz-mobile-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font: inherit;
    cursor: pointer;
}
.mz-filters__close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--mz-border);
    background: #fff;
    color: var(--mz-text);
}
.mz-mobile-filter-toggle {
    gap: 8px;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--mz-primary);
    background: var(--mz-primary);
    color: #fff;
    font-weight: 600;
}
.mz-filter-drawer-open { overflow: hidden; }

.mz-mfg-tiles__more {
    margin-top: 12px;
    color: var(--mz-primary);
}
.mz-cat-listing.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

@media (max-width: 960px) {
    .mz-cat-toolbar--listing {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: stretch;
    }
    .mz-mobile-filter-toggle { display: inline-flex; }
    .mz-cat-toolbar--listing .mz-cat-search--listing {
        grid-column: 1 / -1;
        order: 3;
        width: 100%;
    }
    .mz-cat-toolbar--listing .mz-cat-search__label {
        max-width: none;
    }
    .mz-cat-toolbar--listing .mz-cat-toolbar__count {
        align-self: center;
    }
    .mz-cat-toolbar--listing .mz-cat-sort {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: space-between;
    }
    .mz-cat-toolbar--listing .mz-cat-sort select { flex: 1; min-width: 0; }

    .mz-cat-listing__layout > .mz-filters--cat {
        display: none;
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 500;
        width: min(88vw, 360px);
        max-width: 100%;
        height: 100dvh;
        overflow-y: auto;
        padding: 18px;
        border-right: 1px solid var(--mz-border);
        box-shadow: 20px 0 40px rgba(0, 0, 0, 0.22);
        transform: translateX(-105%);
        transition: transform 0.2s ease;
        background: #fff;
    }
    .mz-cat-listing__layout > .mz-filters--cat::after {
        content: '';
        position: fixed;
        inset: 0;
        z-index: -1;
        background: rgba(18, 24, 32, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }
    .mz-cat-listing__layout > .mz-filters--cat.is-open {
        display: block;
        transform: translateX(0);
    }
    .mz-cat-listing__layout > .mz-filters--cat.is-open::after {
        opacity: 1;
        pointer-events: auto;
        left: min(88vw, 360px);
    }
    .mz-filters__close { display: inline-flex; }
    .mz-filter-range input { max-width: none; }
}

@media (max-width: 768px) {
    html {
        overflow-x: clip;
    }
    body.mz-body {
        overflow-x: clip;
        max-width: 100%;
    }
    .mz-container { width: min(100% - 20px, var(--mz-container)); }
    .mz-main { padding-top: 16px; }
    .mz-breadcrumbs {
        max-width: 100%;
        overflow: hidden;
    }

    .mz-header-top__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 10px;
        min-height: 0;
        align-items: center;
        padding: 6px 0;
    }
    .mz-header-info-nav,
    .mz-header-social,
    .mz-header-contacts__hours,
    .mz-header-top__right,
    .mz-header-tenders { display: none; }
    .mz-header-contacts {
        justify-content: flex-end;
        min-width: 0;
    }
    .mz-header-contacts__phone { font-size: 12px; }
    .mz-city-form {
        min-width: 0;
        overflow: hidden;
    }
    .mz-city-form__label { display: none; }
    .mz-city-trigger {
        min-height: 28px;
        padding: 0;
        font-size: 13px;
    }

    .mz-header-bar__inner {
        display: grid;
        grid-template-columns: auto 42px minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding: 8px 0 10px;
    }
    .mz-logo__frame {
        max-width: min(112px, 30vw);
        max-height: 30px;
    }
    .mz-logo__mark {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    .mz-logo__text strong { font-size: 15px; }
    .mz-btn-catalog {
        width: 42px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }
    .mz-header-actions {
        justify-content: flex-end;
        margin-left: 0;
        min-width: 0;
    }
    .mz-header-action {
        min-width: 34px;
        padding: 4px 2px;
    }
    .mz-header-action__icon i { font-size: 18px; }
    .mz-header-action__label { display: none; }
    .mz-header-actions > :not([data-open-callback]):not(#header-cart) {
        display: none;
    }
    .mz-header-bar .mz-search--bar {
        grid-column: 1 / -1;
        max-width: none;
        height: 38px;
        order: 4;
    }
    .mz-header-bar .mz-search__input { font-size: 14px; }
    .mz-mega {
        position: absolute;
        max-height: min(72vh, 560px);
        overflow-y: auto;
        padding: 12px 0;
    }
    .mz-mega__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .mz-mega__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 10px;
    }
    .mz-header-nav .mz-container {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .mz-quick-nav {
        width: 100%;
        max-width: 100%;
    }

    .mz-product,
    .mz-manufacturer__head,
    .mz-manufacturer__about,
    .mz-prose-seo,
    .mz-footer__grid {
        padding-left: 16px;
        padding-right: 16px;
    }
    .mz-prose-seo {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mz-prose-seo table {
        min-width: 480px;
    }
    .mz-product__head,
    .mz-manufacturer__head {
        flex-direction: column;
        gap: 14px;
    }
    .mz-product__title,
    .mz-manufacturer__title,
    .mz-cat-head__title,
    .mz-listing__title {
        font-size: clamp(22px, 7vw, 28px);
        line-height: 1.18;
    }
    .mz-breadcrumbs ol {
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }

    .mz-featured-mfg,
    .mz-home-links__grid,
    .mz-mfg-tiles {
        grid-template-columns: 1fr;
    }
    .mz-tag-list,
    .mz-recent {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
    }
    .mz-tag,
    .mz-recent__item { flex: 0 0 auto; }

    .mz-mfg-toolbar {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .mz-mfg-search { min-width: 0; }
    .mz-mfg-toolbar__filters {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .mz-mfg-sort-label {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .mz-mfg-toolbar__count { margin-left: 0; }

    .mz-footer__grid {
        gap: 24px;
        padding-top: 28px;
        padding-bottom: 24px;
    }
    .mz-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }
    .mz-footer__legal {
        align-items: flex-start;
        flex-direction: column;
    }
    .mz-footer__dev {
        align-self: flex-end;
        margin-left: 0;
    }
    .mz-footer__callback { max-width: none; }
}

@media (max-width: 700px) {
    .mz-cat-listing__main,
    .mz-cat-listing__layout,
    .mz-cat-page {
        min-width: 0;
        max-width: 100%;
    }
    .mz-table-wrap {
        overflow-x: clip;
        overflow-y: visible;
        border: 0;
        max-width: 100%;
    }
    .mz-table--listing.mz-table--multi-offer,
    .mz-table--listing.mz-table--mfg {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        table-layout: auto;
    }
    .mz-table--listing,
    .mz-table--listing thead,
    .mz-table--listing tbody,
    .mz-table--listing tr,
    .mz-table--listing td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .mz-table--listing colgroup,
    .mz-table--listing thead { display: none; }
    .mz-table--listing tr {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid var(--mz-border);
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
    }
    .mz-table--listing td {
        padding: 7px 0;
        border: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .mz-table--listing td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        font-size: 11px;
        line-height: 1.2;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        color: var(--mz-muted);
    }
    .mz-table--listing .mz-listing__thumb {
        float: left;
        width: 52px;
        margin: 0 12px 8px 0;
        padding: 0;
    }
    .mz-table--listing .mz-listing__thumb::before,
    .mz-table--listing td:last-child::before { display: none; }
    .mz-table--listing .mz-listing__name {
        font-size: 15px;
        line-height: 1.35;
    }
    .mz-table--listing .mz-listing__sku-cell {
        clear: both;
        padding-top: 4px;
    }
    .mz-table--multi-offer td[data-label="Размер, мм"],
    .mz-table--multi-offer td[data-label="Бетон"],
    .mz-table--multi-offer td[data-label="Масса"] {
        display: none;
    }
    .mz-table--multi-offer .mz-listing__price,
    .mz-table--multi-offer .mz-listing__delivery,
    .mz-table--multi-offer td[data-label="Наличие"] {
        display: inline-block;
        width: 31%;
        max-width: 33%;
        padding-right: 8px;
        vertical-align: top;
        box-sizing: border-box;
    }
    .mz-table--multi-offer .mz-listing__price::before,
    .mz-table--multi-offer .mz-listing__delivery::before,
    .mz-table--multi-offer td[data-label="Наличие"]::before {
        margin-bottom: 4px;
    }
    .mz-table--multi-offer .mz-price-value {
        white-space: normal;
    }
    .mz-table--multi-offer .mz-listing__actions {
        clear: both;
        margin-top: 10px;
        padding-top: 2px;
    }
    .mz-table--listing td.mz-listing__actions {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        clear: both;
        padding-right: 0;
        white-space: normal;
        box-sizing: border-box;
    }
    .mz-table--listing td.mz-listing__actions::before {
        display: none;
    }
    .mz-table--listing td.mz-listing__actions .mz-cart-qty-wrap {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
    }
    .mz-table--listing td.mz-listing__actions .mz-btn-add-cart,
    .mz-table--multi-offer td.mz-listing__actions .mz-btn-add-cart {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        max-width: none;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 8px;
    }
    .mz-table--listing td.mz-listing__actions .mz-btn-compare--icon,
    .mz-table--listing td.mz-listing__actions .mz-btn-fav {
        flex: 0 0 44px;
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 8px;
    }
    .mz-table--listing td.mz-listing__actions .mz-btn-compare--icon i,
    .mz-table--listing td.mz-listing__actions .mz-btn-fav i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    body.mz-body { font-size: 14px; }
    .mz-header-actions { gap: 2px; }
    .mz-header-action {
        min-width: 32px;
    }
    .mz-header-action__badge {
        top: -3px;
        right: -1px;
    }
    .mz-mega__list { grid-template-columns: 1fr; }
    .mz-header-nav { display: none; }
    .mz-tag-list,
    .mz-recent {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .mz-cat-search--listing {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .mz-cat-search--listing .mz-cat-search__label {
        max-width: none;
    }
    .mz-cat-search--listing .mz-cat-search__input {
        min-width: 0;
        width: 100%;
        min-height: 44px;
        height: auto;
        max-height: none;
    }
    .mz-cat-search--listing .mz-btn--search {
        width: 100%;
        min-height: 44px;
        height: auto;
        max-height: none;
        border-radius: 8px;
    }
    .mz-mobile-filter-toggle,
    .mz-filter-fab {
        min-height: 44px;
        border-radius: 8px;
    }
    .mz-pagination__btn {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
    }
}

.mz-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10050;
    background: #fff;
    border-top: 1px solid var(--mz-border, #e2e8f0);
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.1);
    padding: 14px 0;
}

.mz-cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.mz-cookie-consent__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--mz-text, #1e293b);
}

.mz-cookie-consent__text a {
    color: var(--mz-accent, #2563eb);
    text-decoration: underline;
}

.mz-cookie-consent__btn {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .mz-cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .mz-cookie-consent__btn {
        width: 100%;
    }
}

.mz-product-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mz-product-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--mz-border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    color: var(--mz-text, #1e293b);
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}

.mz-product-toolbar__btn:hover {
    border-color: var(--mz-accent, #2563eb);
    color: var(--mz-accent, #2563eb);
}

.mz-share {
    position: relative;
}

.mz-share__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    min-width: 200px;
    padding: 6px;
    border: 1px solid var(--mz-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.mz-share__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mz-share__item:hover {
    background: #f1f5f9;
}

.mz-product__rating-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 14px;
}

.mz-product__rating-stars .fa-star {
    color: #cbd5e1;
    font-size: 14px;
}

.mz-product__rating-stars .fa-star.is-filled {
    color: #f59e0b;
}

.mz-product-reviews__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--mz-border, #e2e8f0);
    border-radius: 12px;
    background: #f8fafc;
}

.mz-product-reviews__score {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.mz-product-reviews__stars .fa-star {
    color: #cbd5e1;
}

.mz-product-reviews__stars .fa-star.is-filled {
    color: #f59e0b;
}

.mz-product-reviews__count {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--mz-muted, #64748b);
}

.mz-product-reviews__empty {
    margin: 0 0 20px;
    color: var(--mz-muted, #64748b);
}

.mz-product-reviews__form-wrap {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--mz-border, #e2e8f0);
}

.mz-product-reviews__form-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
}

.mz-reviews-grid--product {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.mz-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.mz-rating-input__star {
    cursor: pointer;
    color: #cbd5e1;
}

.mz-rating-input__star input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mz-rating-input__star .fa-star {
    font-size: 22px;
}

.mz-rating-input__star:hover,
.mz-rating-input__star:hover ~ .mz-rating-input__star,
.mz-rating-input__star:has(input:checked),
.mz-rating-input__star:has(~ .mz-rating-input__star input:checked) {
    color: #f59e0b;
}

.mz-mfr-rating {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.mz-mfr-rating__overall {
    margin: 0 0 8px;
}

.mz-mfr-rating__count {
    color: var(--mz-muted, #64748b);
}

.mz-mfr-rating__criteria {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mz-mfr-rating__criteria li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.mz-mfr-rating__stars .fa-star {
    color: #cbd5e1;
    font-size: 12px;
}

.mz-mfr-rating__stars .fa-star.is-filled {
    color: #f59e0b;
}

.mz-buybox__rating {
    padding: 10px 0;
    border-top: 1px solid var(--mz-border, #e2e8f0);
    border-bottom: 1px solid var(--mz-border, #e2e8f0);
    margin: 8px 0;
}

.mz-btn-catalog__icon--burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.mz-btn-catalog__icon--burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.mz-btn-catalog__icon--burger span:nth-child(n+4) {
    display: none;
}

.mz-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10040;
    grid-template-columns: repeat(5, 1fr);
    background: #fff;
    border-top: 1px solid var(--mz-border, #e2e8f0);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
}

.mz-mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 6px 4px;
    border: 0;
    background: transparent;
    color: var(--mz-muted, #64748b);
    font-size: 10px;
    text-decoration: none;
    cursor: pointer;
}

.mz-mobile-bar__item i {
    font-size: 18px;
}

.mz-mobile-bar__item.is-current,
.mz-mobile-bar__item[aria-current="page"] {
    color: var(--mz-accent, #2563eb);
}

.mz-filter-fab {
    display: none;
    position: fixed;
    left: 12px;
    bottom: calc(68px + env(safe-area-inset-bottom));
    z-index: 10030;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--mz-primary, #1e3a5f);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    cursor: pointer;
}

.mz-filters__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: -1;
}

.mz-filters--cat.is-open .mz-filters__backdrop {
    display: block;
}

.mz-cat-pill.is-current,
.mz-header-info-nav__link.is-current,
.mz-footer__links a.is-current {
    pointer-events: none;
    opacity: 0.7;
}

@media (max-width: 768px) {
    body.mz-body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }

    .mz-mobile-bar {
        display: grid;
    }

    .mz-filter-fab {
        display: inline-flex;
    }

    .mz-tabs__nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
        padding-bottom: 4px;
    }

    .mz-tabs__nav::-webkit-scrollbar {
        display: none;
    }

    .mz-tabs__btn {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 13px;
        padding: 8px 12px;
    }

    .mz-table--offers tbody tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px;
        margin-bottom: 10px;
        border: 1px solid var(--mz-border, #e2e8f0);
        border-radius: 10px;
        background: #fff;
    }

    .mz-table--offers thead {
        display: none;
    }

    .mz-table--offers td {
        display: block;
        border: 0;
        padding: 2px 0;
    }

    .mz-cat-listing .mz-table tbody tr {
        margin-bottom: 12px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }
}

.mz-cart-toast {
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 500;
    max-width: 320px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s;
}
.mz-cart-toast.is-visible { opacity: 1; transform: translateY(0); }

.mz-cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}
.mz-cart-qty-wrap .mz-cart-qty {
    display: none;
    width: 56px;
    padding: 6px 8px;
    border: 1px solid var(--mz-border, #e2e8f0);
    font-size: 13px;
}
.mz-cart-qty-wrap.is-in-cart .mz-cart-qty {
    display: block;
}
.mz-cart-qty-wrap.is-in-cart .mz-btn-add-cart {
    display: none;
}

.mz-btn-fav { border: 0; background: transparent; color: var(--mz-muted, #64748b); cursor: pointer; padding: 6px; }
.mz-btn-fav.is-active, .mz-btn-fav:hover { color: #e11d48; }

.mz-filter-slider { width: 100%; margin: 4px 0; accent-color: var(--mz-primary); }

.mz-dual-range { margin: 6px 0 4px; }
.mz-dual-range__labels {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mz-text, #0f172a);
    margin-bottom: 8px;
}
.mz-dual-range__unit { font-weight: 400; }
.mz-dual-range__track-wrap {
    --mz-range-track-h: 4px;
    --mz-range-thumb: 18px;
    position: relative;
    height: var(--mz-range-thumb);
    margin-bottom: 8px;
}
.mz-dual-range__track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: var(--mz-range-track-h);
    background: var(--mz-border, #cbd5e1);
    border-radius: 999px;
    pointer-events: none;
}
.mz-dual-range__fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--mz-primary, #ea580c);
    border-radius: 999px;
    pointer-events: none;
}
.mz-dual-range__input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--mz-range-thumb);
    margin: 0;
    padding: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.mz-dual-range__input::-webkit-slider-runnable-track {
    height: var(--mz-range-track-h);
    background: transparent;
    border: 0;
}
.mz-dual-range__input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: var(--mz-range-thumb);
    height: var(--mz-range-thumb);
    margin-top: calc((var(--mz-range-track-h) - var(--mz-range-thumb)) / 2);
    border-radius: 50%;
    background: var(--mz-primary, #ea580c);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.22);
    cursor: grab;
}
.mz-dual-range__input::-webkit-slider-thumb:active {
    cursor: grabbing;
}
.mz-dual-range__input::-moz-range-track {
    height: var(--mz-range-track-h);
    background: transparent;
    border: 0;
}
.mz-dual-range__input::-moz-range-thumb {
    pointer-events: auto;
    width: var(--mz-range-thumb);
    height: var(--mz-range-thumb);
    border-radius: 50%;
    background: var(--mz-primary, #ea580c);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.22);
    cursor: grab;
}
.mz-dual-range__input::-moz-range-thumb:active {
    cursor: grabbing;
}
.mz-dual-range__input--max { z-index: 2; }
.mz-dual-range__input--min { z-index: 3; }
.mz-dual-range__inputs { margin-top: 0; }

.mz-filter-search { width: 100%; margin-bottom: 8px; padding: 8px 10px; border: 1px solid var(--mz-border, #e2e8f0); font-size: 13px; }

.mz-cat-lead { margin: 24px 0 0; padding: 16px 18px; border: 1px solid var(--mz-border, #e2e8f0); border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04); }
.mz-cat-lead__title { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--mz-text, #1e293b); line-height: 1.25; }
.mz-cat-lead__text { margin: 0 0 12px; font-size: 13px; color: var(--mz-muted, #64748b); line-height: 1.45; }
.mz-cat-lead__form { display: flex; flex-direction: column; gap: 10px; }
.mz-cat-lead .mz-field { display: block; margin: 0; }
.mz-cat-lead .mz-field span { display: block; font-size: 12px; font-weight: 500; margin-bottom: 4px; color: var(--mz-text, #334155); }
.mz-cat-lead .mz-field input,
.mz-cat-lead .mz-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid var(--mz-border, #d7dee8);
    border-radius: 6px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    color: var(--mz-text, #1e293b);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mz-cat-lead .mz-field textarea {
    min-height: 0;
    max-height: 5.5em;
    resize: vertical;
    line-height: 1.4;
}
.mz-cat-lead .mz-field input:focus,
.mz-cat-lead .mz-field textarea:focus {
    outline: none;
    border-color: var(--mz-primary, #1e3a5f);
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.12);
}
.mz-field--full { width: 100%; }
.mz-cat-lead__submit { min-width: 140px; padding: 9px 20px; font-size: 14px; }
@media (max-width: 640px) {
    .mz-cat-lead__submit { width: 100%; min-width: 0; }
}

.mz-exit-card { max-width: 520px; margin: 24px auto; padding: 28px; border: 1px solid var(--mz-border, #e2e8f0); border-radius: 12px; text-align: center; }
.mz-exit-card__icon { font-size: 32px; color: var(--mz-primary); margin-bottom: 12px; }
.mz-exit-card__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.mz-mfg-sections--assortment { margin-top: 40px; }
.mz-mfg-tile[hidden] { display: none !important; }
.mz-mfg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 16px 0; }
.mz-mfg-stats__item { padding: 12px; border: 1px solid var(--mz-border, #e2e8f0); border-radius: 8px; text-align: center; }
.mz-mfg-stats__item strong { display: block; font-size: 20px; }
.mz-mfg-advantages { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 16px 0 24px; }
.mz-mfg-advantages__item { padding: 14px; border: 1px solid var(--mz-border, #e2e8f0); border-radius: 8px; background: #fff; }

.mz-table--listing.mz-table--mfg {
    min-width: 920px;
    border-collapse: collapse;
}
/* px widths — % + flex on td ломают table-layout: fixed */
.mz-table--mfg col.mz-col-mfg-name { width: 280px; }
.mz-table--mfg col.mz-col-mfg-category { width: 140px; }
.mz-table--mfg col.mz-col-mfg-sku { width: 110px; }
.mz-table--mfg col.mz-col-mfg-price { width: 100px; }
.mz-table--mfg col.mz-col-mfg-stock { width: 96px; }
.mz-table--mfg col.mz-col-mfg-actions { width: 168px; }
.mz-table--mfg tbody tr[data-mfg-row] {
    border-bottom: 1px solid var(--mz-border, #e2e6ec);
}
.mz-table--mfg tbody tr[data-mfg-row] td {
    border-bottom: none;
    vertical-align: middle;
}
.mz-table--mfg tbody tr[data-mfg-row]:last-child {
    border-bottom: 0;
}
.mz-table--mfg th,
.mz-table--mfg td {
    vertical-align: middle;
}
.mz-table--mfg td[data-label="Наличие"] {
    white-space: nowrap;
}
.mz-table--mfg td.mz-listing__actions-cell {
    display: table-cell;
    overflow-wrap: normal;
    word-break: normal;
    text-align: right;
    padding-right: 12px;
}
.mz-table--mfg .mz-listing__actions {
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
    justify-content: flex-end;
}
.mz-table--mfg .mz-cart-qty-wrap {
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: auto;
}
.mz-table--mfg .mz-btn--sm {
    white-space: nowrap;
}
.mz-pagination--mfg {
    margin-top: 20px;
}
.mz-pagination--mfg button.mz-pagination__btn {
    border: 1px solid var(--mz-border);
    background: #fff;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.mz-pagination--mfg button.mz-pagination__btn:hover {
    border-color: var(--mz-primary);
}
.mz-tabs--mfg { margin-top: 20px; }

.mz-fav-section { margin-bottom: 28px; }
.mz-fav-list { display: grid; gap: 8px; }
.mz-fav-item { display: block; padding: 10px 12px; border: 1px solid var(--mz-border, #e2e8f0); border-radius: 8px; text-decoration: none; color: inherit; }
.mz-fav-item:hover { border-color: var(--mz-primary); }
