/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary);
  padding-top: var(--space-24);
}

.site-footer__shape {
  position: absolute;
  top: 293px;
  right: 0;
  width: 235px;
  height: auto;
  pointer-events: none;
}

/* ==========================================================================
   Footer — trust row
   ========================================================================== */
.footer-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-trust-list {
  &:not(.slick-slider) {
    display: flex;
    > li {
      width: 20%;
      &:not(:nth-child(-n + 5)) {
        display: none !important;
      }
    }
  }
}

.footer-trust-list .slick-track {
  display: flex;
  align-items: center;
}

.footer-trust-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  padding-inline: var(--space-12);
}

.footer-trust-item img {
  flex-shrink: 0;
}

.footer-trust-item span {
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--white);
  white-space: normal;
}

/* ==========================================================================
   Footer — columns
   ========================================================================== */
.footer-columns {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-40);
  margin-top: var(--space-24);
  padding-top: var(--space-80);
}

.footer-columns::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-col--about {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  width: 460px;
  flex-shrink: 0;
  padding-right: var(--space-40);
  margin-bottom: var(--space-60);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns__right {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding-left: 150px;
}

.footer-columns__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-40);
  margin-bottom: 65px;
}

.footer-logo {
  display: block;

  margin-bottom: var(--space-24);
}

.footer-address {
  font-size: 15px;
  color: #c7c9ca;
  text-align: center;
  max-width: 200px;
  margin: 0 0 var(--space-20);
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-24);
  margin-bottom: var(--space-20);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
}

.footer-contact-row .footer-contact:not(:first-child) {
  padding-left: var(--space-24);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact__label {
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--white);
}

.footer-contact__value {
  font-size: 15px;
  color: #c7c9ca;
  transition: var(--transition);
}

.footer-contact__value:hover {
  color: var(--primary);
}

.footer-col__title {
  position: relative;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-30);
}

.footer-col__title-icon {
  display: none;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  line-height: 1.2;
  margin-bottom: 15px;
}

