.custom-col-width {
    width: 23.3% !important;
    flex: 0 0 23.3 !important;
    max-width: 23.3% !important;
}

/* RTL support for Arabic and Persian - ONLY when these languages are active */
body.rtl {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl * {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .header-top {
    direction: rtl !important;
}

body.rtl .header-top-left,
body.rtl .header-top-right {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .header-top-right {
    flex-direction: row !important;
}

body.rtl .top-social,
body.rtl .top-contact-info {
    direction: rtl !important;
}

body.rtl .top-contact-info ul {
    direction: rtl !important;
    padding-right: 0 !important;
}

body.rtl .main-navigation {
    direction: rtl !important;
}

body.rtl .navbar-nav {
    flex-direction: row-reverse !important;
    direction: rtl !important;
}

body.rtl .nav-item {
    direction: rtl !important;
}

body.rtl .dropdown-menu {
    left: auto !important;
    right: 0 !important;
    text-align: right !important;
    direction: rtl !important;
}

/* Horizontal Language Options */
.language-options-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    gap: 12px;
}

.language-option:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
}

.language-option.active {
    background: #e1f0ff;
    border-color: #4da8ff;
}

.language-option .flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    flex-shrink: 0;
}

.language-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.language-name {
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
}

.language-code {
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 4px;
    align-self: flex-start;
}

/* 6-Column Currency Grid */
.currency-grid-six-columns {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

.currency-item {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    gap: 8px;
    min-height: 60px;
    width:120px;
}

.currency-item:hover {
    background: #f8fafc;
    border-color: #cbd5e0;
}

.currency-item.selected {
    background: #e1f0ff;
    border-color: #4da8ff;
}

.currency-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    flex-shrink: 0;
}

.currency-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.currency-code {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
}

.currency-name {
    font-size: 11px;
    color: #718096;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .currency-grid-six-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .language-options-horizontal {
        grid-template-columns: 1fr;
    }
    
    .currency-grid-six-columns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .currency-grid-six-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
    
/* Dropdown Footer */
.dropdown-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.selection-status {
    font-size: 13px;
    color: #718096;
    margin-bottom: 12px;
    text-align: center;
}

.selection-status span {
    font-weight: 600;
    color: #2d3748;
}

.apply-btn {
    width: 100%;
    background: #0a2c5e;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 14px;
}

.apply-btn:hover {
    background: #083a7c;
}

/* RTL Support */
.language-ar .dropdown-content,
.language-fa .dropdown-content {
    right: auto;
    left: 0;
}

/* Scrollbar Styling */
.currency-options::-webkit-scrollbar {
    width: 6px;
}

.currency-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.currency-options::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.currency-options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Dropdown Container Styles */
.dropdown-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    z-index: 1100;
}

.dropdown-btn {
    background: #ffffff00;
    border: 1px solid #dddddd00;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #ffffff;
    transition: all 0.3s ease;
    height: 32px;
    min-width: 100px;
}

.dropdown-btn:hover {
    background: #f5f5f500;
    border-color: #bbbbbb00;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: white;
    width: 900px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    padding: 25px;
    margin-top: 10px;
}

.dropdown-container.active .dropdown-content {
    display: block;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0a2c5e;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0px;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    direction: ltr;
    text-align: left;
    font-size:16px;
}

html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

