body.mt-home-page {
  margin: 0;
  background: #f5f7fa;
  color: #2c2c2e;
  overflow-x: hidden;
}

@supports selector(:has(*)) {
  /* Бічна картка live search (≥1200px: left:100%) інакше ріже `body` і `.autocomplete-wrapper` (overflow-x:hidden у темі) */
  body.mt-home-page:has(.mt-home-live-search-open),
  body.mt-shell-active:has(.mt-home-live-search-open) {
    overflow-x: visible !important;
  }
}

/* JS (`mtHomeSearchPanelBodySync`) — надійніше за :has у складних дереві/тінях */
body.mt-home-page.mt-home-search-panel-open,
body.mt-shell-active.mt-home-search-panel-open {
  overflow-x: visible !important;
}

/* Chameleon shell: body.mt-shell-active у mt_shell.css */

body.mt-home-lock {
  overflow: hidden;
}

.mt-home,
.mt-home * {
  box-sizing: border-box;
}

/* Токени --mt-*: канон mt_tokens.css (не дублювати тут) */
.mt-home {
  font-family: inherit;
  min-height: 100vh;
  background: var(--mt-page-bg, #f5f7fa);
}

.mt-home a {
  color: inherit;
  text-decoration: none;
}

.mt-home svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* У .mt-home-contact лише заливні SVG; успадкований stroke з .mt-home svg рве складні path */
.mt-home-contact svg,
.mt-home-contact svg path,
.mt-home-contact svg circle {
  stroke: none;
  stroke-width: 0;
}

.mt-home-contact__button-icon svg path,
.mt-home-contact__phone-icon svg path,
.mt-home-contact__email-icon svg path,
.mt-home-contact__address-icon svg path {
  fill: currentColor;
}

.mt-home-contact__address-icon svg circle {
  fill: #fff;
}

.mt-home-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-sm);
  background: var(--mt-white);
  color: var(--mt-black);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}

.mt-home-icon-button:hover {
  color: #fff;
  background: var(--mt-interface);
  border-color: var(--mt-interface-dark);
}

.mt-home-header .mt-home-icon-button {
  border: 0;
  background: transparent;
}

/* Важливо: базовий .mt-home-header .mt-home-icon-button має вищу специфічність за
   .mt-home-icon-button:hover і перебиває background — тоді лишається color:#fff з hover
   і SVG «зникає» на білому хедері. Явно задаємо фон і колір. */
.mt-home-header .mt-home-icon-button:hover,
.mt-home-header .mt-home-icon-button:focus-visible {
  border: 0;
  background: var(--mt-interface);
  color: #fff;
}

.mt-home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--mt-border);
  box-shadow: 0 8px 30px rgba(26, 26, 27, 0.05);
  backdrop-filter: blur(14px);
  isolation: isolate;
  transition: transform 0.25s ease;
  will-change: transform;
}

.mt-home-header.mt-home-header--scroll-hidden {
  transform: translateY(-100%);
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-header {
    transition: none;
    will-change: auto;
  }
}

/* Дропдаун контактів: клас додає JS — інакше .mt-home-backdrop (60) вище за header (40) і краде кліки */
.mt-home-header.mt-home-header--contact-open {
  z-index: 85;
}

.mt-home-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1920px;
  height: 76px;
  margin: 0 auto;
  padding: 0 clamp(24px, 2.5vw, 48px);
}

.mt-home-header__brand,
.mt-home-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.mt-home-header__brand {
  min-width: 290px;
}

.mt-home-header__actions {
  justify-content: flex-end;
  margin-left: auto;
}

.mt-home-header__logo img {
  display: block;
  width: auto;
  height: 56px;
  max-width: 280px;
}

.mt-home-header__burger {
  display: none;
}

/* Системний `.header-search` у формі: flex-шапка + BS3 `.input-group` (table) — явний flex, щоб поле не стискалось до 0.
   Важливо: `position: relative` лише на `.header-search` — інакше JS-вставлений `.search_autocomplete` (absolute) якориться до всієї форми й дає «порожню білу плиту» на всю ширину #mt-home-search-form. */
#mt-shell-search-form,
#mt-shell-search-form-checkout,
#mt-home #mt-home-search-form {
  z-index: 50;
}

#mt-shell-search-form,
#mt-shell-search-form-checkout,
#mt-home #mt-home-search-form.mt-home-header__search {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search.input-group {
  /* Інакше absolute .search_autocomplete якориться до форми — «друга біла смуга» на всю ширину */
  position: relative !important;
  display: flex;
  flex-wrap: nowrap;
  /* Один рядок поле + кнопка: без розриву між ними (у теми .btn-search має margin 4px — іконка «вилазить» за сірий фон) */
  align-items: stretch;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  gap: 0;
  /* Flex замість BS3 table у .input-group — без явного оформлення тема дає «сирий» input. Єдиний блок як у шапці Chameleon */
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  background: #f7f8fb;
  overflow: hidden;
}

@supports selector(:has(*)) {
  /* Live search: `.search_autocomplete` — sibling під полем; `overflow:hidden` на групі обрізає absolute-панель */
  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search.input-group:has(.search_autocomplete.mt-home-live-search-open) {
    overflow: visible;
  }
}

/* HC: список категорій має бути лише у випадаючому шарі, не в flex-потоці */
:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .categories {
  position: relative;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .categories .dropdown-menu {
  position: absolute !important;
  top: 100%;
  right: 0;
  left: auto;
  float: none !important;
  z-index: 2000;
  margin-top: 2px;
  max-height: min(70vh, 480px);
  overflow-y: auto;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .categories:not(.open) > .dropdown-menu {
  display: none !important;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .categories.open > .dropdown-menu {
  display: block !important;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  display: block;
  height: 40px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-color: #f7f8fb !important;
  color: #222;
  padding: 0 14px;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .categories,
:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .button_search {
  flex: 0 0 auto;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .button_search {
  display: flex;
  align-items: stretch;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .header-search .button_search .btn.btn-search {
  margin: 0 !important;
  height: 40px;
  width: 40px;
  min-width: 40px;
  align-self: stretch;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #f7f8fb !important;
}

.mt-home-form input,
.mt-home-lead__form input,
.mt-home-lead__form select {
  font: inherit;
  border: 0;
  outline: 0;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete {
  position: absolute !important;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 12px;
  flex: none !important;
  background: #fff;
  z-index: 80;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

/* Порожня панель автопідказок: :has лише там, де підтримується (інакше частина рушіїв може некоректно парсити файл) */
@supports selector(:has(*)) {
  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete:not(:has(.autosearch > li)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
  }
}

/* def_common.js: під час відкритого live search — вище за :not(:has(>li)), бо jQuery.show() не б’є !important */
:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-live-search-open {
  display: block !important;
  pointer-events: auto;
  /* Інакше обрізається `.dropdown_search_item_product` (stylesheet.css, ≥1200px: left:100%) і блок категорій */
  overflow: visible !important;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete .autocomplete-wrapper {
  max-height: 420px;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-live-search-open .autocomplete-wrapper {
  /* Перебиває `.header-search .search_autocomplete .autocomplete-wrapper { overflow-x: hidden }` у stylesheet.css */
  overflow-x: visible !important;
  overflow-y: auto !important;
  max-height: min(450px, 65vh);
}

/* На головній панель вужча за 530px теми — рядок ajaxadvance «ламається»; вирівнюємо з шапкою каталогу */
@media (min-width: 992px) {
  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-live-search-open {
    min-width: min(100%, 530px);
  }
}

/* Картка `.dropdown_search_item_product` (right:100%) інакше обрізається предками з overflow-y:auto; показуємо зліва від рядка */
@media (min-width: 1200px) {
  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-live-search-open li .dropdown_search_item_product {
    left: auto !important;
    right: 100% !important;
    margin-left: 0 !important;
    margin-right: 15px !important;
    z-index: 120;
  }

  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-live-search-open .dropdown_search_item_product:before {
    right: auto !important;
    left: 100% !important;
  }
}

.mt-home-header__search {
  position: relative;
  z-index: 3;
  flex: 1 1 560px;
  min-width: 300px;
  max-width: 40%;
  overflow: visible;
}

.mt-home-mobile-search {
  display: none;
  padding: 0 16px 12px;
}

.mt-home-search__recent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 8px clamp(24px, 2.5vw, 48px) 10px;
  border-bottom: 1px solid #f0f1f3;
  background: rgba(255, 255, 255, 0.97);
}

.mt-home-search__recent[hidden] {
  display: none !important;
}

.mt-home-search__recent-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--mt-gray);
  margin-right: 4px;
}

.mt-home-search__recent-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--mt-border);
  border-radius: 999px;
  background: #fff;
  color: var(--mt-graphite);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.mt-home-search__recent-chip:hover,
.mt-home-search__recent-chip:focus {
  border-color: var(--mt-charcoal);
  background: var(--mt-interface);
  color: #fff;
  outline: 0;
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .search_autocomplete.mt-home-search-ac--sheet {
  margin-top: 0;
  border-radius: var(--mt-radius-lg);
}

.mt-home .autosearch li.mt-live-search-highlight {
  background: rgba(44, 44, 46, 0.06);
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .ajaxadvance .model {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mt-gray);
}

:is(#mt-shell-search-form, #mt-shell-search-form-checkout, #mt-home #mt-home-search-form) .ajaxadvance .model .model-label {
  font-weight: 600;
  color: var(--mt-graphite);
}

.mt-live-search-loading,
.mt-live-search-empty {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--mt-gray);
}

.mt-live-search-empty__text {
  display: block;
}

.mt-home-contact {
  position: relative;
}

.mt-home-contact__button {
  position: relative;
}

.mt-home-contact__button,
.mt-home-partner,
.mt-home-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border: 0;
  border-radius: var(--mt-radius-sm);
  background: transparent;
  color: var(--mt-graphite);
  padding: 0 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.mt-home-contact__button:hover,
.mt-home-contact__button:focus,
.mt-home-contact.is-open .mt-home-contact__button,
.mt-home-partner:hover,
.mt-home-partner:focus,
.mt-home-cart:hover,
.mt-home-cart:focus {
  background: var(--mt-interface);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 94, 60, 0.2);
  outline: 0;
  transform: translateY(-1px);
}

.mt-home-contact__button-icon {
  display: inline-flex;
  color: inherit;
}

.mt-home-contact__button-label {
  display: inline;
}

.mt-home-contact__button-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(44, 44, 46, 0.12);
}

.mt-home-contact.is-open .mt-home-contact__button-dot,
.mt-home-contact__button:hover .mt-home-contact__button-dot,
.mt-home-contact__button:focus .mt-home-contact__button-dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.mt-home-contact__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 80;
  width: 360px;
  max-width: min(360px, calc(100vw - 24px));
  padding: 0;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-lg);
  background: #fff;
  box-shadow:
    0 20px 48px rgba(26, 26, 27, 0.12),
    0 2px 8px rgba(26, 26, 27, 0.06);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.mt-home-contact__dropdown[hidden] {
  display: none;
}

.mt-home-contact__dropdown::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 24px;
  width: 11px;
  height: 11px;
  border-left: 1px solid var(--mt-border);
  border-top: 1px solid var(--mt-border);
  background: #fff;
  transform: rotate(45deg);
}

.mt-home-contact.is-open .mt-home-contact__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mt-home-contact__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 4px;
}

.mt-home-contact__schedule {
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__section-title {
  margin: 0;
  padding: 14px 18px 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mt-black);
  letter-spacing: -0.01em;
}

.mt-home-contact__section-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: var(--mt-radius-sm);
  background: var(--mt-brand);
}