.footer-links a {
  font-size: 15px;
  color: #c7c9ca;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:active,
.footer-links a.active {
  color: var(--primary);
}

.footer-col--newsletter {
  width: 283px;
  flex-shrink: 0;
}

.footer-col--newsletter p {
  font-size: 15px;
  line-height: 23px;
  color: #c7c9ca;
  margin: 0 0 var(--space-20);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.footer-newsletter-form input {
  height: 55px;
  padding-inline: var(--space-20);
  background-color: transparent;
  border: 1px solid #494e56;
  border-radius: var(--radius-md);
  font-size: 15px;
}

.footer-newsletter-form input::placeholder {
  color: #c7c9ca;
}

.woocommerce button.footer-newsletter-form__submit,
button.footer-newsletter-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  width: max-content;
  padding: 18px 30px;
  background-color: #494e56 !important;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--primary) !important;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.woocommerce button.footer-newsletter-form__submit:hover,
button.footer-newsletter-form__submit:hover {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.footer-newsletter-form__submit .btn-icon-arrow {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: currentColor;
  -webkit-mask-image: url("../images/svg/arrow-btn.svg");
  mask-image: url("../images/svg/arrow-btn.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ==========================================================================
   Footer — bottom row
   ========================================================================== */
.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-20);
  /* margin-top: var(--space-80); */
  padding-block: var(--space-30);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-hours {
  margin-bottom: var(--space-20);
}

.footer-hours strong {
  display: block;
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--space-8);
}

.footer-hours p {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  color: #c7c9ca;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  color: var(--white);
  white-space: nowrap;
}

.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.footer-payment-icons img {
  display: block;
  height: 32px;
  width: auto;
}

/* ==========================================================================
   Footer — copyright bar
   ========================================================================== */
.footer-copyright-bar {
  background-color: var(--white);
  padding-block: var(--space-20);
}

.footer-copyright-bar p {
  font-size: var(--fs-14);
  color: #333333;
  margin: 0;
  span {
    display: inline-block;
  }
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.footer-legal-links a {
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--primary);
}

.footer-legal-links span {
  color: #dbdbdb;
}

/* ==========================================================================
   Footer — scroll to top
   ========================================================================== */
.scrollTop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: var(--primary);
  border: none;
  border-radius: var(--radius-round);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.scrollTop.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scrollTop:hover {
  background-color: var(--secondary);
}

.scrollTop__chevron {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(45deg) translate(1px, 1px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1700px) {
  .footer-columns__right {
    flex: 1;
    padding-left: 50px;
    .footer-columns__row {
      gap: var(--space-20);
      .footer-col {
        width: 31.33%;
      }
    }
  }
}
@media (max-width: 1599.98px) {
  .footer-columns {
    gap: 0;
  }

  .footer-col--about {
    width: 410px;
  }

  .footer-bottom-row {
    margin-top: var(--space-60);
  }
  .footer-columns__right {
    & .footer-columns__row {
      .footer-col {
        width: 30.33%;
      }
    }
  }
}

@media (max-width: 1439.98px) {
  .footer-col--about {
    width: 360px;
  }
  .footer-columns {
    padding-top: var(--space-60);
  }
  .footer-bottom-row {
    margin-top: var(--space-40);
  }
  .footer-contact__value {
    font-size: 14px;
  }
  .footer-contact-row {
    gap: 10px;
  }
  .footer-trust-list {
    &:not(.slick-slider) {
      display: flex;
      > li {
        width: 25%;
        &:not(:nth-child(-n + 4)) {
          display: none !important;
        }
      }
    }
  }
}

@media (max-width: 1199.98px) {
  .footer-trust-item span {
    white-space: normal;
  }
  .footer-logo {
    max-width: 200px;
    object-fit: contain;
  }
  .footer-columns {
    gap: var(--space-30);
    padding-top: var(--space-40);
  }
  .footer-trust-item {
    gap: 10px;
  }
  .footer-col--about {
    width: 100%;
    flex: 1 1 100%;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-30);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 0;
    .footer-contact-row,
    .footer-address,
    .footer-logo,
    .footer-hours {
      margin-bottom: 0;
    }
  }
  .footer-col.footer-col--links {
    width: 20.33%;
  }
  .footer-col--newsletter,
  .footer-col.footer-col--collections {
    width: 33.33%;
  }

  .footer-newsletter-form__submit {
    width: 100%;
  }

  .footer-bottom-row {
    margin-top: var(--space-30);
  }
}

@media (max-width: 991px) {
  .footer-col--about {
    grid-template-columns: repeat(2, 1fr);
    .footer-logo,
    .footer-address {
      margin: 0 auto 0px;
    }
  }
  .footer-columns__right {
    padding-left: 0;
  }
  .footer-columns__row {
    margin-bottom: 40px;
  }
  .footer-trust-list {
    &:not(.slick-slider) {
      > li {
        width: 33.33%;
        &:not(:nth-child(-n + 3)) {
          display: none !important;
        }
      }
    }
  }
}
@media (max-width: 767.98px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    margin-top: var(--space-24);
  }
  .footer-col__title {
    margin-bottom: 20px;
  }
  .footer-copyright-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
  }
  .footer-columns__right {
    padding-left: 0;
    .footer-columns__row {
      .footer-col.footer-col--collections,
      .footer-col.footer-col--links {
        width: 48%;
      }
      .footer-col--newsletter {
        width: 100%;
      }
    }
  }
  .footer-columns__row {
    margin-bottom: 20px;
  }
  .footer-trust-list {
    &:not(.slick-slider) {
      > li {
        width: 33.33%;
        &:not(:nth-child(-n + 2)) {
          display: none !important;
        }
      }
    }
  }
}

@media (max-width: 576px) {
  .footer-col__title {
    cursor: pointer;
    padding-right: var(--space-24);
    margin-bottom: var(--space-16);
  }
  .footer-col--about {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
  .footer-col--about {
    .footer-logo,
    .footer-address {
      margin: 0 auto 0px;
    }
  }
  .footer-columns__right {
    & .footer-columns__row {
      .footer-col.footer-col--collections,
      .footer-col.footer-col--links {
        width: 100%;
      }
    }
  }
  .footer-copyright-bar {
    padding-block: var(--space-10);
  }
  .footer-columns {
    gap: 20px;
    padding-bottom: 0;
    padding-top: 30px;
  }
  .footer-contact-row .footer-contact:not(:first-child) {
    padding-left: 10px;
  }
  .footer-col.footer-col--links,
  .footer-col--newsletter,
  .footer-col.footer-col--collections {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .footer-col__title-icon {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    width: 9px;
    height: 9px;
    transform: translateY(-65%) rotate(45deg);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transition: var(--transition);
  }

  .footer-col__title.active .footer-col__title-icon {
    transform: translateY(-35%) rotate(225deg);
  }
  .footer-trust-list {
    &:not(.slick-slider) {
      > li {
        width: 100%;
        &:not(:nth-child(-n + 1)) {
          display: none !important;
        }
      }
    }
  }
  .footer-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .footer-col__title.active + .footer-links {
    max-height: 500px;
  }

  .footer-copyright-bar .container {
    align-items: center;
    text-align: center;
  }
  .footer-legal-links {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .scrollTop {
    display: none;
  }
  .footer-payments {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-bottom-row {
    justify-content: center;
    text-align: center;
    padding: 20px 0;
  }
}
