/* Keep the main photo visible until the deferred hover photo has actually loaded. */
.card-product .mv-lazy-hover:not(.mv-hover-ready):hover .image-wrap .img-product {
    opacity: 1;
}
.card-product .mv-lazy-hover:not(.mv-hover-ready):hover .image-wrap .img-hover[data-mv-hover] {
    opacity: 0;
}

/* The mobile sales row follows the sticky header in the page flow. */
.mv-mobile-sales { display: none; }

@media (max-width: 1199px) {
    .mv-mobile-sales {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 4px;
        padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
        background: #faf9f8;
        border-bottom: 1px solid #e9e7e5;
    }

    .mv-mobile-sales-phone,
    .mv-mobile-sales-messengers { display: flex; align-items: center; }
    .mv-mobile-sales-phone {
        gap: 7px;
        min-height: 48px;
        color: #181818;
    }
    .mv-mobile-sales-phone > span { display: flex; align-items: center; gap: 8px; }
    .mv-mobile-sales-phone strong { font-size: 15px; line-height: 1.2; white-space: nowrap; }
    .mv-mobile-sales-phone small { font-size: 12px; line-height: 1.25; color: #555; white-space: nowrap; }
    .mv-mobile-sales-phone svg { flex: none; color: #a81d19; }
    .mv-mobile-sales-messengers a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: #232323;
    }
    .mv-mobile-sales-messengers svg { width: 19px; height: 19px; }
    .mv-mobile-sales-messengers a:hover { color: #a81d19; }
}

@media (max-width: 420px) {
    .mv-mobile-sales-phone > span { flex-direction: column; align-items: flex-start; gap: 2px; }
}

.mv-contacts-phones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 12px;
}
.mv-contacts-department {
    padding: 14px;
    border: 1px solid #e9e7e5;
    border-radius: 8px;
}
.mv-contacts-department h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.4; }
.mv-contacts-number { color: #181818; font-size: 21px; line-height: 1.35; font-weight: 600; white-space: nowrap; }
.mv-contacts-messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mv-contacts-messengers a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 9px;
    color: #232323;
    font-size: 13px;
    border: 1px solid #d6d3d0;
    border-radius: 6px;
}
.mv-contacts-messengers a:hover { color: #a81d19; border-color: currentColor; }
.mv-contacts-messengers svg { flex: none; }
.mv-contacts-extra { margin-top: 12px; }
.mv-contacts-map { margin-top: clamp(28px, 4vw, 52px); }
.mv-contacts-map h2 { margin: 0 0 14px; font-size: clamp(20px, 3vw, 28px); }
.mv-contacts-map .wrap-map { border-radius: 10px; overflow: hidden; }
.mv-contacts-map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 400px); border: 0; }

@media (max-width: 1199px) {
    #wrapper > .mv-home-topbar {
        margin-bottom: 0 !important;
        background-color: var(--Onsurface) !important;
    }
    .mv-home-topbar .tf-sw-top_bar p,
    .mv-home-topbar .navigation-topbar .icon { color: var(--White); }
    .mv-home-topbar .tf-sw-top_bar .text_primary { color: #ff958c; }

    #wrapper > .mv-mobile-sales + .mv-home-slideshow { margin-top: 12px !important; }
}
