.footer {
  background-color: rgb(var(--color-page-background));
}

.footer-block:empty {
  display: none;
}

.footer-block__heading {
  font-weight: 500;
}

.footer-block--full {
  margin-top: 40px;
}

@media (max-width: 959px) {
  .footer-block--full {
    margin-top: 20px;
  }
}

.footer-block--full {
  width: 100%;
}

.footer-block--full .footer-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-block__details-content.rte,
.footer-block__details-content > li {
  margin-top: 15px;
}

.footer-block__details-content a {
  opacity: 0.7;
}

footer-menu {
  display: flex;
  flex-direction: column;
}

.footer-block__details-newsletter-form {
  margin-top: 15px;
}

.footer-block__details-newsletter-form .field__suffix .button {
  padding: 0;
  padding-bottom: 0;
}

.footer-block__details-newsletter-form .field__suffix .button:after {
  content: none;
}

.footer-block__details-newsletter-form:after {
  border-radius: 4px;
}

.footer-block__social_media-container {
  display: flex;
  gap: 8px;
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  flex-wrap: wrap;
}

@media (min-width: 960px) {
  .footer-block--list .footer-block__heading svg {
    display: none;
  }
}

@media (max-width: 959px) {
  footer-menu {
    overflow: hidden;
    position: relative;
    padding-bottom: var(--grid-vertical-space);
  }

  footer-menu .footer-block__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(var(--color-text));
  }

  footer-menu ul {
    height: 0;
    opacity: 0;
  }

  footer-menu .icon-arrow {
    display: inline-block;
  }

  footer-menu .icon-minus {
    display: none;
  }

  footer-menu::after {
    position: absolute;
    content: " ";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(var(--color-text), 0.1);
  }
  footer-menu[open] ul {
    opacity: 1;
    height: auto;
  }

  footer-menu[open] .icon-arrow {
    display: none;
  }

  footer-menu[open] .icon-minus {
    display: inline-block;
  }
}

.footer-block__details-content .list-menu__item--active,
.footer-block__details-content .list-menu__item--link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
  color: rgba(var(--color-text));
  opacity: 1;
}

.footer-block-image > img {
  height: auto;
  object-fit: cover;
  object-fit: center center;
}

@media (max-width: 959px) {
  .footer-block-image {
    text-align: left !important;
  }
}

.footer__copyright {
  text-align: center;
  margin-top: 10px;
}

