.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__payment-badge {
  display: inline-flex;
  min-width: 48px;
  height: 22px;
  padding-inline: 6px;
  gap: 3px;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.footer__payment-badge svg {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}
.footer__payment-badge--apple svg {
  width: 10px;
  height: 14px;
  fill: currentColor;
}
.footer__payment-badge--google svg {
  width: 14px;
  height: 14px;
}
.footer__payment-badge > span {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.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 {
  --color-background: 255, 255, 255;
  --color-text: 18, 18, 18;
  --color-light-text: 84, 84, 84;
  --color-button-background: 255, 90, 31;
  --color-button-text: 18, 18, 18;
  --button-border-radius: 4px;
  --button-border-thickness: 1px;
  --button-shadow-offset-x: 0px;
  --button-shadow-offset-y: 0px;
  --button-shadow-blur: 0px;
  --button-shadow-opacity: 0;
  --input-border-radius: 4px;
  --input-border-radius-outset: 4px;
  --input-border-thickness: 1px;
  --input-border-opacity: 1;
  --input-shadow-offset-x: 0px;
  --input-shadow-offset-y: 0px;
  --input-shadow-blur: 0px;
  --input-shadow-opacity: 0;

  color: #121212;
  background-color: #fff;
  border-block-start: 2px solid #ff5a1f;
}

.footer__menu-title,
.footer__email-subscribe-title {
  font-weight: 800;
}

.footer__menu::after {
  background-color: rgba(18, 18, 18, 0.18);
}

.footer .block-subscription__inline-form {
  gap: 8px;
}

.footer .field {
  background-color: #fff;
  border-radius: 4px;
}

.footer .field::after {
  border-color: #121212;
  border-width: 1px;
  border-radius: 4px;
  box-shadow: none;
}

.footer .block-subscription__inline-form .button {
  min-height: 44px;
  color: #fff;
  background-color: #ff5a1f;
  border-radius: 4px;
  box-shadow: none;
}

.footer .block-subscription__inline-form .button::after,
.footer .block-subscription__inline-form .button:hover::after {
  border-radius: 4px;
  box-shadow: 0 0 0 1px #121212;
}

.footer .block-subscription__inline-form .button:hover {
  background-color: #e94d16;
}

.footer theme-select {
  background-color: #fff;
  border-radius: 4px;
}

.footer theme-select::before {
  box-shadow: none;
}

.footer theme-select::after,
.footer theme-select:not([disabled="true"]):hover::after {
  border-radius: 4px;
  box-shadow: 0 0 0 1px #121212;
}

.footer theme-select > select,
.footer theme-select > .theme-select__placeholder {
  background-color: #fff;
  border-radius: 4px;
}

.footer__payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: flex-end;
}

.footer__copyright {
  padding-block: 16px;
  color: #121212;
  background-color: #fff;
  border-block-start: 1px solid rgba(18, 18, 18, 0.16);
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.footer__copyright-text {
  line-height: 1.55;
}

.footer__copyright-text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer__copyright-text a:hover {
  color: #e94d16;
}

@media (min-width: 960px) {
  .footer .footer__inner {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(380px, 1.25fr) minmax(340px, 0.9fr);
    column-gap: clamp(36px, 5vw, 84px);
    row-gap: 28px;
    align-items: start;
  }

  .footer .footer__inner > .footer__group {
    width: 100% !important;
    min-width: 0;
    height: auto !important;
    padding: 0 !important;
  }

  .footer .footer__inner > .footer__group:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .footer .footer__inner > .footer__group:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer .footer__inner > .footer__group:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
    display: grid;
    gap: 18px;
    align-content: start;
  }

  .footer .footer__inner > .footer__group:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer__email-subscribe,
  .footer__localization-form,
  .footer__payment-icons {
    width: 100% !important;
  }

  .footer__email-subscribe {
    max-width: 540px;
  }

  .footer__payment-icons {
    justify-content: flex-start;
  }

  .footer__copyright {
    margin-block-start: 2px;
  }
}

@media (max-width: 959px) {
  .footer__menu-title {
    width: 100%;
    padding-block: 16px;
  }

  .footer__email-subscribe-title {
    margin-block-end: 14px;
    color: #4f4a42;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
  }

  .footer__email-subscribe-title strong {
    display: inline-block;
    margin-block-end: 3px;
    color: #121212;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2px;
  }

  .footer .block-subscription__inline-form {
    align-items: stretch;
  }

  .footer .block-subscription__inline-form .button {
    min-width: 104px;
    min-height: 48px;
    padding-inline: 16px;
  }

  .footer__payment-icons {
    padding-block: 6px 2px;
    justify-content: center;
  }

  .footer__payment-icons > svg,
  .footer__payment-badge {
    height: 22px;
  }

  .footer__copyright {
    margin-block-start: 8px;
    padding-block: 16px;
    font-size: 12px;
  }
}
