/* Luxe Browse Page Design - Final Refined */
:root {
    --primary-color: hsl(var(--base));
    --text-dark: #111111;
    --text-muted: #717171;
    --border-light: #f1f1f1;
}

body.browse-page {
    overflow: hidden;
    background: #fff;
    font-family: 'Inter', 'Public Sans', sans-serif;
}

body.browse-page .footer-area,
body.browse-page footer {
    display: none !important;
}

/* Floating pill header */
.luxe-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    z-index: 2000;
}

.luxe-header .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.luxe-header .nav-links {
    display: flex;
    gap: 25px;
    margin: 0 40px;
}

.luxe-header .nav-links a {
    color: var(--text-black);
    font-weight: 600;
    text-decoration: none;
    font-size: 15.5px;
    transition: color 0.2s;
}

.luxe-header .nav-links a:hover,
.luxe-header .nav-links a.active {
    color: var(--primary-color)
}

/* Ensure header stays strictly behind the mobile sidebar menu */
.sidebar-overlay.show {
    z-index: 2005 !important;
}

.sidebar-menu-wrapper {
    z-index: 2010 !important;
}

.luxe-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.luxe-header-right .user-link {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.luxe-header-right .user-link:hover {
    color: var(--primary-color);
}

.luxe-header-right .user-link i {
    font-size: 16px;
}

.luxe-header-right .wishlist-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background: #ff385c;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #fff;
}