.mt-home-contact__status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 12px;
  background: #fff;
}

.mt-home-contact__schedule-body {
  padding: 0 18px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mt-graphite);
}

.mt-home-contact__badge {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: var(--mt-radius-md);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mt-home-contact__badge--open {
  background: rgba(44, 44, 46, 0.08);
  color: var(--mt-accent-static);
}

.mt-home-contact__badge--closed {
  background: rgba(113, 113, 130, 0.16);
  color: var(--mt-charcoal);
}

.mt-home-contact__hours-line {
  margin: 0;
  flex: 1 1 auto;
  font-size: calc(13px + 2pt);
  font-weight: 500;
  line-height: 1.45;
  color: var(--mt-graphite);
  text-align: right;
}

.mt-home-contact__open {
  padding: 12px 18px;
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__open-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--mt-gray);
  margin-bottom: 6px;
}

.mt-home-contact__open-body {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mt-graphite);
}

.mt-home-contact__phone-list {
  list-style: none;
  margin: 0;
  padding: 14px 12px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__phone-list:has(+ .mt-home-contact__emails) {
  border-bottom: 0;
  padding-bottom: 4px;
}

.mt-home-contact__phone-list > li {
  margin: 0;
  padding: 0;
}

.mt-home-contact__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1px solid #eceef2;
  border-radius: var(--mt-radius-md);
  background: #fff;
  font-weight: 700;
  color: var(--mt-black);
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.mt-home-contact__phone-icon,
.mt-home-contact__email-icon,
.mt-home-contact__address-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--mt-radius-md);
  background: #f4f5f7;
  color: var(--mt-graphite);
}

.mt-home-contact__address-icon {
  margin-top: 2px;
}

.mt-home-contact__phone-icon svg,
.mt-home-contact__email-icon svg,
.mt-home-contact__address-icon svg {
  width: 18px;
  height: 18px;
}

.mt-home-contact__phone-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mt-home-contact__phone b {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.mt-home-contact__phone small {
  font-size: 12px;
  font-weight: 500;
  color: var(--mt-gray);
}

.mt-home-contact__phone:hover {
  border-color: rgba(44, 44, 46, 0.2);
  background: #f4faf7;
  color: var(--mt-charcoal-dark);
  box-shadow: 0 4px 14px rgba(44, 44, 46, 0.08);
}

.mt-home-contact__phone:hover .mt-home-contact__phone-icon {
  background: #e8f4ee;
  color: var(--mt-charcoal-dark);
}

.mt-home-contact__emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 12px 10px;
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__email {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 11px 12px;
  border-radius: var(--mt-radius-md);
  border: 1px solid #eceef2;
  font-size: 13px;
  font-weight: 600;
  color: var(--mt-graphite);
  text-align: left;
  text-decoration: none;
  background: #fff;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.mt-home-contact__email-text {
  min-width: 0;
  word-break: break-word;
}

.mt-home-contact__email:hover {
  border-color: rgba(44, 44, 46, 0.2);
  color: var(--mt-charcoal-dark);
  background: #f4faf7;
  box-shadow: 0 4px 14px rgba(44, 44, 46, 0.08);
}

.mt-home-contact__email:hover .mt-home-contact__email-icon {
  background: #e8f4ee;
  color: var(--mt-charcoal-dark);
}

.mt-home-contact__address-list {
  list-style: none;
  margin: 0;
  padding: 8px 18px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mt-home-contact__address-list > li {
  margin: 0;
  padding: 0;
}

.mt-home-contact__address-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--mt-radius-md);
  border: 1px solid #eceef2;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--mt-graphite);
  background: #fafbfc;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.mt-home-contact__address-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.mt-home-contact__address-label {
  font-size: var(--mt-footer-contact-label-size, 11px);
  font-weight: var(--mt-footer-location-label-weight, 500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mt-muted);
}

.mt-home-contact__address-text {
  min-width: 0;
  font-size: 14px;
  font-weight: var(--mt-footer-location-address-weight, 500);
  line-height: 1.45;
  color: var(--mt-charcoal);
  text-wrap: pretty;
}

.mt-home-contact__address-link:hover {
  border-color: rgba(44, 44, 46, 0.2);
  color: var(--mt-charcoal-dark);
  background: #fff;
  box-shadow: 0 4px 14px rgba(44, 44, 46, 0.06);
}

.mt-home-contact__address-link:hover .mt-home-contact__address-icon {
  background: #e8f4ee;
  color: var(--mt-charcoal-dark);
}

.mt-home-contact__callback {
  display: block;
  width: calc(100% - 36px);
  margin: 14px 18px 16px;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--mt-radius-md);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--mt-btn-grad);
  box-shadow: var(--mt-btn-shadow);
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.mt-home-contact__callback:hover,
.mt-home-contact__callback:focus-visible {
  background: var(--mt-btn-grad-hover);
  box-shadow: var(--mt-btn-shadow-hover);
}

.mt-home-contact__messengers {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 18px 14px;
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 18px 10px;
  padding: 10px 12px;
  border-radius: var(--mt-radius-md);
  border: 1px solid #eceef2;
  font-size: 13px;
  font-weight: 600;
  color: var(--mt-graphite);
  background: #fafbfc;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.mt-home-contact__map-link:hover {
  border-color: rgba(44, 44, 46, 0.2);
  color: var(--mt-accent-static);
  background: #fff;
}

.mt-home-contact__map-link svg {
  flex-shrink: 0;
}

.mt-home-contact__comment {
  padding: 12px 18px;
  border-bottom: 1px solid #eceef2;
}

.mt-home-contact__messenger {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  gap: 8px;
  padding: 2px 2px 6px;
  border-radius: 0;
  background: transparent;
  color: var(--mt-black);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.mt-home-contact__messenger:hover {
  color: var(--mt-black);
  filter: none;
  transform: translateY(-2px);
}

.mt-home-contact__messenger-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.mt-home-contact__messenger:hover .mt-home-contact__messenger-icon {
  opacity: 0.92;
  transform: scale(1.04);
}

.mt-home-contact__messenger-icon svg,
.mt-home-contact__messenger-icon svg.mt-home-contact__messenger-svg {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.mt-home-contact__messenger-icon svg.mt-home-contact__messenger-svg path {
  stroke: none;
  stroke-width: 0;
}

.mt-home-contact__messenger--telegram
  .mt-home-contact__messenger-icon
  svg
  path {
  fill: #229ed9;
}

.mt-home-contact__messenger--viber .mt-home-contact__messenger-icon svg path {
  fill: #7360f2;
}

.mt-home-contact__messenger--whatsapp
  .mt-home-contact__messenger-icon
  svg
  path {
  fill: #25d366;
}

.mt-home-contact__messenger-label {
  display: block;
  max-width: 100%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mt-home-partner {
  position: relative;
  min-width: 44px;
  padding-left: 10px;
  padding-right: 10px;
  justify-content: center;
}

.mt-home-partner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mt-home-partner__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.mt-home-partner__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 85;
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 200px;
  max-width: min(280px, 92vw);
  width: max-content;
  padding: 10px 14px;
  border-radius: var(--mt-radius-md);
  background: var(--mt-black);
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -6px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.mt-home-partner__tooltip-title {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.mt-home-partner__tooltip-sub {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.mt-home-partner:hover .mt-home-partner__tooltip,
.mt-home-partner:focus .mt-home-partner__tooltip,
.mt-home-partner:focus-within .mt-home-partner__tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mt-home-cart {
  position: relative;
  min-width: 44px;
  padding-left: 10px;
  padding-right: 10px;
  justify-content: center;
  background: transparent;
  color: var(--mt-graphite);
}

.mt-home-cart:hover,
.mt-home-cart:focus {
  background: var(--mt-interface);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 94, 60, 0.2);
}

.mt-home-cart__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mt-home-cart__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Off-screen міст: міні-кошик Chameleon для cart.add / common.js (shell badge — mt_shell.js) */
.mt-shell-cart-host {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-home-cart__count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mt-btn-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
}

.mt-home-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.mt-home-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

.mt-home-shell {
  display: flex;
  align-items: flex-start;
  max-width: 1920px;
  margin: 0 auto;
}

.mt-home-sidebar {
  position: sticky;
  top: var(--mt-shell-header-offset, var(--mt-shell-header-height, 76px));
  z-index: 20;
  flex: 0 0 280px;
  width: 280px;
  height: calc(100vh - var(--mt-shell-header-offset, var(--mt-shell-header-height, 76px)));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--mt-border);
  transition: width 0.25s ease, flex-basis 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-sidebar {
    transition: width 0.25s, flex-basis 0.25s;
  }
}

.mt-home-sidebar.is-collapsed:not(:hover) {
  flex-basis: 64px;
  width: 64px;
  min-width: 0;
  overflow-x: clip;
}

#mt-home .mt-home-sidebar.is-collapsed:not(:hover) {
  height: auto;
  max-height: calc(100vh - var(--mt-shell-header-offset, var(--mt-shell-header-height, 76px)));
  align-self: flex-start;
}

.mt-home-sidebar__head {
  display: grid;
  gap: 4px;
  padding: 22px 12px 16px;
  border-bottom: 1px solid var(--mt-border);
  overflow: hidden;
}

.mt-home-sidebar__head strong {
  font-size: 20px;
}

.mt-home-sidebar__head span {
  color: var(--mt-gray);
  font-size: 12px;
}

.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sidebar__head,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-side-nav__link > i,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-side-nav__link small,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-side-nav__toggle,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-side-nav__children,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card__stack,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card__cta {
  display: none;
}

.mt-home-side-nav {
  padding: 10px 8px;
}

.mt-home-side-nav--accordion {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.mt-home-side-nav--accordion .mt-home-side-nav__item {
  margin-bottom: 6px;
  border: 1px solid transparent;
  border-radius: var(--mt-radius-sm);
  overflow: hidden;
}

.mt-home-side-nav--accordion .mt-home-side-nav__item.is-active-item {
  background: #fff;
  border-color: var(--mt-border);
}

.mt-home-side-nav--accordion .mt-home-side-nav__row {
  display: flex;
  align-items: stretch;
  background: var(--mt-soft);
  border-radius: var(--mt-radius-sm);
  overflow: visible;
}

.mt-home-side-nav--accordion .mt-home-side-nav__item.is-active-item > .mt-home-side-nav__row {
  background: #fff;
}

.mt-home-side-nav--accordion .mt-home-side-nav__link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--mt-black);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.mt-home-side-nav--accordion .mt-home-side-nav__link:hover,
.mt-home-side-nav--accordion .mt-home-side-nav__link:focus-visible {
  background: #e8f4ee;
  color: var(--mt-charcoal-dark);
  outline: none;
}

.mt-home-side-nav--accordion .mt-home-side-nav__link > i {
  flex: 1 1 auto;
  min-width: 0;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  color: var(--mt-ink);
}

.mt-home-side-nav--accordion .mt-home-side-nav__link:hover > i,
.mt-home-side-nav--accordion .mt-home-side-nav__link.is-active > i {
  color: var(--mt-accent-static);
}

.mt-home-side-nav--accordion .mt-home-side-nav__link small {
  color: var(--mt-gray);
  flex-shrink: 0;
}

.mt-home-side-nav--accordion .mt-home-side-nav__toggle {
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mt-graphite);
  cursor: pointer;
}

.mt-home-side-nav--accordion .mt-home-side-nav__toggle:hover,
.mt-home-side-nav--accordion .mt-home-side-nav__toggle:focus-visible {
  color: var(--mt-accent-static);
  outline: none;
}

.mt-home-side-nav--accordion .mt-home-side-nav__chevron {
  transition: transform 0.2s ease;
}

.mt-home-side-nav--accordion .mt-home-side-nav__item.is-active-item .mt-home-side-nav__chevron {
  transform: rotate(90deg);
}

.mt-home-side-nav--accordion .mt-home-side-nav__children {
  display: none;
  margin: 0 0 6px;
  padding: 2px 8px 6px 34px;
  border-left: 2px solid var(--mt-border);
  margin-left: 22px;
}

.mt-home-side-nav--accordion .mt-home-side-nav__item.is-active-item > .mt-home-side-nav__children {
  display: block;
}

.mt-home-side-nav--accordion .mt-home-side-nav__child-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  color: var(--mt-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.mt-home-side-nav--accordion .mt-home-side-nav__child-link:hover,
.mt-home-side-nav--accordion .mt-home-side-nav__child-link:focus-visible {
  color: var(--mt-charcoal-dark);
  outline: none;
}

.mt-home-side-nav--accordion .mt-home-side-nav__child-link.is-active {
  color: var(--mt-accent-static);
  outline: none;
}

.mt-home-side-nav--accordion .mt-home-side-nav__child-count {
  color: var(--mt-gray);
  font-size: 12px;
  flex-shrink: 0;
}

.mt-home-side-nav--accordion .mt-home-side-nav__link.is-active {
  color: var(--mt-accent-static);
}

.mt-home-side-nav--accordion .mt-home-side-nav__flyout {
  display: none !important;
}

.mt-home-side-nav__item {
  position: relative;
}

.mt-home-side-nav__item > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: var(--mt-radius-sm);
  color: var(--mt-black);
  transition:
    background 0.2s,
    color 0.2s;
}

.mt-home-side-nav__item:hover > a {
  background: #e8f4ee;
  color: var(--mt-accent-static);
}

.mt-home-side-nav__item a > i {
  flex: 1 1 auto;
  min-width: 0;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  color: var(--mt-ink);
  transition:
    color 0.2s,
    transform 0.2s;
}

.mt-home-side-nav__item a:hover > i {
  color: var(--mt-accent-static);
  transform: scale(1.02);
}

.mt-home-side-nav__item a small {
  color: var(--mt-gray);
}

/* Після повного стеку теми глобальні правила можуть відцентрувати текст у nav — лишаємо лівий край для головної. */
#mt-home .mt-home-sidebar,
#mt-home .mt-home-sidebar__head,
#mt-home nav.mt-home-side-nav,
#mt-home nav.mt-home-drawer {
  text-align: left;
}

