/* KIT Expert public CSS: base.css */

:root {
  --kitexpert-bg: #eef3fb;
  --kitexpert-panel: rgba(255, 255, 255, 0.84);
  --kitexpert-panel-strong: rgba(255, 255, 255, 0.92);
  --kitexpert-line: rgba(26, 39, 60, 0.08);
  --kitexpert-text: #18283d;
  --kitexpert-soft: #687b92;
  --kitexpert-blue: #5c8fe0;
  --kitexpert-cyan: #9fd7ff;
  --kitexpert-lavender: #b6aff3;
  --kitexpert-accent: #f2b37a;
  --kitexpert-mint: #9fd7cf;
  --kitexpert-glow: rgba(92, 143, 224, 0.14);
  --kitexpert-radius: 30px;
  --kitexpert-shadow: 0 22px 54px rgba(27, 46, 66, 0.08);
  --kitexpert-shadow-strong: 0 28px 64px rgba(27, 46, 66, 0.12);
  --kitexpert-font-body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --kitexpert-font-display: "Archivo", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.is-ios-telegram-scroll-fix,
html.is-ios-telegram-scroll-fix body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--kitexpert-text);
  font-family: var(--kitexpert-font-body);
  line-height: 1.65;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(159, 215, 255, 0.24), transparent 22%),
    radial-gradient(circle at top right, rgba(182, 175, 243, 0.18), transparent 24%),
    linear-gradient(180deg, #f8faff 0%, var(--kitexpert-bg) 100%);
}

body.kitexpert-menu-lock {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.kitexpert-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

html.is-ios-telegram-scroll-fix .kitexpert-shell {
  height: 100dvh;
  min-height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateZ(0);
}

html.is-ios-telegram-scroll-fix .kitexpert-header {
  transform: translateZ(0);
}

.kitexpert-container {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
}

.kitexpert-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 255, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 39, 60, 0.06);
}

.kitexpert-header__inner {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
}

.kitexpert-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kitexpert-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.kitexpert-brand__logo img {
  width: auto;
  max-width: 244px;
  max-height: 76px;
  height: auto;
}

.kitexpert-brand__text {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: auto;
}

.kitexpert-brand__tagline,
.kitexpert-copy--soft {
  color: var(--kitexpert-soft);
}

.kitexpert-brand__tagline {
  position: relative;
  display: block;
  min-height: 2.4em;
  width: min(var(--kitexpert-brand-tagline-width, 28ch), 34vw);
  font-size: var(--kitexpert-brand-tagline-font-size, 0.72rem);
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

.kitexpert-brand__tagline-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  border-radius: 999px;
  vertical-align: -0.12em;
  background: rgba(92, 143, 224, 0.72);
  animation: kitexpert-tagline-caret 0.9s steps(1, end) infinite;
}

.kitexpert-brand__tagline-text {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

.kitexpert-brand__tagline-line {
  display: block;
  white-space: nowrap;
}

@keyframes kitexpert-tagline-caret {
  0%,
  45% {
    opacity: 1;
  }

  46%,
  100% {
    opacity: 0;
  }
}

.kitexpert-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitexpert-nav .menu {
  overflow: visible;
}

.kitexpert-nav .menu-item {
  position: relative;
}

.kitexpert-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.kitexpert-nav .menu-item-has-children > a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.kitexpert-nav .menu-item-has-children.is-menu-open > a::after {
  transform: rotate(225deg) translateY(-1px);
  opacity: 1;
}

.kitexpert-nav .sub-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  min-width: 240px;
  padding: 14px;
  border: 1px solid rgba(92, 143, 224, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 38px rgba(27, 46, 66, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.kitexpert-nav .sub-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(92, 143, 224, 0.14);
  border-left: 1px solid rgba(92, 143, 224, 0.14);
  background: rgba(255, 255, 255, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.kitexpert-nav .menu-item-has-children.is-menu-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.kitexpert-nav .sub-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--kitexpert-soft);
  transition: color 0.2s ease, background 0.2s ease;
}

.kitexpert-nav .sub-menu a:hover,
.kitexpert-nav .sub-menu a:focus-visible {
  background: rgba(92, 143, 224, 0.08);
  color: var(--kitexpert-text);
}

.kitexpert-nav {
  position: relative;
  min-width: 0;
  padding-inline: 18px;
}

.kitexpert-nav::before,
.kitexpert-nav::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 1px;
  height: 34px;
  border-radius: 999px;
  background: rgba(92, 143, 224, 0.32);
  transform: translateY(-50%);
}

.kitexpert-nav::before {
  left: 0;
}

.kitexpert-nav::after {
  right: 0;
}

.kitexpert-nav-scroll-hint {
  display: none;
}

.kitexpert-nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--kitexpert-soft);
  transition: color 0.2s ease;
}

