@charset "UTF-8";

.yamm-footer {
  position: relative;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, .11);
  display: block;
  background: #fff;
  color: #111;
  font-family: var(--yamm-font-body);
}

.yamm-route-checkout .yamm-footer,
.yamm-footer[hidden],
.yamm-footer-breadcrumb[hidden] {
  display: none;
}

.yamm-footer-breadcrumb {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, .11);
  background: #fff;
}

.yamm-footer-breadcrumb__trail {
  width: min(80%, 1280px);
  min-height: 92px;
  margin-inline: auto;
  padding-block: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-family: var(--yamm-font-ui);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

.yamm-footer-breadcrumb__crumb,
.yamm-footer-breadcrumb__sep {
  color: #111;
}

.yamm-footer-breadcrumb__crumb {
  text-decoration: none;
}

.yamm-footer-breadcrumb__crumb[href] {
  padding-bottom: 3px;
  border-bottom: 1px solid #111;
}

.yamm-footer-breadcrumb__crumb[href]:hover,
.yamm-footer-breadcrumb__crumb[href]:focus-visible {
  opacity: .62;
}

.yamm-footer-breadcrumb__sep {
  opacity: .65;
}

.yamm-footer__grid {
  width: min(80%, 1280px);
  margin-inline: auto;
  padding: 50px 0 57px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(54px, 6vw, 102px);
}

.yamm-footer__column {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.yamm-footer__heading {
  margin: 0 0 35px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  color: #111;
  cursor: default;
  font-family: var(--yamm-font-body);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.yamm-footer__heading::-webkit-details-marker {
  display: none;
}

.yamm-footer__toggle {
  display: none;
}

.yamm-footer__column-body {
  min-width: 0;
}

.yamm-footer__service-copy,
.yamm-footer__newsletter {
  max-width: 34ch;
  margin: 0 0 18px;
  display: block;
  color: rgba(0, 0, 0, .88);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
}

.yamm-footer__service-copy a,
.yamm-footer__newsletter {
  color: inherit;
  text-decoration: none;
}

.yamm-footer__service-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yamm-footer__links,
.yamm-footer__legal {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yamm-footer__links {
  display: grid;
  gap: 18px;
}

.yamm-footer__links a,
.yamm-footer__legal a,
.yamm-footer__withdrawal,
.yamm-footer__country {
  color: #111;
  text-decoration: none;
  font-family: var(--yamm-font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
}

.yamm-footer__newsletter:hover,
.yamm-footer__newsletter:focus-visible,
.yamm-footer__links a:hover,
.yamm-footer__links a:focus-visible,
.yamm-footer__legal a:hover,
.yamm-footer__legal a:focus-visible,
.yamm-footer__withdrawal:hover,
.yamm-footer__withdrawal:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.yamm-footer__bottom {
  min-height: 92px;
  padding: 0 max(10%, calc((100vw - 1280px) / 2));
  border-top: 1px solid rgba(0, 0, 0, .11);
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(0, 2.35fr);
  align-items: center;
  gap: 46px;
}

.yamm-footer__country {
  margin: 0;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  white-space: nowrap;
}

.yamm-footer__country strong {
  color: inherit;
  font-weight: inherit;
}

.yamm-footer__country-pin,
.yamm-footer__country-chevron {
  width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  color: #111;
}

.yamm-footer__country-pin svg,
.yamm-footer__country-chevron svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yamm-footer__country-chevron {
  width: 12px;
  height: 12px;
}

.yamm-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(26px, 4vw, 72px);
}

.yamm-footer__withdrawal {
  display: none;
}

.yamm-footer__brand {
  min-height: 122px;
  padding: 29px 20px 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #111;
  text-decoration: none;
  font-family: var(--yamm-font-brand);
  font-synthesis: none;
  line-height: 1;
}

.yamm-footer__brand > span {
  font-size: clamp(26px, 2.15vw, 34px);
  font-weight: 400;
  letter-spacing: .075em;
  white-space: nowrap;
}

.yamm-footer__brand small {
  margin-top: 7px;
  font-family: var(--yamm-font-brand);
  font-size: 6px;
  font-weight: 400;
  letter-spacing: .34em;
}

@media (min-width: 901px) {
  .yamm-footer__column:not([open]) > .yamm-footer__column-body {
    display: block;
  }

  .yamm-footer__heading {
    pointer-events: none;
    user-select: none;
  }
}

@media (max-width: 900px) {
  .yamm-footer {
    display: flex;
    flex-direction: column;
  }

  .yamm-footer-breadcrumb {
    order: 0;
  }

  .yamm-footer-breadcrumb__trail {
    width: 87%;
    max-width: 560px;
    min-height: 0;
    padding: 28px 0;
    justify-content: center;
    gap: 7px 9px;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
  }

  .yamm-footer-breadcrumb__home,
  .yamm-footer-breadcrumb__sep--home {
    display: none;
  }

  .yamm-footer__brand {
    order: 1;
    min-height: 118px;
    padding: 31px 20px 30px;
  }

  .yamm-footer__brand > span {
    font-size: clamp(27px, 7.4vw, 32px);
    letter-spacing: .07em;
  }

  .yamm-footer__brand small {
    margin-top: 6px;
    font-size: 6.5px;
  }

  .yamm-footer__grid {
    order: 2;
    width: 87%;
    max-width: 560px;
    padding: 0;
    display: block;
    border-top: 1px solid #dedede;
  }

  .yamm-footer__column {
    border-bottom: 1px solid #dedede;
  }

  .yamm-footer__column:last-child {
    border-bottom: 0;
  }

  .yamm-footer__heading {
    min-height: 54px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
  }

  .yamm-footer__heading:focus-visible {
    outline: 1px solid #111;
    outline-offset: 3px;
  }

  .yamm-footer__toggle {
    position: relative;
    width: 20px;
    height: 20px;
    display: inline-block;
    flex: 0 0 auto;
  }

  .yamm-footer__toggle::before,
  .yamm-footer__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform 160ms cubic-bezier(.22, .7, .25, 1), opacity 160ms ease;
  }

  .yamm-footer__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .yamm-footer__column[open] .yamm-footer__toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .yamm-footer__column-body {
    padding: 4px 0 19px;
  }

  .yamm-footer__service-copy,
  .yamm-footer__newsletter {
    max-width: 40ch;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.5;
  }

  .yamm-footer__links {
    gap: 10px;
  }

  .yamm-footer__links a {
    font-size: 12px;
    line-height: 1.5;
  }

  .yamm-footer__desktop-only {
    display: none;
  }

  .yamm-footer__bottom {
    order: 3;
    min-height: 0;
    margin-top: 0;
    padding: 35px 7.5% max(44px, calc(28px + env(safe-area-inset-bottom)));
    border-top: 1px solid #dedede;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .yamm-footer__legal {
    order: 1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    text-align: center;
  }

  .yamm-footer__legal a {
    font-size: 13px;
    line-height: 1.3;
  }

  .yamm-footer__withdrawal {
    order: 2;
    margin-top: 25px;
    display: inline-block;
    text-align: center;
    font-size: 13px;
  }

  .yamm-footer__country {
    order: 3;
    margin-top: 31px;
    justify-content: center;
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .yamm-footer__brand > span {
    font-size: var(--yamm-brand-mobile-name-size);
    letter-spacing: var(--yamm-brand-mobile-name-tracking);
  }

  .yamm-footer__brand small {
    margin-top: 5px;
    font-size: var(--yamm-brand-mobile-city-size);
    letter-spacing: var(--yamm-brand-mobile-city-tracking);
  }
}

@media (max-width: 430px) {
  .yamm-footer__grid,
  .yamm-footer-breadcrumb__trail {
    width: 87%;
  }

  .yamm-footer__bottom {
    padding-inline: 7.5%;
  }

  .yamm-footer__heading {
    font-size: 14px;
  }

  .yamm-footer__legal a,
  .yamm-footer__withdrawal,
  .yamm-footer__country {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yamm-footer__toggle::before,
  .yamm-footer__toggle::after {
    transition: none;
  }
}
