#footer-top section.widget_custom_html,
.site-footer__emoji-motorcycle,
.site-footer__emoji-scooter {
  display: none;
}
#site-footer-newsletter {
  scroll-margin-top: 200px;
}

@supports selector(:has(*)) {
  #footer-top
    section.widget_custom_html:has(
      .site-footer__newsletter-embed-wrap .klaviyo-form
    ) {
    /* only when form has been loaded */
    display: block;
    margin-block: 0;
  }
  #footer-top:has(.site-footer__newsletter-embed-wrap .klaviyo-form) {
    /* only when form has been loaded */
    background-color: #262626;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23dfdfdf' fill-opacity='0.15' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
  }

  #footer-top:has(.site-footer__newsletter-embed-wrap .klaviyo-form)
    .widget_atomion_social_media {
    justify-content: center;
  }
}

.site-footer__newsletter-embed-wrap {
  background-color: hsl(0deg 0% 24.9% / 100%);
  border-radius: 10px;
  margin-top: 1.5em;
  max-width: 550px;
  position: relative;
  margin-inline: auto;
  padding-block: 20px;
  padding-inline: 12px;
}

.site-footer__newsletter-embed-wrap form.klaviyo-form {
  float: none !important;
}

.site-footer__newsletter-embed-wrap.--allow-envelope {
  /* margin-left: auto;
    margin-right: 0; */
  margin-top: -50px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.site-footer__newsletter-embed-wrap.--allow-envelope::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -19px;
  width: 20px;
  height: calc(1.5em + 50px);
  background: #909090;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.site-footer__newsletter-embed-wrap.--allow-envelope
  .site-footer__emoji-motorcycle {
  width: 20px;
  height: auto;
  display: block;
  vertical-align: middle;
  position: absolute;
  /* left: 50%; */
  /* transform: translateX(-50%) scaleX(-1); */

  top: -20px;
  /* margin-left: -20px; */
  left: 20px;
  transform: scaleX(-1);
}
.site-footer__newsletter-embed-wrap.--allow-envelope
  .site-footer__emoji-scooter {
  width: 20px;
  height: auto;
  display: block;
  vertical-align: middle;
  position: absolute;
  /* left: 50%; */
  /* transform: translateX(-50%) scaleX(-1); */
  top: -20px;
  /* margin-left: 20px; */

  left: 60px;
  transform: scaleX(-1);
}

@media (min-width: 1024px) {
  .site-footer__newsletter-embed-wrap.--allow-envelope {
    margin-bottom: calc(-35px - 1em);
    margin-left: auto;
    margin-right: 0;
  }

  #footer-top:has(
      .site-footer__newsletter-embed-wrap.--allow-envelope .klaviyo-form
    )
    .widget_atomion_social_media {
    justify-content: flex-start;
  }
}

/* Footer */
#footer-top .inner {
  padding: 0 5%;
}

#footer-top .inner .widget_atomion_social_media {
  margin: 1.5em 0;
}

.site-footer .widget-title {
  margin-bottom: 5px;
  font-size: 1.15em;
}

.site-footer .widget-title::after {
  display: none;
}

.site-footer .widget_atomion_social_media {
  display: flex;
  align-items: center;
  gap: 15px;
}

.site-footer .widget_atomion_social_media .widget-title {
  margin: 0;
}

@media (max-width: 649px) {
  #main-footer > .inner > section.col-2-4.widget_nav_menu {
    flex-basis: 100%;
    width: 100%;
  }
}
/* displays legal link list in two columns to make it feel shorter */
#main-footer > .inner > section.col-2-4.widget_nav_menu ul.menu {
  column-count: 2;
  column-gap: 20px;
}

.site-footer .widget_icl_lang_sel_widget {
  width: 100%;
}

/* adds divider before language switcher row */
.site-footer .wpml-ls-legacy-list-horizontal {
  border-top: 2px solid #333;
  padding-top: 25px;
}

@media (max-width: 649px) {
  /* adds divider before payment method row */
  /* adds divider before payment method row */
  #main-footer > .inner > section.col-3-4.widget_custom_html {
    border-top: 2px solid #333;
    padding-top: 25px;
    width: 100%;
    flex-basis: 100%;
  }
  #main-footer > .inner > section.col-1-4.widget_custom_html {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: calc(1em + 25px);
  }

  #main-footer > .inner > section.col-1-4.widget_custom_html > .widget-title {
    margin-top: 0;
  }
}
@media (min-width: 650px) {
  /* adds divider before payment method row */
  #main-footer > .inner > section.col-1-4.widget_custom_html,
  #main-footer > .inner > section.col-3-4.widget_custom_html {
    border-top: 2px solid #333;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 0 0 0;
  }

  #main-footer > .inner > section.col-1-4.widget_custom_html > .widget-title,
  #main-footer > .inner > section.col-3-4.widget_custom_html > .widget-title {
    margin-top: 0;
  }
}
@media (min-width: 1000px) {
  /* adds divider before payment method row */
  #main-footer > .inner > section.col-1-4.widget_custom_html,
  #main-footer > .inner > section.col-3-4.widget_custom_html {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  #main-footer > .inner > section.col-1-4.widget_custom_html > .widget-title,
  #main-footer > .inner > section.col-3-4.widget_custom_html > .widget-title {
    margin-block: 0;
  }
}

.site-footer .widget_icl_lang_sel_widget ul {
  /* display: flex;
  justify-content: center; */
  text-align: center;
}
.site-footer .wpml-ls-item a,
.site-footer .wpml-ls-item img {
  max-width: none;
}

.site-footer__logo-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__logo-list li {
  margin-bottom: 0 !important;
  line-height: 1;
}

.site-footer__logo-list svg,
.site-footer__logo-list img {
  display: block;
  box-sizing: border-box;
  max-height: 24px;
  line-height: 1;
  height: 100%;
  width: auto;
  border-radius: 5px;
  background-color: #fff;
}

img.site-footer__logo-list__img__payment_method_paypal,
img.site-footer__logo-list__img__payment_method_mastercard,
img.site-footer__logo-list__img__payment_method_visa,
img.site-footer__logo-list__img__payment_method_multibanco {
  padding: 5px 6px;
}

img.site-footer__logo-list__img__payment_method_klarna {
  background-color: #ffa8cd;
}

img.site-footer__logo-list__img__shipping_service_dhl {
  background-color: #ffcc00;
}

@media (min-width: 481px) and (max-width: 650px) {
  footer section.col-1-4 {
    width: 50%;
    flex-basis: 50%;
  }
}

/* ENDE Footer */

/* Footer SVG Social Icons */
footer li.social-media-icon > a {
  transition: 0.3s all ease-in-out;
}

footer li.social-media-icon > a:hover svg,
footer li.social-media-icon > a:focus-visible svg {
  color: #495057;
}
