body.insights-page {
  --insights-chrome-height: 138px;
  --insights-chrome-bg: rgba(8, 0, 94, 0.34);
  --insights-chrome-bg-scrolled: rgba(8, 0, 94, 0.92);
  --insights-chrome-shadow: 0 18px 30px -28px rgba(15, 23, 42, 0.35);

  --insights-chrome-line: rgba(255, 255, 255, 0.16);
  --insights-chrome-surface: rgba(255, 255, 255, 0.08);
  --insights-chrome-surface-strong: rgba(255, 255, 255, 0.14);
  --insights-chrome-surface-solid: rgba(255, 255, 255, 0.96);

  --insights-chrome-text: #ffffff;
  --insights-chrome-text-muted: rgba(255, 255, 255, 0.82);
  --insights-chrome-text-soft: rgba(255, 255, 255, 0.62);
  --insights-chrome-accent: #8bd4ff;
  --insights-chrome-link-hover: #c8ebff;

  --insights-chrome-logo-filter: brightness(0) invert(1);

  --insights-chrome-lang-wrap-bg: rgba(255, 255, 255, 0.1);
  --insights-chrome-lang-wrap-border: rgba(255, 255, 255, 0.18);
  --insights-chrome-lang-btn-color: #ffffff;
  --insights-chrome-lang-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --insights-chrome-lang-active-bg: #1f5fbf;
  --insights-chrome-lang-active-color: #ffffff;

  --insights-chrome-catalog-bg: rgba(255, 255, 255, 0.96);
  --insights-chrome-catalog-border: rgba(255, 255, 255, 0.5);
  --insights-chrome-catalog-text: #243a77;
  --insights-chrome-catalog-hover-bg: #ffffff;
  --insights-chrome-catalog-hover-text: #1e3270;
  --insights-chrome-catalog-icon-filter: none;

  --insights-chrome-crumbs-bg: rgba(255, 255, 255, 0.14);
  --insights-chrome-crumbs-line: rgba(255, 255, 255, 0.18);
  --insights-chrome-crumbs-text: rgba(255, 255, 255, 0.76);
  --insights-chrome-crumbs-current: #ffffff;

  --insights-chrome-toggle-bg: rgba(255, 255, 255, 0.95);
  --insights-chrome-toggle-border: rgba(255, 255, 255, 0.24);
  --insights-chrome-toggle-color: #1f5fbf;

  --insights-chrome-mobile-panel-bg: #ffffff;
  --insights-chrome-mobile-panel-text: #1c345e;
  --insights-chrome-mobile-panel-line: rgba(15, 23, 42, 0.12);
  --insights-chrome-mobile-panel-soft: #f4f6fa;
}

body.insights-page.insights-mobile-open {
  overflow: hidden;
}

body.insights-page main {
  padding-top: var(--insights-chrome-height);
}

body.insights-page .hero {
  margin-top: calc(-1 * var(--insights-chrome-height));
  padding-top: calc(var(--insights-chrome-height) + 28px);
}

.insights-chrome {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  color: var(--insights-chrome-text);
}

.insights-chrome::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--insights-chrome-bg) 0%, rgba(8, 0, 94, 0.2) 100%);
  backdrop-filter: blur(12px);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.insights-chrome.is-scrolled::before {
  background: var(--insights-chrome-bg-scrolled);
  box-shadow: var(--insights-chrome-shadow);
}

.insights-chrome__shell.container {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 36px)) !important;
  max-width: 1320px !important;
  padding-top: 8px;
  padding-bottom: 8px;
  transition:
    padding-top 0.2s ease,
    padding-bottom 0.2s ease;
}

.insights-chrome__top,
.insights-chrome__breadcrumbs {
  display: flex;
  align-items: center;
  min-width: 0;
}

.insights-chrome__top {
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--insights-chrome-line);
  transition:
    padding-bottom 0.2s ease,
    border-bottom-color 0.2s ease;
}

