/* Shared room cards on the homepage, room listing and related products. */
.tn-room-card .tn-card-bottom,
.tn-room-card .tn-room-card-bottom {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tn-room-card .tn-card-price,
.tn-room-card .tn-room-price {
  min-width: 0;
}
.tn-room-card .tn-card-price .price,
.tn-room-card .tn-room-price {
  font-size: 19px;
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
}
.tn-room-card .tn-card-price del,
.tn-room-card .tn-room-price del {
  display: block;
  margin-bottom: 3px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 1;
}
.tn-room-card .tn-card-price ins,
.tn-room-card .tn-room-price ins {
  background: none;
  color: var(--color-price);
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}
.tn-room-card .tn-card-price ins .amount,
.tn-room-card .tn-room-price ins .amount {
  color: var(--color-price);
}
.tn-room-card .tn-card-price del .amount,
.tn-room-card .tn-room-price del .amount {
  color: var(--color-text-muted);
}
.tn-room-card .tn-card-button,
.tn-room-card .tn-room-book-link {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 9px 12px;
  font-size: 11px;
}
.tn-room-card .tn-card-amenities {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin: 2px 0 14px;
  overflow: hidden;
}
.tn-room-card .tn-card-amenities::-webkit-scrollbar {
  display: none;
}
.tn-room-card .tn-card-amenity {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 3px;
  min-width: 0;
  max-width: 105px;
  min-height: 24px;
  padding: 4px 5px;
  border-radius: 5px;
  background: #f0f4f8;
  color: #647b91;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}
.tn-room-card .tn-card-amenity svg {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  color: inherit;
}
.tn-room-card .tn-card-amenity-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tn-room-card .tn-card-amenity-more {
  flex: 0 0 auto;
  background: #e5f1f5;
  color: #087a98;
  font-weight: 750;
}
.tn-room-card .tn-room-card-tags {
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.tn-room-card > a,
.tn-ticket-card > a { position: relative; }
.tn-product-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--color-brand);
  color: var(--color-surface);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
  white-space: nowrap;
}
.tn-product-badge > .tn-product-badge-en { display: none; }
html.wpflc-language-en .tn-product-badge > .tn-product-badge-vi { display: none; }
html.wpflc-language-en .tn-product-badge > .tn-product-badge-en { display: inline; }
