.footer {
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

.footer:not(.color-scheme-1) {
  border-top: none;
}

.footer__content-top {
  display: block;
}

@media screen and (max-width: 767px) {
  .footer .grid {
    display: block;
  }

  .footer-block.grid__item {
    padding: 0;
    /* margin: 4rem 0; */
    width: 100%;
  }

  .footer-block.grid__item:first-child {
    margin-top: 0;
  }

  .footer__content-top {
    padding-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .footer__content-top .grid {
    row-gap: 3.6rem;
    margin-bottom: 0;
  }
}

.footer__content-bottom {
  border-top: solid 0.1rem rgba(var(--color-foreground), 0.08);
  /* padding-top: 3rem; */
}

.footer__content-bottom:only-child {
  border-top: 0;
}

.footer__content-bottom-wrapper {
  display: flex;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .footer__content-bottom {
    flex-wrap: wrap;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    row-gap: 1.5rem;
  }

  .footer__content-bottom-wrapper {
    flex-wrap: wrap;
    row-gap: 1.5rem;
    justify-content: center;
  }

  .footer__content-bottom.scroll-trigger.animate--slide-in {
    animation: none;
    opacity: 1;
    transform: inherit;
  }
}

.footer__localization:empty + .footer__column--info {
  align-items: center;
}

@media screen and (max-width: 767px) {
  .footer__localization:empty + .footer__column {
    padding-top: 1.5rem;
  }
}

.footer__column {
  width: 100%;
  align-items: flex-end;
}

.footer__column--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (min-width: 768px) {
  .footer__column--info {
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
  }
}

.footer-block:only-child:last-child {
  text-align: center;
  max-width: 76rem;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .footer-block {
    display: block;
    margin-top: 0;
  }
}

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

.footer-block--newsletter {
  display: flex;
  align-items: flex-end;
  align-items: center;
  /* margin-top: 3rem; */
  padding-bottom: 3.6rem;
  margin-bottom: 3.6rem;
  gap: 4rem;
  border-bottom: 1px solid var(--senary-color);
}


.footer-block--newsletter:only-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .footer-block.footer-block--menu:only-child {
    text-align: left;
  }
}

@media screen and (min-width: 768px) {
  .footer-block--newsletter {
    flex-wrap: nowrap;
    justify-content: center;
  }
}
@media screen and (min-width: 990px) {
   .grid--4-col-tablet .grid__item.footer-block {
    width: max-content;
  }
}
@media screen and (min-width: 1200px) {
  .grid--4-col-tablet .grid__item.footer-block.footer-block--menu{
     padding-left: 50px;
  }
  .grid--4-col-tablet .grid__item.footer-block.footer-block--menu:first-child {
    padding-left: 0;
  }
}
.footer-block__heading_mobile,
.footer-block__heading {
  margin-bottom: 2rem;
  margin-top: 0;

  /* font-size: calc(var(--font-heading-scale) * 1.6rem); */
}

.footer-block--menu .footer-block__heading_mobile,
.footer-block--menu .footer-block__heading{
  opacity: .5;
  text-transform: uppercase;
  line-height: 1.8rem;
  font-weight: 700;
}
@media screen and (min-width: 990px) {
  /* .footer-block__heading {
    font-size: calc(var(--font-heading-scale) * 1.8rem);
  } */
}

.footer__list-social:empty,
.footer-block--newsletter:empty {
  display: none;
}

.footer__follow-on-shop {
  display: flex;
  text-align: center;
}

.footer__list-social.list-social:only-child {
  justify-content: center;
}

.footer-block__newsletter {
  text-align: center;
  flex-grow: 1;
}

.newsletter-form__field-wrapper {
  /* max-width: 36rem; */
  max-width: 511.14px;
}
@media screen and (max-width: 1200px) {
  .footer-block__newsletter:not(:only-child){
    margin-right: 0;
            width: 100%;
  }
}
@media screen and (min-width: 768px) {
  /* Pushes other components to the right of the flexbox */
  .footer-block__newsletter:not(:only-child) {
    text-align: left;
    margin-right: auto;
  }

  .footer-block__newsletter:not(:only-child) .footer__newsletter {
    justify-content: flex-start;
    margin: 0;
  }

  .footer-block__newsletter:not(:only-child) .newsletter-form__message--success {
    left: auto;
  }

  .footer__follow-on-shop {
    margin-bottom: 0.4rem;
  }
  /* Follow on shop is the first button but it has siblings*/
  .footer__follow-on-shop:first-child:not(:last-child) {
    justify-content: flex-start;
    margin-right: auto;
    text-align: left;
  }

  /*
    All three components are present, email, Follow on Shop, and social icons.
    Moves the FoS button next to the social icons so they appear grouped together
  */
  .footer__follow-on-shop:not(:first-child):not(:last-child) {
    justify-content: flex-end;
    text-align: right;
  }
}

@media screen and (max-width: 767px) {
  /*
    On a small screen we want all the items to be centered
    because they will be stacked.
   */
  .footer-block--newsletter {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    align-items: start;
    gap: 3rem;
  }

  .footer__list-social.list-social,
  .footer__follow-on-shop,
  .footer-block__newsletter {
    display: flex;
    justify-content: center;
  }

  .footer-block__newsletter {
    flex-direction: column;
  }
}



@media screen and (min-width: 768px) {
  .footer-block__newsletter + .footer__list-social {
    margin-top: 0;
    margin-left: auto;
  }
}

@media (max-width:767px){
  .footer-block__newsletter {
    align-items: start;
  }
}

.footer__localization {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 1rem 1rem 0;
}

.footer__localization:empty {
  display: none;
}

.footer__localization h2 {
  margin: 1rem 1rem 0.5rem;
  color: rgba(var(--color-foreground), 0.75);
}

@media screen and (min-width: 768px) {
  .footer__localization {
    padding: 0.4rem 0;
    justify-content: flex-start;
  }

  .footer__localization h2 {
    margin: 1rem 0 0;
  }
}

@media screen and (min-width: 768px) {
  .footer__payment {
    margin-top: 1.5rem;
  }
}

.footer__content-bottom-wrapper--center {
  justify-content: center;
}

.footer__copyright {
  text-align: center;
  margin-top: 1.6rem;
  color: var(--senary-color);
}

@media screen and (min-width: 768px) {
  .footer__content-bottom-wrapper:not(.footer__content-bottom-wrapper--center) .footer__copyright {
    text-align: right;
  }
}

@keyframes appear-down {
  0% {
    opacity: 0;
    margin-top: -1rem;
  }
  100% {
    opacity: 1;
    margin-top: 0;
  }
}

.footer-block__details-content {
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .footer-block__details-content {
    margin-bottom: 0;
  }

  .footer-block__details-content > p,
  .footer-block__details-content > li {
    padding: 0;
  }

  .footer-block:only-child li {
    display: inline;
  }

}

.footer-block__details-content .list-menu__item--link,
.copyright__content a {
  color: rgba(var(--color-foreground));
  transition: all .3s ease-in-out !important;
  text-decoration: none;
}

.footer-block__details-content .list-menu__item--active {
  transition: text-decoration-thickness var(--duration-short) ease;
  color: rgb(var(--color-foreground));
}

@media screen and (min-width: 768px) {
  .footer-block__details-content .list-menu__item--link:hover,
  .copyright__content a:hover {
    /* color: rgb(var(--color-foreground)); */
    color: var(--primary-color);
    /* text-decoration: underline; */
    /* text-underline-offset: 0.3rem; */
  }

  .footer-block__details-content .list-menu__item--active:hover {
    text-decoration-thickness: 0.2rem;
  }
}

@media screen and (max-width: 989px) {
  .footer-block__details-content .list-menu__item--link {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .footer-block__details-content .list-menu__item--link {
    display: inline-block;
    font-size: 1.6rem;
  }

  /* .footer-block__details-content > :first-child .list-menu__item--link {
    padding-top: 0;
  } */
}

.footer-block-image {
  display: flex;
}

.footer-block-image.left {
  justify-content: flex-start;
}

.footer-block-image.center {
  justify-content: center;
}

.footer-block-image.right {
  justify-content: flex-end;
}

@media screen and (max-width: 767px) {
  .footer-block-image,
  .footer-block-image.left,
  .footer-block-image.center,
  .footer-block-image.right {
    justify-content: center;
  }
}

.footer-block__image-wrapper {
  margin-bottom: 2rem;
  overflow: hidden !important;
}

.footer-block__image-wrapper img {
  display: block;
  height: auto;
  max-width: 100%;
}

.footer-block__brand-info {
  text-align: left;
}

.footer-block:only-child .footer-block__brand-info {
  text-align: center;
}

.footer-block:only-child > .footer-block__brand-info > .footer-block__image-wrapper {
  margin-left: auto;
  margin-right: auto;
}

.footer-block-image > img,
.footer-block__brand-info > img {
  height: auto;
}

.footer-block:only-child .footer-block__brand-info .footer__list-social.list-social {
  justify-content: center;
}

.footer-block__brand-info .footer__list-social.list-social {
  justify-content: flex-start;
}

.footer-block__details-content .placeholder-svg {
  max-width: 20rem;
}

/* .copyright__content {
  font-size: 1.1rem;
} */

.copyright__content a {
  color: currentColor;
  text-decoration: none;
}

.policies {
  display: inline;
}

.policies li {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.policies li::before {
  content: '\00B7';
  padding: 0 0.8rem;
}

.policies li a {
  padding: 0.6rem 0;
  display: block;
}

@media screen and (min-width: 768px) {
  .policies li a {
    padding: 0;
  }
}
@keyframes animateLocalization {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

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

/* check for flexbox gap in older Safari versions */
@supports not (inset: 10px) {
  @media screen and (max-width: 767px) {
    .footer .grid {
      margin-left: 0;
    }
  }

  @media screen and (min-width: 768px) {
    .footer__content-top .grid {
      margin-left: -3rem;
    }

    .footer__content-top .grid__item {
      padding-left: 3rem;
    }
  }
}



.footer_block-adress-with-menus{
  background-color: var(--septenary-color);
  padding: 4.8rem 6rem 6rem;
  border-radius: 1.2rem;
}
.footer-block__newsletter .footer-block__heading{
  margin-bottom: 0;
}
.footer-block__newsletter{
  display: flex;
  align-items: center;
  column-gap: 4rem;
  row-gap: 1rem;
  justify-content: space-between;
}
.footer__list-social label{
  color: rgba(var(--color-foreground));
  margin-right: 1.3rem;
  font-size: 18px;
}


.footer .list-social__link{
  padding:  0 .4rem;
}
.list-social__link:hover .icon {
  transform: scale(1.07);
}

/* .block__footer_adreess_botton{
  margin-top: 3.6rem;
} */
/* checkbox custom */
.block__footer_adreess_botton input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  visibility: hidden;
  display: none;
}

.block__footer_adreess_botton .check {
  position: relative;
  display: block;
  width: 32px;
  height: 18px;
  background-color: var(--primary-color);
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  transition: ease-in 0.5s;
}

.block__footer_adreess_botton input:checked[type="checkbox"] ~ .check {
  background-color: var(--primary-button-color);
}

.block__footer_adreess_botton .check:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  background-color: var(--septenary-color);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: all .3s ease-in-out;
}

.block__footer_adreess_botton input:checked[type="checkbox"] ~ .check:before {
  transform: translateX(-50px);
}

.block__footer_adreess_botton .check:after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--primary-color);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(50px);
  transition: all .3s ease-in-out ;

}
.block__footer_adreess_botton input:checked[type="checkbox"] ~ .check:after {
  transform: translateX(0px);
}
.block__footer_adreess_botton{
  display: flex;
    align-items: center;
    gap: 12px;
}
.block__footer_adreess_botton_label{
  font-weight: 700;
  opacity: 1;
}

