/* Global Styles */
/* :root block removed to use variables from style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: #fcfcfc;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hotel Detail Page - Wider Container Override */
.hotel-details-wrapper {
    max-width: 1400px !important;
    margin: 0 auto;
    padding: 0 40px !important;
}

.hotel-details-wrapper .hotel-details {
    max-width: 100%;
}

/* Override main style.css container for hotel detail page */
.hotel-hero-header+.section-nav+.container.hotel-details-wrapper,
body .hotel-details-wrapper.container {
    max-width: 1400px !important;
    padding: 0 40px !important;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #d61c35;
}

.btn-light {
    background-color: #f0f4f8;
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: #e1e8ef;
}

.btn-light-blue {
    background-color: #fff0f2;
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header styles moved to style.css */

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    background-image: url('../img/og-default.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Bar */
.search-bar {
    background: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-color);
}

.search-item {
    flex: 1;
    text-align: left;
    border-right: 1px solid #eee;
    padding: 5px 20px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.search-item:focus-within {
    background-color: #fff5f7;
}

.search-item:focus-within .input-group i {
    color: var(--primary-color);
    transition: color 0.3s;
}

.search-item:last-of-type {
    border-right: none;
}

.search-item label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group i {
    color: #aaa;
}

.input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-color);
}

.search-btn {
    padding: 15px 30px;
    font-size: 1rem;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #222;
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Promo Section */
.promo-banner {
    height: 300px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.promo-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
}

.promo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.promo-banner .btn {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #999;
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #999;
    font-size: 0.9rem;
}

.footer-meta {
    display: flex;
    gap: 20px;
}

/* --- Hotel Detail Page Styles --- */

.page-content {
    padding-top: 30px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item.main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.gallery-item.relative {
    position: relative;
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: var(--text-color);
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

/* Hotel Layout */
.hotel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: start;
}

.hotel-layout > * {
    min-width: 0;
}

@media (max-width: 992px) {
    .hotel-layout {
        grid-template-columns: 1fr;
    }
}

/* Tab Functionality - Converted to Scroll Layout */
.section-block {
    display: block;
    /* animation: fadeIn 0.3s ease-in-out; */
}

/* .section-block.active {
    display: block;
} */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hotel Details */
.hotel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hotel-details,
.hotel-header > div:first-child {
    min-width: 0;
}

.hotel-header h1 {
    font-size: 2rem;
    margin-bottom: 5px;
    overflow-wrap: anywhere;
}

.location {
    color: var(--text-light);
    overflow-wrap: anywhere;
}

.stars {
    color: #f5a623;
    margin-left: 10px;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
}

.rating-badge .score {
    font-size: 1.2rem;
    font-weight: bold;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
}

.rating-text {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.3;
}

.rating-text span {
    color: var(--text-light);
    font-size: 0.8rem;
}

.hotel-description {
    color: var(--text-color);
    margin-bottom: 50px;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 300;
}

.section-block {
    margin-bottom: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    scroll-margin-top: 140px;
}

.compact-block {
    padding: 20px;
}

.hotel-sidebar {
    position: sticky;
    top: 160px; /* Increased from 140px to match nav margin */
    align-self: start;
}

.section-block h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 700;
    color: #1a1a1a;
}

/* Room List */
.room-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-card {
    display: flex;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.room-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px) translateZ(0);
    border-color: #d0d0d0;
}

.room-image {
    width: 280px;
    min-height: 200px;
    flex-shrink: 0;
}

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

.room-info {
    padding: 20px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-info h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-weight: 700;
}

.room-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.room-amenities {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.room-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-footer .price strong {
    font-size: 1.5rem;
    display: block;
    color: var(--primary-color);
    font-weight: 800;
}

.room-footer .price span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.amenities-grid.compact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

.amenity-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 12px;
    padding: 15px 18px;
    background: #f9f9f9;
    border-radius: 10px;
    color: var(--text-color);
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    box-shadow: none;
    transform: translateZ(0);
    font-size: 0.9rem;
}

.amenity-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 5px 15px rgba(255, 52, 79, 0.15);
}

.amenity-item i {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* Map */
.map-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Reviews */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 0;
    transition: box-shadow 0.3s ease;
    transform: translateZ(0);
    /* Flex Layout for Fixed Structure (like Room Detail) */
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.review-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.review-header h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.review-header .stars {
    font-size: 0.9rem;
    margin-left: 0;
    color: #f5a623;
    letter-spacing: 1px;
    line-height: 1;
}

.review-user-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-meta-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-room-info-small {
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
    line-height: 1;
}

.review-room-info-small i {
    font-size: 0.8rem;
}

.review-room-info {
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 5px;
}

.review-content p {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
}

.review-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
    padding-left: 20px;
    border-left: 1px solid #eee;
    justify-content: center;
}

.review-metric {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-metric span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-metric span i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.review-metric strong {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .review-card {
        flex-direction: column;
        gap: 20px;
    }

    .review-details {
        width: 100%;
        min-width: unset;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid #eee;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .review-metric {
        flex: 1;
        min-width: 100px;
        justify-content: flex-start;
        gap: 10px;
    }
}

/* Booking Sidebar */
.booking-sidebar {
    position: sticky;
    top: 160px;
    height: fit-content;
    z-index: 800;
}

.booking-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.booking-header {
    margin-bottom: 20px;
}

.price-large {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
}

.price-period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.input-with-icon input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.input-with-icon input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 52, 79, 0.1);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF344F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.disclaimer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Hotel Detail Hero Design */
.hotel-hero-header {
    height: 40vh;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: #fff;
    margin-top: -1px;
    /* Fix gap if any */
}

.hotel-hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.hotel-hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 200px;
}

