/* Footer 5 — light jewelry footer */

.bsp-footer--footer-5 {
  --bsp-container: 1600px;
  --bsp-ft5-bg: #f4f8f7;
  --bsp-ft5-title: #2c2c2c;
  --bsp-ft5-text: #6b6b6b;
  --bsp-ft5-muted: #8a8a8a;
  --bsp-ft5-border: #e4ebea;
  --bsp-ft5-input-bg: #ffffff;
  --bsp-ft5-btn-bg: #007e7e;
  --bsp-ft5-btn-text: #ffffff;
  --bsp-ft5-social-bg: #ffffff;
  --bsp-ft5-social-icon: #333333;
  --bsp-ft5-nl-bg: #ffffff;
  --bsp-ft5-nl-title: #1a1a1a;
  --bsp-ft5-nl-text: #777777;
  --bsp-ft5-nl-input-border: #1a1a1a;
  --bsp-ft5-nl-btn-bg: #1a1a1a;
  --bsp-ft5-nl-btn-text: #ffffff;
  --bsp-ft5-font-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --bsp-ft5-font-sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bsp-ft5-bg);
  color: var(--bsp-ft5-text);
  font-family: var(--bsp-ft5-font-sans);
}

.bsp-ft5__container {
  width: min(100% - 40px, var(--bsp-container, 1600px));
  margin: 0 auto;
}

/* Newsletter band — above columns */
.bsp-ft5__newsletter {
  background: var(--bsp-ft5-nl-bg);
  padding: clamp(48px, 6vw, 72px) 0;
}

.bsp-ft5__newsletter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
}

.bsp-ft5__newsletter-title {
  margin: 0 0 10px;
  color: var(--bsp-ft5-nl-title);
  font-family: var(--bsp-ft5-font-sans);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.bsp-ft5__newsletter-text {
  margin: 0 0 28px;
  color: var(--bsp-ft5-nl-text);
  font-size: 15px;
  line-height: 1.5;
}

.bsp-ft5__newsletter-form-wrap {
  width: 100%;
  max-width: 520px;
}

.bsp-ft5__newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: stretch;
  width: 100%;
}

.bsp-ft5__newsletter-form input[type="email"] {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--bsp-ft5-nl-input-border);
  border-radius: 0;
  background: #fff;
  color: var(--bsp-ft5-nl-title);
  font-family: var(--bsp-ft5-font-sans);
  font-size: 14px;
  box-sizing: border-box;
}

.bsp-ft5__newsletter-form input[type="email"]::placeholder {
  color: #a0a0a0;
}

.bsp-ft5__newsletter-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--bsp-ft5-nl-btn-bg);
  color: var(--bsp-ft5-nl-btn-text);
  font-family: var(--bsp-ft5-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.bsp-ft5__newsletter-form button:hover {
  filter: brightness(1.15);
}

.bsp-ft5__main {
  padding: clamp(56px, 7vw, 88px) 0 clamp(40px, 5vw, 64px);
}

.bsp-ft5__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.bsp-ft5__title,
.bsp-ft5__widget .bsp-footer__widget-title,
.bsp-ft5__widget .widget-title,
.bsp-ft5__widget h2,
.bsp-ft5__widget h3 {
  margin: 0 0 22px;
  color: var(--bsp-ft5-title);
  font-family: var(--bsp-ft5-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.bsp-ft5__widget .bsp-footer__widget,
.bsp-ft5__widget .widget {
  margin: 0;
}

.bsp-ft5__widget p {
  margin: 0 0 14px;
  color: var(--bsp-ft5-text);
  font-size: 14px;
  line-height: 1.7;
}

.bsp-ft5__widget p:last-child {
  margin-bottom: 0;
}

.bsp-ft5__menu,
.bsp-ft5__widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.bsp-ft5__menu a,
.bsp-ft5__widget a {
  color: var(--bsp-ft5-text);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.bsp-ft5__menu a:hover,
.bsp-ft5__widget a:hover {
  color: var(--bsp-ft5-title);
}

.bsp-ft5__placeholder {
  margin: 0;
  color: var(--bsp-ft5-muted);
  font-size: 13px;
}

/* Newsletter / form widgets in a footer column */
.bsp-ft5__widget input[type="email"],
.bsp-ft5__widget input[type="text"] {
  width: 100%;
  height: 46px;
  margin: 0 0 12px;
  padding: 0 14px;
  border: 1px solid var(--bsp-ft5-border);
  background: var(--bsp-ft5-input-bg);
  color: var(--bsp-ft5-title);
  font-size: 14px;
  box-sizing: border-box;
}

.bsp-ft5__widget input::placeholder {
  color: var(--bsp-ft5-muted);
}

.bsp-ft5__widget button,
.bsp-ft5__widget input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 148px;
  height: 42px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--bsp-ft5-btn-bg);
  color: var(--bsp-ft5-btn-text);
  font-family: var(--bsp-ft5-font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.bsp-ft5__widget button:hover,
.bsp-ft5__widget input[type="submit"]:hover {
  filter: brightness(0.95);
}

.bsp-ft5__bottom {
  padding: 0 0 clamp(28px, 4vw, 40px);
}

.bsp-ft5__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--bsp-ft5-border);
}

.bsp-ft5__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bsp-ft5__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--bsp-ft5-border);
  border-radius: 50%;
  background: var(--bsp-ft5-social-bg);
  color: var(--bsp-ft5-social-icon);
  text-decoration: none;
  font-size: 13px;
}

.bsp-ft5__social:hover {
  color: var(--bsp-ft5-btn-bg);
}

.bsp-ft5__copyright {
  margin: 0;
  color: var(--bsp-ft5-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.bsp-ft5__payments {
  justify-self: end;
}

.bsp-ft5__payments .bsp-footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.bsp-ft5__payments .bsp-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--bsp-ft5-border);
  border-radius: 3px;
  background: #fff;
  color: var(--bsp-ft5-title);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bsp-ft5__payments .bsp-footer__payment-image img {
  display: block;
  max-height: 28px;
  width: auto;
}

@media (max-width: 1100px) {
  .bsp-ft5__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .bsp-ft5__container {
    width: min(100% - 24px, var(--bsp-container, 1600px));
  }

  .bsp-ft5__newsletter-form {
    grid-template-columns: 1fr;
  }

  .bsp-ft5__newsletter-form button {
    width: 100%;
  }

  .bsp-ft5__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bsp-ft5__bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bsp-ft5__socials,
  .bsp-ft5__payments {
    justify-self: center;
  }

  .bsp-ft5__payments .bsp-footer__payments {
    justify-content: center;
  }

  .bsp-ft5__widget button,
  .bsp-ft5__widget input[type="submit"] {
    width: 100%;
  }
}
