/* JR Confecções V10.29 — Order detail drawer: isolated, scroll-safe operational layout */
#jr27OrderDrawer.jr27-overlay{position:fixed!important;inset:0!important;height:100dvh!important;z-index:100010!important;display:flex!important;align-items:stretch!important;justify-content:flex-end!important;overflow:hidden!important;overscroll-behavior:contain}
#jr27OrderDrawer.jr27-overlay[hidden]{display:none!important}
#jr27OrderDrawer .jr27-shade{position:absolute!important;inset:0!important;z-index:0;background:rgba(13,20,31,.68);backdrop-filter:blur(3px)}
#jr27OrderDrawer .jr27-drawer{position:relative!important;z-index:1;width:min(630px,100vw)!important;min-width:0;height:100%!important;max-height:100dvh!important;min-height:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;background:#fff;border-radius:19px 0 0 19px;box-shadow:-16px 0 70px rgba(12,21,35,.23)}
#jr27OrderDrawer #jr27DrawerContent{flex:1 1 auto!important;min-height:0!important;min-width:0!important;max-height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#jr27OrderDrawer .jr27-drawer-head{position:relative!important;z-index:2;flex:0 0 auto!important;min-height:89px;box-sizing:border-box;background:white;box-shadow:0 2px 14px rgba(15,23,42,.04)}
#jr27OrderDrawer .jr27-drawer-scroll{flex:1 1 0%!important;min-height:0!important;max-height:none!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b9c3cf #f3f5f8;-webkit-overflow-scrolling:touch;padding-bottom:85px!important}
#jr27OrderDrawer .jr27-drawer-scroll::-webkit-scrollbar{width:9px}
#jr27OrderDrawer .jr27-drawer-scroll::-webkit-scrollbar-track{background:#f3f5f8;border-radius:20px}
#jr27OrderDrawer .jr27-drawer-scroll::-webkit-scrollbar-thumb{background:#bac4d0;border-radius:20px;border:2px solid #f3f5f8}
#jr27OrderDrawer .jr27-drawer-scroll::-webkit-scrollbar-thumb:hover{background:#778699}
#jr27OrderDrawer .jr27-drawer-scroll .jr27-detail-section{background:#fff;box-shadow:0 3px 18px rgba(16,24,40,.025);border:1px solid #e6eaf0;border-radius:16px;margin-block:13px}
#jr27OrderDrawer .jr27-detail-section h3{letter-spacing:-.015em;font-size:15px}
#jr27OrderDrawer .jr27-drawer-total{background:linear-gradient(125deg,#f5f7fb,#fcfcfd);border:1px solid #e9edf3;border-radius:17px}
#jr27OrderDrawer .jr27-drawer-total strong{font-variant-numeric:tabular-nums;letter-spacing:-.04em}
#jr27OrderDrawer .jr27-drawer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
#jr27OrderDrawer .jr27-drawer-actions .btn{white-space:normal;line-height:1.35;min-height:45px}
#jr27OrderDrawer .jr27-drawer-actions [data-action="delete-order"]{grid-column:1/-1;background:#fff4f4;color:#ae2232;border:1px solid #ffccd2}
#jr27OrderDrawer .jr27-detail-section input:focus-visible,#jr27OrderDrawer .jr27-detail-section select:focus-visible,#jr27OrderDrawer .jr27-drawer-actions :focus-visible{outline:2px solid #e30624;outline-offset:2px}
#jr27OrderDrawer .jr27-item{min-width:0;grid-template-columns:62px minmax(0,1fr) auto}
#jr27OrderDrawer .jr27-item-copy{min-width:0;overflow-wrap:anywhere}
#jr27OrderDrawer .jr27-item-price{min-width:85px}
#jr27OrderDrawer .jr27-note{line-height:1.65}
body.jr27-drawer-open{overflow:hidden!important}
@media(max-width:700px){#jr27OrderDrawer .jr27-drawer{width:100vw!important;border-radius:0!important}#jr27OrderDrawer .jr27-drawer-head{min-height:76px;padding:17px 20px!important}#jr27OrderDrawer .jr27-drawer-scroll{padding:17px 18px 100px!important}#jr27OrderDrawer .jr27-drawer-actions{grid-template-columns:1fr}#jr27OrderDrawer .jr27-drawer-actions [data-action="delete-order"]{grid-column:auto}#jr27OrderDrawer .jr27-detail-section{padding:16px}#jr27OrderDrawer .jr27-item{grid-template-columns:50px minmax(0,1fr);gap:10px}#jr27OrderDrawer .jr27-item-price{grid-column:2;align-items:flex-start;text-align:left}}