.hero-left {
    flex: 1;
}

.hotel-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hotel-hero-content .location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.rating-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-score {
    background: var(--primary-color);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.rating-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 80px;
    gap: 2px;
}

.hotel-stars {
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 2px;
}

.rating-bottom-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.rating-label {
    color: #fff;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.rating-count {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.2);
    /* backdrop-filter: blur(10px); */
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Section Navigation */
.section-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 90px;
    /* Header height approx */
    z-index: 900;
    margin-bottom: 60px; /* Increased from 40px */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: top 0.3s ease;
}

/* Adjust section nav top when header shrinks */
.header.shrink~.section-nav {
    top: 70px;
}

.section-nav ul {
    display: flex;
    gap: 30px;
    padding: 0;
    overflow-x: auto;
}

.section-nav a {
    display: block;
    padding: 20px 5px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.section-nav a:hover,
.section-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Overview Grid Styles */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fcfcfc;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.overview-icon {
    width: 45px;
    height: 45px;
    background: #fff0f2;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.overview-info {
    display: flex;
    flex-direction: column;
}

.overview-info label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
}

.overview-info span {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.overview-description {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    color: #555;
    line-height: 1.8;
}

/* Adjustments for Hotel Detail Layout */
.hotel-details-wrapper {
    padding-top: 0;
    padding-bottom: 60px;
}

.hotel-details-wrapper #overview {
    margin-top: 0;
}

.hotel-details-wrapper p {
    line-height: 1.8;
    color: #555;
}

@media (max-width: 768px) {
    .hotel-header {
        flex-direction: column;
        gap: 12px;
    }

    .rating-badge {
        flex-wrap: wrap;
    }

    .hotel-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-right {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .hotel-hero-content h1 {
        font-size: 2.5rem;
    }
}
.business-message-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.overview-actions {
    margin-top: 20px;
}

.hotel-list-price .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.2;
}

.hotel-list-price .btn i {
    font-size: 14px;
    transform: translateY(1.5px);
}

/* Mobile overflow guard for property detail page */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hotel-hero-header,
    .section-nav,
    .hotel-details-wrapper,
    .hotel-layout,
    .hotel-main-content,
    .hotel-sidebar,
    .section-block,
    .room-list,
    .reviews-list,
    .map-placeholder,
    .mobile-bottom-bar {
        max-width: 100%;
        min-width: 0;
    }

    .hotel-hero-header {
        overflow: hidden;
    }

    .hotel-hero-header .container,
    .section-nav .container,
    .hotel-hero-header + .section-nav + .container.hotel-details-wrapper,
    body .hotel-details-wrapper.container {
        width: 100%;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-nav {
        overflow-x: hidden;
    }

    .section-nav ul {
        max-width: 100%;
        gap: 18px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .hotel-hero-content,
    .hotel-hero-content > div:first-child,
    .hero-right,
    .rating-badge,
    .rating-text,
    .hotel-layout,
    .overview-item,
    .overview-info,
    .review-content,
    .review-header,
    .review-meta-inline {
        min-width: 0;
    }

    .hotel-hero-content {
        gap: 16px;
    }

    .hero-right {
        flex-wrap: wrap;
        gap: 12px;
    }

    .btn-hero,
    .business-message-cta,
    .mobile-bottom-bar .btn {
        max-width: 100%;
        white-space: normal;
    }

    .business-message-cta {
        width: 100%;
    }

    .hotel-hero-content h1,
    .hotel-hero-content .location,
    .location,
    .overview-info span,
    .review-room-info-small,
    .hotel-details-wrapper p,
    .address {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .section-block {
        padding: 18px;
        overflow: hidden;
    }

    .overview-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .overview-item {
        align-items: flex-start;
    }

    .map-placeholder iframe {
        display: block;
        max-width: 100%;
    }

    .room-card {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .room-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .room-info {
        min-width: 0;
        padding: 18px;
    }

    .room-amenities,
    .room-footer {
        flex-wrap: wrap;
    }

    .room-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .room-footer .btn,
    .room-footer a.btn {
        width: 100%;
    }

    .hotel-list-card,
    .hotel-list-content,
    .hotel-list-info,
    .hotel-list-price,
    .hotel-header-info,
    .hotel-features {
        max-width: 100%;
        min-width: 0;
    }

    .hotel-list-card {
        width: 100%;
    }

    .hotel-header-info {
        padding-right: 0 !important;
    }

    .hotel-header-info h2 {
        margin-top: 0 !important;
        overflow-wrap: anywhere;
    }

    .hotel-list-content {
        padding: 16px !important;
        padding-bottom: 16px !important;
    }

    .hotel-features {
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    .hotel-features span {
        white-space: normal !important;
        padding-right: 0;
        border-right: none;
    }

    .hotel-list-price,
    .hotel-list-price .price-details,
    .hotel-list-price .btn {
        position: static !important;
    }

    .hotel-list-price {
        display: block !important;
        width: 100% !important;
        padding: 16px 0 0 !important;
        border-left: none !important;
        border-top: 1px solid #f0f0f0 !important;
        text-align: left !important;
        align-items: stretch !important;
    }

    .hotel-list-price .price-details {
        margin: 0 0 12px !important;
        padding: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    .hotel-list-price .btn {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
        border-radius: 10px !important;
    }

    .mobile-bottom-bar {
        right: 0;
        width: 100%;
        box-sizing: border-box;
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .hotel-hero-content h1 {
        font-size: 2rem;
    }

    .hero-right {
        flex-direction: column;
        align-items: stretch;
    }

    .rating-badge,
    .btn-hero {
        width: 100%;
    }

    .mobile-bottom-bar {
        padding-left: 12px;
        padding-right: 12px;
    }
}
