/*
 * Footer 7 — Warm Care Studio pet shop footer.
 * Scope: .bsp-f7 / .bsp-footer--footer-7 (vars injected via huda_pro_footer_7_css_vars).
 */

.bsp-f7,
.bsp-footer--footer-7 {
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--bsp-f7-body-text, #f7f3ee);
}

.bsp-f7__container {
  width: min(calc(100% - 32px), 1600px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
}

/* ============================= Newsletter band ============================ */

.bsp-f7__newsletter {
  position: relative;
  background: var(--bsp-f7-nl-bg, #3d6b5a);
  padding: clamp(40px, 5vw, 56px) 0;
  overflow: hidden;
}

.bsp-f7__newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='160' viewBox='0 0 200 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.07'%3E%3Cpath d='M24 28c8-6 18-4 22 4 4-8 16-10 24-2s8 18-2 26c-10 8-28 14-28 14s-18-6-28-14c-10-8-8-22 2-28z'/%3E%3Ccircle cx='148' cy='36' r='10'/%3E%3Cpath d='M36 112h28l6 24H42z'/%3E%3Cpath d='M120 96h44l-8 36h-28z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 200px 160px;
  pointer-events: none;
}

.bsp-f7__newsletter-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
}

.bsp-f7__newsletter-copy {
  flex: 1 1 320px;
  max-width: 540px;
}

.bsp-f7__newsletter-title {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--bsp-f7-nl-text, #ffffff);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bsp-f7__newsletter-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247, 243, 238, 0.88);
}

.bsp-f7__newsletter-text .bsp-f7-highlight {
  color: var(--bsp-f7-nl-highlight, #e07a5f);
  font-weight: 700;
}

.bsp-f7__newsletter-form-wrap {
  flex: 1 1 380px;
  max-width: 520px;
}

.bsp-f7__newsletter-form {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(44, 42, 41, 0.18);
}

.bsp-f7__newsletter-form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 18px;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: #2c2a29;
}

.bsp-f7__newsletter-form input[type="email"]::placeholder {
  color: #9a9288;
}