.insights-chrome.is-scrolled .insights-chrome__shell.container {
  padding-top: 6px;
  padding-bottom: 6px;
}

.insights-chrome.is-scrolled .insights-chrome__top {
  padding-bottom: 0;
  border-bottom-color: transparent;
}

.insights-chrome__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.insights-chrome__logo img {
  display: block;
  width: 210px;
  max-width: 210px;
  height: auto;
  filter: var(--insights-chrome-logo-filter);
  transition:
    width 0.2s ease,
    max-width 0.2s ease;
}

.insights-chrome.is-scrolled .insights-chrome__logo img {
  width: 178px;
  max-width: 178px;
}

.insights-chrome__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}

.insights-chrome__nav-link,
.insights-chrome__phone,
.insights-chrome__crumb-link,
.insights-chrome__catalog {
  text-decoration: none;
}

.insights-chrome__nav-link {
  margin: 0;
  padding: 0;
  color: var(--insights-chrome-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.insights-chrome__nav-link:hover {
  color: var(--insights-chrome-link-hover);
}

.insights-chrome__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
  flex: 0 0 auto;
}

.insights-chrome__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--insights-chrome-text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.insights-chrome__phone:hover {
  color: var(--insights-chrome-link-hover);
}

.insights-chrome__phone-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: var(--insights-chrome-accent);
  flex: 0 0 auto;
}

.insights-chrome__phone-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.insights-chrome__lang,
.insights-chrome__mobile-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--insights-chrome-lang-wrap-border);
  background: var(--insights-chrome-lang-wrap-bg);
  border-radius: 8px;
  padding: 3px;
  flex-shrink: 0;
}

.insights-chrome__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  color: var(--insights-chrome-lang-btn-color);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.insights-chrome__lang-btn:not(.is-active):not(.is-disabled):hover {
  background: var(--insights-chrome-lang-btn-hover-bg);
  color: var(--insights-chrome-link-hover);
}

.insights-chrome__lang-btn.is-active {
  background: var(--insights-chrome-lang-active-bg);
  color: var(--insights-chrome-lang-active-color);
}

.insights-chrome__lang-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.insights-chrome__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--insights-chrome-toggle-border);
  border-radius: 7px;
  background: var(--insights-chrome-toggle-bg);
  color: var(--insights-chrome-toggle-color);
  flex: 0 0 auto;
}

.insights-chrome__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 999px;
  background: currentColor;
}

.insights-chrome__breadcrumbs {
  gap: 14px;
  padding-top: 4px;
  overflow: hidden;
  max-height: 54px;
  opacity: 1;
  transform: translateY(0);
  transition:
    max-height 0.22s ease,
    opacity 0.18s ease,
    padding-top 0.18s ease,
    transform 0.18s ease;
}

.insights-chrome.is-scrolled .insights-chrome__breadcrumbs {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.insights-chrome__catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 6px;
  background: var(--insights-chrome-catalog-bg);
  border: 1px solid var(--insights-chrome-catalog-border);
  color: var(--insights-chrome-catalog-text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: none;
}

.insights-chrome__catalog:hover {
  background: var(--insights-chrome-catalog-hover-bg);
  color: var(--insights-chrome-catalog-hover-text);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 0 16px rgba(139, 212, 255, 0.24);
}

.insights-chrome__catalog-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
  flex: 0 0 auto;
}

.insights-chrome__catalog-icon--image {
  filter: var(--insights-chrome-catalog-icon-filter);
}

