:root {
    --mx-primary: #D32F2F;
    --mx-primary-dark: #B71C1C;
    --mx-dark: #02245B;
    --mx-text: #2a2a2a;
    --mx-muted: #6b6b6b;
    --mx-line: #d0d0d0;
    --mx-bg-soft: #f7f7f7;
    --mx-new: #e91e63;
    --mx-header-h: 80px;
    --mx-logo-w: 118px;
}

html {
    scroll-behavior: smooth;
}

body.site-masterix.mx-layout {
    background: #fff;
    color: var(--mx-text);
    font-family: "Open Sans", sans-serif;
    min-height: 100vh;
}

body.site-masterix.mx-layout::before,
body.site-masterix.mx-layout::after {
    display: none;
}

.mx-layout h1,
.mx-layout h2,
.mx-layout h3,
.mx-layout .mx-display {
    font-family: "Rubik", sans-serif;
}

/* ——— Header ——— */
.mx-header {
    position: relative;
    z-index: 1000;
    background: var(--mx-primary);
    min-height: var(--mx-header-h);
}

.mx-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 0 12px;
    min-height: var(--mx-header-h);
    gap: 16px;
}

.mx-logo {
    flex: 0 0 auto;
    width: var(--mx-logo-w);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    z-index: 20;
    position: relative;
    box-shadow: none;
    margin: 0;
    min-height: calc(var(--mx-header-h) - 8px);
    align-self: stretch;
}

.mx-logo img {
    max-width: 100%;
    max-height: 58px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.mx-header__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

/* Lang dropdown on red navbar */
.mx-layout .mx-lang-dd.lang-switcher {
    margin-right: 0;
}

.mx-layout .mx-lang-dd .lang-switcher__toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.mx-layout .mx-lang-dd .lang-switcher__toggle:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.25);
}

.mx-layout .mx-lang-dd .lang-switcher__chev {
    color: #fff;
}

.mx-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mx-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.mx-nav a:hover,
.mx-nav a.is-active {
    color: #fff;
}

.mx-nav a.is-active::after,
.mx-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: #fff;
}

/* Nav catalog dropdown */
.mx-nav__drop {
    position: static;
}

.mx-header__right > .mx-nav > .mx-nav__drop {
    position: relative;
}

.mx-nav__drop-trigger--btn {
    background: none;
    border: 0;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 2px;
}

.mx-nav__drop-trigger--btn i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.mx-nav__drop.is-open .mx-nav__drop-trigger--btn i {
    transform: rotate(180deg);
}

.mx-nav__drop-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 340px;
    padding-top: 10px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    z-index: 5000;
}

.mx-nav__drop:hover .mx-nav__drop-panel,
.mx-nav__drop.is-open .mx-nav__drop-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mx-nav__drop-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 420px;
    overflow-y: auto;
}

.mx-header__right > .mx-nav > .mx-nav__drop .mx-nav__drop-list {
    position: relative;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    border-radius: 2px;
}

.mx-header__right > .mx-nav > .mx-nav__drop .mx-nav__drop-list::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

.mx-nav__drop-list li {
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}

.mx-nav__drop-list li:last-child {
    border-bottom: 0;
}

.mx-nav__drop-list a {
    display: block;
    padding: 12px 22px;
    color: #222 !important;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    white-space: normal;
    line-height: 1.35;
}

.mx-nav__drop-list a::after {
    display: none !important;
}

.mx-nav__drop-list a:hover {
    background: #f5f5f5;
    color: var(--mx-primary) !important;
}

.mx-nav__drop-pdf {
    display: none;
}

.mx-burger {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mx-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
}

/* ——— Hero ——— */
.mx-hero {
    position: relative;
    background: var(--mx-primary);
    height: calc(100vh - var(--mx-header-h));
    min-height: 560px;
    overflow: hidden;
}

.mx-hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.mx-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease, visibility 0.7s;
    z-index: 1;
    pointer-events: none;
}

.mx-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}

.mx-hero__slide.is-exit {
    opacity: 0;
    visibility: visible;
    transform: translateX(-40%);
    z-index: 1;
    pointer-events: none;
}

.mx-hero__slide--products {
    background: var(--mx-primary);
}

.mx-hero__slide--texture {
    background: #3a3a3a center / cover no-repeat;
}

.mx-hero__slide--texture::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.mx-hero__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 24px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 56px 80px 48px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.mx-hero__copy h1 {
    color: #fff !important;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.05;
}

.mx-hero__copy p {
    color: #fff !important;
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 360px;
    margin: 0;
    line-height: 1.45;
}

.mx-hero__visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: min(68vh, 520px);
}