#mt-home .mt-home-side-nav--accordion .mt-home-side-nav__link {
  justify-content: flex-start;
}

#mt-home .mt-home-side-nav--accordion .mt-home-side-nav__link > i {
  text-align: left;
}

#mt-home .mt-home-drawer .mt-home-side-nav__link,
#mt-home .mt-home-drawer .mt-home-side-nav__child-link {
  text-align: left;
}

.mt-home-side-nav__flyout {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  z-index: 30;
  display: grid;
  gap: 6px;
  width: 260px;
  padding: 16px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}

.mt-home-side-nav__item:hover .mt-home-side-nav__flyout {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mt-home-side-nav__flyout strong {
  margin-bottom: 4px;
  color: var(--mt-accent-static);
}

.mt-home-side-nav__flyout a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f0f1f3;
  color: var(--mt-black);
}

.mt-home-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: var(--mt-radius-sm);
  background: transparent;
  color: var(--mt-graphite);
  transition:
    color 0.2s,
    background 0.2s;
}

.mt-home-nav-icon svg {
  display: block;
}

.mt-home-nav-icon--thumb img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: var(--mt-radius-sm);
}

.mt-home-side-nav--accordion .mt-home-side-nav__link:hover .mt-home-nav-icon,
.mt-home-side-nav__item:hover .mt-home-nav-icon {
  color: var(--mt-accent-static);
  background: transparent;
}

.mt-home-sidebar > .mt-home-sample-card {
  flex-shrink: 0;
}

.mt-home-sample-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 12px;
  row-gap: 12px;
  width: calc(100% - 24px);
  margin: 12px;
  padding: 14px 14px 16px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-lg);
  background: #fff;
  color: var(--mt-black);
  text-align: left;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(26, 26, 27, 0.06);
}

.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  box-sizing: border-box;
  width: calc(100% - 16px);
  max-width: 100%;
  min-width: 0;
  margin: 10px 8px;
  padding: 0;
  aspect-ratio: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  row-gap: 0;
  column-gap: 0;
  line-height: 0;
  font-size: 0;
  box-shadow: 0 2px 10px rgba(26, 26, 27, 0.06);
}

.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card:hover,
.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card:focus {
  transform: none;
}

.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card__icon-box {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: var(--mt-radius-md);
  flex-shrink: 0;
  line-height: 0;
}

.mt-home-sidebar.is-collapsed:not(:hover) .mt-home-sample-card__svg {
  width: 22px;
  height: 22px;
}

.mt-home-sample-card__icon-box {
  grid-column: 1;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--mt-radius-md);
  background: var(--mt-accent-static);
  color: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}

.mt-home-sample-card__svg {
  display: block;
}

.mt-home-sample-card__stack {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
  text-align: left;
  align-self: center;
}

.mt-home-sample-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--mt-black);
}

.mt-home-sample-card__desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--mt-gray);
}

.mt-home-sample-card__cta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--mt-radius-md);
  background: var(--mt-black);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  pointer-events: none;
}

.mt-home-sample-card__cta svg {
  flex-shrink: 0;
  stroke: #fff;
  fill: none;
}

.mt-home-sample-card:hover,
.mt-home-sample-card:focus {
  border-color: #dfe1e6;
  box-shadow: 0 14px 36px rgba(26, 26, 27, 0.1);
  transform: translateY(-1px);
}

.mt-home-sample-card:hover .mt-home-sample-card__icon-box,
.mt-home-sample-card:focus .mt-home-sample-card__icon-box {
  background: var(--mt-interface);
  color: #fff;
}

.mt-home-main {
  flex: 1 1 auto;
  min-width: 0;
}

.mt-home-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--mt-black);
}

.mt-home-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 0.75s,
    transform 1s;
}

.mt-home-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.mt-home-hero__slide img,
.mt-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.mt-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.5);
}

/* Темніша зона під текст — суб'єкт фото лишається видимим з протилежного боку */
.mt-home-hero__slide--left .mt-home-hero__overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.mt-home-hero__slide--center {
  justify-content: center;
  text-align: center;
}

.mt-home-hero__slide--center .mt-home-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.12) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.mt-home-hero__slide--right {
  justify-content: flex-end;
  text-align: right;
}

.mt-home-hero__slide--right .mt-home-hero__overlay {
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.55) 42%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0.08) 100%
  );
}

.mt-home-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(560px, calc(100% - 96px));
  max-height: calc(100% - 48px);
  margin: 0 48px;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.75s;
}

.mt-home-hero__slide.is-active .mt-home-hero__content {
  transform: translateY(0);
}

.mt-home-hero__slide--center .mt-home-hero__content {
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.mt-home-hero__slide--right .mt-home-hero__content {
  align-items: flex-end;
  text-align: right;
}

.mt-home-hero__label {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mt-brand, #c9a96e);
}

.mt-home-hero__content h1,
.mt-home-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mt-home-hero__subtitle {
  margin: 0;
  max-width: 460px;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mt-home-hero__slide--center .mt-home-hero__subtitle,
.mt-home-hero__slide--center .mt-home-hero__badges {
  margin-left: auto;
  margin-right: auto;
}

.mt-home-hero__slide--right .mt-home-hero__subtitle,
.mt-home-hero__slide--right .mt-home-hero__badges {
  margin-left: auto;
  margin-right: 0;
}

.mt-home-hero__cta,
.mt-home-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--mt-graphite);
  border-radius: var(--mt-radius-sm);
  background: transparent;
  color: var(--mt-graphite);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: none;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.mt-home-hero__cta {
  border-color: rgba(255, 255, 255, 0.86);
  color: #fff;
  background: var(--mt-btn-grad);
  border-color: transparent;
  box-shadow: var(--mt-btn-shadow);
}

.mt-home-hero__cta:hover,
.mt-home-form button:hover {
  background: var(--mt-btn-grad-hover);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--mt-btn-shadow-hover);
}

.mt-home-hero__ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}

.mt-home-hero__cta--secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
}

.mt-home-hero__cta--secondary:hover,
.mt-home-hero__cta--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.mt-home-hero__badges {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.4;
}

.mt-home-hero__slide--center .mt-home-hero__ctas {
  justify-content: center;
}

.mt-home-hero__slide--right .mt-home-hero__ctas {
  justify-content: flex-end;
}

.mt-home-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--mt-radius-md);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.mt-home-hero__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .mt-home-hero__arrow {
    opacity: 0;
  }

  .mt-home-hero:hover .mt-home-hero__arrow,
  .mt-home-hero:focus-within .mt-home-hero__arrow {
    opacity: 1;
  }
}

.mt-home-hero__arrow--prev {
  left: 24px;
}
.mt-home-hero__arrow--next {
  right: 24px;
}

.mt-home-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 5px;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.mt-home-hero__dots button {
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  padding: 0;
  cursor: pointer;
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.mt-home-hero__dots button:hover {
  background: rgba(255, 255, 255, 0.44);
}

.mt-home-hero__dots button.is-active {
  width: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.mt-home-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 72px 48px;
}

.mt-home-section {
  margin-bottom: 86px;
}

.mt-home-section__head {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin-bottom: 34px;
}

.mt-home-section__head span {
  color: var(--mt-accent-static);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mt-home-lead__eyebrow {
  margin: 0 0 var(--mt-home-lead-eyebrow-title-gap);
  color: var(--mt-about-cta-on-dark-subtitle);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: unset;
}

.mt-home-section__head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Перебиває stylesheet_custom `.mt-home-lead h2 { color: var(--mt-ink) }` на темній band (#mt-home підвищує специфічність) */
#mt-home .mt-home-lead__title {
  margin: 0 0 var(--mt-about-copy-gap);
  font-family: var(--mt-about-display-font);
  font-size: var(--mt-about-cta-title-size);
  line-height: var(--mt-about-title-lh);
  font-weight: var(--mt-about-title-weight);
  letter-spacing: var(--mt-about-title-tracking);
  text-wrap: balance;
  color: var(--mt-about-cta-on-dark-title);
}

.mt-home-section__head p {
  margin: 0;
  color: var(--mt-gray);
  font-size: 18px;
  line-height: 1.55;
}

.mt-home-niche .mt-home-section__head span {
  color: var(--mt-accent-static);
  font-size: clamp(16px, 1.85vw, 20px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.mt-home-niche .mt-home-section__head h2 {
  color: var(--mt-black);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
}

.mt-home-niche__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mt-home-niche__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--mt-gray-600, #666);
  font-size: 15px;
  line-height: 1.5;
}

.mt-home-niche-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--mt-radius-sm);
  background: var(--mt-black);
  color: #fff;
  outline: none;
}

.mt-home-niche-card:focus-visible {
  outline: 2px solid var(--mt-white);
  outline-offset: 3px;
}

.mt-home-niche-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.mt-home-niche-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.12) 42%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.mt-home-niche-card:hover img,
.mt-home-niche-card:focus-within img {
  transform: scale(1.06);
}

.mt-home-niche-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px 22px 18px;
}