.insights-chrome__crumbs {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--insights-chrome-crumbs-text);
  padding: 4px 8px 4px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--insights-chrome-crumbs-line);
  border-bottom: 1px solid var(--insights-chrome-crumbs-line);
  background: var(--insights-chrome-crumbs-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.insights-chrome__crumb-link {
  color: var(--insights-chrome-crumbs-text);
  flex: 0 0 auto;
}

.insights-chrome__crumb-link:hover {
  color: var(--insights-chrome-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.insights-chrome__crumb-sep {
  color: var(--insights-chrome-text-soft);
  flex: 0 0 auto;
}

.insights-chrome__crumb-current {
  color: var(--insights-chrome-crumbs-current);
  font-weight: 700;
  flex: 0 0 auto;
}

.insights-chrome__crumb-current.is-static {
  color: var(--insights-chrome-crumbs-text);
  font-weight: 600;
}

.insights-chrome__mobile[hidden] {
  display: none !important;
}

.insights-chrome__mobile {
  position: fixed;
  inset: 0;
  z-index: 1650;
}

.insights-chrome__mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 20, 38, 0.42);
}

.insights-chrome__mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, calc(100vw - 18px));
  height: 100%;
  background: var(--insights-chrome-mobile-panel-bg);
  border-left: 1px solid var(--insights-chrome-mobile-panel-line);
  box-shadow: -14px 0 34px -24px rgba(15, 23, 42, 0.58);
  display: flex;
  flex-direction: column;
  overflow: auto;
}

.insights-chrome__mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--insights-chrome-mobile-panel-line);
  background: #ffffff;
}

