.primary-footer__lower .footer-logo-wrapper {
  max-width: 250px;
  width: 100%;
  box-shadow: none !important;
  position: relative;
}

.primary-footer__lower .footer-logo-wrapper::after {
  display: none !important;
}

.primary-footer__lower .footer-logo-wrapper::before {
  content: "";
  display: block;
  padding-top: 46.94444444444444%;
  background: none !important;
}

.primary-footer__lower .footer-logo-wrapper .responsive-image__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 117.36px;
  object-fit: contain;
}

.primary-footer__lower .footer-navigation ul.flex {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.primary-footer__lower .footer-navigation a {
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.primary-footer__lower .footer-navigation a:hover,
.primary-footer__lower .footer-navigation a:focus {
  opacity: 0.8;
  text-decoration: underline;
}

.primary-footer__lower .footer-navigation .section-title {
  margin-bottom: 1.25rem;
}

/* Newsletter form layout (visual match for Klaviyo pill form; styles live in footer.css, not bundle.css) */
.primary-footer .footer-newsletter-form {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  overflow: visible;
  padding: 10px 5px;
}

.primary-footer .footer-newsletter-form__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.primary-footer .footer-newsletter-form__input-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-footer .footer-newsletter-form__button-wrap {
  flex: 0 0 auto;
}

.primary-footer .footer-newsletter-form input[type="email"] {
  background-color: #fff;
  border: none !important;
  border-bottom-left-radius: 100px !important;
  border-top-left-radius: 100px !important;
  border-bottom-right-radius: 0 !important;
  border-top-right-radius: 0 !important;
  color: #212529;
  font-size: 1rem;
  height: 100% !important;
  outline: none;
  padding-left: 1.25rem;
  padding-right: 3rem !important;
  text-align: start;
  width: 100%;
}

.primary-footer .footer-newsletter-form input[type="email"]::placeholder {
  color: #9e9e9e;
}

.primary-footer .footer-newsletter-form .klaviyo-form-button {
  background-color: #df9d3e !important;
  border: none !important;
  border-radius: 100px !important;
  color: #fff !important;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  line-height: 2 !important;
  margin-left: -2rem;
  padding: 0.5rem 2rem !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-footer .footer-newsletter-form .klaviyo-form-button:hover,
.primary-footer .footer-newsletter-form .klaviyo-form-button:focus {
  background-color: #c8892f !important;
  color: #fff !important;
}

/* Arabic / RTL */
html[dir="rtl"] .primary-footer .footer-newsletter-form__row,
body.rtl .primary-footer .footer-newsletter-form__row,
.primary-footer .footer-newsletter-form.is-rtl .footer-newsletter-form__row {
  flex-direction: row-reverse;
}

html[dir="rtl"] .primary-footer .footer-newsletter-form input[type="email"],
body.rtl .primary-footer .footer-newsletter-form input[type="email"],
.primary-footer .footer-newsletter-form.is-rtl input[type="email"] {
  border-bottom-left-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-right-radius: 100px !important;
  border-top-right-radius: 100px !important;
  padding-left: 3rem !important;
  padding-right: 1.25rem !important;
  text-align: left;
}

html[dir="rtl"] .primary-footer .footer-newsletter-form .klaviyo-form-button,
body.rtl .primary-footer .footer-newsletter-form .klaviyo-form-button,
.primary-footer .footer-newsletter-form.is-rtl .klaviyo-form-button {
  margin-left: 0;
  margin-right: -2rem;
  text-transform: none;
}

html[dir="rtl"] .primary-footer__extended .section-title,
body.rtl .primary-footer__extended .section-title {
  letter-spacing: 0;
}

@media (max-width: 575px) {
  .primary-footer .footer-newsletter-form {
    max-width: 100%;
  }
}

/* Payment / shipping icons + licenses */
.primary-footer__lower .footer-checkout-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-footer__lower .footer-payment-methods {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.primary-footer__lower .footer-payment-methods__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.primary-footer__lower .footer-payment-methods__link:hover,
.primary-footer__lower .footer-payment-methods__link:focus {
  opacity: 0.8;
}

.primary-footer__lower .footer-payment-methods__icon {
  display: block;
  height: 28px;
  width: 28px;
  object-fit: contain;
}

.primary-footer__lower .footer-licenses {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: none;
  width: auto;
}

.primary-footer__lower .footer-license-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

a.footer-license-item:hover,
a.footer-license-item:focus {
  opacity: 0.85;
}

.primary-footer__lower .footer-license-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.primary-footer__lower .footer-license-item__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  line-height: 1.15;
  min-width: 0;
}

.primary-footer__lower .footer-license-item__label {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.75;
  letter-spacing: 0.01em;
}

.primary-footer__lower .footer-license-item__value {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

html[dir="rtl"] .primary-footer__lower .footer-license-item__label,
body.rtl .primary-footer__lower .footer-license-item__label {
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .primary-footer__lower .footer-checkout-bar {
    flex-wrap: wrap;
  }

  .primary-footer__lower .footer-payment-methods {
    flex: 1 1 100%;
    justify-content: center;
  }

  .primary-footer__lower .footer-licenses {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .primary-footer__lower .footer-licenses {
    gap: 10px;
  }

  .primary-footer__lower .footer-license-item {
    gap: 5px;
  }

  .primary-footer__lower .footer-license-item__icon {
    width: 20px;
    height: 20px;
  }

  .primary-footer__lower .footer-license-item__label {
    font-size: 9px;
  }

  .primary-footer__lower .footer-license-item__value {
    font-size: 10px;
  }

  .primary-footer__lower .footer-payment-methods__icon {
    height: 26px;
    width: 26px;
  }
}