.footer-block--newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 960px) {
  .footer-block--newsletter {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .footer-block--newsletter .field {
    width: 410px;
  }
}

@media (max-width: 959px) {
  .footer-block--newsletter {
    margin-top: 20px;
  }

  .footer-block--subscribe {
    width: 100%;
  }

  .footer-block--newsletter .field {
    width: 100%;
  }

  .footer__list-social {
    margin-bottom: 20px;
  }
}

.footer-block--subscribe .footer-block__heading {
  margin-bottom: 15px;
}

.footer-block__desc {
  color: rgba(var(--color-text));
  margin-top: 2px;
}

.footer__list-social {
  display: flex;
  gap: 8px;
}

.footer__list-social a svg {
  transition: transform 125ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__list-social a:hover svg {
  transform: scale(1.1);
}

.footer__content-bottom {
  padding-top: 40px;
}

@media (min-width: 960px) {
  .footer__content-bottom {
    padding-top: 40px;
  }
}

@media (max-width: 959px) {
  .footer__content-bottom {
    padding-top: 20px;
  }
}

.footer__content-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer__column--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

@media (min-width: 960px) {
  .footer__column--info {
    max-width: 30%;
  }
}

@media (max-width: 959px) {
}

@keyframes animateLocalization {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(-10px);
  }
}

.footer__localization form {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__localization .dropdown-menu__list-wrapper {
  opacity: 1;
  animation: animateLocalization 200ms ease;
  transform: translateY(-10px);
}

.footer__payment {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer__payment > svg {
  height: 22px;
  width: 35px;
}

@media (max-width: 959px) {
  .footer__content-bottom-wrapper {
    flex-direction: column;
  }

  .footer__column--info {
    align-items: center;
  }

  .footer__copyright {
    margin-top: 20px;
  }

  .footer__payment {
    justify-content: center;
  }
  .footer__localization form {
    gap: 6px;
  }
  .footer__localization dropdown-menu:last-child .dropdown-menu__list-wrapper {
    right: 0;
  }
}

@media (max-width: 959px) {
  .footer-block {
    width: 100% !important;
  }
}

.footer .newsletter-form__button.newsletter-form__button {
  padding: 10px;
  padding-right: 0;
}

/* The ipad end responds to the mobile end in vertical screen */

/* @custom-media --tablet (max-width: 959px); */

/* @custom-media --gt-mobile (min-width: 751px); */

/* detectingScreen need to consider the configuration of the tablet */

/* TailorAura footer aligned to the supplied Macorner reference. */
.ta-macorner-footer,
.ta-macorner-footer.color-scheme-1,
.ta-macorner-footer.color-scheme-2,
.ta-macorner-footer.color-scheme-3 {
  padding: 0 !important;
  background-color: #faf9f7 !important;
  background-image: none !important;
  color: #29252c !important;
  --color-text: 41, 37, 44 !important;
  --color-scheme-1-text: 41, 37, 44 !important;
  --color-scheme-2-text: 41, 37, 44 !important;
  --color-scheme-3-text: 41, 37, 44 !important;
}

.ta-macorner-footer .footer__content-top {
  display: none !important;
}

.ta-footer-newsletter {
  background: #e7e1d8;
  background-image: none !important;
  color: #29252c;
  text-align: center;
  padding: 31px 20px 38px;
}

.ta-footer-newsletter__inner {
  max-width: 960px;
  margin: 0 auto;
}

.ta-footer-newsletter h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.ta-footer-newsletter p {
  margin: 7px 0 13px;
  font-size: 15px;
  line-height: 1.45;
}

.ta-footer-newsletter__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(580px, 100%);
  margin: 0 auto;
}

.ta-footer-newsletter__input {
  box-sizing: border-box;
  width: 100%;
  height: 51px;
  padding: 0 17px;
  border: 1px solid #29252c;
  border-radius: 999px;
  background: transparent;
  color: #29252c;
  font: inherit;
  font-size: 14px;
}

.ta-footer-newsletter__input::placeholder {
  color: #5f5961;
  opacity: 1;
}

.ta-footer-newsletter__button {
  box-sizing: border-box;
  min-width: 104px;
  height: 51px;
  padding: 0 18px;
  border: 1px solid #29252c;
  border-radius: 999px;
  background: #29252c;
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.ta-footer-newsletter__button:hover,
.ta-footer-newsletter__button:focus-visible {
  background: #4a444d;
  color: #ffffff;
}

.ta-footer-newsletter .tips-card {
  margin: 13px auto 0;
  max-width: 580px;
}

.ta-footer-main {
  position: relative;
  background: #faf9f7 !important;
  background-image: none !important;
  display: grid;
  grid-template-columns: minmax(190px, 1.25fr) repeat(4, minmax(130px, 1fr));
  gap: 32px;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(24px, calc((100% - 1380px) / 2));
  padding-left: max(24px, calc((100% - 1380px) / 2));
  padding-top: 39px;
  padding-bottom: 36px;
  border-bottom: 0;
}

.ta-footer-main::after {
  position: absolute;
  right: max(24px, calc((100% - 1380px) / 2));
  bottom: 0;
  left: max(24px, calc((100% - 1380px) / 2));
  height: 1px;
  background: #ded9d2;
  content: "";
}

.ta-footer-brand__name {
  display: inline-block;
  color: #f26422 !important;
  font-family: 'TailorAura Lora', Georgia, serif;
  font-size: 37px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.ta-footer-brand p {
  max-width: 220px;
  margin: 16px 0 8px;
  color: #29252c !important;
  font-size: 13px;
  line-height: 1.5;
}

.ta-footer-brand__note {
  display: block;
  max-width: 220px;
  color: #6a6561 !important;
  font-size: 12px;
  line-height: 1.45;
}

.ta-footer-column h3 {
  margin: 0 0 15px;
  color: #29252c !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.ta-footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ta-footer-column a:not(.ta-footer-help-button) {
  color: #29252c !important;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.ta-footer-column a:not(.ta-footer-help-button):hover,
.ta-footer-column a:not(.ta-footer-help-button):focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-footer-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid #29252c;
  border-radius: 999px;
  color: #29252c;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.ta-footer-help-button:hover,
.ta-footer-help-button:focus-visible {
  background: #29252c;
  color: #ffffff;
}

.ta-footer-column small {
  display: block;
  margin-top: 10px;
  color: #6a6561 !important;
  font-size: 11px;
  line-height: 1.4;
}

.ta-macorner-footer .footer__content-bottom {
  padding: 0;
  background: #faf9f7 !important;
  background-image: none !important;
}

.ta-macorner-footer .footer__content-bottom-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  width: min(1380px, calc(100% - 48px));
  max-width: 1380px;
  min-height: 64px;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 0 12px;
}

.ta-macorner-footer .footer__localization {
  justify-self: start;
  min-width: 0;
}

.ta-macorner-footer .footer__localization form {
  justify-content: flex-start;
  gap: 8px 14px;
}

.ta-macorner-footer .footer__localization .dropdown-menu__button {
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #29252c;
  box-shadow: none;
  font-size: 12px;
}

.ta-macorner-footer .footer__column--info {
  justify-self: end;
  max-width: none;
  align-items: flex-end;
}

.ta-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 80px;
  min-height: 28px;
}

.ta-footer-social a {
  display: inline-flex;
  color: #29252c;
}

.ta-footer-social svg {
  width: 18px;
  height: 18px;
}

.ta-macorner-footer .footer__copyright {
  width: auto;
  margin: 0;
  padding: 0;
  color: #6a6561;
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.ta-macorner-footer .copyright__content,
.ta-macorner-footer .copyright__content a {
  color: inherit;
}

/* Keep footer body copy dark when the active SHOPLINE color scheme supplies a light text token. */
.ta-macorner-footer .ta-footer-newsletter p,
.ta-macorner-footer .ta-footer-newsletter .tips-card,
.ta-macorner-footer .ta-footer-main,
.ta-macorner-footer .ta-footer-main p,
.ta-macorner-footer .ta-footer-main a,
.ta-macorner-footer .ta-footer-main span,
.ta-macorner-footer .ta-footer-main small,
.ta-macorner-footer .ta-footer-main li,
.ta-macorner-footer .ta-footer-column h3,
.ta-macorner-footer .footer__content-bottom,
.ta-macorner-footer .footer__content-bottom-wrapper,
.ta-macorner-footer .footer__localization,
.ta-macorner-footer .footer__localization *,
.ta-macorner-footer .footer__copyright,
.ta-macorner-footer .footer__copyright *,
.ta-macorner-footer .copyright__content,
.ta-macorner-footer .copyright__content a {
  color: #29252c !important;
}

.ta-macorner-footer .ta-footer-newsletter__input,
.ta-macorner-footer .ta-footer-newsletter__input::placeholder {
  color: #29252c !important;
  opacity: 1;
}

.ta-macorner-footer .ta-footer-newsletter__button,
.ta-macorner-footer .ta-footer-newsletter__button:hover,
.ta-macorner-footer .ta-footer-newsletter__button:focus-visible,
.ta-macorner-footer .ta-footer-help-button:hover,
.ta-macorner-footer .ta-footer-help-button:focus-visible {
  color: #ffffff !important;
}

/* SHOPLINE can apply text-fill and opacity from the active color scheme after this section loads. */
.ta-macorner-footer .ta-footer-newsletter h2,
.ta-macorner-footer .ta-footer-newsletter p,
.ta-macorner-footer .ta-footer-newsletter .tips-card,
.ta-macorner-footer .ta-footer-brand__name,
.ta-macorner-footer .ta-footer-brand p,
.ta-macorner-footer .ta-footer-brand__note,
.ta-macorner-footer .ta-footer-column h3,
.ta-macorner-footer .ta-footer-column li,
.ta-macorner-footer .ta-footer-column li a,
.ta-macorner-footer .ta-footer-column li a span,
.ta-macorner-footer .ta-footer-column small,
.ta-macorner-footer .footer__localization button,
.ta-macorner-footer .footer__localization button span,
.ta-macorner-footer .footer__copyright,
.ta-macorner-footer .footer__copyright small,
.ta-macorner-footer .footer__copyright a {
  opacity: 1 !important;
  -webkit-text-fill-color: #29252c !important;
}

.ta-macorner-footer .ta-footer-newsletter h2 {
  color: #29252c !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.ta-macorner-footer .ta-footer-newsletter p {
  color: #29252c !important;
  font-size: 15px !important;
}

.ta-macorner-footer .ta-footer-newsletter__input {
  border: 1px solid #29252c !important;
  color: #29252c !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #29252c !important;
}

.ta-macorner-footer .ta-footer-newsletter__input::placeholder {
  color: #29252c !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #29252c !important;
}

.ta-macorner-footer .ta-footer-brand__name {
  color: #f26422 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #f26422 !important;
}

.ta-macorner-footer .ta-footer-help-button {
  color: #29252c !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #29252c !important;
}

.ta-macorner-footer .ta-footer-newsletter__button,
.ta-macorner-footer .ta-footer-newsletter__button:hover,
.ta-macorner-footer .ta-footer-newsletter__button:focus-visible,
.ta-macorner-footer .ta-footer-help-button:hover,
.ta-macorner-footer .ta-footer-help-button:focus-visible {
  color: #ffffff !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #ffffff !important;
}

@media (max-width: 959px) {
  .ta-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 30px 20px 28px;
  }

  .ta-footer-main::after {
    right: 20px;
    left: 20px;
  }

  .ta-footer-brand {
    grid-column: 1 / -1;
  }

  .ta-footer-brand p,
  .ta-footer-brand__note {
    max-width: 360px;
  }

  .ta-macorner-footer .footer__content-bottom-wrapper {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    width: 100%;
    max-width: none;
    padding: 0 20px;
  }
}

@media (max-width: 520px) {
  .ta-footer-newsletter {
    padding: 26px 14px 30px;
  }

  .ta-footer-newsletter h2 {
    font-size: 18px;
  }

  .ta-footer-newsletter p {
    max-width: 330px;
    margin-right: auto;
    margin-left: auto;
    font-size: 13px;
  }

  .ta-footer-newsletter__form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ta-footer-newsletter__button {
    width: 100%;
  }

  .ta-footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .ta-footer-brand__name {
    font-size: 32px;
  }

  .ta-macorner-footer .footer__content-bottom {
    padding-top: 12px;
  }

  .ta-macorner-footer .footer__content-bottom-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 14px 20px 18px;
  }

  .ta-macorner-footer .footer__localization {
    width: 100%;
    justify-self: start;
  }

  .ta-macorner-footer .footer__localization form {
    justify-content: flex-start;
  }

  .ta-macorner-footer .footer__column--info {
    justify-self: center;
    align-items: center;
  }

  .ta-macorner-footer .footer__copyright {
    width: 100%;
    text-align: center;
  }
}
