/**
 * Fiches produit catalogue — style GetYourGuide (Nomad Ballooning)
 */

.ova-product.nb-gyg-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 12px rgba(16, 24, 40, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ova-product.nb-gyg-card:hover {
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.12);
  transform: translateY(-2px);
}

.ova-product.nb-gyg-card .ova-product-images,
.ova-product.nb-gyg-card .ova_head_product {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.ova-product.nb-gyg-card .ova-product-images img,
.ova-product.nb-gyg-card .ova_head_product img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* Badge pill type GYG */
.ova-product.nb-gyg-card .nb-card-badge,
.ova-product.nb-gyg-card .ova-is-featured.nb-card-badge,
.ovabrw-single-product .nb-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 56px);
  padding: 6px 10px;
  background: rgba(26, 39, 68, 0.92);
  color: #fff !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ova-product.nb-gyg-card .nb-card-badge--best-price,
.ovabrw-single-product .nb-card-badge--best-price {
  background: #0f766e !important;
}

.ova-product.nb-gyg-card .nb-card-badge--top-rated,
.ovabrw-single-product .nb-card-badge--top-rated {
  background: #1e3a5f !important;
}

.ova-product.nb-gyg-card .nb-card-badge--favorite,
.ovabrw-single-product .nb-card-badge--favorite {
  background: #9a3412 !important;
}

.ova-product.nb-gyg-card .nb-card-badge--private,
.ovabrw-single-product .nb-card-badge--private {
  background: #1a2744 !important;
}

.ova-product.nb-gyg-card .ova-product-wishlist {
  top: 10px;
  right: 10px;
}

.ova-product.nb-gyg-card .ova-product-wishlist .yith-wcwl-add-button,
.ova-product.nb-gyg-card .ova-product-wishlist .yith-wcwl-wishlistaddedbrowse a,
.ova-product.nb-gyg-card .ova-product-wishlist .yith-wcwl-wishlistexistsbrowse a {
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Corps carte */
.ova-product.nb-gyg-card .ova-product-content,
.ova-product.nb-gyg-card .ova_foot_product {
  padding: 14px 14px 16px;
  background: #fff;
}

.ova-product.nb-gyg-card .ova-product-feature,
.ova-product.nb-gyg-card .ova-tour-day {
  display: none !important;
}

.ova-product.nb-gyg-card .ova_foot_product {
  position: relative;
  padding-top: 14px;
}

.ova-product.nb-gyg-card .ova-product-title {
  margin: 0 0 6px;
}

.ova-product.nb-gyg-card .ova-product-title a {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  text-transform: none !important;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ova-product.nb-gyg-card .ova-product-title a:hover {
  color: #8b5e3c !important;
}

/* Meta GYG */
.ova-product.nb-gyg-card .nb-card-meta,
.ovabrw-single-product .nb-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.ova-product.nb-gyg-card .nb-card-meta span:not(:last-child)::after,
.ovabrw-single-product .nb-card-meta span:not(:last-child)::after {
  content: "·";
  margin: 0 6px;
  color: #9ca3af;
}

.ova-product.nb-gyg-card .ova-product-location {
  display: none !important;
}

/* Reviews GYG : 5,0 ★ (160 avis Google) — cliquable */
.ova-product.nb-gyg-card .nb-card-rating,
.ovabrw-single-product .nb-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1;
  color: #1a2744;
  text-decoration: none;
}

a.nb-card-rating.nb-card-rating--google:hover {
  color: #8b5e3c;
}

a.nb-card-rating.nb-card-rating--google:hover .nb-rating-count {
  text-decoration: underline;
}

.ova-product.nb-gyg-card .nb-card-rating .nb-rating-value,
.ovabrw-single-product .nb-card-rating .nb-rating-value {
  font-weight: 700;
  color: inherit;
  font-size: 13px;
}

.ova-product.nb-gyg-card .nb-card-rating .nb-star,
.ovabrw-single-product .nb-card-rating .nb-star {
  color: inherit;
  font-size: 12px;
  line-height: 1;
}

.ova-product.nb-gyg-card .nb-card-rating .nb-rating-count,
.ovabrw-single-product .nb-card-rating .nb-rating-count {
  color: #6b7280;
  font-weight: 400;
}

/* Étiquette prix GYG */
.ova-product.nb-gyg-card .ova-product-wrapper-price,
.ovabrw-single-product .ova-product-wrapper-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
  border-top: none;
}

.ova-product.nb-gyg-card .ova-product-price,
.ovabrw-single-product .ova-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.ova-product.nb-gyg-card .nb-price-tag,
.ovabrw-single-product .nb-price-tag {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1.15;
}

.ova-product.nb-gyg-card .nb-price-tag__prefix,
.ovabrw-single-product .nb-price-tag__prefix {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
}

.ova-product.nb-gyg-card .nb-price-tag__amount,
.ovabrw-single-product .nb-price-tag__amount {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #b45309 !important;
  line-height: 1.15 !important;
}

.ova-product.nb-gyg-card .nb-price-tag--quote .nb-price-tag__amount,
.ovabrw-single-product .nb-price-tag--quote .nb-price-tag__amount {
  font-size: 16px !important;
  color: #1a2744 !important;
}

/* Compat ancien sélecteur */
.ova-product.nb-gyg-card .ova-product-price .new-product-price {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #b45309 !important;
  line-height: 1.2 !important;
}

.ova-product.nb-gyg-card .product-btn-book-now,
.ovabrw-single-product .product-btn-book-now {
  flex-shrink: 0;
  padding: 8px 14px !important;
  background: #8b5e3c !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}

.ova-product.nb-gyg-card .product-btn-book-now:hover,
.ovabrw-single-product .product-btn-book-now:hover {
  background: #6f4a2f !important;
}

/* Liste horizontale template2 */
.ova-product-list.ova-product-list-template2 .ova-product.nb-gyg-card .ova_foot_product {
  background: #fff;
}

.ova-product-list.ova-product-list-template2 .ova-product.nb-gyg-card .ova_head_product {
  border-radius: 12px 0 0 12px;
}

@media (max-width: 767px) {
  .ova-product.nb-gyg-card .ova-product-title a {
    font-size: 14px !important;
  }

  .ova-product.nb-gyg-card .nb-price-tag__amount,
  .ovabrw-single-product .nb-price-tag__amount {
    font-size: 16px !important;
  }

  .ova-product.nb-gyg-card .nb-card-badge,
  .ovabrw-single-product .nb-card-badge {
    font-size: 11px;
    padding: 5px 8px;
  }
}
