/* ===================================
   HBE SEARCH - BREVISTAY STYLE
   =================================== */

/* Reset */
.hbe-search-page-wrapper *,
.hbe-search-page-wrapper *::before,
.hbe-search-page-wrapper *::after {
    box-sizing: border-box;
}

/* ===================================
   PAGE LAYOUT
   =================================== */

.hbe-search-page-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    min-height: 100vh;
}

/* Sidebar */
.hbe-filters-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

/* Main */
.hbe-search-main {
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .hbe-search-page-wrapper {
        flex-direction: column;
    }
    .hbe-filters-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }
}

/* ===================================
   FILTERS SIDEBAR
   =================================== */

.hbe-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.hbe-filter-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.hbe-clear-filters {
    font-size: 13px;
    color: #e91e63;
    text-decoration: none;
}

.hbe-filter-section {
    margin-bottom: 20px;
}

.hbe-filter-section h4 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.hbe-price-inputs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hbe-price-inputs input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.hbe-price-inputs span {
    color: #999;
}

.hbe-filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hbe-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.hbe-filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #e91e63;
}

.hbe-apply-filters {
    width: 100%;
    padding: 10px 16px;
    background: #fff;
    color: #e91e63;
    border: 1px solid #e91e63;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
}

.hbe-apply-filters:hover {
    background: #e91e63;
    color: #fff;
}

.hbe-mobile-filter-toggle {
    display: none;
}

/* ===================================
   SEARCH HEADER
   =================================== */

