.hcard {
    display: flex;
    flex-direction: column;
    background: var(--th-white, #fff);
    border: 1px solid rgb(229, 229, 229) !important;
    border-radius: 20px !important;
    overflow: hidden;
    height: 100%;
    box-shadow: none !important;
    transition: box-shadow .15s ease, border-color .15s ease;
}
.hcard:hover {
    box-shadow: rgba(17, 17, 17, 0.08) 0px 6px 20px !important;
    border-color: rgb(214, 214, 214) !important;
}

.hcard .image-container {
    position: relative;
    height: 196px;
    overflow: hidden;
    flex: none;
}
.hcard .image-container .feat-image,
.hcard .hotels-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: unset;
}


.hcard .hotels-slider-nav {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--th-ink, #111);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 0;
}
.hcard .hotels-slider-nav:hover {
    background: #fff;
}
.hcard .hotels-slider-nav span{
    margin: 0;
}
.hcard .hotels-slider-dots .dot {
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 0 3px rgba(0, 0, 0, .35);
}
.hcard .hotels-slider-dots .dot.active {
    background: #fff;
}

.hcard-flags {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
}
.hcard-flag {
    display: none;
    align-items: center;
    gap: 5px;
    background: #fff;
    border-radius: 999px;
    padding: 1px 7px 1px 3px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--th-ink, #111);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
    white-space: nowrap;
}
.hcard-flag-dot {
    width: 15px;
    height: 15px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-style: normal;
    color: #fff;
    flex: none;
}
.hcard-flag-dot--top { background: #22a55f; }
.hcard-flag-dot--value { background: var(--th-teal, #0d7377); }
.hcard-flag-dot--couples { background: var(--th-red, #d94040); }

.hcard-flags[class*="Top" i] .hcard-flag--top,
.hcard-flags[class*="Perfect" i] .hcard-flag--couples,
.hcard-flags[class*="Great" i] .hcard-flag--value {
    display: inline-flex;
}

.hcard-body {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 16px 16px 18px !important;
    flex: 1;
}

.hcard-title {
    margin: 0 !important;
    font-size: 16.5px !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.hcard-title a {
    color: var(--th-ink, #111);
    text-decoration: none;
}
.hcard-title a:hover {
    color: var(--th-gold-dim, #c98a00);
}

.hcard-address {
    margin-top: -9px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    font-style: normal;
    color: var(--th-ink-light, #7a7a7a);
}
.hcard-address span{
    margin: 0 !important;
}
.hcard-stars-slot {
    color: var(--th-gold, #f1a502);
    letter-spacing: 1px;
    white-space: nowrap;
    font-size: 14px;
}

.hcard-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hcard-rating-score {
    margin: 0 !important;
    background: var(--th-gold, #f1a502);
    color: var(--th-ink, #111);
    border-radius: 8px;
    padding: 3px 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
.hcard-rating-label-slot {
    font-size: 13px;
    font-weight: 600;
    color: var(--th-ink, #111);
    margin: 0 !important;
}
.hcard-rating-count {
    font-size: 13px;
    color: var(--th-ink-light, #7a7a7a);
    margin: 0 !important;
}

.hcard-room-name {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--th-ink, #111);
}
.hcard-room-meta-slot {
    font-size: 12.5px;
    color: rgb(107, 114, 128);
}
.hcard-room-meta-slot:empty {
    display: none;
}

.hcard-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--th-ink-light, #7a7a7a);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.hcard-desc p {
    margin: 0 !important;
}

.hcard-chips-slot {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.hcard-chip {
    margin: 0 !important;
    background: var(--th-bg, #f7f7f5);
    border: 1px solid var(--th-rule, #e5e5e5);
    border-radius: 999px;
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 500;
    color: #374151;
}
.hcard-chip--more {
    background: none;
    border: none;
    padding: 3px 2px;
    color: var(--th-ink-light, #7a7a7a);
}

.content-hotels.hcard-body .hcard-details-link {
    align-self: flex-start;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--th-ink-light, #7a7a7a);
    text-underline-offset: 2px;
    text-decoration: underline !important;
}
.hcard-details-link:hover {
    color: var(--th-gold-dim, #c98a00);
}

.hcard-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--th-rule, #e8e8e8);
}
.hcard-price {
    line-height: 1.1;
}
.hcard-price-label {
    margin: 0;
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--th-ink-light, #7a7a7a);
}
.hcard-price-amount {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--th-ink, #111);
}
.hcard-price-suffix {
    font-size: 12px;
    color: var(--th-ink-light, #7a7a7a);
}
.hcard-price--contact {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--th-ink-light, #7a7a7a);
    max-width: 60%;
}

.hcard-cta {
    background: var(--th-gold, #f1a502);
    color: var(--th-ink, #111);
    border-radius: 999px;
    height: 40px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    flex: none;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.hcard-cta:hover {
    background: #c48600;
    color: var(--th-white, #fff) !important;
}

@media (max-width: 767px) {
    .hcard-footer {
        flex-wrap: wrap;
    }
}
