:root{
  --orange:#ff5a00;
  --orange-dark:#ef4200;
  --orange-soft:#fff0e7;
  --ink:#171719;
  --muted:#74747a;
  --surface:#fff;
  --bg:#f4f4f6;
  --line:#e8e8ec;
  --green:#1f9d63;
  --shadow:0 12px 38px rgba(26,26,28,.08);
}

*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html,body{margin:0;min-height:100%;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:var(--bg)}
button,textarea{font:inherit}
button{cursor:pointer}
[hidden]{display:none!important}

body.mdc-agent-page{padding-bottom:82px;overflow-x:hidden}
.agent-app{min-height:100dvh}

.agent-topbar{
  position:sticky;top:0;z-index:50;
  height:64px;padding:8px 13px;
  display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:10px;align-items:center;
  background:rgba(255,255,255,.92);border-bottom:1px solid rgba(230,230,234,.9);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)
}
.agent-icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#222;display:grid;place-items:center;font-size:18px}
.agent-brand{min-width:0;display:flex;align-items:center;justify-content:center;gap:9px}
.agent-brand img{width:36px;height:36px;border-radius:12px;background:#111;object-fit:contain}
.agent-brand div{min-width:0}
.agent-brand small,.agent-brand strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agent-brand small{font-size:9px;font-weight:900;color:var(--orange);text-transform:uppercase;letter-spacing:.06em}
.agent-brand strong{margin-top:2px;font-size:13px;font-weight:950}

.agent-hero{
  min-height:calc(100dvh - 146px);padding:42px 18px 28px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:
    radial-gradient(circle at 50% 5%,rgba(255,90,0,.16),transparent 35%),
    linear-gradient(180deg,#fff 0%,#f7f7f8 100%);
}
.agent-orbit{position:relative;width:92px;height:92px;margin-bottom:24px;border-radius:30px;background:#111;color:var(--orange);display:grid;place-items:center;font-size:34px;box-shadow:0 20px 42px rgba(0,0,0,.18)}
.agent-orbit:before,.agent-orbit:after{content:"";position:absolute;border:1px solid rgba(255,90,0,.28);border-radius:50%;animation:orbitPulse 2.6s infinite}
.agent-orbit:before{inset:-13px}.agent-orbit:after{inset:-27px;animation-delay:.45s}
.agent-orbit span{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--orange);box-shadow:0 0 18px rgba(255,90,0,.8)}
.agent-orbit span:nth-child(1){top:-16px;left:40px}.agent-orbit span:nth-child(2){right:-19px;bottom:20px}.agent-orbit span:nth-child(3){left:-17px;bottom:11px}
@keyframes orbitPulse{50%{transform:scale(1.05);opacity:.5}}

.agent-hero-copy{max-width:680px;text-align:center}
.agent-kicker{display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--orange-soft);color:var(--orange-dark);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.05em}
.agent-hero h1{margin:15px 0 12px;font-size:clamp(34px,8vw,58px);line-height:.98;letter-spacing:-.055em;font-weight:950}
.agent-hero p{max-width:560px;margin:0 auto;color:var(--muted);font-size:14px;line-height:1.55}

.agent-hero-search{width:min(720px,100%);margin-top:28px;padding:8px;display:flex;align-items:flex-end;gap:8px;border:1px solid #dedee3;border-radius:25px;background:#fff;box-shadow:0 18px 50px rgba(22,22,24,.12)}
.agent-hero-search textarea{flex:1;min-width:0;min-height:44px;max-height:120px;padding:12px 4px 9px;border:0;outline:0;resize:none;background:transparent;color:var(--ink);font-size:15px;line-height:1.35}
.agent-hero-search textarea::placeholder{color:#a1a1a7}
.agent-photo-btn,.agent-submit{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;display:grid;place-items:center;font-size:18px}
.agent-photo-btn{background:var(--orange-soft);color:var(--orange)}
.agent-submit{background:linear-gradient(135deg,var(--orange),#ff2f00);color:#fff;box-shadow:0 8px 18px rgba(255,90,0,.28)}

.agent-suggestions{width:min(720px,100%);margin-top:12px;display:flex;gap:8px;overflow-x:auto;padding:2px 1px 4px;scrollbar-width:none}
.agent-suggestions::-webkit-scrollbar{display:none}
.agent-suggestions button{flex:0 0 auto;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#4c4c52;font-size:11px;font-weight:800}
.agent-live-data{margin-top:22px;display:flex;gap:14px;flex-wrap:wrap;justify-content:center;color:#777;font-size:10px;font-weight:800}
.agent-live-data span{display:flex;align-items:center;gap:6px}
.agent-live-data i{color:var(--orange)}

.agent-workspace{max-width:1080px;margin:0 auto;padding:22px 14px 150px}
.agent-query-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}
.agent-query-row small{display:block;color:var(--orange);font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.agent-query-row h2{margin:4px 0 0;font-size:21px;line-height:1.15;letter-spacing:-.025em}
.agent-query-row button{height:38px;padding:0 13px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#333;font-size:11px;font-weight:900;display:flex;align-items:center;gap:6px}

.agent-progress{margin-bottom:14px;padding:11px 13px;border:1px solid var(--line);border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;gap:9px;color:#aaa}
.agent-progress>div{display:flex;align-items:center;gap:6px;color:#999;transition:.2s}
.agent-progress>div span{width:28px;height:28px;border-radius:10px;background:#f2f2f4;display:grid;place-items:center}
.agent-progress>div strong{font-size:10px}
.agent-progress>i{font-size:10px;color:#d2d2d7}
.agent-progress>div.is-active{color:var(--orange)}
.agent-progress>div.is-active span{background:var(--orange-soft);animation:stepPulse 1.3s infinite}
.agent-progress>div.is-done{color:var(--green)}
.agent-progress>div.is-done span{background:#eaf8f1}
@keyframes stepPulse{50%{transform:scale(1.07)}}

.agent-brief{padding:16px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.agent-brief>header{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center}
.agent-ai-mark{width:44px;height:44px;border-radius:15px;background:#111;color:var(--orange);display:grid;place-items:center;font-size:21px}
.agent-brief header small,.agent-brief header strong{display:block}
.agent-brief header small{color:var(--orange);font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.agent-brief header strong{margin-top:3px;font-size:14px;font-weight:950}
.agent-state{padding:6px 9px;border-radius:999px;background:#fff3eb;color:var(--orange);font-size:9px;font-weight:900}
.agent-state.is-done{background:#eaf8f1;color:var(--green)}
.agent-state.is-error{background:#fff0f0;color:#d63232}
.agent-analysis-text{margin-top:15px;color:#3d3d42;font-size:14px;line-height:1.58}
.agent-analysis-text p{margin:0 0 10px}.agent-analysis-text p:last-child{margin-bottom:0}
.agent-analysis-text h3,.agent-analysis-text h4{margin:14px 0 7px;color:#202024}
.agent-analysis-text ul{margin:7px 0 7px 18px;padding:0}.agent-analysis-text li{margin:4px 0}
.agent-thinking{display:flex;gap:6px;padding:8px 0}.agent-thinking span{width:8px;height:8px;border-radius:50%;background:var(--orange);animation:thinking 1.2s infinite}.agent-thinking span:nth-child(2){animation-delay:.15s}.agent-thinking span:nth-child(3){animation-delay:.3s}
@keyframes thinking{50%{transform:translateY(-5px);opacity:.45}}
.agent-facts{display:flex;gap:7px;overflow-x:auto;margin-top:13px;padding-bottom:2px;scrollbar-width:none}.agent-facts span{flex:0 0 auto;display:flex;align-items:center;gap:5px;padding:7px 9px;border-radius:10px;background:#f5f5f7;color:#59595f;font-size:10px;font-weight:850}.agent-facts i{color:var(--orange)}
.agent-actions{display:flex;gap:8px;overflow-x:auto;margin-top:14px;padding:1px;scrollbar-width:none}.agent-actions::-webkit-scrollbar{display:none}.agent-actions button{flex:0 0 auto;min-height:36px;padding:0 12px;border:1px solid #ffd3ba;border-radius:999px;background:#fff7f2;color:#d94d00;font-size:10px;font-weight:900}

.agent-products{margin-top:18px}
.agent-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:11px}
.agent-section-title small{display:block;color:var(--orange);font-size:9px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.agent-section-title h3{margin:3px 0 0;font-size:19px;letter-spacing:-.025em}
.agent-section-title>span{color:#888;font-size:10px;font-weight:800}
.agent-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.agent-product-card{position:relative;min-width:0;border:1px solid var(--line);border-radius:17px;background:#fff;overflow:hidden;box-shadow:0 4px 14px rgba(0,0,0,.045)}
.agent-discount{position:absolute;top:9px;left:9px;z-index:2;padding:5px 7px;border-radius:7px;background:#ff321f;color:#fff;font-size:11px;font-weight:950}
.agent-product-image{height:155px;padding:10px;background:#fff;display:flex;align-items:center;justify-content:center}
.agent-product-image img{width:100%;height:100%;object-fit:contain}
.agent-product-body{padding:10px}
.agent-product-tag{display:inline-block;padding:4px 6px;border-radius:6px;background:#111;color:#fff;font-size:8px;font-weight:950}
.agent-product-card h4{height:34px;margin:7px 0 0;overflow:hidden;color:#26262a;font-size:13px;line-height:1.28;font-weight:750}
.agent-product-price{margin-top:8px;display:flex;align-items:baseline;gap:5px;flex-wrap:wrap}
.agent-product-price strong{color:var(--orange);font-size:18px;font-weight:950}
.agent-product-price del{color:#999;font-size:10px}
.agent-product-origin{margin-top:7px;display:flex;align-items:center;gap:5px;color:#666;font-size:10px}
.agent-product-card button{width:100%;height:38px;margin-top:9px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--orange),#ff2f00);color:#fff;font-size:11px;font-weight:950}

.agent-composer{position:fixed;left:12px;right:12px;bottom:84px;z-index:45;max-width:720px;margin:auto;padding:7px;border:1px solid #dedee3;border-radius:23px;background:rgba(255,255,255,.95);box-shadow:0 15px 45px rgba(20,20,22,.18);backdrop-filter:blur(14px);display:none;align-items:flex-end;gap:7px}
.agent-composer.is-visible{display:flex}
.agent-composer>button{width:42px;height:42px;flex:0 0 42px;border:0;border-radius:50%;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}
.agent-composer textarea{flex:1;min-width:0;min-height:42px;max-height:120px;padding:11px 3px 8px;border:0;outline:0;resize:none;background:transparent;font-size:13px;line-height:1.35}
.agent-composer .agent-composer-send{background:var(--orange);color:#fff}

.agent-history{position:fixed;inset:0 auto 0 0;z-index:10001;width:min(88vw,390px);padding:0 12px 20px;background:#f6f6f8;box-shadow:20px 0 50px rgba(0,0,0,.25);transform:translateX(-105%);transition:.25s;overflow:auto}
.agent-history.is-open{transform:translateX(0)}
.agent-history>header{position:sticky;top:0;margin:0 -12px;padding:15px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,var(--orange),#ff2f00);color:#fff}
.agent-history header small,.agent-history header strong{display:block}.agent-history header small{font-size:9px;font-weight:850;opacity:.85}.agent-history header strong{font-size:17px;font-weight:950}.agent-history header button{width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.18);color:#fff}
.agent-new-search{width:100%;height:46px;margin:12px 0;border:0;border-radius:999px;background:#111;color:#fff;font-weight:900}
.agent-history-list{display:grid;gap:7px}.agent-history-list>button{width:100%;padding:10px;border:1px solid var(--line);border-radius:15px;background:#fff;display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:center;text-align:left}.agent-history-list>button>i{width:34px;height:34px;border-radius:11px;background:var(--orange-soft);color:var(--orange);display:grid;place-items:center}.agent-history-list strong,.agent-history-list small{display:block}.agent-history-list strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-history-list small{margin-top:3px;color:#999;font-size:9px}.agent-history-list p{text-align:center;color:#999;font-size:12px}
.agent-history-overlay{position:fixed;inset:0;z-index:10000;background:rgba(0,0,0,.5);backdrop-filter:blur(4px);opacity:0;pointer-events:none;transition:.25s}.agent-history-overlay.is-open{opacity:1;pointer-events:auto}

.agent-modal{position:fixed;inset:0;z-index:10002;padding:14px;background:rgba(0,0,0,.62);backdrop-filter:blur(5px);display:none;align-items:center;justify-content:center}.agent-modal.is-open{display:flex}.agent-modal-card{position:relative;width:100%;max-width:420px;padding:20px;border-radius:25px;background:#fff;text-align:center;box-shadow:0 24px 70px rgba(0,0,0,.3)}.agent-modal-close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f1f3}.agent-modal-icon{width:58px;height:58px;margin:0 auto 10px;border-radius:19px;background:#111;color:var(--orange);display:grid;place-items:center;font-size:24px}.agent-modal-card>small{color:var(--orange);font-size:9px;font-weight:950;text-transform:uppercase}.agent-modal-card h3{margin:5px 0 8px}.agent-modal-card p{margin:0;color:#666;font-size:12px;line-height:1.5}.agent-modal-note{margin-top:12px;padding:10px;border-radius:14px;background:var(--orange-soft);color:#744020;font-size:10px;line-height:1.4;text-align:left}.agent-modal-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:8px;margin-top:14px}.agent-modal-actions button{height:44px;border:0;border-radius:999px;font-weight:900}.agent-modal-actions button:first-child{background:#eee}.agent-modal-actions button:last-child{background:var(--orange);color:#fff}

@media(min-width:720px){
  .agent-topbar{padding-left:max(24px,calc((100vw - 1080px)/2));padding-right:max(24px,calc((100vw - 1080px)/2))}
  .agent-products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .agent-product-image{height:175px}
  .agent-workspace{padding-top:30px}
}

@media(max-width:370px){
  .agent-progress>div strong{display:none}
  .agent-progress{gap:12px}
  .agent-hero h1{font-size:32px}
  .agent-products-grid{gap:8px}
  .agent-product-image{height:140px}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}


/* === v42: seletor de marketplaces acionado por compare/comparar === */
.agent-compare-card{text-align:left;max-width:460px}
.agent-compare-card>.agent-modal-icon{margin-left:0}
.agent-compare-card>small,.agent-compare-card>h3,.agent-compare-card>p{text-align:left}
.agent-marketplace-list{display:grid;gap:9px;margin-top:16px}
.agent-marketplace-option{position:relative;display:grid;grid-template-columns:24px 42px minmax(0,1fr);gap:10px;align-items:center;min-height:66px;padding:10px 12px;border:1px solid var(--line);border-radius:17px;background:#fff;cursor:pointer;transition:.18s ease}
.agent-marketplace-option:has(input:checked){border-color:#ffb78d;background:#fff8f3;box-shadow:0 5px 16px rgba(255,90,0,.08)}
.agent-marketplace-option input{position:absolute;opacity:0;pointer-events:none}
.agent-marketplace-check{width:22px;height:22px;border:2px solid #d9d9de;border-radius:7px;background:#fff;color:#fff;display:grid;place-items:center;font-size:12px}
.agent-marketplace-option input:checked+.agent-marketplace-check{border-color:var(--orange);background:var(--orange)}
.agent-marketplace-logo{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:14px;font-weight:950}
.agent-marketplace-logo.amazon{background:#111;color:#ff9900;font-size:20px}
.agent-marketplace-logo.ml{background:#ffe600;color:#2d3277}
.agent-marketplace-logo.shopee{background:#ee4d2d}
.agent-marketplace-logo.ali{background:linear-gradient(135deg,#ff4747,#ff7a00)}
.agent-marketplace-option strong,.agent-marketplace-option small{display:block}
.agent-marketplace-option strong{font-size:13px;color:#232327}
.agent-marketplace-option small{margin-top:3px;color:#8a8a90;font-size:10px;line-height:1.3}
.agent-compare-error{margin-top:10px;padding:9px 10px;border-radius:12px;background:#fff0f0;color:#c93636;font-size:10px;font-weight:850}
.agent-compare-card .agent-modal-actions button:last-child{display:flex;align-items:center;justify-content:center;gap:7px}
@media(max-width:420px){.agent-compare-card{padding:17px}.agent-marketplace-option{min-height:62px;padding:9px 10px}.agent-marketplace-logo{width:38px;height:38px}}


/* v44 — o card inteiro abre o modal de afiliado */
.agent-product-card{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.agent-product-card:hover{transform:translateY(-2px);border-color:#ffd1b8;box-shadow:0 10px 24px rgba(0,0,0,.08)}
.agent-product-card:active{transform:scale(.985)}
.agent-product-card:focus-visible{outline:3px solid rgba(255,90,0,.22);outline-offset:3px}
.agent-product-card button{cursor:pointer}


/* v46: ações rápidas automáticas removidas da recomendação */
#agentActions{display:none!important}


/* === v47: cabeçalho no padrão visual das demais páginas mobile === */
.agent-topbar{
  position:sticky;
  top:0;
  z-index:50;
  height:68px;
  padding:9px 12px 10px;
  display:grid;
  grid-template-columns:40px 40px minmax(0,1fr) 40px;
  gap:7px;
  align-items:center;
  color:#fff;
  background:linear-gradient(135deg,#ff5a00 0%,#ff2f00 100%);
  border:0;
  border-radius:0 0 22px 22px;
  box-shadow:0 8px 24px rgba(255,74,0,.20);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.agent-topbar::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:0 0 22px 22px;
  background:radial-gradient(circle at 86% 12%,rgba(255,255,255,.18),transparent 26%);
}
.agent-topbar>*{position:relative;z-index:1}
.agent-icon-btn{
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:19px;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
}
.agent-icon-btn:active{transform:scale(.95);background:rgba(255,255,255,.26)}
.agent-brand{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:0;
}
.agent-brand img{display:none!important}
.agent-brand div{min-width:0}
.agent-brand small,.agent-brand strong{
  display:block;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.agent-brand small{
  font-size:9px;
  line-height:1.1;
  font-weight:850;
  text-transform:none;
  letter-spacing:0;
  opacity:.88;
}
.agent-brand strong{
  margin-top:1px;
  font-size:14px;
  line-height:1.08;
  font-weight:950;
}
@media(min-width:720px){
  .agent-topbar{
    padding-left:max(14px,calc((100vw - 1080px)/2));
    padding-right:max(14px,calc((100vw - 1080px)/2));
    grid-template-columns:40px 40px minmax(0,1fr) 40px;
  }
}
@media(max-width:360px){
  .agent-topbar{grid-template-columns:38px 38px minmax(0,1fr) 38px;padding-left:9px;padding-right:9px}
  .agent-icon-btn{width:38px;height:38px}
  .agent-brand strong{font-size:13px}
}


/* === v48: cabeçalho corrigido — título livre e histórico à direita === */
.agent-topbar{
  grid-template-columns:40px minmax(0,1fr) 40px!important;
}
.agent-brand{
  justify-content:flex-start!important;
  padding-left:1px;
}
.agent-history-btn{
  justify-self:end;
}
@media(min-width:720px){
  .agent-topbar{grid-template-columns:40px minmax(0,1fr) 40px!important}
}
@media(max-width:360px){
  .agent-topbar{grid-template-columns:38px minmax(0,1fr) 38px!important}
}


/* === v49: filtro local dos produtos encontrados === */
.agent-product-filter{
  position:relative;
  display:grid;
  grid-template-columns:20px minmax(0,1fr) 34px;
  align-items:center;
  gap:7px;
  min-height:46px;
  margin:0 0 12px;
  padding:0 7px 0 13px;
  border:1px solid #e4e4e8;
  border-radius:15px;
  background:#fff;
  box-shadow:0 3px 12px rgba(0,0,0,.035);
}
.agent-product-filter:focus-within{
  border-color:#ffb88f;
  box-shadow:0 0 0 3px rgba(255,90,0,.10);
}
.agent-product-filter>i{
  color:#ff5a00;
  font-size:15px;
}
.agent-product-filter input{
  min-width:0;
  width:100%;
  height:44px;
  padding:0;
  border:0;
  outline:0;
  background:transparent;
  color:#202024;
  font:750 12px/1.2 Arial,Helvetica,sans-serif;
}
.agent-product-filter input::placeholder{
  color:#99999f;
  font-weight:650;
}
.agent-product-filter input::-webkit-search-cancel-button{display:none}
.agent-product-filter button{
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:#f1f1f3;
  color:#666;
  display:grid;
  place-items:center;
}
.agent-product-filter button[hidden]{display:none!important}
.agent-product-filter-info{
  margin:-3px 1px 10px;
  color:#777;
  font-size:10px;
  font-weight:700;
}
.agent-product-filter-info strong{color:#ff5a00}
.agent-products-empty{
  min-height:210px;
  padding:30px 18px;
  border:1px dashed #dedee3;
  border-radius:18px;
  background:#fff;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#777;
}
.agent-products-empty[hidden]{display:none!important}
.agent-products-empty>i{
  width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  margin-bottom:10px;
  background:#fff0e7;
  color:#ff5a00;
  font-size:21px;
}
.agent-products-empty strong{
  color:#222;
  font-size:14px;
}
.agent-products-empty span{
  margin-top:5px;
  font-size:11px;
}
.agent-products-empty button{
  min-height:36px;
  margin-top:14px;
  padding:0 15px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:900;
}


/* v50 — sugestão contextual de comparação em tempo real */
.agent-compare-suggestion{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  margin-top:14px;
  padding:13px;
  border:1px solid #ffd7c2;
  border-radius:18px;
  background:linear-gradient(135deg,#fff8f3,#fff);
  box-shadow:0 7px 22px rgba(255,90,0,.08);
}
.agent-compare-suggestion-icon{
  width:44px;
  height:44px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:#ff5a00;
  color:#fff;
  font-size:19px;
  box-shadow:0 7px 16px rgba(255,90,0,.22);
}
.agent-compare-suggestion-copy{min-width:0}
.agent-compare-suggestion-copy strong,
.agent-compare-suggestion-copy span{display:block}
.agent-compare-suggestion-copy strong{
  color:#191919;
  font-size:13px;
  font-weight:950;
  line-height:1.2;
}
.agent-compare-suggestion-copy span{
  margin-top:4px;
  color:#747474;
  font-size:11px;
  line-height:1.35;
}
.agent-compare-suggestion-copy b{color:#4b4b4b}
.agent-compare-suggestion>button{
  min-height:40px;
  padding:0 13px;
  border:0;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#111;
  color:#fff;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}
.agent-compare-suggestion>button:active{transform:scale(.97)}
@media(max-width:560px){
  .agent-compare-suggestion{
    grid-template-columns:40px minmax(0,1fr);
  }
  .agent-compare-suggestion-icon{width:40px;height:40px;border-radius:14px}
  .agent-compare-suggestion>button{
    grid-column:1/-1;
    width:100%;
    min-height:42px;
  }
}


/* v51 — convite de comparação integrado ao texto */
.agent-inline-compare{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:4px;
  color:#e94f00;
  font-weight:900;
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
  cursor:pointer;
}
.agent-inline-compare i{
  font-size:14px;
  flex:0 0 auto;
}
.agent-inline-compare:active{opacity:.72}


/* =========================================================
   V58 — SINO DE ALERTA NO CANTO SUPERIOR DIREITO
   Corrige o estilo genérico dos botões do card.
========================================================= */
.agent-product-card{
  position:relative;
}

.agent-product-card > .agent-alert-button{
  position:absolute !important;
  top:9px !important;
  right:9px !important;
  left:auto !important;
  bottom:auto !important;
  z-index:12 !important;

  width:36px !important;
  min-width:36px !important;
  max-width:36px !important;
  height:36px !important;
  min-height:36px !important;

  margin:0 !important;
  padding:0 !important;

  display:grid !important;
  place-items:center !important;

  border:1px solid rgba(255,90,0,.22) !important;
  border-radius:50% !important;

  color:#ff5a00 !important;
  background:rgba(255,255,255,.97) !important;

  box-shadow:0 4px 14px rgba(0,0,0,.14) !important;

  font-size:17px !important;
  line-height:1 !important;

  cursor:pointer;
  touch-action:manipulation;
}

.agent-product-card > .agent-alert-button i{
  margin:0 !important;
  padding:0 !important;
  color:inherit !important;
  font-size:17px !important;
  line-height:1 !important;
  pointer-events:none;
}

.agent-product-card > .agent-alert-button:active{
  transform:scale(.92);
}

.agent-product-card > .agent-alert-button.ativo{
  color:#fff !important;
  border-color:#ff5a00 !important;
  background:linear-gradient(135deg,#ff7a00,#ff3b00) !important;
}

.agent-product-card > .agent-alert-button:disabled{
  opacity:.62;
  cursor:wait;
}

/* =========================================================
   V59 — FILTROS RÁPIDOS E REORGANIZAÇÃO LOCAL DOS CARDS
========================================================= */
.agent-quick-filters{
  display:flex;
  gap:8px;
  overflow-x:auto;
  margin:0 0 10px;
  padding:1px 1px 5px;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.agent-quick-filters::-webkit-scrollbar{
  display:none;
}

.agent-quick-filters button{
  flex:0 0 auto;
  min-height:36px;
  margin:0;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid #e5e5e9;
  border-radius:999px;
  background:#fff;
  color:#55565c;
  box-shadow:0 3px 10px rgba(0,0,0,.035);
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  scroll-snap-align:start;
  transition:
    color .16s ease,
    background .16s ease,
    border-color .16s ease,
    transform .16s ease;
}

.agent-quick-filters button i{
  color:#ff5a00;
  font-size:13px;
}

.agent-quick-filters button:active{
  transform:scale(.96);
}

.agent-quick-filters button.is-active{
  color:#fff;
  border-color:#ff5a00;
  background:linear-gradient(135deg,#ff6a00,#ff3b00);
  box-shadow:0 6px 14px rgba(255,90,0,.18);
}

.agent-quick-filters button.is-active i{
  color:#fff;
}

.agent-local-feedback{
  min-height:34px;
  margin:-2px 0 10px;
  padding:8px 11px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid #dff2e8;
  border-radius:12px;
  background:#f2fbf6;
  color:#21845a;
  font-size:10px;
  line-height:1.3;
  font-weight:850;
}

.agent-local-feedback[hidden]{
  display:none!important;
}

.agent-local-feedback i{
  flex:0 0 auto;
  font-size:13px;
}

@media(max-width:420px){
  .agent-quick-filters{
    margin-left:-1px;
    margin-right:-1px;
  }

  .agent-quick-filters button{
    min-height:35px;
    padding:0 12px;
    font-size:10px;
  }
}
.agent-photo-input {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

