ul.footer_payment_ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  align-items: center;
  grid-gap: 5px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-elements-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-item_menu_wrapper ul {
  list-style: none;
  padding-left: 0;
}

.footer-link:hover:after {
  transform: scaleX(1);
}

.footer-link {
  position: relative;
  text-decoration: none;
}

.footer-link:after {
  content: "";
  position: absolute;
  bottom: -0.6rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background: var(--text-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.footer-item_menu_wrapper li {
  margin-bottom: 1.5rem;
}

.footer_copyright_wrapper a {
  text-decoration: none;
}

.footer--localization_wrapper svg path {
  fill: var(--text-color);
}

.footer--localization_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social__item a {
  transition: transform 0.3s ease;
}

.social__item a:hover {
  transform: translateY(-1px);
}

button#footer_localization_btn {
  display: flex;
  background: transparent;
  border: unset;
  font-size: 1.6rem;
  cursor: pointer;
}

.footer_copyright_wrapper p {
  margin: 0;
  text-align: center;
}

.display__inline {
  display: grid;
  grid-template-columns: 3fr 7fr;
  grid-gap: 1.5rem;
}

.footer-elements.display__inline .social_icons_footer {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 7%;
  margin-top: 0;
}

ul.social_icons_footer {
  display: flex;
  list-style: none;
  padding-left: 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social__item .icon_wrapper svg {
  width: 3rem;
  height: 3rem;
}

.social__item .icon_wrapper {
  width: 3.5rem;
  height: 3.5rem;
}

.footer-elements.display__inline li.social__item span.icon_wrapper {
  display: block;
}

.policies-wrapper {
  width: 100%;
}

.footer-logo.bottom_image_wrapper img {
  width: 100%;
  height: auto;
  max-height: var(--max--height);
  object-fit: var(--image-fit);
}

.footer_policies_wrapper ul {
  margin: 0;
  display: flex;
  padding-left: 0;
  list-style: none;
  grid-gap: 1.5rem;
  flex-wrap: wrap;
}

.footer_subscribe_form_wrapper {
  display: flex;
}

.footer-wrapper li.social__item svg path {
  fill: var(--color-text);
}

.footer_subscribe_section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 3rem;
}

.footer_subscribe_section input:focus-visible + label {
  font-size: 0.8rem;
}

.footer_subscribe_form {
  width: 65%;
}

.footer_subscribe_form form {
  width: 100%;
}

.footer_subscribe_form_wrapper .form_input {
  width: 100%;
  position: relative;
  cursor: pointer;
}

.footer_subscribe_form_wrapper button#Subscribe {
  background: rgb(var(--color-button));
  cursor: pointer;
}

.footer_subscribe_form_wrapper button#Subscribe {
  background: rgb(var(--color-button));
  width: 6rem;
  height: 6rem;
  border: unset;
  border-radius: 4px;
}

.footer_subscribe_form_wrapper button#Subscribe:hover {
  opacity: 0.8;
}

.footer_subscribe_form_wrapper input::placeholder {
  opacity: 0;
}

.footer_subscribe_form_wrapper label {
  cursor: pointer;
  position: absolute;
  left: 0;
  font-size: 2.8rem;
  font-weight: 700;
  transition: font-size 0.3s ease;
  line-height: normal;
}

.footer_subscribe_form_wrapper button#Subscribe svg path {
  fill: rgb(var(--color-button-text));
}

.footer_subscribe_form_wrapper input {
  background: transparent;
  border: unset;
  width: 100%;
  height: 6rem;
  color: var(--text-color);
}

.input_field_wrapper label {
  font-size: 1.3rem;
  line-height: 1.56rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.input_field_wrapper {
  position: relative;
  width: 100%;
  min-height: 4.4rem;
  display: flex;
  max-width: 42rem;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0 2rem;
}

.input_field_wrapper input::placeholder {
  opacity: 0;
}

.input_field_wrapper input:focus + label,
.input_field_wrapper input:focus-visible + label,
.input_field_wrapper input:not(:placeholder-shown) + label {
  opacity: 0;
}

.footer_newsletter_field_wrapper {
  margin-top: 3rem;
}

.input_field_wrapper svg path {
    fill: var(--color-text);
}

.footer_newsletter_form {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 45rem;
}

.footer-elements.footer-item--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
}

.footer-element-heading {
  margin-bottom: 3rem;
}

form#ContactFooter .form_success_msg {
    margin: 1rem 0 0;
    font-size: 1.2rem;
}

.input_field_wrapper input {
  width: 100%;
  height: auto;
  display: flex;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  line-height: 1.56rem;
  color: var(--color-text);
}

.input_wrapper_inner {
  display: flex;
  width: -webkit-fill-available;
  position: relative;
  padding: 0 1rem;
}

.footer-inner-wrapper {
  padding-left: 6rem;
  padding-right: 6rem;
  //background: var(--color-background);
}

.footer-section .newsletter-form__button {
  background: transparent;
  border: unset;
  cursor: pointer;
  padding: 0;
}