.hbe-search-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hbe-search-info h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.hbe-results-count {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.hbe-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.hbe-sort-wrapper select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

/* ===================================
   HOTEL CARDS
   =================================== */

.hbe-hotels-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Single Card - Horizontal Layout */
.hbe-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.hbe-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

@media (max-width: 700px) {
    .hbe-card {
        flex-direction: column;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .hbe-card:hover {
        box-shadow: none;
        border-color: #cbd5e1;
    }
}

/* ===================================
   CARD - IMAGE SECTION (LEFT)
   =================================== */

.hbe-card-images {
    width: 320px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

@media (max-width: 700px) {
    .hbe-card-images {
        width: 100%;
        min-width: auto;
    }
}

.hbe-card-main {
    display: block;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.hbe-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hbe-card:hover .hbe-card-main img {
    transform: scale(1.05);
}

.hbe-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #f5f5f5;
}

.hbe-card-soldout {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Thumbnails - horizontal row */
.hbe-card-thumbs {
    display: flex;
    flex-direction: row;
    gap: 4px;
    height: 60px;
}

.hbe-thumb {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

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

.hbe-thumb-more {
    position: relative;
}

.hbe-thumb-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hbe-thumb-more-overlay:hover {
    background: rgba(0,0,0,0.7);
    color: #fff;
}

/* ===================================
   CARD - INFO SECTION (RIGHT)
   =================================== */

.hbe-card-info {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Tags */
.hbe-card-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.hbe-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #666;
    letter-spacing: 0.5px;
}

/* Title */
.hbe-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.hbe-card-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.hbe-card-title a:hover {
    color: #e91e63;
}

/* Location */
.hbe-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
}

.hbe-card-location svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Amenities - Text Badges */
.hbe-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.hbe-amenity-badge {
    font-size: 11px;
    color: #555;
    background: #f8f8f8;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.hbe-amenity-more {
    font-size: 11px;
    color: #888;
    padding: 4px 8px;
}

/* ===================================
   PRICE SLABS - COMPACT BOXES
   =================================== */

.hbe-card-slabs {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hbe-slabs-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    overflow: hidden;
}

/* Carousel Arrows */
.hbe-slab-arr {
    width: 32px;
    height: 32px;
    border: 1.5px solid #e91e63;
    background: #fff;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e91e63;
    padding: 0;
    transition: all 0.15s ease;
}

.hbe-slab-arr:hover {
    background: #e91e63;
    color: #fff;
}

.hbe-slab-arr svg {
    display: block;
}

/* Scrolling Container */
.hbe-slabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
}

.hbe-slabs-scroll::-webkit-scrollbar {
    display: none;
}

/* Individual Slab Box */
.hbe-slab-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 10px 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.hbe-slab-box:hover {
    border-color: #e91e63;
    background: #fff5f8;
}

.hbe-slab-price {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.hbe-slab-hrs {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* Pay Now / At Hotel Breakup */
.hbe-slab-breakup {
    display: flex;
    gap: 4px;
    width: 100%;
    margin-top: 6px;
}

.hbe-slab-paynow,
.hbe-slab-payhotel {
    flex: 1;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 0;
    border-radius: 4px;
    text-align: center;
    line-height: 1.3;
}

.hbe-slab-paynow {
    color: #059669;
    background: #ecfdf5;
}

.hbe-slab-payhotel {
    color: #d97706;
    background: #fffbeb;
}

.hbe-slab-paynow em,
.hbe-slab-payhotel em {
    display: block;
    font-style: normal;
    font-size: 7.5px;
    font-weight: 500;
    color: #6b7280;
}

/* Unavailable */
.hbe-slab-unavail {
    padding: 10px 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 13px;
    color: #999;
}

/* ===================================
   NO RESULTS
   =================================== */

.hbe-no-results {
    text-align: center;
    padding: 60px 30px;
    background: #fff;
    border-radius: 12px;
}

.hbe-no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.hbe-no-results h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
}

.hbe-no-results p {
    color: #666;
    margin: 0 0 20px 0;
}

.hbe-btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
}

/* ===================================
   SEARCH BAR (if used)
   =================================== */

.hbe-search-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.hbe-search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.hbe-tab {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #f5f5f5;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.hbe-tab.active {
    background: #e91e63;
    color: #fff;
}

.hbe-search-bar {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.hbe-field {
    flex: 1;
    position: relative;
}

.hbe-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.hbe-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.hbe-search-btn {
    padding: 10px 24px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

#hbe-location-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
    display: none;
}

.hbe-location-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}

.hbe-location-item:hover {
    background: #f9f9f9;
}

.hbe-location-item span {
    font-size: 10px;
    color: #999;
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

@media (max-width: 600px) {
    .hbe-search-bar {
        flex-direction: column;
    }
    .hbe-search-btn {
        width: 100%;
    }
}

/* ===================================
   HEAVEN HAVN - PREMIUM STYLING
   =================================== */

/* Premium Card - Metallic Black Finish */
.hbe-card.hbe-heaven-havn-card,
.hbe-nightly-card.hbe-heaven-havn-card {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 25%, #1a1a1a 50%, #3a3a3a 75%, #1a1a1a 100%);
    background-size: 200% 200%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    overflow: hidden;
}

.hbe-card.hbe-heaven-havn-card::before,
.hbe-nightly-card.hbe-heaven-havn-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 30%,
        rgba(255,255,255,0.03) 45%,
        rgba(255,255,255,0.08) 50%,
        rgba(255,255,255,0.03) 55%,
        transparent 70%,
        transparent 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    animation: hhShine 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes hhShine {
    0% { background-position: 100% 0; }
    50%, 100% { background-position: -100% 0; }
}

.hbe-card.hbe-heaven-havn-card:hover,
.hbe-nightly-card.hbe-heaven-havn-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
        0 15px 50px rgba(0,0,0,0.5),
        0 0 30px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-6px);
}

/* Heaven Havn Badge */
.hbe-heaven-havn-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
    background-size: 200% 200%;
    animation: hhGoldShimmer 3s ease-in-out infinite;
    border-radius: 20px;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.4);
    z-index: 10;
}

