/* CuidaHome v26 · creatividades evergreen de EcoFlow */
.ch-ecoflow-ad {
  --ef-black: #0b0d0e;
  --ef-blue: #246bfd;
  --ef-line: #dce4ea;
  margin: 30px 0;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--ef-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 38, 58, .08);
}
.ch-ecoflow-ad__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.ch-ecoflow-ad__kicker {
  color: #243b4d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ch-ecoflow-ad__type {
  color: #6b7c88;
  font-size: 12px;
  white-space: nowrap;
}
.ch-ecoflow-ad__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
}
.ch-ecoflow-ad__creative {
  display: block;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  color: #fff !important;
  background: var(--ef-black);
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ch-ecoflow-ad__creative:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 13, 14, .18);
}
.ch-ecoflow-ad--square .ch-ecoflow-ad__creative {
  width: min(100%, 300px);
  aspect-ratio: 6 / 5;
}
.ch-ecoflow-ad--wide .ch-ecoflow-ad__creative {
  width: min(100%, 728px);
  aspect-ratio: 728 / 90;
}
.ch-ecoflow-ad__creative img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ch-ecoflow-ad__fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  color: #fff;
  background: linear-gradient(135deg, #080a0b 0%, #18252f 100%);
}
.ch-ecoflow-ad__fallback-brand {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ch-ecoflow-ad__fallback strong {
  font-size: 16px;
  line-height: 1.25;
}
.ch-ecoflow-ad__fallback-cta {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ef-blue);
  font-size: 13px;
  font-weight: 800;
}
.ch-ecoflow-ad.is-fallback .ch-ecoflow-ad__creative img { display: none; }
.ch-ecoflow-ad.is-fallback .ch-ecoflow-ad__fallback { display: flex; }
.ch-ecoflow-ad__copy h3 {
  margin: 0 0 9px;
  color: #142d45;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.18;
}
.ch-ecoflow-ad__copy p {
  margin: 0 0 15px;
  color: #42586a;
  font-size: 16px;
  line-height: 1.6;
}
.ch-ecoflow-ad__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 9px;
  color: #fff !important;
  background: var(--ef-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease;
}
.ch-ecoflow-ad__cta:hover {
  transform: translateY(-2px);
  background: #1255d9;
}
.ch-ecoflow-ad__disclosure {
  margin: 13px 0 0;
  color: #6b7c88;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 720px) {
  .ch-ecoflow-ad { padding: 15px; border-radius: 15px; }
  .ch-ecoflow-ad__head { align-items: flex-start; }
  .ch-ecoflow-ad__layout { grid-template-columns: 1fr; gap: 18px; }
  .ch-ecoflow-ad__cta { width: 100%; }
  .ch-ecoflow-ad--wide .ch-ecoflow-ad__creative {
    min-height: 122px;
    aspect-ratio: auto;
  }
  .ch-ecoflow-ad--wide .ch-ecoflow-ad__creative img { display: none; }
  .ch-ecoflow-ad--wide .ch-ecoflow-ad__fallback { display: flex; }
  .ch-ecoflow-ad--wide .ch-ecoflow-ad__fallback strong { font-size: 15px; }
}

@media (max-width: 430px) {
  .ch-ecoflow-ad__type { display: none; }
  .ch-ecoflow-ad__fallback { flex-wrap: wrap; }
  .ch-ecoflow-ad__fallback strong { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ch-ecoflow-ad__creative,
  .ch-ecoflow-ad__cta { transition: none; }
}
