/**
 * @file
 * The tour doc dung chung /tours va trang chi tiet tour; thong so theo hotel-card.
 */

.vnat-app .tour-card {
  --tc-primary: #8b1d1d;
  --tc-gold: #fed65b;
  --tc-text: #33302d;
  --tc-muted: #625b53;
  --tc-line: #e4ddd3;
  --tc-warm-2: #f3eee6;
  --tc-serif-display: 'Noto Serif Display', Georgia, serif;
  --tc-sans-display: 'Noto Sans Display', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 15px;
  overflow: hidden;
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 27, 24, .08);
  font-family: var(--tc-sans-display);
  transition: box-shadow .15s ease;
}

.vnat-app .tour-card [hidden] {
  display: none !important;
}

.vnat-app .tour-card:hover {
  box-shadow: 0 4px 16px rgba(30, 27, 24, .14);
}

.vnat-app .tour-card__media {
  position: relative;
  flex: none;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--tc-warm-2);
}

.vnat-app .tour-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.vnat-app .tour-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vnat-app .tour-card__save {
  position: absolute;
  top: 8px;
  right: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.vnat-app .tour-card__save img {
  width: 10.5px;
  height: 13.5px;
}

.vnat-app .tour-card__content {
  display: flex;
  flex: none;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.vnat-app .tour-card__kind {
  margin: 0;
  overflow: hidden;
  color: var(--tc-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 16px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.vnat-app .tour-card__kind:empty {
  display: none;
}

/* Ten tour dai: toi da 2 dong, giu chieu cao de cac the cung hang thang nhau */
.vnat-app .tour-card__name {
  display: -webkit-box;
  height: 64px;
  margin: 0;
  overflow: hidden;
  color: var(--tc-text);
  font-family: var(--tc-serif-display) !important;
  font-size: 24px;
  font-stretch: 75%;
  font-weight: 600;
  letter-spacing: normal !important;
  line-height: 32px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vnat-app .tour-card__title-link {
  color: var(--tc-text);
  text-decoration: none;
}

.vnat-app .tour-card__title-link:hover {
  color: var(--tc-primary);
}

.vnat-app .tour-card__address {
  margin: 0;
  overflow: hidden;
  color: var(--tc-muted);
  font-size: 12px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vnat-app .tour-card__details {
  display: flex;
  flex: none;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
}

.vnat-app .tour-card__details:not(:has(.tour-card__chip:not([hidden]))) {
  display: none;
}

.vnat-app .tour-card__chip {
  display: flex;
  flex: 0 1 auto;
  gap: 4px;
  align-items: center;
  min-width: 0;
  margin: 0;
  color: var(--tc-muted);
  font-size: 12px;
  letter-spacing: -.36px;
  line-height: 15px;
  white-space: nowrap;
}

.vnat-app .tour-card__chip img {
  flex: none;
  width: 14px;
  height: 14px;
}

.vnat-app .tour-card__chip span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.vnat-app .tour-card__chip-star {
  flex: none;
  width: 14px;
  color: var(--tc-gold);
  font-size: 14px;
  line-height: 14px;
  text-align: center;
}

.vnat-app .tour-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.vnat-app .tour-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.vnat-app .tour-card__price {
  margin: 0;
  color: var(--tc-text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.54px;
  line-height: 1.2;
  white-space: nowrap;
}

.vnat-app .tour-card__price-original {
  margin-left: 4px;
  color: var(--tc-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -.36px;
}

.vnat-app .tour-card__price-unit {
  margin: 0;
  color: var(--tc-muted);
  font-size: 12px;
  letter-spacing: -.36px;
  line-height: 1.5;
}

.vnat-app .tour-card__btn {
  display: inline-flex;
  flex: none;
  gap: 8px;
  align-items: center;
  margin-left: auto;
  color: var(--tc-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
}

.vnat-app .tour-card__btn img {
  width: 10.667px;
  height: 10.667px;
}

.vnat-app .tour-card__btn:hover span {
  text-decoration: underline;
}
