/* ======= Estilos de la tarjeta (recetas) ======= */
.pagination {
  margin-top: 40px;
}
.page-link {
  color: #3b82f6;
  border-radius: 8px;
  margin: 0 2px;
  font-weight: 500;
}
.page-link:hover {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}
.page-item.active .page-link {
  background-color: #3b82f6;
  border-color: #3b82f6;
}
.page-info {
  color: #6b7280;
  font-size: 14px;
  margin-top: 10px;
  display: inline-block;
}

.recipe-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
}
.recipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.ax-receipt-line {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ax-receipt-img {
  position: relative;
  overflow: hidden;
  height: auto;
  background: #f5f5f5;
}
.ax-img {
  width: 100%;
  height: 100%;
}
.ax-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.recipe-card:hover .ax-img img {
  transform: scale(1.1);
}

.ax-receipt-txt {
  padding: 24px;
}
.ax-receipt-txt h3 {
  color: #001689;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  text-align: center;
  font-family: "Montserrat";
}
.ax-receipt-txt p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: center;
}

.round-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff !important;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.round-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
  color: #fff !important;
}

/* ======= Garantizar que el grid de Bootstrap funcione ======= */
/* (no tocamos tus clases .row/.col; solo evitamos que algo externo rompa el layout) */
.ax-productoHomeList-ct .article {
  float: left;
} /* asegura el float de columnas BS3 */
.ax-productoHomeList-ct .col-sm-6,
.ax-productoHomeList-ct .col-md-6 {
  min-height: 1px;
} /* comportamiento de columnas */
.ax-productoHomeList-ct .row::before,
.ax-productoHomeList-ct .row::after {
  content: " ";
  display: table;
}
.ax-productoHomeList-ct .row::after {
  clear: both;
}

/* Si quieres 3 por fila en desktop, cambia col-md-6 por col-md-4 en el <div> del artículo */
