/* Compare notes: geometria reaproveitada da receita 03/nov; a primeira pintura não depende de transições. */
.compare-note-balloon,
.preview-note-links{
  --compare-note-fill:rgba(255,255,255,.55);
  --compare-note-ink:#17191b;
  --compare-note-gap:24px;
  cursor:pointer;
  position:relative;
  display:block;
  box-sizing:border-box;
  width:fit-content;
  max-width:100%;
  margin:var(--compare-note-gap) 0 calc(var(--compare-note-gap) + 21px);
  padding:15px 18px;
  background:var(--compare-note-fill);
  border:0;
  border-radius:20px;
  color:var(--compare-note-ink);
  text-align:left;
  letter-spacing:normal;
  line-height:1.5;
}
.compare-note-balloon--general{
  --compare-note-fill:linear-gradient(90deg,var(--compare-note-general-start),var(--compare-note-general-end));
  max-width:min(560px,100%);
}
.compare-page-section[data-product-count="1"] .compare-note-balloon--general{
  --compare-note-fill:var(--compare-note-general-start);
}
.compare-page-section .section-intro>.compare-note-balloon--general{
  --compare-note-gap:25px;
  margin:var(--compare-note-gap) auto calc(var(--compare-note-gap) + 21px);
  text-align:left;
}
.compare-note-balloon::after,
.preview-note-links::after{
  content:"";
  position:absolute;
  top:100%;
  left:24px;
  width:28px;
  height:21px;
  background:var(--compare-note-fill);
  clip-path:path('M 0 0 H 28 L 6 19 Q 0 23 0 16 Z');
  pointer-events:none;
}
.compare-note-balloon--general::after{
  background:transparent;
}
/* Sobreposição interna de 1px evita fresta subpixel; a cauda externa continua com 21px. */
.compare-note-balloon--general .compare-note-action::before{
  content:"";
  position:absolute;
  top:calc(100% - 1px);
  left:0;
  width:100%;
  height:22px;
  background:var(--compare-note-fill);
  clip-path:path('M 24 0 H 52 V 1 L 30 20 Q 24 24 24 17 Z');
  pointer-events:none;
}
.compare-note-action,
.compare-note-note,
.compare-note-related,
.preview-note-action,
.preview-note-snippet,
.preview-note-other{
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  color:inherit;
  font:inherit;
  font-weight:400;
  line-height:1.55;
  text-align:left;
  text-decoration:none;
  cursor:pointer;
}
.compare-note-action,
.preview-note-action{
  display:flex;
  align-items:center;
  gap:12px;
  max-width:100%;
}
.compare-note-action:focus-visible,
.compare-note-note:focus-visible,
.compare-note-related:focus-visible{
  outline:2px solid currentColor;
  outline-offset:4px;
}
.compare-note-title,
.preview-note-title{
  min-width:0;
  flex:1;
  color:inherit;
  font-size:13px;
  font-weight:690;
  line-height:1.5;
}
.compare-note-arrow,
.preview-note-arrow{
  flex:none;
  color:inherit;
  font-size:18px;
  font-weight:600;
  line-height:1;
}
.compare-note-details{
  display:block;
  min-width:0;
  margin:0;
}
.compare-note-note,
.preview-note-snippet{
  color:#454a4f;
  font-size:14px;
  font-weight:400;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.compare-note-related,
.preview-note-other{
  margin-top:5px;
  color:#626870;
  font-size:11.5px;
  font-weight:400;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.compare-note-note[hidden],
.compare-note-related[hidden]{display:none!important}
.compare-note-note:not([hidden]) + .compare-note-related[hidden],
.compare-note-note[hidden] + .compare-note-related{margin-top:0}
.compare-note-balloon--product .compare-note-note,
.compare-note-balloon--product .compare-note-related{color:var(--compare-note-ink)}

/* A cauda reserva 21px; o restante repete o respiro acima do balão. */
.compare-note-balloon + .compare-sources,
.compare-note-balloon + .summary-tags,
.compare-note-balloon + script + .compare-sources,
.compare-note-balloon + script + .summary-tags{margin-top:0}
.compare-note-balloon.is-note-transitioning{
  transition:height 250ms ease-out;
}
.compare-note-balloon.is-note-transitioning .compare-note-details{
  transition:opacity 250ms ease-out;
}
.compare-note-balloon.is-note-fading .compare-note-details{opacity:0}

@media(max-width:700px){
  .compare-note-balloon{max-width:100%;margin-bottom:calc(var(--compare-note-gap) + 21px);padding:14px 16px}
  .compare-page-section .section-intro>.compare-note-balloon--general{margin-bottom:calc(var(--compare-note-gap) + 21px)}
  .compare-note-title{font-size:13px}
  .compare-note-note{font-size:14px}
  .compare-note-related{font-size:11.5px}
}

@media(prefers-reduced-motion:reduce){
  .compare-note-balloon.is-note-transitioning,
  .compare-note-balloon.is-note-transitioning .compare-note-details{transition:none!important}
}