.container-wrapper {
    max-width: 1540px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.container {
    flex: 1;
    min-width: 600px;
    background-color: #ffffff00;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
    padding: 0px;
    box-sizing: border-box;
}


/* Photo Gallery - Fixed height and image fitting */
.gallery-and-main-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo-gallery {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr;
   grid-template-rows: repeat(2, 1fr);
   gap: 10px;
   height: 350px !important;
   margin-bottom: 20px;
   width: 100%;
}
html[dir="rtl"] .photo-gallery {
    grid-template-columns: 1fr 1fr 2fr;
}

.gallery-item {
    background-color: #eee;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-photo-grid {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}
html[dir="rtl"] .main-photo-grid {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.middle-photos {
    grid-column: 2 / 3;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
html[dir="rtl"] .middle-photos {
    grid-column: 2 / 3;
}

.right-photos {
    grid-column: 3 / 4;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
html[dir="rtl"] .right-photos {
    grid-column: 1 / 2;
}

.photo-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    cursor: pointer;
    z-index: 10;
}
html[dir="rtl"] .photo-count {
    left: auto;
    right: 10px;
}

/* Map Popup Modal */
.map-popup-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.map-popup-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    border-radius: 8px;
    width: 1700px;
    max-width: 95%;
    height: 85vh;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: animatemodal 0.4s;
    display: flex;
    flex-direction: column;
}

.map-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}
html[dir="rtl"] .map-popup-header {
    flex-direction: row-reverse;
}

.map-popup-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.map-sidebar {
    width: 350px;
    background: #f9f9f9;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    padding: 15px;
    flex-shrink: 0;
}

.map-popup-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin: 0;
}

.map-popup-close {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
.map-popup-close:hover {
    color: #000;
}

.map-container {
    flex: 1;
    height: 100%;
    background-color: #e9ecef;
    overflow: hidden;
    position: relative;
}

.map-marker-point {
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -100%);
    transition: transform 0.2s;
}
.map-marker-point:hover {
    transform: translate(-50%, -100%) scale(1.2);
    z-index: 10;
}
.map-marker-point i {
    color: #d9534f;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.map-marker-point:hover i {
    color: #d9534f;
}

.sidebar-hotel-item {
    background: white;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
}
.sidebar-hotel-item h4 { margin: 0 0 5px 0; font-size: 16px; }
.sidebar-hotel-item .price { color: #e67e22; font-weight: bold; }

.hotel-marker {
    background: #007bff;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    border: 2px solid white;
    cursor: pointer;
    white-space: nowrap;
}

.hotel-marker::before {
    content: '🏨';
    margin-right: 5px;
}
html[dir="rtl"] .hotel-marker::before {
    margin-right: 0;
    margin-left: 5px;
}

/* Scroll Navigation Buttons */
.scroll-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    margin-top:80px;
    border-bottom: 1px solid #eee;
    padding: 20px;
    justify-content: flex-start;
    font-size:1.1em;
    background: white;
}

.scroll-nav button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    color: #555;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.scroll-nav button:hover {
    background-color: #e0e0e0;
    color: #333;
}
.scroll-nav button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Hotel Overview Header */
.hotel-overview-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
}
html[dir="rtl"] .hotel-overview-header {
    grid-template-columns: 1fr 2fr;
}
html[dir="rtl"] .hotel-overview-header .hotel-overview-info {
    grid-column: 2 / 3;
}
html[dir="rtl"] .hotel-overview-header .map-section {
    grid-column: 1 / 2;
}

.hotel-overview-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hotel-name-address {
    font-size: 1.6em;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.hotel-address {
    font-size: 1em;
    color: #555;
    margin: 0;
}
.reviews-summary {
    font-size: 0.9em;
    color: #28a745;
    font-weight: 500;
    margin-left: 0px;
    padding: 10px;
}
html[dir="rtl"] .reviews-summary {
    margin-left: 0;
    margin-right: 15px;
}
.reviews-summary span {
    font-size: 0.9em;
    color: #777;
    margin-left: 5px;
}
html[dir="rtl"] .reviews-summary span {
    margin-left: 0;
    margin-right: 5px;
}

.star-rating {
    color: #ffc107;
    font-size: 1em;
    margin-left: 10px;
}
html[dir="rtl"] .star-rating {
    margin-left: 0;
    margin-right: 10px;
}
.star-rating::before {
    content: '★★★★';
    letter-spacing: 2px;
}

.check-in-out-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 1.3em;
}

html[dir="rtl"] .check-in-out-box > div {
    padding-right: 0;
    padding-left: 15px;
    border-right: none;
    border-left: 1px solid #eee;
}
html[dir="rtl"] .check-in-out-box > div:last-child {
    border-left: none;
    padding-left: 0;
}