@keyframes hhGoldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hbe-hh-icon {
    font-size: 14px;
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.hbe-hh-text {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Card Content Styling for Heaven Havn */
.hbe-heaven-havn-card .hbe-card-info,
.hbe-heaven-havn-card .hbe-nightly-content {
    background: transparent;
    position: relative;
    z-index: 2;
}

.hbe-heaven-havn-card .hbe-card-title a,
.hbe-heaven-havn-card .hbe-nightly-title a {
    color: #fff;
}

.hbe-heaven-havn-card .hbe-card-title a:hover,
.hbe-heaven-havn-card .hbe-nightly-title a:hover {
    color: #f4d03f;
}

.hbe-heaven-havn-card .hbe-card-location,
.hbe-heaven-havn-card .hbe-nightly-location {
    color: rgba(255,255,255,0.7);
}

.hbe-heaven-havn-card .hbe-card-location svg,
.hbe-heaven-havn-card .hbe-nightly-location svg {
    color: #d4af37;
    opacity: 1;
}

/* Tags in Heaven Havn */
.hbe-heaven-havn-card .hbe-tag,
.hbe-heaven-havn-card .hbe-nightly-tag {
    background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(244,208,63,0.2));
    color: #f4d03f;
    border: 1px solid rgba(212,175,55,0.3);
}

/* Amenities in Heaven Havn */
.hbe-heaven-havn-card .hbe-amenity-badge,
.hbe-heaven-havn-card .hbe-nightly-amenities span {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}

.hbe-heaven-havn-card .hbe-amenity-more {
    color: rgba(255,255,255,0.5);
}

/* Slab Arrows in Heaven Havn */
.hbe-heaven-havn-card .hbe-slab-arr {
    border-color: rgba(212,175,55,0.5);
    color: #d4af37;
    background: rgba(255,255,255,0.05);
}

.hbe-heaven-havn-card .hbe-slab-arr:hover {
    background: #d4af37;
    color: #1a1a1a;
}

/* Slab Boxes in Heaven Havn */
.hbe-heaven-havn-card .hbe-slab-box {
    background: rgba(255,255,255,0.05);
    border-color: rgba(212,175,55,0.3);
}

.hbe-heaven-havn-card .hbe-slab-box:hover {
    background: rgba(212,175,55,0.15);
    border-color: #d4af37;
}

.hbe-heaven-havn-card .hbe-slab-price {
    color: #fff;
}

.hbe-heaven-havn-card .hbe-slab-hrs {
    color: rgba(255,255,255,0.6);
}

/* Nightly card specifics */
.hbe-heaven-havn-card .hbe-nightly-footer {
    border-top-color: rgba(255,255,255,0.1);
}

.hbe-heaven-havn-card .hbe-nightly-from,
.hbe-heaven-havn-card .hbe-nightly-per {
    color: rgba(255,255,255,0.6);
}

.hbe-heaven-havn-card .hbe-nightly-amount {
    color: #fff;
}

.hbe-heaven-havn-card .hbe-nightly-btn {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1a1a1a;
}

.hbe-heaven-havn-card .hbe-nightly-btn:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    color: #1a1a1a;
}

/* Gallery styling in Heaven Havn */
.hbe-heaven-havn-card .hbe-card-images,
.hbe-heaven-havn-card .hbe-nightly-gallery {
    position: relative;
    z-index: 2;
}

.hbe-heaven-havn-card .hbe-thumb-more-overlay,
.hbe-heaven-havn-card .hbe-nightly-more-overlay {
    background: rgba(212,175,55,0.8);
    color: #1a1a1a;
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 700px) {
    .hbe-heaven-havn-badge {
        top: 8px;
        left: 8px;
        padding: 6px 12px;
    }
    
    .hbe-hh-icon {
        font-size: 12px;
    }
    
    .hbe-hh-text {
        font-size: 10px;
    }
}

/* ===================================
   HEAVEN HAVN - FILTER STYLES
   =================================== */

.hbe-heaven-havn-filter-section {
    padding: 16px;
    margin-bottom: 20px !important;
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hbe-heaven-havn-checkbox {
    margin-bottom: 12px !important;
}

.hbe-hh-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    font-weight: 600 !important;
}

.hbe-hh-filter-icon {
    color: #d4af37;
    font-size: 16px;
}

.hbe-view-all-hh {
    display: block;
    font-size: 12px;
    color: #d4af37;
    text-decoration: none;
    margin-top: 8px;
    padding-left: 26px;
    transition: all 0.2s ease;
}

.hbe-view-all-hh:hover {
    color: #f4d03f;
    text-decoration: underline;
}

/* ===================================
   MOBILE FULL WIDTH & NO SHADOWS
   =================================== */
@media (max-width: 768px) {
    .hbe-search-page-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .hbe-search-main {
        max-width: 100% !important;
        width: 100% !important;
        box-shadow: none !important;
    }

    .hbe-hotels-grid {
        box-shadow: none !important;
    }

    /* Remove all decorative shadows on mobile */
    .hbe-filter-bar,
    .hbe-filter-dropdown-btn,
    .hbe-search-wrapper {
        box-shadow: none !important;
    }
}

/* ===================================
   MOBILE THUMBNAILS
   =================================== */
@media (max-width: 700px) {
    .hbe-card-main {
        height: 220px;
    }
}
