

/* Start:/local/components/xone/where.to.buy/templates/.default/style.css?179138192141283*/
/* Где купить X-ONE — стили страницы. Все классы с префиксом xw-, чтобы не пересекаться со стилями шаблона сайта. */

.xw {
  --xw-ink: #20232c;
  --xw-ink-2: #3c3f48;
  --xw-muted: #5f6370;
  --xw-tab-muted: #4f535e;
  --xw-dark: #1a1a1a;
  --xw-red: #d32424;
  --xw-red-text: #b41f1f;
  --xw-red-tint: #fbe9e9;
  --xw-line: #e4e4e1;
  --xw-line-2: #cfcfca;
  --xw-line-3: #c9c9c3;
  --xw-panel: #f3f3f1;
  --xw-sticky-top: 0px;
  font-family: montserrat, Montserrat, "Helvetica Neue", Arial, sans-serif;
  color: var(--xw-ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.xw *, .xw *::before, .xw *::after { box-sizing: border-box; }
.xw [hidden] { display: none !important; }
.xw :where(p, h1, h2, h3, h4, ul, dl, dd) { margin: 0; padding: 0; }
.xw :where(ul) { list-style: none; }
.xw :where(img) { display: block; max-width: 100%; height: auto; }
.xw :where(a) { color: inherit; text-decoration: none; }
.xw :where(button) { font-family: inherit; cursor: pointer; }
.xw svg { flex-shrink: 0; }
.xw-brand { font-family: KonexyPersonalUse, "Konexy Personal Use", montserrat, sans-serif; font-weight: 400; white-space: nowrap; }
.xw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.xw-container { max-width: 1262px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.xw :focus-visible { outline: 2px solid var(--xw-red); outline-offset: 2px; }

@media (min-width: 768px) { .xw .xw-only-sm { display: none !important; } }
@media (max-width: 767px) { .xw .xw-only-lg { display: none !important; } }
/* Точки карты магазинов: свои раскладки подписей для широкой (от 1262px) и средней сцены. */
@media (max-width: 767px) { .xw .xw-only-md, .xw .xw-only-xl { display: none !important; } }
@media (min-width: 768px) and (max-width: 1261px) { .xw .xw-only-xl { display: none !important; } }
@media (min-width: 1262px) { .xw .xw-only-md { display: none !important; } }

/* ---------- Кнопки ---------- */
.xw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.xw-btn--lg { min-height: 52px; padding: 0 26px; gap: 10px; }
.xw-btn--block { display: flex; width: 100%; }
.xw-btn--red { background: var(--xw-red); color: #fff; }
.xw-btn--red:hover { background: #b81d1d; color: #fff; }
.xw-btn--dark { background: var(--xw-ink); color: #fff; }
.xw-btn--dark:hover { background: #000; color: #fff; }
.xw-btn--outline { border-color: var(--xw-ink); color: var(--xw-ink); background: transparent; }
.xw-btn--outline:hover { background: var(--xw-ink); color: #fff; }
.xw-btn--outline-dark { border-color: var(--xw-ink); color: var(--xw-ink); background: #fff; }
.xw-btn--outline-dark:hover { background: var(--xw-ink); color: #fff; }
.xw-btn--soft { border-color: var(--xw-line-3); font-weight: 600; }
.xw-btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; font-weight: 600; }
.xw-btn--outline-light:hover { border-color: #fff; }
.xw-btn--ghost { border-color: var(--xw-line-3); background: #fff; color: var(--xw-ink); font-weight: 600; }
.xw-btn--ghost:hover { border-color: var(--xw-ink); }

.xw-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.xw-badge--dark { padding: 4px 10px; background: var(--xw-dark); color: #fff; }
.xw-badge--outline { padding: 3px 10px; background: #fff; border: 1px solid var(--xw-line-3); color: var(--xw-ink); }
.xw-badge--mv { padding: 4px 10px; background: var(--xw-red-tint); color: var(--xw-red-text); }

.xw-h2 { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.01em; }
.xw-h2--xl { font-size: 44px; line-height: 1.05; letter-spacing: -0.015em; }
.xw-h3 { font-size: 22px; line-height: 1.25; font-weight: 800; }
.xw-text { font-size: 16px; line-height: 1.6; color: var(--xw-ink-2); }

/* ---------- Поиск, чипсы ---------- */
.xw-search { position: relative; }
.xw-search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--xw-muted); pointer-events: none; }
.xw-search input {
  -webkit-appearance: none; appearance: none; width: 100%; height: 50px; margin: 0;
  padding: 0 16px 0 46px; border: 1px solid var(--xw-line-2); border-radius: 10px; background: #fff;
  color: var(--xw-ink); font-family: inherit; font-size: 15px; font-weight: 500; outline: none;
}
.xw-search input:focus { border-color: var(--xw-ink); }
.xw-search input::placeholder { color: #8b8e96; }

.xw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.xw-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--xw-line-2); background: #fff; color: var(--xw-ink);
  font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.xw-chip.is-active { background: var(--xw-ink); border-color: var(--xw-ink); color: #fff; }
.xw-stores .xw-chips { gap: 6px; }
.xw-stores .xw-chip { gap: 6px; padding: 0 12px; }
.xw-chip__n { font-variant-numeric: tabular-nums; opacity: .7; }

/* ---------- Первый экран ---------- */
.xw-hero { padding-top: 20px; padding-bottom: 48px; }
.xw-crumbs { display: flex; align-items: center; flex-wrap: wrap; font-size: 14px; line-height: 1.4; }
.xw-crumbs > a { opacity: .5; }
.xw-crumbs > a:hover { opacity: 1; color: var(--xw-red); }
.xw-crumbs > span[aria-hidden] { padding: 0 10px; opacity: .5; }
.xw-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; margin-top: 32px; }
.xw-hero__text { flex: 1 1 380px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 22px; }
.xw-h1 { font-size: 60px; line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; color: var(--xw-ink); }
.xw-h1__brand { font-size: 64px; letter-spacing: .02em; }
.xw-lead { font-size: 17px; line-height: 1.6; color: var(--xw-ink-2); max-width: 470px; }
.xw-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.xw-hero__map { flex: 999 1 520px; min-width: 0; position: relative; height: 340px; border-radius: 20px; background: var(--xw-dark); overflow: hidden; }
/* Контур России на схемах: область .xw-geo внутри карты, в ней сцена .xw-stage с пропорциями показываемой
   области (--a), вписанная по ширине и высоте (--ah — высота области). Точки стоят в процентах сцены,
   контур страны (--sl/--st/--sw/--sh) может выходить за сцену — его обрезает рамка карты. */
.xw-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.xw-geo { position: absolute; display: flex; align-items: center; justify-content: center; }
.xw-stage { position: relative; flex: none; width: 100%; max-width: calc(var(--ah) * var(--a)); }
.xw-stage::before { content: ""; display: block; padding-top: calc(100% / var(--a)); }
.xw-geo__svg { position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh); overflow: visible; pointer-events: none; }
.xw-geo__land { fill: #fbfbfa; stroke: #c9c9c3; stroke-width: 1; stroke-linejoin: round; }
.xw-geo__grid { stroke: rgba(32,35,44,.07); stroke-width: 1; }
.xw-hero__map .xw-geo { top: 16px; right: 16px; bottom: 16px; left: 16px; --ah: 308px; }
.xw-hero__map .xw-geo__land { fill: #28282b; stroke: rgba(255,255,255,.2); }
.xw-hero__map .xw-geo__grid { stroke: rgba(255,255,255,.05); }
.xw-dot { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.xw-dot::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(211,36,36,.24); }
.xw-dot--multi::before { width: 22px; height: 22px; }
.xw-dot::after { content: ""; position: absolute; left: 0; top: 0; width: 7px; height: 7px; transform: translate(-50%, -50%); border-radius: 50%; background: #ef3d3d; }
.xw-hero__caption { position: absolute; left: 22px; top: 20px; font-size: 13px; font-weight: 600; color: #a7a9b0; font-variant-numeric: tabular-nums; }
.xw-dot .xw-lbl { color: #d6d7db; }

/* Подписи городов на схемах: сторона рассчитана в компоненте, --o — отступ от центра точки. */
.xw-lbl { position: absolute; z-index: 1; white-space: nowrap; font-size: 11px; line-height: 1; font-weight: 600; pointer-events: none; }
.xw-lbl--r { left: var(--o); top: 0; transform: translateY(-50%); }
.xw-lbl--l { right: var(--o); top: 0; transform: translateY(-50%); }
.xw-lbl--b { left: 0; top: calc(var(--o) - 2px); transform: translateX(-50%); }
.xw-lbl--t { left: 0; bottom: calc(var(--o) - 2px); transform: translateX(-50%); }
.xw-lbl--tr { left: calc(var(--o) * .6); bottom: calc(var(--o) * .6); }
.xw-lbl--br { left: calc(var(--o) * .6); top: calc(var(--o) * .6); }
.xw-lbl--tl { right: calc(var(--o) * .6); bottom: calc(var(--o) * .6); }
.xw-lbl--bl { right: calc(var(--o) * .6); top: calc(var(--o) * .6); }
.xw-lbl.is-auto { display: none; }
@media (max-width: 767px) {
  .xw-lbl { font-size: 10px; }
  .xw .xw-dot, .xw .xw-pin { left: var(--mx); top: var(--my); }
}

/* ---------- Табы ---------- */
.xw-tabsbar { position: -webkit-sticky; position: sticky; top: var(--xw-sticky-top); z-index: 20; background: rgba(248,248,248,.96); border-top: 1px solid var(--xw-line); border-bottom: 1px solid var(--xw-line); }
.xw-tabsbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.xw-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: #ebebe8; }
.xw-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px;
  border: 0; border-radius: 9px; background: transparent; color: var(--xw-tab-muted); font-size: 15px; font-weight: 600; white-space: nowrap;
}
.xw-tab.is-active { background: #fff; color: var(--xw-ink); font-weight: 700; box-shadow: 0 1px 3px rgba(32,35,44,.12); }
.xw-tab__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: #d6d6d1; color: #2d3039; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.xw-tab.is-active .xw-tab__count { background: var(--xw-red); color: #fff; }
.xw-tab__logo { display: block; height: 20px; width: auto; max-width: 96px; object-fit: contain; }
.xw-tabsbar__search { flex: 0 1 380px; min-width: 260px; }

/* ---------- Магазины ---------- */
.xw-stores { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; padding-top: 28px; padding-bottom: 72px; }
.xw-stores__side { flex: 1 1 452px; max-width: 470px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.xw-stores__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xw-result { font-size: 14px; font-weight: 500; color: var(--xw-muted); min-width: 0; }
.xw-list { height: 780px; overflow-y: auto; margin: 0 -18px !important; padding: 0 18px !important; display: flex; flex-direction: column; }
.xw-store { padding: 18px; box-shadow: inset 0 -1px 0 var(--xw-line); border-radius: 0; background: transparent; }
.xw-store.is-selected { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #e1e1dc, 0 10px 28px rgba(32,35,44,.08); margin: 4px 0; }
.xw-store__main { display: flex; flex-direction: column; gap: 6px; width: 100%; margin: 0; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; }
.xw-store__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xw-store__city { font-size: 13px; font-weight: 600; color: var(--xw-muted); min-width: 0; }
.xw-store__name { font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--xw-ink); }
.xw-store__addr { font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--xw-ink-2); }
.xw-store__hours { font-size: 13px; font-weight: 500; color: var(--xw-muted); font-variant-numeric: tabular-nums; }
.xw-store__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 10px; }
.xw-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 16px; font-weight: 700; color: var(--xw-ink); font-variant-numeric: tabular-nums; }
.xw-phone svg { color: var(--xw-red); }
.xw-phone:hover { color: var(--xw-red); }
.xw-store__route { display: none; min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 14px; }
.xw-mvlink { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 14px; font-weight: 700; color: var(--xw-red-text); }
.xw-mvlink:hover { color: var(--xw-red); }
.xw-mvlink svg { width: 14px; height: 14px; }
.xw-area { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); font-size: 14px; line-height: 1.4; color: var(--xw-ink-2); }
.xw-area b { color: var(--xw-ink); }
.xw-area__reset { flex-shrink: 0; padding: 4px 0; border: 0; background: none; color: var(--xw-red-text); font-size: 14px; font-weight: 700; }
.xw-area__reset:hover { color: var(--xw-red); }
.xw-store.is-selected .xw-store__route { display: inline-flex; }
.xw-more { display: flex; width: 100%; min-height: 50px; border-radius: 12px; background: transparent; }
.xw-empty { padding: 28px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.xw-empty__title { font-size: 17px; font-weight: 700; }
.xw-empty__text { font-size: 15px; line-height: 1.5; color: var(--xw-ink-2); }

.xw-stores__map { flex: 999 1 480px; min-width: 0; }
.xw-map {
  position: relative; height: 876px; border-radius: 20px; overflow: hidden;
  background-color: #ececea; background-image: radial-gradient(#d6d6d1 1px, transparent 1.2px); background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px #e1e1dc;
}
.xw-map__schema { position: absolute; inset: 0; }
.xw-map .xw-geo { top: 76px; right: 16px; bottom: 268px; left: 16px; --ah: 532px; }
.xw-map--mv .xw-geo { top: 60px; bottom: 16px; --ah: 324px; }
.xw-map__ymap { position: absolute; inset: 0; }
.xw-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; z-index: 2; }
.xw-pin.is-selected { z-index: 4; }
.xw-pin.is-selected::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(211,36,36,.16); }
.xw-pin__btn {
  position: absolute; left: 0; top: 0; width: 14px; height: 14px; padding: 0; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #fff;
  background: var(--xw-red); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; box-shadow: 0 2px 6px rgba(32,35,44,.3);
}
.xw-pin--dealer .xw-pin__btn { background: var(--xw-ink); }
.xw-pin--mv .xw-pin__btn { background: #fff; border: 2.5px solid var(--xw-red); color: var(--xw-red-text); box-shadow: 0 1px 4px rgba(32,35,44,.22); }
.xw-pin--multi .xw-pin__btn { width: 22px; height: 22px; }
.xw-pin.is-selected .xw-pin__btn { width: 26px; height: 26px; border-width: 3px; }
.xw-map--mv .xw-pin--mv.is-active .xw-pin__btn { background: var(--xw-red); border-color: #fff; color: #fff; }
.xw-pin.is-active { z-index: 3; }
.xw-pin__btn:focus-visible { outline: 2px solid var(--xw-ink); outline-offset: 2px; }
.xw-pin__label { color: var(--xw-muted); }
.xw .xw-pin.is-selected .xw-pin__label, .xw .xw-pin.is-active .xw-pin__label { display: block; color: var(--xw-ink); font-weight: 800; }
/* Подпись точки без места на схеме — при наведении. */
.xw-pin:hover { z-index: 5; }
.xw .xw-pin:hover .xw-pin__label, .xw .xw-pin:focus-within .xw-pin__label { display: block; color: var(--xw-ink); }
.xw-pin.is-hidden { display: none; }
.xw-map__legend {
  position: absolute; left: 18px; top: 18px; z-index: 5; display: flex; flex-wrap: wrap; gap: 16px; padding: 10px 14px;
  border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 1px 3px rgba(32,35,44,.12);
  font-size: 12px; font-weight: 600; color: var(--xw-ink-2);
}
.xw-map__legend > span { display: inline-flex; align-items: center; gap: 7px; }
.xw-legend-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--xw-red); box-shadow: 0 0 0 2px #fff; }
.xw-legend-dot--dealer { background: var(--xw-ink); }
.xw-legend-dot--mv { background: #fff; box-shadow: inset 0 0 0 2px var(--xw-red); }
.xw-map__hint { position: absolute; left: 18px; top: 18px; z-index: 5; margin: 0; padding: 9px 13px; border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 1px 3px rgba(32,35,44,.12); font-size: 12px; font-weight: 600; color: var(--xw-ink-2); }
.xw-map.is-ymap .xw-map__hint { display: none; }
.xw-map--mv { height: 400px; margin-top: 22px; }
.xw-map__zoom { position: absolute; right: 18px; top: 18px; z-index: 5; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 3px rgba(32,35,44,.14); }
.xw-map__zoom button { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: #fff; color: var(--xw-ink); cursor: default; }
.xw-map__zoom button + button { border-top: 1px solid #e3e3df; }
.xw-map.is-ymap .xw-map__zoom { display: none; }

.xw-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 6; width: 350px; max-width: calc(100% - 36px);
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 30px rgba(32,35,44,.16), 0 0 0 1px rgba(32,35,44,.06);
}
.xw-card__top { display: flex; align-items: center; gap: 8px; }
.xw-card__city { font-size: 13px; font-weight: 600; color: var(--xw-muted); }
.xw-card__name { font-size: 18px; line-height: 1.25; font-weight: 700; }
.xw-card__addr { font-size: 14px; line-height: 1.45; color: var(--xw-ink-2); }
.xw-card__hours { font-size: 13px; font-weight: 500; color: var(--xw-muted); font-variant-numeric: tabular-nums; }
.xw-card__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.xw-card__phone svg { color: var(--xw-red); }
.xw-card__btns { display: flex; gap: 8px; margin-top: 10px; }
.xw-card__route { min-height: 44px; padding: 0 16px; border-radius: 9px; border-color: var(--xw-ink); background: #fff; color: var(--xw-ink); font-size: 14px; }
.xw-card__route:hover { background: var(--xw-ink); color: #fff; }

/* ---------- Интернет-магазины ---------- */
.xw-online { padding-top: 44px; padding-bottom: 72px; }
.xw-online__head { max-width: 680px; display: flex; flex-direction: column; gap: 12px; }
.xw-ogrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 32px; }
.xw-ocard { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-ocard__logo { height: 88px; border-radius: 12px; background: #f6f6f4; display: flex; align-items: center; justify-content: center; padding: 12px 18px; }
.xw-ocard__logo.is-dark { background: var(--xw-dark); }
.xw-ocard__logo img { max-height: 44px; max-width: 80%; width: auto; object-fit: contain; }
.xw-ocard__logo span { font-size: 19px; font-weight: 800; color: var(--xw-ink); }
.xw-ocard__logo.is-dark span { color: #fff; }
.xw-ocard__head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
.xw-ocard__name { font-size: 24px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.xw-ocard__text { flex-grow: 1; font-size: 14px; line-height: 1.55; color: var(--xw-ink-2); }
.xw-partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 20px; padding: 28px 32px; border-radius: 18px; border: 1.5px dashed #bdbdb6; }
.xw-partner__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.xw-partner__text .xw-text { font-size: 15px; line-height: 1.55; }
.xw-partner .xw-btn { min-height: 50px; padding: 0 26px; }
.xw-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 20px; padding: 18px 22px; border-radius: 14px; background: #efefec; }
.xw-note__icon { color: var(--xw-red); display: flex; margin-top: 1px; }
.xw-note p { max-width: 860px; font-size: 15px; line-height: 1.55; }

/* ---------- М.Видео ---------- */
.xw-mv { padding-top: 44px; padding-bottom: 72px; }
.xw-mvhero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; padding: 44px 48px; border-radius: 22px; background: var(--xw-dark); color: #fff; }
.xw-mvhero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.xw-mvhero__lead { font-size: 17px; line-height: 1.6; color: #c9cbd1; max-width: 560px; }
.xw-mvhero__lead p + p { margin-top: 8px; }
.xw-mvhero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.xw-mvhero__logo { flex: 0 1 320px; min-width: 240px; height: 150px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px 24px; }
.xw-mvhero__logo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.xw-mvhero__logo span { font-size: 28px; font-weight: 800; color: var(--xw-ink); }
.xw-mv__subtitle { margin-top: 52px; font-size: 26px; }
.xw-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 22px; }
.xw-cat { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-cat__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--xw-red-tint); color: var(--xw-red); display: flex; align-items: center; justify-content: center; }
.xw-cat__icon svg { width: 24px; height: 24px; }
.xw-cat h4 { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.3; }
.xw-cat p { font-size: 14px; line-height: 1.55; color: var(--xw-ink-2); }
.xw-mvstores__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-top: 52px; scroll-margin-top: calc(var(--xw-sticky-top) + 100px); }
.xw-mvstores__title { max-width: 640px; display: flex; flex-direction: column; gap: 8px; }
.xw-mvstores__title .xw-h3 { font-size: 26px; }
.xw-mvstores__title .xw-text { font-size: 15px; line-height: 1.55; }
.xw-mvstores__search { flex: 0 1 380px; min-width: 260px; }
.xw-mv .xw-chips { margin-top: 20px; }
.xw-mvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 16px !important; }
.xw-mvcard { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-mvcard__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xw-mvcard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.xw-mvcard__city { font-size: 13px; font-weight: 600; color: var(--xw-muted); }
.xw-mvcard__name { font-size: 18px; line-height: 1.25; font-weight: 700; }
.xw-mvcard__addr { font-size: 15px; line-height: 1.45; color: var(--xw-ink-2); }
.xw-mvcard__route { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 8px; color: var(--xw-red-text); font-size: 14px; font-weight: 700; }
.xw-mvcard__route:hover { color: var(--xw-red); }
.xw-empty--row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 16px; padding: 24px 28px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-empty--row .xw-empty__text { max-width: 640px; line-height: 1.55; }

/* ---------- Гарантия ---------- */
.xw-warranty-wrap { padding-bottom: 24px; }
.xw-warranty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: 28px 34px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-warranty__main { flex: 1 1 480px; min-width: 0; display: flex; align-items: center; gap: 20px; }
.xw-warranty__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: var(--xw-red-tint); color: var(--xw-red); display: flex; align-items: center; justify-content: center; }
.xw-warranty__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.xw-warranty__text .xw-text { font-size: 15px; line-height: 1.55; }
.xw-warranty__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Вашего города нет в списке ---------- */
.xw-city-wrap { padding-bottom: 104px; scroll-margin-top: calc(var(--xw-sticky-top) + 20px); }
.xw-city { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
.xw-city__head { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.xw-city__panels { display: flex; flex-wrap: wrap; gap: 20px; }
.xw-city__online, .xw-city__dealer { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: 18px; }
.xw-city__online { background: var(--xw-panel); }
.xw-city__dealer { background: var(--xw-dark); color: #fff; }
.xw-city__online .xw-text, .xw-city__dealer .xw-text { font-size: 15px; line-height: 1.55; }
.xw-city__dealer .xw-text { color: #c9cbd1; }
.xw-tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px !important; }
.xw-tiles > li { flex: 1 1 88px; min-width: 0; }
.xw-tile { display: flex; align-items: center; justify-content: center; height: 60px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid #dcdcd8; font-size: 13px; font-weight: 800; color: var(--xw-ink); white-space: nowrap; overflow: hidden; }
.xw-tile:hover { border-color: var(--xw-ink); }
.xw-tile.is-dark { background: var(--xw-dark); border-color: var(--xw-dark); color: #fff; }
.xw-tile img { max-height: 26px; max-width: 85%; width: auto; object-fit: contain; }
.xw-tile.is-dark img { max-height: 16px; }
.xw-city__all { align-self: flex-start; margin-top: auto; min-height: 50px; padding: 0 24px; }
.xw-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 4px !important; }
.xw-facts > div { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
.xw-facts dt { font-size: 28px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.xw-facts dd { font-size: 13px; line-height: 1.4; color: #b5b7be; }
.xw-city__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.xw-city__btns .xw-btn { min-height: 50px; }

/* =================== Мобильная версия =================== */
@media (max-width: 767px) {
  .xw-hero { padding-top: 20px; padding-bottom: 24px; }
  .xw-hero__row { margin-top: 20px; gap: 0; }
  .xw-hero__text { flex-basis: 100%; max-width: none; gap: 14px; }
  .xw-h1 { font-size: 40px; line-height: 1.04; }
  .xw-h1__brand { font-size: 42px; }
  .xw-lead { font-size: 15px; line-height: 1.55; max-width: none; }
  .xw-hero__actions { display: none; }
  .xw-hero__map { flex-basis: 100%; height: 190px; margin-top: 20px; border-radius: 16px; }
  .xw-hero__map .xw-geo { top: 10px; right: 10px; bottom: 8px; left: 10px; --ah: 172px; }
  .xw-dot::before { width: 12px; height: 12px; }
  .xw-dot--multi::before { width: 18px; height: 18px; }
  .xw-dot::after { width: 6px; height: 6px; }
  .xw-hero__caption { left: 14px; top: 12px; font-size: 11px; }

  .xw-tabsbar__inner { padding-top: 10px; padding-bottom: 10px; }
  .xw-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .xw-tab { min-height: 44px; padding: 0 6px; gap: 5px; font-size: 14px; }
  .xw-tab__count { min-width: 22px; height: 20px; padding: 0 6px; font-size: 11px; }
  .xw-tab__logo { height: 18px; max-width: 88px; }

  .xw-stores { display: block; padding-top: 16px; padding-bottom: 40px; }
  .xw-stores__side { max-width: none; gap: 14px; }
  .xw-search input { border-radius: 12px; font-size: 16px; padding-left: 44px; }
  .xw-search > svg { left: 15px; }
  .xw-chips:not(.xw-chips--wrap) { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .xw-chips::-webkit-scrollbar { display: none; }
  .xw-chip { gap: 7px; padding: 0 15px; }
  .xw-result { font-size: 13px; }
  .xw-seg { display: flex; flex-shrink: 0; padding: 3px; border-radius: 10px; background: #ebebe8; }
  .xw-seg button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 8px; background: transparent; color: var(--xw-tab-muted); font-size: 13px; font-weight: 600; }
  .xw-seg button[aria-pressed="true"] { background: #fff; color: var(--xw-ink); font-weight: 700; box-shadow: 0 1px 2px rgba(32,35,44,.12); }

  .xw-list { height: auto; overflow: visible; margin: 0 !important; padding: 0 !important; gap: 10px; }
  .xw-store, .xw-store.is-selected { padding: 16px; margin: 0; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--xw-line); }
  .xw-store.is-selected { box-shadow: 0 0 0 2px var(--xw-ink); }
  .xw-store__top { gap: 10px; }
  .xw-store__name { font-size: 17px; }
  .xw-store__addr { font-size: 14px; }
  .xw-store__hours { font-size: 12px; }
  .xw-badge { font-size: 10px; }
  .xw-badge--dark { padding: 4px 9px; }
  .xw-badge--outline { padding: 3px 9px; }
  .xw-store__actions { display: block; margin-top: 8px; }
  .xw-phone { min-height: 36px; }
  .xw-store.is-selected .xw-store__route { display: flex; width: 100%; min-height: 46px; margin-top: 8px; border-radius: 10px; font-size: 15px; }
  .xw.is-collapsed .xw-store.is-extra { display: none; }
  .xw:not(.is-collapsed) .xw-more { display: none !important; }

  .xw-stores__map { display: none; }
  .xw.is-mapview .xw-stores__map { display: block; }
  .xw.is-mapview:not(.has-arealist) .xw-list, .xw.is-mapview .xw-more, .xw.is-mapview [data-xw-empty] { display: none !important; }
  /* Вид «Карта»: после нажатия на точку с несколькими магазинами их список стоит под картой. */
  .xw.is-mapview .xw-stores { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 14px; }
  .xw.is-mapview .xw-stores__side { display: contents; }
  .xw.is-mapview .xw-stores__map { order: 1; }
  .xw.is-mapview .xw-list { order: 2; }
  .xw-card__more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--xw-red-text); font: inherit; font-size: 14px; font-weight: 700; }
  .xw-map { height: 600px; border-radius: 18px; background-size: 14px 14px; }
  .xw-map__legend { left: 12px; top: 12px; flex-direction: column; gap: 6px; padding: 9px 12px; font-size: 11px; }
  .xw-map__hint { left: 10px; top: 10px; padding: 7px 10px; font-size: 11px; }
  .xw .xw-legend-dot--mv { background: #fff; box-shadow: inset 0 0 0 2px var(--xw-red); }
  .xw-map--mv { height: 320px; margin-top: 14px; border-radius: 16px; }
  .xw-map .xw-geo { top: 100px; right: 12px; bottom: 224px; left: 12px; --ah: 276px; }
  .xw-map--mv .xw-geo { top: 46px; right: 10px; bottom: 10px; left: 10px; --ah: 264px; }
  .xw-area { padding: 9px 12px; font-size: 13px; }
  .xw-area__reset { font-size: 13px; }
  .xw-legend-dot { width: 9px; height: 9px; box-shadow: none; }
  .xw-map__zoom { display: none; }
  .xw-pin__btn { width: 13px; height: 13px; font-size: 10px; }
  .xw-pin--multi .xw-pin__btn { width: 20px; height: 20px; }
  .xw-pin.is-selected .xw-pin__btn { width: 24px; height: 24px; }
  .xw-pin.is-selected::before { width: 42px; height: 42px; }
  .xw-pin__label { font-size: 10px; }
  .xw-card { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 16px; gap: 5px; box-shadow: 0 10px 30px rgba(32,35,44,.18); }
  .xw-card__city { font-size: 12px; }
  .xw-card__name { font-size: 17px; }
  .xw-card__hours { font-size: 12px; }
  .xw-card__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xw-card__btns .xw-btn { min-height: 46px; border-radius: 10px; font-size: 14px; padding: 0 10px; }
  .xw-card__route { background: var(--xw-red); border-color: var(--xw-red); color: #fff; }
  .xw-card__phone-text { margin-top: 4px; text-align: center; font-size: 13px; font-weight: 600; color: var(--xw-ink-2); font-variant-numeric: tabular-nums; }

  .xw-h2 { font-size: 28px; }
  .xw-text { font-size: 15px; line-height: 1.55; }
  .xw-online { padding-top: 24px; padding-bottom: 40px; }
  .xw-online__head { gap: 14px; }
  .xw-ogrid { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
  .xw-ocard { gap: 12px; padding: 20px; border-radius: 16px; }
  .xw-ocard__logo { height: 72px; }
  .xw-ocard__logo img { max-height: 36px; }
  .xw-ocard__logo span { font-size: 17px; }
  .xw-ocard__head { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .xw-ocard__name { font-size: 22px; }
  .xw-ocard .xw-btn--ghost { min-height: 46px; }
  .xw-partner { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 20px; padding: 20px; border-radius: 16px; }
  .xw-partner__text { flex-basis: auto; gap: 10px; }
  .xw-partner .xw-h3 { font-size: 19px; }
  .xw-partner__text .xw-text { font-size: 14px; }
  .xw-partner .xw-btn { width: 100%; min-height: 48px; margin-top: 4px; }
  .xw-note { gap: 12px; margin-top: 14px; padding: 16px; }
  .xw-note__icon svg { width: 20px; height: 20px; }
  .xw-note p { font-size: 14px; line-height: 1.5; }

  .xw-mv { padding-top: 20px; padding-bottom: 40px; }
  .xw-mvhero { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; border-radius: 18px; }
  .xw-mvhero__text { flex-basis: auto; gap: 16px; }
  .xw-mvhero__logo { order: -1; flex-basis: auto; min-width: 0; height: 104px; border-radius: 12px; padding: 12px 16px; }
  .xw-mvhero__logo span { font-size: 22px; }
  .xw-h2--xl { font-size: 30px; line-height: 1.08; }
  .xw-mvhero__lead { font-size: 15px; line-height: 1.55; }
  .xw-mvhero__actions { flex-direction: column; }
  .xw-mvhero__actions .xw-btn { width: 100%; min-height: 50px; }
  /* Длинные надписи кнопок на узких телефонах переносятся, а не выталкивают блок за край экрана. */
  .xw-mvhero__actions .xw-btn { white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px; }
  .xw-city__all, .xw-city__btns .xw-btn { white-space: normal; text-align: center; }
  .xw-mv__subtitle { margin-top: 32px; font-size: 21px; }
  .xw-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .xw-cat { gap: 8px; padding: 16px; border-radius: 14px; }
  .xw-cat__icon { width: 40px; height: 40px; border-radius: 10px; }
  .xw-cat__icon svg { width: 20px; height: 20px; }
  .xw-cat h4 { margin-top: 4px; font-size: 15px; }
  .xw-cat p { font-size: 13px; line-height: 1.45; }
  .xw-mvstores__head { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 32px; }
  .xw-mvstores__title { gap: 14px; }
  .xw-mvstores__title .xw-h3 { font-size: 21px; }
  .xw-mvstores__title .xw-text { font-size: 14px; line-height: 1.5; }
  .xw-mvstores__search { flex-basis: auto; min-width: 0; }
  .xw-mv .xw-chips { margin-top: 14px; }
  .xw-mvgrid { display: flex; flex-direction: column; gap: 10px; margin-top: 14px !important; }
  .xw-mvcard { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 14px; }
  .xw-mvcard__info { gap: 4px; }
  .xw-mvcard__city { font-size: 12px; }
  .xw-mvcard__name { font-size: 16px; }
  .xw-mvcard__addr { font-size: 14px; line-height: 1.4; }
  .xw-mvcard__route { flex-shrink: 0; width: 44px; height: 44px; min-height: 0; margin: 0; justify-content: center; border-radius: 10px; background: var(--xw-red-tint); color: var(--xw-red); align-self: center; }
  .xw-mvcard__route svg { width: 18px; height: 18px; }
  .xw-mvcard__route-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .xw-empty--row { flex-direction: column; align-items: stretch; padding: 20px; border-radius: 14px; }
  .xw-empty--row .xw-btn { width: 100%; }

  .xw-warranty-wrap { padding-bottom: 16px; }
  .xw-warranty { display: block; padding: 20px; border-radius: 18px; }
  .xw-warranty__main { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px 14px; align-items: center; }
  .xw-warranty__icon { width: 46px; height: 46px; border-radius: 14px; }
  .xw-warranty__icon svg { width: 24px; height: 24px; }
  .xw-warranty__text { display: contents; }
  .xw-warranty__text .xw-h3 { grid-column: 2; font-size: 18px; }
  .xw-warranty__text .xw-text { grid-column: 1 / -1; font-size: 14px; }
  .xw-warranty__actions { margin-top: 12px; }
  .xw-warranty__actions .xw-btn { width: 100%; }

  .xw-city-wrap { padding-bottom: 56px; }
  .xw-city { gap: 14px; padding: 20px; border-radius: 20px; }
  .xw-city__head { gap: 14px; }
  .xw-city__head .xw-h2 { margin-top: 4px; font-size: 26px; line-height: 1.12; }
  .xw-city__head .xw-text { font-size: 14px; }
  .xw-city__panels { flex-direction: column; gap: 14px; }
  .xw-city__online, .xw-city__dealer { flex-basis: auto; gap: 10px; padding: 18px; border-radius: 14px; }
  .xw-city__online .xw-h3, .xw-city__dealer .xw-h3 { font-size: 18px; }
  .xw-city__online .xw-text, .xw-city__dealer .xw-text { font-size: 14px; line-height: 1.5; }
  .xw-tiles { margin-top: 2px !important; }
  .xw-tiles > li { flex-basis: 120px; }
  .xw-tile { height: 56px; }
  .xw-city__all { align-self: stretch; width: 100%; min-height: 48px; margin-top: 4px; }
  .xw-facts { gap: 8px; }
  .xw-facts > div { padding-top: 10px; }
  .xw-facts dt { font-size: 22px; }
  .xw-facts dd { font-size: 11px; line-height: 1.35; }
  .xw-city__btns { flex-direction: column; gap: 10px; margin-top: 6px; }
  .xw-city__btns .xw-btn { width: 100%; min-height: 48px; }
}

/* Очень узкие экраны (320–359 px): кнопкам разрешаем перенос строки. */
/* Телефоны уже 390 px: табы плотнее, «Магазины» и «Онлайн» по ширине надписи, таб «М.Видео» занимает остаток —
   так все три названия со счётчиками помещаются в одну строку. */
@media (max-width: 389px) {
  .xw .xw-tabs { grid-template-columns: auto auto minmax(0, 1fr); }
  .xw .xw-tab { min-width: 0; padding: 0 5px; gap: 4px; font-size: 13px; }
  .xw .xw-tab__count { min-width: 20px; padding: 0 5px; }
  .xw .xw-tab__logo { min-width: 0; max-width: 100%; }
  .xw .xw-tab__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 359px) {
  .xw .xw-btn { white-space: normal; padding-left: 16px; padding-right: 16px; }
  .xw .xw-h2--xl { font-size: 27px; }
  .xw .xw-tabs { gap: 2px; padding: 3px; }
  .xw .xw-tab { padding: 0 4px; gap: 3px; font-size: 12px; }
  .xw .xw-tab__count { min-width: 18px; height: 18px; padding: 0 4px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .xw * { transition: none !important; scroll-behavior: auto !important; }
}

/* The office site template resets the background of button[type=button] and loads after this file */
.xw button.xw-btn--red { background: var(--xw-red); }
.xw button.xw-btn--red:hover { background: #b81d1d; }
.xw button.xw-btn--outline-dark { background: #fff; }
.xw button.xw-btn--outline-dark:hover { background: var(--xw-ink); }
.xw button.xw-btn--ghost { background: #fff; }

/* Brand colour under the logo, the LOGO_BG_COLOR field of an online shop */
.xw-ocard__logo.is-color span, .xw-tile.is-color { color: #fff; }
.xw-tile.is-color { border-color: transparent; }

/* A long name on the phone moves the badge to the next line instead of breaking mid-word */
@media (max-width: 767px) {
  .xw-ocard__head { flex-wrap: wrap; }
  .xw-ocard__name { overflow-wrap: break-word; }
}

/* End */
/* /local/components/xone/where.to.buy/templates/.default/style.css?179138192141283 */
