/**
 * TripTickers - Modern App-Style Search Listing Stylesheet
 * Native mobile app-like listing feed, touch cards, filter chips, and bottom sheets
 */

:root {
    --tt-primary: #f47c20;
    --tt-primary-dark: #e0640d;
    --tt-primary-light: #fff5ed;
    --tt-navy: #0f2444;
    --tt-navy-light: #1b3863;
    --tt-text-muted: #64748b;
    --tt-bg-app: #f8fafc;
    --tt-border-card: #eef2f6;
    --tt-card-radius: 18px;
    --tt-shadow-subtle: 0 4px 20px rgba(15, 36, 68, 0.06);
    --tt-shadow-hover: 0 12px 30px rgba(15, 36, 68, 0.12);
}

/* Base Wrapper */
.tt-app-search-wrapper {
    background: var(--tt-bg-app);
    min-height: 100vh;
    padding-bottom: 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--tt-navy);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Top App Search Bar & Capsule */
.tt-app-topbar {
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.tt-app-search-capsule {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 8px 16px;
    margin: 12px 0;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    max-width: 100%;
}

.tt-app-search-capsule:hover {
    background: #e9eff5;
    border-color: #cbd5e1;
}

.tt-app-capsule-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.tt-app-capsule-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tt-primary-light);
    color: var(--tt-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.tt-app-capsule-text {
    line-height: 1.25;
}

.tt-app-capsule-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--tt-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tt-app-capsule-subtitle {
    font-size: 11px;
    color: var(--tt-text-muted);
}

.tt-app-capsule-btn-filter {
    background: #ffffff;
    color: var(--tt-navy);
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

.tt-app-capsule-btn-filter:hover {
    background: var(--tt-navy);
    color: #ffffff;
    border-color: var(--tt-navy);
}

/* Horizontal Swipeable Filter Chips */
.tt-app-chips-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.tt-app-chips-bar::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

.tt-app-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tt-app-chip:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--tt-navy);
}

.tt-app-chip.active {
    background: var(--tt-navy);
    color: #ffffff;
    border-color: var(--tt-navy);
}

.tt-app-chip.active-primary {
    background: var(--tt-primary);
    color: #ffffff;
    border-color: var(--tt-primary);
}

/* Header & Sorting Bar */
.tt-app-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    gap: 12px;
}

.tt-app-results-count {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--tt-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.tt-app-results-count .badge {
    background: var(--tt-primary-light);
    color: var(--tt-primary);
    font-size: 10.5px;
    font-weight: 800;
    border-radius: 999px;
    padding: 3px 8px;
}

/* Feed Header Order By & Sort Bar */
.tt-app-feed-header .bc-form-order {
    display: flex;
    align-items: center;
    margin: 0;
}

.tt-app-feed-header .bc-form-order .item.orderby {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.tt-app-feed-header .bc-form-order .item-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--tt-text-muted);
    margin: 0;
    white-space: nowrap;
}

.tt-app-feed-header .bc-form-order .dropdown {
    position: relative;
    display: inline-block;
}

.tt-app-feed-header .bc-form-order .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tt-navy);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    transition: all 0.2s ease;
    line-height: 1.3;
}

.tt-app-feed-header .bc-form-order .dropdown-toggle:hover {
    border-color: var(--tt-navy);
    background: #f8fafc;
}

.tt-app-feed-header .bc-form-order .dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    content: "";
    border-top: 4px solid;
    border-right: 3.5px solid transparent;
    border-bottom: 0;
    border-left: 3.5px solid transparent;
}

.tt-app-feed-header .bc-form-order .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(15, 36, 68, 0.12);
    padding: 6px;
    font-size: 12px;
    min-width: 175px;
    right: 0 !important;
    left: auto !important;
    margin-top: 6px;
}

.tt-app-feed-header .bc-form-order .dropdown-item {
    border-radius: 8px;
    padding: 7px 12px;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
}

.tt-app-feed-header .bc-form-order .dropdown-item:hover {
    background: #f1f5f9;
    color: var(--tt-primary);
}

.tt-app-feed-header .bc-form-order .item a[href*="map"] {
    display: none !important; /* Hide legacy unstyled map link inside feed header */
}

/* Container & Grid Alignment for App Style Search */
.tt-app-search-wrapper .ajax-search-result .list-item .row {
    display: flex;
    flex-wrap: wrap;
}

.tt-app-search-wrapper .ajax-search-result .list-item .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

/* Ultra Modern App Card Styles */
.tt-app-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 36, 68, 0.05);
    margin-bottom: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    position: relative;
}

.tt-app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 36, 68, 0.1);
    border-color: #cbd5e1;
}

/* Card Image Area */
.tt-app-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: #e2e8f0;
    overflow: hidden;
}

