/* WIM 2026-09-23: CTA stays green in every interactive state. */
#modal-cart input.wim-checkout-cta[name="go_to_checkout"],
#modal-cart input.wim-checkout-cta[name="go_to_checkout"]:not(:disabled):hover,
#modal-cart input.wim-checkout-cta[name="go_to_checkout"]:not(:disabled):focus,
#modal-cart input.wim-checkout-cta[name="go_to_checkout"]:not(:disabled):active {
  background-color: #477a61 !important;
  border-color: #477a61 !important;
  color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
#modal-cart input.wim-checkout-cta[name="go_to_checkout"]:focus-visible {
  outline: 2px solid #5b483d !important;
  outline-offset: 3px;
}

.js-footer.wim-footer-ready {
  padding: 52px 0 26px;
  border-top: 1px solid #e3ddd6;
  background: #fff;
  color: #493b35;
  text-align: left;
}

.js-footer.wim-footer-ready > .container {
  width: min(1240px, calc(100% - 80px));
  max-width: 1240px;
  padding: 0;
}

.wim-footer-source-hidden {
  display: none !important;
}

.wim-footer-layout {
  display: grid;
  grid-template-columns: 1.25fr .9fr 1.1fr 1.25fr;
  gap: 38px 54px;
  align-items: start;
  font-family: Inter, Arial, sans-serif;
  text-align: left;
}

.wim-footer-layout a {
  color: #655851;
  text-decoration: none;
}

.wim-footer-layout a:hover {
  color: #493b35;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wim-footer-layout a:focus,
.wim-footer-layout input:focus,
.wim-footer-layout button:focus {
  outline: 2px solid #5b483d;
  outline-offset: 3px;
}

.wim-footer-brand-logo {
  display: block;
  width: 108px;
  max-height: 70px;
  margin: 0 0 16px;
  object-fit: contain;
  object-position: left center;
}

.wim-footer-wordmark {
  margin: 0 0 14px;
  color: #9c7c69;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .16em;
}

.wim-footer-tagline {
  max-width: 220px;
  margin: 0 0 18px;
  color: #74665f;
  font-size: 12px;
  line-height: 1.55;
}

.wim-footer-heading {
  margin: 1px 0 16px;
  color: #493b35;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.wim-footer-links,
.wim-footer-contact {
  display: grid;
  gap: 9px;
}

.wim-footer-links a,
.wim-footer-contact a {
  width: fit-content;
  font-size: 12px;
  line-height: 1.45;
}

.wim-footer-contact {
  margin-top: 16px;
}

.wim-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  margin-top: 18px;
  border: 1px solid #d8d0c8;
  border-radius: 50%;
}

.wim-footer-social svg {
  width: 15px;
  height: 15px;
}

.wim-footer-newsletter .newsletter,
.wim-footer-newsletter form,
.wim-footer-newsletter .input-append {
  width: 100%;
}

.wim-footer-newsletter .input-append {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #8c7b71;
}

.wim-footer-newsletter .form-group {
  flex: 1 1 auto;
}

.wim-footer-newsletter .form-control {
  width: 100%;
  height: 42px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: #493b35;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
}

.wim-footer-newsletter .newsletter-btn {
  width: auto;
  min-width: 52px;
  padding: 8px 4px 8px 12px;
  border: 0;
  background: transparent;
  color: #493b35;
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  text-decoration: none;
}

.wim-footer-newsletter-note {
  margin: 0 0 12px;
  color: #74665f;
  font-size: 12px;
  line-height: 1.5;
}

.wim-footer-trust,
.wim-footer-legal {
  grid-column: 1 / -1;
}

.wim-footer-trust {
  padding-top: 22px;
  border-top: 1px solid #e3ddd6;
}

.wim-footer-trust .footer-payments-shipping-logos {
  display: inline-flex !important;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 13px 0 0;
  vertical-align: top;
}

.wim-footer-trust .icon-logo {
  width: 34px;
  height: 21px;
  margin: 0 !important;
  object-fit: contain;
}

.wim-footer-trust > .mb-4 {
  margin: 0 !important;
}

.wim-footer-legal {
  padding-top: 17px;
  border-top: 1px solid #eee9e4;
  color: #8a7d75;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.wim-footer-legal .row,
.wim-footer-legal .col {
  margin: 0;
  padding: 0 !important;
  text-align: left !important;
}

.wim-footer-legal .custom-seal {
  margin: 0;
}

.wim-footer-legal .powered-by-logo {
  width: 96px;
  opacity: .7;
}

.wim-footer-legal .my-2 {
  margin: 0 !important;
}

@media (max-width: 900px) {
  .js-footer.wim-footer-ready {
    padding: 30px 0 16px;
  }

  .js-footer.wim-footer-ready > .container {
    width: calc(100% - 40px);
  }

  .wim-footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .wim-footer-brand,
  .wim-footer-newsletter,
  .wim-footer-trust,
  .wim-footer-legal {
    grid-column: 1 / -1;
  }

  .wim-footer-brand {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    align-items: start;
  }

  .wim-footer-brand-logo,
  .wim-footer-wordmark,
  .wim-footer-tagline {
    grid-column: 1;
  }

  .wim-footer-contact {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .wim-footer-social {
    grid-column: 1;
  }

  .wim-footer-brand-logo {
    width: 88px;
    max-height: 58px;
    margin-bottom: 10px;
  }

  .wim-footer-tagline {
    margin-bottom: 12px;
  }

  .wim-footer-contact,
  .wim-footer-links {
    gap: 6px;
  }

  .wim-footer-heading {
    margin-bottom: 9px;
  }

  .wim-footer-social {
    width: 29px;
    height: 29px;
    margin-top: 9px;
  }

  .wim-footer-newsletter-note {
    margin-bottom: 7px;
  }

  .wim-footer-trust {
    padding-top: 11px;
  }

  .wim-footer-trust .footer-payments-shipping-logos {
    gap: 4px;
    margin-right: 7px;
  }

  .wim-footer-trust .icon-logo {
    width: 27px;
    height: 17px;
  }

  .wim-footer-legal {
    padding-top: 10px;
  }

  .wim-footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .js-footer.wim-footer-ready > .container {
    width: calc(100% - 28px);
  }

  .wim-footer-layout {
    column-gap: 16px;
  }
}
