/* Home section «Подвал» — contacts from StoreSettings / manage contacts */

.velora-home-footer {
  --velora-footer-text: var(--color-text, var(--velora-color-text, #111));
  --velora-footer-muted: var(--color-muted, #6b7280);
  --velora-footer-icon-bg: var(--color-button-bg, #111111);
  --velora-footer-icon-fg: var(--color-button-text, #ffffff);
  position: relative;
  color: var(--velora-footer-text);
  background: transparent;
  padding: 3rem 0 2rem;
  font-family: var(--font-body, var(--velora-font-body, inherit));
  font-size: var(--font-size-base, 1rem);
}

.velora-home-footer--draft-hidden {
  opacity: 0.45;
}

.velora-home-footer__draft-badge {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 3;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.velora-home-footer__inner {
  position: relative;
  z-index: 2;
}

.velora-home-footer__title {
  margin: 0 0 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.velora-design-active .velora-home-footer__title.velora-design-editable,
body.velora-design-active .velora-home-footer__title.velora-design-editable.velora-design-editing {
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.velora-home-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 2rem 2.5rem;
  align-items: start;
}

.velora-home-footer__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.velora-home-footer__item--phone {
  align-items: center;
}

.velora-home-footer__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 0;
  background: none;
}

.velora-home-footer__item--phone .velora-home-footer__icon {
  margin-top: 0;
}

.velora-home-footer__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--velora-footer-text);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 1.35rem;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 1.35rem;
}

.velora-home-footer__icon--phone::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z'/%3E%3C/svg%3E");
}

.velora-home-footer__icon--mail::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
}

.velora-home-footer__icon--pin::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='1.8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 10.5c0 7.142-7.5 11.25-7.5 11.25S4.5 17.642 4.5 10.5a7.5 7.5 0 1 1 15 0Z'/%3E%3C/svg%3E");
}

.velora-home-footer__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.velora-home-footer__label {
  font-size: 0.8125em;
  color: var(--velora-footer-muted);
  text-transform: none;
}

.velora-home-footer__link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375em;
  line-height: 1.35;
}

.velora-home-footer__link:hover {
  text-decoration: underline;
}

.velora-home-footer__link--email {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.velora-home-footer__address {
  margin: 0;
  font-size: 0.8125em;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.velora-home-footer__muted {
  font-size: 0.8125em;
  color: var(--velora-footer-muted);
}

.velora-home-footer__muted--social {
  max-width: 10rem;
}

.velora-home-footer__social-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.velora-home-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.velora-home-footer__social-item {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
}

.velora-home-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--color-button-bg, var(--velora-footer-icon-bg, #111111));
  background: transparent;
  color: var(--velora-footer-text);
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

.velora-home-footer .landing-hero-2__social-btn {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-button-bg, var(--velora-footer-icon-bg, #111111));
  background: transparent;
  color: var(--velora-footer-text);
}

.velora-home-footer .landing-hero-2__social-btn--no-url {
  border-style: dashed;
  opacity: 1;
}

.velora-home-footer .landing-hero-2__social-add {
  background: transparent;
}

.velora-home-footer__social-btn--add {
  color: var(--velora-footer-text);
}

.velora-home-footer__social-add-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.velora-home-footer__social-btn .landing-hero-2__social-fallback {
  font-size: 0.75rem;
  font-weight: 700;
}

.velora-home-footer__social-btn .landing-hero-2__social-icon-img {
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
}

.velora-home-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--velora-footer-text) 22%, transparent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.8125em;
  color: var(--velora-footer-muted);
}

.velora-home-footer__copy {
  margin: 0;
}

.velora-home-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.velora-home-footer__legal-item {
  white-space: nowrap;
}

@media (max-width: 899px) {
  .velora-home-footer__grid {
    grid-template-columns: 1fr;
  }

  .velora-home-footer__social-wrap {
    justify-content: flex-start;
  }

  .velora-home-footer__social {
    justify-content: flex-start;
  }

  .velora-home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Без заливки внутри круга (перебивает hero_2.css и UA styles для button) */
.velora-home-footer .velora-home-footer__social-btn,
.velora-home-footer .landing-hero-2__social-btn,
.velora-home-footer [data-hero2-social-edit],
.velora-home-footer [data-hero2-social-add] {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
}

body.velora-design-active .velora-home-footer .velora-home-footer__social-btn::before,
body.velora-design-active .velora-home-footer .landing-hero-2__social-btn::before,
body.velora-design-active .velora-home-footer [data-hero2-social-edit]::before,
body.velora-design-active .velora-home-footer [data-hero2-social-add]::before {
  background: transparent !important;
}

/* Нижние edge-tools (ручка высоты, «+») — место под translateY(50%), особенно когда блок последний в main */
body.velora-design-active .velora-home-footer.velora-design-home-section {
  overflow: visible;
  padding-top: 3rem;
  padding-bottom: 2.75rem;
}

@container velora-storefront (max-width: 899px) {
  .velora-home-footer__grid {
    grid-template-columns: 1fr;
  }

  .velora-home-footer__social-wrap {
    justify-content: flex-start;
  }

  .velora-home-footer__social {
    justify-content: flex-start;
  }

  .velora-home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