.mx-hero__visual img {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 38%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}

.mx-hero__visual img:nth-child(2) {
    max-height: 85%;
    margin-bottom: 4%;
}

.mx-hero__centered {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff !important;
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mx-hero__centered h1,
.mx-hero__centered p,
.mx-hero__centered a,
.mx-hero__centered .mx-link,
.mx-hero__slide h1,
.mx-hero__slide p,
.mx-hero__slide a {
    color: #fff !important;
}

.mx-hero__centered h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 700;
    margin: 0 0 18px;
}

.mx-hero__centered p {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 0 28px;
    opacity: 1;
}

.mx-hero__centered .mx-link {
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    padding-bottom: 2px;
}

.mx-hero__centered .mx-link:hover {
    border-bottom-color: #fff;
}

.mx-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    padding: 12px 16px;
    transition: color 0.2s;
}

.mx-hero__arrow:hover {
    color: #fff;
}

.mx-hero__arrow--prev {
    left: 8px;
}

.mx-hero__arrow--next {
    right: 8px;
}

.mx-hero__dots {
    position: absolute;
    left: 48px;
    bottom: 28px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

.mx-hero__dots--center {
    left: 50%;
    transform: translateX(-50%);
}

.mx-hero__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.mx-hero__dots button.is-active {
    background: #fff;
}

/* ——— Sections ——— */
.mx-section {
    padding: 72px 24px;
}

.mx-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.mx-section__title {
    text-align: center;
    font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: #333;
    margin: 0 0 48px;
}

/* Advantages */
.mx-advantages {
    background: #fff;
}

.mx-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 24px;
    text-align: center;
}

.mx-adv-item__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border: 1.5px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 28px;
}

.mx-adv-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    max-width: 160px;
    margin-inline: auto;
}

/* About */
.mx-about {
    background: var(--mx-bg-soft);
}

.mx-about__title {
    text-align: left;
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: 0 0 28px;
    color: #222;
}

.mx-about__row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
}

.mx-about__text p {
    margin: 0 0 16px;
    line-height: 1.7;
    color: #444;
    font-size: 15px;
}

.mx-about__side {
    border-left: 1px solid var(--mx-line);
    padding-left: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
    padding-top: 4px;
}

.mx-about__side a {
    color: var(--mx-muted);
    text-decoration: none;
    font-size: 14px;
    text-transform: lowercase;
}

.mx-about__side a.is-active,
.mx-about__side a:hover {
    color: var(--mx-primary);
}

.mx-about__content {
    min-width: 0;
}

.mx-about__panel[hidden] {
    display: none !important;
}

.mx-about__certs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.mx-about-cert {
    border: 1px solid var(--mx-line);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.mx-about-cert__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--mx-line);
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.mx-about-cert__dl {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mx-primary);
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
}

.mx-about-cert__dl:hover {
    background: var(--mx-primary-dark);
    color: #fff !important;
}

.mx-about-cert__img {
    width: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

/* Catalog categories */
.mx-catalog-cats {
    background: var(--mx-primary);
    padding: 80px 24px 96px;
}

.mx-catalog-cats .mx-section__title {
    color: #fff;
    margin-bottom: 56px;
}

.mx-cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    max-width: 820px;
    margin: 0 auto;
}

.mx-cat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #fff;
}

.mx-cat-item--right {
    justify-content: flex-end;
    text-align: right;
}

.mx-cat-item--left {
    justify-content: flex-start;
    text-align: left;
}

.mx-cat-item__icon {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}

.mx-cat-item span {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* Product catalog grid */
.mx-products {
    background: #fff;
}

.mx-breadcrumb {
    font-size: 13px;
    color: var(--mx-muted);
    margin: 0 0 12px;
}

.mx-breadcrumb-line {
    border: 0;
    border-top: 1px dashed var(--mx-line);
    margin: 0 0 40px;
}

.mx-prod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px;
}

.mx-prod-card {
    text-align: center;
}

.mx-prod-card__img {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
}

.mx-prod-card__img img {
    max-height: 180px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s ease;
    pointer-events: none;
}

.mx-prod-card__img:hover img {
    transform: scale(1.04);
}

.mx-prod-card h3 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: #333;
}

.mx-prod-card hr {
    width: 40px;
    margin: 0 auto 12px;
    border: 0;
    border-top: 1px solid var(--mx-line);
}

.mx-prod-card p {
    font-size: 13px;
    line-height: 1.45;
    color: var(--mx-muted);
    margin: 0 0 14px;
    min-height: 3.9em;
}

.mx-badge-new {
    display: inline-block;
    background: var(--mx-new);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    text-transform: uppercase;
}

