/* ============================================
   LAYOUT COMPONENTS (Source of truth)
   Top bar + Header + Footer + Mobile tab bar

   Extracted from the old assets/css/landing.css
   Keep all shared layout styles here.
   ============================================ */

/* ============================================
   LANDING (Shop main)
   Page + component styles for index.html

   Reset + tokens: assets/css/reset.css, assets/css/variables.css
   Layout helpers: assets/css/composition.css
   ============================================ */

:root {
  /* Exact sizes from Figma text styles (.docs/textStyles.json) */
  --fs-display-d: 48px; /* desk/display */
  --fs-h1-d: 44px; /* desk/h1 */
  --fs-h2-d: 40px; /* desk/h2 */
  --fs-h3-d: 28px; /* desk/h3 */
  --fs-h4-d: 24px; /* desk/h4 */
  --fs-text-d: 16px; /* desk/text */
  --fs-text-sm-d: 14px; /* desk/text-small */
  --fs-desc-d: 12px; /* desk/description */

  --fs-display-m: 36px; /* mob/display */
  --fs-h1-m: 24px; /* mob/H1 */
  --fs-h2-m: 20px; /* mob/H2 */
  --fs-h3-m: 18px; /* mob/H3 */
  --fs-text-m: 14px; /* mob/text */

  /* UI */
  --header-h-d: 80px;
  --header-h-m: 56px;

  /* Use explicit strokes like in Figma */
  --stroke-landing: var(--color-border-light);
}

/* --------------------------------------------
   Global page tweaks
   -------------------------------------------- */

.page {
  overflow-x: hidden;
}

.header__mobile-actions {
  display: none;
}

.section-title {
  font-size: var(--fs-h1-d);
  font-weight: var(--font-semibold);
  letter-spacing: 0;
  color: var(--color-text-accent);
}

.section-subtitle {
  margin-top: var(--space-4);
  font-size: var(--fs-text-d);
  color: var(--color-text-secondary);
}

/* --------------------------------------------
   Top bar (desktop)
   -------------------------------------------- */

.top-bar {
  background: var(--color-orange-light);
  font-size: var(--fs-text-sm-d);
  color: var(--color-text-accent);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-6);
  padding: 12px 0;
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.top-bar__item svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  opacity: 0.9;
}

.top-bar__langs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.top-bar__langs a {
  text-decoration: none;
  color: inherit;
  opacity: 0.7;
}

.top-bar__langs a.is-active {
  opacity: 1;
}

.top-bar__langs span {
  opacity: 0.7;
}

.top-bar__city-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: 180px;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-text-secondary);
  opacity: 1 !important;
  overflow: visible;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar__city-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-white);
  font-size: 11px;
  line-height: 18px;
  font-weight: var(--font-semibold);
  text-align: center;
  opacity: 1 !important;
}

.header__city-chip {
  max-width: 118px;
  min-height: 32px;
  background: var(--color-surface-muted);
  font-size: 13px;
  line-height: 18px;
  color: var(--color-text-secondary);
}

