:root {
  --ld-accent: #0d6efd;
  --ld-accent-dark: #0b5ed7;
  --ld-accent-light: #e7f1ff;
  --ld-surface: #ffffff;
  --ld-text-muted: #64748b;
  --ld-radius: 20px;
  --ld-radius-sm: 14px;
  /* Чуть «голубее» дефолтного bg-light — заметнее на бюджетных матрицах (как rgb(240 242 250)) */
  --ld-page-bg: #f0f2fa;
  --ld-page-bg-rgb: 240 242 250;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body.ld-page {
  --bs-body-bg: rgb(var(--ld-page-bg-rgb));
  background-color: rgb(var(--ld-page-bg-rgb));
}

/* Шапка прилипает к верху вьюпорта при прокрутке (без «наезда» на hero при первой отрисовке) */
.ld-navbar.sticky-top {
  top: env(safe-area-inset-top, 0px);
  z-index: 1030;
}

.ld-section {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.ld-section-no-top-margin {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.ld-badge-soft {
  background: var(--ld-accent-light);
  color: var(--ld-accent-dark);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
}

.ld-card {
  background: var(--ld-surface);
  border-radius: var(--ld-radius);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.ld-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ld-stat-number {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--ld-accent-dark);
  display: block;
}

.ld-section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #1e293b 0%, var(--ld-accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Шаги «Как работает»: круглая иконка + тень блока при hover */
.ld-step-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ld-step-card {
  height: 100%;
  padding: 1rem 0.75rem;
  border-radius: var(--ld-radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.ld-step-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .ld-step-card {
    transition: none;
  }

  .ld-step-card:hover {
    transform: none;
  }
}

.ld-hero-visual,
.ld-pwa-visual {
  border-radius: var(--ld-radius);
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #fae8ff 100%);
}

.ld-hero-visual {
  min-height: 200px;
}

.ld-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 554;
  max-height: min(420px, 55vh);
  object-fit: cover;
  border-radius: calc(var(--ld-radius) - 8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.ld-pwa-banner {
  background: linear-gradient(135deg, #fef9e3 0%, #fff3cd 100%);
  border-radius: var(--ld-radius-sm);
  border-left: 4px solid #ffc107;
}

.ld-pwa-illustration {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--ld-radius) - 8px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.ld-cta-band {
  background: linear-gradient(135deg, var(--ld-accent-dark) 0%, #6366f1 100%);
  border-radius: var(--ld-radius);
  padding: clamp(2rem, 5vw, 3rem);
}

.ld-faq-narrow {
  max-width: 800px;
}

#hero,
#reasons,
#how-it-works,
#for-whom,
#faq,
#pwa {
  scroll-margin-top: 5.5rem;
}

.ld-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 3rem;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.ld-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.ld-footer a:hover {
  color: white;
}

/* Кнопка «наверх» */
.ld-scroll-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.ld-scroll-top.ld-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ld-scroll-top {
    transition: none;
  }

  .ld-scroll-top.ld-scroll-top--visible {
    transform: none;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 23, 42, 0.96);
  color: #e2e8f0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.25);
}

.cookie-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.cookie-banner__text {
  flex: 1 1 16rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.cookie-banner__link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  color: #bfdbfe;
}

.cookie-banner__btn {
  flex: 0 0 auto;
}

/* Share widget */
.share-widget {
  --share-accent: #0d6efd;
}

.share-widget--inline {
  margin: 1rem 0 1.25rem;
}

.share-widget__inline-head {
  margin-bottom: 0.5rem;
}

.share-widget__inline-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share-widget__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.share-widget__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #fff;
  color: #0f172a;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.share-widget__btn:hover,
.share-widget__btn:focus-visible {
  border-color: var(--share-accent);
  color: var(--share-accent);
  outline: none;
}

.share-widget--icons .share-widget__btn {
  width: 2.5rem;
  padding: 0;
}

.share-widget--text .share-widget__btn i {
  display: none;
}

.share-widget--floating {
  position: fixed;
  z-index: 1035;
  bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
}

.share-widget--br {
  right: max(1rem, env(safe-area-inset-right, 0px));
}

.share-widget--bl {
  left: max(1rem, env(safe-area-inset-left, 0px));
}

body.cookie-banner-visible .share-widget--floating,
body.ld-cookie-banner-open .share-widget--floating {
  bottom: calc(4.25rem + var(--ld-cookie-banner-height, 5.5rem) + env(safe-area-inset-bottom, 0px));
}

body.cookie-banner-visible .ld-scroll-top,
body.ld-cookie-banner-open .ld-scroll-top {
  bottom: calc(1rem + var(--ld-cookie-banner-height, 5.5rem) + env(safe-area-inset-bottom, 0px));
}

.share-widget__fab {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--share-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  cursor: pointer;
}

.share-widget__fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.share-widget__panel {
  position: absolute;
  bottom: calc(100% + 0.6rem);
  right: 0;
  min-width: 11rem;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.share-widget--bl .share-widget__panel {
  right: auto;
  left: 0;
}

.share-widget__panel-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.45rem;
}

.share-widget--floating .share-widget__list {
  flex-direction: column;
  align-items: stretch;
}

.share-widget--floating .share-widget__btn {
  justify-content: flex-start;
  width: 100%;
}

.share-widget--floating.share-widget--icons .share-widget__btn {
  /* В режиме floating + icons padding обнуляется,
     поэтому иконки в списке слипались с левым краем панели. */
  padding: 0.4rem 0.65rem;
}

.share-widget__toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.4rem);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
}

.share-widget--inline .share-widget__toast {
  left: 0;
  transform: none;
}

.accordion-item {
  background-color: var(--ld-surface) !important;
}

/* Pricing */
.ld-pricing {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(13, 110, 253, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
}

.ld-pricing__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ld-accent-dark);
  font-weight: 600;
}

.ld-pricing .nav-pills .nav-link {
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  color: var(--ld-accent-dark);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(13, 110, 253, 0.15);
}

.ld-pricing .nav-pills .nav-link.active {
  background: var(--ld-accent);
  border-color: var(--ld-accent);
  color: #fff;
}

.ld-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: calc(var(--ld-radius) + 4px);
  background: var(--ld-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ld-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.ld-price-card--featured {
  background: linear-gradient(160deg, var(--ld-accent) 0%, var(--ld-accent-dark) 55%, #1e3a8a 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 48px rgba(13, 110, 253, 0.35);
}

.ld-price-card--featured:hover {
  box-shadow: 0 22px 56px rgba(13, 110, 253, 0.42);
}

.ld-price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.08);
  color: var(--ld-accent-dark);
}

.ld-price-card--featured .ld-price-card__badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.ld-price-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ld-price-card--featured .ld-price-card__name {
  color: #fff;
}

.ld-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.ld-price-card__amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.ld-price-card__period {
  font-size: 0.95rem;
  opacity: 0.7;
}

.ld-price-card__desc {
  font-size: 0.9rem;
  color: var(--ld-text-muted);
  margin-bottom: 1.1rem;
}

.ld-price-card--featured .ld-price-card__desc {
  color: rgba(255, 255, 255, 0.85);
}

.ld-price-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.ld-price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.35;
}

.ld-price-card__list i {
  margin-top: 0.15rem;
  color: var(--ld-accent);
  font-weight: 700;
}

.ld-price-card--featured .ld-price-card__list i {
  color: #fff;
}

.ld-price-card__cta {
  margin-top: auto;
}

.ld-price-card--featured .btn-light {
  color: var(--ld-accent-dark);
  font-weight: 600;
}

.ld-widget-link:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.ld-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.ld-blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}

