 /* Header Search Bar */
 .search-header {
     background: white;
     padding: 20px;
     border-radius: 8px;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-bottom: 20px;
 }

 .search-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1.5fr auto;
     gap: 0;
     border: 1px solid var(--border-color);
     border-radius: 4px;
     overflow: hidden;
 }

 .search-field {
     background: white;
     border-right: 1px solid var(--border-color);
     padding: 15px;
     display: flex;
     flex-direction: column;
 }

 .search-field:last-child {
     border-right: none;
 }

 .search-field label {
     font-size: 11px;
     color: var(--text-light);
     margin-bottom: 5px;
     text-transform: uppercase;
     font-weight: 500;
 }

 .search-field input {
     border: none;
     outline: none;
     font-size: 14px;
     font-weight: 500;
     color: var(--text-color);
 }

 .search-btn {
     background: var(--primary-color);
     color: white;
     border: none;
     padding: 15px 30px;
     font-weight: 600;
     font-size: 14px;
     cursor: pointer;
     text-transform: uppercase;
 }

 .search-btn:hover {
     background: var(--primary-hover);
 }

 /* Breadcrumb */
 .breadcrumb {
     font-size: 14px;
     color: var(--primary-color);
     margin-bottom: 10px;
 }

 .breadcrumb a {
     color: var(--primary-color);
     text-decoration: none;
 }

 /* Header Info */
 .header-info {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 20px;
 }

 .results-title {
     font-size: 28px;
     font-weight: 600;
     color: var(--text-color);
 }

 .explore-tips {
     display: flex;
     align-items: center;
     color: var(--primary-color);
     font-size: 14px;
 }

 .explore-tips::before {
     content: "🔍";
     margin-right: 8px;
 }

 /* Main Layout */
 .main-layout {
     display: grid;
     grid-template-columns: 280px 1fr;
     gap: 20px;
 }

 /* Map Section */
 .map-section {
     background: white;
     border-radius: 8px;
     padding: 7px;
     height: fit-content;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
     margin-bottom: 20px;
 }

 .map-placeholder {
     background: rgba(107, 197, 210, 0.15);
     /* accent tint */
     height: 150px;
     border-radius: 4px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--primary-color);
     font-weight: 500;
     margin-bottom: 15px;
 }

 .explore-map-btn {
     background: white;
     border: 2px solid var(--primary-color);
     color: var(--primary-color);
     padding: 10px 20px;
     border-radius: 20px;
     font-weight: 600;
     cursor: pointer;
     width: 100%;
     text-transform: uppercase;
     font-size: 12px;
 }

 .explore-map-btn:hover {
     background: var(--primary-color);
     color: white;
 }

 .search-location {
     position: relative;
 }

 .search-location input {
     width: 100%;
     padding: 10px 35px 10px 15px;
     border: 1px solid var(--border-color);
     border-radius: 4px;
     outline: none;
 }

 .search-location::after {
     content: "🔍";
     position: absolute;
     right: 10px;
     top: 50%;
     transform: translateY(-50%);
 }

 /* Sidebar Filters */
 .sidebar {
     background: white;
     border-radius: 8px;
     padding: 10px;
     height: fit-content;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

 .filter-section {
     margin-bottom: 25px;
 }

 .filter-title {
     font-size: 16px;
     font-weight: 600;
     color: var(--text-color);
     margin-bottom: 15px;
 }

 .filter-option {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 10px;
     padding: 5px 0;
 }

 .filter-option input[type="checkbox"] {
     margin-right: 10px;
 }

 .filter-option label {
     flex: 1;
     color: var(--text-light);
     font-size: 14px;
     cursor: pointer;
     margin-right: 10px;
 }

 .filter-count {
     color: var(--text-light);
     font-size: 13px;
 }

 .show-more {
     color: var(--primary-color);
     font-size: 14px;
     cursor: pointer;
     text-align: right;
     margin-top: 10px;
 }

 /* Price Range Filter */
 .price-range {
     display: flex;
     gap: 10px;
     align-items: center;
     margin-bottom: 15px;
 }

 .price-range input {
     flex: 1;
     padding: 8px;
     border: 1px solid var(--border-color);
     border-radius: 4px;
     font-size: 14px;
 }

 .price-range-btn {
     background: var(--primary-color);
     color: white;
     border: none;
     padding: 8px 15px;
     border-radius: 4px;
     cursor: pointer;
     font-size: 12px;
 }

 /* Results Section */
 .results-section {
     background: transparent;
     border-radius: 0;
     box-shadow: none;
 }

 /* Sort Options */
 .sort-section {
     padding: 20px;
     border-bottom: 1px solid var(--border-color);
 }

 .sort-title {
     font-size: 14px;
     color: var(--text-light);
     margin-bottom: 10px;
 }

 .sort-options {
     display: flex;
     gap: 20px;
 }

 .sort-option {
     color: var(--text-light);
     text-decoration: none;
     font-size: 14px;
     padding: 5px 0;
     border-bottom: 2px solid transparent;
     cursor: pointer;
 }

 .sort-option.active {
     color: var(--primary-color);
     border-bottom-color: var(--primary-color);
     font-weight: 500;
 }

 .sort-option:hover {
     color: var(--primary-color);
 }

 /* Hotel Cards */
 .hotel-card {
     background: #fff;
     border: 1px solid var(--border-color);
     border-radius: 12px;
     padding: 18px;
     margin: 16px 16px 0;
     transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
 }

 .hotel-card:hover {
     box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
     transform: translateY(-2px);
     border-color: rgba(0, 0, 0, .08);
 }

 .card-content {
     display: flex;
     gap: 24px;
     flex-direction: row;
     align-items: stretch;
 }

 .hotel-images {
     display: flex;
     gap: 8px;
     flex-direction: column;
 }

 .main-image {
     width: 260px;
     height: 190px;
     border-radius: 10px;
     overflow: hidden;
 }

 .main-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .thumbnail-grid {
     display: flex;
     gap: 6px;
 }

 .thumbnail {
     width: 36px;
     height: 44px;
     border-radius: 4px;
     overflow: hidden;
     border: 1px solid rgba(0, 0, 0, .06);
 }

 .thumbnail img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .view-all {
     background: rgba(0, 0, 0, 0.72);
     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 11px;
     font-weight: 600;
     letter-spacing: .2px;
 }

 /* Hotel Info */
 .hotel-info {
     flex: 1;
 }

 .hotel-name {
     font-size: 22px;
     font-weight: 700;
     color: var(--text-color);
     margin-bottom: 6px;
 }

 .hotel-stars {
     color: #f5a623;
     font-size: 14px;
     letter-spacing: .5px;
     margin-bottom: 8px;
 }

 .hotel-location {
     color: #4b5563;
     font-size: 14px;
     margin-bottom: 12px;
 }

 .hotel-tags {
     display: flex;
     gap: 8px;
     margin-bottom: 12px;
 }

 .tag {
     background: rgba(107, 197, 210, 0.12);
     color: var(--primary-color);
     padding: 4px 10px;
     border-radius: 999px;
     font-size: 12px;
     font-weight: 600;
     border: 1px solid rgba(107, 197, 210, .35);
 }

 .tag.sponsored {
     background: #f0f0f0;
     color: #666;
 }

 .hotel-features {
     list-style: none;
     margin-bottom: 8px;
 }

 .hotel-features li {
     font-size: 13px;
     color: var(--text-light);
     margin-bottom: 4px;
     position: relative;
     padding-left: 15px;
 }

 .hotel-features li::before {
     content: "✓";
     color: #34a853;
     position: absolute;
     left: 0;
 }

 .special-offer {
     background: #fff3e0;
     color: var(--secondary-color);
     padding: 6px 10px;
     border-radius: 4px;
     font-size: 12px;
     font-weight: 500;
     display: inline-block;
     margin-top: 8px;
 }

 .special-offer::before {
     content: "🍽️";
     margin-right: 5px;
 }

 /* Hotel Pricing */
 .hotel-pricing {
     text-align: right;
     min-width: 220px;
 }

 .rating-section {
     display: flex;
     align-items: center;
     justify-content: flex-end;
     margin-bottom: 10px;
     gap: 8px;
 }

 .rating-text {
     font-size: 14px;
     font-weight: 500;
     color: var(--text-color);
 }

 .rating-badge {
     color: #fff;
     padding: 4px 10px;
     border-radius: 999px;
     font-size: 13px;
     font-weight: 700;
     box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
 }

 .rating-badge.excellent {
     background: #34a853;
 }

 .rating-count {
     font-size: 13px;
     color: var(--text-light);
 }

 .price-section {
     margin-bottom: 14px;
 }

 .original-price {
     text-decoration: line-through;
     color: #888;
     font-size: 14px;
     margin-bottom: 2px;
 }

 .current-price {
     font-size: 24px;
     font-weight: 800;
     color: var(--text-color);
     margin-bottom: 4px;
 }

 .price-note {
     font-size: 12px;
     color: var(--text-light);
     line-height: 1.3;
 }

 .book-button {
     background: linear-gradient(180deg, var(--secondary-color), #0d7f9a);
     color: white;
     border: none;
     padding: 10px 18px;
     border-radius: 999px;
     font-size: 14px;
     font-weight: 700;
     cursor: pointer;
     margin-bottom: 8px;
     letter-spacing: .2px;
 }

 .book-button:hover {
     background: var(--primary-color);
 }

 .pay-later {
     font-size: 12px;
     color: var(--primary-color);
     cursor: pointer;
 }

 /* Responsive Design */
 @media (max-width: 1024px) {
     .main-layout {
         grid-template-columns: 1fr;
     }

     .search-grid {
         grid-template-columns: 1fr;
     }

     .card-content {
         flex-direction: column;
     }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .explore-tips {
        display: none !important; /* hide Explore Travel Tips on mobile */
    }

    .hotel-tags,
    .hotel-features {
        display: none !important; /* hide tags and feature list on mobile */
    }

    .hotel-images {
        justify-content: center;
    }

     .hotel-pricing {
         text-align: left;
         min-width: auto;
     }

     /* Compact mobile layout */
     .hotel-card {
         padding: 12px;
         margin: 12px 12px 0;
         border-radius: 14px;
         background: #fff;
         border: none;
         box-shadow: 0 8px 24px rgba(0,0,0,.08);
         overflow: hidden; /* allow full-bleed media */
     }

     .card-content {
         gap: 12px;
     }

     .main-image {
         width: 100%;
         height: 180px;
         border-radius: 0;
         margin: -12px -12px 8px; /* full-bleed image like reference */
     }

     .thumbnail-grid {
         display: none;
     }

     .hotel-name {
         font-size: 18px;
         font-weight: 700;
         margin-bottom: 6px;
     }

     .hotel-stars {
         font-size: 13px;
         margin-bottom: 6px;
     }

     .hotel-location {
         font-size: 13px;
         margin-bottom: 8px;
     }

     .hotel-tags {
         gap: 6px;
         margin-bottom: 8px;
     }

     .tag {
         font-size: 11px;
         padding: 3px 8px;
     }

     .rating-badge {
         font-size: 12px;
         padding: 3px 8px;
         border-radius: 999px;
     }

     .rating-text {
         font-size: 13px;
     }

     .rating-count {
         font-size: 12px;
     }

     .current-price {
         font-size: 22px;
         margin-bottom: 2px;
     }

     .price-note {
         font-size: 11px;
     }

     .book-button {
         display: block;
         width: 100%;
         padding: 10px 16px;
         font-size: 14px;
         border-radius: 999px;
     }

     .special-offer {
         display: none !important; /* hide the yellow offer card on mobile */
     }

     /* Align rating row to the right like reference */
     .rating-section { justify-content: flex-end; }
     .rating-count { margin-bottom: 6px; }

     /* Mobile Filters: trigger button */
     .mobile-filter-btn {
         display: inline-flex;
         align-items: center;
         gap: 8px;
         background: var(--primary-color);
         color: #fff;
         border: none;
         padding: 10px 14px;
         border-radius: 999px;
         font-weight: 700;
         font-size: 14px;
     }

     /* Hide desktop sidebar on mobile; we'll use an overlay drawer instead */
     .main-layout .sidebar {
         display: none !important;
     }

     /* Filters Overlay */
     .filters-overlay {
         position: fixed;
         inset: 0;
         background: rgba(0,0,0,.45);
         z-index: 1100;
         opacity: 0;
         visibility: hidden;
         transition: opacity .25s ease, visibility .25s ease;
     }

     .filters-overlay.active {
         opacity: 1;
         visibility: visible;
     }

     .filters-drawer {
         position: absolute;
         top: 0;
         left: 0;
         height: 100%;
         width: 86%;
         max-width: 360px;
         background: #fff;
         box-shadow: 0 10px 30px rgba(0,0,0,.2);
         transform: translateX(-100%);
         transition: transform .3s ease;
         display: flex;
         flex-direction: column;
     }

     .filters-overlay.active .filters-drawer {
         transform: translateX(0);
     }

     .filters-header {
         display: flex;
         align-items: center;
         justify-content: space-between;
         padding: 14px 16px;
         border-bottom: 1px solid var(--border-color);
         font-weight: 700;
     }

     .filters-close {
         background: none;
         border: none;
         font-size: 22px;
         line-height: 1;
         padding: 6px 10px;
         border-radius: 8px;
     }

     .filters-content {
         padding: 12px 12px 20px;
         overflow-y: auto;
     }
 }

 /* Desktop: hide mobile filters overlay and button */
 @media (min-width: 769px) {
     .filters-overlay { display: none !important; }
     .mobile-filter-btn { display: none !important; }
 }