.mt-home-niche-card__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  border-left: 3px solid var(--mt-brand);
  padding-left: 12px;
}

.mt-home-niche-card__body h3 {
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.mt-home-niche-card__stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.mt-home-niche-card__layer {
  min-width: 0;
}

.mt-home-niche-card__layer--desc p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.42;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mt-home-niche-card__layer--subs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.mt-home-niche-card__layer--subs li {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
  padding: 3px 6px;
  border-radius: var(--mt-radius-sm);
  background: rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) and (hover: hover) {
  /* Підкатегорії absolute — висоту стеку задає лише опис, без «дірки» max(desc, subs) */
  .mt-home-niche-card__stack {
    display: block;
    position: relative;
    margin: 0;
  }

  .mt-home-niche-card__layer {
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .mt-home-niche-card__layer--desc {
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
  }

  .mt-home-niche-card__layer--subs {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
  }

  .mt-home-niche-card__layer--desc p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    font-size: 15px;
    line-height: 1.42;
    font-weight: 500;
  }

  .mt-home-niche-card__layer--subs ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding-bottom: 2px;
  }

  .mt-home-niche-card__layer--subs li {
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.42;
    color: rgba(255, 255, 255, 0.92);
  }

  .mt-home-niche-card:hover .mt-home-niche-card__layer--desc,
  .mt-home-niche-card:focus-within .mt-home-niche-card__layer--desc {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .mt-home-niche-card:hover .mt-home-niche-card__layer--subs,
  .mt-home-niche-card:focus-within .mt-home-niche-card__layer--subs {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (pointer: coarse) {
  .mt-home-niche-card:hover img,
  .mt-home-niche-card:focus-within img {
    transform: none;
  }

  body.mt-scroll-hover-enabled .mt-home-niche-card.mt-scroll-hover img,
  body.mt-scroll-hover-enabled .mt-home-niche-card:focus-within img {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-niche-card img {
    transition: none;
  }

  .mt-home-niche-card:hover img,
  .mt-home-niche-card:focus-within img {
    transform: none;
  }

  .mt-home-niche-card__layer {
    transition: none !important;
  }
}

.mt-home-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--mt-border);
  margin-bottom: 28px;
}

.mt-home-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  padding: 16px 24px;
  color: var(--mt-gray);
  font-weight: 800;
  cursor: pointer;
}

.mt-home-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: transparent;
}

.mt-home-tabs button.is-active {
  color: var(--mt-accent-static);
}

.mt-home-tabs button.is-active::after {
  background: var(--mt-btn-grad);
}

.mt-home-product-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.mt-home-product-panel[hidden] {
  display: none !important;
}

.mt-home-product-panel__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--mt-gray);
  font-size: 15px;
  line-height: 1.45;
}

.mt-home-product {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  background: transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.mt-home-product:hover,
.mt-home-product:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.mt-home-product__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: var(--mt-product-media-ratio);
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--mt-soft);
  isolation: isolate;
}

.mt-home-product__media-link {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.mt-home-product__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.mt-home-product__media .addit-action {
  position: absolute;
  top: 16px;
  left: 18px;
  right: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.mt-home-product__media .addit-action .compare,
.mt-home-product__media .addit-action .wishlist {
  margin: 0;
}

.mt-home-product__media .addit-action .wishlist {
  margin-top: 0;
}

/* NS-стікери на фото картки — правий верх */
.mt-home-product__media .stickers-ns,
body.mt-home-page .home-page-content-top .product-thumb .image .stickers-ns {
  position: absolute;
  top: 16px;
  right: 18px;
  left: auto;
  margin-right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 4;
  pointer-events: none;
}

.mt-home-product__media .sticker-ns + .sticker-ns,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns + .sticker-ns {
  margin-top: 0;
}

/* NS-стікери: tinted frosted glass */
.mt-home-product__media .sticker-ns,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns {
  --mt-sticker-tint: var(--popular-bg-color, var(--mt-sticker-popular));
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: var(--mt-sticker-min-height);
  padding: var(--mt-sticker-pad-y) var(--mt-sticker-pad-x);
  border-radius: var(--mt-sticker-radius);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--mt-sticker-letter-spacing);
  text-align: center;
  white-space: nowrap;
  color: var(--popular-text-color, var(--mt-sticker-text));
  background: color-mix(
    in srgb,
    var(--mt-sticker-tint) var(--mt-sticker-glass-mix),
    var(--mt-sticker-glass-frost-strong)
  );
  backdrop-filter: blur(var(--mt-sticker-glass-blur)) saturate(var(--mt-sticker-glass-saturate));
  -webkit-backdrop-filter: blur(var(--mt-sticker-glass-blur)) saturate(var(--mt-sticker-glass-saturate));
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.28);
}

.mt-home-product__media .sticker-ns .fa,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns .fa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1em;
  margin: 0;
  font-size: 10px;
  line-height: 1;
  vertical-align: baseline;
}

.mt-home-product__media .sticker-ns.special,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.special {
  --mt-sticker-tint: var(--special-bg-color, var(--mt-sticker-special));
  color: var(--special-text-color, var(--mt-sticker-text));
}

.mt-home-product__media .sticker-ns.popular,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.popular {
  --mt-sticker-tint: var(--popular-bg-color, var(--mt-sticker-popular));
  color: var(--popular-text-color, var(--mt-sticker-text));
}

.mt-home-product__media .sticker-ns.bestseller,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.bestseller {
  --mt-sticker-tint: var(--bestseller-bg-color, var(--mt-sticker-bestseller));
  color: var(--bestseller-text-color, var(--mt-sticker-text));
}

.mt-home-product__media .sticker-ns.newproduct,
body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.newproduct {
  --mt-sticker-tint: var(--newproduct-bg-color, var(--mt-sticker-newproduct));
  color: var(--newproduct-text-color, var(--mt-sticker-text));
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .mt-home-product__media .sticker-ns.special,
  body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.special {
    background: var(--mt-sticker-special);
  }

  .mt-home-product__media .sticker-ns.popular,
  body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.popular {
    background: var(--mt-sticker-popular);
  }

  .mt-home-product__media .sticker-ns.bestseller,
  body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.bestseller {
    background: var(--mt-sticker-bestseller);
  }

  .mt-home-product__media .sticker-ns.newproduct,
  body.mt-home-page .home-page-content-top .product-thumb .sticker-ns.newproduct {
    background: var(--mt-sticker-newproduct);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mt-home-product__media .sticker-ns,
  body.mt-home-page .home-page-content-top .product-thumb .sticker-ns {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--mt-sticker-tint);
  }
}

@media (min-width: 992px) {
  .mt-home-product__media .addit-action {
    opacity: 0;
    z-index: -1;
  }

  .mt-home-product:hover .mt-home-product__media .addit-action,
  .mt-home-product:focus-within .mt-home-product__media .addit-action {
    opacity: 1;
    z-index: 2;
  }
}

@media (hover: none) and (pointer: coarse) {
  body:not(.mt-scroll-hover-enabled) .mt-home-product__media .addit-action {
    opacity: 1;
    z-index: 2;
  }
}

/* Модулі на головній (swiper pvmod_*): типографіка картки як mt-home-product */
body.mt-home-page .container-module .product-thumb .product-name a {
  color: var(--mt-graphite);
  font-size: var(--mt-card-title-size, 16px);
  font-weight: var(--mt-card-title-weight, 400);
  line-height: var(--mt-card-title-lh, 1.5);
  letter-spacing: var(--mt-card-title-tracking, 0);
  -webkit-line-clamp: 2;
}

body.mt-home-page .container-module .product-thumb .price-actions-box .price,
body.mt-home-page .container-module .product-thumb .price-actions-box .price .price-new,
body.mt-home-page .container-module .product-thumb .price-actions-box .price .price-default {
  font-family: var(--mt-font);
  font-size: var(--mt-listing-price-size, 17px);
  font-weight: var(--mt-price-weight, 600);
  letter-spacing: var(--mt-card-price-tracking, 0);
  line-height: var(--mt-card-price-lh, 1.4);
}

/* Swiper-модулі на головній: compare/wishlist — лівий верх, колонка (паритет .mt-home-product) */
body.mt-home-page .container-module .product-thumb .image .addit-action,
body.mt-home-page .home-page-content-top .product-thumb .image .addit-action {
  top: 16px !important;
  right: auto !important;
  left: 18px !important;
  flex-direction: column !important;
  gap: 10px;
}

body.mt-home-page .container-module .product-thumb .image .addit-action .wishlist,
body.mt-home-page .home-page-content-top .product-thumb .image .addit-action .wishlist {
  margin-left: 0 !important;
  margin-top: 0 !important;
}

@media (min-width: 992px) {
  body.mt-home-page .container-module .product-thumb .image .addit-action,
  body.mt-home-page .home-page-content-top .product-thumb .image .addit-action {
    opacity: 0;
    z-index: -1;
  }

  body.mt-home-page .container-module .product-thumb:hover .image .addit-action,
  body.mt-home-page .container-module .product-thumb:focus-within .image .addit-action,
  body.mt-home-page .home-page-content-top .product-thumb:hover .image .addit-action,
  body.mt-home-page .home-page-content-top .product-thumb:focus-within .image .addit-action {
    opacity: 1;
    z-index: 2;
  }
}

@media (hover: none) and (pointer: coarse) {
  body.mt-home-page .container-module .product-thumb .image .addit-action,
  body.mt-home-page .home-page-content-top .product-thumb .image .addit-action {
    opacity: 1;
    z-index: 2;
  }
}

/* product_card.stock_row — канон mt_components.css */

/* Legacy swiper / content_top: оболонка картки — паритет з .mt-home-product */
body.mt-home-page .container-module .product-thumb,
body.mt-home-page .home-page-content-top .product-thumb {
  background: transparent !important;
}

body.mt-home-page .container-module .product-thumb .caption,
body.mt-home-page .home-page-content-top .product-thumb .caption {
  padding: 16px 18px 17px;
  background: transparent;
  transition: background 0.2s ease;
}

body.mt-home-page .container-module .product-thumb:hover .caption,
body.mt-home-page .container-module .product-thumb:focus-within .caption,
body.mt-home-page .home-page-content-top .product-thumb:hover .caption,
body.mt-home-page .home-page-content-top .product-thumb:focus-within .caption {
  background: var(--mt-white);
}

/* Legacy fp-slider / content_top: product-thumb паритет з mt-home-product */
body.mt-home-page .home-page-content-top .product-thumb .image {
  min-height: 0;
}

body.mt-home-page .home-page-content-top .product-thumb .image > a {
  display: block;
  position: relative;
  aspect-ratio: var(--mt-product-media-ratio);
  overflow: hidden;
}

body.mt-home-page .home-page-content-top .product-thumb .image img.img-responsive {
  width: 100%;
  height: 100%;
  max-width: none;
  min-width: 0;
  object-fit: cover;
  object-position: center;
}

.mt-home-catalog__more {
  margin: 20px 0 0;
  text-align: center;
}

.mt-home-catalog__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  color: var(--mt-graphite);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.mt-home-catalog__more-link:hover,
.mt-home-catalog__more-link:focus-visible {
  border-color: var(--mt-graphite);
  color: var(--mt-charcoal-dark);
  outline: 0;
}

.mt-home-product__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  padding: 16px 18px 17px;
  background: transparent;
  transition: background 0.2s ease;
}

.mt-home-product:hover .mt-home-product__body,
.mt-home-product:focus-within .mt-home-product__body {
  background: var(--mt-white);
}

