.container-card-start-item {
    height: 435px;
    /* width: 500px; */
    border-radius: 5px;
    overflow: hidden;
}

.container-card-start-item .hover-diferente-1 {
    height: 100%;
    display: block;
}

#slider-popular-favorites-tours .container-card-start-item .hover-diferente-1 > div {
    height: inherit;
    background-repeat: no-repeat;
    background-size: cover !important;
    background-position: center !important;
    background-color: rgba(0, 0, 0, 0.2) !important; /* solo cambias este */
    background-blend-mode: overlay !important; /* multiplica / oscurece */
    transition: all 0.3s ease-in-out;
}
.container-card-start-item .hover-diferente-1 > div .title-content {
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.container-card-start-item .hover-diferente-1 > div .title-content h2 {
    color: #fff;
    font-weight: 800;
    font-size: 1.75rem;
}
.border-similate {
    height: 1px;
    background: #ffff;
    margin-bottom: 15px;
}
#slider-popular-favorites-tours .info-sort i {
  margin-right: 3px;
}
#slider-popular-favorites-tours .info-sort p {
    color: #fff;
}
#slider-popular-favorites-tours .info-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.price-tour-reel span:nth-child(1), .price-tour-reel span:nth-child(3) {
    font-size: 0.95rem;
}
.price-tour-reel span:nth-child(2) {
  line-height: 27px;
}
.hover-diferente-1 .btn-edit {
  /* display: inline-block; */
  display: block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #ff5722;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  opacity: 0;               /* oculto al inicio */
  background-color: rgba(57, 57, 57, .2);
  border-radius: 5px;
  border: 1px solid #fff;
  transform: translateY(15px); /* un poco abajo */
  transition: all 0.3s ease;
}

.price-tour-reel {
    color: #fff;
    position: absolute;
    bottom: 36px;
    font-weight: 600;
    font-size: 1.75rem;
    right: 0;
    transition: transform 0.3s ease; /* transición suave */
    display: flex;
    flex-direction: column;
    text-align: end;
}

/* Cuando el card tiene hover */
.hover-diferente-1:hover .btn-edit {
  opacity: 1;
  transform: translateY(0); /* sube a su lugar */
}

#slider-popular-favorites-tours .hover-diferente-1:hover > div {
  background-color: rgba(0, 0, 0, 0.6) !important; /* más oscuro al hacer hover */
}

.hover-diferente-1:hover .price-tour-reel {
  transform: translateY(-60px); /* mueve el precio hacia arriba */
}

/* Botones del owl carrousel */
#slider-popular-favorites-tours .owl-next,
#slider-popular-favorites-tours .owl-prev {
  background-color: #fff;
  color: #000;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  position: absolute;
  transform: translateY(-90%);
  top: 50%;
  box-shadow: 0px 0px 4px 0px #000;
  transition: all 0.3s ease-in-out;
}
#slider-popular-favorites-tours .owl-next {
  right: -18px;
}
#slider-popular-favorites-tours .owl-prev {
  left: -18px;
}
#slider-popular-favorites-tours .owl-next:hover,
#slider-popular-favorites-tours .owl-prev:hover {
  background-color: #000;
  color: #fff;
}
#slider-popular-favorites-tours .promocion {

}
.content-title-card-v1-dinamic {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
  width: 100%;
}
#slider-popular-favorites-tours.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
  background: var(--color-caribbean-current);
}
.content-title-card-v1-dinamic .subTitle-card-v1-dinamic-part-1 p {
  color: #393939;
  font-weight: 400;
  font-size: 18px;
}
.content-title-card-v1-dinamic .subTitle-card-v1-dinamic-part-1 h2 {
  margin: 0;
  font-size: 1.45rem;
  color: #393939;
}
.content-title-card-v1-dinamic .subTitle-card-v1-dinamic-part-2 {
  display: flex;
  justify-content: end;
  transition: all 0.3s ease;
}
.content-title-card-v1-dinamic .subTitle-card-v1-dinamic-part-2 a {
  border-radius: 5px;
  background-color: var(--color-caribbean-current);
  height: 42px;
  width: 117px;
  display: flex ;
  color: #ffff;
  margin: auto;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.card {
  width: 320px;                 /* ajusta tamaño */
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform .22s ease;
  font-family: Inter, system-ui, Arial, sans-serif;
  /* para soporte de focus en teclado */
  outline: none;
}

/* pequeña elevación al hover general */
.card:hover,
.card.hover,         /* clase que activa en touch (JS) */
.card:focus-within {
  transform: translateY(-4px);
}

/* contenedor de imagen y overlay */
.card-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 62%; /* ratio ~420x260 */
  overflow: hidden;
  background: #f0f0f0;
}

/* imagen */
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
}

/* leve zoom de la imagen al hover */
.card:hover .card-media img,
.card.hover .card-media img,
.card:focus-within .card-media img {
  transform: scale(1.06);
}

/* overlay del botón (centrado) */
.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* para que clicks pasen al botón */
}

/* botón estilo círculo semitransparente blanco */
.btn-view {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0b0b0b;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(16,24,40,0.12);
  transform: translateY(12px) scale(.96);
  opacity: 0;
  transition: opacity .28s ease, transform .28s cubic-bezier(.2,.9,.2,1);
  font-size: 14px;
  letter-spacing: .4px;
}

/* show button on hover (aparece con fade + pop) */
.card:hover .btn-view,
.card.hover .btn-view,
.card:focus-within .btn-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* cuerpo del card */
.card-body {
  padding: 14px 16px 18px;
  text-align: left;
}

/* título */
.title {
  margin: 0 0 8px 0;
  font-size: 15px;
  line-height: 1.15;
  color: #111827;
}

/* contenedor precio y texto extra */
.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
  height: 28px; /* fija la altura para evitar saltos bruscos */
}

/* precio: se moverá hacia arriba al hover para dejar espacio al botón */
.price {
  font-weight: 700;
  font-size: 18px;
  color: #111827;
  transition: transform .28s cubic-bezier(.2,.9,.2,1);
}

/* texto "Precio total" */
.per {
  font-size: 12px;
  color: #6b7280;
}

/* al hacer hover en el card sube el precio (y puedes ajustar el valor) */
.card:hover .price,
.card.hover .price,
.card:focus-within .price {
  transform: translateY(-10px);
}

/* accesibilidad - foco visual */
.card:focus-within {
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

@media (max-width: 728px) {
  .content-title-card-v1-dinamic .subTitle-card-v1-dinamic-part-2 {
    margin: auto;
  }
}