.guest-room-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    gap: 15px;
    font-size: 1em;
}

html[dir="rtl"] .guest-room-box > div {
    padding-right: 0;
    padding-left: 15px;
    border-right: none;
    border-left: 1px solid #eee;
}
html[dir="rtl"] .guest-room-box > div:last-child {
    border-left: none;
    padding-left: 0;
}



/* Map Section Clickable */
.map-section {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1.2em;
    cursor: pointer;
    flex-direction: column;
    transition: opacity 0.2s;
}
.map-section:hover {
    opacity: 0.9;
}

/* Main Content Sections */
section {
    background-color: #ffffff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

h2 {
    font-size: 1.5em;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.amenity-description p {
    margin-bottom: 10px;
    font-size:16px;
}

.see-more {
    color: #007bff;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}
.see-more:hover {
    text-decoration: underline;
}

/* Popular Amenities Detailed List in Overview */
.overview-amenities-list, .overview-nearby-list {
    margin-top: 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
}
.overview-amenities-list h3, .overview-nearby-list h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
.overview-amenities-list ul, .overview-nearby-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}
.overview-amenities-list li, .overview-nearby-list li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}
html[dir="rtl"] .overview-amenities-list li, html[dir="rtl"] .overview-nearby-list li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.overview-amenities-list li i {
    color: #007bff;
    width: 18px;
    text-align: center;
}
.overview-nearby-list li i {
    color: #6c757d;
    width: 18px;
    text-align: center;
}
.overview-nearby-list .distance {
    font-size: 0.85em;
    color: #888;
    margin-left: auto;
}
html[dir="rtl"] .overview-nearby-list .distance {
    margin-left: 0;
    margin-right: auto;
}

/* Choose Room Section */
.room-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #fdfdfd;
    display: flex;
    overflow: hidden;
}
html[dir="rtl"] .room-card {
    flex-direction: row-reverse;
}

.room-card-image-gallery {
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-size: 1em;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.room-card-image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.room-image-count {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 0.9em;
    text-align: center;
    z-index: 10;
    width: 100%;
}
html[dir="rtl"] .room-image-count {
    right: auto;
    left: 5px;
}
.wishlist-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s;
}
html[dir="rtl"] .wishlist-heart {
    right: auto;
    left: 10px;
}
.wishlist-heart.liked {
    color: #e74c3c;
}

.room-card-content {
    flex-grow: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-card h3 {
    margin: 0;
    font-size: 1.1em;
    color: #34495e;
    margin-bottom: 10px;
}

.room-options {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.room-option {
    border-top: 1px dashed #d6d6d6;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.room-option.single {
    border-top: none;
    padding-top: 0;
}
.option-details {
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
    order: 1;
}
html[dir="rtl"] .option-details {
    order: 3;
    text-align: right;
    margin-left: 15px;
    margin-right: 0;
}
.option-details span {
    font-size: 0.9em;
    color: #027400;
    margin-bottom: 3px;
    font-size:1.1em;
}
.select-rooms-dropdown {
    margin-top: 5px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 0.9em;
    width: 100px;
    order: 2;
}
html[dir="rtl"] .select-rooms-dropdown {
    order: 2;
    margin-left: 15px;
    margin-right: 0;
}

.price-and-select {
    text-align: right;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-basis: 40%;
    order: 3;
}
html[dir="rtl"] .price-and-select {
    order: 1;
    text-align: left;
    align-items: flex-start;
}
.price-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
html[dir="rtl"] .price-details {
    align-items: flex-start;
}
.price-details .price {
    font-size: 1.4em;
    font-weight: 700;
    color: #e67e22;
}
.price-details .total-price, .price-details .taxes-fees {
    font-size: 1.1em;
    color: #777;
}
.no-resort-fee {
    font-size: 1em;
    color: #28a745;
    font-weight: 500;
}
.select-room-btn {
    background-color: #0d47a1;
    color: #fff;
    border: none;
    padding: 8px 35px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.4em;
    font-weight: 500;
    transition: background-color 0.2s;
}
.select-room-btn:hover {
    background-color: #007bff;
}

.see-more-rooms-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    background-color: #eaf7ff;
    color: #0d47a1;
    border: 1px solid #0d47a1;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}
.see-more-rooms-btn:hover {
    background-color: #007bff;
    color: #fff;
}

/* More Information Section */
.info-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.info-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
}
.info-box h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 10px;
}
.info-box p {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}
.info-box .rules {
    font-size: 1em;
    color: #777;
    margin-top: 5px;
}

