.order-card{transition:border-color .2s,box-shadow .2s;animation:order-arrive .32s ease both}.order-card:hover{border-color:var(--accent);box-shadow:0 8px 28px #00000009}.order-card summary{padding:22px 24px}.order-preview{display:flex;align-items:center;gap:10px;margin-top:5px;font-size:10px;color:var(--muted)}.order-miniatures{display:flex;padding-right:4px}.order-miniature{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);background:var(--soft);border-radius:8px;overflow:hidden;margin-right:-4px}.order-miniature img{width:100%;height:100%;object-fit:contain;background:white;padding:3px}.order-miniature svg{width:17px;height:17px;color:var(--accent)}
.order-products-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 15px}.order-products-heading h3{font-size:14px;margin:0}.order-products-heading>span{font-size:10px;color:var(--muted)}
.order-items{display:grid;gap:10px}.order-product-row{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:18px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--white)}
.order-item-photo{display:grid;place-items:center;width:86px;height:96px;background:var(--soft);border:1px solid var(--line);border-radius:10px;overflow:hidden}.order-item-photo img{width:100%;height:100%;object-fit:contain;padding:9px;background:white;transition:transform .3s}.order-product-row:hover .order-item-photo img{transform:scale(1.06)}.order-item-photo svg{width:34px;height:34px;color:var(--accent);stroke-width:1.2}
.order-item-description{min-width:0;display:flex;flex-direction:column;gap:7px}.order-item-description>strong{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.order-item-reference{font-size:9px;letter-spacing:.5px;color:var(--muted);overflow-wrap:anywhere}.order-item-description p{font-size:11px;color:var(--muted);line-height:1.6;margin:0;overflow-wrap:anywhere}.order-item-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-top:3px}.order-quantity{padding:5px 9px;border-radius:6px;background:var(--soft);color:var(--ink);font-weight:600}.order-item-amount{display:flex;flex-direction:column;gap:7px;text-align:right}.order-item-amount small{font-size:9px;color:var(--muted)}.order-item-amount strong{font-size:17px;white-space:nowrap;letter-spacing:-.3px}
.order-card[open] .order-card-total small{font-size:0}.order-card[open] .order-card-total small::after{content:'Fechar detalhes ↑';font-size:10px}.order-progress li span{transition:background .25s,transform .25s}.order-progress li[aria-current=step] span{box-shadow:0 0 0 5px var(--soft)}.orders-stats>div{animation:order-arrive .35s ease both}.orders-stats>div:nth-child(2){animation-delay:50ms}.orders-stats>div:nth-child(3){animation-delay:100ms}
@keyframes order-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.order-card summary{padding:17px}.order-product-row{grid-template-columns:58px minmax(0,1fr);padding:12px;gap:12px}.order-item-photo{width:58px;height:72px}.order-item-description>strong{font-size:12px}.order-item-amount{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;border-top:1px solid var(--line);padding-top:10px}.order-item-amount strong{font-size:14px}.order-item-meta{font-size:9px;gap:6px}.order-products-heading h3{font-size:12px}.order-products-heading>span{font-size:9px}}
@media(prefers-reduced-motion:reduce){.order-card,.orders-stats>div{animation:none!important}.order-card,.order-item-photo img,.order-progress li span{transition:none!important}.order-product-row:hover .order-item-photo img{transform:none}}
