/* v5.1.93 — final mobile footer containment and readable stock count polish.
   Loaded after all footer CSS. The previous desktop footer widening leaked into
   mobile and left the Info/Tarne columns as thin off-screen strips. */

body.vlg-theme.single-product .vlg-stock-ok,
body.vlg-theme.single-product .vlg-product-buybox .stock.in-stock,
body.vlg-theme.single-product .vmp-buybox .stock.in-stock,
body.vlg-theme.single-product .woocommerce-variation-availability .stock.in-stock {
  font-weight: 900 !important;
}

@media (max-width: 767px) {
  html,
  body.vlg-theme {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 110px !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-premium-wrap,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: visible !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-shell,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-grid.vlg-footer-grid--refined,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-brand-card,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-panel,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-col,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-brand-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card--phone a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card--email a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row span:last-child {
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card--phone a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row--phone a {
    font-size: clamp(18px, 5vw, 22px) !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-mini-card--email a,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row--email a {
    font-size: clamp(16px, 4.5vw, 20px) !important;
  }
}

@media (max-width: 380px) {
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-premium-wrap,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-panel,
  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-brand-card {
    padding: 16px !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-row {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 12px !important;
  }

  body.vlg-theme .vlg-footer.vlg-footer--premium.vlg-footer--refined .vlg-footer-contact-icon {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
  }
}