/* --------------------------------------------
   Header
   -------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  height: var(--header-h-d);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: var(--fs-h3-d);
  font-weight: var(--font-medium);
  color: var(--color-orange);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.header__burger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-icon-stroke);
  background: transparent;
  border: none;
}

.header__burger svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.header__search {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.header__search-submit {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-icon-stroke);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header__search-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 56px 0 44px;
  border: 1px solid var(--color-icon-stroke);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-primary);
  font-size: var(--fs-text-d);
}

.search-input::placeholder {
  color: var(--color-text-primary);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-action);
}

.header__search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--color-icon-stroke);
  fill: none;
  pointer-events: none;
}

.header__mic {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-action);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__mic svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

[data-search-voice-form] .search-voice-ui {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  border: 1px solid #8A9B8F;
  border-radius: 9999px;
  background: rgba(244, 241, 237, 0.98);
  box-shadow: 0 10px 28px rgba(63, 71, 65, 0.12);
  z-index: 2;
}

[data-search-voice-form].is-voice-active .search-voice-ui {
  display: flex;
}

[data-search-voice-form].is-voice-active .search-input,
[data-search-voice-form].is-voice-active .header__search-submit,
[data-search-voice-form].is-voice-active .header__mic,
[data-search-voice-form].is-voice-active .landing-mobile-search__primary,
[data-search-voice-form].is-voice-active .landing-mobile-search__smart {
  opacity: 0;
  pointer-events: none;
}

.search-voice-ui__bars {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  height: 24px;
}

.search-voice-ui__wave {
  display: block;
  width: 100%;
  height: 100%;
}

.search-voice-ui__status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-voice-ui__stop {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: rgba(126, 139, 132, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7E8B84;
}

.search-voice-ui__stop-icon {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: currentColor;
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: var(--fs-text-d);
  font-weight: var(--font-medium);
  line-height: 1.1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-action);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-action-hover);
}

.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  text-decoration: none;
}

.icon-circle--soft {
  background: #F4F1ED;
  color: var(--color-icon-stroke);
}

.icon-circle--ai {
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: var(--font-semibold);
  font-size: 16px;
  letter-spacing: 0;
  text-decoration: none;
}

.icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
}

.site-footer {
  background: var(--color-orange-light);
  color: var(--color-text-accent);
}

.footer-top {
  padding-block: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-col h4 {
  font-size: var(--fs-text-d);
  font-weight: var(--font-semibold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-divider {
  border-top: 1px solid rgba(63, 71, 65, 0.35);
}

.footer-bottom {
  padding: var(--space-6) 0 var(--space-12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.footer-payments {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-payments img {
  height: 22px;
  width: auto;
}

.footer-langs {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
  color: var(--color-text-secondary);
  font-size: var(--fs-text-sm-d);
}

.footer-langs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-langs img {
  width: 18px;
  height: 12px;
  object-fit: cover;
}

.footer-copy {
  color: rgba(63, 71, 65, 0.75);
  font-size: var(--fs-text-sm-d);
}

/* --------------------------------------------
   Mobile bottom tab bar
   -------------------------------------------- */

.mobile-nav {
  display: none;
}

/* --------------------------------------------
   Responsive (mobile 375)
   -------------------------------------------- */

@media (max-width: 768px) {
  .page {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .top-bar {
    display: none;
  }

  .header__inner {
    height: var(--header-h-m);
    gap: 12px;
  }

  .header__burger,
  .header__search,
  .nav-actions {
    display: none;
  }

  .header__mobile-actions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .logo {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-top {
    padding-block: 3rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: var(--space-4) 0 var(--space-12);
  }

  .footer-langs {
    justify-content: center;
  }

  /* Footer (mobile) — replace existing footer overrides */
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);

    grid-template-areas:
      "footer-logo footer-logo"
      "footer-menu footer-menu";
  }

  /* logo centered on top */
  .site-footer .footer-grid > .logo {
    grid-area: footer-logo;
    justify-self: center;
    align-self: start;
    margin-bottom: var(--space-4);
  }

  .site-footer .footer-menu {
    grid-area: footer-menu;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    width: 100%;
  }

  /* bottom block: © then languages then payments */
  .site-footer .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: var(--space-4);
    padding: var(--space-6) 0 var(--space-12);
  }

  .site-footer .footer-copy {
    order: 1;
  }

  .site-footer .footer-langs {
    order: 2;
    justify-content: center;
  }

  .site-footer .footer-payments {
    order: 3;
  }

  /* mobile bottom tab bar */
  .mobile-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-overlay);
    background: var(--color-white);
    border-top: 1px solid var(--stroke-landing);
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  }

  .mobile-nav-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    align-items: end;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 11px;
    position: relative;
  }

  .mobile-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
  }

  .mobile-nav-item--ai {
    color: var(--color-orange);
  }

  .mobile-nav-item--plus .plus-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-action);
    display: grid;
    place-items: center;
    color: var(--color-white);
  }

  .mobile-nav-item--plus svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
  }
}

.message-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d33d3d;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  font-weight: var(--font-semibold);
  box-shadow: 0 0 0 2px var(--color-surface);
  pointer-events: none;
}

.mobile-nav-item .message-badge {
  top: -2px;
  right: 4px;
}