.mt-home-product__info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.mt-home-product__body h3,
.mt-home-product__title {
  flex: 0 0 auto;
  margin: 0;
  font-size: var(--mt-card-title-size, 16px);
  font-weight: var(--mt-card-title-weight, 400);
  line-height: var(--mt-card-title-lh, 1.5);
  letter-spacing: var(--mt-card-title-tracking, 0);
  color: var(--mt-graphite);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.5em * 2);
}

.mt-home-product__colors {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  min-height: 0;
}

.mt-home-product__colors i {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}

.mt-home-product__bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mt-home-product__price-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.mt-home-product__price-was {
  font-size: 13px;
  font-weight: var(--mt-price-weight-old);
  color: var(--mt-gray);
  letter-spacing: 0;
  line-height: 1.4;
  text-decoration-thickness: 1px;
}

.mt-home-product__price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mt-home-product__price-now {
  color: var(--mt-gray);
  font-family: var(--mt-font);
  font-size: var(--mt-home-price-size, 20px);
  font-weight: var(--mt-price-weight, 600);
  font-variant-numeric: tabular-nums;
  letter-spacing: var(--mt-card-price-tracking, 0);
  line-height: var(--mt-card-price-lh, 1.4);
}

.mt-home-product__badge-sale {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 7px;
  border-radius: var(--mt-radius-sm);
  background: rgba(185, 28, 28, 0.12);
  color: #991b1b;
}

.mt-home-product__details {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 9px 14px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  text-decoration: none;
  color: var(--mt-black);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.mt-home-product__details-text {
  white-space: nowrap;
}

.mt-home-product__details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  margin-left: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    width 0.22s ease,
    margin-left 0.22s ease,
    opacity 0.18s ease;
}

.mt-home-product__details-icon svg {
  display: block;
  flex: 0 0 auto;
}

.mt-home-product:hover .mt-home-product__details,
.mt-home-product:focus-within .mt-home-product__details {
  background: var(--mt-graphite);
  border-color: var(--mt-graphite);
  color: #fff;
}

.mt-home-product:hover .mt-home-product__details-icon,
.mt-home-product:focus-within .mt-home-product__details-icon {
  width: 16px;
  margin-left: 6px;
  opacity: 1;
}

.mt-home-product__details:focus-visible {
  outline: 2px solid var(--mt-graphite);
  outline-offset: 2px;
}

@media (hover: none) and (pointer: coarse) {
  body:not(.mt-scroll-hover-enabled) .mt-home-product__details {
    background: var(--mt-graphite);
    border-color: var(--mt-graphite);
    color: #fff;
  }

  body:not(.mt-scroll-hover-enabled) .mt-home-product__details-icon {
    width: 16px;
    margin-left: 6px;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-product,
  .mt-home-product__details,
  .mt-home-product__details-icon,
  .mt-home-product__media .addit-action {
    transition: none;
  }

  .mt-home-product:hover,
  .mt-home-product:focus-within {
    transform: none;
  }
}

.mt-home-lead {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100vw;
  max-width: 100vw;
  margin: 42px calc(50% - 50vw) 56px;
  padding: calc(var(--mt-home-lead-padding-y) + var(--mt-home-lead-padding-extra))
    var(--mt-home-lead-padding-x)
    calc(var(--mt-home-lead-padding-y) + var(--mt-home-lead-padding-extra) + 4px);
  background: linear-gradient(
    145deg,
    var(--mt-charcoal-dark) 0%,
    var(--mt-charcoal) 55%,
    var(--mt-charcoal) 100%
  );
  border-radius: 0;
  border: 0;
  border-top: 3px solid var(--mt-about-cta-accent-line);
  box-shadow: var(--mt-about-cta-shadow);
  color: #fff;
}

#mt-home .mt-home-lead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 65% at 50% 0%,
    var(--mt-about-cta-glow) 0%,
    transparent 68%
  );
  pointer-events: none;
}

#mt-home .mt-home-lead > * {
  position: relative;
  z-index: 1;
}

.mt-home-lead__lead {
  max-width: var(--mt-about-cta-lead-max);
  margin: 0 auto;
  color: var(--mt-about-cta-on-dark-lead);
  font-size: var(--mt-about-lead-size);
  font-weight: var(--mt-home-lead-lead-weight);
  line-height: var(--mt-about-lead-lh);
  text-wrap: pretty;
}

@media (min-width: 992px) {
  .mt-home-lead__lead {
    max-width: var(--mt-home-lead-lead-max);
  }
}

.mt-home-lead__form {
  width: 100%;
  max-width: var(--mt-home-lead-form-max);
  margin: var(--mt-home-lead-copy-form-gap) auto 0;
  display: grid;
  gap: var(--mt-home-lead-form-gap);
  text-align: left;
}

.mt-home-lead__field {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mt-home-lead__field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.mt-home-lead__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}

.mt-home-lead__form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--mt-home-lead-submit-min-w), auto);
  gap: var(--mt-home-lead-actions-gap);
  align-items: stretch;
}

#mt-home .mt-home-lead__form input,
#mt-home .mt-home-lead__form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--mt-radius-md);
  background: transparent;
  color: var(--mt-about-cta-on-dark-title);
  caret-color: var(--mt-about-cta-on-dark-subtitle);
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#mt-home .mt-home-lead__form input {
  height: 48px;
  padding: 0 14px;
}

#mt-home .mt-home-lead__form-row input[type="tel"] {
  box-sizing: border-box;
  height: var(--mt-home-lead-row-control-h);
  padding: 0 12px;
}

#mt-home .mt-home-lead__form textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

#mt-home .mt-home-lead__form input::placeholder,
#mt-home .mt-home-lead__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

#mt-home .mt-home-lead__form input:-webkit-autofill,
#mt-home .mt-home-lead__form input:-webkit-autofill:hover,
#mt-home .mt-home-lead__form input:-webkit-autofill:focus,
#mt-home .mt-home-lead__form textarea:-webkit-autofill,
#mt-home .mt-home-lead__form textarea:-webkit-autofill:hover,
#mt-home .mt-home-lead__form textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--mt-charcoal-dark) inset;
  -webkit-text-fill-color: var(--mt-about-cta-on-dark-title);
  caret-color: var(--mt-about-cta-on-dark-subtitle);
  transition: background-color 5000s ease-in-out 0s;
}

#mt-home .mt-home-lead__form input:focus,
#mt-home .mt-home-lead__form textarea:focus {
  outline: 0;
  border-color: var(--mt-bronze);
  box-shadow: 0 0 0 2px rgba(201, 168, 130, 0.28);
}

.mt-home-lead__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  height: var(--mt-home-lead-row-control-h);
  min-width: var(--mt-home-lead-submit-min-w);
  padding: 0 36px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
}

#mt-home .mt-home-lead__submit.mt-btn-primary {
  border-radius: var(--mt-radius-md);
  background: var(--mt-home-lead-submit-grad);
  box-shadow: var(--mt-home-lead-submit-shadow);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

#mt-home .mt-home-lead__submit.mt-btn-primary:hover,
#mt-home .mt-home-lead__submit.mt-btn-primary:focus-visible {
  background: var(--mt-home-lead-submit-grad-hover);
  box-shadow: var(--mt-home-lead-submit-shadow-hover);
  color: var(--mt-white);
  transform: translateY(-1px);
}

#mt-home .mt-home-lead__submit.mt-btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--mt-home-lead-submit-shadow);
}

.mt-home-lead__submit-icon {
  flex-shrink: 0;
}

.mt-home-lead__error {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--mt-radius-md);
  background: rgba(180, 35, 24, 0.14);
  border: 1px solid rgba(254, 202, 202, 0.35);
  color: #fecaca;
  font-size: 13px;
  line-height: 1.45;
}

.mt-home-lead__note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 992px) {
  .mt-home-lead {
    padding: calc(128px + var(--mt-home-lead-padding-extra)) 36px
      calc(132px + var(--mt-home-lead-padding-extra));
  }
}

@media (max-width: 767px) {
  .mt-home-lead {
    padding: calc(clamp(64px, 12vw, 112px) + var(--mt-home-lead-padding-extra))
      var(--mt-home-lead-padding-x-mobile)
      calc(clamp(64px, 12vw, 112px) + var(--mt-home-lead-padding-extra) + 4px);
  }

  #mt-home .mt-home-lead__form {
    padding-inline: var(--mt-home-lead-form-inset-x-mobile);
  }

  .mt-home-lead__form-row {
    grid-template-columns: 1fr;
  }

  .mt-home-lead__submit {
    width: 100%;
  }
}

.mt-home-footer {
  background: var(--mt-page-bg);
  border-top: 1px solid var(--mt-border);
  color: var(--mt-charcoal);
}

.mt-home-footer__inner {
  box-sizing: border-box;
  max-width: 1920px;
  margin: 0 auto;
  padding: 48px 24px 40px;
}

.mt-home-footer__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, min(42vw, 520px));
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--mt-border);
}

.mt-home-footer__hero-heading {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  font-family: var(--mt-footer-about-display-font);
  font-size: var(--mt-footer-about-hero-size);
  font-weight: var(--mt-footer-about-title-weight);
  letter-spacing: var(--mt-footer-about-title-tracking);
  line-height: var(--mt-footer-about-title-lh);
  color: var(--mt-charcoal);
}

.mt-home-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-home-footer__about {
  position: relative;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.mt-home-footer__about.mt-home-footer__about-card {
  padding: 24px;
  border-radius: var(--mt-radius-md);
  border: 0;
  border-top: 3px solid var(--mt-accent-static);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.mt-home-footer__about-header {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  border: 0;
}

.mt-home-footer__about-brand {
  flex: 0 0 auto;
  line-height: 0;
  padding: 0;
  background: transparent;
}

.mt-home-footer__about-brand img {
  display: block;
  width: min(var(--mt-footer-about-logo-max-w, 300px), 100%);
  height: auto;
}

.mt-home-footer__about-title {
  display: block;
  width: 100%;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mt-border);
}

.mt-home-footer__about-title-accent {
  display: none;
}

.mt-home-footer__about-title-text {
  font-family: inherit;
  font-size: var(--mt-footer-about-title-size);
  font-weight: var(--mt-footer-about-title-weight);
  letter-spacing: var(--mt-footer-about-title-tracking);
  line-height: var(--mt-footer-about-title-lh);
  color: var(--mt-charcoal);
}

.mt-home-footer__about-description {
  max-width: 100%;
  margin: 0;
  display: grid;
  gap: 16px;
  font-family: inherit;
  color: var(--mt-gray);
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 400;
  line-height: 1.65;
}

.mt-home-footer__about-lead {
  margin: 0;
  padding-bottom: 2px;
  font-family: inherit;
  font-size: var(--mt-footer-about-lead-size);
  font-weight: var(--mt-footer-about-lead-weight);
  line-height: 1.55;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-body {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: var(--mt-gray);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mt-home-footer__about-body .mt-home-footer__about-tagline {
  order: 1;
  margin: 0 0 12px;
  max-width: 52em;
  font-family: var(--mt-footer-about-display-font);
  font-size: var(--mt-footer-about-tagline-size);
  font-weight: var(--mt-footer-about-tagline-weight);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-body .mt-home-footer__about-stats {
  order: 2;
}

.mt-home-footer__about-body .mt-home-footer__about-prose {
  order: 3;
  margin: 0 0 16px;
  max-width: 52em;
  font-size: inherit;
  font-weight: 400;
  line-height: 1.68;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-body ul.mt-home-footer__about-highlights.mt-home-footer__about-highlights--trust {
  order: 4;
}

/* Лід-абзац для «стіни» з адмінки (немає структурних класів пресету) */
.mt-home-footer__about-body:not(:has(.mt-home-footer__about-tagline))
  > p:first-child {
  font-size: var(--mt-footer-about-tagline-size);
  font-weight: var(--mt-footer-about-tagline-weight);
  font-family: var(--mt-footer-about-display-font);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--mt-charcoal);
  margin-bottom: 12px;
}

.mt-home-footer__about-body:not(:has(.mt-home-footer__about-tagline))
  > p:first-child
  + p {
  margin-top: 0;
}

.mt-home-footer__about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
}

.mt-home-footer__about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 10px;
  border-radius: var(--mt-radius-md);
  background: var(--mt-soft);
}

.mt-home-footer__about-stat-number {
  font-family: var(--mt-footer-about-display-font);
  font-size: var(--mt-footer-about-stat-number-size);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--mt-charcoal);
  font-variant-numeric: tabular-nums lining-nums;
}

.mt-home-footer__about-stat-label {
  font-size: var(--mt-footer-about-stat-label-size);
  font-weight: 500;
  line-height: 1.35;
  color: var(--mt-gray);
}

.mt-home-footer__about-body .mt-home-footer__about-subhead {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: var(--mt-footer-about-subhead-size);
  font-weight: var(--mt-footer-about-subhead-weight);
  letter-spacing: var(--mt-footer-about-subhead-tracking);
  text-transform: none;
  line-height: 1.4;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-body ul.mt-home-footer__about-highlights {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  max-width: 52em;
}

.mt-home-footer__about-body ul.mt-home-footer__about-highlights.mt-home-footer__about-highlights--trust {
  max-width: none;
}

.mt-home-footer__about-highlights li {
  margin: 0 0 10px;
  padding: 11px 14px 11px 16px;
  border-left: 3px solid var(--mt-accent-static);
  border-radius: 0 var(--mt-radius-md) var(--mt-radius-md) 0;
  background: rgba(44, 44, 46, 0.06);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-highlights li:last-child {
  margin-bottom: 0;
}

.mt-home-footer__about-highlights--trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mt-home-footer__about-highlights--trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 10px;
  border: 0;
  border-radius: var(--mt-radius-md);
  background: var(--mt-soft);
  min-width: 0;
}

.mt-home-footer__about-highlight-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--mt-radius-sm);
  background: rgba(124, 94, 60, 0.1);
  color: var(--mt-bronze);
}

