/* Preserve the native shell; make relocated links visible at each existing breakpoint. */
body[data-mf-navigation] header .mf-navigation-delivery { white-space: nowrap; }
@media (min-width: 1440px) {
  body[data-mf-navigation] header .menu { margin-left: 24px; margin-right: 24px; }
  body[data-mf-navigation] header .menu-item,
  body[data-mf-navigation] header .phone,
  body[data-mf-navigation] header .buttons { white-space: nowrap; flex-shrink: 0; }
}
body[data-mf-navigation] .menu-mobile-menu > .mf-menu-phone { margin-top: 8px; }
body[data-mf-navigation] .menu-mobile-menu > .mf-menu-phone > a { font-weight: 600; }
body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:last-child { justify-content: flex-start; }
body[data-mf-navigation] footer[data-mf-footer] .footer-contacts { margin-bottom: 0 !important; }
body[data-mf-navigation] footer[data-mf-footer] .footer-contacts > :last-child { margin-bottom: 0 !important; }
body[data-mf-navigation] footer[data-mf-footer] .copyright { margin-top: 16px !important; margin-bottom: 0 !important; line-height: 1.35; }
body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element > a { line-height: 1.35; }
@media (max-width: 1439px) {
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu { gap: 12px 24px !important; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:nth-child(2) { display: flex; grid-column: 1 / 3; grid-row: 2; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:nth-child(2) > a:not(.mf-footer-about):not(.mf-footer-news) { display: none; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:nth-child(3) { grid-row: 3; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:nth-child(4) { grid-row: 4; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element:last-child { grid-row: 2 / 5; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element > a { margin-bottom: 10px !important; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element > a:last-child { margin-bottom: 0 !important; }
}
@media (max-width: 767px) {
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu { gap: 10px 18px !important; }
  body[data-mf-navigation] footer[data-mf-footer] .footer-menu-element > a { font-size: 12px; }
  body[data-mf-navigation] footer[data-mf-footer] .copyright { margin-top: 12px !important; }
}
/* Optional comments use native disclosure controls and do not expand until requested. */
.mf-order-comment { width: 100%; min-width: 0; margin: 0; text-align: left; font: 14px/1.45 Involve,Arial,sans-serif; }
.mf-order-comment summary { display: list-item; width: fit-content; min-height: 32px; padding: 6px 0; box-sizing: border-box; cursor: pointer; list-style: none; text-decoration: underline; font: inherit; text-transform: none; letter-spacing: normal; }
.mf-order-comment summary::-webkit-details-marker { display: none; }
.mf-order-comment label { display: block; font: inherit; text-transform: none; letter-spacing: normal; margin: 4px 0 8px; }
.mf-order-comment textarea { display: block; box-sizing: border-box; width: 100%; min-height: 82px; max-height: 180px; margin: 0 0 4px; padding: 10px 12px; border: 1px solid #888; border-radius: 0; color: #171716; background: white; font: 16px/1.45 Involve,Arial,sans-serif; resize: vertical; }
.mf-order-comment summary:focus-visible,.mf-order-comment textarea:focus-visible { outline: 2px solid #171716; outline-offset: 3px; }
.modal[data-type="product_buy"] .mf-order-comment { margin: 12px 0; }
.modal[data-type="product_buy"] .modal-window { max-height: calc(100dvh - 32px); overflow-y: auto; }
