/* Banner de marca «Muy pronto» en el carrusel de campañas de la home (edcre-0894, CONTRATO_CATALOGO_WEB.md §15.2).
 * Texto y botones son HTML sobre la foto compuesta; fondo oscuro con brillo violeta. */
body.catalog-page.catalog-home-visual-enabled .catalog-home-campaign-slide.brand-teaser {
  --bt-violet: #b794ff;
  --bt-accent: #6a2dff;
  background:
    radial-gradient(ellipse 52% 95% at 80% 55%, rgba(104, 52, 214, .62), rgba(48, 22, 110, .28) 55%, transparent 78%),
    var(--campaign-background, #07060c);
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
}
/* edcre-0960: el banner se adapta al alto ORIGINAL del carrusel (230 px escritorio, 238 px celular, el de antes del banner);
 * los demás slides no se tocan. El slide del banner activo mide exactamente ese alto, sin reservar altura para el resto. */
body.catalog-page.catalog-home-visual-enabled .catalog-home-campaign-slide.brand-teaser { --bt-h: 230px; height: var(--bt-h); min-height: 0; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-copy {
  max-width: none;
  padding: 12px 20px 26px clamp(24px, 4vw, 56px);
}
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-copy::after { display: none; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-brand {
  color: var(--bt-violet);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1;
  margin: 0 0 2px;
}
/* edcre-0973: logo oficial del dueño (trazo negro) mostrado en blanco sobre el fondo oscuro; no altera el alto del banner. */
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-logo {
  display: block;
  filter: brightness(0) invert(1);
  height: 26px;
  max-width: 100%;
  width: auto;
}
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-badge {
  color: #fff;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1;
  margin: 0 0 8px;
  text-transform: uppercase;
}
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-list {
  color: rgba(255, 255, 255, .86);
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(13px, 1.1vw, 15px);
  gap: 0 6px;
  line-height: 1.4;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-more { color: var(--bt-violet); font-weight: 800; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-list li:not(:nth-last-child(-n+2))::after { content: "·"; margin-left: 6px; opacity: .6; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-actions { display: flex; flex-wrap: wrap; gap: 10px; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-primary,
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 6px 22px;
  text-align: center;
  text-decoration: none;
}
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-primary { background: var(--bt-accent); border: 2px solid var(--bt-accent); color: #fff; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-primary:hover { background: #7c47ff; border-color: #7c47ff; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-secondary { background: rgba(7, 6, 12, .55); border: 2px solid var(--bt-violet); color: #fff; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-secondary:hover { background: rgba(183, 148, 255, .18); }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-primary:focus-visible,
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-secondary:focus-visible { outline: 3px solid #ffbf57; outline-offset: 3px; }
body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-image {
  align-self: stretch;
  box-sizing: border-box;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  opacity: 1;
  padding: 10px 20px 22px 0;
  width: 100%;
}
@media (max-width: 640px) {
  /* Celular: texto a la izquierda, foto chica a la derecha y botones en una fila debajo, dentro de los 238 px originales. */
  body.catalog-page.catalog-home-visual-enabled .catalog-home-campaign-slide.brand-teaser {
    --bt-h: 238px;
    background:
      radial-gradient(ellipse 60% 70% at 82% 38%, rgba(104, 52, 214, .62), rgba(48, 22, 110, .28) 55%, transparent 80%),
      var(--campaign-background, #07060c);
    column-gap: 0;
    grid-template-columns: minmax(0, 1fr) 38%;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    padding: 12px 14px 24px;
  }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-copy { display: contents; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-brand { font-size: 14px; grid-column: 1; grid-row: 1; margin: 0; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-logo { height: 20px; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-badge { font-size: 28px; grid-column: 1; grid-row: 2; margin: 0 0 4px; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-list { display: block; font-size: 12.5px; grid-column: 1; grid-row: 3; line-height: 1.32; margin: 0; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-list li::after { content: none !important; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-actions { flex-wrap: nowrap; gap: 8px; grid-column: 1 / -1; grid-row: 4; margin-top: 8px; position: relative; z-index: 2; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-primary,
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-secondary { flex: 1 1 0; font-size: 12.5px; min-height: 40px; padding: 6px 6px; white-space: nowrap; }
  body.catalog-page.catalog-home-visual-enabled .brand-teaser .brand-teaser-image {
    grid-column: 2;
    grid-row: 1 / 4;
    height: 100%;
    inset: auto;
    opacity: 1;
    padding: 0 0 0 6px;
    position: static;
    transform: none;
    width: 100%;
  }
}