.insights-chrome__mobile-title {
  color: var(--insights-chrome-mobile-panel-text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
}

.insights-chrome__mobile-close {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(31, 95, 191, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #5b6d8a;
  font-size: 24px;
  line-height: 1;
  padding: 0;
}

.insights-chrome__mobile-body {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.insights-chrome__catalog--mobile {
  justify-content: center;
  color: #1f5fbf;
  border-color: rgba(31, 95, 191, 0.22);
  background: #ffffff;
}

.insights-chrome__catalog--mobile .insights-chrome__catalog-icon--image {
  filter: none;
}

.insights-chrome__mobile-nav {
  display: grid;
  gap: 0;
}

.insights-chrome__mobile-link,
.insights-chrome__mobile-phone {
  display: block;
  padding: 11px 0;
  color: var(--insights-chrome-mobile-panel-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--insights-chrome-mobile-panel-line);
}

.insights-chrome__mobile-phone {
  padding-top: 6px;
}

.insights-chrome__mobile-lang {
  width: fit-content;
  background: var(--insights-chrome-mobile-panel-soft);
  border-color: rgba(15, 23, 42, 0.16);
}

.insights-chrome__mobile-lang .insights-chrome__lang-btn {
  color: #1e355f;
}

.insights-chrome__mobile-lang .insights-chrome__lang-btn.is-active {
  color: #ffffff;
}

.insights-chrome__mobile-crumbs {
  display: grid;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--insights-chrome-mobile-panel-line);
}

.insights-chrome__mobile-crumb {
  color: #4d5d78;
  font-size: 12px;
  line-height: 1.3;
}

@media (min-width: 768px) and (max-width: 1366px) {
  .insights-chrome__logo img {
    width: 162px;
    max-width: 162px;
  }

  .insights-chrome.is-scrolled .insights-chrome__logo img {
    width: 146px;
    max-width: 146px;
  }

  .insights-chrome__top {
    gap: 6px;
  }

  .insights-chrome__nav {
    gap: 5px;
  }

  .insights-chrome__nav-link {
    font-size: 12px;
  }

  .insights-chrome__meta {
    margin-left: 2px;
    gap: 5px;
  }

  .insights-chrome__phone {
    font-size: 12px;
    gap: 6px;
  }

  .insights-chrome__phone span {
    display: none;
  }

  .insights-chrome__phone-icon,
  .insights-chrome__phone-icon svg {
    width: 14px;
    height: 14px;
  }

  .insights-chrome__lang {
    padding: 2px;
    border-radius: 7px;
    margin-left: 2px;
  }

  .insights-chrome__lang-btn {
    min-width: 30px;
    height: 26px;
    padding: 0 6px;
    font-size: 12px;
  }

  .insights-chrome__breadcrumbs {
    gap: 8px;
  }
}

@media (max-width: 960px) {
  body.insights-page {
    --insights-chrome-height: 126px;
  }

  .insights-chrome__nav,
  .insights-chrome__meta {
    display: none;
  }

  .insights-chrome__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .insights-chrome__logo img {
    width: 136px;
    max-width: 136px;
  }
}

@media (max-width: 767px) {
  body.insights-page {
    --insights-chrome-height: 118px;
  }

  body.insights-page .hero {
    padding-top: calc(var(--insights-chrome-height) + 18px);
  }

  .insights-chrome__shell.container {
    width: min(1320px, calc(100% - 24px)) !important;
    padding-top: 6px;
    padding-bottom: 8px;
  }

  .insights-chrome__top {
    gap: 8px;
  }

  .insights-chrome__breadcrumbs {
    gap: 8px;
    padding-top: 6px;
  }

  .insights-chrome__catalog {
    padding: 6px 12px;
  }

  .insights-chrome__crumbs {
    padding-right: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .insights-chrome__crumbs::-webkit-scrollbar {
    display: none;
  }
}

body.catalog-open-v2 {
  overflow: hidden;
}

.catalog-overlay-v2 {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--insights-chrome-height) + 12px) 12px 12px;
}

.catalog-overlay-v2[hidden] {
  display: none !important;
}

.catalog-overlay-v2__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.catalog-panel-v2 {
  position: relative;
  width: min(1450px, 94vw);
  height: min(88vh, 760px);
  max-height: min(88vh, 760px);
  border-radius: 20px;
  border: 1px solid rgba(31, 95, 191, 0.18);
  box-shadow: 0 34px 70px -40px rgba(31, 95, 191, 0.45);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.catalog-overlay-v2.is-open .catalog-overlay-v2__backdrop {
  opacity: 1;
}

.catalog-overlay-v2.is-open .catalog-panel-v2 {
  transform: translateY(0);
  opacity: 1;
}

.catalog-panel-v2__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 16px;
  background: #f4f7ff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.catalog-panel-v2__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}

.catalog-panel-v2__back {
  display: none;
}

.catalog-panel-v2__close {
  border: none;
  background: transparent;
  color: #485266;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.catalog-panel-v2__close:hover {
  color: #1f5fbf;
}

.catalog-panel-v2__body {
  display: grid;
  grid-template-columns: minmax(260px, 0.27fr) minmax(0, 0.73fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.catalog-panel-v2__aside {
  background: #f1f5ff;
  border-right: 1px solid rgba(31, 95, 191, 0.16);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 0 16px;
  min-height: 0;
}

.catalog-panel-v2__aside-title {
  margin: 0 16px 10px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(31, 53, 95, 0.65);
  font-weight: 700;
}

.catalog-panel-v2__sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin: 0;
}

.catalog-panel-v2__section-item {
  margin: 0;
}

.catalog-panel-v2__section-btn {
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid rgba(31, 95, 191, 0.12);
  border-radius: 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0f172a;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.catalog-panel-v2__section-btn:hover {
  background: rgba(31, 95, 191, 0.08);
  color: #1b3e7a;
}

.catalog-panel-v2__section-btn.is-active {
  position: relative;
  border-color: transparent;
  background: #1f5fbf;
  color: #ffffff;
}

.catalog-panel-v2__section-btn.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.75);
}

.catalog-panel-v2__makers {
  display: grid;
  gap: 4px;
  padding: 8px 12px 8px 22px;
  margin-left: 12px;
  border-left: 2px solid rgba(31, 95, 191, 0.18);
}

.catalog-panel-v2__maker-btn {
  position: relative;
  border: none;
  background: transparent;
  border-radius: 0;
  color: #485266;
  text-align: left;
  padding: 5px 8px 5px 18px;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.catalog-panel-v2__maker-btn::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 999px;
  background: rgba(31, 95, 191, 0.4);
}

.catalog-panel-v2__maker-btn:hover {
  background: rgba(31, 95, 191, 0.08);
  color: #1f5fbf;
}

.catalog-panel-v2__maker-btn.is-active {
  background: rgba(31, 95, 191, 0.12);
  color: #1f5fbf;
  font-weight: 700;
}

.catalog-panel-v2__maker-btn.is-active::before {
  background: #1f5fbf;
}

.catalog-panel-v2__content {
  overflow-y: auto;
  padding: 12px 8px 16px 16px;
  min-height: 0;
}

.catalog-panel-v2__groups {
  display: grid;
  gap: 22px;
}

.catalog-panel-v2__group {
  display: grid;
  gap: 8px;
}

.catalog-panel-v2__group-title {
  margin: 0;
  position: relative;
  padding-left: 12px;
  color: #1b3e7a;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.9rem;
  line-height: 1.25;
}

.catalog-panel-v2__group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: 1em;
  border-radius: 999px;
  background: #1f5fbf;
  opacity: 0.45;
}

.catalog-panel-v2__group-title::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 10px;
  background: rgba(31, 95, 191, 0.12);
}