.tt-app-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tt-app-card:hover .tt-app-card-thumb img {
    transform: scale(1.04);
}

/* Floating Badges */
.tt-app-badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 3;
    pointer-events: none;
}

.tt-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    line-height: 1.2;
}

.tt-app-badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.tt-app-badge-instant {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
}

.tt-app-badge-sponsored {
    background: linear-gradient(135deg, #f47c20 0%, #ff5722 100%);
    color: #ffffff;
}

.tt-app-badge-flight {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.tt-app-badge-discount {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.tt-app-badge-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 36, 68, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.2;
}

/* Glassmorphism Wishlist Button */
.tt-app-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13.5px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.tt-app-wishlist:hover {
    background: #ffffff;
    color: #ef4444;
    transform: scale(1.08);
}

.tt-app-wishlist.active,
.tt-app-wishlist.true {
    color: #ef4444;
    background: #ffffff;
}

/* Card Body Area */
.tt-app-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Location and Category */
.tt-app-meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: var(--tt-text-muted);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.tt-app-meta-row i {
    color: var(--tt-primary);
    font-size: 11px;
}

.tt-app-agency-name {
    color: var(--tt-navy);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 145px;
}

.tt-app-agency-name i {
    color: var(--tt-text-muted) !important;
    font-size: 10.5px;
}

/* Card Title */
.tt-app-card-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
    color: var(--tt-navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.tt-app-card-title a {
    color: var(--tt-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.tt-app-card-title a:hover {
    color: var(--tt-primary);
}

/* Rating Pill */
.tt-app-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    min-height: 20px;
}

.tt-app-rating-pill {
    background: #fef3c7;
    color: #92400e;
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.3;
}

.tt-app-rating-pill i {
    color: #f59e0b;
    font-size: 9.5px;
}

.tt-app-review-count {
    font-size: 10.5px;
    color: var(--tt-text-muted);
    font-weight: 500;
}

.tt-app-no-review {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Features Highlights Chips */
.tt-app-features-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.tt-app-feature-tag {
    font-size: 10px;
    font-weight: 600;
    color: #0369a1;
    background: #f0f9ff;
    border: 1px solid #e0f2fe;
    padding: 1.5px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.3;
}

/* Card Footer / Pricing & CTA */
.tt-app-card-footer {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.tt-app-price-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tt-app-price-from {
    font-size: 8.5px;
    color: var(--tt-text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1;
    margin-bottom: 2px;
}

.tt-app-price-values {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.tt-app-original-price {
    font-size: 11px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.tt-app-selling-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--tt-primary);
    line-height: 1.1;
}

.tt-app-price-unit {
    font-size: 10px;
    color: var(--tt-text-muted);
    font-weight: 500;
}

.tt-app-btn-action {
    background: var(--tt-navy);
    color: #ffffff !important;
    border-radius: 999px;
    padding: 5.5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 36, 68, 0.12);
}

.tt-app-btn-action:hover {
    background: var(--tt-primary);
    transform: translateX(1px);
    box-shadow: 0 4px 10px rgba(244, 124, 32, 0.28);
}

/* Mobile Slide-up Filter Bottom Sheet */
.tt-app-filter-sheet-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 36, 68, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tt-app-filter-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    z-index: 1060;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-app-filter-sheet.is-open {
    display: flex;
    transform: translateY(0);
}

.tt-app-filter-sheet-backdrop.is-open {
    display: block;
    opacity: 1;
}

.tt-app-filter-sheet-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.tt-app-sheet-handle {
    width: 40px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 999px;
    margin: 0 auto 10px;
}

.tt-app-filter-sheet-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.tt-app-filter-sheet-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    background: #ffffff;
    flex-shrink: 0;
}

.tt-app-sheet-btn-clear {
    flex: 1;
    background: #f1f5f9;
    color: var(--tt-navy);
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
}

.tt-app-sheet-btn-apply {
    flex: 2;
    background: var(--tt-primary);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(244, 124, 32, 0.3);
}

/* Responsive adjustments across all devices */
@media (max-width: 991px) {
    .tt-app-card-title {
        font-size: 13px;
        min-height: 34px;
    }
    .tt-app-selling-price {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .tt-app-card {
        border-radius: 12px;
    }
    .tt-app-card-thumb {
        padding-top: 54%;
    }
    .tt-app-card-body {
        padding: 10px 12px 12px 12px;
    }
    .tt-app-card-title {
        font-size: 12.5px;
        min-height: 34px;
        margin-bottom: 4px;
    }
    .tt-app-selling-price {
        font-size: 14.5px;
    }
    .tt-app-btn-action {
        padding: 4.5px 10px;
        font-size: 10.5px;
    }
    .tt-app-feed-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px 0 8px !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .tt-app-feed-header > .d-flex {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
    .tt-app-results-count {
        font-size: 12.5px !important;
    }
    .tt-app-view-toggle {
        padding: 2px !important;
    }
    .tt-app-view-toggle .tt-view-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        gap: 4px !important;
    }
    .tt-app-feed-header .bc-form-order {
        margin: 0 !important;
    }
    .tt-app-feed-header .bc-form-order .item.orderby {
        gap: 6px !important;
    }
    .tt-app-feed-header .bc-form-order .item-title {
        font-size: 11px !important;
        display: none !important; /* Hide "Sort by:" label on mobile to save precious horizontal width */
    }
    .tt-app-feed-header .bc-form-order .dropdown-toggle {
        padding: 5px 11px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .tt-app-selling-price {
        font-size: 14px;
    }
    .tt-app-btn-action {
        padding: 4px 8px;
        font-size: 10px;
    }
    .tt-app-view-toggle .tt-view-btn span {
        font-size: 10.5px !important;
    }
}

/* ==========================================================================
   Interactive Map View & Switcher Styles
   ========================================================================== */
.tt-app-view-toggle {
    display: inline-flex;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 3px;
    gap: 3px;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

.tt-app-view-toggle .tt-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1.2;
    outline: none !important;
}

.tt-app-view-toggle .tt-view-btn.active {
    background: #ffffff;
    color: #0f2444;
    box-shadow: 0 2px 8px rgba(15, 36, 68, 0.12);
}

.tt-app-view-toggle .tt-view-btn:hover:not(.active) {
    color: var(--tt-primary);
    background: rgba(255, 255, 255, 0.6);
}

/* Floating Map/List View Pill (Mobile Only - Hidden on Desktop) */
.tt-app-floating-view-pill {
    display: none !important;
}

@media (max-width: 991px) {
    .tt-app-floating-view-pill {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: #0f2444;
        color: #ffffff;
        padding: 10px 22px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(15, 36, 68, 0.35);
        z-index: 1040;
        display: inline-flex !important;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        user-select: none;
    }

    .tt-app-floating-view-pill:hover {
        background: var(--tt-primary);
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 12px 28px rgba(244, 124, 32, 0.45);
        color: #ffffff;
    }
}

/* App-Style List View Layout (Horizontal Wide Cards) */
.tt-app-search-wrapper.is-list-view .ajax-search-result .list-item .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .tt-app-search-wrapper.is-list-view .tt-app-card {
        flex-direction: row !important;
        align-items: stretch;
        min-height: 220px;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-thumb {
        width: 320px !important;
        min-width: 320px !important;
        max-width: 320px !important;
        padding-top: 0 !important;
        height: auto !important;
        min-height: 220px;
        border-radius: 14px 0 0 14px !important;
        position: relative;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-thumb a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-thumb img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        object-fit: cover;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-body {
        flex: 1;
        padding: 18px 24px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .tt-app-search-wrapper.is-list-view .tt-app-card-footer {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid #f1f5f9;
    }
}

/* Interactive Map View Wrapper */
.tt-app-map-view-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    animation: fadeIn 0.3s ease;
}

.tt-app-map-container {
    width: 100%;
    height: 640px;
    min-height: 480px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 36, 68, 0.08);
    position: relative;
    background: #eef2f6;
}

.tt-app-map-container .results_map,
.tt-app-map-container .results_map_inner {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important;
}

.tt-app-map-container .leaflet-container {
    font-family: inherit;
}

@media (max-width: 768px) {
    .tt-app-map-container {
        height: 70vh;
        min-height: 380px;
        border-radius: 14px;
    }
}

/* ==========================================================================
   Nearby Famous Locations / Landmarks Filter (MakeMyTrip Style)
   ========================================================================== */
.tt-nearby-loc-search {
    margin-bottom: 12px;
    position: relative;
}

.tt-nearby-loc-search input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px 8px 30px;
    font-size: 12px;
    font-weight: 500;
    outline: none;
    background: #f8fafc;
    color: #1e293b;
    transition: all 0.2s ease;
}

.tt-nearby-loc-search input:focus {
    border-color: var(--tt-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.1);
}

.tt-nearby-loc-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 12px;
    pointer-events: none;
}

.tt-nearby-loc-list {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.tt-nearby-loc-list::-webkit-scrollbar {
    width: 4px;
}

.tt-nearby-loc-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.tt-nearby-loc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

.tt-nearby-loc-item:last-child {
    border-bottom: none;
}

.tt-nearby-loc-item label {
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
    font-size: 12.5px;
    color: #334155;
    font-weight: 600;
}

.tt-nearby-loc-item .badge-count {
    margin-left: auto;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
}

.tt-nearby-loc-item .badge-distance {
    font-size: 10px;
    color: #0284c7;
    background: #e0f2fe;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
    margin-left: 4px;
}

