/* v5.1.90 — footer contact final alignment
   Fixes footer brand contact cards and support contact rows so the cards line up,
   have consistent dimensions and do not jump out of alignment on desktop/devtools widths. */

body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined *,
body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined *::before,
body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined *::after {
  box-sizing: border-box;
}

body.vlg-theme .vlg-footer-premium-wrap {
  max-width: 1380px !important;
}

body.vlg-theme .vlg-footer-shell {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.94fr) minmax(0, 2.06fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

body.vlg-theme .vlg-footer-brand-card,
body.vlg-theme .vlg-footer-panel {
  height: 100% !important;
}

/* Left footer: phone and email cards equal size and aligned. */
body.vlg-theme .vlg-footer-brand-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
}

body.vlg-theme .vlg-footer-mini-card {
  min-width: 0 !important;
  min-height: 88px !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 16px 18px !important;
  border-radius: 18px !important;
}

body.vlg-theme .vlg-footer-mini-card strong {
  display: block !important;
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #b9c8db !important;
}

body.vlg-theme .vlg-footer-mini-card a,
body.vlg-theme .vlg-footer-brand-meta .vlg-footer-mini-card:first-child a,
body.vlg-theme .vlg-footer-brand-meta .vlg-footer-mini-card:last-child a {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(15px, 1.04vw, 18px) !important;
  line-height: 1.28 !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-overflow: clip !important;
  overflow: visible !important;
}

body.vlg-theme .vlg-footer-mini-card--phone a {
  font-size: clamp(17px, 1.18vw, 20px) !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

/* Right footer columns: keep panels visually equal and support panel stable. */
body.vlg-theme .vlg-footer-grid.vlg-footer-grid--refined {
  display: grid !important;
  grid-template-columns: minmax(190px, .86fr) minmax(190px, .86fr) minmax(310px, 1.28fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.vlg-theme .vlg-footer-panel {
  min-width: 0 !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
}

body.vlg-theme .vlg-footer-panel h3 {
  margin: 0 0 16px !important;
}

/* Make all support rows the same type of card, not only email. */
body.vlg-theme .vlg-footer-contact-list {
  display: grid !important;
  gap: 12px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.vlg-theme .vlg-footer-contact-row,
body.vlg-theme .vlg-footer-contact-row--phone,
body.vlg-theme .vlg-footer-contact-row--email,
body.vlg-theme .vlg-footer-contact-row--hours {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 86px !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
  overflow: hidden !important;
}

body.vlg-theme .vlg-footer-contact-row + .vlg-footer-contact-row {
  margin-top: 0 !important;
}

body.vlg-theme .vlg-footer-contact-icon,
body.vlg-theme .vlg-footer-contact-row--phone .vlg-footer-contact-icon,
body.vlg-theme .vlg-footer-contact-row--email .vlg-footer-contact-icon,
body.vlg-theme .vlg-footer-contact-row--hours .vlg-footer-contact-icon {
  width: 56px !important;
  min-width: 56px !important;
  height: 56px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
}

body.vlg-theme .vlg-footer-contact-row > div {
  min-width: 0 !important;
  width: 100% !important;
  overflow: visible !important;
}

body.vlg-theme .vlg-footer-contact-row strong {
  display: block !important;
  margin: 0 0 5px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: #b9c8db !important;
}

body.vlg-theme .vlg-footer-contact-row a,
body.vlg-theme .vlg-footer-contact-row span:last-child,
body.vlg-theme .vlg-footer-contact-row--phone a,
body.vlg-theme .vlg-footer-contact-row--email a,
body.vlg-theme .vlg-footer-contact-row--hours span:last-child {
  display: block !important;
  max-width: 100% !important;
  color: #fff !important;
  font-size: clamp(14px, .95vw, 16px) !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-decoration: none !important;
}

body.vlg-theme .vlg-footer-contact-row--phone a {
  font-size: clamp(16px, 1.1vw, 19px) !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

body.vlg-theme .vlg-footer-contact-row--hours span:last-child {
  font-size: clamp(14px, .95vw, 16px) !important;
  white-space: normal !important;
}

@media (max-width: 1320px) {
  body.vlg-theme .vlg-footer-shell {
    grid-template-columns: minmax(340px, .98fr) minmax(0, 2.02fr) !important;
    gap: 20px !important;
  }
  body.vlg-theme .vlg-footer-grid.vlg-footer-grid--refined {
    grid-template-columns: minmax(170px, .82fr) minmax(170px, .82fr) minmax(290px, 1.36fr) !important;
    gap: 18px !important;
  }
  body.vlg-theme .vlg-footer-panel {
    padding: 20px !important;
  }
}

@media (max-width: 1180px) {
  body.vlg-theme .vlg-footer-shell {
    grid-template-columns: 1fr !important;
  }
  body.vlg-theme .vlg-footer-grid.vlg-footer-grid--refined {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 1.15fr) !important;
  }
}

@media (max-width: 900px) {
  body.vlg-theme .vlg-footer-grid.vlg-footer-grid--refined {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.vlg-theme .vlg-footer-brand-meta {
    grid-template-columns: 1fr !important;
  }
  body.vlg-theme .vlg-footer-mini-card,
  body.vlg-theme .vlg-footer-contact-row,
  body.vlg-theme .vlg-footer-contact-row--phone,
  body.vlg-theme .vlg-footer-contact-row--email,
  body.vlg-theme .vlg-footer-contact-row--hours {
    min-height: 78px !important;
  }
  body.vlg-theme .vlg-footer-contact-row,
  body.vlg-theme .vlg-footer-contact-row--phone,
  body.vlg-theme .vlg-footer-contact-row--email,
  body.vlg-theme .vlg-footer-contact-row--hours {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px 14px !important;
  }
  body.vlg-theme .vlg-footer-contact-icon,
  body.vlg-theme .vlg-footer-contact-row--phone .vlg-footer-contact-icon,
  body.vlg-theme .vlg-footer-contact-row--email .vlg-footer-contact-icon,
  body.vlg-theme .vlg-footer-contact-row--hours .vlg-footer-contact-icon {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
  }
  body.vlg-theme .vlg-footer-mini-card--phone a,
  body.vlg-theme .vlg-footer-contact-row--phone a {
    white-space: normal !important;
  }
}
