@charset "UTF-8";
/* sale.imaster.center — панель выбора оформления страницы (js/switcher.js).
   Компактная панель снизу на desktop и сворачиваемая кнопка «Оформление · N/5» на мобильном.
   Внизу страницы резервируется место (.js .site-footer::after), чтобы панель никогда
   не перекрывала цену, контакты и последний блок страницы. */

.js .site-footer::after {
  content: "";
  display: block;
  height: 68px;
}

.dswitch {
  --sw-bg: rgba(15, 19, 24, 0.96);
  --sw-ink: #f3f6fa;
  --sw-muted: #98a6b8;
  --sw-border: 1px solid rgba(255, 122, 26, 0.35);
  --sw-radius: 16px;
  --sw-btn-radius: 10px;
  --sw-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
  --sw-btn: rgba(255, 255, 255, 0.06);
  --sw-btn-hover: rgba(255, 255, 255, 0.12);
  --sw-num: rgba(255, 255, 255, 0.12);
  --sw-on: linear-gradient(135deg, #ff7a00 0%, #e04800 100%);
  --sw-on-ink: #ffffff;
  --sw-on-num: rgba(0, 0, 0, 0.24);
  --sw-focus: #38bdf8;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--sw-bg);
  color: var(--sw-ink);
  border-top: var(--sw-border);
  box-shadow: var(--sw-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font: 500 13px/1.25 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

html[data-style="2"] .dswitch {
  --sw-bg: rgba(255, 255, 255, 0.97);
  --sw-ink: #12202f;
  --sw-muted: #54687d;
  --sw-border: 1px solid #d4e0ec;
  --sw-radius: 18px;
  --sw-btn-radius: 999px;
  --sw-shadow: 0 -6px 24px rgba(14, 34, 56, 0.08);
  --sw-btn: #eef4f9;
  --sw-btn-hover: #e1ecf5;
  --sw-num: rgba(9, 118, 161, 0.12);
  --sw-on: #0976a1;
  --sw-on-ink: #ffffff;
  --sw-on-num: rgba(255, 255, 255, 0.22);
  --sw-focus: #e85d04;
}

html[data-style="3"] .dswitch {
  --sw-bg: #151b23;
  --sw-ink: #e6edf5;
  --sw-muted: #8b9bb0;
  --sw-border: 1px solid #334155;
  --sw-radius: 0px;
  --sw-btn-radius: 2px;
  --sw-shadow: 0 -8px 24px rgba(10, 15, 22, 0.32);
  --sw-btn: #1f2937;
  --sw-btn-hover: #2b384b;
  --sw-num: rgba(230, 237, 245, 0.12);
  --sw-on: #ff6b00;
  --sw-on-ink: #0f141a;
  --sw-on-num: rgba(15, 20, 26, 0.18);
  --sw-focus: #38bdf8;
  font-family: "JetBrains Mono", "Inter", monospace;
}

html[data-style="4"] .dswitch {
  --sw-bg: #faf5eb;
  --sw-ink: #261f1a;
  --sw-muted: #6e5f53;
  --sw-border: 1px solid #cbbba6;
  --sw-radius: 12px;
  --sw-btn-radius: 6px;
  --sw-shadow: 0 -6px 24px rgba(38, 31, 26, 0.08);
  --sw-btn: #efe6d5;
  --sw-btn-hover: #e5d8c1;
  --sw-num: rgba(38, 31, 26, 0.1);
  --sw-on: #b84a14;
  --sw-on-ink: #faf5eb;
  --sw-on-num: rgba(250, 245, 235, 0.22);
  --sw-focus: #0976a1;
}

html[data-style="5"] .dswitch {
  --sw-bg: #111215;
  --sw-ink: #f7f5f0;
  --sw-muted: #a39e93;
  --sw-border: 2px solid #ff6a00;
  --sw-radius: 0px;
  --sw-btn-radius: 4px;
  --sw-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
  --sw-btn: #1e2026;
  --sw-btn-hover: #2a2d36;
  --sw-num: rgba(247, 245, 240, 0.12);
  --sw-on: #ff6a00;
  --sw-on-ink: #111215;
  --sw-on-num: rgba(17, 18, 21, 0.18);
  --sw-focus: #00a8e8;
}

.dswitch *,
.dswitch *::before,
.dswitch *::after {
  box-sizing: border-box;
}

.dswitch__toggle,
.dswitch__btn,
.dswitch__close {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
  -webkit-tap-highlight-color: transparent;
}

.dswitch__toggle:focus-visible,
.dswitch__btn:focus-visible,
.dswitch__close:focus-visible {
  outline: 2px solid var(--sw-focus);
  outline-offset: -2px;
}

.dswitch__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.dswitch__chevron {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
}

.dswitch__chevron::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -25%) rotate(-135deg);
}

.dswitch__close .dswitch__chevron::before {
  transform: translate(-50%, -75%) rotate(45deg);
}

.dswitch__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 9px 16px;
}

.dswitch__head {
  white-space: nowrap;
}

.dswitch__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--sw-muted);
}

.dswitch__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
}

.dswitch__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px 0 8px;
  border-radius: var(--sw-btn-radius);
  background: var(--sw-btn);
  white-space: nowrap;
  font-weight: 600;
  font-size: 12.5px;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.dswitch__btn:hover {
  background: var(--sw-btn-hover);
}

.dswitch__btn[aria-pressed="true"] {
  background: var(--sw-on);
  color: var(--sw-on-ink);
  font-weight: 700;
}

.dswitch__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sw-num);
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

html[data-style="3"] .dswitch__num,
html[data-style="5"] .dswitch__num {
  border-radius: 2px;
}

.dswitch__btn[aria-pressed="true"] .dswitch__num {
  background: var(--sw-on-num);
}

.dswitch__close {
  display: none;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--sw-btn-radius);
  color: var(--sw-muted);
}

.dswitch__close:hover {
  background: var(--sw-btn);
  color: var(--sw-ink);
}

.dswitch__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1159px) {
  .js .site-footer::after {
    height: 58px;
  }
  .dswitch.is-open {
    border-radius: var(--sw-radius) var(--sw-radius) 0 0;
  }
  .dswitch__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 8px;
    max-width: 480px;
    padding: 12px 14px 16px;
  }
  .dswitch__head {
    grid-column: 1;
    grid-row: 1;
    padding-left: 4px;
    white-space: normal;
  }
  .dswitch__title {
    font-size: 14px;
    color: var(--sw-ink);
  }
  .dswitch__close {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }
  .dswitch__list {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 6px;
  }
  .dswitch__btn {
    justify-content: flex-start;
    gap: 10px;
    min-height: 42px;
    padding: 0 14px 0 10px;
    font-size: 14px;
  }
  .dswitch__num {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
}

@media print {
  .dswitch {
    display: none;
  }
  .js .site-footer::after {
    content: none;
  }
}