/* Amenities Detailed Section */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.amenity-category {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
}
.amenity-category h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.1em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
.amenity-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.amenity-category li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}
html[dir="rtl"] .amenity-category li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.amenity-category li i {
    color: #007bff;
    width: 18px;
    text-align: center;
}
/* Hidden items in amenity lists */
.hidden-amenity-item, .hidden-overview-amenity, .hidden-nearby-attraction, .hidden-nearby-airport, .hidden-modal-amenity, .hidden-modal-room-amenity {
    display: none;
}

/* Nearby Section */
.nearby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.nearby-list {
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
}
.nearby-list h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.2em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
.nearby-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}
.nearby-list li {
    padding: 5px 0;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
html[dir="rtl"] .nearby-list li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.nearby-list li i {
    color: #6c757d;
    margin-right: 5px;
}
html[dir="rtl"] .nearby-list li i {
    margin-right: 0;
    margin-left: 5px;
}
.nearby-list .distance {
    font-size: 0.85em;
    color: #888;
    margin-left: auto;
}
html[dir="rtl"] .nearby-list .distance {
    margin-left: 0;
    margin-right: auto;
}
.nearby-list .see-more {
    display: block;
    margin-top: 15px;
    text-align: right;
}
html[dir="rtl"] .nearby-list .see-more {
    text-align: left;
}

/* ============================================================
   REVIEW SLIDER
============================================================ */

.guest-reviews-container{
    width:100%;
    border:1px solid #eee;
    border-radius:8px;
    background:#fff;
    overflow:hidden;
}

/* Header */

.guest-reviews-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    padding:15px;
    border-bottom:1px solid #eee;
}

.reviews-summary-small{
    font-size:1rem;
    color:#28a745;
    font-weight:600;
}

.reviews-summary-small span{
    color:#666;
    font-weight:400;
}

.review-sort-dropdown{
    padding:8px 12px;
    border:1px solid #ccc;
    border-radius:5px;
    font-size:.9rem;
}


/* ============================================================
   CAROUSEL
============================================================ */

.reviews-carousel-wrapper{
    position:relative;
    width:100%;
    overflow:hidden;
    padding:0px 25px;
    box-sizing:border-box;
}

.reviews-carousel{
    display:flex;
    flex-wrap:nowrap;
    gap:0;
    transition:transform .4s ease;
    will-change:transform;
}

/* IMPORTANT */
.reviews-carousel-item{
    flex:0 0 100%;
    width:100%;
    min-width:100%;
    max-width:100%;
    box-sizing:border-box;
    padding:0 5px;
}


/* ============================================================
   CARD
============================================================ */

.review-card-mini{
    margin-top: 40px;
    width:100%;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    padding:16px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    max-height:180px;
    position:relative;
    transition:max-height .35s ease;
}

.review-card-mini:not(.expanded) .review-text{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
}

.review-card-mini.expanded{
    max-height:1500px;
}

.review-card-mini:not(.expanded)::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:60px;
    background:linear-gradient(transparent,#fff);
    pointer-events:none;
}

.review-score{
    font-size:1rem;
    font-weight:700;
    color:#28a745;
    margin-bottom:0px;
}

.review-text{
    font-size:.8rem;
    line-height:1.5;
    color:#444;
    word-break:break-word;
}

/* Reviewer name */
.reviewer-info{
    color:#1565C0;
    font-weight:600;
}