.mt-home-footer__about-highlight-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.mt-home-footer__about-highlights--trust .mt-home-footer__about-highlight-body strong,
.mt-home-footer__about-highlights--trust .mt-home-footer__about-highlight-body .mt-home-footer__about-highlight-meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mt-home-footer__about-highlight-body strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--mt-charcoal);
}

.mt-home-footer__about-highlight-meta {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--mt-gray);
}

@media (min-width: 992px) {
  .mt-home-footer__about-highlights--trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .mt-home-footer__about-highlights--trust .mt-home-footer__about-highlight-body strong,
  .mt-home-footer__about-highlights--trust .mt-home-footer__about-highlight-body .mt-home-footer__about-highlight-meta {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

.mt-home-footer__about-body .mt-home-footer__about-closing {
  margin: 0;
  max-width: 48em;
  padding-top: 16px;
  border-top: 1px solid var(--mt-border);
  font-size: clamp(15px, 1.08vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--mt-gray);
}

.mt-home-footer__about-description--split .mt-home-footer__about-body {
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 52em;
}

.mt-home-footer__about-lead p:empty,
.mt-home-footer__about-body p:empty {
  display: none;
}

.mt-home-footer__about-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 16px 0 0;
  max-width: fit-content;
}

.mt-home-footer__about-cta-primary.mt-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--mt-footer-about-cta-min-h);
  padding: 12px 24px;
  border-radius: var(--mt-radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  border-bottom: 0;
  cursor: pointer;
}

.mt-home-footer__about-cta-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.mt-home-footer__about-cta-label {
  line-height: 1.25;
  text-align: left;
}

.mt-home-footer__about-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mt-accent-static);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.mt-home-footer__about-cta-secondary::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s;
}

.mt-home-footer__about-cta-secondary:hover,
.mt-home-footer__about-cta-secondary:focus-visible {
  color: var(--mt-charcoal-dark);
  border-bottom-color: var(--mt-charcoal-dark);
  background: transparent;
}

.mt-home-footer__about-cta-secondary:hover::after,
.mt-home-footer__about-cta-secondary:focus-visible::after {
  transform: translateX(2px);
}

.mt-home-footer__about-cta-secondary:focus-visible {
  outline: 2px solid var(--mt-graphite);
  outline-offset: 2px;
}

@media (max-width: 479px) {
  .mt-home-footer__about-cta-row {
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    gap: 10px;
  }

  .mt-home-footer__about-cta-primary.mt-btn-primary {
    width: 100%;
  }

  .mt-home-footer__about-cta-secondary {
    align-self: center;
    min-height: 44px;
  }

  .mt-home-footer__about-stat {
    padding: 10px 8px;
  }
}

.mt-home-footer__about-lead p,
.mt-home-footer__about-body p,
.mt-home-footer__about-lead ul,
.mt-home-footer__about-body ul,
.mt-home-footer__about-lead ol,
.mt-home-footer__about-body ol {
  margin-top: 0;
  margin-bottom: 12px;
}

.mt-home-footer__about-lead p:last-child,
.mt-home-footer__about-body p:last-child,
.mt-home-footer__about-lead ul:last-child,
.mt-home-footer__about-body ul:last-child,
.mt-home-footer__about-lead ol:last-child,
.mt-home-footer__about-body ol:last-child {
  margin-bottom: 0;
}

.mt-home-footer__about-body p + p {
  margin-top: 0.35em;
}

.mt-home-footer__about-lead strong,
.mt-home-footer__about-lead b,
.mt-home-footer__about-body strong,
.mt-home-footer__about-body b {
  color: var(--mt-charcoal);
  font-weight: 800;
}

.mt-home-footer__about-lead a,
.mt-home-footer__about-body a {
  color: var(--mt-accent-static);
  font-weight: 700;
  text-decoration: none;
}

.mt-home-footer__about-lead a:hover,
.mt-home-footer__about-body a:hover {
  text-decoration: underline;
}

.mt-home-footer__about-lead a:focus-visible,
.mt-home-footer__about-body a:focus-visible {
  text-decoration: underline;
  outline: 2px solid var(--mt-graphite);
  outline-offset: 3px;
  border-radius: var(--mt-radius-sm);
}

.mt-home-footer__about-lead ul,
.mt-home-footer__about-lead ol,
.mt-home-footer__about-body ul,
.mt-home-footer__about-body ol {
  padding-left: 1.2em;
}

.mt-home-footer__map-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px 22px 20px;
  border-radius: var(--mt-radius-lg);
  border: 1px solid var(--mt-border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  min-width: 0;
  pointer-events: auto;
}

.mt-home-footer__map-head {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  background: transparent;
}

.mt-home-footer__map-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mt-border);
}

.mt-home-footer__map-title {
  margin: 0;
  padding: 0;
  border: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: var(--mt-footer-map-title-weight, 600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--mt-interface-dark);
}

.mt-home-footer__location-picker {
  position: relative;
  z-index: 3;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 4px 0;
  border: 0;
  background: transparent;
}

.mt-home-footer__location-btn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.mt-home-footer__location-btn:not(.is-active) {
  opacity: 0.72;
}

.mt-home-footer__location-btn:hover,
.mt-home-footer__location-btn:focus-visible {
  opacity: 1;
}

.mt-home-footer__location-btn.is-active {
  opacity: 1;
}

.mt-home-footer__location-btn:focus {
  outline: none;
}

.mt-home-footer__location-btn:focus-visible {
  outline: 2px solid var(--mt-graphite);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-footer__location-btn {
    transition: none;
  }
}

.mt-home-footer__location-icon {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--mt-accent-static);
  line-height: 0;
  opacity: 0.55;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.mt-home-footer__location-btn.is-active .mt-home-footer__location-icon,
.mt-home-footer__location-btn:hover .mt-home-footer__location-icon {
  opacity: 1;
}

.mt-home-footer__location-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.mt-home-footer__location-name {
  font-size: var(--mt-footer-contact-label-size, 11px);
  font-weight: var(--mt-footer-location-label-weight, 500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mt-muted);
}

.mt-home-footer__location-address {
  font-size: 14px;
  font-weight: var(--mt-footer-location-address-weight, 500);
  line-height: 1.45;
  color: var(--mt-charcoal);
  text-wrap: pretty;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
}

.mt-home-footer__location-btn.is-active .mt-home-footer__location-address {
  font-weight: 600;
}

.mt-home-footer__map-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mt-gray);
}

.mt-home-footer__map-row--schedule {
  flex: 0 1 auto;
  align-items: center;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  font-size: 13px;
}

.mt-home-footer__map-icon {
  flex: 0 0 auto;
  color: var(--mt-accent-static);
  margin-top: 2px;
}

.mt-home-footer__map-row--schedule .mt-home-footer__map-icon {
  margin-top: 0;
}

.mt-home-footer__map-row--schedule .mt-home-footer__map-status {
  margin-left: 0;
}

.mt-home-footer__map-row--address {
  align-items: flex-start;
}

.mt-home-footer__map-address-wrap {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.6em;
}

.mt-home-footer__map-address {
  display: block;
  font-weight: 600;
  color: var(--mt-charcoal);
  line-height: 1.45;
  transition: opacity 0.2s ease;
}

.mt-home-footer__map-card.is-map-loading .mt-home-footer__map-address {
  opacity: 0.55;
}

.mt-home-footer__map-schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.mt-home-footer__map-days {
  font-size: var(--mt-footer-contact-label-size, 11px);
  font-weight: var(--mt-footer-meta-label-weight, 500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mt-muted);
}

.mt-home-footer__map-time {
  font-family: inherit;
  font-size: 14px;
  font-weight: var(--mt-footer-location-address-weight, 400);
  color: var(--mt-charcoal);
}

.mt-home-footer__map-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.mt-home-footer__map-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mt-home-footer__map-status-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--mt-muted);
}

.mt-home-footer__map-frame {
  position: relative;
  border-radius: var(--mt-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mt-border);
  background: var(--mt-soft);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.mt-home-footer__map-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.mt-home-footer__map-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}

.mt-home-footer__map-layer.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  /* Instant show: inherited opacity transition kept active layer at 0 until ~380ms elapsed. */
  transition: none;
}

/* Fallback: якщо JS не встиг / не зміг виставити .is-active — перша карта лишається видимою */
.mt-home-footer__map-stack:not(:has(.mt-home-footer__map-layer.is-active))
  > .mt-home-footer__map-layer:first-child {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.mt-home-footer__map-layer iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
  border: 0;
  transition: filter 0.2s ease;
}

.mt-home-footer__map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: rgba(255, 255, 255, 0.55);
  transition: opacity 0.25s ease;
}

.mt-home-footer__map-frame.is-loading::after {
  z-index: 5;
  opacity: 1;
}

.mt-home-footer__map-frame.is-loading::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 3px solid rgba(44, 44, 46, 0.12);
  border-top-color: var(--mt-accent-static);
  animation: mt-home-footer-map-spin 0.75s linear infinite;
  pointer-events: none;
}

.mt-home-footer__map-frame.is-loading iframe {
  filter: none;
}

@keyframes mt-home-footer-map-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-footer__map-frame.is-loading::before {
    animation: none;
    border-color: rgba(44, 44, 46, 0.2);
  }

  .mt-home-footer__map-frame.is-loading iframe {
    filter: none;
  }
}

