/* Split for the 300-line cap — order matters, keep sequence. */
/* fastnetstays.com - Hotel Search Comparison Cards Stylesheet */
/* Top Ribbon Banner - Mobile Only */
.trivago-top-ribbon {
    display: none;
}

/* Trivago Hotel Comparison Card */
.trivago-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.trivago-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.trivago-stars-gold {
    color: #ea580c;
    font-size: 13px;
    letter-spacing: 1px;
}

.trivago-dealbox-green {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 8px;
}

.trivago-card-grid {
    display: grid;
    grid-template-columns: 210px 1fr 235px;
    min-height: 200px;
}

/* 1. Left Image Container */
.trivago-card-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-color: #f1f5f9;
}
.trivago-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.trivago-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 5;
}
.trivago-fav-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.trivago-dot-pagination {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    z-index: 5;
}
.trivago-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}
.trivago-dot.active {
    background: #ffffff;
    width: 7px;
    height: 7px;
}

/* 2. Middle Info Container */
.trivago-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.trivago-hotel-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 4px;
    text-decoration: none !important;
}
.trivago-hotel-title:hover {
    color: #007fad;
}

.trivago-stars {
    color: #ea580c;
    font-size: 12px;
    margin-bottom: 6px;
}

.trivago-score-badge {
    background-color: #008009;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    display: inline-block;
}

.trivago-score-text {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.trivago-score-reviews {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 400;
}

.trivago-location-text {
    font-size: 13px;
    color: #475569;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trivago-highlights-text {
    font-size: 12.5px;
    color: #334155;
    margin-top: 8px;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.trivago-lodge-desc {
    font-size: 12.5px;
    color: #475569;
    margin-top: 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3. Right Deal Box Container */
.trivago-card-dealbox {
    background-color: #f8fafc;
    border-left: 1px solid #f1f5f9;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.trivago-member-badge {
    background-color: #fef08a;
    color: #854d0e;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.trivago-discount-badge {
    background-color: #fee2e2;
    color: #991b1b;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
}

.trivago-provider-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.trivago-lowest-pill {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    padding: 1.5px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 2px;
}

.trivago-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    gap: 6px;
}

.trivago-price-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.trivago-deal-btn {
    background-color: #008009;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}
.trivago-deal-btn:hover {
    background-color: #006607;
}

.trivago-nights-subtext {
    font-size: 11.5px;
    color: #475569;
    margin-top: 3px;
}

.trivago-fees-note {
    font-size: 10.5px;
    color: #64748b;
}

.trivago-comparison-accordion {
    border-top: 1px solid #e2e8f0;
    padding-top: 6px;
    margin-top: 6px;
}