.footer-block.grid__item.footer-block--checkbox{
  width: 100%;
}
.footer-block--text .footer-block__heading{
  margin-bottom: 2rem;
  /* color: rgba(var(--color-foreground)); */

}
.footer-block--text .footer-block__details-content{
  opacity: .7;
  font-size: 14px;
  line-height: 30px;
}
.footer-block--text .footer-block__details-content p a{
     filter: brightness(1.005);
}
.footer-block--text .footer-block__details-content .location-list{
  padding: 0;
}
.footer-block--text .footer-block__details-content .location-list li{
  display: flex;
  align-items: start;
  gap: 5px;
}
.footer-block--text .footer-block__details-content .location-list li .data a{
  color: inherit;
  text-decoration: none;
}
.footer-block--text .footer-block__details-content .location-list li .data p{
  margin: 0;
}
.footer__blocks-text-wrapper{
  column-gap: 0;
}
.footer__blocks-text-wrapper .footer-block--text {
  border:1px solid var(--senary-color);
  padding: 2.4rem 1.5rem;
  border-right: 0;
}
.footer__blocks-text-wrapper .footer-block--text:last-child{
  border-right: 1px solid var(--senary-color);
}
.footer__content-top .grid.footer__blocks-text-wrapper{
  row-gap: 0;
}