.luxe-header .book-now-btn {
    background: hsl(var(--base));
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.luxe-header .book-now-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Main Container */
.main-browse-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Filter Bar */
.luxe-filter-bar {
    display: flex;
    gap: 12px;
    padding: 100px 40px 15px 40px;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
    background: #fff;
}

.luxe-filter-btn {
    padding: 10px 22px;
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    background: #fff;
    font-size: 13.5px;
    font-weight: 500;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.luxe-filter-btn:hover {
    border-color: var(--text-dark);
}

.luxe-filter-btn i {
    font-size: 11px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-top: 10px !important;
}

.dropdown-menu .form-control {
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.dropdown-menu label {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

/* Split View Wrapper */
.browse-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.browse-content-left {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 25px 40px;
    overflow-y: auto;
}

.browse-map-right {
    flex: 0 0 40%;
    max-width: 40%;
    height: 100%;
}

#map {
    height: 100%;
    width: 100%;
}

/* Pagination Styling */
.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.pagination .page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1px solid #e5e5e5;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    background: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

.pagination .page-item .page-link:hover {
    border-color: var(--text-dark);
    background: #f9f9f9;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hostel Card */
.luxe-hostel-card {
    margin-bottom: 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.luxe-hostel-card .thumb {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1.3 / 1;
    margin-bottom: 8px;
    /* Reduced from 12px */
}

.luxe-hostel-card .thumb a {
    display: block;
    height: 100%;
    width: 100%;
}

.luxe-hostel-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.luxe-hostel-card:hover .thumb img {
    transform: scale(1.04);
}

.luxe-hostel-card .wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s;
}

.luxe-hostel-card .wishlist-icon:hover {
    transform: scale(1.1);
}

.luxe-hostel-card .content {
    padding: 0;
}

.luxe-hostel-card .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.luxe-hostel-card .title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
}

.luxe-hostel-card .title a {
    color: inherit;
    text-decoration: none;
}

.luxe-hostel-card .rating-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 14px;
}

.luxe-hostel-card .rating-badge i {
    font-size: 12px;
    color: var(--primary-color);
}

.luxe-hostel-card .subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 0px;
    /* Reduced from 2px */
}

.luxe-hostel-card .price-row {
    margin-top: 4px;
    /* Reduced from 8px */
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.luxe-hostel-card .price-row span {
    font-weight: 400;
    color: var(--text-muted);
}

/* Custom Marker with Pointer */
.price-tag-marker {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 6px 15px;
    font-weight: 850;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    color: var(--text-dark);
}

.price-tag-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.price-tag-marker:hover,
.price-tag-marker.highlighted {
    background: var(--text-dark);
    color: #fff;
    transform: scale(1.1);
    z-index: 1000 !important;
}

.price-tag-marker:hover::after,
.price-tag-marker.highlighted::after {
    border-top-color: var(--text-dark);
}

.leaflet-div-icon {
    background: transparent !important;
    border: none !important;
}

/* Leaflet Overrides */
.luxe-popup .leaflet-popup-content-wrapper {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.luxe-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

.luxe-popup .leaflet-popup-tip-container {
    margin-top: -1px;
}

.luxe-popup-card {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.luxe-popup-image {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    display: block;
}

.luxe-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.luxe-popup-card:hover .luxe-popup-image img {
    transform: scale(1.05);
}

.luxe-popup-info {
    padding: 10px 12px 12px 12px;
}

.luxe-popup-title-link {
    text-decoration: none !important;
    display: block;
}

.luxe-popup-title-link:hover .luxe-popup-title {
    color: var(--primary-color) !important;
}

.luxe-popup-title {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: #111;
    line-height: 1.4;
    transition: color 0.2s;
}

.luxe-popup-address {
    font-size: 11px;
    color: #717171;
    margin: 2px 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.luxe-popup-price {
    font-weight: 800;
    font-size: 14px;
    color: #111;
    display: flex;
    align-items: center;
    gap: 4px;
}

.luxe-popup-price span {
    font-weight: 400;
    color: #717171;
    font-size: 12px;
}
.leaflet-popup-content p{
    margin: 0;
}
/* Hide original header */
body.browse-page .header-main-area {
    display: none !important;
}

@media (max-width: 991px) {
    .luxe-header {
        width: 95%;
        padding: 8px 20px;
    }

    .luxe-header .nav-links {
        display: none;
    }

    .main-browse-container {
        overflow: hidden;
        /* Keep main container fixed */
    }

    .luxe-filter-bar {
        overflow-x: auto;
        white-space: nowrap;
        padding: 20px 20px 10px 20px;
        margin-top: 80px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .luxe-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .browse-wrapper {
        flex-direction: column;
        height: calc(100vh - 140px);
        /* Adjust based on filter bar height */
    }

    .browse-content-left,
    .browse-map-right {
        flex: 0 0 100%;
        max-width: 100%;
        height: 100%;
        padding: 15px 20px;
    }

    /* By default on mobile, show list, hide map */
    .browse-map-right {
        display: none;
    }

    .browse-map-right.mobile-show {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10;
        padding: 0;
    }

    .mobile-view-toggle {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2100;
    }

    .mobile-view-toggle button {
        padding: 12px 28px;
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.5px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        border: none;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .browse-header-controls {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .luxe-hostel-card {
        margin-bottom: 25px;
    }

    body.map-active .luxe-header {
        display: none !important;
    }
}

/* --- Community Section Redesign --- */
.community-section {
    background-color: #F8FAFC;
    /* slightly light background maybe? */
}

.community-section .container {
    max-width: 1140px;
}

/* Left Side - Image & Comment Card */
.community-thumb {
    position: relative;
    border-radius: 24px;
    background-color: #3b6059;
    /* Matching the green background */
    overflow: visible;
    /* to allow floating card */
    padding: 20px 0 0 0;
    max-width: 90%;
}

.community-thumb img.img-2 {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 24px;
}

.community-thumb__inner {
    position: relative;
    display: inline-block;
    width: 100%;
}

.community-comment-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    text-align: left;
}

.community-comment-card .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.community-comment-card .user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.community-comment-card .user-info .name {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.community-comment-card .user-info .date {
    font-size: 10px;
    color: #717171;
    margin: 0;
}

.community-comment-card .comment-text {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.community-comment-card .stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    color: #717171;
    font-weight: 500;
}

.community-comment-card .stats i {
    color: hsl(var(--base));
    margin-right: 4px;
}

/* Right Side - Content */
.community-right-content {
    padding-left: 20px;
}

.community-right-content .subtitle {
    font-size: 12px;
    font-weight: 700;
    color: hsl(var(--base));
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.community-right-content .title-one {
    font-size: 38px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 20px;
}

.community-right-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.community-bottom {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.community-bottom__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.community-bottom__item .number {
    font-size: 20px;
    font-weight: 800;
    color: hsl(var(--base));
    flex-shrink: 0;
    margin-top: 2px;
}

.community-bottom__item .content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.community-bottom__item .content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.community-right-content .btn--base {
    background-color: hsl(var(--base));
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.community-right-content .btn--base:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

@media (max-width: 991px) {
    .community-right-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .community-thumb {
        margin: 0 auto;
    }
}

/* --- What We Offer Section --- */
.what-we-offer-area.section-bg {
    background-color: #F8FAFC !important;
    /* light gray background */
    border-radius: 20px;
    margin: 40px 0;
    padding: 100px 0;
}

.what-we-offer-area.section-bg .subtitle {
    font-size: 13px;
    font-weight: 800;
    color: hsl(var(--base));
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.what-we-offer-area.section-bg .title-one {
    font-size: 42px;
    font-weight: 850;
    color: #111;
    line-height: 1.2;
    margin-bottom: 0;
}

.what-we-offer-left {
    padding-right: 20px;
}

.modern-offer-card {
    background-color: #fff;
    border-radius: 24px;
    padding: 35px 30px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modern-offer-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    /* Lift effect */
    transform: translateY(-5px);
}

.modern-offer-icon {
    width: 60px;
    height: 60px;
    background-color: hsl(var(--base));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin-bottom: 25px;
}

.modern-offer-icon i,
.modern-offer-icon svg {
    color: #fff;
    fill: #fff;
}

.modern-offer-content .title-three {
    font-size: 19px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.modern-offer-content p {
    font-size: 14.5px;
    color: #717171;
    line-height: 1.6;
    margin: 0;
}

/* Staggered Grid Effect for Left Cards */
@media (min-width: 768px) {
    .what-we-offer-left .row>div:nth-child(even) {
        margin-top: 60px;
    }
}

@media (max-width: 575px) {
    .luxe-header {
        top: 10px;
        padding: 5px 15px;
        border-radius: 15px;
    }

    .luxe-header .logo span {
        display: none;
    }

    .luxe-header .book-now-btn {
        padding: 8px 15px;
        font-size: 11px;
    }

    .luxe-filter-bar {
        padding: 15px 15px 10px 15px;
        margin-top: 60px;
    }

    .browse-content-left {
        padding: 15px;
    }

    .browse-header-controls h2 {
        font-size: 22px;
    }

    /* Cards in single column on small mobile */
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Luxe Footer Design */
.luxe-footer {
    background-color: #f7f7f7;
    border-top: 1px solid #ebebeb;
    padding: 80px 0 0;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.luxe-footer .footer-item {
    width: 100% !important;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.luxe-footer .footer-item:before,
.luxe-footer .footer-item:after {
    display: none !important;
}

/* Reset nth-child widths from main.css */
.luxe-footer .footer-item:first-child,
.luxe-footer .footer-item:nth-child(2),
.luxe-footer .footer-item:nth-child(3),
.luxe-footer .footer-item:nth-child(4),
.luxe-footer .footer-item:nth-child(5) {
    width: 100% !important;
}

.luxe-footer .footer-item__title {
    font-size: 14px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0; /* Reset padding */
}

.luxe-footer .footer-item__title:after {
    display: none !important; /* Reset any title bars */
}

.luxe-footer .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.luxe-footer .footer-menu__item {
    margin-bottom: 12px;
}

.luxe-footer .footer-menu__link {
    color: #484848;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.luxe-footer .footer-menu__link:hover {
    text-decoration: underline;
    color: #222;
}

.luxe-footer .footer-item__desc {
    color: #717171 !important; /* Override white color from main.css */
    font-size: 14px;
    line-height: 1.6;
}

.luxe-footer .social-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px;
    padding: 0;
    list-style: none;
    margin-top: 20px;
}

.luxe-footer .social-list__link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    color: #222 !important;
    font-size: 16px;
    transition: background 0.2s;
}

.luxe-footer .social-list__link:hover {
    background: #ebebeb;
}

.luxe-footer .instagram-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    list-style: none;
    padding: 0;
}

.luxe-footer .instagram-wrapper img {
    width: 100% !important;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}

.luxe-footer .bottom-footer {
    border-top: 1px solid #ebebeb;
    margin-top: 60px;
    padding: 25px 0;
    background: #f7f7f7;
}

.luxe-footer .bottom-footer-tex p {
    margin: 0;
    color: #717171 !important;
    font-size: 14px;
}

.luxe-footer .footer-logo img {
    max-height: 40px;
    width: auto !important; /* Override width: 130px from main.css */
    margin-bottom: 20px;
}

.luxe-footer .subscribe-form {
    position: relative;
    margin-top: 15px;
}

.luxe-footer .subscribe-form .form--control {
    border-radius: 8px;
    border: 1px solid #dddddd !important;
    padding: 12px 15px;
    font-size: 14px;
    width: 100%;
    background: #fff;
    color: #222 !important;
}

.luxe-footer .subscribe-form .footer-email-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: #222 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 0 15px;
    transition: opacity 0.2s;
    height: auto !important;
    width: auto !important;
}

.luxe-footer .subscribe-form .footer-email-btn:hover {
    opacity: 0.8;
}

/* Modern Pill Search Bar Override */
.search-luxe-card.modern-pill {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 25px;
    border-radius: 50px;
    max-width: 900px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #ebebeb;
}

.search-luxe-card.modern-pill .search-luxe-section {
    flex: 1;
    border-radius: 40px;
    padding: 10px 20px;
    margin: 0;
    box-shadow: none !important;
    transition: background 0.2s;
    background: transparent;
}

.search-luxe-card.modern-pill .search-luxe-section:hover {
    background: #ebebeb;
}

.search-luxe-card.modern-pill .search-luxe-section.where {
    padding: 10px 20px 10px 0;
    flex: 1.2;
}

.search-luxe-card.modern-pill .search-luxe-section.where:hover {
    background: transparent;
}

.search-luxe-card.modern-pill .search-luxe-divider-vertical {
    width: 1px;
    height: 32px;
    background: #dddddd;
    margin: 0;
}

.search-luxe-card.modern-pill .search-luxe-content label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: #222;
}

.search-luxe-card.modern-pill .search-luxe-content input {
    font-size: 15px;
    font-weight: 500;
    color: #222 !important;
}

.search-luxe-card.modern-pill .search-luxe-content input::placeholder {
    color: #717171 !important;
    font-weight: 400;
}

.search-luxe-card.modern-pill .search-luxe-button-wrap {
    margin-left: 5px;
}

.search-luxe-card.modern-pill .search-luxe-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ff385c !important;
    color: #fff;
    font-size: 16px;
    box-shadow: none !important;
    transition: all 0.2s;
}

.search-luxe-card.modern-pill .search-luxe-btn:hover {
    background: #d90b3e !important;
    transform: scale(1.05) !important;
}

.search-luxe-card.modern-pill .search-text {
    display: none !important;
}

@media (max-width: 991px) {
    .search-luxe-card.modern-pill {
        flex-direction: column;
        border-radius: 24px;
        padding: 15px;
    }
    
    .search-luxe-card.modern-pill .search-luxe-divider-vertical {
        width: 100%;
        height: 1px;
        margin: 5px 0;
    }
    
    .search-luxe-card.modern-pill .search-luxe-section {
        width: 100%;
    }
    
    .search-luxe-card.modern-pill .search-luxe-section.where {
        padding: 10px 20px;
    }
    
    .search-luxe-card.modern-pill .search-luxe-btn {
        width: 100%;
        border-radius: 12px;
        margin-top: 10px;
    }
    
    .search-luxe-card.modern-pill .search-text {
        display: inline !important;
        font-weight: 700;
        font-size: 16px;
    }
}

/* Custom Dropdown Styling for Modern Pill */
.search-luxe-card.modern-pill .search-result-box {
    width: 320px !important;
    left: -20px !important;
    top: calc(100% + 15px) !important;
    border-radius: 32px !important;
    padding: 16px 0 !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.15) !important;
    border: 1px solid #ebebeb !important;
    background: #fff !important;
    max-height: 350px !important;
}

.search-luxe-card.modern-pill .search-result-box li {
    padding: 12px 25px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #444 !important;
    white-space: normal !important;
    transition: background 0.2s !important;
}

.search-luxe-card.modern-pill .search-result-box li:hover {
    background: #f7f7f7 !important;
    color: #111 !important;
}

@media (max-width: 991px) {
    .search-luxe-card.modern-pill .search-result-box {
        width: 100% !important;
        left: 0 !important;
        top: 100% !important;
        border-radius: 20px !important;
    }
}