/* WHERING 4.5 — peças são o foco visual dos looks. */

/* Banco de reserva: título vira informação secundária e a composição ocupa o card. */
.saved-look-card-head{padding:7px 10px 5px;align-items:center}
.saved-look-card-title strong{font-size:10px!important;font-weight:750;line-height:1.25;color:#384139;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.saved-look-card-title small{margin-top:1px!important;font-size:7px!important;color:#858c87!important}
.saved-look-status{font-size:7px!important;padding:3px 6px!important}
.saved-stage{
  min-height:278px!important;
  margin:0 8px!important;
  padding:3px 8px!important;
  grid-template-rows:32% 44% 24%!important;
  gap:0!important;
}
.saved-stage.has-optionals{grid-template-columns:minmax(0,1fr) 76px!important}
.saved-stage-top-pair{gap:5px!important}
.saved-stage-top img{max-width:205px!important;max-height:100%!important}
.saved-stage-top.two .saved-stage-top-pair{gap:4px!important;padding:0 2px 2px!important}
.saved-stage-bottom img{max-width:220px!important;max-height:100%!important}
.saved-stage-bottom.is-short img{max-width:175px!important;max-height:94%!important}
.saved-stage-footwear img{max-width:198px!important;max-height:98%!important}
.saved-stage-code{font-size:6px!important;bottom:1px!important;opacity:.65}
.saved-stage-optionals{gap:4px!important}
.saved-stage-optional{min-height:60px!important;padding:3px!important}
.saved-stage-optional img{max-width:64px!important;max-height:55px!important}
.saved-look-card-foot{padding:6px 9px 9px!important}
.saved-look-codes-full{margin-bottom:5px!important;font-size:7px!important}

/* Troca de look de um evento: galeria visual, não lista textual. */
.wear-swap-dialog{width:min(1180px,calc(100vw - 28px))!important;max-height:92vh!important}
.wear-swap-shell{max-height:92vh!important;padding:18px!important}
.wear-swap-head h3{font-size:20px!important}
.wear-swap-head p{font-size:12px!important}
.wear-swap-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;
  gap:12px!important;
  overflow:auto!important;
  padding:2px 4px 4px 0!important;
}
.wear-swap-card.wear-swap-card-visual{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto auto auto!important;
  gap:6px!important;
  align-items:stretch!important;
  padding:8px!important;
  border-radius:14px!important;
  background:#fbfcfa!important;
}
.wear-swap-visual{min-width:0}
.wear-swap-card .saved-stage{
  min-height:238px!important;
  margin:0!important;
  border-radius:10px!important;
  grid-template-rows:31% 45% 24%!important;
}
.wear-swap-card .saved-stage-top img{max-width:170px!important}
.wear-swap-card .saved-stage-bottom img{max-width:185px!important}
.wear-swap-card .saved-stage-bottom.is-short img{max-width:145px!important}
.wear-swap-card .saved-stage-footwear img{max-width:165px!important}
.wear-swap-card-main{display:grid!important;gap:2px!important;padding:0 2px!important;min-width:0}
.wear-swap-card-main strong{font-size:10px!important;font-weight:700!important;color:#465048!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wear-swap-card-main small{font-size:7px!important;color:#858d87!important}
.wear-swap-card>button{width:100%!important;padding:9px 10px!important}

@media(max-width:700px){
  .saved-stage{min-height:250px!important}
  .wear-swap-dialog{width:calc(100vw - 12px)!important;max-height:94vh!important}
  .wear-swap-shell{max-height:94vh!important;padding:12px!important}
  .wear-swap-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .wear-swap-card .saved-stage{min-height:205px!important}
  .wear-swap-card .saved-stage.has-optionals{grid-template-columns:minmax(0,1fr) 48px!important}
  .wear-swap-card .saved-stage-top img{max-width:135px!important}
  .wear-swap-card .saved-stage-bottom img{max-width:145px!important}
  .wear-swap-card .saved-stage-footwear img{max-width:132px!important}
  .wear-swap-card-main strong{font-size:9px!important}
}
@media(max-width:480px){
  .wear-swap-grid{grid-template-columns:1fr!important}
  .wear-swap-card .saved-stage{min-height:230px!important}
}
