/* MB – Card Actions UI integration v1.0.3 */
:root{ --mb-blue:#0ea5e9; }

/* Títulos de tarjetas/listados más grandes y en negrita */
.mb-card .mb-item-title,
.mb-listing .mb-item-title,
.mbfav-title a,
.mb-boat-title a,
.mb-cruise-title a,
.listing .title a,
.post-type-archive-mb_boat .entry-title a,
.post-type-archive-mb_cruise .entry-title a {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.35rem);
  line-height: 1.25;
  text-decoration: none;
  color: inherit;
}

/* Asegurar espacio inferior para la tira de botones */
.mb-card,
.mb-listing-card,
.mbfav-card,
.mb-result,
.mb-cruise-card,
.mb-boat-card {
  position: relative;
  padding-bottom: 72px; /* hueco para botones */
}

/* Contenedor acciones */
.mb-card-actions{
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

/* Botón favoritos (si ya existe en la tarjeta) como fallback */
.mb-card > .mbfav-btn,
.mb-listing-card > .mbfav-btn,
.mb-result > .mbfav-btn,
.mb-cruise-card > .mbfav-btn,
.mb-boat-card > .mbfav-btn {
  position: absolute !important;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  margin: 0 !important;
}

/* Estilo botón "Ver" */
.mb-card-actions .mb-view-btn,
a.mb-view-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--mb-blue);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  border: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  white-space: nowrap;
}
.mb-card-actions .mb-view-btn:hover,
a.mb-view-btn:hover { filter: brightness(1.05); }
.mb-card-actions .mb-view-btn:focus-visible,
a.mb-view-btn:focus-visible {
  outline: 2px solid var(--mb-blue);
  outline-offset: 2px;
}

/* Ajustes para grid de favoritos */
.mbfav-card .mb-card-actions{ left: 10px; right: 10px; bottom: 10px; }
