/* Keep the established storefront shell isolated from legacy page-wide rules. */
.legacy-shell-v2 .site-header,
.legacy-shell-v2 .site-header *,
.legacy-shell-v2 footer,
.legacy-shell-v2 footer * {
  font-family: Manrope, Arial, sans-serif;
}

.legacy-shell-v2 > section {
  margin-top: 0;
  min-height: max(360px, calc(100vh - 450px));
  padding-top: 24px;
}

.legacy-shell-v2 > section > .container {
  margin-top: 0;
}

.legacy-shell-v2 .site-header,
.legacy-shell-v2 footer {
  flex-shrink: 0;
}

.legacy-shell-v2 .legacy-simple-page {
  min-height: 50vh;
  padding-block: 48px;
}

@media (max-width: 900px) and (min-width: 721px) {
  .legacy-shell-v2 .basket__inner .products {
    max-width: calc(100% - 90px);
  }
}

@media (max-width: 720px) {
  .legacy-shell-v2--auth > section {
    padding-top: 75px;
  }
}

@media (max-width: 390px) {
  .legacy-shell-v2 .privacy-title {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 34px);
  }

  .legacy-shell-v2--auth > section .container form input,
  .legacy-shell-v2--auth > section .container form .reg-btn,
  .legacy-shell-v2--auth > section .container form .reg-vk {
    width: 100%;
    max-width: 100%;
  }

  .legacy-shell-v2--auth > section .container form input {
    padding-inline: 32px;
  }

  .legacy-shell-v2--auth > section .container form .auth-vk {
    margin-left: auto;
  }
}
