:root { color-scheme: light; font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #281d1a; background: #fffaf7; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-rows: auto auto 1fr auto; }
.demo-banner { background: #2a1e1a; color: #fff; padding: 10px 18px; text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.site-header { height: 64px; display: flex; align-items: center; gap: 11px; padding: 0 max(20px, calc((100% - 1120px) / 2)); border-bottom: 1px solid #eaded9; background: #fff; font-weight: 800; }
.brand { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #ee4d2d; color: #fff; text-decoration: none; font-size: .82rem; }
.admin-link { margin-left: auto; color: #75645f; text-decoration: none; font-size: .86rem; }
main { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 52px 0 72px; }
.hero { max-width: 800px; }
.eyebrow { color: #d94626; font-size: .74rem; font-weight: 900; letter-spacing: .12em; margin: 0 0 14px; }
h1 { font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: .94; letter-spacing: -.055em; margin: 0; }
.intro { max-width: 610px; color: #705f59; font-size: 1.08rem; line-height: 1.55; margin: 24px 0 36px; }
label { display: block; font-size: .88rem; font-weight: 800; margin-bottom: 9px; }
.search-row { display: flex; gap: 10px; padding: 7px; background: #fff; border: 1px solid #dfd2cd; border-radius: 16px; box-shadow: 0 12px 35px rgba(69, 39, 28, .08); }
input { flex: 1; min-width: 0; border: 0; border-radius: 11px; padding: 13px; font: inherit; outline: none; }
.search-row button, .buy-button { border: 0; border-radius: 11px; background: #ee4d2d; color: #fff; font: inherit; font-weight: 850; padding: 13px 21px; cursor: pointer; }
.shortcuts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.shortcuts button { border: 1px solid #dfd2cd; border-radius: 999px; background: #fff; color: #594843; padding: 8px 13px; cursor: pointer; font-weight: 700; }
.status { margin: 42px 0 20px; padding-top: 18px; border-top: 1px solid #eaded9; color: #75645f; min-height: 50px; }
.status.loading { color: #c13d21; }
.status.error { color: #a32222; }
.status.success { color: #29643d; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid #eaded9; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(69, 39, 28, .07); }
.product-visual { aspect-ratio: 16 / 9; display: grid; place-items: center; background: linear-gradient(135deg, #f7e5de, #fff4ee); color: #c87b69; font-weight: 900; letter-spacing: .16em; font-size: .72rem; }
.product-body { padding: 20px; min-width: 0; }
.product-meta { display: flex; flex-wrap: wrap; gap: 7px; min-height: 26px; }
.product-meta span { border-radius: 999px; background: #f5efec; padding: 5px 8px; font-size: .72rem; font-weight: 750; }
.product-meta .official { color: #fff; background: #513b34; }
.product-card h2 { font-size: 1.02rem; line-height: 1.35; min-height: 2.7em; margin: 15px 0; overflow-wrap: anywhere; }
.price { font-size: 1.65rem; font-weight: 900; margin: 0; }
.price-note { color: #806e68; font-size: .73rem; line-height: 1.35; min-height: 2em; }
.buy-button { display: block; text-align: center; text-decoration: none; margin-top: 16px; font-size: .86rem; }
footer { padding: 20px; text-align: center; background: #281d1a; color: #f8ece7; font-size: .82rem; }
.amazon-panel { margin-top: 24px; padding: 22px; border: 1px solid #dfd2cd; border-radius: 16px; background: #fff; max-width: 610px; }
.amazon-panel p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.amazon-button { background: #ffcf70; color: #281d1a; }
.amazon-button:hover { background: #ffc14d; }
.amazon-button:focus-visible { outline: 3px solid #281d1a; outline-offset: 3px; }
body[data-fonte="api"], body[data-fonte="desativada"] { grid-template-rows: auto 1fr auto; }
.metrics-list { padding-left: 22px; line-height: 1.7; overflow-wrap: anywhere; }
.admin-shell { max-width: 980px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field label { color: #705f59; }
.field input, .field select { width: 100%; border: 1px solid #dfd2cd; border-radius: 10px; padding: 11px; background: #fff; font: inherit; }
.admin-actions { margin: 22px 0; }
.diagnostic { background: #281d1a; color: #f8ece7; border-radius: 16px; padding: 20px; overflow: auto; white-space: pre-wrap; }
@media (max-width: 760px) { .results { grid-template-columns: 1fr; } .product-card { display: grid; grid-template-columns: 112px 1fr; } .product-visual { aspect-ratio: auto; } .product-card h2 { min-height: 0; } }
@media (max-width: 480px) { main { width: min(100% - 28px, 1120px); padding-top: 36px; } h1 { font-size: 3rem; } .search-row { flex-direction: column; } .search-row button { width: 100%; } .product-card { grid-template-columns: 88px 1fr; } .product-body { padding: 16px; } .admin-grid { grid-template-columns: 1fr; } }
.capture-mobile { width: 390px; max-width: 390px; overflow-x: hidden; }
.capture-mobile .site-header { padding: 0 18px; }
.capture-mobile main { width: 362px; margin: 0 14px; padding-top: 36px; }
.capture-mobile h1 { font-size: 3rem; }
.capture-mobile .search-row { flex-direction: column; }
.capture-mobile .search-row button { width: 100%; }
.capture-mobile .results { grid-template-columns: 1fr; }
.capture-mobile .product-card { display: grid; grid-template-columns: 88px 1fr; }
.capture-mobile .product-visual { aspect-ratio: auto; }
.capture-mobile .product-body { padding: 16px; }
.capture-mobile footer { width: 390px; }

.market-summary { margin-bottom: 22px; padding: 20px; border: 1px solid #dfd2cd; border-radius: 16px; background: #fff; }
.market-summary h2 { font-size: 1.1rem; margin: 0; }
.market-summary p { line-height: 1.5; }
.price-comparison { font-size: .82rem; font-weight: 700; color: #594843; }

.extra-filter { margin-top: 20px; }
.extra-filter input { width: 100%; border: 1px solid #dfd2cd; background: #fff; }
.filter-summary { color: #705f59; font-size: .86rem; line-height: 1.5; }
a[aria-disabled="true"] { opacity: .6; cursor: default; }
