.footer__menu {
  position: relative;
}

.footer__menu-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer__menu-title .icon__arrow,
.footer__menu-title .icon__minus {
  display: none;
}

@media (max-width: 959px) {
  .footer__menu-title {
    padding-block-start: 15px;
  }

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

  .footer__menu-title .icon__minus {
    display: none;
  }
}

.footer__menu-item {
  padding-block-start: 15px;
}

.footer__menu-item a {
  display: block;
}

.footer__menu-item--active a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer__menu-item--active a:hover {
  text-decoration: underline;
}

@media (max-width: 959px) {
  .footer__menu-content {
    height: 0;
    padding-block-end: 15px;
    overflow: hidden;
    opacity: 0;
  }
}

.footer__menu::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__menu::after {
    display: block;
  }
}

@media (max-width: 959px) {
  .footer__menu[open] .footer__menu-title .icon__arrow {
    display: none;
  }

  .footer__menu[open] .footer__menu-title .icon__minus {
    display: inline;
  }
}

.footer__menu[open] .footer__menu-content {
  height: auto;
  opacity: 1;
}
.footer__custom-text-title {
  padding-block-end: 15px;
}
@media (max-width: 959px) {
  .footer__custom-text-title {
    padding-block-start: 15px;
  }
}
.footer__email-subscribe-title {
  margin-block-end: 15px;
  font-weight: bold;
}
@media (min-width: 960px) {
  .footer__email-subscribe--small .field__input {
    padding-block-start: 16px;
  }
  .footer__email-subscribe--middle .field__input {
    padding-block: 20px 2px;
  }
  .footer__email-subscribe--large .field__input {
    padding-block: 30px 19px;
  }

  .footer__email-subscribe--large .field__input:focus ~ .field__label,
  .footer__email-subscribe--large
    .field__input:not(:placeholder-shown)
    ~ .field__label,
  .footer__email-subscribe--large
    .field__input:-webkit-autofill
    ~ .field__label {
    transform: scale(0.7) translate(0, -150%);
  }
}
.footer__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
.footer__localization-form .localization__selector:nth-last-of-type(2) {
  margin-block-end: 10px;
  margin-inline-end: 15px;
}
.footer__localization-form form {
  display: contents;
}
@media (max-width: 959px) {
  .footer__localization-form .localization__selector {
    width: 100%;
  }

  .footer__localization-form .localization__selector:nth-last-of-type(2) {
    margin-block-end: 6px;
    margin-inline-end: 0;
  }
}
.footer__payment-icons > svg {
  width: auto;
  height: 22px;
}
.footer__social-media-title {
  padding-block-end: 20px;
  font-weight: bold;
}
.footer__social-media-content {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__social-media-content svg,
.footer__social-media-content img {
  width: 24px;
  height: 24px;
}
.footer__social-media-content img {
  border-radius: 100%;
}
@media (min-width: 960px) {
  .footer__social-media--small .footer__social-media-content {
    gap: 8px;
  }

  .footer__social-media--small .footer__social-media-content svg,
  .footer__social-media--small .footer__social-media-content img {
    width: 28px;
    height: 28px;
  }
  .footer__social-media--middle .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--middle .footer__social-media-content svg,
  .footer__social-media--middle .footer__social-media-content img {
    width: 32px;
    height: 32px;
  }
  .footer__social-media--large .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--large .footer__social-media-content svg,
  .footer__social-media--large .footer__social-media-content img {
    width: 64px;
    height: 64px;
  }
}
.footer__copyright-menu a {
  word-break: break-all;
}
.footer__copyright-menu span {
  padding: 0 10px;
}
.footer__copyright-menu span:last-child {
  display: none;
}
.footer {
  background-color: rgb(var(--color-background));
}

/* JJ footer: compact navigation with the same quiet surfaces as the catalog. */
body .footer.jj-footer {
  margin-block-start: 40px;
  color: #26332b;
  background: linear-gradient(140deg, rgb(250 251 248 / 98%), rgb(242 245 238 / 98%));
  border-block-start: 1px solid #d9dfd3;
}

body.jj-neutral-ui.jj-refined-ui .footer.jj-footer {
  background: linear-gradient(140deg, rgb(250 251 248 / 98%), rgb(242 245 238 / 98%));
  border-block-start: 1px solid #d9dfd3;
}

.jj-footer .jj-footer__container {
  padding-block: 60px 22px;
}

.jj-footer .jj-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: clamp(32px, 6vw, 96px);
  padding-block-end: 38px;
}

