/* Grade de aparelhos: regras isoladas do restante da página. */
#phone-catalog{display:grid;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-rows:1fr;gap:18px;overflow:visible;scroll-snap-type:none;padding-bottom:0}
#phone-catalog .phone-card{display:flex;flex-direction:column;min-width:0;height:100%;padding:14px;background:#fff;border:1px solid #e7e7eb;border-radius:10px;box-shadow:0 2px 7px #00000004}
#phone-catalog .product-top{display:flex;justify-content:space-between;align-items:center;min-height:32px;margin-bottom:8px;gap:6px}
#phone-catalog .product-badge{font-size:10px;font-weight:700;color:var(--red)}
#phone-catalog .product-favorite{flex-shrink:0;width:32px;height:32px;border:0;background:transparent;color:#777;font:26px/1 Arial,sans-serif;cursor:pointer;border-radius:5px}
#phone-catalog .product-favorite[aria-pressed=true]{color:var(--red)}
#phone-catalog .product-favorite:focus-visible{outline:2px solid var(--red);outline-offset:2px}
#phone-catalog .product-photo{height:180px;flex:0 0 180px;padding:12px;margin:0 0 14px;display:flex;align-items:center;justify-content:center;background:white}
#phone-catalog .product-photo img{width:100%;height:100%;object-fit:contain}
#phone-catalog h3{font-size:16px;font-weight:700;line-height:1.25;height:2.5em;min-height:2.5em;margin:0 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#phone-catalog .old-price{display:block;height:18px;flex:0 0 18px;font-size:12px;line-height:18px;color:#888}
#phone-catalog .product-price{display:block;font-size:27px;font-weight:700;line-height:1.2;margin:4px 0 8px;color:var(--red);white-space:nowrap}
#phone-catalog .payment{font-size:13px;line-height:1.35;height:2.7em;min-height:2.7em;margin:0 0 8px;color:#555;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#phone-catalog .product-extra{font-size:13px;line-height:1.35;height:2.7em;min-height:2.7em;margin:0 0 14px;color:var(--red);font-weight:600}
#phone-catalog .phone-card>.btn{margin-top:auto;min-height:42px;width:100%;padding:10px 5px;font-size:14px;line-height:20px}
@media(max-width:1199px){#phone-catalog{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:899px){#phone-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#phone-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#phone-catalog .phone-card{padding:10px}#phone-catalog .product-photo{height:155px;flex-basis:155px;padding:8px}#phone-catalog h3{font-size:14px}#phone-catalog .product-price{font-size:25px}#phone-catalog .payment,#phone-catalog .product-extra{font-size:12px}}
@media(max-width:359px){#phone-catalog{grid-template-columns:1fr}}

/* Hierarquia visual dos cards Solucione. */
#phone-catalog .phone-card{padding:16px;border-radius:14px;box-shadow:0 4px 12px rgba(0,0,0,.05)}
#phone-catalog .product-top{order:0}
#phone-catalog .product-photo{order:1;height:200px;flex-basis:200px;padding:12px;margin-bottom:16px}
#phone-catalog .product-photo img{object-position:center}
#phone-catalog .product-brand{order:2;display:block;min-height:18px;line-height:18px;margin-bottom:5px;color:var(--red);font-size:12px;font-weight:500}
#phone-catalog h3{order:3;margin-bottom:14px}
#phone-catalog .payment{order:4;height:auto;min-height:3.7em;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid #eee;display:block;overflow:visible;-webkit-line-clamp:unset}
#phone-catalog .old-price{order:5;text-align:center}
#phone-catalog .product-price{order:6;text-align:center;font-size:28px;margin:4px 0 10px}
#phone-catalog .product-extra{order:7;text-align:center;min-height:2.7em;height:auto}
#phone-catalog .phone-card>.btn{order:8;border-radius:22px;min-height:44px}
@media(max-width:650px){#phone-catalog .phone-card{padding:12px}#phone-catalog .product-photo{height:180px;flex-basis:180px;padding:8px}#phone-catalog .product-price{font-size:25px}}
@media(max-width:650px){#phone-catalog h3{height:3.75em;min-height:3.75em;-webkit-line-clamp:unset;display:block;overflow:visible}}

/* Hierarquia do preço principal, preservando seu texto monetário. */
#phone-catalog .product-price{display:flex;align-items:baseline;justify-content:center;height:33.6px;line-height:1;gap:0;font-variant-numeric:lining-nums tabular-nums}
#phone-catalog .price-currency{font-size:14px;font-weight:600;letter-spacing:0;margin-right:2px}
#phone-catalog .price-integer{font-size:34px;font-weight:750;letter-spacing:-1px}
#phone-catalog .price-cents{font-size:16px;font-weight:650;letter-spacing:-.3px;align-self:flex-start;margin-top:3px}
@media(max-width:650px){#phone-catalog .product-price{height:30px}#phone-catalog .price-integer{font-size:30px}#phone-catalog .price-currency{font-size:12px}#phone-catalog .price-cents{font-size:14px}}