.footer_form_email_error_msg {
    font-size: 1.2rem;
    line-height: 1;
    margin: 1rem 0 0;
    display: block;
    color: #f00;
}

.footer_bottom_inner {
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 5rem;
  position: relative;
  gap: 1rem;
  /* Start position */
  transform: translateY(calc(var(--footer-shift, 0px) * -1));
  /* Smooth movement */
  transition: transform 0.1s linear, opacity 0.1s linear;
}

.reached .footer_bottom_inner {
  opacity: 1;
}

li.footer_payment_item svg {
  max-width: 3.8rem;
}

.footer_copyright_wrapper {
  text-align: center;
}

.footer_social,
.footer_payment_icons_wrapper,
.footer_copyright_wrapper {
  flex: 1;
}

.footer_logo .image img {
  width: var(--logo-size);
  max-height: var(--logo-height);
}

.footer_policies_wrapper a {
  text-decoration: none;
}

.footer_policies_wrapper {
  padding-top: 2rem;
}

.footer_policies_wrapper {
    padding-top: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
}

.footer_localization_selectors {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 15rem;
}

.footer_localization_country_selector, .footer_localization_language_selector {
    display: flex;
}

.footer_localization_selectors button {
    background: var(--color-secondary-text);
    border: none;
    padding: 3px 14px;
    border-radius: 5px;
    color: var(--color-secondary-bg);
    font-size: 1.2rem;
    cursor: pointer;    
}

.footer-element-heading h3, .footer_newsletter_form p.h1 {
    color: var(--color-secondary-heading);
}

.footer_newsletter_form .secction_rte p {
  color: var(--color-secondary-text);
  letter-spacing: 0;
}

@media screen and (min-width: 1400px) {
  .footer_subscribe_form_wrapper label {
    font-size: 4.8rem;
  }

  .footer-elements {
    padding-right: 2rem;
  }
}

@media screen and (max-width: 1499px) {
  .footer-inner-wrapper, .footer_bottom_inner {
    padding-inline: 3rem;
  }
}

@media screen and (max-width: 1250px) {  
  .footer_copyright_wrapper {
    width: 50%;
    text-align: left;
  }

  .footer_payment_icons_wrapper {
    width: 50%;
  }
}

@media screen and (max-width: 990px) and (min-width: 640px) {
  .footer-inner-wrapper,
  .footer_bottom_inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media screen and (max-width: 990px) { 
  .footer_copyright_wrapper {
    width: 100%;
    text-align: center;
  }

  .footer_copyright_wrapper p {
    font-size: 1.4rem;
  }

  button#footer_localization_btn {
    font-size: 1.4rem;
  }

  .footer-elements.footer-item--text {
    width: 100%;
  }

  .footer_newsletter_form {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  ul.social_icons_footer {
    gap: 1rem;
  }

  .social__item .icon_wrapper svg {
    width: 2rem;
    height: 2rem;
  }
}
@media screen and (min-width: 640px) {
  .footer-elements {
    width: var(--width);
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 640px) {
  .footer-inner-wrapper,
  .footer_bottom_inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .footer-elements-wrapper {
    grid-gap: 2rem;
  }

  .footer_subscribe_section {
    flex-wrap: wrap;
  }

  .footer_subscribe_form {
    width: 100%;
  }

  .footer_subscribe_section {
    padding-bottom: 1rem;
  }

  .display__inline {
    grid-template-columns: 1fr;
    grid-gap: 0.5rem;
  }

  .display__inline h3 {
    margin: 0;
  }

  .footer--localization_wrapper {
    display: none;
  }
 
  .footer_bottom_inner {
    padding: 2rem 1.5rem; 
    flex-flow: column;
    gap: 1rem;
  }

  .footer_payment_icons_wrapper {
    width: 100%;
  }

  ul.footer_payment_ul {
    justify-content: center;
  }

  .footer_copyright_wrapper p {
    text-align: center;
    font-size: 1.3rem;
  }

  .footer-elements.social-block.display__inline {
    width: 100%;
    grid-gap: var(--gap-2);
  }

  .footer-elements.display__inline .social_icons_footer {
    grid-gap: 4%;
  }

  .footer_subscribe_form_wrapper label {
    font-size: 2.8rem;
  }
  
  .footer_subscribe_form_wrapper button#Subscribe {
    width: 4rem;
    height: 4rem;
  }

  .footer_subscribe_form_wrapper input {
    height: 4rem;
  }

  .footer_policies_wrapper {
    flex-flow: column;
    gap: 3rem;
  }

  .footer_localization_selectors {
    flex: 0 0 auto;
  }

  .footer-elements {
    width: 100%;
  }

  .footer_newsletter_form .secction_rte p {
    font-size: 1.2rem;
    margin: 1rem 0 0;
  }

  .footer_newsletter_form {
    padding: 0;
  }

  .footer-element-heading {
    margin-bottom: 1rem;
  }

  .footer_policies_wrapper ul {
    row-gap: 5px;
  }
  
  .footer-link {
    font-size: 1.3rem;
  }
}
