/* V6.1.62: proporções intermediarias, sem quebrar textos dos botões.
   Restrito ao BUY OFF; preserva os botões, fotos, horarios e validações. */
#buyoffGrid{
 width:100%!important;max-width:1140px!important;
 grid-template-columns:repeat(auto-fit,minmax(min(100%,495px),1fr))!important;
 justify-content:center!important;justify-items:stretch!important;gap:12px!important;
}
#buyoffGrid>.bo8-station{max-width:650px!important;margin-inline:auto!important;width:100%!important;box-sizing:border-box!important}
#buyoffGrid .bo8-slots{padding:8px 10px 10px!important;gap:8px!important}
#buyoffGrid .bo8-slot{
 box-sizing:border-box!important;padding:8px 10px!important;
 gap:5px 8px!important;align-content:start!important;min-width:0!important;
 grid-template-columns:minmax(145px,.70fr) minmax(270px,1.3fr)!important;
}
#buyoffGrid .bo8-slot .bo8-summary{gap:8px!important;min-width:0!important}
#buyoffGrid .bo8-slot .bo8-summary img{width:46px!important;height:55px!important;flex:0 0 46px!important}
#buyoffGrid .bo8-main-info strong{font-size:12px!important}
#buyoffGrid .v578-check-strip{gap:5px!important;padding-top:16px!important;margin:0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 60px!important}
#buyoffGrid .v578-check-chip{min-height:42px!important;padding:5px 4px!important}
#buyoffGrid .v578-check-total{min-height:39px!important;padding:5px 3px!important;font-size:9px!important}
#buyoffGrid .bo8-slot .bo8-actions,#buyoffGrid .bo8-slot .bo8-actions:has(>button:nth-child(4)){
 display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;
 gap:5px!important;width:100%!important;max-width:100%!important;min-width:0!important;
 margin:2px 0 0!important;padding:0!important;box-sizing:border-box!important;
 overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;
}
#buyoffGrid .bo8-slot .bo8-actions>button,#buyoffGrid .bo8-slot .bo8-actions>.v578-check-action{
 flex:0 0 auto!important;min-width:max-content!important;max-width:none!important;width:auto!important;
 min-height:34px!important;padding:7px 11px!important;font-size:10px!important;line-height:1.12!important;
 margin:0!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
 text-align:center!important;grid-column:auto!important;border-radius:6px!important;
}
#buyoffGrid .bo8-register-meta{
 padding:3px 7px!important;margin-top:2px!important;gap:6px!important;
 background:#edf4fa!important;border:1px solid #d9e6f0!important;
 border-radius:4px!important;color:#52718c!important;
}
#buyoffGrid .bo8-register-meta b,#buyoffGrid .bo8-register-meta span{
 color:#52718c!important;font-weight:600!important;font-size:9px!important;
}
@media(max-width:1050px){
 #buyoffGrid{grid-template-columns:minmax(0,1fr)!important;max-width:650px!important;justify-items:center!important}
 #buyoffGrid .bo8-slot{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'identity' 'progress' 'actions' 'register'!important}
}
@media(max-width:690px){
 #buyoffGrid{max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;margin-inline:auto!important}
 #buyoffGrid>.bo8-station{max-width:100%!important;margin-inline:auto!important}
 #buyoffGrid .bo8-slot{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'identity' 'progress' 'actions' 'register'!important}
 #buyoffGrid .bo8-header-grid{grid-template-columns:minmax(0,1fr)!important}
 #buyoffGrid .bo8-slot .bo8-summary{justify-content:flex-start!important}
 #buyoffGrid .v578-check-strip{max-width:100%!important;padding-top:19px!important}
 #buyoffGrid .bo8-slot .bo8-actions{justify-content:flex-start!important}
}
@media(max-width:420px){
 #buyoffGrid .bo8-slots{padding:7px!important}
 #buyoffGrid .bo8-slot{padding:7px!important;gap:5px!important}
 #buyoffGrid .bo8-slot .bo8-actions>button,#buyoffGrid .bo8-slot .bo8-actions>.v578-check-action{padding:7px 8px!important;font-size:9px!important}
 #buyoffGrid .bo8-register-meta{flex-wrap:wrap!important;justify-content:center!important;text-align:center!important}
}
