/* Phase 3C v3: only the native quote panel, based on actual quote DOM detection.
   No dependency on the legacy step-1/step-2 root class. */
@media (min-width: 1025px) {
  #m3dreader[data-z3d3c-quote-active="1"] .z3d3c-sticky-spacer {
    box-sizing: border-box !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  #m3dreader[data-z3d3c-quote-active="1"] #m3dreader__sidebar-cart.z3d3c-sticky-fallback:not(.hide) {
    position: fixed !important;
    top: var(--z3d3c-sticky-top, 18px) !important;
    left: var(--z3d3c-sticky-left, auto) !important;
    width: var(--z3d3c-sticky-width, 370px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    z-index: 40 !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - 36px) !important;
    max-height: calc(100dvh - 36px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
  }
  #m3dreader[data-z3d3c-quote-active="1"] #m3dreader__sidebar-cart.z3d3c-sticky-fallback > .m3dreader__sidebar {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}
@media (max-width: 1024px) {
  #m3dreader #m3dreader__sidebar-cart.z3d3c-sticky-fallback {
    position: static !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
  }
}