.mt-home-footer__map-frame > iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  transition: filter 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mt-home-footer__map-layer {
    transition: none;
  }
}

.mt-home-footer__map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mt-home-footer__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--mt-radius-md);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.mt-home-footer__map-btn--outline {
  border: 1px solid var(--mt-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--mt-charcoal);
}

.mt-home-footer__map-btn--outline:hover,
.mt-home-footer__map-btn--outline:focus {
  border-color: var(--mt-bronze);
  background: var(--mt-bronze);
  color: #fff;
}

.mt-home-footer__map-btn.mt-home-footer__map-btn--primary {
  border: 1px solid rgba(44, 44, 46, 0.35);
  background: var(--mt-btn-grad);
  color: #fff;
}

.mt-home-footer__map-btn.mt-home-footer__map-btn--primary:hover,
.mt-home-footer__map-btn.mt-home-footer__map-btn--primary:focus {
  color: #fff;
  background: var(--mt-btn-grad-hover);
  border-color: var(--mt-bronze);
  filter: none;
  box-shadow: var(--mt-btn-shadow-hover);
}

.mt-home-footer__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--mt-border);
}

.mt-home-footer__socials-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 16px;
}

.mt-home-footer__socials-label {
  font-size: var(--mt-footer-contact-label-size, 11px);
  font-weight: var(--mt-footer-meta-label-weight, 500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mt-muted);
  white-space: nowrap;
}

.mt-home-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mt-home-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--mt-border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.mt-home-footer__socials .mt-home-footer__social svg {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
  transition: color 0.2s;
}

.mt-home-footer__socials .mt-home-footer__social--youtube {
  color: #ff0000;
}

.mt-home-footer__socials .mt-home-footer__social--instagram {
  color: #e1306c;
}

.mt-home-footer__socials .mt-home-footer__social--facebook {
  color: #1877f2;
}

.mt-home-footer__social--youtube:hover,
.mt-home-footer__social--youtube:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
  box-shadow: 0 8px 16px rgba(255, 0, 0, 0.25);
  transform: translateY(-4px);
}

.mt-home-footer__social--instagram:hover,
.mt-home-footer__social--instagram:focus-visible {
  background: #e1306c;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 16px rgba(225, 48, 108, 0.25);
  transform: translateY(-4px);
}

.mt-home-footer__social--facebook:hover,
.mt-home-footer__social--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: #fff;
  box-shadow: 0 8px 16px rgba(24, 119, 242, 0.25);
  transform: translateY(-4px);
}

.mt-home-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--mt-footer-nav-grid-gap, 20px);
  padding: var(--mt-footer-nav-section-padding-y, 24px) 0;
}

.mt-home-footer__nav-col {
  min-width: 0;
}

.mt-home-footer__nav-heading {
  display: block;
  margin: 0 0 var(--mt-footer-nav-heading-gap, 8px);
  padding-bottom: var(--mt-footer-nav-heading-gap, 8px);
  border-bottom: 1px solid var(--mt-border);
  font-size: 12px;
  font-weight: var(--mt-footer-nav-heading-weight, 600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mt-interface-dark);
}

.mt-home-footer__nav-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--mt-footer-nav-link-gap, 4px);
}

.mt-home-footer__nav-col--contacts ul {
  gap: var(--mt-footer-nav-contact-gap, 10px);
}

.mt-home-footer__nav-col a:not(.mt-home-footer__contact-link) {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mt-footer-nav-link-color, #5a5a66);
  text-decoration: none;
  font-weight: var(--mt-footer-nav-link-weight, 400);
  text-wrap: pretty;
  transition: color 0.2s ease;
}

.mt-home-footer__nav-col a:hover,
.mt-home-footer__nav-col a:focus {
  color: var(--mt-accent-static);
}

.mt-home-footer__nav-col a:focus-visible {
  outline: 2px solid var(--mt-bronze);
  outline-offset: 2px;
  border-radius: 2px;
}

.mt-home-footer__contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--mt-footer-nav-link-color, #5a5a66);
  text-decoration: none;
  font-weight: var(--mt-footer-nav-link-weight, 400);
}

.mt-home-footer__contact-link:hover,
.mt-home-footer__contact-link:focus {
  color: var(--mt-accent-static);
}

.mt-home-footer__contact-link:hover .mt-home-footer__contact-phone,
.mt-home-footer__contact-link:focus .mt-home-footer__contact-phone {
  color: var(--mt-accent-static);
}

.mt-home-footer__contact-phone {
  display: block;
  color: var(--mt-charcoal);
  font-weight: var(--mt-footer-contact-phone-weight, 500);
}

.mt-home-footer__contact-link small {
  display: block;
  margin-top: 2px;
  font-size: var(--mt-footer-nav-contact-label-size, 12px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--mt-muted);
}

.mt-home-footer__contact-icon {
  flex: 0 0 auto;
  color: var(--mt-accent-static);
  margin-top: 1px;
}

.mt-home-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--mt-border);
  color: var(--mt-gray);
}

.mt-home-footer__legal {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.mt-home-footer__legal a {
  color: var(--mt-accent-static);
  font-weight: 700;
  text-decoration: none;
}

.mt-home-footer__legal a:hover,
.mt-home-footer__legal a:focus {
  text-decoration: underline;
}

.mt-home-footer__legal-sep {
  margin: 0 8px;
  opacity: 0.45;
}

.mt-home-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.mt-home-footer__payments-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mt-gray);
}

.mt-home-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--mt-border);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--mt-charcoal);
}

@media (min-width: 1200px) {
  .mt-home-footer__map-card {
    position: sticky;
    top: 96px;
  }
}

@media (max-width: 1199px) {
  .mt-home-footer__inner {
    padding: 40px 20px 36px;
  }

  .mt-home-footer__hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mt-home-footer__map-card {
    position: relative;
    top: auto;
  }
}

@media (max-width: 1023px) {
  .mt-home-footer__inner {
    padding: 36px 20px 32px;
  }

  .mt-home-footer__hero {
    gap: 28px;
    padding-bottom: 32px;
  }

  .mt-home-footer__nav {
    gap: 16px;
  }

  .mt-home-footer__map-headline {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mt-home-footer__map-row--schedule {
    margin-left: 0;
    width: 100%;
  }

  .mt-home-footer__map-status {
    margin-left: 0;
    width: 100%;
  }

  .mt-home-footer__map-schedule {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .mt-home-footer__inner {
    padding: 28px 16px 24px;
  }

  .mt-home-footer__meta-row {
    justify-content: center;
  }

  .mt-home-footer__socials-block {
    justify-content: center;
    width: 100%;
  }

  .mt-home-footer__socials-label {
    flex-basis: 100%;
    text-align: center;
  }

  .mt-home-footer__nav {
    grid-template-columns: 1fr;
    gap: var(--mt-footer-nav-mobile-col-gap, 40px);
  }

  .mt-home-footer__nav-col--contacts {
    order: -1;
  }

  .mt-home-footer__nav-col a:not(.mt-home-footer__contact-link) {
    padding: 2px 0;
    min-height: 0;
  }

  .mt-home-footer__contact-link {
    min-height: 44px;
    padding: 8px 0;
  }

  .mt-home-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mt-home-footer__payments {
    justify-content: center;
  }

  .mt-home-footer__legal {
    text-align: center;
  }
}

@media (max-width: 479px) {
  .mt-home-footer__nav {
    grid-template-columns: 1fr;
  }

  .mt-home-footer__map-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .mt-home-footer__inner {
    padding: 24px 12px 20px;
  }

  .mt-home-footer__map-card {
    padding: 16px;
  }

  .mt-home-footer__store {
    padding: 14px;
  }
}

.mt-home-drawer,
.mt-home-sample-modal {
  position: fixed;
  z-index: 90;
}

.mt-home-drawer {
  top: 0;
  left: 0;
  bottom: 0;
  width: min(304px, 88vw);
  max-width: 100vw;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.25s;
  box-shadow: 18px 0 50px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  pointer-events: none;
}

.mt-home-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.mt-home-drawer__head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--mt-border);
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.mt-home-drawer__head-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.mt-home-drawer__head-text strong {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--mt-charcoal);
}

.mt-home-drawer__tagline {
  font-size: 12px;
  line-height: 1.35;
  color: var(--mt-gray);
}

.mt-home-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 12px 12px;
}

.mt-home-drawer .mt-home-side-nav--accordion {
  padding: 0;
}

.mt-home-drawer__foot {
  flex-shrink: 0;
  padding: 16px 16px 20px;
  border-top: 1px solid var(--mt-border);
  background: var(--mt-soft);
}

.mt-home-drawer__sample-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--mt-border);
  border-radius: var(--mt-radius-md);
  background: #fff;
  color: var(--mt-charcoal);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.mt-home-drawer__sample-btn:hover,
.mt-home-drawer__sample-btn:focus-visible {
  border-color: #dfe1e6;
  box-shadow: 0 6px 20px rgba(26, 26, 27, 0.08);
}

.mt-home-drawer__sample-btn:focus-visible {
  outline: 2px solid var(--mt-graphite);
  outline-offset: 2px;
}

.mt-home-drawer__sample-btn-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--mt-radius-md);
  background: #f0f1f3;
  color: var(--mt-charcoal);
}

.mt-home-drawer__sample-btn-text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.mt-home-drawer__sample-hint {
  margin: 10px 0 0;
  padding: 0 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--mt-gray);
  text-align: center;
}

.mt-home-sample-modal {
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mt-home-sample-modal.is-open {
  display: flex;
  pointer-events: auto;
}

.mt-home-sample-modal__dialog {
  position: relative;
  z-index: 100;
  width: min(480px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  border-radius: var(--mt-radius-lg);
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
}

.mt-home-sample-modal__hero {
  container-type: inline-size;
  padding: 20px 20px 22px;
  background: var(--mt-soft);
  color: var(--mt-charcoal);
  border-bottom: 1px solid var(--mt-border);
}

.mt-home-sample-modal__hero-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mt-home-sample-modal__hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--mt-radius-md);
  border: 1px solid var(--mt-border);
  background: #fff;
  color: var(--mt-charcoal);
}

.mt-home-sample-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mt-gray);
  cursor: pointer;
  transition:
    color 0.2s,
    opacity 0.2s;
}

.mt-home-sample-modal__close:hover,
.mt-home-sample-modal__close:focus {
  color: var(--mt-charcoal);
  opacity: 1;
  outline: 0;
}

.mt-home-sample-modal__heading {
  margin: 18px 0 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(20px, 4.2vw, 24px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--mt-charcoal);
}

.mt-home-sample-modal__lead {
  margin: 8px 0 0;
  width: 100%;
  max-width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(10px, 3.5cqi, 13px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--mt-gray);
}

.mt-home-sample-modal__sheet {
  padding: 24px 20px 22px;
  background: #fff;
}

.mt-home-sample-modal__form {
  display: grid;
  gap: 18px;
}

.mt-home-sample-modal__field {
  display: grid;
  gap: 8px;
}

.mt-home-sample-modal__field label,
.mt-home-sample-modal__chips-legend {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #757575;
}