/* Partners */
.mx-partners {
    background: #fff;
    padding-top: 48px;
    padding-bottom: 48px;
}

.mx-partners .mx-section__title {
    color: #9a9a9a;
    font-weight: 400;
    margin-bottom: 28px;
}

.mx-partners__row {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--mx-line);
    border-bottom: 1px solid var(--mx-line);
    padding: 28px 0;
}

.mx-partners__track {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-around;
    gap: 28px;
    flex-wrap: wrap;
}

.mx-partner {
    display: block;
    max-height: 72px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.mx-partner:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.04);
}

.mx-partners__next {
    background: none;
    border: 0;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    padding: 8px;
}

/* Support / contact */
.mx-support {
    background: #000;
    color: #fff;
    padding: 72px 24px 0;
    overflow: hidden;
}

.mx-support__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.mx-support__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 28px;
    color: #fff;
}

.mx-support__label {
    color: var(--mx-primary);
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    border-bottom: 1px solid var(--mx-primary);
    margin-bottom: 22px;
    padding-bottom: 2px;
}

.mx-support form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    padding-bottom: 64px;
}

.mx-support input,
.mx-support textarea {
    width: 100%;
    border: 0;
    background: #fff;
    color: #333;
    padding: 12px 14px;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}

.mx-support textarea {
    min-height: 110px;
}

.mx-support__send {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--mx-primary);
    color: #fff !important;
    border: 0;
    font-weight: 700;
    padding: 12px 28px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    font-size: 15px;
}

.mx-support__send:hover {
    background: var(--mx-primary-dark);
    color: #fff !important;
}

.mx-support__send i {
    font-size: 1.15rem;
}

.mx-support__visual {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 360px;
    overflow: hidden;
}

.mx-support__visual img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 480px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Map / address */
.mx-map {
    position: relative;
    min-height: 520px;
    background: #ddd;
}

.mx-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mx-map__card {
    position: absolute;
    left: max(24px, calc((100% - 1100px) / 2));
    top: 48px;
    z-index: 2;
    background: rgba(30, 30, 30, 0.82);
    color: #fff;
    padding: 28px 32px;
    max-width: 360px;
}

.mx-map__card h2 {
    margin: 0 0 16px;
    font-size: 1.5rem;
    text-align: center;
    color: #fff;
}

.mx-map__card p,
.mx-map__card a {
    color: #fff;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 8px;
    text-decoration: none;
}

.mx-map__card a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Footer */
.mx-footer {
    background: var(--mx-primary);
    padding: 48px 24px;
}

.mx-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.mx-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mx-footer__nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.mx-footer__nav a:hover {
    text-decoration: underline;
    color: #fff;
}

.mx-footer__meta {
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    text-align: right;
}

.mx-footer__meta a {
    color: #fff;
}

.mx-footer__meta a:hover {
    color: #fff;
}

.mx-call-btn,
.mx-back-top {
    position: fixed;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 200;
    color: #fff;
}

.mx-call-btn {
    right: 76px;
    background: var(--mx-primary);
    display: flex;
    animation: mx-call-pulse 1.6s ease-in-out infinite;
}

.mx-call-btn:hover {
    color: #fff;
    background: var(--mx-primary-dark);
}

.mx-back-top {
    right: 20px;
    background: var(--mx-dark);
    display: none;
}

.mx-back-top:hover {
    color: #fff;
    background: var(--mx-primary);
}

@keyframes mx-call-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.65);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(211, 47, 47, 0);
        transform: scale(1.06);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
        transform: scale(1);
    }
}

/* Product zoom lightbox */
.mx-zoom[hidden] {
    display: none !important;
}