.catalog-panel-v2__cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  padding-right: 12px;
}

.catalog-panel-v2__card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-areas:
    "media title"
    "media subtitle"
    "media meta"
    "values values";
  grid-template-rows: auto auto auto auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  border-radius: 14px;
  border: 1px solid rgba(31, 95, 191, 0.16);
  background: #f7faff;
  box-shadow: 0 14px 26px -24px rgba(31, 95, 191, 0.25);
  color: inherit;
  text-decoration: none;
  padding: 12px 14px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  height: 100%;
}

.catalog-panel-v2__card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 95, 191, 0.45);
  box-shadow: 0 18px 34px -24px rgba(31, 95, 191, 0.35);
}

.catalog-panel-v2__card-media {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(31, 95, 191, 0.12), rgba(255, 255, 255, 0.9));
  overflow: hidden;
  grid-area: media;
}

.catalog-panel-v2__card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.catalog-panel-v2__card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #eef3ff 0%, #ffffff 100%);
}

.catalog-panel-v2__card-body {
  display: contents;
}

.catalog-panel-v2__card-title {
  grid-area: title;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-panel-v2__card-subtitle {
  grid-area: subtitle;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(15, 23, 42, 0.7);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-panel-v2__card-meta {
  grid-area: meta;
  margin-top: 0;
}

.catalog-panel-v2__card-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-panel-v2__card-price--promo {
  align-items: center;
}

.catalog-panel-v2__card-price-old {
  color: rgba(15, 23, 42, 0.6);
  text-decoration: line-through;
  font-size: 0.82rem;
  line-height: 1.2;
}

.catalog-panel-v2__card-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(220, 38, 38, 0.42);
  background: rgba(220, 38, 38, 0.08);
  color: #b42318;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.catalog-panel-v2__card-price-current {
  color: #1f5fbf;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.catalog-panel-v2__card-price-current--promo {
  color: #b42318;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.28);
  border-radius: 8px;
  padding: 2px 8px;
}

.catalog-panel-v2__card-values {
  grid-area: values;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
  padding-top: 4px;
  align-content: flex-start;
  border-top: 1px dashed rgba(31, 95, 191, 0.16);
}

.catalog-panel-v2__card-value {
  padding: 5px 10px;
  border-radius: 6px;
  background: #e8f1ff;
  font-size: 0.7rem;
  font-weight: 600;
  color: #1b3e7a;
  min-width: 60px;
  max-width: 100%;
  min-height: 28px;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  white-space: normal;
}

.catalog-panel-v2__card-value-text {
  display: block;
  font-size: 0.7rem;
  line-height: 1.2;
  color: #1b3e7a;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-align: left;
}

.catalog-panel-v2__card-value--accent {
  border: 1px solid rgba(214, 60, 60, 0.55);
  background: rgba(214, 60, 60, 0.08);
  color: #a31a1a;
}

.catalog-panel-v2__card-value--accent .catalog-panel-v2__card-value-text {
  color: #a31a1a;
}

.catalog-panel-v2__empty {
  padding: 14px 0;
  color: #485266;
  font-size: 0.92rem;
  line-height: 1.45;
}

.catalog-panel-v2__mobile-footer {
  display: none;
}

@media (max-width: 991px) {
  .catalog-overlay-v2 {
    padding: 0;
    justify-content: flex-start;
  }

  .catalog-panel-v2 {
    width: min(420px, calc(100vw - 18px));
    height: 100vh;
    max-height: 100vh;
    border-radius: 0 16px 16px 0;
    border-left: none;
    border-top: none;
    border-bottom: none;
    border-right: 1px solid rgba(15, 23, 42, 0.16);
    transform: translateX(-104%);
    opacity: 1;
    transition: transform 0.24s ease;
  }

  .catalog-overlay-v2.is-open .catalog-panel-v2 {
    transform: translateX(0);
  }

  .catalog-panel-v2__top {
    margin: 0;
    padding: 10px 12px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.14);
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.9);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
  }

  .catalog-panel-v2__back,
  .catalog-panel-v2__close {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    border-radius: 6px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #485266;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 104px;
    white-space: nowrap;
  }

  .catalog-panel-v2__back {
    grid-column: 1;
    justify-self: start;
  }

  .catalog-panel-v2__title {
    grid-column: 2;
    min-width: 0;
    text-align: center;
    font-size: 1.02rem;
  }

  .catalog-panel-v2__close {
    grid-column: 3;
    justify-self: end;
  }

  .catalog-panel-v2__body {
    display: block;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    flex: 1 1 auto;
  }

  .catalog-panel-v2__aside {
    background: #ffffff;
    border-right: none;
    border-bottom: none;
    max-height: none;
    padding: 12px;
    height: 100%;
  }

  .catalog-panel-v2__makers {
    display: none;
  }

  .catalog-panel-v2__sections {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .catalog-panel-v2__section-item {
    margin: 0;
  }

  .catalog-panel-v2__section-btn {
    position: relative;
    border: 1px solid rgba(31, 95, 191, 0.14);
    border-radius: 0;
    border-bottom: none;
    padding: 10px 34px 10px 14px;
    background: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .catalog-panel-v2__section-item:last-child .catalog-panel-v2__section-btn {
    border-bottom: 1px solid rgba(31, 95, 191, 0.14);
  }

  .catalog-panel-v2__section-btn::after {
    content: "›";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a99b3;
    font-size: 20px;
    line-height: 1;
  }

  .catalog-panel-v2__section-btn.is-active::before {
    display: none;
  }

  .catalog-panel-v2__content {
    overflow-y: auto;
    padding: 12px;
    min-height: 0;
    height: 100%;
  }

  .catalog-overlay-v2.is-mobile-sections .catalog-panel-v2__content {
    display: none;
  }

  .catalog-overlay-v2.is-mobile-products .catalog-panel-v2__aside-title,
  .catalog-overlay-v2.is-mobile-products .catalog-panel-v2__aside {
    display: none;
  }

  .catalog-panel-v2__mobile-footer {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    background: #f9fbff;
    padding: 6px 0;
  }

  .catalog-panel-v2__mobile-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 12px;
    color: #1f2c46;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }

  .catalog-panel-v2__mobile-link:first-child {
    border-top: none;
  }

  .catalog-panel-v2__mobile-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    color: #5f6f8b;
    flex: 0 0 auto;
  }

  .catalog-panel-v2__mobile-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .catalog-panel-v2__cards {
    grid-template-columns: 1fr;
    padding-right: 0;
  }

  .catalog-panel-v2__card {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 10px 12px;
  }

  .catalog-panel-v2__card-media {
    width: 78px;
    height: 78px;
  }
}
