/* Ajustes mínimos offline — sem alterar o visual do tema */

/* Sticky: evita top+bottom ao mesmo tempo (tela branca) */
product-sticky-form.product-sticky-form {
  height: auto !important;
  max-height: 120px !important;
  overflow: hidden !important;
}

@media (min-width: 1000px) {
  product-sticky-form.product-sticky-form:not([hidden]) {
    top: 0 !important;
    bottom: auto !important;
  }
}

@media (max-width: 999px) {
  product-sticky-form.product-sticky-form:not([hidden]) {
    top: auto !important;
    bottom: 0 !important;
  }
}

/* Secções Shopify vazias */
product-recommendations,
recently-viewed-products {
  display: none !important;
}

/* Photoswipe offline: esconder se não carregar */
.pswp:not(.pswp--open) {
  display: none !important;
}
