:root {
    --lego-yellow: #ffcd00;
    --lego-red: #ee292e;
    --lego-blue: #0060af;
    --lego-sky: #009edd;
    --lego-green: #00b956;
    --lego-orange: #ee7500;
    --lego-black: #191919;
    --lego-radius: 40px;
    --lego-container: 1180px;
    --lego-font: "Cera Pro", Arial, sans-serif;
}

/* City selector */
body.lego-cities-page {
    min-height: 100vh;
    background: #fff;
}

.lego-cities {
    min-height: 100vh;
    color: var(--lego-black);
}

.lego-cities__container {
    width: min(1110px, calc(100% - 40px));
    margin: 0 auto;
}

.lego-cities__intro {
    padding: 38px 0 85px;
    background: #fff;
    text-align: center;
}

.lego-cities__logo {
    width: min(330px, 62vw);
    height: auto;
    margin: 0 auto 22px;
}

.lego-cities h1 {
    display: inline-block;
    margin: 0;
    padding-left: 22px;
    border-left: 6px solid var(--lego-orange);
    color: var(--lego-red);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.06;
    text-align: left;
}

.lego-cities__locations {
    min-height: 655px;
    padding: 52px 0 0;
    background: #e9eaee url("../images/decor/back_main_map.svg") center 100px / auto no-repeat;
    text-align: center;
}

.lego-cities h2 {
    margin: 0 0 28px;
    color: #5b2bbf;
    font-size: clamp(32px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1.05;
}

.lego-cities h2 br {
    display: none;
}

.lego-cities__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.lego-cities__buttons .lego-btn {
    min-width: 154px;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 13px;
    font-size: 15px;
}

.lego-cities__buttons .lego-btn::before {
    left: 14px;
    width: 19px;
    height: 8px;
}

.lego-cities__empty {
    margin: 0;
    color: #65676b;
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 560px) {
    .lego-cities__container {
        width: min(100% - 30px, 520px);
    }

    .lego-cities__intro {
        padding: 22px 0 100px;
    }

    .lego-cities__logo {
        width: 195px;
        margin: 0 0 45px;
    }

    .lego-cities h1 {
        display: block;
        padding-left: 15px;
        border-left-width: 5px;
        font-size: clamp(32px, 9vw, 36px);
        line-height: 1.1;
    }

    .lego-cities__locations {
        min-height: 530px;
        padding: 40px 0 72vw;
        background-position: center bottom;
        background-size: 100% auto;
        text-align: left;
    }

    .lego-cities h2 {
        margin-bottom: 24px;
        font-size: clamp(30px, 9vw, 40px);
        text-align: left;
    }

    .lego-cities h2 br {
        display: block;
    }

    .lego-cities__buttons {
        justify-content: flex-start;
    }

    .lego-cities__buttons .lego-btn {
        min-width: 140px;
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Type forms */
.lego-form-page {
  padding: clamp(38px, 5vw, 68px) 0;
  background: #f6f7f9;
}

.lego-form-page__container {
  display: flex;
  justify-content: center;
}

.lego-type-form {
  width: 100%;
  max-width: 420px;
  color: #171717;
}

.lego-type-form__head h1,
.lego-type-form__head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.08;
}

.lego-type-form__head p {
  margin: 10px 0 0;
  color: #707480;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.lego-type-form__progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  margin: 30px 14px;
}

.lego-type-form__progress span {
  position: relative;
  height: 4px;
  background: #ffc800;
}

.lego-type-form__progress span::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #ffc800;
  border-radius: 50%;
  background: #f6f7f9;
  transform: translate(-50%, -50%);
}

.lego-type-form__progress span:nth-child(-n+2)::before,
.lego-type-form__progress--complete span::before {
  background: #ffc800;
  box-shadow: inset 0 0 0 4px #f6f7f9;
}

.lego-type-form__progress span:last-child::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid #ffc800;
  border-radius: 50%;
  background: #f6f7f9;
  transform: translate(50%, -50%);
}

.lego-type-form__progress--complete span:last-child::after {
  background: #ffc800;
  box-shadow: inset 0 0 0 4px #f6f7f9;
}

.lego-type-form__lead {
  margin: 0 0 24px;
  color: #707480;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.45;
}

.lego-type-form__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: #707480;
  font-size: 16px;
  font-weight: 700;
}

.lego-type-form__note strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #3978e9;
  font-family: Georgia, serif;
  font-size: 20px;
}

.lego-type-form__form {
  display: grid;
  gap: 14px;
}

.lego-type-form__field {
  position: relative;
  display: block;
  min-height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 13px;
  background: #e9eef5;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.lego-type-form__field label {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 16px;
  max-width: calc(100% - 32px);
  color: #666a72;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.15;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left top;
  transition: top .18s ease, color .18s ease, font-size .18s ease, transform .18s ease;
}

.lego-type-form__field input,
.lego-type-form__field textarea {
  width: 100%;
  min-height: 60px;
  padding: 25px 16px 9px;
  border: 0;
  outline: 0;
  color: #171717;
  background: transparent;
  font: inherit;
  font-size: 18px;
  line-height: 1.25;
  resize: vertical;
}

.lego-type-form__field textarea {
  min-height: 108px;
  padding-top: 29px;
}

.lego-type-form__field--textarea label {
  top: 25px;
}

.lego-type-form__field.is-focused,
.lego-type-form__field:focus-within {
  border-color: #ffcd00;
  box-shadow: 0 0 0 3px rgba(255, 205, 0, .2);
}

.lego-type-form__field.is-filled label,
.lego-type-form__field.is-focused label,
.lego-type-form__field:focus-within label,
.lego-type-form__field input:not(:placeholder-shown) + label,
.lego-type-form__field textarea:not(:placeholder-shown) + label,
.lego-type-form__field input:-webkit-autofill + label,
.lego-type-form__field textarea:-webkit-autofill + label {
  top: 9px;
  color: #555a63;
  font-size: 12px;
  transform: translateY(0);
}

.lego-type-form__field small {
  display: none;
  padding: 0 16px 9px;
  color: #d11013;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.lego-type-form__field small:not(:empty) {
  display: block;
}

.lego-type-form__field.is-invalid {
  border-color: #d11013;
}

.lego-type-form__agree-field {
  display: grid;
  gap: 4px;
}

.lego-type-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: #686d78;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.lego-type-form__agree input {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #ffc800;
  cursor: pointer;
}

.lego-type-form__agree input:focus-visible {
  outline: 3px solid rgba(0, 96, 175, .45);
  outline-offset: 2px;
}

.lego-type-form__agree-field.is-invalid .lego-type-form__agree input {
  outline: 2px solid #d11013;
  outline-offset: 1px;
}

.lego-type-form__agree-field.is-invalid .lego-type-form__agree input:focus-visible {
  outline-width: 3px;
  box-shadow: 0 0 0 2px rgba(0, 96, 175, .28);
}

.lego-type-form__agree a {
  color: #246bd8;
  text-decoration: underline;
}

.lego-type-form__agree-error {
  display: none;
  margin-left: 32px;
  color: #d11013;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.lego-type-form__agree-error:not(:empty) {
  display: block;
}

.lego-type-form__trap {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lego-type-form__status {
  min-height: 20px;
  margin: 0;
  color: #5d626b;
  font-size: 13px;
  font-weight: 700;
}

.lego-type-form__status.is-error {
  color: #d11013;
}

.lego-type-form__submit {
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  border: 0;
}

.lego-type-form__submit:disabled {
  cursor: wait;
  opacity: .65;
}

.lego-type-form__success {
  text-align: center;
}

.lego-type-form__success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 2px 0 20px;
  border-radius: 50%;
  color: #fff;
  background: #00b95c;
  font-size: 44px;
  font-weight: 700;
}

.lego-type-form__success h3 {
  margin: 0 0 14px;
  font-size: clamp(23px, 3vw, 30px);
}

.lego-type-form__success > p {
  margin: 0 auto 24px;
  max-width: 420px;
  color: #666a72;
  font-size: 16px;
  line-height: 1.45;
}

