/* Site Footer — dark editorial (Footer 1 / Cotton) */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.bsp-footer--cotton {
  background: var(--bsp-ft-main-bg, #000000);
  color: var(--bsp-ft-text, #ffffff);
}

.bsp-footer__container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
}

/* Newsletter */
.bsp-footer__newsletter {
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
}

.bsp-footer__newsletter-title {
  margin: 0 0 clamp(28px, 4vw, 40px);
  color: var(--bsp-ft-title, #ffffff);
  font-family: var(--bsp-font-text, inherit);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.bsp-footer__newsletter-form,
.bsp-footer__newsletter-form-wrap form,
.bsp-footer__newsletter-form-wrap .mc4wp-form-fields,
.bsp-footer__newsletter-form-wrap .tnp-subscription,
.bsp-footer__newsletter-form-wrap .wp-block-search__inside-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.bsp-footer__newsletter-form-wrap {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.bsp-footer__newsletter-form-wrap .bsp-footer__widget-title,
.bsp-footer__newsletter-form-wrap label:not(.screen-reader-text) {
  display: none;
}

.bsp-footer__newsletter input[type="email"],
.bsp-footer__newsletter input[type="text"],
.bsp-footer__newsletter input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid var(--bsp-ft-input-border, #ffffff);
  border-radius: 0;
  background: transparent;
  color: var(--bsp-ft-title, #ffffff);
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  box-shadow: none;
}

.bsp-footer__newsletter input::placeholder {
  color: var(--bsp-ft-muted, #a3a3a3);
  opacity: 1;
}

.bsp-footer__newsletter button,
.bsp-footer__newsletter input[type="submit"],
.bsp-footer__newsletter .wp-block-search__button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 4px 10px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--bsp-ft-btn-text, #ffffff);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}

.bsp-footer__newsletter button:hover,
.bsp-footer__newsletter input[type="submit"]:hover,
.bsp-footer__newsletter .wp-block-search__button:hover {
  opacity: 0.75;
}

/* Menu columns */
.bsp-footer__main {
  padding: 0 0 clamp(40px, 6vw, 72px);
}

.bsp-footer__menus {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.bsp-footer__menu-block {
  min-width: 0;
}

.bsp-footer__widget {
  margin: 0;
}

.bsp-footer__widget-title {
  margin: 0 0 18px;
  color: var(--bsp-ft-title, #ffffff);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.bsp-footer__widget p {
  margin: 0 0 12px;
  color: var(--bsp-ft-text, #ffffff);
  font-size: 14px;
  line-height: 1.7;
}

.bsp-footer__widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bsp-footer__widget li {
  margin: 0;
}

.bsp-footer__widget a {
  color: var(--bsp-ft-text, #ffffff);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.bsp-footer__widget a:hover {
  opacity: 0.65;
}

.bsp-footer__placeholder {
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  color: var(--bsp-ft-muted, #a3a3a3);
  font-size: 13px;
}

/* Brand wordmark */
.bsp-footer__brand {
  padding: clamp(8px, 2vw, 16px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
}

.bsp-footer__brand-wordmark {
  display: inline-block;
  max-width: 100%;
  color: var(--bsp-ft-brand, #ffffff);
  font-family: var(--bsp-font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(2.75rem, 9.5vw, 7rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
}

.bsp-footer__brand-logo {
  display: inline-block;
  line-height: 0;
}

.bsp-footer__brand-logo img {
  display: block;
  max-width: min(420px, 70vw);
  max-height: 120px;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* Bottom bar */
.bsp-footer__bottom {
  border-top: 1px solid var(--bsp-ft-border, #2a2a2a);
  background: var(--bsp-ft-main-bg, #000000);
}

.bsp-footer__bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
  padding: 20px 0;
  min-height: 64px;
}

.bsp-footer__bottom-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-self: start;
}

.bsp-footer__currency {
  position: relative;
}

.bsp-footer__currency .bsp-mcx__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  background: transparent;
  color: var(--bsp-ft-title, #ffffff);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.bsp-footer__currency .bsp-mcx__trigger {
  gap: 6px;
  cursor: pointer;
}

.bsp-footer__currency .bsp-mcx__current,
.bsp-footer__currency .bsp-mcx__trigger {
  color: var(--bsp-ft-title, #ffffff);
}

.bsp-footer__currency .bsp-mcx__menu {
  top: auto;
  bottom: calc(100% + 10px);
  left: 0;
  right: auto;
  z-index: 30;
  background: #111111;
  border-color: #333333;
  color: #ffffff;
}

.bsp-footer__currency .bsp-mcx__option {
  color: #ffffff;
}

.bsp-footer__currency .bsp-mcx__option-label {
  color: #a3a3a3;
}

.bsp-footer__currency .bsp-mcx__option:hover,
.bsp-footer__currency .bsp-mcx__option.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.bsp-footer__copyright {
  margin: 0;
  color: var(--bsp-ft-bottom-text, #a3a3a3);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  justify-self: center;
}

.bsp-footer__bottom-end {
  justify-self: end;
}

.bsp-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.bsp-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 26px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  background: #ffffff;
  color: #111111;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.bsp-footer__payment-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 26px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  background: #ffffff;
}

.bsp-footer__payment-image img {
  display: block;
  max-width: 48px;
  max-height: 20px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 991px) {
  .bsp-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .bsp-footer__bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
    padding: 24px 0;
  }

  .bsp-footer__bottom-start,
  .bsp-footer__bottom-end,
  .bsp-footer__copyright {
    justify-self: center;
  }

  .bsp-footer__payments {
    justify-content: center;
  }

  .bsp-footer__brand-wordmark {
    font-size: clamp(2.75rem, 16vw, 5rem);
  }
}

@media (max-width: 575px) {
  .bsp-footer__menus {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .bsp-footer__newsletter-form,
  .bsp-footer__newsletter-form-wrap form,
  .bsp-footer__newsletter-form-wrap .mc4wp-form-fields,
  .bsp-footer__newsletter-form-wrap .tnp-subscription,
  .bsp-footer__newsletter-form-wrap .wp-block-search__inside-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .bsp-footer__newsletter button,
  .bsp-footer__newsletter input[type="submit"],
  .bsp-footer__newsletter .wp-block-search__button {
    width: 100%;
    border-bottom: 0;
    padding: 12px 0 0;
    text-align: center;
  }
}