.ld-blog-card__cover {
  margin: -1.25rem -1.35rem 0;
  overflow: hidden;
  border-radius: var(--ld-radius) var(--ld-radius) 0 0;
  aspect-ratio: 16 / 9;
  background: var(--ld-accent-light);
}

.ld-blog-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ld-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: inherit;
}

.ld-blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
}

.ld-blog-layout {
  align-items: flex-start;
}

.ld-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 992px) {
  .ld-blog-sidebar {
    position: sticky;
    top: 5.5rem;
  }
}

.ld-blog-side-card {
  padding: 1rem 1.15rem;
  border-radius: var(--ld-radius);
  background: var(--ld-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.ld-blog-side-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.ld-blog-side-search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ld-blog-side-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ld-blog-side-link {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.ld-blog-side-link:hover {
  background: rgba(13, 110, 253, 0.06);
  color: #0d6efd;
}

.ld-blog-side-link.is-active {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  font-weight: 600;
}

.ld-blog-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.ld-blog-chip:hover,
.ld-blog-chip.is-active {
  border-color: rgba(13, 110, 253, 0.45);
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.06);
}

.ld-blog-chip--sm {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
}

.ld-blog-tag {
  font-size: 0.8125rem;
  color: #64748b;
  text-decoration: none;
}

.ld-blog-tag:hover {
  color: #0d6efd;
}

.ld-blog-crumbs a {
  text-decoration: none;
}

.ld-blog-prose {
  max-width: 42rem;
  line-height: 1.7;
}

.ld-blog-prose p + p {
  margin-top: 1rem;
}

/* Публичная визитка СТО (микролендинг / link-in-bio) */
.sto-ml {
  --sto-ml-surface: #ffffff;
  --sto-ml-ink: #0f172a;
  --sto-ml-muted: #64748b;
  --sto-ml-line: rgba(15, 23, 42, 0.08);
  --sto-ml-accent: var(--ld-accent);
  --sto-ml-accent-ink: #ffffff;
  --sto-ml-wash: radial-gradient(ellipse 90% 55% at 50% -8%, rgba(13, 110, 253, 0.12), transparent 58%),
    linear-gradient(180deg, #eef2fb 0%, var(--ld-page-bg) 42%, #e8ecf6 100%);

  background: var(--sto-ml-wash);
  color: var(--sto-ml-ink);
  padding: 1.75rem 1rem 3rem;
  min-height: 60vh;
}

.sto-ml__shell {
  width: min(100%, 26.5rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sto-ml__hero {
  text-align: center;
  padding: 0.5rem 0.25rem 0.35rem;
}

.sto-ml__logo {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border-radius: 1.15rem;
  background: var(--sto-ml-surface);
  border: 1px solid var(--sto-ml-line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  margin: 0 auto 0.9rem;
  display: block;
  padding: 0.35rem;
}

.sto-ml__logo--fallback {
  display: grid;
  place-items: center;
  color: var(--sto-ml-accent);
  font-size: 1.6rem;
  padding: 0;
}

.sto-ml__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sto-ml-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.sto-ml__title {
  font-size: clamp(1.45rem, 4.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.35rem;
}

.sto-ml__tagline {
  margin: 0;
  color: var(--sto-ml-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.sto-ml__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  background: var(--sto-ml-accent);
  color: var(--sto-ml-accent-ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.sto-ml__cta:hover {
  background: var(--ld-accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(13, 110, 253, 0.34);
}

.sto-ml__cta--secondary {
  background: transparent;
  color: var(--sto-ml-ink) !important;
  border: 1px solid var(--sto-ml-line);
  box-shadow: none;
  font-weight: 600;
}

.sto-ml__cta--secondary:hover {
  background: rgba(13, 110, 253, 0.06);
  color: var(--ld-accent-dark) !important;
  box-shadow: none;
}

.sto-ml__link,
.sto-ml__card {
  background: var(--sto-ml-surface);
  border: 1px solid var(--sto-ml-line);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
}

.sto-ml__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sto-ml__link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  color: inherit !important;
}

.sto-ml__link-icon,
.sto-ml__row-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--ld-accent-light);
  color: var(--ld-accent-dark);
}

.sto-ml__link-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sto-ml__link-label {
  font-weight: 700;
  font-size: 0.95rem;
}

.sto-ml__link-meta {
  font-size: 0.8rem;
  color: var(--sto-ml-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sto-ml__link-chevron {
  color: var(--sto-ml-muted);
  font-size: 0.9rem;
}

.sto-ml__card {
  padding: 0.35rem 0.25rem;
  overflow: hidden;
}

.sto-ml__card-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sto-ml-muted);
  font-weight: 700;
  padding: 0.7rem 1rem 0.25rem;
}

.sto-ml__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  color: inherit;
  text-decoration: none !important;
  border-radius: 0.75rem;
  margin: 0 0.2rem;
}

.sto-ml__row--action:hover {
  background: rgba(13, 110, 253, 0.06);
  color: inherit !important;
}

.sto-ml__about {
  margin: 0;
  padding: 0.35rem 1rem 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.sto-ml__muted {
  color: var(--sto-ml-muted);
  padding: 0.35rem 1rem 0.95rem;
}

.sto-ml__price-list {
  list-style: none;
  margin: 0;
  padding: 0 0 0.35rem;
}

.sto-ml__price-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin: 0 0.25rem;
  border-radius: 0.75rem;
  background: var(--sto-ml-surface);
}

.sto-ml__price-item + .sto-ml__price-item {
  border-top: 1px solid var(--sto-ml-line);
  border-radius: 0;
  margin: 0;
}

.sto-ml__price-name {
  font-weight: 700;
  line-height: 1.3;
}

.sto-ml__price-desc {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--sto-ml-muted);
  line-height: 1.4;
}

.sto-ml__price-value {
  font-weight: 800;
  white-space: nowrap;
  color: var(--sto-ml-ink);
}

.sto-ml__footnote {
  margin: 0.35rem 0.25rem 0;
  font-size: 0.8rem;
  color: var(--sto-ml-muted);
  text-align: center;
  line-height: 1.45;
}

.sto-ml__footnote a {
  color: var(--ld-accent-dark);
}

.sto-ml--dark {
  --sto-ml-surface: #1e293b;
  --sto-ml-ink: #e2e8f0;
  --sto-ml-muted: #94a3b8;
  --sto-ml-line: rgba(148, 163, 184, 0.18);
  --sto-ml-wash: linear-gradient(180deg, #0b1220 0%, #0f172a 45%, #111827 100%);
}

.sto-ml--dark .sto-ml__link-icon,
.sto-ml--dark .sto-ml__row-icon {
  background: rgba(147, 197, 253, 0.12);
  color: #93c5fd;
}

.sto-ml--dark .sto-ml__cta {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.sto-ml--accent {
  --sto-ml-wash: radial-gradient(ellipse 90% 50% at 50% -5%, rgba(13, 110, 253, 0.22), transparent 55%),
    linear-gradient(180deg, #dbe7ff 0%, #eef3fb 40%, #f3f5fb 100%);
}

.sto-ml--minimal {
  --sto-ml-wash: linear-gradient(180deg, #f7f8fb 0%, #eef0f5 100%);
}

.sto-ml--minimal .sto-ml__card,
.sto-ml--minimal .sto-ml__link,
.sto-ml--minimal .sto-ml__logo {
  box-shadow: none;
  border-style: dashed;
}

.sto-ml--minimal .sto-ml__cta {
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .sto-ml__cta,
  .sto-ml__link {
    transition: none;
  }

  .sto-ml__cta:hover,
  .sto-ml__link:hover {
    transform: none;
  }
}

/* STO calendar: day / week / month */
.sto-cal__toolbar {
  row-gap: 0.5rem;
}

.sto-cal__nav-label {
  max-width: min(100%, 18rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sto-cal__day-scroll {
  overflow: auto;
  max-height: min(70vh, 36rem);
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0.5rem;
}

.sto-cal__time-col {
  width: 4.5rem;
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}

.sto-cal__day-grid thead .sto-cal__time-col {
  background: #f8f9fa;
}

.sto-cal__slot {
  height: 2.1rem;
  vertical-align: middle;
  min-width: 4.5rem;
}

.sto-cal__week {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sto-cal__week-day {
  padding: 0.75rem;
}

.sto-cal__week-day--today {
  border-color: #0d6efd;
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.25);
}

.sto-cal__week-day-head {
  min-height: 44px;
  padding: 0.25rem 0.15rem;
  margin-bottom: 0.35rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sto-cal__week-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.5rem;
  row-gap: 0.1rem;
  min-height: 44px;
  padding: 0.45rem 0.35rem;
  border-radius: 0.4rem;
  border: 0;
  background: transparent;
}

.sto-cal__week-item:hover,
.sto-cal__week-item:focus-visible {
  background: rgba(13, 110, 253, 0.06);
}

.sto-cal__week-time {
  grid-row: 1 / span 2;
  font-weight: 600;
  font-size: 0.85rem;
  align-self: center;
}

.sto-cal__week-item > .small {
  grid-column: 2;
}

.sto-cal__month-head,
.sto-cal__month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.sto-cal__month-dow {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  padding: 0.25rem 0;
  font-weight: 600;
}

.sto-cal__month-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.25rem;
  min-height: 3.5rem;
  padding: 0.35rem;
  border-radius: 0.45rem;
  text-decoration: none;
  color: inherit;
  background: #f8fafc;
  border: 1px solid transparent;
}

.sto-cal__month-cell:hover,
.sto-cal__month-cell:focus-visible {
  background: #eef5ff;
  border-color: rgba(13, 110, 253, 0.25);
}

.sto-cal__month-cell--muted {
  opacity: 0.45;
}

.sto-cal__month-cell--today {
  border-color: #0d6efd;
  background: #eef5ff;
}

.sto-cal__month-num {
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
}

.sto-cal__month-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: #0d6efd;
  color: #fff;
  line-height: 1;
}

@media (min-width: 768px) {
  .sto-cal__week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: stretch;
  }

  .sto-cal__week-day {
    min-height: 12rem;
  }

  .sto-cal__week-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .sto-cal__week-time {
    grid-row: auto;
  }
}

@media (max-width: 575.98px) {
  .sto-cal__month-cell {
    min-height: 3.25rem;
    padding: 0.25rem;
  }

  .sto-cal__day-scroll {
    max-height: min(62vh, 28rem);
    padding-bottom: 0.25rem;
  }
}
 
/* Tom Select in cards */
.ts-dropdown{z-index:1080}
.ld-app-card .ts-wrapper{max-width:100%}
/* Single: скрывать выбранный item только пока открыт поиск, иначе после выбора
   значение не видно, пока не убрать фокус */
.ts-wrapper.single.dropdown-active .ts-control > .item {
  display: none !important;
}

/* Плавающие flash-сообщения (не двигают контент страницы) */
.ld-flash-stack {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  width: min(28rem, calc(100vw - 1.5rem));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.ld-flash-stack .ld-flash-toast {
  pointer-events: auto;
  margin: 0;
  box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.14);
}
.ld-flash-stack .ld-flash-toast.fade {
  transition: opacity 0.4s ease;
}
@media (max-width: 575.98px) {
  .ld-flash-stack {
    top: 0.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ld-flash-stack .ld-flash-toast.fade {
    transition: none;
  }
}

