feat: the customer picks Agrupado or Misturado and sees free copies that fit the same metres (Rodada 5, C1, C2)
C2: encaixar takes an optional mode ('linhas', 'forma'; the Montar keeps
the automatic one); the buy box shows both billed lengths and the
difference in cm and R$ when they differ, marking the packing on screen.
C1: up to 5 arts are tried with up to 30 more copies, by binary search
with the packing in use, and up to 3 '+k file' buttons add the copies
that keep the billed metres. Both run after the order check, never
before it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -292,6 +292,22 @@ section+section{border-top:0}
|
||||
.cLin s{font-size:15px;color:#707070}
|
||||
.cObs{margin:-4px 0 0;font-size:15px;color:var(--verde)}
|
||||
.cObs:empty{display:none}
|
||||
/* C2 · modo de encaixe · C1 · o que cabe sem custo, na caixa de compra */
|
||||
#cEncaixe{display:flex;flex-direction:column;gap:6px}
|
||||
#cEncaixe[hidden]{display:none}
|
||||
.cEncBts{display:flex;gap:8px}
|
||||
.cEncBt{flex:1;display:flex;flex-direction:column;gap:2px;padding:8px 10px;border:1px solid var(--linha);border-radius:var(--raio2);background:#fff;text-align:left;font:inherit;color:var(--preto);cursor:pointer}
|
||||
.cEncBt b{font-size:15.5px}
|
||||
.cEncBt small{font-size:13px;color:var(--fraco)}
|
||||
.cEncBt.on{border-color:var(--preto);box-shadow:inset 0 0 0 1px var(--preto);background:var(--cinza)}
|
||||
.cEncDif{margin:0;font-size:14.5px;color:var(--verde)}
|
||||
#cVao{display:flex;flex-direction:column;gap:6px}
|
||||
#cVao[hidden]{display:none}
|
||||
.cVaoT{margin:0;font-size:14.5px;color:var(--verde)}
|
||||
.cVaoBts{display:flex;flex-wrap:wrap;gap:8px}
|
||||
.cVaoBt{padding:7px 12px;border:1px solid var(--laranja);border-radius:999px;background:var(--aviso-fundo);color:var(--preto);font:inherit;font-size:14.5px;cursor:pointer}
|
||||
.cVaoBt:hover{border-color:var(--laranja2)}
|
||||
.cEncBt:focus-visible,.cVaoBt:focus-visible{outline:2px solid var(--laranja2);outline-offset:2px}
|
||||
.cTot{display:flex;align-items:baseline;padding-top:12px;border-top:1px solid #EFEFEF}
|
||||
.cTot span{font-family:"Inter",sans-serif;font-weight:700}
|
||||
.cTot b{margin-left:auto;font-family:"Inter",sans-serif;font-size:30px;font-weight:900;letter-spacing:-.01em}
|
||||
|
||||
Reference in New Issue
Block a user