.footer_block-adress-with-menus.footer-checked-active{
  background-color: var(--selection-color) ;
  color: var(--primary-button-color);
}
.footer-checked-active .footer-block__details-content .list-menu__item--link, .footer_block-adress-with-menus.footer-checked-active .copyright__content a{
  color: var(--primary-button-color);
}
.footer-checked-active .footer-block__newsletter .footer-block__heading{
  color: var(--primary-button-color);
}
.footer-checked-active .newsletter-form__field-wrapper .field__input{
    background: #136f99;
  border: 1px solid var(--primary-button-color);
  color: var(--primary-button-color);
}
.footer-checked-active input.field__input::placeholder {
  color: var(--primary-button-color);
}
.footer-checked-active .footer__list-social label{
  color: var(--primary-button-color);
}
.footer-checked-active .list-social__item svg path{
  fill:var(--primary-button-color);
}
.footer-block--menu .footer-block__heading svg, .mobile__footer-block__heading {
  display: none;
}


.template_suffix_gift-card .footer{
  margin-top:30px;
}
@media screen and (min-width: 990px) {
  .footer-block--menu.shop .footer-block__details-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
  }
}
@media screen and (min-width: 1200px) {
  .footer-block--menu.shop .footer-block__details-content{
    column-gap: 50px;
  }
}
@media (max-width: 1599px) {
  .footer-block__newsletter .footer-block__heading{
    font-size: 34px;
  }
  .footer__list-social label {
    font-size: 16px;
  }
  .newsletter-form {
    max-width: 460px !important;
  }
}
@media (max-width: 1499px) {
  .footer-block__newsletter .footer-block__heading{
    font-size: 30px;
  }
}
@media (max-width: 1449px) {
  .footer-block__newsletter .footer-block__heading{
    font-size: 28px;
  }
  .footer-block--newsletter{
    gap: 1rem;
  }
  .footer__blocks-text-wrapper .footer-block--text {
      padding: 2rem 1rem 2rem 1.5rem;
  }
}
@media (max-width: 1199px) {
  .footer-block__newsletter{
    flex-direction: column;
    align-items: start;
    flex: 1;
  }
  /* .footer-block--text .footer-block__details-content .location-list li .data p br{
    display: none;
  } */
  .footer__blocks-text-wrapper .footer-block--text {
    width: 33.33%;
    max-width: 33.33%;
    padding: 2.4rem;
  }
  .footer__blocks-text-wrapper .footer-block--text:nth-child(3) {
     border-right: 1px solid var(--senary-color);
  }
}
@media (max-width: 989px) {
  .footer-block__newsletter:not(:only-child){
    /* width: 100%; */
    margin-right: 0;
  }
  .footer__content-top .grid{
    row-gap: 0;
  }
  .footer_block-adress-with-menus{
    padding: 3.2rem 2rem ;
  }
  .footer .list-social__link{
    padding: 0 .2rem;
  }
  .footer-block--menu .footer-block__heading svg , .mobile__footer-block__heading{
    display: block;
  }
   .footer_block-adress-with-menus .footer-block--menu .footer-block__heading_mobile,
 .footer_block-adress-with-menus .footer-block--menu .footer-block__heading , .footer-block__heading-main{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 2rem 1rem;
    opacity: 1;
    font-weight: 400;
    font-size: 16px;
 }

 .footer-block--menu .footer-block__details-content, .footer__blocks-text-wrapper {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all .4s ease;
    margin: 0;
  }
 .footer-block--menu.open .footer-block__details-content{
    height: auto;
    visibility: visible;
    padding: 0 1rem 0;
    /* padding-bottom: 20px; */
  }
   .footer__blocks-main.footer-block--text.open .footer__blocks-text-wrapper {
    height: auto;
    visibility: visible;
    /* padding-bottom: 20px; */
  }
  .footer_block-adress-with-menus .footer__blocks-wrapper .footer-block--menu {
    width: 100%;
  }
  .footer-block--newsletter{
    margin-bottom: 0;
  }
  .footer-block--menu.open .footer-block__heading_mobile svg,
  .footer-block--menu.open .footer-block__heading svg , .footer__blocks-main.footer-block--text.open .footer-block__heading-main svg{
    transform: rotate(180deg);
  }
  .footer-block--checkbox{
    display: none;
  }
  .footer_block-adress-with-menus .footer-block--menu:hover .footer-block__heading_mobile,
  .footer_block-adress-with-menus .footer-block--menu:hover .footer-block__heading , .footer__blocks-main.footer-block--text:hover .footer-block__heading-main{
    background-color:var(--senary-color) ;
  }
  /* .footer_block-adress-with-menus .footer-block--menu:hover .footer-block--menu{
    border-bottom: 0.5px solid;
    border-image-source: linear-gradient(89.93deg, #B4975A 0.06%, #FFFFFF 47%, #B4975A 94.95%);
  } */
  .footer_block-adress-with-menus .footer__blocks-wrapper .footer-block--menu:after , .footer__blocks-main.footer-block--text:after{
    content: "";
    display: block;
    border-width: .5px;
    border-style: solid;
    margin-top: 1px;
     border-color: rgba(var(--color-secondary-button-text), 1);
    border-top: 0;
    border-left: 0;
    border-right: 0;
}
  .footer_block-adress-with-menus .footer__blocks-wrapper .footer-block--menu:hover::after, .footer__blocks-main.footer-block--text:hover:after {
    content: "";
  display: block;
  /* border-image-source: linear-gradient(89.93deg, #B4975A 0.06%, #FFFFFF 47%, #B4975A 94.95%); */
  border-image: linear-gradient(to right, #b4975a .06%, #fff 47%, #b4975a 94.95%) .5;
  border-width: .5px;
  border-style: solid;
  margin-top: 1px;
  border-top: 0;
    border-left: 0;
    border-right: 0;
  }
  .footer__blocks-text-wrapper .footer-block--text{
    border-right: 1px solid var(--senary-color);
    border-bottom: 0;
    padding: 2rem;
  }
  .footer__blocks-text-wrapper .footer-block--text:last-child{
    border-bottom: 1px solid var(--senary-color);
  }
  .footer-block__details-content{
    margin-bottom: 0;
  }
  .footer__blocks-wrapper.grid{
    margin-bottom: 0;
  }
  .footer-block--text .footer-block__details-content .location-list li .data p br {
    display: inherit;
  }
   .footer__blocks-text-wrapper .footer-block--text {
    width: 50%;
    max-width: 50%;
  }
  .footer__blocks-text-wrapper .footer-block--text:nth-child(4) {
     border-bottom: 1px solid var(--senary-color);
  }
}
@media (max-width: 767px) {
 .footer__blocks-text-wrapper .footer-block--text {
    width: 100%;
    max-width: 100%;
  }
  .footer__blocks-text-wrapper .footer-block--text:nth-child(4) {
     border-bottom: none;
  }
}
@media (max-width: 767px) {
  .footer-block__heading.small-hide{
   display: none !important;
  }
}
@media (max-width: 768px) {
.footer-block__newsletter .footer-block__heading{
      text-align: left;
      justify-content: flex-start;
      width: 100%;
}
}
.footer  .list-social__item .svg-wrapper{
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 576px) {
  .footer-block__newsletter .footer-block__heading{
    font-size: 24px;
  }
  .footer__list-social label {
    font-size: 14px;
  }
  .footer-block--newsletter{
    gap:2rem;
  }
  .footer .list-social__item .svg-wrapper {
    width: 20px;
    height: 20px;
  }
  .footer__copyright .copyright__content{
   font-size: 10px;
  }
}
@media screen and (max-width: 450px) {

  .footer__list-social.list-social,
  .footer__follow-on-shop,
  .footer-block__newsletter {
    justify-content: space-between;
  }
}
@media (max-width: 380px) {
  .footer  .list-social__item .svg-wrapper{
  width: 20px;
  height: 20px;
}
}

@media (max-width: 360px) {
  .footer  .list-social__item .svg-wrapper{
  width: 17px;
  height: 17px;
}
}