.mt-home-sample-modal__form input,
.mt-home-sample-modal__form textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d1d1d1;
  border-radius: var(--mt-radius-md);
  background: #fff;
  color: var(--mt-charcoal);
  font-size: 14px;
  font-family: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.mt-home-sample-modal__form textarea {
  height: auto;
  min-height: 88px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

.mt-home-sample-modal__form input::placeholder,
.mt-home-sample-modal__form textarea::placeholder {
  color: #a3a3a3;
}

.mt-home-sample-modal__form input:focus,
.mt-home-sample-modal__form textarea:focus {
  outline: 0;
  border-color: rgba(44, 44, 46, 0.35);
  box-shadow: 0 0 0 1px rgba(44, 44, 46, 0.12);
}

.mt-home-sample-modal__chips {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.mt-home-sample-modal__chips-legend {
  padding: 0;
  margin: 0 0 10px;
}

.mt-home-sample-modal__chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mt-home-sample-modal__chip {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border-radius: var(--mt-radius-md);
  border: 1px solid #d1d1d1;
  background: #f7f8fa;
  font-size: 13px;
  color: var(--mt-charcoal);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.mt-home-sample-modal__chip:hover {
  border-color: #bdbdbd;
  background: #fff;
}

.mt-home-sample-modal__chip:has(input:focus-visible) {
  outline: 2px solid var(--mt-graphite);
  outline-offset: 2px;
}

.mt-home-sample-modal__chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.mt-home-sample-modal__chip-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: var(--mt-radius-sm);
  color: #757575;
  transition:
    color 0.2s,
    background 0.2s;
}

.mt-home-sample-modal__chip-label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.mt-home-sample-modal__chip-price {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #616161;
  margin-top: 3px;
}

.mt-home-sample-modal__total {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  color: #424242;
}

.mt-home-sample-modal__chip:has(:checked) {
  border-color: var(--mt-graphite);
  background: rgba(124, 94, 60, 0.08);
  box-shadow: inset 3px 0 0 var(--mt-graphite);
}

.mt-home-sample-modal__chip:has(:checked) .mt-home-sample-modal__chip-icon {
  color: var(--mt-bronze);
  background: rgba(124, 94, 60, 0.12);
}

.mt-home-sample-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin: 2px 0 0;
  padding: 0 18px;
  border: 0;
  border-radius: var(--mt-radius-md);
  background: var(--mt-btn-grad);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--mt-btn-shadow);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.mt-home-sample-modal__submit:hover,
.mt-home-sample-modal__submit:focus {
  background: var(--mt-btn-grad-hover);
  box-shadow: var(--mt-btn-shadow-hover);
  outline: 0;
}

.mt-home-sample-modal__submit svg {
  flex-shrink: 0;
  stroke: #fff;
}

.mt-home-sample-modal__note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.45;
  color: #757575;
}

.mt-home-lead__form.is-loading button,
.mt-home-lead__form.is-loading input,
.mt-home-lead__form.is-loading textarea {
  pointer-events: none;
  opacity: 0.75;
}

.mt-home-lead__form.is-sent button,
.mt-home-lead__form.is-sent input,
.mt-home-lead__form.is-sent textarea {
  pointer-events: none;
  opacity: 0.85;
}

.mt-home-sample-modal__form.is-sent .mt-home-sample-modal__submit {
  pointer-events: none;
  opacity: 0.75;
}

.mt-home-sample-modal__optional {
  font-weight: 400;
  color: inherit;
}

.mt-home-sample-modal__error {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--mt-radius-md);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

.mt-home-sample-modal__success {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--mt-radius-md);
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  font-size: 13px;
  line-height: 1.45;
}

.mt-home-sample-modal__form.is-loading .mt-home-sample-modal__submit {
  pointer-events: none;
  opacity: 0.85;
}

.mt-home-sample-modal__form.is-loading .mt-home-sample-modal__submit-text::after {
  content: "…";
}

.mt-home-sample-modal__form.is-sent .mt-home-sample-modal__field,
.mt-home-sample-modal__form.is-sent .mt-home-sample-modal__chips {
  opacity: 0.55;
  pointer-events: none;
}

.mt-home-form {
  display: grid;
  gap: 12px;
}

@media (max-width: 1399px) {
  .mt-home-product-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mt-home-hero {
    height: 540px;
  }
  .mt-home-header__inner {
    height: 72px;
    padding: 0 22px;
    gap: 18px;
  }
  .mt-home-header__brand {
    min-width: 260px;
  }
  .mt-home-header__logo img {
    height: 50px;
    max-width: 248px;
  }
  .mt-home-header__search {
    flex-basis: 460px;
    min-width: 260px;
    max-width: 38%;
  }
  .mt-home-contact__button,
  .mt-home-partner,
  .mt-home-cart {
    padding-left: 11px;
    padding-right: 11px;
  }
}

@media (max-width: 1199px) {
  .mt-home-header__burger {
    display: inline-flex;
  }
  .mt-home-sidebar {
    display: none;
  }
  .mt-home-header__brand {
    min-width: auto;
  }
  .mt-home-contact__button-label {
    display: none;
  }

  /* Двохрядкова шапка разом із burger (≤1199): інакше 1024–1199px лишається flex + min-width пошуку → горизонтальний скрол / «зламаний» планшет */
  .mt-home-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    height: auto;
    min-height: 64px;
    padding-top: 4px;
    padding-bottom: 12px;
  }

  .mt-home-header__brand {
    grid-column: 1;
    grid-row: 1;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
  }

  .mt-home-header__logo {
    min-width: 0;
  }

  .mt-home-header__actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
    flex-shrink: 0;
    gap: 6px;
  }

  #mt-shell-search-form,
  #mt-shell-search-form-checkout,
  form.mt-home-header__search.mt-shell-search,
  .mt-home #mt-home-search-form.mt-home-header__search {
    grid-column: 1 / -1;
    grid-row: 2;
    flex: none;
    max-width: none;
    min-width: 0;
    width: 100%;
    overflow: visible;
  }
}

@media (max-width: 1023px) {
  .mt-home-hero {
    height: 480px;
  }
  .mt-home-hero__content {
    width: min(500px, calc(100% - 64px));
    margin: 0 32px;
    gap: 9px;
  }
  .mt-home-container {
    padding: 54px 24px;
  }
  .mt-home-niche__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .mt-home-header__inner {
    min-height: 56px;
    height: auto;
    padding: 6px 10px 8px;
    column-gap: 6px;
    row-gap: 8px;
  }

  .mt-home-header__brand {
    gap: 4px;
  }

  .mt-home-header__actions {
    gap: 0;
  }

  .mt-home-header__logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mt-home-header__logo img {
    height: var(--mt-shell-logo-h-mobile, 52px);
    max-width: var(--mt-shell-logo-max-w-mobile, min(62vw, 220px));
  }

  .mt-home-contact__button-icon svg,
  .mt-home-partner__icon svg,
  .mt-home-cart__icon svg {
    width: 18px;
    height: 18px;
  }

  .mt-home-header .mt-home-icon-button {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .mt-home-icon-button,
  .mt-home-contact__button,
  .mt-home-partner,
  .mt-home-cart {
    width: 34px;
    height: 34px;
    min-width: 34px;
    padding: 0;
  }
  .mt-home-contact__button-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 6px;
    height: 6px;
  }
  .mt-home-cart__count {
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
    padding: 0 4px;
  }
  .mt-home-contact__dropdown {
    position: fixed;
    top: var(--mt-shell-header-bottom, 76px);
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100vh - 92px);
    padding: 0;
    overflow-y: auto;
  }
  .mt-home-contact__dropdown::before {
    display: none;
  }
  .mt-home-hero {
    height: 400px;
  }
  .mt-home-hero__content {
    width: calc(100% - 40px);
    margin: 0 20px;
    gap: 8px;
    max-height: calc(100% - 32px);
  }
  .mt-home-hero__content h1,
  .mt-home-hero__title {
    font-size: clamp(20px, 6.2vw, 28px);
    -webkit-line-clamp: 3;
  }
  .mt-home-hero__subtitle {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .mt-home-hero__ctas {
    gap: 6px;
  }
  .mt-home-hero__cta,
  .mt-home-hero__cta--secondary {
    min-height: 36px;
    padding: 0 12px;
    font-size: 10px;
  }
  .mt-home-hero__badges {
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .mt-home-hero__arrow {
    display: none;
  }
  .mt-home-container {
    padding: 42px 16px;
  }
  .mt-home-section {
    margin-bottom: 58px;
  }
  .mt-home-section__head {
    margin-bottom: 22px;
  }
  .mt-home-section__head h2 {
    font-size: 30px;
  }
  .mt-home-niche__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .mt-home-niche-card__body {
    padding: 14px 14px 12px;
  }
  .mt-home-niche-card__text {
    gap: 4px;
    padding-left: 10px;
    border-left-width: 3px;
  }
  .mt-home-niche-card__body h3 {
    font-size: 15px;
  }
  .mt-home-niche-card__layer--desc {
    display: none;
  }
  .mt-home-niche-card__layer--subs li {
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;
    padding: 3px 6px;
  }
  .mt-home-tabs {
    overflow-x: auto;
  }
  .mt-home-tabs button {
    flex: 0 0 auto;
    padding: 14px 18px;
  }
  .mt-home-product-panel {
    grid-template-columns: 1fr;
  }
  .mt-home-product__price-now {
    font-size: 18px;
  }
}

/* Desktop ≥1200px: явний flex-шапка + сайдбар (страховка, якщо mobile grid «залип») */
@media (min-width: 1200px) {
  /* Burger лише на головній: там є постійний sidebar; inner — drawer через burger */
  body.mt-home-page .mt-home-header__burger {
    display: none !important;
  }

  body.mt-inner-page:not(.mt-shell-variant-checkout) .mt-home-header__burger {
    display: inline-flex !important;
  }

  .mt-home-sidebar {
    display: block !important;
  }

  .mt-home-header__inner {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    height: 76px;
    min-height: 0;
    grid-template-columns: unset;
    grid-template-rows: unset;
  }

  .mt-home-header__brand,
  .mt-home-header__actions {
    grid-column: unset;
    grid-row: unset;
  }

  .mt-home-header__actions {
    margin-left: auto;
  }

  :is(#mt-shell-search-form, #mt-shell-search-form-checkout, form.mt-home-header__search.mt-shell-search, .mt-home #mt-home-search-form.mt-home-header__search) {
    grid-column: unset;
    grid-row: unset;
    flex: 1 1 560px;
    max-width: 40%;
    min-width: 300px;
    width: auto;
  }
}

@media (min-width: 1600px) {
  .mt-home-hero {
    height: 650px;
  }
}

/* --- interaction.scroll_hover: home page (touch/mobile) --- */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  body.mt-scroll-hover-enabled .mt-home-product.mt-scroll-hover,
  body.mt-scroll-hover-enabled .mt-home-product:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  }

  body.mt-scroll-hover-enabled .mt-home-product .mt-home-product__media .addit-action {
    opacity: 0;
    z-index: -1;
  }

  body.mt-scroll-hover-enabled .mt-home-product.mt-scroll-hover .mt-home-product__media .addit-action,
  body.mt-scroll-hover-enabled .mt-home-product:focus-within .mt-home-product__media .addit-action {
    opacity: 1;
    z-index: 2;
  }

  body.mt-scroll-hover-enabled .mt-home-product.mt-scroll-hover .mt-home-product__details,
  body.mt-scroll-hover-enabled .mt-home-product:focus-within .mt-home-product__details {
    background: var(--mt-graphite);
    border-color: var(--mt-graphite);
    color: #fff;
  }

  body.mt-scroll-hover-enabled .mt-home-product.mt-scroll-hover .mt-home-product__details-icon,
  body.mt-scroll-hover-enabled .mt-home-product:focus-within .mt-home-product__details-icon {
    width: 16px;
    margin-left: 6px;
    opacity: 1;
  }
}
