/* Футер — макет 2026 */

.section.main-footer {
  position: relative;
  width: 100%;
  max-width: 105rem;
  margin: 0 auto 1.875rem;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1rem, 4vw, 4.14rem) 0;
  border-radius: 3.125rem;
  color: #ffffff;
  background-color: var(--c-bg, #233140);
  min-height: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.main-footer__container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  padding-bottom: 0;
}

.footer-top {
  padding-bottom: clamp(1.5rem, 3.5vw, 4rem);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.footer-col {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  text-align: left;
  gap: 0;
  min-width: 0;
}

.footer-col__title {
  margin: 0 0 1.25rem;
  font-family: "Cocomat Pro", sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  line-height: 1.5;
  color: #fff;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.64rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.footer-nav li a {
  font-family: "Cocomat Pro", sans-serif;
  font-weight: 400;
  font-size: 1.13rem;
  line-height: 1.4;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-nav li a:hover,
.footer-nav li a.active-link {
  opacity: 0.75;
  transform: none;
  color: #ffffff;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.footer-contacts__email {
  font-family: "Cocomat Pro", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 3.125rem);
  line-height: 1.15;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.footer-contacts__email:hover {
  opacity: 0.85;
  transform: none;
  color: #ffffff;
}

.footer-contacts__phone,
.footer-contacts__address {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer-contacts__phone:hover {
  opacity: 0.85;
  transform: none;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.87rem;
  padding: 0;
}

.footer-socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-socials__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-socials__link:hover {
  transform: translateY(-0.125rem);
  opacity: 0.9;
}

.footer-col--marketplaces {
  align-items: flex-start;
}

.footer-col--marketplaces .footer-col__title {
  margin: 0 0 0.9rem;
}

.footer-marketplaces {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-marketplaces__link {
  display: block;
  line-height: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-marketplaces__link img {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
}

.footer-marketplaces__link:hover {
  transform: translateY(-0.125rem);
  opacity: 0.92;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 0 0 1.875rem;
  background: rgba(255, 255, 255, 0.14);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 4.0625rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.8rem;
}

.footer-legal__link {
  font-family: "Cocomat Pro", sans-serif;
  font-size: 1.125rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.footer-legal__link:hover {
  color: #ffffff;
  transform: none;
}

.footer-copyright {
  margin: 0;
  font-family: "Cocomat Pro", sans-serif;
  font-size: 1.115rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.footer-brand {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0 0.5rem 0 1rem;
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}

.footer-brand__text {
  display: block;
  font-family: "Cocomat Pro", sans-serif;
  font-weight: 800;
  font-size: clamp(4.5rem, 18vw, 15rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.footer-brand__logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left bottom;
}

/* Скрываем старую вёрстку */
.main-footer .footer-logo,
.main-footer .footer-information,
.main-footer .visible--md.footer-logo,
.main-footer .hidden--md.footer-logo {
  display: none !important;
}

@media (max-width: 61.999rem) {
  .main-footer__container {
    padding: 0;
  }

  .section.main-footer {
    width: 100%;
    max-width: 100%;
  }

  .main-footer .footer-container {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 60px;
  }
}

@media (min-width: 62rem) {
  .main-footer .footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr) minmax(0, 4.25fr);
    align-items: start;
    column-gap: clamp(1.5rem, 12.72vw, 14.0625rem);
    row-gap: 0;
  }

  .main-footer .footer-col {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }

  .main-footer .footer-nav {
    padding: 0;
    width: 100%;
  }

  .main-footer .footer-socials {
    padding-top: 0;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .main-footer .footer-marketplaces {
    flex-wrap: nowrap;
    width: auto;
  }

  .footer-col--marketplaces {
    align-items: flex-end;
    text-align: right;
  }

  .footer-col--marketplaces .footer-col__title {
    width: auto;
    text-align: left;
  }

  .main-footer .footer-col--marketplaces .footer-marketplaces {
    justify-content: flex-end;
  }

  .footer-marketplaces {
    justify-content: flex-end;
    gap: 2.4375rem;
  }

  .footer-marketplaces__item--ozon .footer-marketplaces__link img {
    width: 6.125rem;
    height: 6.25rem;
    object-fit: contain;
  }

  .footer-marketplaces__item--wb .footer-marketplaces__link img,
  .footer-marketplaces__item--megamarket .footer-marketplaces__link img,
  .footer-marketplaces__item:nth-child(4) .footer-marketplaces__link img {
    width: 6.25rem;
    height: 6.25rem;
    object-fit: contain;
  }

  .footer-marketplaces__item--yamarket .footer-marketplaces__link img {
    width: 7.5rem;
    height: 6.25rem;
    object-fit: contain;
  }

  .footer-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .footer-copyright {
    margin-left: auto;
    text-align: right;
  }
}

@media (min-width: 62rem) {
  .section.main-footer {
    padding-top: 3.75rem;
  }

  .footer-nav ul {
    gap: 1.64rem;
  }

  .footer-contacts__email {
    font-size: 2.625rem;
    letter-spacing: 0;
  }
}

@media (min-width: 75rem) and (max-width: 99.999rem) {
  .main-footer .footer-container {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 3.2fr) minmax(0, 4.5fr);
  }

  .footer-contacts__email {
    font-size: 2rem;
  }
}

@media (min-width: 100rem) {
  .footer-contacts__email {
    font-size: 2.625rem;
  }
}

@media (max-width: 47.9375rem) {
  .section.main-footer {
    border-radius: 3.125rem 3.125rem 0 0;
    margin: 0 auto 0;
  }

  .footer-nav ul {
    align-items: center;
  }

  .footer-nav li a {
    font-size: 18px;
  }

  .footer-contacts__email {
    font-size: 32px;
  }

  .footer-col__title {
    font-size: 18px;
  }

  .footer-col {
    align-items: center;
  }

  .footer-col--marketplaces {
    align-items: center;
  }

  .footer-marketplaces {
    max-width: 430px;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }

  .footer-marketplaces__item--ozon .footer-marketplaces__link img {
    width: 60px;
    height: 61px;
    object-fit: contain;
  }

  .footer-marketplaces__item--wb .footer-marketplaces__link img,
  .footer-marketplaces__item--megamarket .footer-marketplaces__link img,
  .footer-marketplaces__item:nth-child(4) .footer-marketplaces__link img {
    width: 61px;
    height: 61px;
    object-fit: contain;
  }

  .footer-marketplaces__item--yamarket .footer-marketplaces__link img {
    width: 73px;
    height: 61px;
    object-fit: contain;
  }

  .footer-socials {
    justify-content: center;
    max-width: 430px;
    width: 100%;
  }

  .footer-socials__link {
    width: 60px;
    height: 60px;
  }

  .footer-legal {
    flex-direction: column;
    justify-content: center;
  }

  .footer-legal__link {
    font-size: 18px;
  }

  .footer-meta {
    align-items: center;
  }

  .footer-copyright {
    font-size: 18px;
    text-align: center;
    max-width: 285px;
    white-space: normal;
  }

  .footer-brand__text {
    font-size: clamp(3.5rem, 22vw, 6rem);
  }
}

@media (min-width: 430px) and (max-width: 47.9375rem) {
  .footer-contacts__email {
    font-size: 42px;
  }
}