.kitexpert-nav a:hover {
  color: var(--kitexpert-text);
}

.kitexpert-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(92, 143, 224, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 24px rgba(27, 46, 66, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kitexpert-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(92, 143, 224, 0.24);
  box-shadow: 0 18px 28px rgba(27, 46, 66, 0.1);
}

.kitexpert-menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--kitexpert-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.kitexpert-menu-toggle.is-open .kitexpert-menu-toggle__line:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.kitexpert-menu-toggle.is-open .kitexpert-menu-toggle__line:nth-child(3) {
  opacity: 0;
}

.kitexpert-menu-toggle.is-open .kitexpert-menu-toggle__line:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.kitexpert-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.kitexpert-button,
.kitexpert-button:visited,
.kitexpert-button:hover,
.kitexpert-button:focus-visible {
  color: #fff;
  text-decoration: none;
}

.kitexpert-header__cta {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 16px;
  font-size: 0.88rem;
}

.kitexpert-button:hover {
  transform: translateY(-2px);
}

.kitexpert-button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--kitexpert-blue), var(--kitexpert-lavender));
  box-shadow: 0 16px 28px rgba(92, 143, 224, 0.2);
}

.kitexpert-button--primary:hover {
  box-shadow: 0 24px 34px rgba(92, 143, 224, 0.24);
}

.kitexpert-button--secondary {
  color: #fff;
  border-color: rgba(92, 143, 224, 0.24);
  background: linear-gradient(135deg, #73b5f4, #8d9df2);
  box-shadow: 0 14px 24px rgba(92, 143, 224, 0.18);
}

.kitexpert-button--secondary:hover {
  border-color: rgba(92, 143, 224, 0.34);
  box-shadow: 0 22px 32px rgba(92, 143, 224, 0.22);
}

.kitexpert-main {
  flex: 1 0 auto;
  padding: 28px 0 80px;
}

.kitexpert-panel--section {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.kitexpert-panel--hero {
  padding: 30px;
}

.kitexpert-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kitexpert-line);
  border-radius: var(--kitexpert-radius);
  background:
    radial-gradient(circle at top left, var(--kitexpert-glow), transparent 24%),
    var(--kitexpert-panel);
  box-shadow: var(--kitexpert-shadow);
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.kitexpert-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 143, 224, 0.2);
  box-shadow: var(--kitexpert-shadow-strong);
}

.kitexpert-panel--hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--kitexpert-blue), var(--kitexpert-cyan), var(--kitexpert-lavender));
}

.kitexpert-eyebrow,
.kitexpert-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(92, 143, 224, 0.12);
  color: var(--kitexpert-blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kitexpert-eyebrow {
  padding: 0;
  background: none;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--kitexpert-font-display);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.kitexpert-section__title {
  margin-top: 14px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.kitexpert-copy {
  margin: 14px 0 0;
  color: var(--kitexpert-soft);
  font-size: 1rem;
  line-height: 1.76;
}

.kitexpert-panel--hero > .kitexpert-copy {
  font-weight: 700;
}

.kitexpert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.kitexpert-panel--section > .kitexpert-actions:last-child,
.kitexpert-panel--section > .kitexpert-actions.kitexpert-actions--stack:last-child {
  margin-top: auto;
  padding-top: 24px;
}

.kitexpert-actions--stack {
  align-items: center;
  justify-content: flex-start;
}

.kitexpert-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.kitexpert-list li {
  position: relative;
  padding-left: 18px;
  color: var(--kitexpert-soft);
}

.kitexpert-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--kitexpert-blue), var(--kitexpert-lavender));
}

.kitexpert-footer {
  margin-top: auto;
  padding-top: 12px;
  margin-bottom: 18px;
}

.kitexpert-footer__surface {
  padding: 28px 0 0;
  border-top: 1px solid rgba(26, 39, 60, 0.1);
}

.kitexpert-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px;
  align-items: start;
}

.kitexpert-footer__section {
  display: grid;
  align-content: start;
  gap: 14px;
}

.kitexpert-footer__section--brand {
  gap: 10px;
}