.lego-cookie-notice {
  position: fixed;
  z-index: 2500;
  left: 20px;
  bottom: calc(20px + var(--lego-cookie-safe-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(680px, calc(100vw - 40px));
  padding: 16px 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(23, 23, 23, .96);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .24);
  font-size: 14px;
  line-height: 1.35;
  transition: bottom .2s ease;
}

.lego-cookie-notice p {
  margin: 0;
}

.lego-cookie-notice a {
  color: #fff;
  text-decoration: underline;
}

.lego-cookie-notice button {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  color: #171717;
  background: #ffc800;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .lego-type-form__head h1,
  .lego-type-form__head h2 {
    font-size: 32px;
    line-height: 1.1;
  }

  .lego-type-form__head p {
    font-size: 17px;
  }
}

@media (max-width: 680px) {
  .lego-form-page {
    padding: 30px 0 46px;
  }

  .lego-type-form__progress {
    margin: 28px 14px;
  }

  .lego-type-form__field input,
  .lego-type-form__field textarea {
    font-size: 17px;
  }

  .lego-type-form__agree {
    font-size: 12px;
  }

  .lego-type-form__submit {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .lego-cookie-notice {
    left: 10px;
    bottom: calc(10px + var(--lego-cookie-safe-bottom, 0px));
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    width: calc(100vw - 20px);
    padding: 14px;
  }

  .lego-cookie-notice button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .lego-type-form__head h1,
  .lego-type-form__head h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .lego-type-form__head p {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.4;
  }

  .lego-type-form__progress {
    margin: 26px 14px;
  }
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 106px;
}

body {
    margin: 0;
    overflow-x: clip;
    background: #fff;
    color: var(--lego-black);
    font-family: var(--lego-font);
    letter-spacing: 0;
}

body.lego-page {
    padding-top: 72px;
}

body.lego-page--tickets {
    background: #fff;
    --pf-bg: #fff;
    --pf-surface: #e9eaee;
    --pf-card: #e9eaee;
    --pf-text: #191919;
    --pf-text-muted: #777777;
    --pf-brand: #ee292e;
    --pf-brand-pressed: #d91f24;
    --pf-accent: #ffcd00;
    --pf-dark-btn: #333333;
    --pf-border: #b7b7b7;
    --pf-radius-xl: 0;
    --pf-radius-lg: 0;
    --pf-radius-md: 0;
    --pf-shadow: none;
}

body.is-lego-fancybox-open,
body.is-format-video-open,
body.is-partner-modal-open,
body.is-ticket-modal-open,
body.is-city-closed-modal-open {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

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

[data-lego-lazy-src] {
    opacity: 0;
    transition: opacity 0.18s ease;
}

[data-lego-lazy-src].is-lego-lazy-loaded {
    opacity: 1;
}

.lego-container {
    width: min(var(--lego-container), calc(100% - 40px));
    margin: 0 auto;
}

body.lego-page--tickets .pf-container {
    width: min(1200px, calc(100% - 40px));
}

body.lego-page--tickets .pf-page {
    min-height: auto;
}

body.lego-page--tickets .pf-main {
    padding: 118px 0 224px;
}

body.lego-page--tickets .pf-layout {
    grid-template-columns: minmax(0, 760px) 400px;
    gap: 40px;
    align-items: start;
}

body.lego-page--tickets .pf-step-title {
    margin: 0 0 20px;
    color: #111111;
    font-size: 37px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

body.lego-page--tickets .pf-step-subtitle {
    margin: -14px 0 24px;
    color: #111111;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

body.lego-page--tickets .pf-usp {
    gap: 20px;
    margin-bottom: 20px;
}

body.lego-page--tickets .pf-usp__item {
    min-height: 76px;
    padding: 0 23px 0 8px;
    gap: 14px;
    border-radius: 0;
    background: #e9eaee;
    color: #111111;
}

body.lego-page--tickets .pf-usp__item--accent {
    background: var(--lego-yellow);
}

body.lego-page--tickets .pf-usp__avatar {
    width: 67px;
    height: 67px;
    border-radius: 0;
    object-fit: contain;
}

body.lego-page--tickets .pf-usp__copy_wrap {
    column-gap: 14px;
}

body.lego-page--tickets .pf-usp__text {
    color: #111111;
    font-size: 21px;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

body.lego-page--tickets .pf-usp__subtext {
    margin-top: 2px;
    color: #111111;
    font-size: 15px;
    line-height: 1.05;
    font-weight: 600;
}

body.lego-page--tickets .pf-usp__pill {
    position: relative;
    margin-left: auto;
    padding: 8px 14px 7px;
    border-radius: 999px;
    background: #f37a1f;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-usp__item:not(.pf-usp__item--accent) .pf-usp__pill::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -28px;
    width: 1px;
    height: 38px;
    background: #9b9b9b;
    transform: translateY(-50%);
}

body.lego-page--tickets .pf-products {
    gap: 16px;
}

body.lego-page--tickets .pf-card {
    position: relative;
    min-height: 210px;
    padding: 26px 68px;
    overflow: visible;
    border-radius: 0;
    background: #e9eaee;
    box-shadow: none;
}

body.lego-page--tickets .pf-card::before,
body.lego-page--tickets .pf-card::after,
body.lego-page--tickets .pf-card--combo-open .pf-card__head::before,
body.lego-page--tickets .pf-card--combo-open .pf-card__head::after,
body.lego-page--tickets .pf-card--addon-open .pf-card__head::before,
body.lego-page--tickets .pf-card--addon-open .pf-card__head::after {
    content: "";
    position: absolute;
    top: 50%;
    z-index: 1;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    transform: translateY(-50%);
    pointer-events: none;
}

body.lego-page--tickets .pf-card::before,
body.lego-page--tickets .pf-card--combo-open .pf-card__head::before,
body.lego-page--tickets .pf-card--addon-open .pf-card__head::before {
    left: -32px;
}

body.lego-page--tickets .pf-card::after,
body.lego-page--tickets .pf-card--combo-open .pf-card__head::after,
body.lego-page--tickets .pf-card--addon-open .pf-card__head::after {
    right: -32px;
}

body.lego-page--tickets .pf-card__head {
    position: relative;
    z-index: 2;
    min-height: 146px;
    align-items: center;
    gap: 20px;
}

body.lego-page--tickets .pf-card__title-wrap {
    max-width: none;
}

body.lego-page--tickets .pf-card__title {
    color: #111111;
    font-size: 23px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}

body.lego-page--tickets .pf-card__subtitle {
    margin-top: 15px;
    color: #111111;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 500;
}

body.lego-page--tickets .pf-tags {
    gap: 8px;
    margin-top: 16px;
}

body.lego-page--tickets .pf-tag {
    padding: 9px 14px 8px;
    border-radius: 999px;
    background: #333333;
    color: #ffffff;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-tag--discount {
    background: #333333;
}

body.lego-page--tickets .pf-card__aside {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

body.lego-page--tickets .pf-price {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    min-width: 96px;
    gap: 9px;
    text-align: right;
}

body.lego-page--tickets .pf-price__current {
    color: #000000;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

body.lego-page--tickets .pf-price__old {
    margin: 0;
    color: #a6a6a6;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

body.lego-page--tickets .pf-btn {
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0;
}

body.lego-page--tickets .pf-btn--item {
    min-width: 128px;
    height: 40px;
    padding: 0 16px;
    font-size: 17px;
}

body.lego-page--tickets .pf-btn--action {
    height: 48px;
    font-size: 18px;
}

body.lego-page--tickets .pf-qty {
    width: 130px;
    min-width: 130px;
    height: 40px;
    padding: 0 14px;
    border-radius: 0;
    background: #ffffff;
}

body.lego-page--tickets .pf-qty__btn {
    width: 24px;
    height: 28px;
    color: #111111;
    font-size: 24px;
    font-weight: 900;
}

body.lego-page--tickets .pf-qty__value {
    color: #111111;
    font-size: 21px;
    font-weight: 900;
}

body.lego-page--tickets .pf-panel {
    margin-top: 57px;
    padding: 24px 20px 24px;
    border-radius: 0;
    background: #e9eaee;
    color: #111111;
    top: 128px;
}

body.lego-page--tickets .pf-panel__title {
    color: #111111;
    font-size: 29px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-panel__scroll {
    margin-top: 28px;
}

body.lego-page--tickets .pf-cart-line {
    margin-bottom: 18px;
    color: #111111;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
}

body.lego-page--tickets .pf-cart-line__qty {
    color: #777777;
    font-size: 16px;
    font-weight: 900;
}

body.lego-page--tickets .pf-cart-line__sum {
    color: #111111;
    font-size: 18px;
    font-weight: 900;
}

body.lego-page--tickets .pf-promo {
    margin-top: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #b6b6b6;
}

body.lego-page--tickets .pf-promo__row {
    gap: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: stretch;
}

body.lego-page--tickets .pf-promo__row--input-only,
body.lego-page--tickets .pf-promo__row--locked {
    grid-template-columns: minmax(0, 1fr);
}

body.lego-page--tickets .pf-promo__applied {
    min-width: 0;
}

body.lego-page--tickets .pf-panel .pf-input {
    height: 48px;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    font-size: 18px;
    font-weight: 500;
}

body.lego-page--tickets .pf-promo__clear {
    width: 58px;
    min-width: 58px;
    height: 48px;
    border-radius: 0;
    background: var(--lego-red);
}

body.lego-page--tickets .pf-promo__row > .pf-btn--primary,
body.lego-page--tickets .pf-promo__clear {
    width: 58px;
    min-width: 58px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    box-sizing: border-box;
}

body.lego-page--tickets .pf-promo__clear-icon,
body.lego-page--tickets .pf-promo__clear-icon::before,
body.lego-page--tickets .pf-promo__clear-icon::after {
    width: 20px;
}

body.lego-page--tickets .pf-promo__clear-icon {
    position: relative;
    display: block;
    height: 20px;
    margin-left: 2px;
}

body.lego-page--tickets .pf-promo__clear-icon::before,
body.lego-page--tickets .pf-promo__clear-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 6px);
    height: 3px;
    border-radius: 999px;
    background: #ffffff;
    transform-origin: center;
}

body.lego-page--tickets .pf-promo__clear-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.lego-page--tickets .pf-promo__clear-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes legouu-payment-reveal-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
        clip-path: inset(0 0 100% 0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0);
    }
}

@keyframes legouu-payment-fade-drop {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.lego-page--tickets .pf-usp__item:not(.pf-usp__item--accent) {
    animation: legouu-payment-fade-drop 0.22s ease-out both;
}

body.lego-page--tickets .pf-card-details--combo,
body.lego-page--tickets .pf-card-details--addon {
    animation: legouu-payment-reveal-down 0.22s ease-out both;
}

body.lego-page--tickets .pf-total {
    margin-top: 30px;
    padding-top: 0;
    border-top: 0;
}

body.lego-page--tickets .pf-total__title {
    color: #111111;
    font-size: 28px;
    font-weight: 900;
}

body.lego-page--tickets .pf-total__sum {
    color: #111111;
    font-size: 28px;
    font-weight: 900;
}

body.lego-page--tickets .pf-discount {
    margin-top: 28px;
}

body.lego-page--tickets .pf-discount__head {
    color: #111111;
    font-size: 18px;
    font-weight: 900;
}

body.lego-page--tickets .pf-discount__line {
    color: #555555;
    font-size: 15px;
    line-height: 1.25;
}

body.lego-page--tickets .pf-panel .pf-actions {
    gap: 12px;
    margin-top: 22px;
    padding-top: 0;
    border-top: 0;
}

body.lego-page--tickets .pf-panel .pf-btn--secondary,
body.lego-page--tickets .pf-panel .pf-btn--action {
    height: 48px;
    font-size: 16px;
}

body.lego-page--tickets .pf-panel .pf-btn--secondary {
    background: #ffffff;
    color: #333333;
    transition: background-color 0.18s ease, color 0.18s ease;
}

body.lego-page--tickets .pf-panel .pf-btn--secondary:not(:disabled):hover,
body.lego-page--tickets .pf-panel .pf-btn--secondary:not(:disabled):focus-visible,
body.lego-page--tickets .pf-mobile-actions .pf-btn--secondary:not(:disabled):hover,
body.lego-page--tickets .pf-mobile-actions .pf-btn--secondary:not(:disabled):focus-visible {
    background: #111111;
    color: #ffffff;
    filter: none;
}

body.lego-page--tickets .pf-action-hint--disabled + .pf-empty,
body.lego-page--tickets .pf-empty {
    display: block;
    color: #111111;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
}

body.lego-page--tickets .pf-card__toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 27px;
    padding: 0 30px 0 10px;
    border-radius: 0;
    background: var(--lego-orange);
    box-sizing: border-box;
}

body.lego-page--tickets .pf-card__toggle::before {
    content: "Подробнее";
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-card__toggle-icon {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.18s ease;
}

body.lego-page--tickets .pf-card__toggle.is-open .pf-card__toggle-icon {
    transform: translateY(-35%) rotate(225deg);
}

body.lego-page--tickets .pf-card--combo .pf-card__aside {
    gap: 28px;
}

body.lego-page--tickets .pf-card--combo .pf-btn--item,
body.lego-page--tickets .pf-card--combo .pf-qty {
    min-width: 128px;
    height: 40px;
}

body.lego-page--tickets .pf-card--combo-open,
body.lego-page--tickets .pf-card--addon-open {
    background: transparent;
}

body.lego-page--tickets .pf-card--combo-open::before,
body.lego-page--tickets .pf-card--combo-open::after,
body.lego-page--tickets .pf-card--addon-open::before,
body.lego-page--tickets .pf-card--addon-open::after {
    display: none;
}

body.lego-page--tickets .pf-card--combo-open .pf-card__head,
body.lego-page--tickets .pf-card--addon-open .pf-card__head {
    position: relative;
    min-height: 236px;
    padding: 38px 68px 34px;
    background: #e9eaee;
    box-shadow: none;
}

body.lego-page--tickets .pf-card-details--combo {
    margin-top: 0;
    padding: 38px 55px 28px;
    border-radius: 0;
    background: #e9eaee;
    box-shadow: none;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 46px;
    border-top: 1px solid #b6b6b6;
}

body.lego-page--tickets .pf-card-details--addon {
    margin-top: 0;
    padding: 38px 55px 28px;
    border-top: 1px solid #b6b6b6;
    border-radius: 0;
    background: #e9eaee;
    box-shadow: none;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 46px;
}

body.lego-page--tickets .pf-card-details--addon .pf-card-details__text {
    margin: 0;
    color: #111111;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__lead {
    order: 10;
    margin: 22px 0 0;
    color: #777777;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__group {
    margin: 0 0 10px;
    color: #111111;
    font-size: 14px;
    font-weight: 900;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__name {
    color: #111111;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 900;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__text {
    margin-top: 11px;
    color: #111111;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__slider {
    order: 8;
    margin: 28px 0 0;
    gap: 8px;
}

body.lego-page--tickets .pf-card-details__counter {
    flex: 0 0 42px;
    min-width: 42px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

body.lego-page--tickets .pf-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background: #333333;
    color: #ffffff;
}

body.lego-page--tickets .pf-card-details__progress {
    width: 95px;
    display: none;
}

body.lego-page--tickets .pf-card-details--combo .pf-card-details__media {
    border-radius: 14px;
    aspect-ratio: 1.8 / 1;
    background: #dcdde1;
}

body.lego-page--tickets .pf-card-details__media-counter {
    min-width: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

body.lego-page--tickets .pf-checkout {
    padding: 34px 32px 34px;
    border-radius: 0;
    background: #e9eaee;
}

body.lego-page--tickets .pf-checkout__title {
    color: #111111;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-checkout__desc {
    margin-top: 16px;
    color: #111111;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
}

body.lego-page--tickets .pf-form-grid {
    margin-top: 24px;
    gap: 10px;
}

body.lego-page--tickets .pf-field label {
    margin-bottom: 8px;
    color: #111111;
    font-size: 15px;
    line-height: 1;
    font-weight: 900;
}

body.lego-page--tickets .pf-field .pf-input {
    height: 50px;
    border-radius: 0;
    background: #ffffff;
    color: #111111;
    font-size: 16px;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label {
    display: block;
    position: relative;
    min-width: 0;
    padding-left: 38px;
    color: #111111;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label::before,
body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label::before {
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border: 2px solid #777777;
    border-radius: 4px;
    background: #ffffff;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label::after {
    top: 11px;
    left: 12px;
    width: 13px;
    height: 8px;
    border-left: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    opacity: 0;
    transform: translate(-50%, -64%) rotate(-45deg);
    transition: opacity 0.18s ease;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox input[type="checkbox"]:not(:checked) + label::before {
    background: #ffffff;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox input[type="checkbox"]:checked + label::before {
    border-color: var(--lego-sky);
    background: var(--lego-sky);
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox input[type="checkbox"]:checked + label::after {
    opacity: 1;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox input[type="checkbox"]:focus-visible + label::before {
    border-color: var(--lego-sky);
    box-shadow: 0 0 0 3px rgba(0, 158, 221, 0.2);
}

body.lego-page--tickets .pf-checkout .pf-consent--error .checkbox label::before,
body.lego-page--tickets .pf-checkout .input_robo.input_check.pf-consent--error .checkbox label::before {
    border-color: var(--lego-red);
    background: #fff4f4;
}

body.lego-page--tickets .pf-checkout .input_robo.input_check .checkbox label a {
    color: var(--lego-sky);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (min-width: 901px) {
    body.lego-page--tickets .pf-main--combos {
        padding-top: 118px;
        padding-bottom: 120px;
    }

    body.lego-page--tickets .pf-main--combos .pf-container {
        width: min(1200px, calc(100% - 40px));
    }

    body.lego-page--tickets .pf-main--combos .pf-layout {
        grid-template-columns: minmax(0, 760px) 400px;
        gap: 40px;
    }

    body.lego-page--tickets .pf-main--combos .pf-step-title {
        margin-bottom: 12px;
        font-size: 37px;
        line-height: 1;
    }

    body.lego-page--tickets .pf-main--combos .pf-step-subtitle {
        margin: 0 0 44px;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 900;
        color: #111111;
    }

    body.lego-page--tickets .pf-main--combos .pf-products {
        gap: 24px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo {
        min-height: 306px;
        padding: 40px 68px 36px;
        overflow-anchor: none;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo::before,
    body.lego-page--tickets .pf-main--combos .pf-card--combo::after {
        width: 64px;
        height: 64px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo::before {
        left: -32px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo::after {
        right: -32px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-card__head {
        min-height: 230px;
        gap: 28px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-card__title-wrap {
        max-width: 420px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__kicker {
        display: inline-flex;
        align-items: center;
        min-height: 26px;
        margin-bottom: 14px;
        padding: 0 13px;
        border-radius: 999px;
        background: var(--lego-blue);
        color: #ffffff;
        font-size: 12px;
        line-height: 1;
        font-weight: 900;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-card__title {
        display: block;
        align-items: center;
        flex-wrap: wrap;
        gap: 13px 18px;
        font-size: 23px;
        line-height: 1.08;
        text-transform: uppercase;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__toggle {
        display: flex;
        width: max-content;
        height: 27px;
        padding: 0 30px 0 10px;
        margin-top: 10px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__toggle::before {
        font-size: 14px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__toggle-icon {
        right: 9px;
        width: 8px;
        height: 8px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__subtitle {
        max-width: 420px;
        margin-top: 15px;
        font-size: 17px;
        line-height: 1.22;
    }

    body.lego-page--tickets .pf-main--combos .pf-tags {
        gap: 8px 6px;
        margin-top: 16px;
    }

    body.lego-page--tickets .pf-main--combos .pf-tag {
        padding: 9px 14px 8px;
        font-size: 15px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-card__aside {
        width: 128px;
        gap: 38px;
        align-self: center;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-price {
        align-items: center;
        min-width: 0;
        width: 128px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-price__current {
        font-size: 38px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-price__old {
        font-size: 16px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-btn--item,
    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-qty {
        width: 144px;
        min-width: 144px;
        height: 49px;
        font-size: 17px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-qty {
        padding: 0 14px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-qty__btn {
        width: 24px;
        height: 28px;
        font-size: 24px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-qty__value {
        font-size: 21px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head {
        min-height: 306px;
        padding: 40px 68px 36px;
        border-bottom: 1px solid #b6b6b6;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__title-wrap {
        max-width: 420px;
        flex: 0 1 420px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__title {
        font-size: 23px;
        display: block;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__toggle {
        margin-top: 10px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__subtitle {
        max-width: 420px;
        font-size: 17px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head::before,
    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head::after {
        width: 64px;
        height: 64px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head::before {
        left: -32px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head::after {
        right: -32px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo {
        padding: 41px 68px 34px;
        grid-template-columns: minmax(0, 310px) minmax(0, 270px);
        gap: 44px;
        border-top: 0;
        overflow-anchor: none;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__group {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 1;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__name {
        font-size: 20px;
        line-height: 1.05;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__text {
        margin-top: 11px;
        font-size: 14px;
        line-height: 1.25;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__slider {
        margin: 28px 0 0;
        gap: 8px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-icon-btn {
        width: 34px;
        height: 34px;
        font-size: 28px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__progress {
        display: none;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__counter {
        color: #111111;
        font-size: 18px;
        line-height: 34px;
        font-weight: 500;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__lead {
        margin-top: 22px;
        color: #777777;
        font-size: 14px;
        line-height: 1.25;
        font-weight: 600;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details--combo .pf-card-details__media {
        align-self: start;
        margin-top: 0;
        border-radius: 14px;
        aspect-ratio: 1.54 / 1;
    }

    body.lego-page--tickets .pf-main--combos .pf-card-details__media-counter {
        right: 10px;
        bottom: 10px;
        font-size: 14px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel {
        margin-top: 115px;
        padding: 24px 20px 24px;
        width: auto;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel__title {
        font-size: 29px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel__scroll {
        margin-top: 28px;
    }

    body.lego-page--tickets .pf-main--combos .pf-cart-line {
        margin-bottom: 18px;
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-cart-line__qty,
    body.lego-page--tickets .pf-main--combos .pf-cart-line__sum {
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-promo {
        margin-top: 14px;
        padding-bottom: 16px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel .pf-input,
    body.lego-page--tickets .pf-main--combos .pf-promo__clear {
        height: 48px;
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-promo__clear {
        width: 58px;
        min-width: 58px;
    }

    body.lego-page--tickets .pf-main--combos .pf-total {
        margin-top: 30px;
    }

    body.lego-page--tickets .pf-main--combos .pf-total__title,
    body.lego-page--tickets .pf-main--combos .pf-total__sum {
        font-size: 28px;
    }

    body.lego-page--tickets .pf-main--combos .pf-discount {
        margin-top: 28px;
    }

    body.lego-page--tickets .pf-main--combos .pf-discount__head {
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel .pf-actions {
        gap: 12px;
        margin-top: 22px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel .pf-btn--secondary,
    body.lego-page--tickets .pf-main--combos .pf-panel .pf-btn--action {
        height: 48px;
        font-size: 16px;
    }

    body.lego-page--tickets .pf-main--combos .pf-panel .pf-btn--secondary {
        flex: 0 0 110px;
    }
}

@media (min-width: 901px) {
    body.lego-page--tickets .pf-main--addons {
        padding-top: 118px;
        padding-bottom: 120px;
    }

    body.lego-page--tickets .pf-main--addons .pf-container {
        width: min(1200px, calc(100% - 40px));
    }

    body.lego-page--tickets .pf-main--addons .pf-layout {
        grid-template-columns: minmax(0, 760px) 400px;
        gap: 40px;
    }

    body.lego-page--tickets .pf-main--addons .pf-step-title {
        margin-bottom: 12px;
        font-size: 37px;
        line-height: 1;
    }

    body.lego-page--tickets .pf-main--addons .pf-step-subtitle {
        margin: 0 0 44px;
        color: #111111;
        font-size: 18px;
        line-height: 1.2;
        font-weight: 900;
    }

    body.lego-page--tickets .pf-main--addons .pf-products {
        gap: 24px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon {
        min-height: 210px;
        padding: 26px 68px;
        overflow-anchor: none;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon::before,
    body.lego-page--tickets .pf-main--addons .pf-card--addon::after,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head::before,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head::after {
        width: 64px;
        height: 64px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon::before,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head::before {
        left: -32px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon::after,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head::after {
        right: -32px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-card__head {
        min-height: 158px;
        gap: 28px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-card__title-wrap {
        max-width: 420px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-card__title {
        display: block;
        font-size: 23px;
        line-height: 1.08;
    }

    body.lego-page--tickets .pf-main--addons .pf-card__toggle {
        display: flex;
        width: max-content;
        height: 27px;
        padding: 0 30px 0 10px;
        margin-top: 10px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card__toggle::before {
        font-size: 14px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card__toggle-icon {
        right: 9px;
        width: 8px;
        height: 8px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card__subtitle {
        max-width: 420px;
        margin-top: 15px;
        font-size: 17px;
        line-height: 1.22;
    }

    body.lego-page--tickets .pf-main--addons .pf-tags {
        gap: 8px;
        margin-top: 16px;
    }

    body.lego-page--tickets .pf-main--addons .pf-tag {
        padding: 9px 14px 8px;
        font-size: 15px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-card__aside {
        width: 128px;
        gap: 38px;
        align-self: center;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-price {
        align-items: center;
        min-width: 0;
        width: 128px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-price__current {
        font-size: 38px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-price__old {
        font-size: 16px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-btn--item,
    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-qty {
        width: 144px;
        min-width: 144px;
        height: 49px;
        font-size: 17px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-qty {
        padding: 0 14px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-qty__btn {
        width: 24px;
        height: 28px;
        font-size: 24px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-qty__value {
        font-size: 21px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head {
        min-height: 210px;
        padding: 26px 68px;
        border-bottom: 0;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__title-wrap {
        max-width: 420px;
        flex: 0 1 420px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__title {
        display: block;
        font-size: 23px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__toggle {
        margin-top: 10px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__subtitle {
        max-width: 420px;
        font-size: 17px;
    }

    body.lego-page--tickets .pf-main--addons .pf-card-details--addon {
        padding: 34px 68px;
        grid-template-columns: minmax(0, 310px) minmax(0, 270px);
        gap: 44px;
        border-top: 1px solid #b6b6b6;
        overflow-anchor: none;
    }

    body.lego-page--tickets .pf-main--addons .pf-card-details--addon .pf-card-details__text {
        font-size: 14px;
        line-height: 1.25;
    }

    body.lego-page--tickets .pf-main--addons .pf-card-details--addon .pf-card-details__media {
        align-self: start;
        margin-top: 0;
        border-radius: 14px;
        aspect-ratio: 1.54 / 1;
    }

    body.lego-page--tickets .pf-main--addons .pf-card-details--addon .pf-card-details__media-counter {
        right: 10px;
        bottom: 10px;
        font-size: 14px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel {
        margin-top: 115px;
        padding: 24px 20px 24px;
        width: auto;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel__title {
        font-size: 29px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel__scroll {
        margin-top: 28px;
    }

    body.lego-page--tickets .pf-main--addons .pf-cart-line {
        margin-bottom: 18px;
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--addons .pf-cart-line__qty,
    body.lego-page--tickets .pf-main--addons .pf-cart-line__sum {
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--addons .pf-promo {
        margin-top: 14px;
        padding-bottom: 16px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel .pf-input,
    body.lego-page--tickets .pf-main--addons .pf-promo__clear {
        height: 48px;
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--addons .pf-promo__clear {
        width: 58px;
        min-width: 58px;
    }

    body.lego-page--tickets .pf-main--addons .pf-total {
        margin-top: 30px;
    }

    body.lego-page--tickets .pf-main--addons .pf-total__title,
    body.lego-page--tickets .pf-main--addons .pf-total__sum {
        font-size: 28px;
    }

    body.lego-page--tickets .pf-main--addons .pf-discount {
        margin-top: 28px;
    }

    body.lego-page--tickets .pf-main--addons .pf-discount__head {
        font-size: 18px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel .pf-actions {
        gap: 12px;
        margin-top: 22px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel .pf-btn--secondary,
    body.lego-page--tickets .pf-main--addons .pf-panel .pf-btn--action {
        height: 48px;
        font-size: 16px;
    }

    body.lego-page--tickets .pf-main--addons .pf-panel .pf-btn--secondary {
        flex: 0 0 110px;
    }
}

.lego-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 110;
    height: 72px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.lego-header__promo {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--lego-yellow);
    color: #111;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
}

.lego-header__promo[hidden] {
    display: none;
}

.is-promo-pending {
    visibility: hidden;
}

.lego-header__promo.is-promo-pending {
    display: none;
}

.lego-promo-bar__message {
    min-width: 0;
}

.lego-promo-bar__note {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.lego-promo-bar__note [data-lego-promo-bar-note]:empty {
    display: none;
}

.lego-promo-info-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: visible;
}

.lego-promo-info {
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.lego-promo-info:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 2px;
}

.lego-promo-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 90;
    width: 360px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(20, 20, 20, 0.98);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.lego-promo-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 12px;
    height: 12px;
    background: inherit;
    transform: translate(-50%, 6px) rotate(45deg);
}

.lego-header__promo.is-tooltip-open .lego-promo-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.lego-header__inner {
    width: min(var(--lego-container), calc(100% - 40px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
}

.lego-logo {
    flex: 0 0 128px;
}

.lego-logo picture {
    display: block;
}

.lego-logo img {
    width: 128px;
    height: 36px;
}

.lego-header__mobile-info {
    display: none;
}

.lego-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.lego-nav a {
    transition: color 0.2s ease;
}

.lego-nav a:hover {
    color: var(--lego-red);
}

.lego-nav__mobile-details {
    display: none;
}

.lego-header__meta {
    flex: 0 0 auto;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.18;
    text-align: right;
}

.lego-header__meta span {
    display: block;
}

.lego-header__meta span {
    color: #111;
}

.lego-menu {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
}

.lego-menu span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px auto;
    background: #111;
    border-radius: 2px;
}

.lego-menu img {
    display: block;
    width: 36px;
    height: 36px;
    margin: auto;
    transition: transform 160ms ease-out;
}

.is-menu-open .lego-menu img {
    transform: rotate(90deg);
}

.lego-header--form .lego-header__inner {
    position: relative;
}

.lego-header--form .lego-logo,
.lego-header--form .lego-menu {
    position: relative;
    z-index: 2;
}

.lego-header--form .lego-header__mobile-info {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    width: min(560px, calc(100% - 400px));
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #111;
    line-height: 1.08;
    text-align: center;
    transform: translate(-50%, -50%);
}

.lego-header--form .lego-header__mobile-info strong,
.lego-header--form .lego-header__mobile-info span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lego-header--form .lego-header__mobile-info strong {
    font-size: 16px;
    font-weight: 900;
}

.lego-header--form .lego-header__mobile-info span {
    color: #7f7f7f;
    font-size: 14px;
    font-weight: 900;
}

.lego-header--form .lego-header__meta {
    display: flex;
    margin-left: auto;
}

.lego-header--form .lego-menu {
    display: none;
}

.lego-header--form .lego-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 20;
    display: none;
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: 0 0 16px 16px;
    background: #1b1b1b;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .16);
    white-space: normal;
}

.lego-header--form .lego-nav__mobile-details {
    display: block;
    width: 100%;
    margin: 0;
    padding: 22px 24px 24px;
    border: 0;
    border-radius: inherit;
    background: #1b1b1b url("../images/footer/back_foot.svg") center bottom / 140% auto no-repeat;
    color: rgba(255, 255, 255, .88);
}

.lego-header--form .lego-nav__mobile-details p {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.25;
}

.lego-header--form .lego-nav .lego-nav__contact {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.lego-header--form .lego-nav__contact:last-child {
    margin-bottom: 0;
}

.lego-header--form .lego-nav__contact span {
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.lego-header--form .lego-nav__contact img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lego-header--form .lego-nav__contact strong {
    font-weight: 400;
}

.lego-hero {
    position: relative;
    height: 680px;
    overflow: hidden;
    background: #51ceff url("/assets_new/legouu/images/generated/hero/back-main.jpg") center / cover no-repeat;
}

.lego-hero__grid {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1800px;
    height: 100%;
    max-width: none;
    transform: translateX(-50%);
}

.lego-hero__panel {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: 0;
    overflow: hidden;
}

.lego-hero__panel--1 {
    left: -109px;
    width: 578px;
}

.lego-hero__panel--2 {
    left: 371px;
    width: 577px;
}

.lego-hero__panel--3 {
    left: 850px;
    width: 578px;
}

.lego-hero__panel--4 {
    left: 1330px;
    width: 579px;
}

.lego-hero__panel img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.lego-hero__panel--1 img {
    object-position: 50% 50%;
}

.lego-hero__panel--2 img {
    object-position: 50% 50%;
}

.lego-hero__panel--3 img {
    object-position: 48% 50%;
}

.lego-hero__panel--4 img {
    object-position: 48% 50%;
}

.lego-hero__content {
    position: absolute;
    left: 50%;
    top: 46%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 560px;
    max-width: calc(100% - 40px);
    transform: translate(-50%, 9%);
    text-align: center;
}

.lego-hero__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.02));
}

.lego-hero__place {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    padding: 20px 34px;
    background: var(--lego-orange);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    line-height: 28px;
}

.lego-hero h1 {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: var(--lego-blue);
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
    z-index: 2;
}

.lego-hero__title--desktop .lego-hero__title-line:not(:last-child)::after {
    content: "\A";
    white-space: pre;
}

.lego-hero__title--mobile {
    display: none;
}

.lego-hero__brand {
    display: none;
}

.lego-hero h1::after {
    content: "";
    position: absolute;
    top: -46px;
    right: 0;
    width: 78px;
    height: 68px;
    background: url("/assets_new/legouu/images/decor/blue_const.svg") center / contain no-repeat;
    pointer-events: none;
}

.lego-btn {
    --lego-btn-brick-color: #fff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 268px;
    min-height: 72px;
    padding: 20px 28px;
    border: 0;
    border-radius: 16px;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: box-shadow 0.18s ease, background-color 0.18s ease;
}

.lego-btn:disabled {
    cursor: default;
}

.lego-btn::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 18px;
    z-index: 1;
    width: 25px;
    height: 11px;
    background: var(--lego-btn-brick-color);
    -webkit-mask: url("../images/decor/btn_ic.svg") center / contain no-repeat;
    mask: url("../images/decor/btn_ic.svg") center / contain no-repeat;
    pointer-events: none;
}

.lego-btn:hover {
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08), 0 10px 24px rgba(0, 0, 0, 0.14);
}

.lego-btn:focus-visible {
    outline: 3px solid rgba(0, 96, 175, 0.35);
    outline-offset: 4px;
}

.lego-btn:active {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07), 0 6px 16px rgba(0, 0, 0, 0.12);
}

.lego-ticket-link-badge {
    position: absolute;
    top: -12px;
    right: -10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--lego-yellow);
    color: var(--lego-black);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.lego-btn--red {
    background: var(--lego-red);
    color: #fff;
}

.lego-btn--red:hover {
    box-shadow: 0 0 0 4px rgba(238, 41, 46, 0.18), 0 10px 24px rgba(238, 41, 46, 0.28);
}

.lego-btn--white {
    background: #fff;
    color: var(--lego-sky);
}

.lego-btn--blue {
    background: var(--lego-sky);
    color: #fff;
}

.lego-hero .lego-btn::before {
    content: none;
}

.lego-hero .lego-btn {
    min-width: 0;
    min-height: 72px;
    padding: 18px 26px;
    border-radius: 20px;
    font-size: 24px;
}

.lego-section {
    padding: 100px 0;
}

.lego-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.lego-section h2,
.lego-section__head h2,
.lego-classes h2,
.lego-partners h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
}

.lego-arrows {
    display: flex;
    gap: 0;
    color: #9a9a9a;
}

.lego-arrows button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.18s ease;
}

.lego-arrows button::before {
    content: "";
    width: 31px;
    height: 23px;
    background: currentColor;
    -webkit-mask: url("/assets_new/legouu/images/decor/icon_arr.svg") center / contain no-repeat;
    mask: url("/assets_new/legouu/images/decor/icon_arr.svg") center / contain no-repeat;
}

.lego-arrows button[data-slider-prev]::before {
    transform: rotate(180deg);
}

.lego-arrows:not(.lego-arrows--light) button {
    color: #151515;
}

.lego-arrows button:hover {
    opacity: 0.72;
}

.lego-arrows button:disabled {
    color: #9a9a9a;
    cursor: default;
    opacity: 1;
}

.lego-arrows--light {
    color: #fff;
}

.lego-arrows--light button:hover {
    opacity: 0.72;
}

.lego-arrows--light button:disabled {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.lego-card-track,
.lego-photo-track,
.lego-media-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

[data-card-slider].is-slider-programmatic,
[data-card-slider].is-slider-terminal {
    scroll-snap-type: none;
}

.lego-card-track,
.lego-photo-track,
.lego-class-grid,
.lego-media-track {
    --lego-card-slider-item: 320px;
    --lego-card-slider-gap: 20px;
    gap: var(--lego-card-slider-gap);
    width: calc(100vw - ((100vw - min(var(--lego-container), calc(100vw - 40px))) / 2));
}

.lego-about {
    overflow: hidden;
}

.lego-about__slider {
    width: calc(100vw - ((100vw - min(var(--lego-container), calc(100vw - 40px))) / 2));
}

.lego-card-track::-webkit-scrollbar,
.lego-photo-track::-webkit-scrollbar,
.lego-media-track::-webkit-scrollbar {
    display: none;
}

.lego-card-track::after,
.lego-photo-track::after,
.lego-class-grid::after,
.lego-media-track::after {
    content: "";
    flex: 0 0 calc(var(--lego-card-slider-item) + var(--lego-card-slider-gap));
}

.lego-about-card {
    flex: 0 0 var(--lego-card-slider-item);
    scroll-snap-align: start;
    cursor: pointer;
}

.lego-about-card img,
.lego-about-card h3 {
    transition: filter 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.lego-about-card:hover img,
.lego-about-card:focus-visible img {
    filter: brightness(1.06) saturate(1.06);
    transform: scale(1.015);
}

.lego-about-card:hover h3,
.lego-about-card:focus-visible h3 {
    color: var(--lego-red);
}

.lego-about-card:focus-visible {
    outline: 3px solid rgba(0, 96, 175, 0.35);
    outline-offset: 6px;
}

.lego-about-card img {
    width: 320px;
    height: 478px;
    object-fit: cover;
}

.lego-about-card h3 {
    margin: 20px 0 4px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

.lego-about-card p {
    margin: 0;
    color: #606060;
    font-size: 15px;
    line-height: 1.32;
}

.lego-fancybox[hidden] {
    display: none;
}

.lego-fancybox {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 88px 48px;
    color: #fff;
}

.lego-fancybox__backdrop {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background:
        linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.78) 100%),
        rgba(0, 0, 0, 0.86);
    cursor: pointer;
}

.lego-fancybox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(980px, calc(100vw - 220px));
    margin: 0;
    pointer-events: none;
}

.lego-fancybox__image,
.lego-fancybox__video {
    width: 100%;
    height: min(62vh, 560px);
    max-height: min(62vh, 560px);
    background: #111;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.lego-fancybox__image {
    object-fit: cover;
    object-position: center;
}

.lego-fancybox__video {
    object-fit: contain;
}

.lego-fancybox__caption {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 110px max(24px, calc((100vw - var(--lego-container)) / 2)) 28px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.68) 48%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.54);
    pointer-events: auto;
}

.lego-fancybox__caption h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.12;
    text-transform: uppercase;
}

.lego-fancybox__caption p {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.32;
}

.lego-fancybox.is-captionless .lego-fancybox__caption {
    display: none;
}

.lego-fancybox.is-video .lego-fancybox__dialog {
    width: min(1120px, calc(100vw - 220px));
}

.lego-fancybox.is-video .lego-fancybox__image {
    display: none !important;
}

.lego-fancybox.is-video .lego-fancybox__video {
    height: min(72vh, 680px);
    max-height: min(72vh, 680px);
    object-fit: contain;
}

.lego-fancybox.is-video .lego-fancybox__nav {
    color: rgba(255, 255, 255, 0.9);
}

.lego-fancybox__counter {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.74);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.lego-fancybox__close,
.lego-fancybox__nav {
    position: absolute;
    z-index: 3;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.lego-fancybox__close {
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
}

.lego-fancybox__close:hover,
.lego-fancybox__nav:hover {
    color: #fff;
}

.lego-fancybox__close::before,
.lego-fancybox__close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 7px;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
}

.lego-fancybox__close::before {
    transform: rotate(45deg);
}

.lego-fancybox__close::after {
    transform: rotate(-45deg);
}

.lego-fancybox__nav {
    top: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    transform: translateY(-50%);
}

.lego-fancybox__nav::before {
    content: "";
    width: 30px;
    height: 23px;
    background: currentColor;
    -webkit-mask: url("/assets_new/legouu/images/decor/icon_arr.svg") center / contain no-repeat;
    mask: url("/assets_new/legouu/images/decor/icon_arr.svg") center / contain no-repeat;
}

.lego-fancybox__nav--prev {
    left: 24px;
}

.lego-fancybox__nav--prev::before {
    transform: rotate(180deg);
}

.lego-fancybox__nav--next {
    right: 24px;
}

.lego-format-video[hidden] {
    display: none;
}

.lego-format-video {
    position: fixed;
    inset: 0;
    z-index: 125;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
    color: #fff;
}

.lego-format-video__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.82);
    cursor: pointer;
}

.lego-format-video__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100vw - 64px));
    border-radius: 28px;
    background: #050505;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
    pointer-events: auto;
}

.lego-format-video__player {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(74vh, 720px);
    border-radius: inherit;
    background: #050505;
    object-fit: contain;
    pointer-events: auto;
}

.lego-format-video__close {
    position: absolute;
    top: -52px;
    right: 0;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    cursor: pointer;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.lego-format-video__close:hover {
    color: #fff;
    opacity: 0.82;
}

.lego-format-video__close::before,
.lego-format-video__close::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 7px;
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: currentColor;
}

.lego-format-video__close::before {
    transform: rotate(45deg);
}

.lego-format-video__close::after {
    transform: rotate(-45deg);
}

.lego-photo-band {
    position: relative;
    padding: 92px 0 104px;
    overflow: hidden;
    background: var(--lego-green);
    color: #fff;
}

.lego-photo-band::after,
.lego-format::before,
.lego-ticket::before,
.lego-ticket::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 52px;
    background:
        linear-gradient(90deg, transparent 0 18px, currentColor 18px 36px, transparent 36px 54px) 0 0 / 54px 26px repeat-x,
        linear-gradient(90deg, transparent 0 18px, currentColor 18px 36px, transparent 36px 54px) 27px 26px / 54px 26px repeat-x;
    color: inherit;
}

.lego-photo-band::after {
    top: -58px;
    right: 0px;
    width: 540px;
    height: 180px;
    background: var(--lego-lazy-bg-after, none) top right / contain no-repeat;
    color: #fff;
}

.lego-photo-band__inner {
    position: relative;
}

.lego-photo-band__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 38px;
}

.lego-photo-band h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.1;
}

.lego-photo-band p {
    margin: 6px 0 0;
    font-size: 26px;
    font-style: italic;
    font-weight: 700;
}

.lego-photo-band .lego-photo-band__description {
    max-width: 620px;
    margin-top: 14px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
}

.lego-photo-band .lego-arrows {
    position: static;
    flex: 0 0 auto;
    margin-bottom: -4px;
}

.lego-photo-card {
    flex: 0 0 var(--lego-card-slider-item);
    margin: 0;
    scroll-snap-align: start;
    cursor: pointer;
}

.lego-photo-card__media {
    display: block;
    overflow: hidden;
    border-radius: 40px;
    background: #fff;
}

.lego-photo-card:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 6px;
}

.lego-photo-card img {
    transition: filter 0.18s ease, transform 0.18s ease;
}

.lego-photo-card img {
    display: block;
    width: 100%;
    height: clamp(430px, 26vw, 500px);
    object-fit: cover;
}

.lego-photo-card:hover img,
.lego-photo-card:focus-visible img {
    filter: brightness(1.06) saturate(1.06);
    transform: scale(1.015);
}

.lego-photo-card figcaption {
    margin-top: 18px;
    max-width: 92%;
}

.lego-photo-card h3 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

.lego-photo-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.32;
}

.lego-included {
    padding-top: 110px;
    padding-bottom: 76px;
}

.lego-page--bdb .lego-about {
    padding-bottom: 24px;
}

.lego-page--bdb .lego-included {
    padding-top: 56px;
}

.lego-included__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lego-included h2 {
    margin-bottom: 54px;
    text-align: center;
    font-size: 40px;
    line-height: 1.05;
}

.lego-included-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 270px);
    width: min(100%, var(--lego-container));
    max-width: 100%;
    overflow: visible;
}

.lego-included-cell {
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 34px 42px;
    color: #fff;
    text-align: center;
    isolation: isolate;
    overflow: hidden;
}

.lego-included-cell strong {
    position: relative;
    z-index: 2;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.15;
}

.lego-included-cell span {
    position: relative;
    z-index: 2;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.1;
}

.lego-included-cell--yellow {
    background: #fcc500;
    justify-content: flex-start;
    padding-top: 42px;
    overflow: visible;
}

.lego-included-cell--pink {
    background: #f4a4d4;
    justify-content: flex-start;
    padding-top: 42px;
    border-top-right-radius: 42px;
}

.lego-included-cell--orange {
    background: var(--lego-orange);
    border-bottom-left-radius: 42px;
    overflow: visible;
}

.lego-included-cell--blue {
    background: var(--lego-sky);
    overflow: hidden;
}

.lego-included-cell__image {
    position: relative;
    z-index: 1;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.lego-included-cell__content {
    display: contents;
}

.lego-included-cell__image--mobile {
    display: none;
}

.lego-included-cell__image--sheep {
    width: 166px;
    height: auto;
    margin-top: 28px;
}

.lego-included-cell__image--vr {
    width: 360px;
    height: auto;
    margin-top: 24px;
    transform: translateX(-2px);
}

.lego-included-const,
.lego-included-icon {
    position: absolute !important;
    z-index: 3;
    display: block;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.lego-included-const--yellow {
    top: -58px;
    left: 0;
    width: 340px;
    height: 64px;
    background-image: var(--lego-lazy-bg, none);
}

.lego-included-const--orange {
    top: -54px;
    right: -1px;
    width: 328px;
    height: 62px;
    background-image: var(--lego-lazy-bg, none);
}

.lego-included-const--blue-top {
    bottom: -1px;
    left: -1px;
    width: 110px;
    height: 68px;
    background-image: var(--lego-lazy-bg, none);
}

.lego-included-const--blue-side {
    display: none;
    top: 39px;
    right: -1px;
    width: 95px;
    height: 83px;
    background-image: var(--lego-lazy-bg, none);
}

.lego-included-icon--orange {
    top: 25px;
    right: -58px;
    width: 138px;
    height: 138px;
    background-image: var(--lego-lazy-bg, none);
}

.lego-brick-dot {
    width: 98px;
    height: 70px;
    margin-top: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 25% 35%, #00a5df 0 13px, transparent 14px),
        radial-gradient(circle at 55% 35%, #ee292e 0 13px, transparent 14px),
        radial-gradient(circle at 40% 65%, #00b956 0 13px, transparent 14px),
        var(--lego-yellow);
}

.lego-infinity {
    display: block;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    background: url("../images/decor/icon_infinity.svg") center / contain no-repeat;
}

.lego-included-cell--yellow strong,
.lego-included-cell--pink strong,
.lego-included-cell--blue strong {
    font-size: 29px;
}

.lego-included-cell--orange strong {
    font-size: 42px;
    font-weight: 700;
}

.lego-ticket {
    position: relative;
    width: 368px;
    max-width: calc(100% - 40px);
    margin-top: 100px;
    padding: 18px 48px 18px;
    background: var(--lego-yellow);
    text-align: center;
}

.lego-ticket::before {
    top: -26px;
    left: 0;
    width: 100%;
    height: 27px;
    background: var(--lego-lazy-bg-before, none) top center / 100% 100% no-repeat;
    color: transparent;
}

.lego-ticket::after {
    bottom: -27px;
    left: 0;
    width: 100%;
    height: 28px;
    background: var(--lego-lazy-bg-after, none) bottom center / 100% 100% no-repeat;
    color: transparent;
}

.lego-ticket h2 {
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 700;
    line-height: 0.98;
}

.lego-ticket .lego-btn {
    --lego-btn-brick-color: var(--lego-yellow);
    min-width: 202px;
    min-height: 54px;
    margin-bottom: 26px;
    padding: 15px 21px;
    border-radius: 12px;
    font-size: 14px;
}

.lego-ticket .lego-btn::before {
    top: 0px;
    left: 14px;
    width: 19px;
    height: 8px;
}

.lego-ticket__line {
    border-bottom: 1px dashed #636363;
}

.lego-ticket__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: -12px 0 14px;
}

.lego-ticket__price strong {
    font-size: 25px;
    line-height: 1;
}

.lego-ticket__price del {
    color: #666;
    font-size: 15px;
    font-weight: 700;
}

.lego-ticket p {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 14px 0 14px;
}

.lego-ticket p strong {
    font-size: 21px;
    line-height: 23px;
}

.lego-ticket p span {
    font-size: 14px;
    line-height: 1.15;
}

.lego-ticket__until {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
}

.lego-promo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 175px;
    min-height: 50px;
    padding: 11px 18px 10px;
    border: 2px dashed #323232;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
}

.lego-promo em {
    position: absolute;
    top: -8px;
    left: 50%;
    min-width: 70px;
    padding: 0 8px;
    background: var(--lego-yellow);
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.lego-promo span {
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.lego-promo b {
    display: block;
    width: 18px;
    height: 18px;
    background: url("../images/decor/copy_promo.svg") center / contain no-repeat;
    transition: opacity 0.18s ease, filter 0.18s ease;
}

.lego-promo:hover b,
.lego-promo:focus-visible b {
    opacity: 0.66;
    filter: drop-shadow(0 0 0 #111);
}

.lego-promo:focus-visible {
    outline: 2px solid rgba(25, 25, 25, 0.45);
    outline-offset: 4px;
}

.lego-promo.is-copied::after {
    content: "Скопировано";
    position: absolute;
    left: 50%;
    bottom: -34px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 13px;
    transform: translateX(-50%);
}

.lego-ticket small {
    display: block;
    margin: 23px auto 0;
    max-width: 266px;
    color: #4a4a4a;
    font-size: 11px;
    line-height: 10px;
}

.lego-ticket-float {
    --lego-btn-brick-color: #fff;
    position: fixed;
    right: 26px;
    bottom: 24px;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 158px;
    min-height: 58px;
    padding: 18px 22px 17px;
    border: 0;
    border-radius: 16px;
    background: var(--lego-red);
    box-shadow: 0 12px 26px rgba(238, 41, 46, 0.28);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
    transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.18s ease;
}

.lego-ticket-float::before {
    content: none;
}

.lego-ticket-float.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lego-ticket-float:hover {
    box-shadow: 0 0 0 4px rgba(238, 41, 46, 0.18), 0 10px 24px rgba(238, 41, 46, 0.28);
}

.lego-ticket-float span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.lego-ticket-float strong {
    position: absolute;
    top: -12px;
    right: -10px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--lego-yellow);
    color: var(--lego-black);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

body.is-ticket-modal-open .lego-ticket-float {
    opacity: 0;
    pointer-events: none;
}

.lego-ticket-modal[hidden] {
    display: none;
}

.lego-ticket-modal {
    position: fixed;
    inset: 0;
    z-index: 115;
    display: grid;
    place-items: center;
    padding: 24px;
    cursor: pointer;
    pointer-events: none;
}

.lego-ticket-modal__backdrop {
    position: absolute;
    inset: 0;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    pointer-events: auto;
    animation: legoTicketBackdropIn 0.22s ease both;
}

.lego-ticket-modal__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(420px, calc(100vw - 48px));
    cursor: default;
    pointer-events: auto;
    animation: legoTicketModalIn 0.26s ease both;
}

.lego-ticket-modal__dialog:focus {
    outline: none;
}

.lego-ticket-modal__close {
    position: absolute;
    top: -11px;
    right: 33px;
    z-index: 2;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.lego-ticket-modal__close:hover {
    opacity: 0.8;
}

.lego-ticket-modal__close::before,
.lego-ticket-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 25px;
    height: 4px;
    border-radius: 999px;
    background: var(--lego-black);
}

.lego-ticket-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lego-ticket-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lego-ticket--popup {
    margin: 0;
    max-width: calc(100vw - 56px);
}

@keyframes legoTicketBackdropIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes legoTicketModalIn {
    from {
        opacity: 0;
        transform: translateY(-34px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lego-format {
    position: relative;
    height: clamp(613px, 42.56vw, 766px);
    margin-top: 20px;
    overflow: hidden;
    background: #fff;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.lego-format::before,
.lego-format::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.lego-format::before {
    left: 0;
    bottom: 0;
    z-index: 0;
    width: clamp(728px, 50.56vw, 910px);
    height: clamp(496px, 34.45vw, 620px);
    background: var(--lego-lazy-bg-before, none) left bottom / 100% 100% no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lego-format::after {
    top: 0;
    right: 0;
    z-index: 0;
    width: clamp(712px, 49.45vw, 890px);
    height: 100%;
    background: var(--lego-lazy-bg-after, none) right top / 100% 100% no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.lego-format.is-lego-lazy-bg-loaded::before,
.lego-format.is-lego-lazy-bg-loaded::after {
    opacity: 1;
}

.lego-format__copy {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(var(--lego-container), calc(100% - 40px));
    height: 100%;
    margin: 0 auto;
    padding: clamp(260px, 16.5vw, 300px) 0 92px;
    color: #fff;
}

.lego-format__copy::before {
    content: none;
}

.lego-format__copy h2 {
    margin: 0 0 22px;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.04;
}

.lego-format__copy p {
    max-width: 455px;
    margin: 0 0 28px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.36;
}

.lego-format .lego-btn {
    --lego-btn-brick-color: var(--lego-sky);
}

@media (min-width: 561px) and (max-width: 1599px) {
    .lego-format__copy {
        padding: clamp(190px, 15.7vw, 250px) 0 44px;
    }

    .lego-format__copy h2 {
        margin-bottom: 16px;
        font-size: clamp(28px, 3.4vw, 38px);
    }

    .lego-format__copy p {
        margin-bottom: 18px;
        font-size: clamp(12px, 1.25vw, 15px);
    }
}

@media (min-width: 561px) and (max-width: 1439px) {
    .lego-format {
        --lego-format-split: clamp(380px, 64vw, 728px);
    }

    .lego-format::before {
        left: calc(var(--lego-format-split) - 728px);
        width: 728px;
        height: 496px;
    }

    .lego-format::after {
        right: auto;
        left: var(--lego-format-split);
        width: 712px;
        height: 613px;
    }

    .lego-format__copy {
        width: min(100% - 56px, var(--lego-container));
    }

    .lego-format__copy h2,
    .lego-format__copy p {
        max-width: min(455px, calc(var(--lego-format-split) - 56px));
    }
}

.lego-groups {
    padding: 170px 0 150px;
}

.lego-group-card {
    position: relative;
    isolation: isolate;
    width: 921px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 58px 96px 54px;
    background: #ff6c00;
    color: #fff;
    text-align: center;
}

.lego-group-card::before,
.lego-group-card::after {
    content: "";
    position: absolute;
    left: 0;
    z-index: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 921 / 40;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}

.lego-group-card::before {
    top: 1px;
    transform: translateY(-100%);
    background-image: var(--lego-lazy-bg-before, none);
}

.lego-group-card::after {
    bottom: 1px;
    transform: translateY(100%);
    background-image: var(--lego-lazy-bg-after, none);
}

.lego-group-card span {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
}

.lego-group-card span::before,
.lego-group-card span::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 93px;
    height: 86px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.lego-group-card span::before {
    top: -75px;
    left: -105px;
    background-image: var(--lego-lazy-bg-before, none);
}

.lego-group-card span::after {
    top: -50px;
    right: -120px;
    background-image: var(--lego-lazy-bg-after, none);
}

.lego-group-card h2 {
    margin: 10px 0 14px;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.lego-group-card p {
    max-width: 610px;
    margin: 0 auto 28px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.lego-group-card .lego-btn {
    --lego-btn-brick-color: #ff6b00;
    color: #ff6b00;
}

.lego-classes {
    padding: 92px 0 102px;
    background: var(--lego-yellow);
    overflow: hidden;
}

.lego-classes .lego-section__head {
    margin-bottom: 36px;
}

.lego-classes .lego-arrows {
    color: #fff;
}

.lego-classes .lego-arrows button {
    color: #fff;
}

.lego-classes .lego-arrows button:disabled {
    color: rgba(255, 255, 255, 0.5);
}

.lego-classes h2 {
    margin: 0;
    font-size: 32px;
}

.lego-class-grid {
    --lego-class-shadow-bleed: 42px;
    display: flex;
    width: calc(100vw - ((100vw - min(var(--lego-container), calc(100vw - 40px))) / 2) + var(--lego-class-shadow-bleed));
    overflow-x: auto;
    overflow-y: visible;
    padding: 24px 0 46px var(--lego-class-shadow-bleed);
    margin-left: calc(var(--lego-class-shadow-bleed) * -1);
    margin-top: -16px;
    margin-bottom: -38px;
    scroll-padding-left: var(--lego-class-shadow-bleed);
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.lego-class-grid::-webkit-scrollbar {
    display: none;
}

.lego-class-card {
    flex: 0 0 var(--lego-card-slider-item);
    min-width: 0;
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    cursor: default;
}

.lego-class-card.is-video {
    cursor: pointer;
    transition: box-shadow 0.18s ease, filter 0.18s ease;
}

.lego-class-card.is-video:focus {
    outline: none;
}

.lego-class-card.is-video:focus-visible {
    outline: 4px solid rgba(238, 41, 46, 0.36);
    outline-offset: 5px;
}

.lego-class-card.is-video:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    filter: saturate(1.04);
}

.lego-class-card__media {
    position: relative;
    display: block;
    overflow: hidden;
}

.lego-class-card.is-video .lego-class-card__media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.lego-class-card.is-video .lego-class-card__media::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid var(--lego-red);
    transform: translate(-36%, -50%);
    transition: border-left-color 0.18s ease, transform 0.18s ease;
}

.lego-class-card__media img {
    width: 100%;
    height: 178px;
    object-fit: cover;
    transition: filter 0.18s ease, transform 0.18s ease;
}

.lego-class-card.is-video:hover .lego-class-card__media img {
    filter: brightness(0.88);
    transform: scale(1.02);
}

.lego-class-card.is-video:hover .lego-class-card__media::before {
    background: #fff8ef;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(238, 41, 46, 0.32);
}

.lego-class-card.is-video:hover .lego-class-card__media::after {
    border-left-color: #ff6c00;
    transform: translate(-30%, -50%) scale(1.08);
}

.lego-class-card h3 {
    margin: 20px 20px 8px;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.1;
}

.lego-class-card p {
    margin: 0 20px 22px;
    color: #333;
    font-size: 14px;
    line-height: 1.35;
}

.lego-emotions {
    padding-top: 92px;
    overflow: hidden;
}

.lego-emotions .lego-media-track {
    overflow-y: visible;
    padding: 14px 0 28px;
    margin-top: -14px;
    margin-bottom: -20px;
}

.lego-emotion-card,
.lego-video-card,
.lego-media-track img {
    flex: 0 0 var(--lego-card-slider-item);
    width: var(--lego-card-slider-item);
    height: 460px;
}

.lego-emotion-card {
    margin: 0;
    scroll-snap-align: start;
}

.lego-video-card,
.lego-media-track img {
    border-radius: 30px;
}

.lego-media-track img {
    object-fit: cover;
}

.lego-video-card {
    position: relative;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    transition: filter 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lego-emotion-card:hover .lego-video-card,
.lego-emotion-card:focus-within .lego-video-card {
    filter: brightness(1.05) saturate(1.05);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.lego-video-card__stage {
    position: absolute;
    inset: 0;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.lego-video-card__poster,
.lego-video-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lego-video-card__poster {
    transition: opacity 0.28s ease;
}

.lego-video-card__video {
    opacity: 0;
    transition: opacity 0.28s ease;
}

.lego-video-card.is-video-ready .lego-video-card__video {
    opacity: 1;
}

.lego-video-card.is-video-ready .lego-video-card__poster {
    opacity: 0;
}

.lego-video-card__progress {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    pointer-events: none;
}

.lego-video-card__progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    transition: width 0.1s linear;
}

.lego-video-card__play {
    position: absolute;
    left: 50%;
    top: 62%;
    z-index: 4;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    pointer-events: none;
}

.lego-video-card__play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid var(--lego-red);
    transform: translate(-36%, -50%);
    transition: border-left-color 0.18s ease, transform 0.18s ease;
}

.lego-emotion-card:hover .lego-video-card:not(.is-playing) .lego-video-card__play,
.lego-emotion-card:focus-within .lego-video-card:not(.is-playing) .lego-video-card__play {
    background: #fff8ef;
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(238, 41, 46, 0.32);
}

.lego-emotion-card:hover .lego-video-card:not(.is-playing) .lego-video-card__play::before,
.lego-emotion-card:focus-within .lego-video-card:not(.is-playing) .lego-video-card__play::before {
    border-left-color: #ff6c00;
    transform: translate(-30%, -50%) scale(1.08);
}

.lego-video-card.is-playing .lego-video-card__play {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
}

.lego-video-card__sound {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) url("../images/decor/icon_volume.svg") center / 21px 21px no-repeat;
    color: var(--lego-red);
    cursor: pointer;
    transition: background-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.lego-video-card__sound::before {
    content: none;
}

.lego-video-card__sound::after {
    content: none;
}

.lego-video-card:not(.is-muted) .lego-video-card__sound {
    background-image: url("../images/decor/icon_volume_on.svg");
}

.lego-video-card__sound:hover {
    background-color: #fff;
    opacity: 0.82;
    transform: scale(1.05);
}

.lego-gallery {
    padding: 84px 0 98px;
    overflow: hidden;
    background: var(--lego-sky);
    color: #fff;
}

.lego-gallery .lego-section__head {
    margin-bottom: 30px;
}

.lego-gallery h2 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
}

.lego-gallery-grid {
    --lego-gallery-card-width: calc((min(var(--lego-container), calc(100vw - 40px)) - 60px) / 4);
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--lego-gallery-card-width);
    grid-template-rows: repeat(2, calc(var(--lego-gallery-card-width) * 0.72));
    gap: 20px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 10px 0 18px;
    margin-top: -10px;
    margin-bottom: -18px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    transition: opacity 0.16s ease;
    will-change: opacity;
}

.lego-gallery-grid.is-gallery-fading {
    opacity: 0;
    pointer-events: none;
}

.lego-gallery-grid::-webkit-scrollbar {
    display: none;
}

.lego-gallery-card {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: transparent;
    cursor: pointer;
    scroll-snap-align: start;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.18s ease, transform 0.18s ease, filter 0.18s ease;
}

.lego-gallery-card:hover,
.lego-gallery-card:focus-visible {
    filter: saturate(1.08);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

.lego-gallery-card:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.72);
    outline-offset: 4px;
}

.lego-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lego-partners {
    position: relative;
    padding: 102px 0 108px;
    overflow: hidden;
    text-align: center;
}

.lego-partners::before,
.lego-partners::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.lego-partners::before {
    left: -52px;
    top: 15px;
    width: 155px;
    height: 145px;
    background: var(--lego-lazy-bg-before, none) center / contain no-repeat;
}

.lego-partners::after {
    right: -45px;
    top: 90px;
    width: 135px;
    height: 120px;
    background: var(--lego-lazy-bg-after, none) center / contain no-repeat;
}

.lego-partners .lego-container {
    position: relative;
    z-index: 1;
}

/* Decorative motion: variables default to the final, no-JS position. */
.lego-hero h1::after {
    transform: translateY(var(--lego-hero-decor-y, 0px));
    z-index: -1;
}

.lego-decor-prep.lego-decor-hero-start .lego-hero h1::after {
    --lego-hero-decor-y: 52px;
}

.lego-decor-prep.lego-decor-hero-final .lego-hero h1::after {
    transition: transform 700ms cubic-bezier(.2, .75, .25, 1);
}

.lego-photo-band::after {
    transform: translateY(var(--lego-photo-decor-y, 0px));
}

.lego-included-const,
.lego-included-icon {
    transform: translateY(var(--lego-included-decor-y, 0px));
}

.lego-group-card span::before {
    transform: translateY(var(--lego-groups-left-y, 0px));
}

.lego-group-card span::after {
    transform: translateY(var(--lego-groups-right-y, 0px));
}

.lego-partners::before {
    transform: translateX(-17px) rotate(var(--lego-partners-left-rotate, -22deg));
}

.lego-partners::after {
    transform: translateX(10px) rotate(var(--lego-partners-right-rotate, 12deg));
}

@media (prefers-reduced-motion: reduce) {
    .lego-hero h1::after,
    .lego-photo-band::after,
    .lego-included-const,
    .lego-included-icon,
    .lego-group-card span::before,
    .lego-group-card span::after {
        transition: none !important;
        transform: none !important;
    }

    .lego-partners::before {
        transform: translateX(-17px) rotate(-22deg) !important;
    }

    .lego-partners::after {
        transform: translateX(10px) rotate(12deg) !important;
    }
}

.lego-partners .lego-btn {
    --lego-btn-brick-color: #fff;
}

.lego-partners .lego-section__head {
    justify-content: center;
    margin-bottom: 42px;
}

.lego-partners h2 {
    margin: 0;
    font-size: 32px;
}

.lego-partner-marquee {
    --partner-card-width: 134px;
    --partner-card-height: 90px;
    --partner-gap: 30px;
    --partner-edge-fade: 76px;
    width: 100%;
    margin-bottom: 34px;
    overflow: hidden;
    padding: 8px 0 18px;
    cursor: grab;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--partner-edge-fade), #000 calc(100% - var(--partner-edge-fade)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--partner-edge-fade), #000 calc(100% - var(--partner-edge-fade)), transparent 100%);
}

.lego-partner-row {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.lego-partner-marquee.is-dragging {
    cursor: grabbing;
}

.lego-partner-set {
    display: flex;
    align-items: center;
    gap: var(--partner-gap);
    padding-right: var(--partner-gap);
}

.lego-partner-card {
    display: grid;
    place-items: center;
    flex: 0 0 var(--partner-card-width);
    width: var(--partner-card-width);
    height: var(--partner-card-height);
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    user-select: none;
    overflow: visible;
}

.lego-partner-card--link {
    cursor: pointer;
}

.lego-partner-card--link:focus-visible {
    outline: 2px solid #00a3df;
    outline-offset: 3px;
}

.lego-partner-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    aspect-ratio: 204 / 128;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
}

.lego-form-modal[hidden] {
    display: none;
}

.lego-form-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    overflow-y: auto;
}

.lego-form-modal__backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

.lego-form-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    padding: 48px 52px 50px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    color: var(--lego-black);
}

.lego-form-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.lego-form-modal__close:hover {
    opacity: 0.8;
}

.lego-form-modal__close::before,
.lego-form-modal__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: var(--lego-black);
}

.lego-form-modal__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.lego-form-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.lego-form-modal__head {
    max-width: 590px;
    margin-bottom: 28px;
}

.lego-form-modal__head h2 {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.04;
}

.lego-form-modal__head p {
    margin: 0;
    color: #4c4c4c;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.lego-city-closed-page {
  min-height: 560px;
  padding: 88px 0 110px;
}

.lego-city-closed-page__container {
  padding-top: 72px;
  padding-bottom: 84px;
}

.lego-form-page--closed {
  align-items: center;
  min-height: 560px;
}

.lego-city-closed-notice {
  width: min(640px, 100%);
  margin: 0 auto;
  padding: 42px 44px 40px;
  border-radius: 30px 30px 30px 8px;
  background: var(--lego-yellow);
  color: var(--lego-black);
  text-align: center;
}

.lego-city-closed-notice h1,
.lego-city-closed-notice h2,
.lego-city-closed-notice h3 {
  margin: 0;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.06;
}

.lego-city-closed-notice p {
  max-width: 520px;
  margin: 20px auto 28px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.3;
}

.lego-city-closed-notice .lego-btn {
  min-width: min(100%, 380px);
}

.lego-city-closed-modal__dialog {
  width: min(640px, 100%);
  padding: 50px 44px 44px;
  border-radius: 30px;
  background: var(--lego-yellow);
}

.lego-city-closed-modal__dialog:focus {
  outline: none;
}

.lego-city-closed-modal__content {
  text-align: center;
}

.lego-city-closed-modal__content h2 {
  margin: 0;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.06;
}

.lego-city-closed-modal__content p {
  max-width: 520px;
  margin: 20px auto 28px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 500;
  line-height: 1.3;
}

.lego-city-closed-modal__content .lego-btn {
  min-width: min(100%, 380px);
}

@media (max-width: 680px) {
  .lego-city-closed-page {
    min-height: 420px;
    padding: 48px 0 64px;
  }

  .lego-city-closed-page__container {
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .lego-form-page--closed {
    min-height: 420px;
  }

  .lego-city-closed-notice {
    padding: 34px 18px 30px;
    border-radius: 24px 24px 24px 7px;
  }

  .lego-city-closed-notice h1,
  .lego-city-closed-notice h2,
  .lego-city-closed-notice h3 {
    font-size: 28px;
  }

  .lego-city-closed-notice p {
    margin: 17px auto 24px;
    font-size: 16px;
  }

  .lego-city-closed-modal {
    padding: 18px 12px;
  }

  .lego-city-closed-modal__dialog {
    padding: 46px 18px 30px;
    border-radius: 24px;
  }

  .lego-city-closed-modal__content h2 {
    font-size: 28px;
  }

  .lego-city-closed-modal__content p {
    margin: 17px auto 24px;
    font-size: 16px;
  }
}

.lego-partner-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lego-partner-form label {
    display: block;
}

.lego-partner-form label > span {
    display: block;
    margin-bottom: 7px;
    color: #4b4b4b;
    font-size: 13px;
    font-weight: 700;
}

.lego-partner-form input[type="text"],
.lego-partner-form input[type="email"],
.lego-partner-form input[type="tel"] {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 2px solid #ececec;
    border-radius: 14px;
    background: #f8f8f8;
    color: var(--lego-black);
    font-size: 16px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lego-partner-form input[type="text"]:focus,
.lego-partner-form input[type="email"]:focus,
.lego-partner-form input[type="tel"]:focus {
    border-color: var(--lego-sky);
    background: #fff;
}

.lego-partner-form label.lego-partner-form__agree {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: start;
    gap: 12px;
    margin: 20px 0 0;
    color: #4c4c4c;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
}

.lego-partner-form__agree input {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--lego-sky);
    cursor: pointer;
}

.lego-partner-form label.lego-partner-form__agree > span {
    display: block;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.lego-partner-form__agree a {
    color: var(--lego-sky);
    font-weight: 700;
}

.lego-partner-form__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.lego-partner-form__status {
    min-height: 18px;
    margin: 0;
    color: #4c4c4c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.lego-partner-form__status.is-error {
    color: var(--lego-red);
}

.lego-partner-form__status.is-success {
    color: var(--lego-green);
}

.lego-partner-form .lego-btn {
    flex: 0 0 auto;
    --lego-btn-brick-color: #fff;
}

.lego-footer {
    position: relative;
    min-height: 437px;
    padding: 86px 0 44px;
    overflow: hidden;
    background: #171717 var(--lego-lazy-bg, none) center bottom / 100% auto no-repeat;
    color: #fff;
}

.lego-footer__layout {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 75px;
    width: 1180px;
    max-width: 100%;
    margin: 0 auto;
}

.lego-footer__left {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 28px;
    row-gap: 36px;
    align-items: start;
}

.lego-footer__main {
    display: contents;
}

.lego-footer__logo {
    width: 107px;
    grid-row: 1;
}

.lego-footer__city {
    grid-column: 2;
}

.lego-footer__social {
    grid-column: 1 / -1;
}

.lego-footer h2,
.lego-footer h3,
.lego-footer p {
    margin-top: 0;
}

.lego-footer h2 {
    margin-bottom: 17px;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.lego-footer h3 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.lego-footer .lego-footer__city h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.lego-footer p,
.lego-footer a {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.43;
}

.lego-footer a {
    display: inline-flex;
    margin-bottom: 6px;
    transition: color 0.18s ease, opacity 0.18s ease;
}

.lego-footer a:hover {
    color: #fff;
}

.lego-footer__city p,
.lego-footer__schedule {
    margin-bottom: 0;
}

.lego-footer__right {
    display: grid;
    grid-template-rows: auto auto;
    gap: 46px;
    padding-top: 0;
}

.lego-footer__contacts {
    width: 360px;
}

.lego-footer__schedule {
    margin-bottom: 15px;
}

.lego-footer .lego-footer__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.lego-footer__contact span {
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.lego-footer__contact img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.lego-footer__contact strong {
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

.lego-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 28px;
    width: 620px;
    max-width: 100%;
    padding: 0;
    border-top: 0;
}

.lego-footer__links a {
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    white-space: nowrap;
}

.lego-socials {
    display: flex;
    gap: 8px;
}

.lego-socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    margin: 0;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.lego-socials a:hover {
    background: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.lego-socials img {
    display: block;
    width: 30px;
    height: 30px;
}

@media (max-width: 1180px) {
    .lego-header__inner {
        gap: 24px;
    }

    .lego-nav {
        gap: 16px;
        font-size: 13px;
    }

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

    .lego-footer__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
        width: min(calc(100% - 48px), 1180px);
    }

    .lego-footer__links {
        width: 100%;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 90px;
    }

    body.lego-page {
        padding-top: 64px;
    }

    .lego-header {
        height: 64px;
    }

    .lego-header__promo {
        height: 18px;
        padding: 0 12px;
        font-size: 10px;
    }

    .lego-promo-tooltip {
        width: min(360px, calc(100vw - 24px));
    }

    .lego-header__inner {
        height: 64px;
    }

    .lego-logo {
        flex-basis: 116px;
    }

    .lego-logo img {
        width: 116px;
        height: auto;
    }

    .lego-header__mobile-info {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1.05;
        text-align: center;
    }

    .lego-header__mobile-info strong,
    .lego-header__mobile-info span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: clamp(12px, 1.55vw, 14px);
        font-weight: 900;
    }

    .lego-header__mobile-info strong {
        color: #111;
    }

    .lego-header__mobile-info span {
        color: #7f7f7f;
    }

    .lego-header__meta {
        display: none;
    }

    .lego-menu {
        display: block;
        margin-left: auto;
    }

    .lego-nav {
        position: absolute;
        top: 82px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 28px 30px;
        background: #fff;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    }

    .is-menu-open .lego-nav {
        display: flex;
    }

    .lego-header--form .lego-header__mobile-info {
        width: min(480px, calc(100% - 256px));
    }

    .lego-header--form .lego-header__meta {
        display: none;
    }

    .lego-header--form .lego-menu {
        display: block;
        margin-left: auto;
    }

    .lego-header--form .lego-nav {
        top: 100%;
        right: 0;
        left: 0;
        width: auto;
        max-height: calc(100vh - 76px);
        align-items: stretch;
        gap: 0;
        padding: 0;
        border-radius: 0;
        background: #1b1b1b;
    }

    .lego-header--form .lego-nav__mobile-details {
        width: 100%;
        margin: 0;
        padding: 18px 28px 24px;
        border: 0;
        border-radius: 0;
    }

    .lego-hero {
        height: 620px;
    }

    .lego-hero__content {
        transform: translate(-50%, -12%);
    }

    .lego-hero__place {
        min-width: 0;
        font-size: 20px;
        line-height: 24px;
    }

    .lego-hero h1 {
        font-size: 28px;
    }

    .lego-hero h1::after {
        top: -38px;
        width: 62px;
        height: 54px;
    }

    .lego-section h2,
    .lego-section__head h2,
    .lego-format__copy h2 {
        font-size: 34px;
    }

    .lego-photo-band {
        padding: 70px 0 80px;
    }

    .lego-photo-band::after {
        top: 0;
        right: 0;
        width: 260px;
        height: 86px;
    }

    .lego-photo-band__head {
        padding-right: 0;
    }

    .lego-photo-band h2 {
        font-size: 28px;
    }

    .lego-photo-band p {
        font-size: 20px;
    }

    .lego-photo-band .lego-arrows {
        margin-bottom: -2px;
    }

    .lego-included-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        width: min(calc(100% - 48px), 520px);
        max-width: none;
        gap: 24px;
        overflow: visible;
    }

    .lego-included-cell {
        height: 220px;
        min-height: 220px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 24px 32px;
        text-align: left;
        overflow: hidden;
        border-radius: 0;
    }

    .lego-included-cell__content {
        position: relative;
        z-index: 2;
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: flex-start;
        order: 2;
        min-width: 0;
    }

    .lego-included-cell__image--sheep,
    .lego-included-cell__image--vr {
        display: none;
    }

    .lego-included-cell__image--mobile {
        display: block;
        flex: 0 0 44%;
        order: 1;
        width: 44%;
        max-width: 208px;
        height: auto;
        margin: 0 18px 0 0;
        transform: none;
    }

    .lego-included-cell--yellow,
    .lego-included-cell--pink,
    .lego-included-cell--orange,
    .lego-included-cell--blue {
        overflow: hidden;
        border-radius: 0;
    }

    .lego-included-cell--yellow {
        background: #ff6800;
    }

    .lego-included-cell--pink {
        background: #079ed3;
    }

    .lego-included-cell--orange {
        background: #e77700;
    }

    .lego-included-cell--blue {
        background: #f42630;
    }

    .lego-included-const--yellow,
    .lego-included-const--orange,
    .lego-included-const--blue-top,
    .lego-included-const--blue-side {
        display: none;
    }

    .lego-included-icon--orange,
    .lego-included-cell .lego-infinity {
        display: none;
    }

    .lego-format__copy {
        width: min(100% - 56px, var(--lego-container));
    }

    .lego-group-card {
        padding: 46px 28px;
    }

    .lego-gallery-grid {
        --lego-gallery-card-width: max(150px, calc((min(var(--lego-container), calc(100vw - 40px)) - 48px) / 4));
        --lego-gallery-card-height: calc(var(--lego-gallery-card-width) * 0.72);
        grid-auto-flow: column;
        grid-auto-columns: var(--lego-gallery-card-width);
        grid-template-columns: none;
        grid-template-rows: repeat(2, var(--lego-gallery-card-height));
        gap: 16px;
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        padding: 10px 0 18px;
        margin: -10px 0 -18px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .lego-gallery-card {
        aspect-ratio: auto;
        height: 100%;
    }

    .lego-gallery .lego-arrows {
        display: flex;
    }

    .lego-footer__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .lego-footer__right {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 36px;
    }

    .lego-footer__contacts,
    .lego-footer__links {
        width: auto;
    }
}

@media (min-width: 561px) and (max-width: 900px) {
    .lego-gallery-grid {
        height: calc(var(--lego-gallery-card-height) + var(--lego-gallery-card-height) + 44px);
    }
}

@media (max-width: 560px) {
    .lego-container {
        width: min(100% - 24px, var(--lego-container));
    }

    body.lego-page {
        padding-top: 0;
    }

    .lego-header {
        position: sticky;
        top: 0;
        height: auto;
    }

    .lego-header__inner {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) 42px;
        gap: 6px;
        width: 100%;
        height: 68px;
        padding: 0 10px;
    }

    .lego-logo {
        flex: none;
        width: 48px;
    }

    .lego-logo img {
        width: 43px;
        height: auto;
    }

    .lego-header__mobile-info {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        text-align: center;
        line-height: 1.05;
    }

    .lego-header__mobile-info strong,
    .lego-header__mobile-info span {
        display: block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lego-header__mobile-info strong {
        color: #111;
        font-size: 14px;
        font-weight: 900;
    }

    .lego-header__mobile-info span {
        color: #7f7f7f;
        font-size: 14px;
        font-weight: 900;
    }

    .lego-header--form .lego-header__mobile-info {
        position: static;
        width: auto;
        max-width: none;
        transform: none;
    }

    .lego-header--form .lego-header__mobile-info strong,
    .lego-header--form .lego-header__mobile-info span {
        font-size: 14px;
    }

    .lego-header__meta {
        display: none;
    }

    .lego-header__promo {
        min-height: 18px;
        height: auto;
        padding: 3px 8px;
        display: flex;
        flex-direction: row;
        gap: 4px;
        font-size: 8px;
        line-height: 1.25;
        text-align: center;
    }

    .lego-header__promo [data-lego-promo-bar-text] {
        display: block;
        min-width: 0;
    }

    .lego-header__promo .lego-promo-info-wrap {
        display: inline-flex;
        margin-left: 0;
    }

    .lego-header__promo .lego-promo-info {
        width: 12px;
        height: 12px;
        font-size: 8px;
    }

    .lego-ticket-link-badge {
        top: -10px;
        right: -8px;
        width: 32px;
        height: 32px;
        border-width: 2px;
        font-size: 10px;
    }

    .lego-menu {
        width: 42px;
        height: 42px;
        margin-left: 0;
    }

    .lego-menu span {
        width: 30px;
        height: 3px;
        margin: 5px auto;
    }

    .lego-header--form .lego-menu {
        margin-left: 0;
    }

    .lego-nav {
        top: 100%;
        z-index: 20;
        max-height: calc(100vh - 86px);
        overflow-y: auto;
        padding: 18px 18px 22px;
        background: #fff;
    }

    .lego-header--form .lego-nav {
        top: 100%;
        max-height: calc(100vh - 68px);
        padding: 0;
    }

    .lego-header:has(.lego-header__promo:not([hidden])) .lego-nav {
        top: calc(100% + 34px);
        max-height: calc(100vh - 102px);
    }

    .lego-nav__mobile-details {
        display: block;
        width: calc(100% + 36px);
        margin: 12px -18px -22px;
        padding: 18px 22px 22px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: #1b1b1b url("../images/footer/back_foot.svg") center bottom / 140% auto no-repeat;
        color: rgba(255, 255, 255, 0.88);
    }

    .lego-header--form .lego-nav__mobile-details {
        width: 100%;
        margin: 0;
        padding: 18px 22px 22px;
    }

    .lego-nav__mobile-details p {
        margin: 0 0 14px;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.25;
    }

    .lego-nav .lego-nav__contact {
        display: flex;
        align-items: center;
        gap: 9px;
        margin: 0 0 12px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.2;
    }

    .lego-nav__contact span {
        display: grid;
        place-items: center;
        flex: 0 0 22px;
        width: 22px;
        height: 22px;
    }

    .lego-nav__contact img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .lego-nav__contact strong {
        font-weight: 400;
    }

    .lego-promo-tooltip {
        position: fixed;
        top: var(--lego-promo-tooltip-top, 110px);
        left: var(--lego-promo-tooltip-left, 12px);
        right: auto;
        z-index: 130;
        width: var(--lego-promo-tooltip-width, min(360px, calc(100vw - 24px)));
        transform: translateY(-4px);
    }

    .lego-promo-tooltip::before {
        left: var(--lego-promo-tooltip-arrow-left, 50%);
        right: auto;
        transform: translate(-50%, 6px) rotate(45deg);
    }

    .lego-header__promo.is-tooltip-open .lego-promo-tooltip {
        transform: translateY(0);
    }

    .lego-hero {
        height: calc(100svh - 64px);
        min-height: 640px;
        max-height: none;
        background-image: url("/assets_new/legouu/images/generated/hero/back-main-mobile.jpg");
        background-position: center top;
    }

    .lego-hero__grid {
        left: 50%;
        width: 1040px;
        max-width: none;
        transform: translateX(-48%);
    }

    .lego-hero__panel img {
        height: 360px;
    }

    .lego-hero__panel--1 {
        left: -63px;
        width: 334px;
    }

    .lego-hero__panel--2 {
        left: 214px;
        width: 333px;
    }

    .lego-hero__panel--3 {
        left: 491px;
        width: 334px;
    }

    .lego-hero__panel--4 {
        left: 768px;
        width: 335px;
    }

    .lego-hero__content {
        top: 32px;
        bottom: 20px;
        justify-content: space-between;
        gap: 0;
        width: calc(100% - 24px);
        max-width: none;
        transform: translateX(-50%);
    }

    .lego-hero__copy {
        width: 100%;
        align-items: flex-start;
    }

    .lego-hero__place {
        display: none;
    }

    .lego-hero h1 {
        width: auto;
        margin: 0;
        padding: 0;
        background: transparent;
        font-size: clamp(31px, 10vw, 39px);
        line-height: 1.05;
        text-align: left;
    }

    .lego-hero h1::after {
        display: none;
    }

    .lego-hero__title--desktop {
        display: none;
    }

    .lego-hero__title--mobile {
        display: block;
    }

    .lego-hero__title-line {
        display: table;
        padding: 6px 11px 4px;
    }

    .lego-hero__title-line::after {
        display: none;
    }

    .lego-hero__title-line:first-child {
        background: #FF6C00;
    }

    .lego-hero__title-line:not(:first-child) {
        margin-top: 0;
        background: var(--lego-sky);
    }

    .lego-hero__brand {
        display: block;
        width: 121px;
        height: 56px;
        margin-top: 8px;
        object-fit: contain;
    }

    .lego-btn {
        min-width: 268px;
        min-height: 72px;
        padding: 20px 28px;
        border-radius: 14px;
        font-size: 19px;
    }

    .lego-hero .lego-btn {
        min-width: min(74vw, 368px);
        min-height: 78px;
        padding: 20px 30px;
        border-radius: 26px;
        font-size: clamp(27px, 7.5vw, 36px);
    }

    .lego-section {
        padding: 46px 0;
    }

    .lego-section__head {
        margin-bottom: 20px;
    }

    .lego-about .lego-section__head h2 {
        font-size: 24px;
    }

    .lego-arrows button,
    .lego-about .lego-arrows button {
        width: 28px;
        height: 34px;
    }

    .lego-arrows button::before,
    .lego-about .lego-arrows button::before {
        width: 25px;
        height: 19px;
    }

    .lego-card-track,
    .lego-photo-track,
    .lego-class-grid,
    .lego-media-track {
        --lego-card-slider-gap: 20px;
        --lego-mobile-slider-card: calc((100vw - 32px) / 1.3);
        --lego-card-slider-item: var(--lego-mobile-slider-card);
        gap: var(--lego-card-slider-gap);
        width: calc(100vw - 12px);
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .lego-card-track::after,
    .lego-photo-track::after,
    .lego-class-grid::after,
    .lego-media-track::after {
        content: "";
        flex: 0 0 calc(100% - var(--lego-card-slider-item));
    }

    .lego-about__slider {
        width: calc(100vw - 12px);
    }

    .lego-photo-track {
        width: calc(100vw - 12px);
    }

    .lego-about-card {
        flex: 0 0 var(--lego-mobile-slider-card);
    }

    .lego-about-card img {
        width: 100%;
        height: calc(var(--lego-mobile-slider-card) * 1.49);
    }

    .lego-about-card h3 {
        margin-top: 12px;
        font-size: 15px;
    }

    .lego-about-card p {
        font-size: 12px;
        line-height: 1.28;
    }

    .lego-fancybox {
        padding: 58px 18px 30px;
    }

    .lego-fancybox__dialog {
        width: 100%;
    }

    .lego-fancybox__image,
    .lego-fancybox__video {
        height: 42vh;
        max-height: 54vh;
    }

    .lego-fancybox.is-video .lego-fancybox__dialog {
        width: 100%;
    }

    .lego-fancybox.is-video .lego-fancybox__video {
        height: min(58vh, 420px);
        max-height: 58vh;
    }

    .lego-fancybox__caption {
        padding: 76px 16px max(30px, env(safe-area-inset-bottom));
    }

    .lego-fancybox__caption h2 {
        font-size: 17px;
    }

    .lego-fancybox__caption p {
        max-height: 26vh;
        overflow-y: auto;
        font-size: 13px;
        line-height: 1.35;
    }

    .lego-fancybox__counter {
        top: 18px;
        left: 16px;
        font-size: 17px;
    }

    .lego-fancybox__close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }

    .lego-fancybox__nav {
        top: 48%;
        width: 44px;
        height: 52px;
    }

    .lego-fancybox__nav::before {
        width: 24px;
        height: 18px;
    }

    .lego-fancybox__nav--prev {
        left: 0;
    }

    .lego-fancybox__nav--next {
        right: 0;
    }

    .lego-format-video {
        padding: 62px 12px 28px;
    }

    .lego-format-video__dialog {
        width: 100%;
        border-radius: 16px;
    }

    .lego-format-video__player {
        max-height: 64vh;
    }

    .lego-format-video__close {
        top: -48px;
        right: 0;
        width: 42px;
        height: 42px;
    }

    .lego-photo-band::after {
        right: 0;
        width: 190px;
        height: 64px;
    }

    .lego-photo-band__head {
        align-items: flex-end;
        gap: 16px;
        margin-bottom: 28px;
    }

    .lego-photo-band {
        padding: 52px 0 62px;
    }

    .lego-photo-band h2 {
        font-size: 24px;
        line-height: 1.12;
    }

    .lego-photo-band p {
        font-size: 18px;
    }

    .lego-photo-band .lego-arrows button {
        width: 28px;
        height: 34px;
    }

    .lego-photo-band .lego-arrows button::before {
        width: 25px;
        height: 19px;
    }

    .lego-photo-card {
        flex: 0 0 var(--lego-mobile-slider-card);
    }

    .lego-photo-card__media {
        border-radius: 22px;
    }

    .lego-photo-card img {
        width: 100%;
        height: calc(var(--lego-mobile-slider-card) * 1.38);
    }

    .lego-photo-card figcaption {
        margin-top: 12px;
        max-width: 100%;
    }

    .lego-photo-card h3 {
        font-size: 15px;
    }

    .lego-photo-card p {
        font-size: 12px;
    }

    .lego-included {
        padding-top: 72px;
    }
    .lego-included>.lego-container{
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }

    .lego-included h2 {
        max-width: 340px;
        margin-bottom: 28px;
        font-size: 22px;
        line-height: 1.08;
    }

    .lego-included-grid {
        width: calc(100% - 24px);
        gap: 12px;
    }

    .lego-included-cell {
        height: 160px;
        min-height: 160px;
        padding: 12px 18px;
    }

    .lego-included-cell__content,
    .lego-included-cell__content strong,
    .lego-included-cell__content span {
        font-size: 19.2px;
        font-weight: 500;
        line-height: 1.12;
    }

    .lego-included-cell__image--mobile {
        flex-basis: 43%;
        width: 43%;
        margin-right: 14px;
    }

    .lego-ticket {
        width: min(366px, calc(100vw - 24px));
        max-width: none;
        margin-top: 96px;
        padding: 38px 24px 34px;
    }

    .lego-ticket::before {
        top: -28px;
        height: 29px;
        background-image: var(--lego-lazy-bg-before, none);
    }

    .lego-ticket::after {
        bottom: -28px;
        height: 29px;
        background-image: var(--lego-lazy-bg-after, none);
    }

    .lego-ticket h2 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    .lego-ticket .lego-btn {
        margin-bottom: 34px;
    }

    .lego-ticket p {
        margin: 24px 0 24px;
    }

    .lego-promo {
        min-height: 64px;
    }

    .lego-ticket small {
        margin-top: 28px;
    }

    .lego-ticket-float {
        right: 14px;
        bottom: 14px;
        min-width: 128px;
        min-height: 50px;
        padding: 16px 16px 15px;
        border-radius: 14px;
    }

    .lego-ticket-float::before {
        left: 14px;
        width: 21px;
        height: 9px;
    }

    .lego-ticket-float span {
        font-size: 12px;
    }

    .lego-ticket-float strong {
        top: -10px;
        right: -8px;
        width: 32px;
        height: 32px;
        border-width: 2px;
        font-size: 10px;
    }

    .lego-ticket-modal {
        padding: 16px 12px;
    }

    .lego-ticket-modal__dialog {
        width: min(366px, calc(100vw - 28px));
        margin: 0 auto;
    }

    .lego-ticket-modal__close {
        top: 92px;
        right: 21px;
        width: 28px;
        height: 28px;
    }

    .lego-ticket-modal__close::before,
    .lego-ticket-modal__close::after {
        width: 22px;
        height: 4px;
    }

    .lego-ticket--popup {
        width: 100%;
        max-width: none;
    }

    .lego-format {
        height: 995px;
        margin-top: 0;
        background: linear-gradient(to bottom, #fff 0 507px, #009bd7 507px 100%);
    }

    .lego-format::before {
        left: -134px;
        bottom: auto;
        top: 52px;
        width: 668px;
        height: 455px;
    }

    .lego-format::after {
        top: 659px;
        right: 0;
        width: 390px;
        height: 336px;
        z-index: 1;
    }

    .lego-format__copy {
        z-index: 2;
        align-items: center;
        width: min(100% - 24px, var(--lego-container));
        height: 995px;
        padding: 158px 0 42px;
        text-align: center;
    }

    .lego-format__copy::before {
        content: "";
        position: absolute;
        top: 250px;
        left: 50%;
        z-index: -1;
        width: 100vw;
        height: 350px;
        background: var(--lego-sky);
        transform: translateX(-50%);
        pointer-events: none;
    }

    .lego-format__copy h2 {
        max-width: 360px;
        margin-bottom: 34px;
        font-size: 29px;
        line-height: 1.05;
    }

    .lego-format__copy p {
        max-width: 362px;
        margin-bottom: 28px;
        font-size: 15px;
        line-height: 1.42;
    }

    .lego-groups {
        padding: 96px 0;
    }

    .lego-group-card {
        width: 100%;
        max-width: 100%;
        padding: 42px 24px 40px;
    }

    .lego-group-card::before,
    .lego-group-card::after {
        aspect-ratio: 390 / 40;
    }

    .lego-group-card::before {
        background-image: var(--lego-lazy-bg-before, none);
    }

    .lego-group-card::after {
        background-image: var(--lego-lazy-bg-after, none);
    }

    .lego-group-card span {
        font-size: 14px;
    }

    .lego-group-card span::before,
    .lego-group-card span::after {
        width: 76px;
        height: 70px;
    }

    .lego-group-card span::before {
        top: -64px;
        left: -90px;
    }

    .lego-group-card span::after {
        top: -94px;
        right: -112px;
    }

    .lego-group-card h2 {
        font-size: 30px;
    }

    .lego-group-card p {
        font-size: 14px;
        line-height: 1.35;
    }

    .lego-footer {
        min-height: 0;
        padding: 64px 0 90px;
        background-position: center bottom;
        background-size: auto 64%;
    }

    .lego-footer__layout {
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: left;
    }

    .lego-footer__left,
    .lego-footer__right {
        display: contents;
    }

    .lego-footer__logo {
        display: none;
    }

    .lego-footer__city {
        order: 1;
        grid-column: auto;
        margin-bottom: 17px;
    }

    .lego-footer h2 {
        margin-bottom: 17px;
        font-size: 38px;
    }

    .lego-footer .lego-footer__city h3 {
        margin-bottom: 15px;
        font-size: 26px;
    }

    .lego-footer h3 {
        margin-bottom: 8px;
    }

    .lego-footer__contacts {
        order: 2;
        width: auto;
        margin-bottom: 24px;
    }

    .lego-footer__schedule {
        margin-bottom: 10px;
    }

    .lego-footer__contact {
        margin-bottom: 12px;
    }

    .lego-footer__social {
        order: 3;
        grid-column: auto;
        margin-bottom: 14px;
    }

    .lego-footer__docs {
        order: 4;
        width: 100%;
    }

    .lego-footer__docs h3 {
        font-size: 15px;
    }

    .lego-footer__links {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        align-items: start;
        gap: 8px;
        width: 100%;
    }

    .lego-footer__links a {
        min-width: 0;
        font-size: clamp(8px, 2.5vw, 12px);
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .lego-footer__links a:nth-child(-n + 3) {
        grid-column: span 2;
    }

    .lego-footer__links a:nth-child(n + 4):nth-child(-n + 5) {
        grid-column: span 3;
    }

    .lego-footer__links a:nth-child(-n + 5) {
        white-space: nowrap;
        overflow-wrap: normal;
    }

    .lego-footer__links a:nth-child(6) {
        grid-column: 1 / -1;
    }

    .lego-footer__promo-conditions br {
        display: none !important;
    }

    .lego-partner-marquee {
        --partner-card-width: calc((100vw - 48px) / 3);
        --partner-card-height: 72px;
        --partner-gap: 12px;
        --partner-edge-fade: 42px;
        margin-bottom: 28px;
    }

    .lego-partner-row {
        animation-duration: 28s;
    }

    .lego-partner-card {
        padding: 6px;
        border-radius: 6px;
    }

    .lego-partners::before {
        left: -34px;
        top: 60px;
        width: 82px;
        height: 76px;
        transform: translateX(-17px) rotate(var(--lego-partners-left-rotate, -19deg));
    }

    .lego-partners::after {
        right: -36px;
        top: 88px;
        width: 84px;
        height: 78px;
        transform: translateX(10px) rotate(var(--lego-partners-right-rotate, 7deg));
    }

    .lego-form-modal {
        align-items: flex-start;
        padding: 18px 12px;
    }

    .lego-form-modal__dialog {
        padding: 38px 18px 24px;
        border-radius: 18px;
    }

    .lego-form-modal__close {
        top: 13px;
        right: 13px;
        width: 30px;
        height: 30px;
    }

    .lego-form-modal__close::before,
    .lego-form-modal__close::after {
        width: 24px;
        height: 3px;
    }

    .lego-form-modal__head {
        margin-bottom: 22px;
    }

    .lego-form-modal__head h2 {
        font-size: 25px;
    }

    .lego-form-modal__head p {
        font-size: 14px;
    }

    .lego-partner-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lego-partner-form input[type="text"],
    .lego-partner-form input[type="email"],
    .lego-partner-form input[type="tel"] {
        height: 52px;
        border-radius: 12px;
        font-size: 15px;
    }

    .lego-partner-form__agree {
        margin-top: 16px;
        font-size: 12px;
    }

    .lego-partner-form__bottom {
        display: grid;
        gap: 14px;
        margin-top: 22px;
    }

    .lego-partner-form .lego-btn {
        width: 100%;
    }

    .lego-class-grid {
        display: flex;
        gap: var(--lego-card-slider-gap);
        width: calc(100vw - 12px);
        overflow-x: auto;
        overflow-y: visible;
        padding: 14px 0 32px;
        margin: -10px 0 -24px;
        scroll-padding-left: 0;
        scrollbar-width: none;
    }

    .lego-class-grid::-webkit-scrollbar {
        display: none;
    }

    .lego-class-card {
        flex: 0 0 var(--lego-mobile-slider-card);
    }

    .lego-emotion-card,
    .lego-video-card,
    .lego-media-track img {
        flex-basis: var(--lego-mobile-slider-card);
        width: var(--lego-mobile-slider-card);
        height: calc(var(--lego-mobile-slider-card) * 1.44);
    }

    .lego-gallery-grid {
        --lego-gallery-card-width: calc((100% - 12px) / 2);
        --lego-gallery-card-height: calc(((100vw - 36px) / 2) * 0.72);
        grid-auto-flow: column;
        grid-auto-columns: var(--lego-gallery-card-width);
        grid-template-columns: none;
        grid-template-rows: repeat(4, var(--lego-gallery-card-height));
        gap: 12px;
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        padding: 8px 0 14px;
        margin: -8px 0 -14px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .lego-gallery .lego-arrows {
        display: flex;
    }

    .lego-gallery-card {
        aspect-ratio: auto;
        height: 100%;
    }
}

@media (max-width: 1200px) {
    body.lego-page--tickets .pf-container {
        width: min(760px, calc(100% - 36px));
    }

    body.lego-page--tickets .pf-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.lego-page--tickets .pf-panel {
        margin-top: 0;
    }
}

@media (max-width: 900px) {
    body.lego-page--tickets .pf-container {
        width: calc(100% - 28px);
    }

    body.lego-page--tickets .pf-main,
    body.lego-page--tickets .pf-main.add_dop {
        padding-top: 68px;
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    body.lego-page--tickets .pf-step-title {
        margin-bottom: 22px;
        font-size: 28px;
        line-height: 1.02;
    }

    body.lego-page--tickets .pf-step-subtitle {
        margin: -12px 0 18px;
        font-size: 16px;
    }

    body.lego-page--tickets .pf-usp {
        gap: 10px;
        margin-bottom: 16px;
    }

    body.lego-page--tickets .pf-usp__item {
        min-height: 0;
        padding: 8px 12px;
        gap: 10px;
        align-items: center;
    }

    body.lego-page--tickets .pf-usp__avatar {
        width: 48px;
        height: 48px;
    }

    body.lego-page--tickets .pf-usp__copy_wrap {
        flex-direction: column;
        align-items: flex-start;
        flex: 1 1 auto;
        min-width: 0;
        gap: 3px;
    }

    body.lego-page--tickets .pf-usp__copy {
        min-width: 0;
    }

    body.lego-page--tickets .pf-usp__text {
        font-size: 15px;
        line-height: 1.05;
    }

    body.lego-page--tickets .pf-usp__subtext {
        font-size: 12px;
        line-height: 1.1;
    }

    body.lego-page--tickets .pf-usp__pill {
        margin-left: 0;
        margin-top: 1px;
        max-width: 100%;
        padding: 5px 9px 4px;
        font-size: 10px;
    }

    body.lego-page--tickets .pf-usp__item:not(.pf-usp__item--accent) .pf-usp__pill::before {
        display: none;
    }

    body.lego-page--tickets .pf-card,
    body.lego-page--tickets .pf-card--combo-open .pf-card__head,
    body.lego-page--tickets .pf-card--addon-open .pf-card__head {
        min-height: 0;
        padding: 20px 18px 18px;
    }

    body.lego-page--tickets .pf-card--addon-open {
        padding: 0;
    }

    body.lego-page--tickets .pf-card::before,
    body.lego-page--tickets .pf-card::after,
    body.lego-page--tickets .pf-card--combo-open .pf-card__head::before,
    body.lego-page--tickets .pf-card--combo-open .pf-card__head::after,
    body.lego-page--tickets .pf-card--addon-open .pf-card__head::before,
    body.lego-page--tickets .pf-card--addon-open .pf-card__head::after {
        display: none;
    }

    body.lego-page--tickets .pf-card__head {
        min-height: 0;
        gap: 24px;
    }

    body.lego-page--tickets .pf-card__title-wrap {
        max-width: none;
    }

    body.lego-page--tickets .pf-card__title {
        font-size: 21px;
    }

    body.lego-page--tickets .pf-card__subtitle {
        margin-top: 10px;
        font-size: 15px;
        line-height: 1.25;
    }

    body.lego-page--tickets .pf-card__aside {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: flex-end;
        gap: 16px;
    }

    body.lego-page--tickets .pf-price {
        align-items: flex-start;
        min-width: 0;
        text-align: left;
    }

    body.lego-page--tickets .pf-price__current {
        font-size: 26px;
    }

    body.lego-page--tickets .pf-price__old {
        font-size: 14px;
    }

    body.lego-page--tickets .pf-btn--item,
    body.lego-page--tickets .pf-card--combo .pf-btn--item,
    body.lego-page--tickets .pf-card--combo .pf-qty {
        min-width: 110px;
        height: 44px;
        font-size: 13px;
    }

    body.lego-page--tickets .pf-qty {
        min-width: 110px;
        height: 44px;
        padding: 0 10px;
    }

    body.lego-page--tickets .pf-card-details--combo,
    body.lego-page--tickets .pf-card-details--addon {
        padding: 18px;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.lego-page--tickets .pf-card-details--combo .pf-card-details__media,
    body.lego-page--tickets .pf-card-details--addon .pf-card-details__media {
        min-height: 200px;
        border-radius: 10px;
    }

    body.lego-page--tickets .pf-checkout {
        padding: 22px 18px;
    }

    body.lego-page--tickets .pf-checkout__title {
        font-size: 23px;
    }

    body.lego-page--tickets .pf-checkout__desc {
        font-size: 14px;
    }

    body.lego-page--tickets .pf-panel--mobile {
        top: 0;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
    }

    body.lego-page--tickets .pf-mobile-actions {
        right: 78px;
        z-index: 140;
    }

    body.lego-page--tickets .pf-mobile-actions__buttons .pf-btn {
        border-radius: 12px;
        font-size: 16px;
    }

    body.lego-page--tickets .pf-mobile-actions__buttons .pf-btn--action {
        font-size: 16px;
    }

    body.lego-page--tickets .pf-mobile-cart-trigger {
        background: var(--lego-yellow);
        color: #111111;
    }

    body.lego-page--tickets .pf-panel--mobile .pf-panel__header {
        padding: 14px 18px 12px;
    }

    body.lego-page--tickets .pf-panel--mobile .pf-panel__scroll {
        margin-top: 0;
        padding: 0 18px calc(86px + env(safe-area-inset-bottom));
    }

    /* The fixed flow controls remain the only controls while the cart drawer is open. */
    body.lego-page--tickets .pf-panel--mobile .pf-panel__footer {
        display: none;
    }

    /* Keep mobile offer cards inside the same working width as the ticket card. */
    body.lego-page--tickets .pf-main--combos .pf-card--combo,
    body.lego-page--tickets .pf-main--addons .pf-card--addon {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px 18px 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open {
        padding: 0;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo .pf-card__head,
    body.lego-page--tickets .pf-main--addons .pf-card--addon .pf-card__head {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
        gap: 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card--combo-open .pf-card__head,
    body.lego-page--tickets .pf-main--addons .pf-card--addon-open .pf-card__head {
        padding: 20px 18px 18px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__title-wrap,
    body.lego-page--tickets .pf-main--addons .pf-card__title-wrap,
    body.lego-page--tickets .pf-main--combos .pf-card__title,
    body.lego-page--tickets .pf-main--addons .pf-card__title {
        min-width: 0;
        width: 100%;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__title,
    body.lego-page--tickets .pf-main--addons .pf-card__title {
        justify-content: space-between;
        gap: 10px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__title > span,
    body.lego-page--tickets .pf-main--addons .pf-card__title > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__toggle,
    body.lego-page--tickets .pf-main--addons .pf-card__toggle {
        flex: 0 0 auto;
        margin: 0;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__aside,
    body.lego-page--tickets .pf-main--addons .pf-card__aside {
        min-width: 0;
        gap: 12px;
    }

    body.lego-page--tickets .pf-main--combos .pf-card__controls,
    body.lego-page--tickets .pf-main--addons .pf-card__controls {
        flex: 0 0 auto;
    }
}

@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    .lego-partners::before {
        transform: translateX(-17px) rotate(-19deg) !important;
    }

    .lego-partners::after {
        transform: translateX(10px) rotate(7deg) !important;
    }
}

/* Free ticket content assembled from the existing legacy and home sections. */
.lego-page--free-ticket .lego-free-ticket-page {
    background: #fff;
}

.lego-page--free-ticket .lego-free-ticket-intro {
    padding: clamp(64px, 7vw, 96px) 0 72px;
}

.lego-page--free-ticket .lego-free-ticket-intro h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.08;
}

.lego-page--free-ticket .lego-free-ticket-intro p {
    max-width: 980px;
    margin: 30px 0 0;
    color: #606060;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
}

.lego-page--free-ticket .lego-free-ticket-intro__button {
    margin-top: 46px;
}

.lego-page--free-ticket .lego-about {
    padding-top: 72px;
    padding-bottom: 88px;
}

/* Group visits page */
.lego-page--group {
    background: #f6f7f9;
}

.lego-group-page__hero {
    padding: 82px 0 88px;
    overflow: hidden;
}

.lego-group-page__heading {
    max-width: none;
    margin-bottom: 34px;
}

.lego-group-page__heading > p {
    margin: 0 0 12px;
    color: var(--lego-orange);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.lego-group-page__heading h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
}

.lego-group-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(350px, .7fr);
    align-items: stretch;
    gap: 34px;
}

.lego-group-gallery {
    display: flex;
    min-width: 0;
    height: auto;
    flex-direction: column;
}

.lego-group-gallery__stage {
    position: relative;
    flex: none;
    min-height: 0;
    aspect-ratio: 8 / 5;
}

.lego-group-gallery__track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 40px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lego-group-gallery__track::-webkit-scrollbar {
    display: none;
}

.lego-group-gallery__slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #dedfe3;
    scroll-snap-align: start;
}

.lego-group-gallery__stage > .lego-arrows {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
    backdrop-filter: blur(6px);
}

.lego-group-gallery__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lego-group-gallery__slide figcaption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    background: rgba(25, 25, 25, .76);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

.lego-group-gallery__thumbs {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    margin-top: 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.lego-group-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.lego-group-gallery__thumb {
    position: relative;
    flex: 0 0 calc((100% - 30px) / 4);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 14px;
    background: #dedfe3;
    cursor: pointer;
    scroll-snap-align: start;
    transition: border-color .18s ease, transform .18s ease;
}

.lego-group-gallery__thumb:hover,
.lego-group-gallery__thumb.is-active {
    border-color: var(--lego-yellow);
}

.lego-group-gallery__thumb:hover {
    transform: translateY(-2px);
}

.lego-group-gallery__thumb:focus-visible {
    outline: 3px solid rgba(0, 96, 175, .45);
    outline-offset: 2px;
}

.lego-group-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lego-group-page__offer {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    color: var(--lego-black);
}

.lego-group-page__offer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 5px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto 18px;
    padding: 0;
    list-style: none;
}

.lego-group-page__offer li {
    padding: 6px 8px;
    border-radius: 10px;
    background: #e9eef5;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.lego-group-page__offer .lego-type-form {
    max-width: 380px;
    margin-right: auto;
    margin-left: auto;
}

.lego-group-page__offer .lego-type-form__progress {
    margin-top: 18px;
    margin-bottom: 24px;
}

.lego-group-page__offer .lego-type-form__agree {
    padding-top: 4px;
    padding-bottom: 4px;
}

.lego-group-page__offer .lego-city-closed-notice {
    width: 100%;
    padding: 30px 22px 28px;
    border-radius: 24px 24px 24px 7px;
}

.lego-group-page__offer .lego-city-closed-notice h1,
.lego-group-page__offer .lego-city-closed-notice h2,
.lego-group-page__offer .lego-city-closed-notice h3 {
    font-size: 30px;
    line-height: 1.08;
}

.lego-group-page__offer .lego-city-closed-notice p {
    margin: 16px auto 22px;
    font-size: 16px;
    line-height: 1.3;
}

.lego-group-page__offer .lego-city-closed-notice .lego-btn {
    min-width: 0;
    width: 100%;
    min-height: 58px;
    padding: 16px 14px;
    font-size: 15px;
}

@media (max-width: 900px) {
    .lego-group-page__hero {
        padding: 58px 0 68px;
    }

    .lego-group-page__heading {
        margin-bottom: 34px;
    }

    .lego-group-page__layout {
        grid-template-columns: 1fr;
    }

    .lego-group-page__offer {
        max-width: 560px;
        margin: 0 auto;
    }

    .lego-group-page__offer ul,
    .lego-group-page__offer .lego-type-form {
        max-width: 560px;
    }

    .lego-group-gallery__stage {
        flex: none;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 560px) {
    .lego-group-page__hero {
        padding: 42px 0 52px;
    }

    .lego-group-page__heading {
        margin-bottom: 28px;
    }

    .lego-group-page__heading > p {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .lego-group-page__heading h1 {
        font-size: 36px;
        line-height: 1.06;
    }

    .lego-group-gallery__track {
        border-radius: 28px;
    }

    .lego-group-gallery__stage > .lego-arrows {
        top: 10px;
        right: 10px;
        padding: 1px 5px;
    }

    .lego-group-gallery__slide figcaption {
        right: 12px;
        bottom: 12px;
    }

    .lego-group-gallery__thumbs {
        gap: 7px;
    }

    .lego-group-gallery__thumb {
        border-width: 2px;
        border-radius: 9px;
    }

    .lego-group-page__offer ul {
        margin-bottom: 14px;
    }

    .lego-group-page__offer li {
        padding: 7px 9px;
        font-size: 12px;
    }

    .lego-group-page__offer .lego-city-closed-notice h1,
    .lego-group-page__offer .lego-city-closed-notice h2,
    .lego-group-page__offer .lego-city-closed-notice h3 {
        font-size: 28px;
    }
}

.lego-page--free-ticket .lego-free-ticket-choice {
    overflow: hidden;
    padding: 72px 0 100px;
}

.lego-page--free-ticket .lego-free-ticket-choice h2 {
    margin: 0 0 46px;
    font-size: 48px;
    font-weight: 900;
    line-height: 1.08;
}

.lego-page--free-ticket .lego-free-ticket-choice h2 br {
    display: none;
}

.lego-page--free-ticket .lego-free-ticket-choice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.lego-page--free-ticket .lego-free-ticket-choice__card {
    position: relative;
    aspect-ratio: 723 / 1088;
    margin: 0;
    overflow: hidden;
}

.lego-page--free-ticket .lego-free-ticket-choice__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.lego-page--free-ticket .lego-free-ticket-choice__card figcaption {
    position: absolute;
    right: 15px;
    bottom: 18px;
    left: 15px;
    padding: 15px 25px;
    color: #d11013;
    background: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.lego-page--free-ticket .lego-free-ticket-choice__button {
    display: none;
}

.lego-page--free-ticket #free-ticket-form {
    scroll-margin-top: 96px;
}

@media (max-width: 768px) {
    .lego-page--free-ticket .lego-free-ticket-intro {
        padding: 46px 0 56px;
    }

    .lego-page--free-ticket .lego-free-ticket-intro h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .lego-page--free-ticket .lego-free-ticket-intro p {
        margin-top: 22px;
        font-size: 17px;
        line-height: 1.45;
    }

    .lego-page--free-ticket .lego-free-ticket-intro__button {
        width: 100%;
        margin-top: 34px;
    }

    .lego-page--free-ticket .lego-about {
        padding-top: 54px;
        padding-bottom: 68px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice {
        padding: 48px 0 72px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice h2 {
        margin-bottom: 30px;
        font-size: 36px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice h2 br {
        display: initial;
    }

    .lego-page--free-ticket .lego-free-ticket-choice__grid {
        gap: 12px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice__card figcaption {
        right: 8px;
        bottom: 8px;
        left: 8px;
        min-height: 118px;
        padding: 9px;
        border: 1px solid #d11013;
        font-size: 14px;
        line-height: 1.28;
    }

    .lego-page--free-ticket .lego-free-ticket-choice__button {
        display: flex;
        width: 100%;
        margin-top: 28px;
    }
}

@media (max-width: 420px) {
    .lego-page--free-ticket .lego-free-ticket-intro h1 {
        font-size: 24px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice h2 {
        font-size: 24px;
    }

    .lego-page--free-ticket .lego-free-ticket-choice__card figcaption {
        min-height: 78px;
        font-size: 10px;
    }
}

@media (max-width: 560px) {
    .lego-arrows button,
    .lego-about .lego-arrows button,
    .lego-photo-band .lego-arrows button {
        width: 44px;
        height: 44px;
        margin: -5px -8px;
    }

    .lego-video-card__sound {
        top: 7px;
        right: 7px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 340px) {
    .lego-header__inner {
        grid-template-columns: 42px minmax(0, 1fr) 38px;
        gap: 4px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .lego-logo {
        width: 42px;
    }

    .lego-logo img {
        width: 40px;
    }

    .lego-menu {
        width: 38px;
        height: 38px;
    }

    .lego-header__mobile-info strong,
    .lego-header__mobile-info span {
        font-size: 12px;
    }
}
