.promotions-grid {
  padding-top: 40px;
  padding-inline: 20px;
  margin-top: 0;
}

.promotions-grid__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.promotions-grid__wrapper {
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  /* margin-bottom: 40px; */
  margin-bottom: 24px;
}

/* Card */
.promotions-grid__card {
   background: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.08);
}

.promotions-grid__card:hover {
}

.promotions-grid__image {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.promotions-grid__image img {
  width: 628px;
  height: 365px;
 
}

.promotions-grid__card:hover .promotions-grid__image img {
  /* transform: scale(1.05); */
}

.promotions-grid__content {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.promotions-grid__title {
 font-family: var(--font-inter);
  color: #0b0c0c;
  font-weight: 600;
  font-size: 20px !important;
  line-height: 120% !important;
  margin: 0;
  text-transform: uppercase;
}

.promotions-grid__description {
font-family: var(--font-inter);
  color: rgba(130, 130, 130, 1);
  font-weight: 500;
  font-size: 14px;
  line-height: 140% !important;
  margin: 0;
  max-height: 108px;
  overflow: hidden;
  position: relative;
  margin-top: 10px;
  margin-bottom: 40px;
}

.promotions-grid__description::after {
 content: "...";
  position: absolute;
  bottom: 0;
  right: 0;
  background: #fff;
  padding-left: 4px;
}

.promotions-grid__description p {
  display: inline;
  margin: 0;
  padding: 0;
}

.promotions-grid__description br {
  display: none;
}

.promotions-grid__link {
   font-family: var(--font-inter);
  color: #194BFF;
  text-decoration: underline;
  font-weight: 700;
  font-size: 16px;
  text-underline-offset: 3px;
  margin-top: auto;
  display: inline-block;
}

.promotions-grid__link:hover {
}


/* =========================
   PAGINACIÓN
========================= */

.promotions-grid__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 36px;
}

/* Flechas — círculo gris independiente */
.promotions-grid__nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffff;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.promotions-grid__nav img {
  display: none; /* Ocultar imágenes antiguas */
}

/* Usar SVG inline vía background o contenido; ver HTML abajo */

.promotions-grid__nav:disabled {
  cursor: auto;
  opacity: 0.4;
}

/* Contenedor de números — pastilla gris con fondo */
.promotions-grid__pages {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 40px;
  padding: 6px 18px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
  border: 2px solid #ffff;
}

/* Botones de página — círculos */
.promotions-grid__page {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ffff;
  color: #444;
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.promotions-grid__page:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.5);
}

.promotions-grid__page.is-active {
  background: #194BFF;
  color: #fff;
}

.promotions-grid__dots {
  font-family: var(--font-inter);
  font-size: 16px;
  color: #444;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1279px) {
  .promotions-grid {
    padding-inline: 32px;
  }

  .promotions-grid__inner {
    max-width: 100%;
  }

  .promotions-grid__wrapper {
    gap: 20px;
  }

  .promotions-grid__image {
    height: 320px;
  }
}

@media (max-width: 1199px) {
  .promotions-grid__image {
    height: auto;
  }
  .promotions-grid__image img {
    /* object-fit: contain; */
    object-fit: initial;
  }
  /* .promotions-grid__wrapper {
    max-width: 960px;
    margin-inline: auto;
  } */
}

@media (max-width: 1023px) {
  .promotions-grid {
    padding-inline: 24px;
  }

  .promotions-grid__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
   
  }

  .promotions-grid__image {
    /* height: 280px; */
  }

  .promotions-grid__pagination {
    /* justify-content: center; */
  }

  .promotions-grid__wrapper {
    max-width: 482px;
    margin-inline: auto;
    justify-items: center;
  }
}


@media (min-width: 700px) and (max-width: 1023px) {
  .promotions-grid__wrapper {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .promotions-grid__card {
    width: 100%; /* que ocupe su columna del grid, no un ancho fijo */
  }
}



@media (max-width: 767px) {
  .promotions-grid {
    padding-top: 25px;
    padding-inline: 16px;
  }

  .promotions-grid__image {
    /* height: 238px; */
    height: auto;
    border-radius: 16px 16px 0 0;
  }
  .promotions-grid__image img {
    /* object-position: left top;
    object-fit: fill; */
  }
  .promotions-grid__wrapper {
    padding-top: 56px;
    justify-items: center; 
  }
  .promotions-grid__content {
    padding-bottom: 0px;
  }
  .promotions-grid__pagination {
    padding-block: 16px;
  }
  .promotions-grid__card {
    overflow: visible;
    width: 335px;
    border-radius: 16px;
  }
  .promotions-grid__card:hover .promotions-grid__image img {
    transform: none;
  }

  .promotions-grid__image img {
  width: 343px;
  height: 238px;
  }

  .promotions-grid__description{
  max-height: 118px;
  margin-bottom: 20px;
  margin-top:0;
}
}
