/* v288 shared confirmations, dropdown sizing and monetary input presentation. */
body.system-v286 .modern-confirm-overlay{
  padding:20px!important;background:rgba(15,31,27,.52)!important;backdrop-filter:blur(5px)!important;z-index:10000!important;
}
body.system-v286 .modern-confirm-modal{
  max-width:560px!important;max-height:calc(100dvh - 40px)!important;border:1px solid #dce7e2!important;
  border-radius:18px!important;background:#fff!important;box-shadow:0 24px 80px #102c2340!important;overflow:hidden!important;
}
body.system-v286 .modern-confirm-modal .modal-header{
  padding:20px 24px!important;background:#fff!important;border-bottom:1px solid #e5ece8!important;color:#16382f!important;
}
body.system-v286 .modern-confirm-modal .modal-title{font-size:18px!important;font-weight:700!important;color:#16382f!important;-webkit-text-fill-color:currentColor!important;}
body.system-v286 .modern-confirm-modal .modal-header .btn{background:#f2f6f4!important;color:#476158!important;border:1px solid #e1e9e5!important;box-shadow:none!important;}
body.system-v286 .modern-confirm-modal .modal-body{padding:24px!important;background:#fff!important;}
body.system-v286 .modern-confirm-modal .modal-footer{padding:16px 24px!important;background:#f8faf9!important;border-top:1px solid #e5ece8!important;gap:10px!important;}
body.system-v286 .modern-confirm-box{
  display:flex!important;align-items:flex-start!important;gap:16px!important;border:0!important;border-radius:0!important;padding:0!important;background:transparent!important;color:#263f36!important;box-shadow:none!important;
}
body.system-v286 .modern-confirm-icon{
  width:48px!important;height:48px!important;min-width:48px!important;border:1px solid #d4e8df!important;border-radius:14px!important;
  background:#eaf5ef!important;color:#087f63!important;font-size:22px!important;box-shadow:none!important;
}
body.system-v286 .modern-confirm-danger .modern-confirm-icon{background:#fff1f1!important;color:#b83d42!important;border-color:#f3d6d8!important;}
body.system-v286 .modern-confirm-warning .modern-confirm-icon{background:#fff7e7!important;color:#906013!important;border-color:#eee0bd!important;}
body.system-v286 .modern-confirm-message{font-size:15px!important;font-weight:600!important;line-height:1.65!important;color:#243e34!important;overflow-wrap:anywhere!important;}
body.system-v286 .modern-confirm-content{min-width:0!important;flex:1!important;}
body.system-v286 .modern-confirm-content .notice{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#60756a!important;font-size:13px!important;font-weight:400!important;line-height:1.65!important;box-shadow:none!important;}
body.system-v286 .modern-confirm-modal .btn{border-radius:9px!important;padding:10px 16px!important;font-weight:600!important;font-size:13px!important;box-shadow:none!important;}
body.system-v286 .modern-confirm-modal .btn-primary,body.system-v286 .modern-confirm-modal .btn-success{background:#087f63!important;border-color:#087f63!important;color:#fff!important;}
body.system-v286 .modern-confirm-modal .btn-danger{background:#b83d42!important;border-color:#b83d42!important;color:#fff!important;}
body.system-v286 .modern-confirm-modal .btn-warning{background:#906013!important;border-color:#906013!important;color:#fff!important;}
body.system-v286 .modern-confirm-modal .modal-footer .btn-light{background:#fff!important;border:1px solid #d9e4de!important;color:#425f50!important;}
body.system-v286 .choices,body.system-v286 .line-items .choices{min-width:0!important;max-width:100%!important;width:100%!important;}
body.system-v286 #appShell .choices .choices__list--dropdown,body.system-v286 #appShell .choices .choices__list[aria-expanded],body.system-v286 #modalOverlay .choices .choices__list--dropdown,body.system-v286 #modalOverlay .choices .choices__list[aria-expanded]{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;
  border:1px solid #cfded6!important;border-radius:10px!important;background:#fff!important;box-shadow:0 10px 28px #183e2424!important;
}
body.system-v286 .choices .choices__list--dropdown .choices__item{white-space:normal!important;overflow-wrap:anywhere!important;}
body.system-v286 .currency-input{font-variant-numeric:tabular-nums!important;text-align:right!important;}
body.system-v286 .pos-cart-table input.currency-input{width:116px!important;min-width:116px!important;max-width:100%!important;}
@media(max-width:600px){
  body.system-v286 .modern-confirm-overlay{padding:12px!important;}
  body.system-v286 .modern-confirm-modal{max-height:calc(100dvh - 24px)!important;}
  body.system-v286 .modern-confirm-modal .modal-header,body.system-v286 .modern-confirm-modal .modal-body{padding:18px!important;}
  body.system-v286 .modern-confirm-modal .modal-footer{padding:14px 18px!important;}
  body.system-v286 .modern-confirm-box{gap:12px!important;}
}

/* v289: matching product hover and read-only details */
.pos-product-tile{display:flex;flex-direction:column;min-width:0;border-radius:10px;transition:box-shadow .16s ease,transform .16s ease;background:#fff;}
.pos-product-tile>.pos-browse-item,.pos-product-tile>.v171-quick-product{width:100%;flex:1;min-width:0;overflow-wrap:anywhere;}
body.system-v286 #appShell #main #page-pos .pos-product-tile:hover>.v171-quick-product,
body.system-v286 #appShell #main #page-pos .pos-product-tile:focus-within>.v171-quick-product,
.pos-product-tile:hover>.pos-browse-item,.pos-product-tile:focus-within>.pos-browse-item{background:#ecfdf5!important;border-color:#6ee7b7!important;box-shadow:0 8px 20px rgba(6,95,70,.14)!important;transform:translateY(-2px)!important;}
body.system-v286 .pos-product-tile>.pos-product-view{display:flex!important;align-items:center;justify-content:center;gap:6px;margin:5px 0 0;padding:7px 5px;min-height:32px;width:100%;border:1px solid #a7d9bf!important;border-radius:7px!important;background:#f0faf4!important;color:#17633d!important;font-family:inherit;font-size:11px;font-weight:600;line-height:1.3;cursor:pointer;opacity:0;transition:opacity .16s ease,background .16s ease;}
body.system-v286 .pos-product-tile:hover>.pos-product-view,body.system-v286 .pos-product-tile:focus-within>.pos-product-view{opacity:1;}
body.system-v286 .pos-product-tile>.pos-product-view:hover{background:#dcfce7!important;}
.pos-product-tile button:focus-visible{outline:2px solid #15803d!important;outline-offset:2px;}
.pos-product-details{color:#243e30;}
.pos-product-detail-hero{display:flex;align-items:center;gap:20px;padding:8px 0 20px;border-bottom:1px solid #e3ece6;margin-bottom:18px;}
.pos-product-detail-hero>img,.pos-product-detail-hero>.v266-thumb-fallback{width:140px!important;flex:0 0 140px;object-fit:contain!important;margin:0!important;}
.pos-product-detail-hero h3{margin:4px 0 10px;font-size:23px;line-height:1.3;overflow-wrap:anywhere;}
.pos-product-detail-hero strong{font-size:23px;color:#087f4e;}
.pos-product-detail-hero p{margin:6px 0;color:#62776a;font-size:12px;}
.pos-product-detail-hero .pos-product-detail-eyebrow{text-transform:uppercase;letter-spacing:1.2px;font-size:10px;font-weight:700;color:#228056;}
.pos-product-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;margin:0;}
.pos-product-detail-field{min-width:0;}
.pos-product-detail-field dt{font-size:11px;color:#6b7e72;margin-bottom:4px;}
.pos-product-detail-field dd{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere;}
.pos-product-detail-description{margin-top:20px;padding:14px;background:#f5faf7;border:1px solid #e3ece6;border-radius:10px;}
.pos-product-detail-description h4{font-size:12px;margin:0 0 8px;}
.pos-product-detail-description p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;}
@media(hover:none),(pointer:coarse){body.system-v286 .pos-product-tile>.pos-product-view{opacity:1;}}
@media(max-width:600px){body.system-v286 .pos-product-tile>.pos-product-view{opacity:1;min-height:40px;}.pos-product-detail-hero{flex-direction:column;align-items:flex-start;gap:12px;}.pos-product-detail-hero>img,.pos-product-detail-hero>.v266-thumb-fallback{flex-basis:auto;}.pos-product-detail-grid{gap:14px;}}
@media(prefers-reduced-motion:reduce){.pos-product-tile,.pos-product-tile>button{transition:none!important;}}