.kitexpert-footer__brand {
  margin: 0;
  font-family: var(--kitexpert-font-display);
  font-size: 1.24rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.kitexpert-footer__title {
  margin: 0;
  color: var(--kitexpert-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kitexpert-footer__tagline,
.kitexpert-footer__text {
  margin: 0;
  color: var(--kitexpert-soft);
}

.kitexpert-footer__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kitexpert-footer__text {
  font-size: 0.95rem;
  line-height: 1.65;
}

.kitexpert-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitexpert-footer__list li {
  display: grid;
  gap: 3px;
}

.kitexpert-footer__list span,
.kitexpert-footer__requisites span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kitexpert-soft);
}

.kitexpert-footer__list a,
.kitexpert-footer__list strong,
.kitexpert-footer__requisites strong {
  font-weight: 600;
  color: var(--kitexpert-text);
  text-decoration: none;
}

.kitexpert-footer__list a:hover,
.kitexpert-footer__list a:focus-visible,
.kitexpert-footer__nav a:hover,
.kitexpert-footer__nav a:focus-visible {
  color: var(--kitexpert-blue);
}

.kitexpert-footer__nav ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kitexpert-footer__nav a {
  color: var(--kitexpert-text);
  text-decoration: none;
  font-weight: 600;
}

.kitexpert-footer__requisites {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(26, 39, 60, 0.08);
}

.kitexpert-section--page {
  padding: 34px 30px;
  margin-bottom: 18px;
  border: 1px solid var(--kitexpert-line);
  border-radius: var(--kitexpert-radius);
  background: var(--kitexpert-panel-strong);
  box-shadow: var(--kitexpert-shadow);
}

.kitexpert-page-header {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.kitexpert-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
}

.kitexpert-page-intro .kitexpert-page-header {
  margin-bottom: 18px;
}

.kitexpert-page-intro__copy {
  min-width: 0;
}

.kitexpert-page-intro__text {
  color: var(--kitexpert-soft);
  font-size: 1.04rem;
  line-height: 1.74;
}

.kitexpert-page-intro__text p {
  margin: 0 0 16px;
}

.kitexpert-page-intro__text p:last-child {
  margin-bottom: 0;
}

.kitexpert-page-intro__visual {
  min-width: 0;
}

.kitexpert-rich-content {
  color: var(--kitexpert-soft);
  font-size: 1.04rem;
  line-height: 1.74;
}

.kitexpert-rich-content > *:first-child {
  margin-top: 0;
}

.kitexpert-rich-content h2,
.kitexpert-rich-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.kitexpert-rich-content p,
.kitexpert-rich-content ul,
.kitexpert-rich-content ol {
  margin: 0 0 16px;
}

.kitexpert-rich-content ul,
.kitexpert-rich-content ol {
  padding-left: 20px;
}

.kitexpert-rich-content ul[class*="kitexpert-"][class$="-list"],
.kitexpert-rich-content ol[class*="kitexpert-"][class$="-list"],
.kitexpert-rich-content ul[class*="kitexpert-"][class$="-timeline"],
.kitexpert-rich-content ol[class*="kitexpert-"][class$="-timeline"] {
  padding-left: 0;
  list-style: none;
}

.kitexpert-rich-content a {
  color: var(--kitexpert-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.kitexpert-rich-content a.kitexpert-button,
.kitexpert-rich-content a.kitexpert-button:visited,
.kitexpert-rich-content a.kitexpert-button:hover,
.kitexpert-rich-content a.kitexpert-button:focus-visible {
  color: #fff;
  text-decoration: none;
}

.kitexpert-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 60;
  pointer-events: none;
}

.kitexpert-consent-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(92, 143, 224, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(27, 46, 66, 0.13);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.kitexpert-consent-banner__copy {
  display: grid;
  gap: 4px;
}

.kitexpert-consent-banner__copy p {
  margin: 0;
  color: var(--kitexpert-soft);
  font-size: 0.86rem;
  line-height: 1.4;
}

.kitexpert-consent-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kitexpert-consent-banner__links a {
  color: var(--kitexpert-blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.kitexpert-consent-banner__button {
  min-height: 34px;
  padding: 8px 14px;
  font-size: 0.82rem;
}

body.has-kitexpert-consent-banner {
  padding-bottom: 90px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 920px) {
  .kitexpert-header__inner {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      flex-wrap: wrap;
    }

  .kitexpert-footer__top {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

  .kitexpert-brand {
      align-items: flex-start;
      width: 100%;
    }

  .kitexpert-nav {
      width: 100%;
      padding-inline: 0;
    }

  .kitexpert-nav::before,
    .kitexpert-nav::after {
      display: none;
    }

  .kitexpert-nav ul {
      justify-content: flex-start;
    }

  .kitexpert-consent-banner__inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 14px;
    }

  .kitexpert-consent-banner__button {
      align-self: flex-end;
    }
}

@media (max-width: 720px) {
  .kitexpert-container {
      width: min(100% - 20px, 1240px);
    }

  .kitexpert-header__inner {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 10px 12px;
      padding: 10px 0;
    }

  .kitexpert-footer__top {
      grid-template-columns: 1fr;
    }

  .kitexpert-brand {
      flex-direction: row;
      align-items: center;
      gap: 10px;
      min-width: 0;
      width: auto;
    }

  .kitexpert-brand__logo {
      max-width: none;
      flex: 0 0 auto;
    }

  .kitexpert-brand__logo img {
      max-width: 156px;
      max-height: 52px;
    }

  .kitexpert-brand__text {
      min-width: 0;
      width: auto;
    }

  .kitexpert-brand__tagline {
      font-size: 0.58rem;
      letter-spacing: 0;
      line-height: 1.15;
      width: min(var(--kitexpert-brand-tagline-width, 224px), calc(100vw - 170px));
    }

  .kitexpert-brand__tagline-caret {
      width: 1px;
      margin-left: 1px;
    }

  .kitexpert-main {
      padding: 18px 0 64px;
    }

  h1 {
      margin-top: 14px;
      font-size: clamp(2rem, 8.6vw, 2.9rem);
      line-height: 1;
    }

  .kitexpert-section__title {
      font-size: clamp(1.55rem, 6.8vw, 2.1rem);
      line-height: 1.04;
    }

  .kitexpert-panel--hero,
    .kitexpert-panel--section,
    .kitexpert-section--page {
      padding: 24px 20px;
      border-radius: 24px;
    }

  .kitexpert-page-intro {
      grid-template-columns: 1fr;
      gap: 18px;
      margin-bottom: 26px;
    }

  .kitexpert-menu-toggle {
      display: inline-flex;
      flex-direction: column;
    }

  .kitexpert-nav {
      display: none;
      position: fixed;
      top: calc(72px + env(safe-area-inset-top, 0px));
      right: 10px;
      bottom: max(10px, env(safe-area-inset-bottom));
      left: 10px;
      z-index: 40;
      width: auto;
      height: calc(100dvh - 82px - env(safe-area-inset-bottom, 0px));
      max-height: calc(100dvh - 82px - env(safe-area-inset-bottom, 0px));
      padding: 18px;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      border: 1px solid rgba(92, 143, 224, 0.12);
      border-radius: 22px;
      background: rgba(255, 255, 255, 0.97);
      box-shadow: 0 18px 36px rgba(27, 46, 66, 0.1);
    }

  .kitexpert-nav-scroll-hint {
      position: fixed;
      display: block;
      left: 50%;
      z-index: 41;
      width: 18px;
      height: 18px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.18s ease;
    }

  .kitexpert-nav-scroll-hint--up {
      top: calc(84px + env(safe-area-inset-top, 0px));
      border-top: 2px solid rgba(92, 143, 224, 0.72);
      border-left: 2px solid rgba(92, 143, 224, 0.72);
      transform: translateX(-50%) rotate(45deg);
    }

  .kitexpert-nav-scroll-hint--down {
      bottom: 26px;
      border-right: 2px solid rgba(92, 143, 224, 0.72);
      border-bottom: 2px solid rgba(92, 143, 224, 0.72);
      transform: translateX(-50%) rotate(45deg);
    }

  .kitexpert-nav-scroll-hint.is-visible {
      opacity: 1;
    }

  .kitexpert-nav.is-open {
      display: block;
    }

  .kitexpert-nav ul {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      width: 100%;
      align-items: start;
    }

  .kitexpert-nav a {
      display: inline-flex;
      padding: 6px 0;
      font-size: 0.95rem;
    }

  .kitexpert-nav .menu-item-has-children > a::after {
      margin-left: auto;
    }

  .kitexpert-nav .sub-menu {
      position: static;
      min-width: 0;
      margin: 6px 0 0 14px;
      padding: 10px 0 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: none;
    }

  .kitexpert-nav .sub-menu::before {
      display: none;
    }

  .kitexpert-nav .sub-menu a {
      padding: 4px 0;
      border-radius: 0;
      color: var(--kitexpert-soft);
    }

  .kitexpert-nav .sub-menu a:hover,
    .kitexpert-nav .sub-menu a:focus-visible {
      background: transparent;
      color: var(--kitexpert-text);
    }

  .kitexpert-actions {
      flex-direction: column;
      align-items: stretch;
    }

  .kitexpert-header__cta {
      display: none;
    }

  .kitexpert-consent-banner__links {
      flex-direction: column;
      align-items: flex-start;
    }

  body.has-kitexpert-consent-banner {
      padding-bottom: 150px;
    }
}