/* Review date (e.g. "5 days ago") */
.review-date{
    color:#28a745;
    font-weight:500;
}


/* ============================================================
   BUTTON
============================================================ */

.read-more-btn{

    display:inline-block;

    width:auto;
    min-width:90px;

    margin-top:12px;

    padding:7px 14px;

    font-size:.85rem;
    font-weight:600;

    border:none;
    border-radius:5px;

    background:#0d47a1;
    color:#fff;

    cursor:pointer;
}

.read-more-btn:hover{
    background:#1565c0;
}


/* ============================================================
   ARROWS
============================================================ */

.carousel-btn{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:#0d47a1;
    color:#fff;

    font-size:22px;

    display:flex;
    justify-content:center;
    align-items:center;

    cursor:pointer;

    z-index:100;
}

.carousel-btn:hover{
    background:#1565c0;
}

.carousel-btn.prev{
    left:5px;
}

.carousel-btn.next{
    right:5px;
}

html[dir="rtl"] .carousel-btn.prev{
    left:auto;
    right:5px;
    transform:translateY(-50%) scaleX(-1);
}

html[dir="rtl"] .carousel-btn.next{
    right:auto;
    left:5px;
    transform:translateY(-50%) scaleX(-1);
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width:768px){

    .reviews-carousel-wrapper{
        padding: 0px 22px;
    }

    .reviews-carousel-item{
        flex:0 0 100%;
        width:100%;
        min-width:100%;
        max-width:100%;
        padding:5px;
    }

    .review-card-mini{
        max-height:170px;
        padding:15px;
    }
    .review-text{
    font-size:.7rem;
    line-height:1.5;
    color:#444;
    word-break:break-word;
}

.check-in-out-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 1em;
}

.guest-room-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 1em;
}

    .read-more-btn{
        font-size:.82rem;
        padding:6px 12px;
        min-width:80px;
    }

}


/* ============================================================
   DESKTOP
============================================================ */

@media (min-width:769px){

  .reviews-carousel-wrapper{
    padding:0px 25px;
}

    .reviews-carousel-item{

        flex:0 0 calc(100% / 3);
        width:calc(100% / 3);
        min-width:calc(100% / 3);

        padding:0 10px;
    }

    .review-card-mini{
        max-height:210px;
    }

}




/* RTL support – flip arrows */
html[dir="rtl"] .carousel-btn.prev {
    left: auto;
    right: 5px;
    transform: translateY(-50%) scaleX(-1);
}
html[dir="rtl"] .carousel-btn.next {
    right: auto;
    left: 5px;
    transform: translateY(-50%) scaleX(-1);
}

/* ----- Booking Help ----- */
.booking-help {
    text-align: center;
    padding: 30px;
    background-color: #eaf7ff;
    border: 1px solid #cceeff;
    border-radius: 8px;
    margin-top: 30px;
}
.booking-help h3 {
    margin-top: 0;
    color: #007bff;
    font-size: 24px !important;
}
.booking-help .phone-number {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 10px;
}

/* MODAL (Image Pop-up) */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    width: 1600px;
    max-width: 90%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatemodal;
    animation-duration: 0.4s;
}

/* Modal Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
html[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
}
.modal-header .hotel-details-in-modal {
    font-size: 1.1em;
    color: #555;
}
html[dir="rtl"] .modal-header .hotel-details-in-modal {
    text-align: right;
}
.modal-header .hotel-details-in-modal strong {
    display: block;
    font-size: 1.3em;
    color: #333;
}
.modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}
html[dir="rtl"] .modal-actions {
    flex-direction: row-reverse;
}
.modal-select-room-btn {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.2s;
}
.modal-select-room-btn:hover {
    background-color: #218838;
}
.modal-close-btn {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}
.modal-close-btn:hover,
.modal-close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Slider */
.modal-main-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
    height: 70vh;
}
html[dir="rtl"] .modal-main-content {
    grid-template-columns: 1fr 3fr;
}
.modal-slider {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
html[dir="rtl"] .modal-main-content .modal-slider {
    grid-column: 2 / 3;
}
html[dir="rtl"] .modal-main-content .modal-amenities-section {
    grid-column: 1 / 2;
}

.modal-slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}
.modal-slide-img.active {
    display: block;
}
.modal-prev, .modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}
.modal-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.modal-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}
html[dir="rtl"] .modal-prev {
    left: auto;
    right: 0;
    border-radius: 3px 0 0 3px;
    transform: translateY(-50%) scaleX(-1);
}
html[dir="rtl"] .modal-next {
    right: auto;
    left: 0;
    border-radius: 0 3px 3px 0;
    transform: translateY(-50%) scaleX(-1);
}
.modal-prev:hover, .modal-next:hover {
    background-color: rgba(0,0,0,0.8);
}