.mx-zoom {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mx-zoom__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.mx-zoom__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: 90vh;
    background: #111;
    border-radius: 8px;
    padding: 48px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mx-zoom__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mx-zoom__stage {
    overflow: auto;
    flex: 1;
    min-height: 240px;
    max-height: calc(90vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 4px;
    cursor: grab;
}

.mx-zoom__stage img {
    max-width: 100%;
    max-height: calc(90vh - 140px);
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.mx-zoom__controls {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mx-zoom__btn {
    min-width: 44px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    padding: 0 14px;
}

.mx-zoom__btn:hover {
    background: var(--mx-primary);
    color: #fff;
}

/* Mobile nav drawer */
.mx-nav-drawer {
    display: none;
}

@media (max-width: 991px) {
    .mx-burger {
        display: flex;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mx-header__right {
        display: none;
    }

    .mx-header.is-open .mx-nav-drawer {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--mx-primary);
        padding: 16px 24px 24px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    }

    .mx-nav-drawer .mx-lang-dd {
        margin-bottom: 16px;
        display: flex;
        justify-content: flex-end;
    }

    .mx-nav-drawer .mx-nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 14px;
    }

    .mx-nav-drawer .mx-nav__drop-panel {
        position: static;
        transform: none;
        min-width: 0;
        max-width: none;
        width: 100%;
        margin-top: 8px;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.08);
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, visibility 0.25s ease;
    }

    .mx-nav-drawer .mx-nav__drop.is-open .mx-nav__drop-panel {
        visibility: visible;
        max-height: 480px;
        pointer-events: auto;
    }

    .mx-nav-drawer .mx-nav__drop-list a {
        color: #fff !important;
    }

    .mx-nav-drawer .mx-nav__drop-list a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff !important;
    }

    .mx-nav-drawer .mx-nav__drop-pdf {
        color: #fff !important;
        border-top-color: rgba(255, 255, 255, 0.2);
    }

    .mx-nav-drawer .mx-nav__drop {
        width: 100%;
        text-align: right;
    }

    .mx-hero {
        height: calc(100vh - var(--mx-header-h));
        min-height: 520px;
    }

    .mx-hero__grid {
        grid-template-columns: 1fr;
        padding: 28px 24px 72px;
        text-align: center;
        align-content: center;
    }

    .mx-hero__copy p {
        margin-inline: auto;
    }

    .mx-hero__visual {
        height: min(42vh, 300px);
    }

    .mx-hero__visual img {
        max-width: 40%;
    }

    .mx-hero__dots {
        left: 50%;
        transform: translateX(-50%);
    }

    .mx-hero__arrow {
        font-size: 36px;
    }

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

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

    .mx-about__side {
        border-left: 0;
        border-top: 1px solid var(--mx-line);
        padding-left: 0;
        padding-top: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px 24px;
    }

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

    .mx-cat-grid {
        gap: 28px 20px;
    }

    .mx-cat-item span {
        font-size: 15px;
    }

    .mx-cat-item__icon {
        flex-basis: 56px;
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

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

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

    .mx-support__visual {
        order: -1;
        min-height: 220px;
    }

    .mx-support__visual img {
        min-height: 220px;
        max-height: 280px;
    }

    .mx-map__card {
        left: 16px;
        right: 16px;
        max-width: none;
        top: 24px;
    }

    .mx-footer__meta {
        text-align: left;
    }
}

@media (max-width: 575px) {
    :root {
        --mx-logo-w: 92px;
        --mx-header-h: 72px;
    }

    .mx-logo img {
        max-height: 56px;
    }

    .mx-adv-grid,
    .mx-prod-grid,
    .mx-cat-grid {
        grid-template-columns: 1fr;
    }

    .mx-cat-item--right,
    .mx-cat-item--left {
        justify-content: flex-start;
        text-align: left;
    }

    .mx-cat-item--right {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
}

/* Catalog page (Megamix style) */
.mx-catalog-page__main,
.mx-product-page__main {
    background: #fff;
    padding: 48px 24px 72px;
}

.mx-catalog-page__inner,
.mx-product-page__inner {
    max-width: 1180px;
    margin: 0 auto;
}

.mx-catalog-page__title {
    text-align: center;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    color: #333;
    margin: 0 0 28px;
}

.mx-catalog-page__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 8px;
}

.mx-catalog-page__toolbar .mx-breadcrumb a {
    color: var(--mx-muted);
    text-decoration: none;
}

.mx-catalog-page__toolbar .mx-breadcrumb a:hover {
    color: var(--mx-primary);
}

.mx-catalog-page__download {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

.mx-catalog-page__download:hover {
    color: var(--mx-primary);
    border-bottom-color: var(--mx-primary);
}

.mx-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 28px;
}

.mx-catalog-card {
    display: block;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.mx-catalog-card:hover {
    transform: translateY(-4px);
    color: inherit;
}

.mx-catalog-card__img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mx-catalog-card__img img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.1));
}

.mx-catalog-card h3 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    color: #333;
}

.mx-catalog-card hr {
    width: 36px;
    margin: 0 auto 10px;
    border: 0;
    border-top: 1px solid var(--mx-line);
}

.mx-catalog-card p {
    font-size: 12px;
    line-height: 1.45;
    color: var(--mx-muted);
    margin: 0;
    min-height: 2.8em;
}

/* Product detail */
.mx-product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.mx-product-detail__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.mx-product-gallery__item {
    border: 0;
    background: #f9f9f9;
    padding: 12px;
    cursor: zoom-in;
    border-radius: 6px;
}