/* ---------- Tooltip bubble (shared) ---------- */
.tooltip {
  position: absolute;
  z-index: var(--z-overlay);
  max-width: 18rem; /* ~288px */
  background: var(--color-tooltip-bg);
  color: var(--color-text-secondary);
  font-size: var(--fs-desc-d);
  line-height: 1.4;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.tooltip::after {
  content: "";
  position: absolute;
  left: calc(var(--space-4) + var(--space-2));
  bottom: calc(var(--space-2) * -1);
  width: 16px;
  height: 16px;
  background: var(--color-tooltip-bg);
  transform: rotate(45deg);
  border-radius: 3px;
}

/* По умолчанию подсказку возле поиска скрываем —
   включается на нужных страницах (например, search.html) */
.tooltip--search {
  display: none;
}

@media (min-width: 1024px) {
  .page--landing {
    background: #FFFFFF;
  }

  .page--landing .top-bar {
    background: #F4F1ED;
  }

  .page--landing .top-bar .container,
  .page--landing .site-header .container,
  .page--landing .site-footer .container {
    max-width: 1280px;
    padding-inline: 32px;
  }

  .page--landing .top-bar__inner {
    min-height: 48px;
    padding: 4px 0;
    gap: 16px;
  }

  .page--landing .top-bar__item {
    height: 40px;
    gap: 0;
    color: #505B53;
  }

  .page--landing .top-bar__item svg {
    width: 28px;
    height: 28px;
    stroke: #505B53;
  }

  .page--landing .top-bar__item span {
    font-family: "SF Pro", var(--font-sans);
    font-weight: 590;
    font-size: 14px;
    line-height: 16px;
    color: #505B53;
  }

  .page--landing .top-bar__langs {
    gap: 8px;
    min-height: 28px;
    color: #505B53;
  }

  .page--landing .top-bar__settings-trigger {
    gap: 8px;
  }

  .page--landing .site-header {
    position: sticky;
    top: 0;
    background: #FFFFFF;
    border-bottom: 2px solid #F4F1ED;
    padding: 24px 0;
  }

  .page--landing .header__inner {
    height: 48px;
    gap: 23px;
  }

  .page--landing .logo img {
    width: 176px;
    height: auto;
    display: block;
  }

  .page--landing .header__burger {
    width: 40px;
    height: 40px;
    color: #505B53;
  }

  .page--landing .header__burger svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
  }

  .page--landing .header__search {
    flex: 0 0 493px;
    max-width: 493px;
  }

  .page--landing .header__search-submit {
    left: 14px;
    width: 32px;
    height: 32px;
    color: #505B53;
  }

  .page--landing .header__search-submit svg {
    width: 24px;
    height: 24px;
  }

  .page--landing .search-input {
    height: 48px;
    padding: 0 52px 0 54px;
    border: 1px solid #505B53;
    border-radius: 9999px;
    font-size: 16px;
    line-height: 24px;
    color: #3F4741;
  }

  .page--landing .header__search-icon {
    left: 16px;
    width: 24px;
    height: 24px;
    stroke: #505B53;
  }

  .page--landing .header__mic {
    right: 6px;
    width: 40px;
    height: 40px;
    background: transparent;
    color: #505B53;
  }

  .page--landing [data-search-voice-form] .search-voice-ui,
  .page--search [data-search-voice-form="desktop"] .search-voice-ui {
    inset: 0;
    border-color: #505B53;
    background: linear-gradient(90deg, rgba(244, 246, 243, 0.98) 0%, rgba(232, 238, 232, 0.98) 100%);
  }

  .page--landing .nav-actions {
    margin-left: 0;
  }

  .page--landing .btn {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
  }

  .page--landing .btn-primary {
    width: 209px;
    background: #8A9B8F;
  }

  .page--landing .site-footer {
    background: #F4F1ED;
    margin-top: 96px;
  }

  .page--landing .footer-top {
    padding-top: 55.5px;
    padding-bottom: 57.5px;
  }

  .page--landing .footer-grid {
    width: 1112px;
    max-width: 1112px;
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 338px;
  }

  .page--landing .footer-logo {
    flex: 0 0 171.95px;
    width: 171.95px;
    display: inline-flex;
    align-items: flex-start;
  }

  .page--landing .footer-logo img {
    width: 171.95px;
    height: 30.95px;
    object-fit: contain;
  }

  .page--landing .footer-menu {
    width: 580px;
    flex: 0 0 580px;
    display: flex;
    align-items: flex-start;
    gap: 232px;
  }

  .page--landing .footer-col {
    width: 172px;
    flex: 0 0 172px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .page--landing .footer-col h4 {
    margin-bottom: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #3F4741;
  }

  .page--landing .footer-col a {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
    color: #3F4741;
  }

  .page--landing .footer-divider {
    width: 1216px;
    max-width: calc(100% - 64px);
    margin-inline: auto;
    border-top: 1px solid #505B53;
  }

  .page--landing .footer-bottom {
    max-width: 1216px;
    margin-inline: auto;
    padding: 20px 0 40px;
    grid-template-columns: 207px 521.74px 301.13px;
    gap: 97px;
  }

  .page--landing .footer-copy {
    font-size: 12px;
    line-height: 16px;
    color: #535B55;
  }

  .page--landing .footer-payments {
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .page--landing .footer-payments img {
    height: 24px;
  }

  .page--landing .footer-langs {
    width: 301.13px;
    justify-content: flex-start;
    gap: 0;
    font-size: 12px;
    line-height: 16px;
    color: #000000;
  }

  .page--landing .footer-langs span {
    gap: 10px;
    margin-right: 20px;
    white-space: nowrap;
  }

  .page--landing .footer-langs img {
    width: 16px;
    height: 12px;
  }
}

@media (max-width: 768px) {
  .page.page--landing {
    padding-bottom: calc(114px + env(safe-area-inset-bottom));
  }

  .page--landing .site-header {
    position: sticky;
    top: 0;
    padding: 16px 0 18px;
    border-bottom: 1px solid #E3E5E4;
    background: #FFFFFF;
  }

  .page--landing .site-header .container,
  .page--landing .mobile-nav .container {
    padding-inline: 10px;
  }

  .page--landing .header__inner {
    height: 40px;
    gap: 12px;
    justify-content: space-between;
  }

  .page--landing .logo img {
    width: 111px;
    height: auto;
    display: block;
  }

  .page--landing .header__mobile-actions {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-left: 0;
  }

  .page--landing .header__mobile-actions .icon-circle--soft {
    width: 40px;
    height: 40px;
    background: #F4F1ED;
    color: #505B53;
  }

  .page--landing .header__mobile-actions .icon-circle--soft svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }

  .page--landing .mobile-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-overlay);
    min-height: 114px;
    padding: 8px 0 calc(42px + env(safe-area-inset-bottom));
    background: #FFFFFF;
    border-top: 1px solid #E3E5E4;
  }

  .page--landing .mobile-nav::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 139px;
    height: 5px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.95);
  }

  .page--landing .mobile-nav-list {
    width: 345px;
    margin: 0 auto;
    gap: 0;
    align-items: end;
  }

  .page--landing .mobile-nav-item {
    gap: 4px;
    color: #505B53;
    font-family: "Manrope", var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
  }

  .page--landing .mobile-nav-item svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
  }

  .page--landing .mobile-nav-item--ai {
    color: #E47A61;
  }

  .page--landing .mobile-nav-item--plus .plus-circle {
    width: 40px;
    height: 40px;
    background: #8A9B8F;
  }
}

