/* Lista de produtos e total do dia. Só aparece quando a página tem 6 ou mais itens lidos. */
.first-item{display:grid;grid-template-columns:72px 1fr;gap:6px 14px;align-items:center;margin:18px 0 4px;padding:14px;background:#fbf3e8;border:1px solid var(--line);border-radius:12px}
.first-item img{width:72px;height:72px;border-radius:8px;object-fit:cover;background:#fff;grid-row:span 1}
.first-item strong{display:block;font-size:.95rem;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.first-item .first-price{display:block;font-size:.9rem;color:var(--muted);font-variant-numeric:tabular-nums}
.first-item .buy-button{grid-column:1/-1}
.buy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;background:var(--teal);color:#fff;border-radius:7px;font-weight:600;font-size:1rem;text-decoration:none;transition:background .2s}
.buy-button:hover,.buy-button:focus-visible{background:var(--deep)}
.product-list{margin-top:34px}
.product-list h2{margin:18px 0 20px}
.total-box{display:flex;flex-direction:column;gap:4px;padding:18px 22px;background:#fbf3e8;border:1px solid var(--line);border-radius:12px;max-width:560px}
.total-box strong{font-family:var(--head);font-size:2rem;line-height:1.1;color:var(--coral-text);font-variant-numeric:tabular-nums}
.total-box span:last-child{font-size:.95rem;color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.product-card{position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.product-card>img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:var(--paper)}
.product-card .act-number{position:absolute;top:10px;left:10px;display:grid;place-items:center;min-width:34px;height:34px;border-radius:50%;background:#fff;color:var(--teal);font-family:var(--head);box-shadow:0 1px 4px rgba(0,0,0,.15)}
.product-copy{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.product-copy h3{font-size:1.05rem;line-height:1.35;margin:0;overflow-wrap:anywhere}
.product-copy p{margin:0;font-size:.95rem}
.product-copy .product-price{font-family:var(--head);font-size:1.45rem;color:var(--coral-text);font-variant-numeric:tabular-nums}
.product-copy .product-meta{color:var(--muted);font-size:.9rem}
.product-copy .buy-button{margin-top:auto}
@media(max-width:700px){.product-grid{grid-template-columns:1fr}.product-card{flex-direction:row;flex-wrap:wrap}.product-card>img{width:100%}}

/* Comparação e ferramentas (L12) */
.compare-range{color:var(--muted);margin:0 0 16px}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff;margin:14px 0}
.compare-table{border-collapse:collapse;width:100%;min-width:640px;font-size:.95rem}
.compare-table th,.compare-table td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.compare-table thead th{background:#fbf3e8}
.compare-table tbody th{font-weight:600;max-width:320px}
.product-copy h4{margin:0;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.tool-box{margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.tool-box>h2{grid-column:1/-1;margin:0}
.tool-form{display:grid;gap:14px;padding:20px;background:#fbf3e8;border:1px solid var(--line);border-radius:12px}
.tool-form label{display:grid;gap:6px;font-weight:600}
.tool-form input{min-height:48px;padding:10px 12px;font:inherit;border:1px solid var(--line);border-radius:7px;background:#fff;width:100%;box-sizing:border-box}
.tool-form small{font-weight:400;color:var(--muted)}
.tool-result{padding:20px;background:#fff;border:1px solid var(--line);border-radius:12px}
.tool-result h3{margin:0 0 10px}
.tool-result dl{margin:0;display:grid;gap:0}
.tool-result dl>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.tool-result dt{color:var(--muted)}
.tool-result dd{margin:0;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}
.tool-note{font-size:.9rem;color:var(--muted);margin:12px 0 0}
@media(max-width:700px){.tool-box{grid-template-columns:1fr}}
