/* ==============================
   HERO PROMO – FULL HEIGHT
   (El slider llena el alto de la fila del grid)
   ============================== */

.hero-grid{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 24px;
  align-items: stretch;
}

/* contenedor izquierdo: que ocupe todo el alto de la fila */
.hero-main-promo{
  display: flex;
  width: 100%;
  height: 100%;
}

/* slider: llena todo el alto disponible */
.hero-main-promo .dbt-slider{
  position: relative;
  width: 100%;
  height: 100%;
  max-height: none;     /* fuera límite */
  aspect-ratio: auto;   /* fuera ratio fijo */
  overflow: hidden;
  border-radius: 22px;
  background: transparent;
  box-shadow: 0 20px 40px rgba(15,23,42,.12);
}

/* track */
.hero-main-promo .dbt-track{
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .45s ease;
}

/* slide */
.hero-main-promo .dbt-slide{
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

/* imagen: se ve entera (puede dejar bandas si el ratio no coincide) */
.hero-main-promo .dbt-slide img{
  width: 100%;
  height: 100%;
  object-fit: contain;   /* NO recorta */
  object-position: center;
  display: block;
}

/* flechas */
.hero-main-promo .dbt-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 26px;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  border: 0;
}

/* posiciones flechas */
.hero-main-promo .dbt-prev{ left: 12px; }
.hero-main-promo .dbt-next{ right: 12px; }

/* dots */
.hero-main-promo .dbt-dots{
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 6;
}

/* cada dot */
.hero-main-promo .dbt-dot{
  width: 28px;
  height: 6px;
  border-radius: 6px;
  background: rgba(0,0,0,.25);
  border: 0;
  cursor: pointer;
}

.hero-main-promo .dbt-dot.is-active{
  background: rgba(0,0,0,.55);
}

/* ======================
   MOBILE
   ====================== */
@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-main-promo{
    height: auto;
  }

  /* en móvil: usa ratio para controlar altura sin que se desmadre */
  .hero-main-promo .dbt-slider{
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* =========================
   QUITAR "HALO" (aura)
   ========================= */

/* 1) Quita el fondo degradado del contenedor hero */
.hero-main{
  background: transparent !important;
  padding: 0 !important;              /* opcional: para que el slider pegue más */
  box-shadow: none !important;
}

/* 2) Quita el glow/halo del slider (el shadow gordo) */
.hero-main-promo .dbt-slider{
  box-shadow: none !important;        /* 🔥 fuera halo */
  background: transparent !important;
}

/* 3) Si todavía ves “aura”, es el fondo del bloque izquierdo */
.hero-main-promo{
  background: transparent !important;
}

/* 4) (Opcional) Baja el shadow general de tarjetas si también te molesta */
.tile,
.cat-card,
.product-card{
  box-shadow: none !important;
}

/* 5) (Opcional) Si tu “halo” era un borde suave, lo apagas */
.hero-main-promo .dbt-slider,
.tile,
.cat-card,
.product-card{
  border-color: transparent !important;
}

/* =========================
   HERO SIDE · TARJETAS
   ========================= */

.hero-side{
  display: grid;
  grid-template-rows: auto auto;
  gap: 16px;
}

/* Tarjeta base */
.tile{
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.tile-header{
  margin-bottom: 8px;
}

.tile-title{
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* Body */
.tile-body{
  flex: 1;
}

.tile-text{
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 10px;
  line-height: 1.45;
}

/* Lista */
.tile-list{
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #111827;
}

.tile-list li{
  margin-bottom: 4px;
}

/* Acciones */
.tile-actions{
  margin-top: 12px;
}

.tile-actions button{
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  background: #22c55e;
  color: #ffffff;
}

.tile-actions button:hover{
  filter: brightness(0.95);
}

/* Grupo de botones (configurador) */
.tile-actions-group{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tile-actions-group button{
  background: #22c55e;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px){
  .hero-side{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ELECCONFIG BANNER (nuevo estilo)
   ========================= */
.ec-banner{ margin: 26px 0; }

.ec-banner-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
  background: radial-gradient(1100px 420px at 20% 0%, rgba(37,99,235,.14), transparent 60%),
              radial-gradient(900px 420px at 85% 80%, rgba(2,132,199,.12), transparent 60%),
              #fff;
  overflow: hidden;
}

@media (max-width: 980px){
  .ec-banner-inner{ grid-template-columns: 1fr; }
}

.ec-banner-media{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f8fafc;
}

.ec-banner-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transform: scale(1.02);
}

.ec-banner-glow{
  position:absolute; inset:-40px;
  background: radial-gradient(240px 240px at 20% 30%, rgba(37,99,235,.25), transparent 60%),
              radial-gradient(260px 260px at 80% 70%, rgba(14,165,233,.18), transparent 60%);
  pointer-events:none;
  mix-blend-mode: multiply;
}

.ec-banner-copy{
  display:flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 6px 6px 2px;
}

.ec-pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.08);
  border: 1px solid rgba(37,99,235,.18);
  font-size: 12px;
  color: #0f172a;
  margin-bottom: 10px;
}
.ec-pill-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

.ec-title{
  margin: 0 0 8px;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.ec-title span{
  display:block;
  color: #2563eb;
  font-weight: 800;
}

.ec-lead{
  margin: 0 0 12px;
  color: rgba(15,23,42,.78);
  max-width: 62ch;
  font-size: 13px;
}

.ec-points{
  margin: 0 0 14px;
  padding-left: 16px;
  color: rgba(15,23,42,.78);
  font-size: 13px;
}
.ec-points li{ margin: 6px 0; }
.ec-points strong{ color:#0f172a; }

.ec-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ec-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration:none;
  font-size: 13px;
}

.ec-btn-primary{
  background: #2563eb;
  color: #fff;
  border: 1px solid rgba(37,99,235,.25);
}
.ec-btn-primary:hover{ filter: brightness(1.06); }

.ec-btn-ghost{
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(0,0,0,.14);
}
.ec-btn-ghost:hover{ background:#f8fafc; }

.ec-note{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(15,23,42,.62);
}

/* móvil: botones full width */
@media (max-width: 720px){
  .ec-btn{ width: 100%; }
}