.bsp-f7__newsletter-form button {
  flex-shrink: 0;
  padding: 0 26px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--bsp-f7-nl-btn-text, #ffffff);
  background: var(--bsp-f7-nl-btn-bg, #e07a5f);
  transition: background 0.2s ease;
}

.bsp-f7__newsletter-form button:hover {
  background: var(--bsp-f7-nl-btn-hover-bg, #c96a52);
}

/* ============================= Contact strip ============================== */

.bsp-f7__contact {
  background: var(--bsp-f7-contact-bg, #353230);
  border-bottom: 1px solid var(--bsp-f7-border, #4a4744);
  padding: 28px 0;
}

.bsp-f7__contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.bsp-f7__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bsp-f7__contact-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bsp-f7-accent, #e07a5f);
  font-size: 16px;
}

.bsp-f7__contact-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bsp-f7__contact-label {
  color: var(--bsp-f7-muted, #b8b0a6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bsp-f7__contact-value {
  color: var(--bsp-f7-body-text, #f7f3ee);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

a.bsp-f7__contact-value:hover {
  color: var(--bsp-f7-accent, #e07a5f);
}

/* ============================= Link columns ============================== */

.bsp-f7__links {
  background: var(--bsp-f7-body-bg, #2c2a29);
  padding: 52px 0 44px;
}

.bsp-f7__links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.bsp-f7__links-col .bsp-footer__widget {
  margin: 0 0 18px;
}

.bsp-f7__links-col .bsp-footer__widget-title,
.bsp-f7__links-placeholder .bsp-footer__widget-title,
.bsp-f7__links-col h1,
.bsp-f7__links-col h2,
.bsp-f7__links-col h3,
.bsp-f7__links-col h4,
.bsp-f7__links-col h5,
.bsp-f7__links-col h6 {
  margin: 0 0 18px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--bsp-f7-links-title, #f7f3ee);
  letter-spacing: 0;
  line-height: 1.3;
}

.bsp-f7__links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bsp-f7__links-col ul li {
  margin: 0;
  padding: 0;
}

.bsp-f7__links-col a {
  font-size: 14px;
  color: var(--bsp-f7-links-link, #b8b0a6);
  text-decoration: none;
  transition: color 0.15s ease;
}

.bsp-f7__links-col a:hover {
  color: var(--bsp-f7-links-link-hover, #e07a5f);
}

.bsp-f7__links-col p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--bsp-f7-links-link, #b8b0a6);
  line-height: 1.6;
}

.bsp-f7__links-placeholder p {
  font-size: 13px;
}

/* ============================= Bottom area =============================== */

.bsp-f7__bottom {
  background: var(--bsp-f7-body-bg, #2c2a29);
  border-top: 1px solid var(--bsp-f7-border, #4a4744);
  padding: 36px 0 32px;
}

.bsp-f7__brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.bsp-f7__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bsp-f7__brand img {
  max-height: 42px;
  width: auto;
  display: block;
}

.bsp-f7__brand-wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--bsp-f7-brand-text, #f7f3ee);
  letter-spacing: -0.02em;
}

.bsp-f7__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bsp-f7__social {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bsp-f7-social-bg, #4a4744);
  color: var(--bsp-f7-social-icon, #f7f3ee);
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bsp-f7__social:hover {
  background: var(--bsp-f7-social-hover-bg, #e07a5f);
  transform: translateY(-2px);
}

/* ============================= Tag links ================================ */

.bsp-f7__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 24px;
  text-align: center;
}

.bsp-f7__tags-sep {
  color: var(--bsp-f7-border, #4a4744);
  font-size: 12px;
  user-select: none;
}

.bsp-f7__tag {
  color: var(--bsp-f7-tag-link, #b8b0a6);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bsp-f7__tag:hover {
  color: var(--bsp-f7-accent, #e07a5f);
}

/* ============================= Legal + payments ========================= */

.bsp-f7__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--bsp-f7-border, #4a4744);
}

.bsp-f7__copyright {
  margin: 0;
  font-size: 13px;
  color: var(--bsp-f7-copyright, #b8b0a6);
  line-height: 1.5;
}

.bsp-f7__payments .bsp-footer__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bsp-f7__payments .bsp-footer__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--bsp-f7-body-text, #f7f3ee);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.bsp-f7__payments .bsp-footer__payment-image img {
  display: block;
  height: 28px;
  width: auto;
  border-radius: 4px;
}

/* ============================= Responsive ================================ */

@media (max-width: 992px) {
  .bsp-f7__contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsp-f7__links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .bsp-f7__newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .bsp-f7__newsletter-form-wrap {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .bsp-f7__contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bsp-f7__links-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bsp-f7__brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bsp-f7__legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bsp-f7__newsletter-form {
    flex-direction: column;
    border-radius: 16px;
  }

  .bsp-f7__newsletter-form button {
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .bsp-f7__tags {
    gap: 4px 8px;
  }

  .bsp-f7__tags-sep {
    display: none;
  }

  .bsp-f7__tag {
    padding: 4px 0;
  }
}

/* Homepage 7 playful pet-market footer */
.bsp-footer--footer-7 {
  position: relative;
  overflow: hidden;
  background: var(--bsp-f7-body-bg);
}

.bsp-footer--footer-7 .bsp-f7__newsletter {
  padding: 52px 0;
  background:
    radial-gradient(circle at 88% 22%, rgba(255,255,255,.1) 0 78px, transparent 79px),
    radial-gradient(circle at 8% 75%, rgba(255,184,77,.16) 0 45px, transparent 46px),
    var(--bsp-f7-nl-bg);
}

.bsp-footer--footer-7 .bsp-f7__newsletter::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='130' viewBox='0 0 160 130'%3E%3Cg fill='%23ffffff' opacity='.055'%3E%3Ccircle cx='26' cy='29' r='7'/%3E%3Ccircle cx='48' cy='18' r='7'/%3E%3Ccircle cx='70' cy='29' r='7'/%3E%3Cpath d='M48 35c16 0 27 17 19 30-6 10-14 13-19 13s-13-3-19-13c-8-13 3-30 19-30z'/%3E%3C/g%3E%3C/svg%3E");
}

.bsp-footer--footer-7 .bsp-f7__newsletter-title {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 39px);
  font-weight: 900;
  letter-spacing: -.045em;
}

.bsp-footer--footer-7 .bsp-f7__newsletter-text .bsp-f7-highlight {
  color: var(--bsp-f7-nl-highlight);
}

.bsp-footer--footer-7 .bsp-f7__newsletter-form {
  padding: 5px;
  border-radius: 999px;
}

.bsp-footer--footer-7 .bsp-f7__newsletter-form input[type="email"] {
  padding-left: 21px;
}

.bsp-footer--footer-7 .bsp-f7__newsletter-form button {
  min-width: 128px;
  border-radius: 999px;
}

.bsp-footer--footer-7 .bsp-f7__contact {
  padding: 24px 0;
  background: var(--bsp-f7-contact-bg);
}

.bsp-footer--footer-7 .bsp-f7__contact-icon {
  border-radius: 50%;
  color: #fff;
  background: var(--bsp-f7-accent);
}

.bsp-footer--footer-7 .bsp-f7__links {
  position: relative;
  padding-top: 62px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.035) 0 4px, transparent 5px),
    var(--bsp-f7-body-bg);
  background-size: 90px 90px, auto;
}

.bsp-footer--footer-7 .bsp-footer__widget-title {
  position: relative;
  padding-bottom: 13px;
  font-size: 16px;
  font-weight: 900;
}

.bsp-footer--footer-7 .bsp-footer__widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--bsp-f7-accent);
}

.bsp-footer--footer-7 .bsp-f7__links-col a:hover {
  padding-left: 5px;
}

.bsp-footer--footer-7 .bsp-f7__brand-wordmark {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -.045em;
}

.bsp-footer--footer-7 .bsp-f7__brand-wordmark::before {
  content: "\f1b0";
  margin-right: 9px;
  color: var(--bsp-f7-accent);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.bsp-footer--footer-7 .bsp-f7__social {
  border-radius: 50%;
}

.bsp-footer--footer-7 .bsp-f7__bottom {
  background: var(--bsp-f7-body-bg);
}

@media (max-width: 680px) {
  .bsp-footer--footer-7 .bsp-f7__newsletter-form {
    padding: 5px;
    border-radius: 16px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-form button {
    border-radius: 11px;
  }
}

/* Final tablet/mobile layout */
@media (max-width: 992px) {
  .bsp-footer--footer-7 .bsp-f7__newsletter-inner {
    gap: 26px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-copy,
  .bsp-footer--footer-7 .bsp-f7__newsletter-form-wrap {
    flex: 0 1 auto;
    width: 100%;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-copy {
    max-width: 620px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-form-wrap {
    max-width: 620px;
  }

  .bsp-footer--footer-7 .bsp-f7__contact-grid,
  .bsp-footer--footer-7 .bsp-f7__links-grid {
    gap: 24px 20px;
  }
}

@media (max-width: 767px) {
  .bsp-footer--footer-7 .bsp-f7__container {
    padding-inline: 12px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter {
    padding: 42px 0;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-inner {
    gap: 22px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-title {
    margin-bottom: 8px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.1;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-text {
    font-size: 14px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-form {
    gap: 5px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-form input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
  }

  .bsp-footer--footer-7 .bsp-f7__newsletter-form button {
    width: 100%;
    min-height: 46px;
  }

  .bsp-footer--footer-7 .bsp-f7__contact {
    padding: 28px 0;
  }

  .bsp-footer--footer-7 .bsp-f7__contact-item {
    align-items: center;
    padding: 14px;
    border: 1px solid var(--bsp-f7-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
  }

  .bsp-footer--footer-7 .bsp-f7__links {
    padding: 42px 0 34px;
  }

  .bsp-footer--footer-7 .bsp-f7__links-col {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bsp-f7-border);
  }

  .bsp-footer--footer-7 .bsp-f7__links-col:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .bsp-footer--footer-7 .bsp-f7__bottom {
    padding: 30px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  }

  .bsp-footer--footer-7 .bsp-f7__brand-row {
    margin-bottom: 20px;
  }

  .bsp-footer--footer-7 .bsp-f7__tags {
    gap: 8px;
  }

  .bsp-footer--footer-7 .bsp-f7__tag {
    padding: 7px 10px;
    border: 1px solid var(--bsp-f7-border);
    border-radius: 999px;
  }

  .bsp-footer--footer-7 .bsp-f7__payments .bsp-footer__payments {
    justify-content: center;
  }
}