.mx-product-gallery__item img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.mx-product-detail__info h2 {
    font-size: 1.75rem;
    margin: 0 0 16px;
    color: #222;
}

.mx-product-detail__desc {
    color: #555;
    line-height: 1.65;
    margin-bottom: 24px;
}

.mx-product-detail__info h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #333;
}

.mx-product-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.mx-product-specs th,
.mx-product-specs td {
    border-bottom: 1px solid var(--mx-line);
    padding: 10px 8px;
    text-align: left;
    font-size: 14px;
}

.mx-product-specs th {
    color: var(--mx-muted);
    font-weight: 600;
    width: 42%;
}

.mx-product-detail__call {
    display: inline-block;
    background: var(--mx-primary);
    color: #fff !important;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 700;
}

.mx-product-detail__call:hover {
    background: var(--mx-primary-dark);
    color: #fff !important;
}

/* Certificates */
.mx-certificates {
    background: #fff;
}

.mx-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
}

.mx-cert-preview {
    border: 1px solid var(--mx-line);
    border-radius: 6px;
    overflow: hidden;
    background: #f9f9f9;
}

.mx-cert-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid var(--mx-line);
}

.mx-cert-preview__head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.mx-cert-preview__download {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mx-primary);
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mx-cert-preview__download:hover {
    background: var(--mx-primary-dark);
    color: #fff !important;
}

.mx-cert-preview__frame {
    width: 100%;
    height: 560px;
    border: 0;
    display: block;
    background: #fff;
}

.mx-cert-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid var(--mx-line);
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mx-cert-card:hover {
    border-color: var(--mx-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    color: #333;
}

.mx-cert-card i {
    font-size: 2rem;
    color: var(--mx-primary);
}

.mx-cert-card span {
    font-weight: 600;
    font-size: 15px;
}

@media (max-width: 991px) {
    .mx-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .mx-cert-preview__frame {
        height: 420px;
    }
}

@media (max-width: 575px) {
    .mx-catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* Product detail — Megamix layout */
.mx-product-breadcrumb {
    margin-bottom: 12px;
}

.mx-product-megamix {
    display: grid;
    grid-template-columns: minmax(280px, 42%) 1fr;
    gap: 48px 56px;
    align-items: start;
    margin-bottom: 56px;
}

.mx-product-megamix__visual {
    position: sticky;
    top: 100px;
}

.mx-product-megamix__img-btn {
    border: 0;
    background: none;
    padding: 0;
    cursor: zoom-in;
    width: 100%;
    display: block;
}

.mx-product-megamix__img-btn img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.12));
}

.mx-product-megamix__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 28px;
    color: #222;
}

.mx-product-block {
    margin: 0;
}

.mx-product-block__label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #333;
    margin: 0 0 12px;
}

.mx-product-block__text {
    margin: 0;
    line-height: 1.75;
    color: #444;
    font-size: 15px;
}

.mx-product-weight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.mx-product-weight__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--mx-primary);
    flex-shrink: 0;
}

.mx-product-divider {
    border: 0;
    border-top: 1px dashed var(--mx-line);
    margin: 22px 0;
}

.mx-product-tech {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mx-product-tech li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
    line-height: 1.65;
    color: #444;
    font-size: 15px;
}

.mx-product-tech li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--mx-primary);
}

.mx-product-related {
    border-top: 1px solid var(--mx-line);
    padding-top: 36px;
}

.mx-product-related__title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mx-muted);
    margin: 0 0 24px;
    text-align: center;
}

.mx-product-related__row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mx-product-related__row--centered {
    justify-content: center;
}

.mx-product-related__row--centered .mx-product-related__track {
    flex: 0 1 auto;
    justify-content: center;
    overflow-x: visible;
}

.mx-product-related__track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.mx-product-related__item {
    flex: 0 0 150px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.mx-product-related__img {
    position: relative;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mx-product-related__img img {
    max-height: 160px;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.mx-product-related__item:hover .mx-product-related__img img {
    transform: scale(1.03);
}

.mx-product-related__label {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.35;
    padding: 7px 10px;
    border-radius: 999px;
    width: calc(100% - 8px);
    max-width: calc(100% - 8px);
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.mx-product-related__item:hover .mx-product-related__label,
.mx-product-related__item:focus-visible .mx-product-related__label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mx-product-related__next {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mx-line);
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.mx-product-related__next:hover {
    border-color: var(--mx-primary);
    color: var(--mx-primary);
}

@media (max-width: 991px) {
    .mx-product-megamix {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mx-product-megamix__visual {
        position: static;
    }
}
