/* Winsho Beef Order Pro RC2 — mobile SVG fit and optional accessible zoom.
   Loaded after the established form styles to override legacy 510–540px min-width.
   All selectors scoped to the plugin form. No JS libraries or layout rewrites. */
.wbop-app .wbop-map-zoom{
  display:none;align-items:center;gap:7px;margin:0 0 12px;padding:8px 12px;
  border:1px solid #cfdfcc;border-radius:10px;background:#fff;color:#23503a;
  font-size:12px;font-weight:700;line-height:1.4;font-family:inherit;text-transform:none;letter-spacing:0;
  cursor:pointer;max-width:100%;box-shadow:none;
}
.wbop-app .wbop-map-zoom:focus-visible{outline:3px solid #7b9b53;outline-offset:2px}
.wbop-app .wbop-map-zoom[aria-pressed="true"]{background:#eaf3e4;border-color:#9eba8c}
.wbop-app .wbop-map-panel:has(.wbop-map-scroll[hidden]) .wbop-map-zoom{display:none!important}
/* Also fixes narrow Elementor columns even when desktop viewport is wider. */
.wbop-app .wbop-map-scroll .wbop-recipe-map{
  min-width:0!important;width:100%!important;max-width:600px!important;
  box-sizing:border-box;margin-left:auto!important;margin-right:auto!important;
}
.wbop-app .wbop-map-scroll .wbop-recipe-map .wmrs-beef-svg{
  display:block;width:100%!important;height:auto!important;max-width:100%!important;
}
@media (max-width:650px){
  .wbop-app .wbop-map-panel{min-width:0;max-width:100%;overflow:hidden}
  .wbop-app .wbop-map-zoom{display:inline-flex!important}
  .wbop-app .wbop-map-scroll{
    display:block;width:100%;min-width:0;max-width:100%;
    overflow-x:hidden;overflow-y:hidden;scrollbar-width:thin;
    overscroll-behavior-x:contain;
  }
  .wbop-app .wbop-map-scroll .wbop-recipe-map{
    display:block;width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0 auto!important;box-sizing:border-box;
  }
  .wbop-app .wbop-map-scroll .wbop-recipe-map .wmrs-beef-svg{
    display:block;width:100%!important;max-width:100%!important;
    height:auto!important;max-height:none!important;
    overflow:visible;touch-action:manipulation;
  }
  .wbop-app .wbop-map-scroll.is-zoomed{overflow-x:auto;overscroll-behavior-x:contain}
  .wbop-app .wbop-map-scroll.is-zoomed .wbop-recipe-map{
    width:740px!important;min-width:740px!important;max-width:none!important;
  }
  .wbop-app .wbop-map-scroll.is-zoomed .wbop-recipe-map .wmrs-beef-svg{
    width:100%!important;max-width:100%!important;
  }
  .wbop-app .wbop-map-footnote{overflow-wrap:anywhere}
}
@media (max-width:359px){
  .wbop-app .wbop-map-panel{padding:9px!important}
  .wbop-app .wbop-map-legend{white-space:normal}
}
