.price-badges {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

@media (max-width: 430px) {
  .price-line {
    align-items: flex-start;
  }

  .price-badges {
    max-width: 58%;
  }
}

/* Cards de ofertas: posições constantes mesmo com títulos longos. */
.results > .product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}
.product-card .visual {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 58px;
  height: 58px;
  border: 1px solid #e8edf1;
  border-radius: 12px;
  background: #f7f9fb;
}
.product-card .category-icon { width: 40px; height: 40px; }
.product-card .category-icon .material-symbols-rounded { font-size: 32px; }
.product-card .category-icon img { width: 40px; height: 40px; }
.product-card .card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 16px;
}
.product-card .store { max-width: calc(100% - 68px); min-height: 17px; }
.product-card .card-content h2 {
  min-height: 2.5em;
  overflow-wrap: anywhere;
  padding-right: 58px;
  margin-bottom: 7px;
  font-size: .88rem;
  line-height: 1.3;
}
.product-card .detail {
  overflow-wrap: anywhere;
  margin-bottom: 6px;
  font-size: .7rem;
}
.product-card .sales-badge {
  min-height: 24px;
  margin: 0 0 10px;
  font-size: .66rem;
  white-space: normal;
}
.product-card .price-line { min-height: 42px; flex-wrap: wrap; }
.product-card .current { font-size: 1.28rem; font-weight: 700; }
.product-card .price-badges { max-width: 100%; }
.product-card .history { min-height: 2.8em; margin: 5px 0 8px; line-height: 1.4; }
.product-card .cost-breakdown { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.product-card .cost-breakdown span { font-size: .69rem; }
.product-card .cost-breakdown span:nth-child(3) { grid-column: 1 / -1; }
.product-card .cost-breakdown strong { white-space: normal; overflow-wrap: anywhere; font-size: .74rem; }
.product-card .effective-signal { min-height: 2.8em; line-height: 1.4; }
.product-card .card-footer { margin-top: auto; padding-top: 12px; }
.product-card.has-photo .visual {
  position: static;
  width: 100%;
  height: 152px;
  border: 0;
  border-bottom: 1px solid #e8edf1;
  border-radius: 0;
  background: #fff;
}
.product-card.has-photo .category-icon,
.product-card.has-photo .category-icon img { width: 100%; height: 100%; }
.product-card.has-photo .category-icon img { object-fit: contain; padding: 8px; border-radius: 0; }
.product-card.has-photo .store { max-width: none; }
.product-card.has-photo .card-content h2 { padding-right: 0; }
@media (max-width: 430px) {
  .product-card:not(.has-photo) .card-content h2 { padding-right: 52px; }
  .product-card .price-badges { max-width: 100%; }
}
\n\n/* v0.5.4 — card comercial: produto visível, linguagem simples e hierarquia de conversão */
.results > .product-card{min-height:330px}
.product-card.has-photo{display:grid;grid-template-columns:132px minmax(0,1fr);align-items:start}
.product-card.has-photo .visual{position:static;width:132px;height:132px;margin:16px 0 0 16px;border:1px solid #edf0f2;border-radius:14px;background:#fff;align-self:start}
.product-card.has-photo .category-icon,.product-card.has-photo .category-icon img{width:100%;height:100%}
.product-card.has-photo .category-icon img{object-fit:contain;padding:5px;border-radius:13px}
.product-card.has-photo .card-content{padding:16px 16px 14px 14px}
.product-card .sales-badge{display:none!important}
.product-card .card-content h2{font-size:1rem;line-height:1.28;font-weight:700;min-height:auto;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal}
.product-card .detail{font-size:.72rem;line-height:1.35;margin:0 0 9px;color:#6f7a85}
.product-card .current{font-size:1.5rem;font-weight:800;letter-spacing:-.035em}
.product-card .history{min-height:auto;margin:4px 0 9px;font-size:.69rem;line-height:1.35}
.common-label{color:#6f7a85}.common-price{position:relative;color:#6f7a85;margin-left:3px;white-space:nowrap}
.common-price:after{content:"";position:absolute;left:-1px;right:-1px;top:52%;height:1px;background:rgba(85,96,107,.62);transform:translateY(-50%)}
.saving{margin-left:7px;color:#08794a;font-weight:700;white-space:nowrap}
.product-card .discount{font-size:.76rem;padding:6px 9px}
.product-card .cost-breakdown{margin-top:7px}.product-card .effective-signal{min-height:auto;font-size:.69rem;margin-bottom:6px}
.product-card .buy{font-weight:800;min-width:104px}.product-card .clicks{opacity:.72}
@media(max-width:1100px){.product-card.has-photo{grid-template-columns:112px minmax(0,1fr)}.product-card.has-photo .visual{width:112px;height:112px;margin:14px 0 0 14px}.product-card.has-photo .card-content{padding:14px 14px 13px 12px}}
@media(max-width:620px){.product-card.has-photo{grid-template-columns:124px minmax(0,1fr)}.product-card.has-photo .visual{width:124px;height:124px;margin:13px 0 0 13px}.product-card.has-photo .card-content{padding:13px 13px 13px 11px}.product-card .card-content h2{font-size:.94rem}.product-card .current{font-size:1.38rem}}
@media(max-width:390px){.product-card.has-photo{grid-template-columns:108px minmax(0,1fr)}.product-card.has-photo .visual{width:108px;height:108px}.saving{display:block;margin:2px 0 0}}

/* v0.8.1: keep the photo beside the heading; give purchase details the full card width. */
.results > .product-card.has-photo { display: block; }
.product-card.has-photo .visual {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  width: 98px;
  height: 98px;
}
.product-card.has-photo .card-content {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  align-content: start;
  column-gap: 12px;
  padding: 14px;
}
.product-card.has-photo .store,
.product-card.has-photo .card-content h2,
.product-card.has-photo .detail { grid-column: 2; min-width: 0; }
.product-card.has-photo .detail { min-height: 28px; }
.product-card.has-photo .price-line,
.product-card.has-photo .history,
.product-card.has-photo .cost-breakdown,
.product-card.has-photo .effective-signal,
.product-card.has-photo .meter,
.product-card.has-photo .card-footer { grid-column: 1 / -1; min-width: 0; }
.product-card .detail,
.product-card .history,
.product-card .cost-breakdown,
.product-card .effective-signal,
.product-card .meter,
.product-card .card-footer { margin-right: 0; }
.product-card .card-footer { flex-wrap: wrap; align-items: center; }
.product-card .card-footer > div { flex-wrap: wrap; justify-content: flex-end; }
.product-card .buy { min-width: 0; white-space: normal; }
.product-card .cost-breakdown { min-width: 0; }
@media (max-width: 390px) {
  .product-card.has-photo .visual { width: 82px; height: 82px; }
  .product-card.has-photo .card-content { grid-template-columns: 82px minmax(0, 1fr); column-gap: 10px; }
}

/* v0.8.2: comparison B's clearer offers, retaining the official brand and sidebar. */
.catalog-main { min-width: 0; }
.catalog-main > .ad-banner { margin: 18px 0 0; }
.attention-strip.five { margin-top: 18px; }
.product-card.has-photo .visual { width: 112px; height: 112px; }
.product-card.has-photo .card-content { grid-template-columns: 112px minmax(0, 1fr); }
.product-card .store { max-width: 100%; font-size: .67rem; text-transform: uppercase; letter-spacing: .02em; }
.product-card .card-content h2 { padding-right: 0; font-size: .98rem; line-height: 1.35; }
.product-card .current { font-weight: 600; font-size: 1.42rem; }
.product-card .discount:not(.neutral) { font-size: .85rem; font-weight: 800; }
.product-card .detail { color: #657181; }
.product-card .card-footer { border-top: 1px solid #edf0f2; }
.product-card .card-alert { flex: 0 0 auto; }
.product-card .buy { min-height: 38px; }
@media (max-width: 620px) {
  .product-card.has-photo .visual { width: 92px; height: 92px; }
  .product-card.has-photo .card-content { grid-template-columns: 92px minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .product-card.has-photo .visual { width: 82px; height: 82px; }
  .product-card.has-photo .card-content { grid-template-columns: 82px minmax(0, 1fr); }
}

/* Mantém o patrocínio visível e o sinal de ajuda discreto no menu. */
.ad-banner-top{margin:10px 0 14px}
.combo-main .combo-info,.combo-tab .combo-info{font-size:16px!important;color:var(--ora-orange);vertical-align:middle;margin-left:4px}

/* Layout aprovado: a busca e o primeiro card aparecem logo na abertura. */
.toolbar{padding:12px 16px;gap:16px;grid-template-columns:minmax(320px,.95fr) minmax(450px,1.4fr)}
.intro{min-height:72px;padding-left:85px}
.hero-symbol{width:70px;height:70px;top:0}
.intro h1{font-size:clamp(1.25rem,2.1vw,1.72rem)}
.intro>p:last-child{font-size:.73rem}
.search-row input{padding:9px 12px}
.search-row button{min-height:40px}
.cep-row{margin-top:6px}
.cep-row button{min-height:34px}
.notice{margin-top:7px}
.ad-banner-top{margin:8px 0 11px}
.catalog-layout{gap:14px}
.results>.product-card{min-height:0}
.product-card .card-content{padding:13px}
.product-card .history{line-height:1.42;min-height:0}
.product-card .common-label{font-size:.7rem}
.product-card .cost-breakdown[hidden],.product-card .cost-breakdown span[hidden],.product-card .meter[hidden]{display:none!important}
.product-card .sales-badge.visible{display:block!important;color:#5b6775}
.sort-status{margin:4px 0 0;color:#657181;font-size:.69rem;line-height:1.3}
.sort-status:empty{display:none}
.nav-main .count{min-width:20px;text-align:right}
@media(max-width:1080px){.toolbar{grid-template-columns:1fr 1.15fr;gap:12px}}
@media(max-width:740px){.toolbar{grid-template-columns:1fr}.intro{min-height:70px}.ad-rail{position:static}.catalog-layout{gap:10px}}

/* Vitrine real: cards mais enxutos, imagem integrada e desconto em primeiro plano. */
.results>.product-card{min-height:0;border:1px solid #e4e9ee;border-radius:18px;box-shadow:0 6px 20px rgba(11,26,43,.06);overflow:hidden}
.results>.product-card:hover{border-color:#ffb071;box-shadow:0 10px 26px rgba(11,26,43,.1)}
.product-card .card-content{padding:13px 15px 11px}
.product-card.has-photo .visual{top:13px;left:13px;width:96px;height:96px;border-radius:12px}
.product-card.has-photo .card-content{grid-template-columns:96px minmax(0,1fr);gap:0 12px}
.product-card .current{font-size:1.36rem;font-weight:600}
.product-card .discount:not(.neutral){background:#fff0e4;color:#a84400;border:1px solid #ffc58d;border-radius:999px;font-size:.9rem;padding:5px 10px}
.product-card .history{margin:5px 0 6px}
.product-card .card-footer{padding-top:9px}
.results-head{padding-bottom:9px;border-bottom:1px solid #e8edf1}
.notice{border-radius:10px}
@media(max-width:620px){.product-card.has-photo .visual{width:82px;height:82px}.product-card.has-photo .card-content{grid-template-columns:82px minmax(0,1fr)}}