.modal-amenities-section {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    overflow-y: auto;
    height: 95%;
}
.modal-amenities-section h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.3em;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
.modal-amenities-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.modal-amenities-section li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
}
html[dir="rtl"] .modal-amenities-section li {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.modal-amenities-section li i {
    color: #007bff;
    width: 18px;
    text-align: center;
}

/* Keyframe Animation */
@keyframes animatemodal {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* --- Contact Card (now inside container-wrapper) --- */
.contact-card-sidebar {
    flex-shrink: 0;
    width: 250px;
    display:flex;
}
.contact-card {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: sticky;
    top: 20px;
}

.card-header {
    background-color: #0d47a1;
    height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 15px;
}
.header-text {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 60px;
}
.header-image {
    position: absolute;
    bottom: -65px;
    width: 100%;
    text-align: center;
    z-index: 1;
}
.header-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.card-content {
    flex-grow: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 60px;
    gap: 10px;
}
html[dir="rtl"] .card-content {
    text-align: right;
    align-items: flex-end;
}
.card-content p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.4;
}
.card-content .main-message {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.card-content .phone-number {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.live-chat-button {
    background-color: #0d47a1;
    color: #ffffff;
    border: 1px solid #0099ff;
    padding: 10px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.live-chat-button:hover {
    background-color: #0ba6ff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .container-wrapper {
        flex-direction: column;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .check-in-out-box {
        background-color: #f9f9f9;
        border: 1px solid #eee;
        padding: 15px;
        border-radius: 6px;
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
        gap: 5px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .check-in-out-box {
        background-color: #f9f9f9;
        border: 1px solid #eee;
        padding: 15px;
        border-radius: 6px;
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
        gap: 5px;
        font-size: 1em;
    }
}

@media (max-width: 992px) {
    .guest-room-box {
        background-color: #f9f9f9;
        border: 1px solid #eee;
        padding: 15px;
        border-radius: 6px;
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
        gap: 5px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .guest-room-box {
        background-color: #f9f9f9;
        border: 1px solid #eee;
        padding: 15px;
        border-radius: 6px;
        display: flex;
        flex-direction: column !important;
        justify-content: space-between;
        gap: 5px;
        font-size: 1em;
    }
}

/* Scroll Navigation Buttons */
@media (max-width: 768px) {    
    .scroll-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 10px;
        margin-top:60px;
        border-bottom: 1px solid #eee;
        padding: 10px 5px;
        justify-content: flex-start;
        font-size:1.1em;
        background: white;
    }
}
.scroll-nav button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 500;
    color: #555;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

@media (max-width: 992px) {
    .container {
        min-width: unset;
        width: 100%;
        padding: 0px;
    }
    .contact-card-sidebar {
        width: 100%;
        margin-top: 20px;
        order: 1;
    }
    .contact-card {
        position: static;
        top: auto;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    html[dir="rtl"] .photo-gallery {
        grid-template-columns: 1fr;
    }
    .main-photo-grid {
        grid-column: auto;
        grid-row: auto;
        height: 200px;
    }
    .middle-photos, .right-photos {
        grid-column: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: 100px;
    }
    html[dir="rtl"] .main-photo-grid,
    html[dir="rtl"] .middle-photos,
    html[dir="rtl"] .right-photos {
        grid-column: auto;
    }

    .hotel-overview-header {
        grid-template-columns: 1fr;
    }
    html[dir="rtl"] .hotel-overview-header {
        grid-template-columns: 1fr;
    }
    html[dir="rtl"] .hotel-overview-header .hotel-overview-info,
    html[dir="rtl"] .hotel-overview-header .map-section {
        grid-column: auto;
    }
    .map-section {
        height: 150px;
    }
    .check-in-out-box > div {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .check-in-out-box {
        flex-direction: row !important;
    }
    html[dir="rtl"] .check-in-out-box > div {
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-left: 0;
    }
    html[dir="rtl"] .check-in-out-box > div:first-child {
        border-left: none;
    }
    .check-in-out-box > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    html[dir="rtl"] .check-in-out-box > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }



        .guest-room-box > div {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .guest-room-box {
        flex-direction: column !important;
    }
    html[dir="rtl"] .guest-room-box > div {
        border-left: none;
        border-bottom: 1px solid #eee;
        padding-left: 0;
    }
    html[dir="rtl"] .guest-room-box > div:first-child {
        border-left: none;
    }
    .guest-room-box > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    html[dir="rtl"] .guest-room-box > div:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .amenities-grid, .nearby-grid, .overview-amenities-list ul, .overview-nearby-list ul {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .carousel-btn.prev {
        left: -5px !important;
    }
    .carousel-btn.next {
        right: -5px !important;
    }

    .modal-content {
        width: 95%;
    }
    .modal-main-content {
        grid-template-columns: 1fr;
        height: auto;
    }
    html[dir="rtl"] .modal-main-content {
        grid-template-columns: 1fr;
    }
    .modal-amenities-section {
        height: 300px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0px;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .container {
        padding: 0px;
    }
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.5em;
    }
    .hotel-name-address {
        font-size: 1.1em;
    }
    .reviews-summary {
        margin-left: 0;
    }
    .scroll-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    .scroll-nav button {
        flex-shrink: 0;
    }
    .room-card {
        flex-direction: column;
    }
    html[dir="rtl"] .room-card {
        flex-direction: column;
    }
    .room-card-image-gallery {
        width: 100%;
        height: 180px;
    }
    .option-details, .price-and-select {
        flex-basis: 100%;
        text-align: left;
        align-items: flex-start;
    }
    html[dir="rtl"] .option-details, html[dir="rtl"] .price-and-select {
        text-align: right;
        align-items: flex-end;
    }
    html[dir="rtl"] .option-details {
        margin-left: 0;
    }
    .price-details {
        align-items: flex-start;
    }
    html[dir="rtl"] .price-details {
        align-items: flex-end;
    }
    .select-rooms-dropdown {
        min-width: 80px;
    }
    html[dir="rtl"] .select-rooms-dropdown {
        margin-left: 0;
    }
    .info-box-grid {
        grid-template-columns: 1fr;
    }
    .amenities-grid, .nearby-grid, .overview-amenities-list ul, .overview-nearby-list ul {
        grid-template-columns: 1fr;
    }
    .nearby-list ul {
        grid-template-columns: 1fr;
    }
    .guest-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .top-flex {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px !important;
    }
}

html[dir="rtl"] .guest-reviews-header {
    flex-direction: column;
    align-items: flex-end;
}

.modal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
html[dir="rtl"] .modal-header {
    flex-direction: column;
    align-items: flex-end;
}
.modal-actions {
    width: 100%;
    justify-content: space-between;
}
html[dir="rtl"] .modal-actions {
    flex-direction: row-reverse;
}
.modal-close-btn {
    position: static;
}

/* Map Modal Styles */
.map-modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.map-modal-content {
    width: 95%;
    height: 85vh;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 30px;
    position: relative;
    z-index: 2;
}

.map-modal-sidebar {
    width: 350px;
    height: 100%;
    background: white;
    overflow-y: auto;
    border-right: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.map-modal-main {
    flex: 1;
    height: 100%;
    position: relative;
    position: relative;
    z-index: 1;
}

.map-sidebar-header {
    padding: 20px;
    background: #1a3a8f;
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.map-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
}

.map-hotel-list {
    padding: 15px;
}

.map-hotel-item {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.map-hotel-item:hover {
    border-color: #1a3a8f;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 143, 0.15);
}

.map-hotel-item.active {
    border-color: #1a3a8f;
    background: #e8f0ff;
}

.map-hotel-item h4 {
    margin: 0 0 8px 0;
    color: #1a3a8f;
    font-size: 16px;
}

.map-hotel-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.map-hotel-price {
    font-weight: bold;
    color: #2e7d32;
    font-size: 16px;
}

.map-hotel-rating {
    display: inline-block;
    background: #1a3a8f;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 600;
}

.map-modal-close:hover {
    background: rgba(0,0,0,0.8);
}

.temp-highlight {
    background: #fff3cd !important;
    border-color: #ffc107 !important;
}

/* Map Modal Close Button */
.map-modal-main {
    position: relative;
}

.map-modal-close {
    position: absolute;
    top: 0px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    z-index: 9999;
}
.map-modal-close:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.map-modal-close i {
    color: #333;
    font-size: 30px;
}

/* Map Container */
#hotelMap {
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
}

/* New Narrow Banner */
.container-1540 {
    max-width: 1540px;
    margin: 0 auto;     
    padding: 0 20px; 
    margin-top: 30px;
    margin-bottom: 10px; 
}

/* Flex container */
.top-flex {
    display: flex;
    align-items: center;
    gap: 0px;
}

/* Banner */
.narrow-banner {
    width: 1230px;
    height: 40px;
    background: linear-gradient(90deg, #3267fa, #4164ff, #2a51fd);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    flex-shrink: 1;
    z-index: 1;
}

.narrow-banner::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

html, body {
    height: 100%;
    margin: 0;
}

/* The flex parent */
.page-container {
    display: flex;
    align-items: flex-start;
    min-height: 100vh;
}

.contact-card-sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    position: sticky;
    top: 24px;
    margin-bottom: 24px;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .narrow-banner {
        width: 1260px;
        height: 40px;
        background: linear-gradient(90deg, #3267fa, #4164ff, #2a51fd);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 600;
        font-size: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        position: relative;
        flex-shrink: 1;
    }
    
}



   .hotel-details-back-ribbon{
        display:inline-block !important;
        position:absolute !important;
        left:0px !important;      /* LEFT SIDE */
        top:0px !important;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;
   }

       /* Ribbon tail */
    .hotel-details-back-ribbon::after{
        content:"" !important;
        position:absolute !important;
        top:100%;
        left:0;
        border-width:4px 4px 0 0 !important;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;

    }

/* Hide on desktop */
.hotel-details-back-ribbon{
    display:block !important;
}

@media (max-width:768px){

    /* Hide Edit button only on Hotel List page */
    .sh-edit-btn{
        display:none !important;
    }

    /* Position reference */
    .mobile-header-bar{
        position:relative !important;
    }

    .hotel-details-back-ribbon{
        display:inline-block !important;
        position:absolute !important;
        left:0px !important;      /* LEFT SIDE */
        top:0px !important;        /* Adjust independently */
        background:linear-gradient(90deg,#e74c3c,#c0392b);
        color:#fff;
        padding:5px 14px;
        font-size:12px;
        font-weight:700;
        text-decoration:none;
        border-radius:0 4px 4px 0;
        box-shadow:0 2px 6px rgba(0,0,0,.25);
        white-space:nowrap;
        z-index:999;
    }

    /* Ribbon tail */
    .hotel-details-back-ribbon::after{
        content:"" !important;
        position:absolute !important;
        top:100%;
        left:0;
        border-width:4px 4px 0 0 !important;
        border-style:solid;
        border-color:#8e1c10 transparent transparent transparent;
    }

}