.footer__custom-text-title {
  padding-block-end: 15px;
  font-weight: bold;
}

@media (max-width: 959px) {
  .footer__custom-text-title {
    padding-block-start: 15px;
  }
}
.footer__email-subscribe-title {
  font-weight: bold;
}
.footer__email-subscribe .field {
  margin-block-end: 0;
}
.footer__email-subscribe form {
  width: 100%;
}
.footer .tips-card {
  margin-block: 10px;
}
.footer__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
.footer__localization-form form {
  display: contents;
}
.footer__localization-form form select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 959px) {
  .footer__localization-form .localization__selector {
    width: 100%;
  }
}
.footer__navigation {
  position: relative;
}
.footer__navigation-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}
.footer__navigation-title .icon__arrow,
.footer__navigation-title .icon__minus {
  display: none;
}
@media (max-width: 959px) {
  .footer__navigation-title {
    padding-block-start: 15px;
  }

  .footer__navigation-title .icon__arrow {
    display: inline;
  }

  .footer__navigation-title .icon__minus {
    display: none;
  }
}
.footer__navigation-item {
  padding-block-start: 15px;
}
.footer__navigation-item a {
  display: block;
}
.footer__navigation-item--active a {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.footer__navigation-item--active a:hover {
  text-decoration: underline;
}
@media (max-width: 959px) {
  .footer__navigation-content {
    height: 0;
    padding-block-end: 15px;
    overflow: hidden;
    opacity: 0;
  }
}
.footer__navigation::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  display: none;
  width: 100%;
  height: 1px;
  content: "";
  background-color: rgba(var(--color-text), 0.1);
}
@media (max-width: 959px) {
  .footer__navigation::after {
    display: block;
  }
}
@media (max-width: 959px) {
  .footer__navigation[open] .footer__navigation-title .icon__arrow {
    display: none;
  }

  .footer__navigation[open] .footer__navigation-title .icon__minus {
    display: inline;
  }
}
.footer__navigation[open] .footer__navigation-content {
  height: auto;
  opacity: 1;
}
.footer__payment-icons > svg {
  width: auto;
  height: 22px;
}
.footer__social-media-title {
  font-weight: bold;
}
.footer__social-media-content {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__social-media-content img {
  border-radius: 100%;
}
.footer {
  background-color: rgb(var(--color-background));
}

/* Editorial footer (design-aligned) */
.footer--editorial {
  background-color: rgba(var(--color-background));
  color: rgba(var(--color-text));
  border-block-start: 1px solid rgba(var(--color-entry-line));
}

.footer--editorial .footer__shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.footer--editorial .footer__inner {
  width: 100%;
}

.footer--editorial .footer__group:first-child {
  display: grid !important;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-block-end: 48px;
  flex-direction: unset !important;
  flex-wrap: unset !important;
}

.footer--editorial .footer__group:last-child {
  border-block-start: 1px solid rgba(var(--color-text), 0.06);
}

.footer--editorial .footer__brand-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer--editorial .footer__brand-logo img {
  width: auto;
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer--editorial .footer__brand-tagline {
  margin-block: 14px 20px;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(var(--color-text), 0.3);
}

.footer--editorial .footer__brand-socials {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer--editorial .footer__brand-socials li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(var(--color-text), 0.15);
  color: rgba(var(--color-text), 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer--editorial .footer__brand-socials li a:hover {
  color: rgba(var(--color-text), 0.7);
}

.footer--editorial .footer__brand-socials svg {
  width: 12px;
  height: 12px;
}

.footer--editorial .footer__navigation-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(var(--color-light-text));
  margin-block-end: 18px;
  padding-block-start: 0;
}

.footer--editorial .footer__navigation-title .icon__arrow,
.footer--editorial .footer__navigation-title .icon__minus {
  display: none;
}

.footer--editorial .footer__navigation-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: auto;
  opacity: 1;
  overflow: visible;
  padding-block-end: 0;
  list-style: none;
  margin: 0;
  padding-inline: 0;
}

.footer--editorial .footer__navigation-item {
  padding-block-start: 0;
}

.footer--editorial .footer__navigation-item a {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--color-text), 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer--editorial .footer__navigation-item a:hover {
  color: rgba(var(--color-text), 0.7);
  text-decoration: none;
}

.footer--editorial .footer__navigation::after {
  display: none;
}

.footer--editorial .footer__legal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.footer--editorial .footer__legal-copy {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--color-text), 0.18);
}

.footer--editorial .footer__legal-copy p {
  margin: 0;
}

.footer--editorial .footer__legal-copy a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer--editorial .footer__legal-copy a:hover {
  opacity: 0.65;
}

.footer--editorial .footer__legal-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer--editorial .footer__legal-link {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(var(--color-text), 0.18);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer--editorial .footer__legal-link:hover {
  opacity: 0.65;
}

.footer--editorial .footer__legal-sep {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(var(--color-text), 0.18);
}

@media (max-width: 959px) {
  .footer--editorial .footer__group:first-child {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-block-end: 32px;
  }

  .footer--editorial .footer__navigation-title {
    padding-block-start: 0;
  }

  .footer--editorial .footer__navigation-title .icon__arrow {
    display: inline;
  }

  .footer--editorial .footer__navigation-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding-block-end: 15px;
  }

  .footer--editorial .footer__navigation[open] .footer__navigation-content {
    height: auto;
    opacity: 1;
  }

  .footer--editorial .footer__navigation::after {
    display: block;
  }

  .footer--editorial .footer__legal-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
