/* Blueway POS 180.67 – quiet, click-first price setup and accessible checkout on phones. */
#bw60-ledger .bw67-native-method,#bw60-ledger .bw67-native-basis{display:none!important}
#bw60-ledger .bw67-price-choices{grid-column:1/-1;border:1px solid #c5d7e6;border-top:3px solid #0a69bc;background:#f9fcff;padding:16px;display:grid;gap:10px;border-radius:5px;min-width:0}
#bw60-ledger .bw67-choices-head{display:flex;flex-wrap:wrap;gap:3px 14px;justify-content:space-between;align-items:baseline}
#bw60-ledger .bw67-choices-head strong{font-size:17px;color:#0b2946}#bw60-ledger .bw67-choices-head span{color:#5f7485;font-size:12px}
#bw60-ledger .bw67-method-buttons,#bw60-ledger .bw67-basis-buttons{display:flex;gap:7px;flex-wrap:wrap;min-width:0}
#bw60-ledger .bw67-method-buttons button,#bw60-ledger .bw67-basis-buttons button,#bw60-ledger .bw67-chips button{background:#fff!important;color:#194566!important;border:1px solid #b6cadb!important;min-height:43px;border-radius:5px;padding:9px 13px;flex:1 1 130px;min-width:0;line-height:1.25}
#bw60-ledger .bw67-method-buttons button[aria-pressed=true],#bw60-ledger .bw67-basis-buttons button[aria-pressed=true],#bw60-ledger .bw67-chips button[aria-pressed=true]{background:#0a5ebc!important;color:#fff!important;border-color:#0a5ebc!important}
#bw60-ledger .bw67-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
#bw60-ledger .bw67-chips button{min-width:0;flex:none;padding:8px 4px}
#bw60-ledger .bw67-pricing-note{font-size:12px;line-height:1.5;margin:0;color:#365874}
#bw60-ledger #bw67-basis-title{font-weight:700;font-size:12px;color:#26455b}
#bw60-ledger #bw67-exact{border-top:1px solid #deebf4;padding-top:7px}
#bw60-ledger #bw67-exact summary{cursor:pointer;color:#11568c;font-size:12px;font-weight:750;min-height:30px}
#bw60-ledger #bw67-exact .bw67-custom-mount{padding-top:8px}
#bw60-ledger #bw67-exact .bw67-native-markup{display:grid!important;max-width:430px}
#bw60-ledger #bw66-markup-presets{display:none!important}
#bw60-ledger .bw67-starter{justify-self:start;background:#e5f5f1!important;color:#12584f!important;border:1px solid #9ed8cc!important}
#bw60-ledger .bw67-customer-price{grid-column:span 2;max-width:550px}
#bw60-ledger .bw67-customer-price input[readonly]{font-size:21px!important;font-weight:800!important;background:#edf5fb!important}
#bw60-ledger .bw60-metrics{gap:8px}
@media(max-width:700px){#bw60-ledger .bw67-chips{grid-template-columns:repeat(3,minmax(0,1fr))}#bw60-ledger .bw67-customer-price{grid-column:1/-1}}
@media(max-width:390px){#bw60-ledger .bw67-method-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#bw60-ledger .bw67-method-buttons button:first-child{grid-column:1/-1}#bw60-ledger .bw67-basis-buttons{display:grid;grid-template-columns:1fr 1fr}#bw60-ledger .bw67-chips{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Native dialog's top layer sits above the shared PWA dock and avoids ancestor clipping. */
body .bw67-overlay-host{box-sizing:border-box!important;border:0!important;background:transparent!important;position:fixed!important;inset:var(--bw67-vtop,0px) 0 auto 0!important;margin:0!important;padding:0!important;max-width:none!important;max-height:none!important;width:100vw!important;height:var(--bw67-vvh,100dvh)!important;overflow:visible!important;outline:none!important}
body .bw67-overlay-host::backdrop{background:rgba(3,17,34,.77)}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal.open{display:grid;place-items:center;padding:clamp(6px,1.2vw,16px);background:transparent!important;box-sizing:border-box}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bp5-dialog{display:flex!important;flex-direction:column!important;width:min(720px,100%)!important;max-width:720px!important;height:auto!important;max-height:calc(var(--bw67-vvh,100dvh) - 16px)!important;overflow:hidden!important;padding:0!important;position:relative!important;border:1px solid #a6c6db;border-top:4px solid #69dacc;border-radius:8px!important;background:#fff;box-shadow:0 18px 60px #05172b4d}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bw67-checkout-scroll{box-sizing:border-box;min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:clamp(18px,3vw,25px) clamp(13px,3vw,25px) 14px}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bw67-checkout-footer{box-sizing:border-box;flex:0 0 auto;display:flex;flex-direction:column;gap:3px;background:#fff;border-top:1px solid #c5d9e7;padding:10px clamp(13px,3vw,25px) calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -8px 24px #0c34550b;z-index:2}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bw67-checkout-footer #bp5-submit{margin:0!important;min-height:50px!important;font-size:14px!important;line-height:1.25!important;white-space:normal!important;border-radius:5px!important}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bp5-close{z-index:6!important;background:#fff!important;border:1px solid #c8dce9!important;border-radius:5px!important;top:12px!important;right:12px!important}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bw67-checkout-footer .bp5-result{max-height:100px;overflow:auto;margin:0!important}
@media(max-width:620px){body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal{padding:4px!important}body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bp5-dialog{width:100%!important;max-height:calc(var(--bw67-vvh,100dvh) - 8px)!important;margin:0!important;border-radius:5px!important}body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 #bp5-modal .bw67-checkout-scroll{padding:17px 12px 9px}}
/* Digital product detail/checkout also remains above the PWA dock, when active SKUs exist. */
body.bwpos-premium-digital-18064 .bw67-digital-host .s35modal{background:transparent!important;box-sizing:border-box;place-items:center;padding:6px!important}
body.bwpos-premium-digital-18064 .bw67-digital-host .s35dialog{max-height:calc(var(--bw67-vvh,100dvh) - 12px)!important;overflow-y:auto!important;box-sizing:border-box;padding:18px!important;width:min(720px,100%)!important}
body.bwpos-premium-digital-18064 .bw67-digital-host .bw67-digital-footer:not([hidden]){position:sticky;bottom:0;background:#fff;border-top:1px solid #d4e2ec;padding:10px 0 calc(8px + env(safe-area-inset-bottom,0px));z-index:2}
body.bwpos-premium-digital-18064 .bw67-digital-host .bw67-digital-footer button{display:block;width:100%;min-height:48px;border-radius:5px}

/* Advanced customer information stays available but never clutters the basic purchase path. */
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 .bw67-optional{grid-column:1/-1;border:1px solid #d5e2ec;border-radius:5px;background:#f7fafc;padding:10px 12px;min-width:0}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 .bw67-optional summary{cursor:pointer;font-size:12px;font-weight:750;color:#1b507a;min-height:24px}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 .bw67-optional-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:13px}
body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 .bw67-optional-fields .bp5-check{grid-column:1/-1}
@media(max-width:620px){body.bwpos-premium-hardware-18064 #blueway-pos-shop-v5 .bw67-optional-fields{grid-template-columns:1fr}}