.jj-footer .jj-footer__main > * {
  min-width: 0;
}

.jj-footer .jj-footer__brand {
  max-width: 360px;
}

.jj-footer .jj-footer__logo {
  display: inline-flex;
  align-items: center;
  width: 168px;
  min-height: 52px;
  margin-block-end: 24px;
}

.jj-footer .jj-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.jj-footer .jj-footer__headline {
  margin: 0 0 12px;
  color: #26332b;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.jj-footer .jj-footer__description {
  max-width: 330px;
  margin: 0;
  color: #626c62;
  font-size: 14px;
  line-height: 1.75;
}

.jj-footer .jj-footer__heading {
  margin: 0 0 14px;
  color: #677263;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.jj-footer .jj-footer__links,
.jj-footer .jj-footer__social {
  padding: 0;
  margin: 0;
  list-style: none;
}

.jj-footer .jj-footer__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding-block: 8px;
  color: #364437;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

.jj-footer .jj-footer__links a span {
  color: #77856f;
  font-size: 15px;
}

.jj-footer .jj-footer__social:empty {
  display: none;
}

.jj-footer .jj-footer__social:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 20px;
}

.jj-footer .jj-footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d8dfd1;
  border-radius: 50%;
}

.jj-footer .jj-footer__social :is(svg, img) {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.jj-footer .jj-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block-start: 18px;
  border-block-start: 1px solid #dce2d6;
}

.jj-footer .jj-footer__copyright {
  margin: 0;
  color: #697164;
  font-size: 12px;
  line-height: 1.6;
}

.jj-footer .jj-footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.jj-footer .jj-footer__policies a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #626c62;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.jj-footer .jj-footer__payment {
  display: flex;
  align-items: center;
  min-height: 32px;
}

.jj-footer .jj-footer__payment svg {
  display: block;
  width: auto;
  height: 22px;
}

.jj-footer a:focus-visible {
  outline: 2px solid #4a654c;
  outline-offset: 4px;
  border-radius: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .jj-footer .jj-footer__links a:hover,
  .jj-footer .jj-footer__policies a:hover {
    color: #1e3725;
    text-decoration: underline;
    text-decoration-color: #a9b6a0;
  }
  .jj-footer .jj-footer__social a:hover {
    background: #e9eee3;
    border-color: #b6c3ac;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .jj-footer a {
    transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, text-decoration-color 220ms ease;
  }
}

@media (max-width: 959px) {
  body .footer.jj-footer {
    margin-block-start: 28px;
  }
  .jj-footer .jj-footer__container {
    padding-block: 36px 24px;
  }
  .jj-footer .jj-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
    padding-block-end: 26px;
  }
  .jj-footer .jj-footer__brand {
    grid-column: 1 / -1;
    max-width: 480px;
  }
  .jj-footer .jj-footer__logo {
    width: 146px;
    min-height: 45px;
    margin-block-end: 18px;
  }
  .jj-footer .jj-footer__headline {
    font-size: 24px;
    text-wrap: initial;
  }
  .jj-footer .jj-footer__description {
    max-width: 410px;
  }
  .jj-footer .jj-footer__heading {
    margin-block-end: 8px;
  }
  .jj-footer .jj-footer__bottom {
    padding-block-start: 18px;
  }
}