@media (min-width: 1225px) {
  body.has-pinned-profile {
    --landing-available-width: calc(var(--profile-content-width) - 64px);
  }

  body.has-pinned-profile .page--landing .site-footer .container {
    width: 100%;
    max-width: none;
  }

  body.has-pinned-profile .page--landing .footer-grid {
    width: 100%;
    max-width: min(1112px, var(--landing-available-width));
    display: grid;
    grid-template-columns: minmax(156px, 171.95px) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 120px);
    justify-content: stretch;
  }

  body.has-pinned-profile .page--landing .footer-menu {
    width: 100%;
    flex: initial;
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: clamp(24px, 4vw, 80px);
    justify-content: stretch;
  }

  body.has-pinned-profile .page--landing .footer-divider,
  body.has-pinned-profile .page--landing .footer-bottom {
    width: 100%;
    max-width: min(1216px, var(--landing-available-width));
  }

  body.has-pinned-profile .page--landing .footer-bottom {
    grid-template-columns: minmax(180px, 207px) minmax(360px, 1fr) minmax(220px, 301.13px);
    gap: clamp(24px, 4vw, 97px);
  }

  body.has-pinned-profile .page--landing .footer-payments {
    flex-wrap: wrap;
    min-width: 0;
  }

  body.has-pinned-profile .page--landing .footer-langs {
    width: auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (max-width: 1023px) {
  .page--landing .footer-grid {
    width: 100%;
    max-width: none;
    display: grid;
    gap: var(--space-6);
  }

  .page--landing .footer-menu {
    width: 100%;
    flex: initial;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .page--landing .footer-col {
    width: auto;
    flex: initial;
  }
}
