/* Hotel, car, and yacht product pages */

/* Unified homepage search (flights, hotels, cars, yachts) */

.unified-search-card__products {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 2px;
}

.unified-search-card__product {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  font: inherit;
}

.unified-search-card__product-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.unified-search-card__body {
  position: relative;
}

.unified-search-panel {
  margin: 0;
}

.unified-search-panel[hidden] {
  display: none !important;
}

.search-card__field--grow {
  flex: 1.6 1 220px;
  min-width: 180px;
}

.search-card__field--compact {
  flex: 0 0 110px;
  min-width: 100px;
}

.unified-search-card .search-card__tabs--trip {
  margin-bottom: 0.85rem;
}

.site-navbar__nav-divider {
  width: 100%;
  padding: 0.5rem 1rem 0.25rem;
}

.site-navbar__nav-divider span {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

@media (max-width: 1199.98px) {
  .site-navbar__nav .nav-link span:not(.site-navbar__icon) {
    font-size: 0.88rem;
  }
}

@media (max-width: 991.98px) {
  .unified-search-card__product {
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }

  .unified-search-card__product-icon {
    font-size: 0.95rem;
  }
}

@media (min-width: 992px) and (max-width: 1299.98px) {
  .site-navbar__nav .nav-link {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .site-navbar__nav .nav-link span:not(.site-navbar__icon) {
    font-size: 0.8rem;
  }
}


.product-landing-hero {
  padding: 3rem 0 2.5rem;
  color: #fff;
}

.product-landing-hero--hotel {
  background: linear-gradient(135deg, #480894 0%, #6309C5 55%, #7C0BF4 100%);
}

.product-landing-hero--car,
.product-landing-hero--yacht {
  background: linear-gradient(135deg, #480894 0%, #6309C5 55%, #7C0BF4 100%);
}

.product-landing-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-landing-hero__subtitle {
  max-width: 640px;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.product-landing-hero__card {
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  color: #0f172a;
}

.product-search-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.product-search-form__actions {
  margin-top: 1rem;
}

.product-feature-card {
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.product-feature-card .material-symbols-outlined {
  font-size: 2rem;
  color: #7C0BF4;
  margin-bottom: 0.75rem;
}

.product-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-feature-card p {
  color: #64748b;
  margin: 0;
  font-size: 0.92rem;
}

.product-search-summary__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  color: #0f172a;
}

.product-results-count {
  font-size: 1rem;
  color: #334155;
  margin: 0;
}

.product-search-page .product-search-summary .container,
.product-search-page .product-results-layout.container {
  max-width: 1280px;
}

.product-search-page .product-results-layout.container {
  margin-top: 1.5rem;
  padding-bottom: 3rem;
}

.product-results-grid {
  margin-top: 0;
}

@media (min-width: 992px) {
  .product-search-page .product-results-grid {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-left: 0;
    margin-right: 0;
  }

  .product-search-page .product-results-grid > [class*="col-"] {
    flex: none;
    width: auto !important;
    max-width: none !important;
    padding-left: 0;
    padding-right: 0;
  }
}

.product-results-toolbar {
  margin-top: 0.25rem;
}

.product-results-main .product-results-trust {
  margin-top: 0;
  margin-bottom: 1rem;
}

.product-result-card__tag--accent {
  background: #ede9fe;
  color: #6309C5;
}

.product-result-card__best {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-results-no-matches {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
}

.product-results-rail--filters .search-results-sidebar__card:first-child,
.search-results-rail--filters .search-results-sidebar__card:first-child {
  position: sticky;
  top: 1rem;
}

@media (max-width: 991.98px) {
  .product-results-toolbar {
    align-items: stretch;
  }

  .product-results-main .search-results-sort {
    width: 100%;
  }

  .product-results-main .search-results-sort select {
    flex: 1;
  }
}

.product-results-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 2rem;
}

.product-result-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.product-result-card__main {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  min-width: 0;
}

.product-result-card__media {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ede9fe, #f5f3ff);
  border: 1px solid rgba(125, 58, 255, 0.12);
  box-shadow: 0 12px 28px rgba(72, 8, 148, 0.08);
}

.product-result-card__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-result-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ede9fe, #f5f3ff);
  color: #7C0BF4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-result-card__title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #0f172a;
}

.product-result-card__subtitle {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0 0 0.65rem;
}

.product-result-card__description {
  color: #475569;
  font-size: 0.85rem;
  margin: 0 0 0.65rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-result-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-result-card__tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-result-card__pricing {
  text-align: right;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.product-result-card__price {
  font-size: 1.65rem;
  font-weight: 800;
  color: #6309C5;
  line-height: 1.1;
}

.product-result-card__price-note {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 0.65rem;
}

.product-result-card__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.product-result-card__head {
  margin-bottom: 0.65rem;
}

.product-result-card__pricing .btn {
  width: 100%;
  font-weight: 700;
  border-radius: 8px;
}

.product-result-card__call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.78rem;
  color: #1a1a1a;
  background: linear-gradient(180deg, #ffeb3b 0%, #ffc107 100%);
  border: 2px solid #f59e0b;
  text-decoration: none;
}

/* Hotel result card — large photo gallery (Booking.com-style) */
.product-result-card--hotel-gallery {
  grid-template-columns: minmax(220px, 280px) 1fr auto;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.product-result-card--hotel-gallery .product-result-card__main {
  display: contents;
}

.product-result-card--hotel-gallery .product-result-card__media--gallery {
  width: 100%;
  min-height: 200px;
  height: 100%;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: #f1f5f9;
}

.product-result-card--hotel-gallery .product-result-card__body {
  padding: 1.15rem 0 1.15rem 0;
  align-self: center;
}

.product-result-card--hotel-gallery .product-result-card__pricing {
  padding: 1.15rem 1.25rem 1.15rem 0;
  align-self: center;
}

.product-result-card__gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.product-result-card__gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  background: #e2e8f0;
}

.product-result-card__gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.product-result-card__gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.product-result-card__gallery-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.product-result-card__gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-result-card__gallery--multi:hover .product-result-card__gallery-nav,
.product-result-card__gallery--multi:focus-within .product-result-card__gallery-nav {
  opacity: 1;
}

.product-result-card__gallery-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.product-result-card__gallery-nav--prev {
  left: 10px;
}

.product-result-card__gallery-nav--next {
  right: 10px;
}

.product-result-card__gallery-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-result-card__gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem 0;
}

.product-result-card__gallery-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.product-result-card__gallery-dot.is-active {
  background: #7C0BF4;
  transform: scale(1.2);
}

.product-result-card__media--compact-gallery .product-result-card__gallery {
  min-height: 96px;
}

.product-result-card__media--compact-gallery .product-result-card__gallery-viewport,
.product-result-card__media--compact-gallery .product-result-card__gallery-track {
  min-height: 96px;
}

.product-result-card__media--compact-gallery .product-result-card__gallery-nav {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  opacity: 1;
}

.product-result-card__media--compact-gallery .product-result-card__gallery-count {
  font-size: 0.62rem;
  padding: 0.15rem 0.4rem;
}

.product-result-card__media--compact-gallery .product-result-card__gallery-dots {
  display: none;
}

.product-booking-summary {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
}

.product-booking-summary__product {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.product-booking-summary__product .material-symbols-outlined {
  color: #7C0BF4;
  font-size: 1.75rem;
}

.product-booking-summary__total {
  color: #7C0BF4 !important;
  font-weight: 800;
  font-size: 1.1rem;
}

@media (max-width: 767.98px) {
  .product-result-card {
    grid-template-columns: 1fr;
  }

  .product-result-card--hotel-gallery {
    grid-template-columns: 1fr;
  }

  .product-result-card--hotel-gallery .product-result-card__media--gallery {
    min-height: 180px;
  }

  .product-result-card--hotel-gallery .product-result-card__body,
  .product-result-card--hotel-gallery .product-result-card__pricing {
    padding: 0 1.15rem;
  }

  .product-result-card--hotel-gallery .product-result-card__pricing {
    padding-bottom: 1.15rem;
  }

  .product-result-card__gallery-nav {
    opacity: 1;
  }

  .product-result-card__media {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .product-result-card__pricing {
    text-align: left;
    align-items: flex-start;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
  }
}
