/* ── Trending Section Redesign ── */
.tl-section {
    padding: 80px 0 90px;
    background: #f4f6fb;
    position: relative;
    overflow: hidden;
}
.tl-section::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,106,40,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Section heading */
.tl-heading {
    text-align: center;
    margin-bottom: 44px;
}
.tl-heading .tl-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,106,40,0.10);
    color: #cf3425;
    font-size: 0.72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.14em;
    padding: 6px 16px; border-radius: 30px;
    margin-bottom: 14px;
}
.tl-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700; color: #0b1736;
    line-height: 1.2; margin: 0;
}
.tl-heading h2 span { color: #cf3425; }

/* ── Filter tabs ── */
.tl-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 42px;
}
.tl-tabs .tl-tab {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid rgba(11,23,54,0.12);
    background: #fff;
    color: #556;
    font-size: 0.87rem; font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .22s ease;
    white-space: nowrap;
}
.tl-tabs .tl-tab svg { transition: transform .22s; }
.tl-tabs .tl-tab:hover {
    border-color: #cf3425;
    color: #cf3425;
    background: rgba(255,106,40,0.05);
    transform: translateY(-1px);
}
.tl-tabs .tl-tab.active {
    background: linear-gradient(135deg, #cf3425, #e55519);
    border-color: #cf3425;
    color: #fff;
    box-shadow: 0 6px 18px rgba(255,106,40,0.30);
}
.tl-tabs .tl-tab.active svg { transform: scale(1.1); }

/* ── Cards grid ── */
.tl-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1200px) { .tl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .tl-grid { grid-template-columns: 1fr; } }

/* ── Card base ── */
.tl-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11,23,54,0.07);
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex; flex-direction: column;
    position: relative;
}
.tl-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(11,23,54,0.13);
}

/* Card image */
.tl-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.tl-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.tl-card:hover .tl-card-img img { transform: scale(1.07); }

/* Overlay badges */
.tl-card-badges {
    position: absolute; top: 14px;
    left: 14px; right: 14px;
    display: flex; align-items: center;
    justify-content: space-between;
    z-index: 2;
}
.tl-badge-left {
    background: rgba(11,23,54,0.72);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem; font-weight: 700;
    padding: 5px 12px; border-radius: 30px;
}
.tl-badge-left.info { background: rgba(0,150,255,0.85); }
.tl-badge-left.orange { background: rgba(255,106,40,0.92); }

.tl-fav {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #aaa;
    transition: all .2s;
    flex-shrink: 0;
}
.tl-fav:hover, .tl-fav.active { color: #ff4757; background: #fff; }
.tl-fav svg { width: 15px; height: 15px; }

/* Card body */
.tl-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }

/* Flight route */
.tl-route {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #f8f9fd;
    border-radius: 12px;
}
.tl-route-city {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 700; color: #0b1736;
}
.tl-route-city svg { color: #cf3425; width: 14px; height: 14px; }
.tl-route-arrow { color: #bbb; }
.tl-route-arrow svg { width: 18px; height: 18px; }

.tl-airline {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
}
.tl-airline img {
    width: 22px; height: 22px;
    border-radius: 50%; object-fit: contain;
    border: 1px solid #eee;
}
.tl-airline-name { font-size: 0.82rem; font-weight: 600; color: #556; }
.tl-airline-stop {
    font-size: 0.78rem; color: #cf3425; font-weight: 600;
    margin-left: auto;
    display: flex; align-items: center; gap: 4px;
}

.tl-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 700;
    color: #0b1736; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.tl-card-title a { color: inherit; text-decoration: none; }
.tl-card-title a:hover { color: #cf3425; }

.tl-card-location {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.80rem; color: #8896b3; margin-bottom: 10px;
}
.tl-card-location svg { width: 13px; height: 13px; color: #cf3425; flex-shrink: 0; }

/* Card footer */
.tl-card-footer {
    display: flex; align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f0f2f7;
    margin-top: auto;
}
.tl-rating {
    display: flex; align-items: center; gap: 6px;
}
.tl-rating-score {
    background: linear-gradient(135deg, #cf3425, #e55519);
    color: #fff;
    font-size: 0.75rem; font-weight: 800;
    padding: 3px 9px; border-radius: 8px;
}
.tl-rating-count { font-size: 0.78rem; color: #8896b3; }
.tl-price { text-align: right; }
.tl-price-from { font-size: 0.72rem; color: #aaa; display: block; }
.tl-price-amount {
    font-size: 1.15rem; font-weight: 800;
    color: #cf3425; font-family: 'Playfair Display', serif;
}
.tl-price-old {
    font-size: 0.78rem; color: #ccc;
    text-decoration: line-through; margin-left: 4px;
}

/* Hotel specific */
.tl-facilities {
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap; margin-bottom: 10px;
}
.tl-facility-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: rgba(255,106,40,0.08);
    color: #cf3425;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}
.tl-facility-more {
    font-size: 0.75rem; color: #8896b3; font-weight: 600;
}

/* Car specific */
.tl-car-specs {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; margin-bottom: 14px;
    border: 1px solid #eef0f6; border-radius: 12px; overflow: hidden;
}
.tl-car-spec {
    padding: 8px 10px; text-align: center;
    border-right: 1px solid #eef0f6;
}
.tl-car-spec:last-child { border-right: none; }
.tl-car-spec-label { font-size: 0.68rem; color: #aaa; display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 2px; }
.tl-car-spec-label svg { width: 11px; height: 11px; }
.tl-car-spec-val { font-size: 0.78rem; font-weight: 700; color: #0b1736; }
.tl-car-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; color: #cf3425; background: rgba(255,106,40,0.1); padding: 2px 9px; border-radius: 20px; margin-bottom: 8px; }

/* Cruise specific */
.tl-cruise-meta { display: flex; gap: 16px; margin-bottom: 10px; }
.tl-cruise-meta-item { font-size: 0.78rem; color: #556; display: flex; align-items: center; gap: 4px; }
.tl-cruise-meta-item svg { width: 13px; color: #cf3425; }

/* Tour specific */
.tl-tour-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.tl-tour-tag { font-size: 0.70rem; font-weight: 700; color: #cf3425; background: rgba(255,106,40,0.08); padding: 3px 10px; border-radius: 20px; }
.tl-tour-duration { font-size: 0.78rem; color: #8896b3; display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tl-tour-duration svg { width: 13px; }
.tl-price-strike { text-decoration: line-through; color: #ccc; font-size: 0.85rem; font-weight: 400; margin-left: 4px; }

/* Visa specific */
.tl-visa-meta { font-size: 0.78rem; color: #8896b3; display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.tl-visa-meta svg { width: 13px; color: #cf3425; }
.tl-visa-detail { font-size: 0.78rem; color: #556; margin-bottom: 4px; }

/* User avatar row */
.tl-user-row { display: flex; align-items: center; gap: 8px; }
.tl-user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.tl-user-name { font-size: 0.80rem; color: #556; font-weight: 600; }

/* Tab pane */
.tl-pane { display: none; }
.tl-pane.active { display: block; }

/* View all btn */
.tl-view-all {
    display: flex; justify-content: center; margin-top: 44px;
}
.tl-view-all a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 32px; border-radius: 50px;
    background: linear-gradient(135deg, #cf3425, #e55519);
    color: #fff; font-size: 0.92rem; font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255,106,40,0.28);
    transition: transform .2s, box-shadow .2s;
}
.tl-view-all a:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,106,40,0.40); color: #fff; }
.tl-view-all a svg { width: 16px; height: 16px; }
