/* DRAFT only — not enqueued.
   Phone: pin the SHARED site header on every template, and any sticky
   bottom bar (today: composite Add to Cart on PDPs).
   JS sets --dc-vv-top / --dc-vv-bottom from visualViewport. */

@media (max-width: 991.98px) {
  html body header#wrapper-header.site-header,
  html body .site-header {
    position: fixed !important;
    top: var(--dc-vv-top, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    z-index: 999 !important;
  }

  /* 72px bar (dc-navbar). HurryTimer strip is d-none below md. */
  html body.dc-ios-vv {
    padding-top: 72px;
  }

  .single-product #woocommerce-wrapper .composite_form__add-cart-wrap.sticky-cart,
  .composite_form__add-cart-wrap.sticky-cart {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    bottom: var(--dc-vv-bottom, 0px) !important;
    top: auto !important;
  }
}
