:root {
    --bg-color: #fbfbf9;
    --card-bg: #ffffff;
    --primary-green: #143b23;
    --primary-green-hover: #0e2a18;
    --text-main: #1c1c1c;
    --text-muted: #6b6b6b;
    --border-color: #eae9e5;
    --accent-color: #d05d29;
    --star-color: #d19a2e;
    --chart-line: #a97843;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
    /* Prevent body scroll, handle scroll in inner containers */
}

/* ---------------- LAYOUT ---------------- */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bg-color);
}

.app-body {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 0 20px 20px 20px;
    gap: 20px;
}

/* ---------------- HEADER ---------------- */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
}

@keyframes slideRightHeader {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

.logo,
.greeting,
.search-bar,
.notification-btn,
.auth-group {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRightHeader 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 250px;
    animation-delay: 0.1s;
}

.logo-icon {
    font-size: 32px;
    color: var(--primary-green);
}

.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
    color: var(--primary-green);
}

.logo-text span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.header-center {
    flex: 1;
    display: flex;
    padding-left: 20px;
}

.greeting {
    display: flex;
    align-items: center;
    gap: 12px;
    animation-delay: 0.2s;
}

.greeting-icon {
    font-size: 24px;
}

.greeting h2 {
    font-size: 16px;
    font-weight: 600;
}

.greeting p {
    font-size: 12px;
    color: var(--text-muted);
}

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

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 10px 16px;
    gap: 8px;
    width: 300px;
    animation-delay: 0.3s;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    width: 100%;
}

.search-bar i {
    color: var(--text-muted);
    font-size: 18px;
}

.notification-btn {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    animation-delay: 0.4s;
}

.notification-btn i {
    font-size: 20px;
}

.notification-btn .badge {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
}

.auth-group {
    display: flex;
    align-items: center;
    margin-left: 10px;
    animation-delay: 0.5s;
}

.start-dropdown {
    position: relative;
}

.start-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.start-btn i {
    font-size: 14px;
}

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

.host-btn {
    background: transparent;
    color: var(--primary-green);
    border: 1.5px solid var(--primary-green);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 160px;
    display: none;
    flex-direction: column;
    z-index: 100;
}

.start-dropdown:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.2s ease-out forwards;
}

.dropdown-menu a {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background: #f0f0ed;
}

/* ---------------- SIDEBAR ---------------- */
.sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.sidebar-search i {
    font-size: 18px;
    color: var(--text-muted);
}

.sidebar-search input {
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    width: 100%;
    color: var(--text-main);
}

.sidebar-search input::placeholder {
    color: var(--text-muted);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    padding: 0 10px;
    margin-bottom: 16px;
}

.section-title i {
    font-size: 18px;
}

.places-list {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    padding-right: 10px;
}

/* Hide scrollbar */
.places-list::-webkit-scrollbar {
    display: none;
}

.place-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.place-item:hover,
.place-item.active {
    background: #f0f0ed;
}

.place-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.place-icon {
    font-size: 20px;
    color: var(--text-muted);
}

.place-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.place-text p {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.place-item i.ph-caret-right {
    font-size: 14px;
    color: var(--text-muted);
}

.sidebar-footer {
    padding-top: 20px;
}

.view-all-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f0f0ed;
    border: none;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.view-all-btn:hover {
    background: #e5e5e1;
}

/* ---------------- MAIN CONTENT ---------------- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 10px;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: #ccc;
}

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

.filter-btn.more-filters {
    margin-left: auto;
}

/* ── Filter Dropdown System ── */
.filter-dropdown-wrap {
    position: relative;
}

.filter-btn.active {
    border-color: var(--primary-color, #1a4a2e);
    background: #f0f7f2;
    color: var(--primary-color, #1a4a2e);
}

.filter-btn.has-value {
    border-color: var(--primary-color, #1a4a2e);
    background: #f0f7f2;
    color: var(--primary-color, #1a4a2e);
    font-weight: 600;
}

.filter-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    z-index: 900;
    min-width: 200px;
    padding: 16px;
    animation: fddFadeIn 0.18s ease;
}
.filter-dropdown.open { display: block; }
.filter-dropdown.fdd-wide { min-width: 290px; }

@keyframes fddFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fdd-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    margin-bottom: 12px;
}

.fdd-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fdd-opt {
    text-align: left;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-family: inherit;
    cursor: pointer;
    color: #374151;
    transition: background 0.15s;
}
.fdd-opt:hover { background: #f3f4f6; }
.fdd-opt.active {
    background: #f0f7f2;
    color: #1a4a2e;
    font-weight: 700;
}

.fdd-date-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.fdd-date-block label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #9ca3af;
    margin-bottom: 4px;
}
.fdd-date-input {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1f2937;
    box-sizing: border-box;
}
.fdd-date-input:focus {
    outline: none;
    border-color: #1a4a2e;
}

.fdd-apply-btn {
    width: 100%;
    margin-top: 4px;
    padding: 9px;
    border-radius: 8px;
    background: #1a4a2e;
    color: white;
    border: none;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}
.fdd-apply-btn:hover { opacity: 0.88; }

.fdd-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 12px 0 8px;
}
.fdd-stepper span {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    min-width: 36px;
    text-align: center;
}
.fdd-step-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    color: #374151;
}
.fdd-step-btn:hover { border-color: #1a4a2e; color: #1a4a2e; background: #f0f7f2; }

.fdd-guest-note {
    font-size: 11.5px;
    color: #9ca3af;
    text-align: center;
    margin-bottom: 10px;
}

.fdd-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6b7280;
    margin-bottom: 8px;
}

.fdd-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fdd-price-row span { color: #9ca3af; font-weight: 600; }
.fdd-price-input {
    flex: 1;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1f2937;
    box-sizing: border-box;
}
.fdd-price-input:focus { outline: none; border-color: #1a4a2e; }

.fdd-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.fdd-type-btn {
    padding: 6px 12px;
    border-radius: 50px;
    border: 1.5px solid #e5e7eb;
    background: white;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    color: #374151;
    transition: all 0.18s;
}
.fdd-type-btn:hover { border-color: #1a4a2e; color: #1a4a2e; }
.fdd-type-btn.active { background: #1a4a2e; color: white; border-color: #1a4a2e; }

.fdd-more-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.fdd-clear-btn {
    flex: 1;
    padding: 9px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    border: none;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.fdd-clear-btn:hover { background: #e5e7eb; }
.fdd-more-actions .fdd-apply-btn { flex: 2; margin-top: 0; }

.hotels-modal {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
}

.results-count {
    color: var(--text-muted);
}

.sort-by {
    cursor: pointer;
}

.sort-by strong {
    font-weight: 600;
}

/* Stays vs Cabs Tabs */
.modal-tabs {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 4px;
}

.modal-tab-btn {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 12px 10px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: all 0.25s;
    border-bottom: 3px solid transparent;
    margin-bottom: -6px;
}

.modal-tab-btn i {
    font-size: 18px;
}

.modal-tab-btn:hover {
    color: var(--primary-green);
}

.modal-tab-btn.active {
    color: var(--primary-green);
    font-weight: 700;
    border-bottom-color: var(--primary-green);
}


.stays-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 10px;
    padding-bottom: 20px;
}

.stays-list::-webkit-scrollbar {
    display: none;
}

.stay-card {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stay-card:hover,
.stay-card.active {
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.stay-card img {
    width: 140px;
    height: 100px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.stay-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.stay-type {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 4px;
}

.stay-card h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stay-location {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stay-specs {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: auto;
}

.stay-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
}

.stay-area {
    font-size: 12px;
    font-weight: 600;
}

.stay-price {
    font-size: 14px;
    font-weight: 700;
}

.stay-price span {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
}

.fav-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
}

.fav-btn:hover {
    color: var(--accent-color);
}


/* ---------------- RIGHT PANEL ---------------- */
.details-panel {
    width: 480px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-left: 10px;
}

.details-panel::-webkit-scrollbar {
    display: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(3, 110px);
    gap: 12px;
    margin-bottom: 24px;
}

.main-image {
    grid-row: span 3;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.featured-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-tag i {
    color: var(--star-color);
}

.like-circle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-color);
}

.sub-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

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

.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

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

.details-title h2 {
    font-size: 20px;
    margin-bottom: 6px;
}

.details-location {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.book-now-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.book-now-btn:hover {
    background: var(--primary-green-hover);
}

.view-details-btn {
    background: transparent;
    color: var(--primary-green);
    border: 1.5px solid var(--primary-green);
    padding: 8.5px 18.5px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.view-details-btn:hover {
    background: var(--primary-green);
    color: white;
}

.stay-card-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.specs-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.specs-grid::-webkit-scrollbar {
    display: none;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    min-width: 95px;
    flex-shrink: 0;
}

.spec-item i {
    font-size: 18px;
    color: var(--text-main);
}

.spec-text {
    white-space: nowrap;
}

.spec-text span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.2;
    margin-bottom: 2px;
}

.spec-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.property-details {
    margin-bottom: 24px;
}

.property-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.property-details-header h3 {
    font-size: 15px;
}

.read-more {
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.property-details p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.bottom-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.widget h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.widget p.sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Simple mock chart for Price */
.price-chart {
    height: 100px;
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.chart-line-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 80%;
    bottom: 20px;
}

.chart-line-svg path {
    fill: none;
    stroke: var(--chart-line);
    stroke-width: 2;
    stroke-linecap: round;
}

.chart-point {
    width: 8px;
    height: 8px;
    background: var(--chart-line);
    border-radius: 50%;
    position: absolute;
}

.point-label {
    position: absolute;
    background: var(--chart-line);
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.point-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px;
    border-style: solid;
    border-color: var(--chart-line) transparent transparent transparent;
}

.chart-months {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 11px;
    color: var(--text-muted);
    position: absolute;
    bottom: 0;
}

/* Simple Calendar */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 13px;
}

.calendar-header i {
    cursor: pointer;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 8px;
    font-size: 12px;
}

.cal-day-name {
    color: var(--text-muted);
    font-size: 10px;
    margin-bottom: 8px;
}

.cal-day {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 50%;
    cursor: pointer;
}

.cal-day:hover {
    background: #f0f0ed;
}

.cal-day.active {
    background: var(--primary-green);
    color: white;
}

/* ---------------- ANIMATIONS ---------------- */
.fade-in {
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

.reveal-card {
    opacity: 0;
    transform: translateX(-30px);
    animation: revealCard 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealCard {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal-sidebar {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideRightSidebar 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideRightSidebar {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---------------- MOBILE RESPONSIVENESS ---------------- */
.mobile-back-btn {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    padding: 16px 0;
    margin-bottom: 12px;
    cursor: pointer;
    font-family: inherit;
}

@media (max-width: 1024px) {
    .app-body {
        flex-direction: column;
        overflow-y: auto;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 10px;
    }

    .section-title {
        justify-content: center;
    }

    .places-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow-x: visible;
        padding-bottom: 20px;
    }

    .place-item {
        min-width: unset;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .place-item i.ph-caret-right {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .main-content {
        overflow: visible;
    }

    .filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-btn.more-filters {
        margin-left: 0;
    }

    /* Hotels List as Modal */
    .hotels-modal {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        z-index: 1000 !important;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        padding: 20px;
        padding-top: 5px;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        flex-direction: column;
    }

    .hotels-modal.show-mobile {
        top: 0;
    }

    .hotels-modal .stays-list {
        overflow-y: auto;
        padding-bottom: 20px;
    }

    /* Details Panel as Modal */
    .details-panel {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        z-index: 1000;
        padding: 20px;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: block !important;
    }

    .details-panel.show-mobile {
        top: 0;
    }

    .mobile-back-btn {
        display: flex;
    }
}

@media (max-width: 768px) {
    /* Global mobile scroll settings */
    body {
        overflow-y: auto !important;
        height: auto !important;
    }
    
    .app-container {
        height: auto !important;
        overflow: visible !important;
    }
    
    .app-body {
        overflow: visible !important;
        overflow-y: visible !important;
        height: auto !important;
        padding-bottom: 100px !important; /* Extra padding for bottom navigation bar */
    }

    .app-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: transparent !important;
        border: none !important;
    }

    .hamburger-menu {
        display: flex !important;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 24px;
        cursor: pointer;
    }

    .logo {
        position: absolute;
        left: 31%;
        transform: translateX(-50%);
        width: auto;
    }

    .logo-text,
    .logo-text h1,
    .logo-text span,
    .logo-icon {
        color: var(--text-main) !important;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 12px;
        width: auto;
    }

    .header-center {
        display: none !important;
    }

    .notification-btn {
        color: var(--text-main);
    }

    .mobile-profile-pic {
        display: block !important;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .auth-group {
        display: none !important;
    }

    .search-bar {
        display: none !important;
    }

    /* Top Spiritual Places Heading Fix */
    .mobile-heading {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-main);
        font-family: 'Playfair Display', serif;
    }

    .view-all-link {
        font-size: 13px;
        color: var(--text-muted);
        text-decoration: none;
        display: flex !important;
        align-items: center;
        gap: 4px;
    }

    .view-all-link i {
        color: var(--primary-green);
        font-size: 16px;
        margin-top: 2px;
    }

    .mobile-hidden {
        display: none !important;
    }

    .sidebar-search {
        display: none;
    }

    .stays-list {
        display: block !important;
    }

    .nearby-stays-container {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 20px;
        margin-right: -20px;
        padding-right: 20px;
    }

    .mobile-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 20px 0 16px;
    }

    #trendingHotelsList .mobile-section-header {
        margin-top: 8px;
        /* Pull it up closer to filters */
    }

    .mobile-section-header h3 {
        font-size: 18px;
        font-weight: 600;
        font-family: 'Playfair Display', serif;
    }

    .stay-card {
        flex-direction: column;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .stay-card:hover {
        transform: none;
        box-shadow: none;
    }

    .stay-card-info {
        padding: 12px 0 0 0;
    }

    .stay-img-wrapper {
        position: relative;
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
    }

    .overlay-heart {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.3);
        color: white;
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .badge-featured,
    .badge-popular {
        position: absolute;
        top: 12px;
        left: 12px;
        background: white;
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
        color: var(--text-main);
    }

    .badge-featured i,
    .badge-popular i {
        color: #f59e0b;
    }

    .stay-pagination {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .stay-pagination span {
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
    }

    .stay-pagination span.active {
        background: white;
        width: 8px;
        height: 8px;
    }

    .mobile-amenities {
        display: flex;
        gap: 12px;
        margin: 10px 0;
        font-size: 10px;
        color: var(--text-main);
        font-weight: 500;
        align-items: center;
        flex-wrap: wrap;
    }

    .mobile-amenities span {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .mobile-amenities i {
        color: #8c6b3e;
        font-size: 14px;
    }

    .stay-rating-row {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .stay-rating-pill {
        background: #4b3619;
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .stay-rating-pill i {
        color: #f59e0b;
    }

    .featured-stay {
        width: 100%;
        margin-bottom: 24px;
        position: relative;
    }

    .featured-stay img {
        width: 100%;
        height: 220px;
        border-radius: 20px 20px 0 0;
        object-fit: cover;
    }

    .featured-stay .stay-card-info {
        background: #fffcf7;
        border-radius: 0 0 20px 20px;
        padding: 16px;
        position: relative;
        z-index: 10;
        border: 1px solid #f2e8d5;
        border-top: none;
    }

    /* Add a faint decorative pattern to the right side of the card */
    .featured-stay .stay-card-info::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80px;
        background: radial-gradient(circle at right, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
        border-radius: 0 0 20px 0;
        z-index: -1;
        pointer-events: none;
    }

    .featured-stay h3 {
        font-size: 18px;
        margin-bottom: 4px;
        font-family: 'Playfair Display', serif;
    }

    .featured-stay .stay-location {
        font-size: 11px;
        color: var(--text-muted);
    }

    .featured-stay .stay-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
    }

    .featured-stay .stay-bottom-left {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
    }

    .featured-stay .rating-count {
        color: var(--text-muted);
        font-size: 10px;
    }

    .featured-stay .stay-price {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-main);
        margin-left: auto;
        margin-right: 12px;
    }

    .featured-stay .stay-price span {
        font-size: 10px;
        font-weight: 400;
        color: var(--text-muted);
    }

    .book-now-btn {
        background: #183023;
        color: white;
        border: none;
        padding: 10px 16px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 13px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .view-details-btn {
        background: white;
        color: #183023;
        border: 1px solid #183023;
        padding: 9px 15px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 13px;
        cursor: pointer;
        flex-shrink: 0;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nearby-stay .stay-card-buttons {
        display: none !important;
    }

    .nearby-stay {
        width: 160px;
        flex-shrink: 0;
    }

    .nearby-stay img {
        width: 100%;
        height: 110px;
        border-radius: 16px 16px 0 0;
        object-fit: cover;
    }

    .nearby-stay .stay-card-info {
        background: #fffcf7;
        border-radius: 0 0 16px 16px;
        padding: 12px;
        border: 1px solid #f2e8d5;
        border-top: none;
    }

    .nearby-stay h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .nearby-stay .stay-location {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .nearby-stay .stay-specs {
        display: none;
    }

    .nearby-stay .stay-bottom-left {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .nearby-stay .stay-price {
        font-size: 12px;
        font-weight: 700;
        color: var(--text-main);
    }

    .nearby-stay .stay-price span {
        font-size: 9px;
        font-weight: 400;
        color: var(--text-muted);
    }

    .nearby-stay .stay-rating {
        font-size: 11px;
        color: var(--text-main);
        display: flex;
        align-items: center;
        gap: 4px;
        font-weight: 600;
    }

    .nearby-stay .stay-rating i {
        color: #f59e0b;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .sub-image {
        display: none;
    }

    .bottom-widgets {
        grid-template-columns: 1fr;
    }

    /* Mobile Figma Overhaul Styling */
    .app-body {
        background: #fdfaf5;
        /* Warm background matching Figma */
    }

    .app-body {
        padding-bottom: 80px;
    }

    .mobile-hero {
        position: relative;
        height: 350px;
        width: 100%;
        border-radius: 0 0 24px 24px;
        margin-bottom: 40px;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 0 24px 24px;
    }

    .hero-content {
        position: absolute;
        top: 40%;
        left: 20px;
        color: white;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 8px;
        font-family: 'Playfair Display', serif;
    }

    .hero-search-bar {
        position: absolute;
        bottom: -24px;
        left: 20px;
        right: 20px;
        background: white;
        border-radius: 30px;
        display: flex;
        align-items: center;
        padding: 10px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        gap: 12px;
        height: 52px;
        z-index: 20;
    }

    .hero-search-bar input {
        border: none;
        outline: none;
        flex: 1;
        font-family: inherit;
        font-size: 14px;
        color: var(--text-main);
    }

    .filter-icon-btn {
        background: transparent;
        border: none;
        border-left: 1px solid var(--border-color);
        padding-left: 12px;
        font-size: 20px;
        cursor: pointer;
        color: var(--text-muted);
    }

    .filters {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        padding: 0 20px 10px;
        /* Reduced bottom padding */
        overflow: visible !important;
        /* No scrolling */
        position: relative;
        z-index: 910 !important;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }

    .filter-dropdown-wrap {
        position: static;
    }

    .filter-dropdown {
        left: 20px !important;
        right: 20px !important;
        width: auto !important;
        min-width: unset !important;
        box-sizing: border-box;
        top: 100% !important;
        z-index: 999 !important;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
    }

    .filter-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px 4px;
        min-width: 0;
        border-radius: 12px;
        font-size: 11px;
        gap: 6px;
        background: #fdfaf5;
        border: 1px solid #f2e8d5;
        color: var(--text-main);
        font-weight: 500;
        text-align: center;
    }

    .filter-btn i {
        font-size: 22px;
        color: #8c6b3e;
    }

    .places-list {
        display: flex !important;
        flex-direction: row;
        overflow-x: auto;
        gap: 16px;
        padding: 0 20px 20px;
    }

    .place-item {
        flex-direction: column;
        background: transparent;
        border: none;
        min-width: 76px;
        padding: 0;
        align-items: center;
        text-align: center;
        gap: 0;
    }

    .place-img-wrapper {
        position: relative;
        width: 76px;
        height: 76px;
        border-radius: 38px 38px 12px 12px;
        overflow: hidden;
        z-index: 1;
    }

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

    .place-overlay {
        position: static;
        width: 76px;
        background: #fffcf7;
        border: 1px solid #f2e8d5;
        border-radius: 12px;
        padding: 6px 4px;
        text-align: center;
        color: var(--text-main);
        z-index: 2;
        margin-top: -6px;
        /* overlaps the image slightly */
    }

    .place-overlay h4 {
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 2px;
    }

    .place-overlay p {
        font-size: 8px;
        font-weight: 500;
        color: var(--text-muted);
    }

    /* Active State (First Child) */
    .place-item:nth-child(1) .place-overlay {
        background: #183023;
        border-color: #183023;
        color: white;
    }

    .place-item:nth-child(1) .place-overlay p {
        color: rgba(255, 255, 255, 0.8);
    }

    .place-item .place-info {
        display: none !important;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        display: flex;
        justify-content: space-around;
        padding: 12px 0 24px 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        border-radius: 24px 24px 0 0;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        text-decoration: none;
        color: var(--text-muted);
        font-size: 11px;
        font-weight: 500;
    }

    .nav-item.active {
        color: var(--primary-green);
    }

    .nav-item i {
        font-size: 24px;
    }

    .mobile-why-choose {
        padding: 20px;
        margin-bottom: 20px;
    }

    .mobile-why-choose h3 {
        font-family: 'Playfair Display', serif;
        font-size: 18px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 16px;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        background: #fdfaf5;
        padding: 16px 8px;
        border-radius: 16px;
        font-size: 10px;
        font-weight: 600;
        text-align: center;
        border: 1px solid #f2e8d5;
        color: var(--text-main);
    }

    .feature-item i {
        font-size: 24px;
        color: #8c6b3e;
    }

    /* Places Modal (Second Screen) */
    .places-modal {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--bg-color);
        z-index: 950;
        transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex !important;
        flex-direction: column;
        overflow-y: auto;
    }

    .places-modal.show-mobile {
        top: 0;
    }

    .places-modal::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
        background: linear-gradient(135deg, #183023, #234731);
        border-radius: 0 0 30px 30px;
        z-index: -1;
    }

    .places-modal-top {
        display: flex;
        justify-content: space-between;
        padding: 20px;
        color: white;
    }

    .places-modal-top .mobile-back-btn {
        color: white;
        margin: 0;
        padding: 0;
        font-size: 24px;
    }

    .places-top-icon {
        font-size: 28px;
        color: #ffca28;
    }

    .places-modal-header {
        padding: 0 20px;
        color: white;
        margin-bottom: 20px;
    }

    .places-modal-header h2 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 4px;
        font-family: 'Playfair Display', serif;
    }

    .places-modal-header p {
        font-size: 14px;
        opacity: 0.8;
    }

    .places-search-bar {
        background: white;
        border-radius: 30px;
        padding: 12px 16px;
        margin: 0 20px 24px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .places-search-bar input {
        flex: 1;
        border: none;
        outline: none;
        font-size: 14px;
    }

    .places-search-bar button {
        background: transparent;
        border: none;
        font-size: 20px;
        color: var(--text-muted);
        cursor: pointer;
    }

    .vertical-places-list {
        padding: 0 20px 100px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .v-place-card {
        background: white;
        border-radius: 20px;
        padding: 12px;
        display: flex;
        align-items: center;
        gap: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        cursor: pointer;
    }

    .v-place-img {
        width: 100px;
        height: 100px;
        border-radius: 16px;
        object-fit: cover;
        flex-shrink: 0;
    }

    .v-place-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .v-place-info h4 {
        font-size: 16px;
        font-weight: 600;
    }

    .v-place-info p {
        font-size: 12px;
        color: var(--text-muted);
        margin-bottom: 2px;
    }

    .v-place-distance {
        font-size: 11px;
        color: var(--text-muted);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .v-place-badge {
        font-size: 10px;
        background: #fdf5e6;
        color: #b78021;
        padding: 4px 8px;
        border-radius: 20px;
        display: inline-block;
        width: fit-content;
        margin-top: 4px;
        font-weight: 600;
    }

    .v-place-arrow {
        font-size: 20px;
        color: var(--text-muted);
    }
}

/* Global Desktop Hidden Class */
@media (min-width: 1025px) {
    .desktop-hidden {
        display: none !important;
    }

    .place-img-wrapper {
        display: none !important;
    }
}

/* ============================================================
   HOTEL DETAIL MODAL — MUDRAS STAYS
   ============================================================ */

/* Overlay */
.hotel-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
    animation: hmOverlayFadeIn 0.3s ease forwards;
}

.hotel-modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

@keyframes hmOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Box */
.hotel-modal {
    background: #faf9f7;
    border-radius: 24px;
    width: 100%;
    max-width: 1100px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    animation: hmModalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hmModalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Close Button */
.hm-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.hm-close-btn:hover {
    background: #f0f0ed;
    transform: scale(1.08);
}

/* ---- GALLERY ---- */
.hm-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: 340px;
    gap: 6px;
    padding: 6px;
}

.hm-gallery-main {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
}

.hm-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hm-gallery-main:hover img {
    transform: scale(1.03);
}

.hm-gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1c1c1c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hm-gallery-badge i {
    color: #d19a2e;
    font-size: 14px;
}

.hm-fav-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #d05d29;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.hm-fav-btn:hover { transform: scale(1.1); background: white; }
.hm-fav-btn.liked i::before { content: "\e0e5"; } /* filled heart */

.hm-photos-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    color: #1c1c1c;
}
.hm-photos-btn:hover { background: white; transform: translateY(-2px); }

.hm-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hm-thumb {
    flex: 1;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.hm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hm-thumb:hover img { transform: scale(1.05); }
.hm-thumb.active { outline: 2px solid #143b23; outline-offset: 2px; }

.hm-more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

/* ---- BODY GRID ---- */
.hm-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    padding: 32px;
}

/* ---- DETAILS (LEFT) ---- */
.hm-details {
    overflow-y: auto;
    max-height: 520px;
    padding-right: 12px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.hm-details::-webkit-scrollbar { width: 4px; }
.hm-details::-webkit-scrollbar-thumb { background: #ddd; border-radius: 99px; }

.hm-details-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.hm-type-badge {
    display: inline-flex;
    align-items: center;
    background: #e8f5ef;
    color: #143b23;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hm-hotel-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1c1c1c;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hm-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b6b6b;
}

.hm-location i { color: #d05d29; font-size: 16px; }
.hm-dot { color: #ccc; }

.hm-rating-block {
    text-align: center;
    flex-shrink: 0;
}

.hm-rating-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #143b23;
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hm-rating-pill i { color: #ffd700; font-size: 14px; }

.hm-review-count {
    font-size: 11px;
    color: #999;
}

/* ---- SPECS ROW ---- */
.hm-specs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hm-spec-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: white;
    border: 1px solid #eae9e5;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: #1c1c1c;
    transition: all 0.2s ease;
}

.hm-spec-chip:hover {
    border-color: #143b23;
    background: #f0f7f3;
}

.hm-spec-chip i { font-size: 16px; color: #143b23; }

/* ---- DIVIDER ---- */
.hm-divider {
    height: 1px;
    background: #eae9e5;
    margin: 20px 0;
}

/* ---- SECTIONS ---- */
.hm-section {
    margin-bottom: 24px;
}

.hm-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 14px;
}

.hm-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* ---- AMENITIES ---- */
.hm-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.hm-amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #eae9e5;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.hm-amenity:hover {
    background: #f0f7f3;
    border-color: #143b23;
}

.hm-amenity i {
    font-size: 16px;
    color: #143b23;
}

/* ---- LOCATION DETAILS ---- */
.hm-location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13px;
    color: #555;
}

/* ---- MEAL INFO ---- */
.hm-meal-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5ef;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #143b23;
    font-weight: 500;
}
.hm-meal-info i { font-size: 18px; }

/* ---- PRICE CHART ---- */
.hm-price-chart-wrap {
    position: relative;
    height: 80px;
    background: white;
    border: 1px solid #eae9e5;
    border-radius: 12px;
    padding: 10px 16px;
    overflow: hidden;
}

.hm-chart-svg {
    width: 100%;
    height: 55px;
}

.hm-chart-area {
    fill: url(#chartGrad);
}

.hm-chart-line {
    fill: none;
    stroke: #143b23;
    stroke-width: 2;
    stroke-linecap: round;
}

.hm-chart-months {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #999;
}

/* ---- REVIEWS ---- */
.hm-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hm-review-card {
    background: white;
    border: 1px solid #eae9e5;
    border-radius: 14px;
    padding: 16px;
    transition: box-shadow 0.2s ease;
}

.hm-review-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.hm-reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.hm-reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hm-reviewer-name {
    font-size: 13px;
    font-weight: 600;
}

.hm-reviewer-date {
    font-size: 11px;
    color: #999;
}

.hm-review-stars {
    margin-left: auto;
    color: #d19a2e;
    font-size: 13px;
}

.hm-review-text {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* ---- BOOKING PANEL (RIGHT) ---- */
.hm-booking-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
    align-self: start;
}

.hm-booking-card {
    background: white;
    border: 1px solid #eae9e5;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.hm-booking-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eae9e5;
}

.hm-price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: #143b23;
}

.hm-price-per {
    font-size: 13px;
    color: #999;
}

/* Form groups */
.hm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.hm-form-group {
    margin-bottom: 12px;
}

.hm-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.hm-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: #1c1c1c;
    outline: none;
    transition: border 0.2s ease;
    background: #fafafa;
}

.hm-input:focus {
    border-color: #143b23;
    background: white;
    box-shadow: 0 0 0 3px rgba(20, 59, 35, 0.08);
}

/* Guest counter */
.hm-guests-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}

.hm-guest-btn {
    background: none;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 16px;
    color: #143b23;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

.hm-guest-btn:hover { background: #f0f7f3; }

#hmGuestCount {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

/* Price Breakup */
.hm-price-breakup {
    background: #f9f8f6;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px;
}

.hm-breakup-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
}

.hm-breakup-row:last-child { margin-bottom: 0; }

.hm-breakup-total {
    padding-top: 8px;
    border-top: 1px solid #e5e5e1;
    font-weight: 700;
    color: #1c1c1c;
    font-size: 14px;
}

/* Book button */
.hm-book-btn {
    width: 100%;
    background: #143b23;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.hm-book-btn:hover {
    background: #0e2a18;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 59, 35, 0.3);
}

.hm-book-btn:active { transform: translateY(0); }

.hm-book-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.hm-book-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Booking Success State */
.hm-booking-success {
    text-align: center;
    padding: 20px 10px;
}

.hm-success-icon {
    font-size: 56px;
    color: #143b23;
    margin-bottom: 12px;
    animation: hmSuccessPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hmSuccessPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hm-booking-success h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1c1c1c;
}

.hm-booking-success p {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}

.hm-booking-ref {
    background: #e8f5ef;
    color: #143b23;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hm-book-again {
    background: transparent;
    color: #143b23;
    border: 2px solid #143b23;
    margin: 0 auto;
}

.hm-book-again:hover {
    background: #143b23;
    color: white;
}

/* Trust Badges */
.hm-trust-badges {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.hm-trust-item {
    flex: 1;
    background: white;
    border: 1px solid #eae9e5;
    border-radius: 10px;
    padding: 10px 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: #555;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hm-trust-item i {
    font-size: 18px;
    color: #143b23;
}

/* ============================================================
   RESPONSIVE — Hotel Modal
   ============================================================ */
@media (max-width: 900px) {
    .hotel-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .hotel-modal {
        border-radius: 24px 24px 0 0;
        max-height: 95vh;
        overflow-y: auto;
    }

    .hm-gallery {
        grid-template-columns: 1fr;
        height: 240px;
    }

    .hm-gallery-thumbs { display: none; }

    .hm-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }

    .hm-details {
        max-height: none;
        overflow-y: visible;
    }

    .hm-booking-panel { position: relative; }
    
    .hm-hotel-name { font-size: 20px; }

    .hm-amenities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hm-form-grid {
        grid-template-columns: 1fr;
    }

    .hm-trust-badges {
        flex-direction: column;
    }

    .hm-price-amount { font-size: 24px; }
}

/* ────────────────────────────────────────────────────────────────────────
   DROPDOWN DIVIDER, MOBILE MENU & INFO MODAL STYLES
   ──────────────────────────────────────────────────────────────────────── */

.dropdown-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 4px 0;
}

/* Mobile Menu Drawer Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}
.mobile-menu-content {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active .mobile-menu-content {
    left: 0;
}
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}
.mobile-menu-header .logo {
    position: static;
    transform: none;
}
.mm-close-btn {
    background: #f3f3f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-main);
    cursor: pointer;
    transition: background 0.2s;
}
.mm-close-btn:hover {
    background: #eaeae5;
}
.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.mobile-menu-links a:hover {
    background: #f0f0ed;
    color: var(--primary-green);
}
.mobile-menu-links a i {
    font-size: 20px;
    color: var(--text-muted);
}
.mobile-menu-links a:hover i {
    color: var(--primary-green);
}
.menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

/* Info Modal Center Popups */
.info-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.info-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.info-modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    padding: 32px;
    position: relative;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.info-modal-overlay.active .info-modal {
    transform: scale(1);
}
.im-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f3f0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
}
.im-close-btn:hover {
    background: #eaeae5;
    transform: rotate(90deg);
}
.im-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}
.im-icon {
    font-size: 28px;
    color: var(--primary-green);
    background: rgba(20, 59, 35, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.im-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-green);
    font-weight: 700;
}
.im-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}
.im-body p {
    margin-bottom: 12px;
}
.im-body strong {
    color: var(--text-main);
}
.im-body ul {
    margin-left: 20px;
    margin-bottom: 12px;
}
.im-body li {
    margin-bottom: 6px;
}

/* ── FULL SCREEN MENU OVERLAY ── */
.fullscreen-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 59, 35, 0.98); /* Premium dark green backdrop */
    backdrop-filter: blur(15px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fullscreen-menu-overlay.active {
    display: flex;
    opacity: 1;
}
.fm-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5100;
}
.fm-close-btn:hover {
    background: white;
    color: var(--primary-green);
    transform: rotate(90deg);
}
.fm-container {
    max-width: 600px;
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}
.fm-logo {
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease 0.1s;
}
.fullscreen-menu-overlay.active .fm-logo {
    opacity: 1;
    transform: translateY(0);
}
.fm-logo-icon {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 12px;
}
.fm-logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: white;
    line-height: 1;
}
.fm-logo span {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    display: block;
    margin-top: 8px;
}
.fm-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 56px;
}
.fm-nav-links a {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}
/* Stagger animation for links */
.fullscreen-menu-overlay.active .fm-nav-links a {
    opacity: 1;
    transform: translateY(0);
}
.fullscreen-menu-overlay.active .fm-nav-links a:nth-child(1) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.fullscreen-menu-overlay.active .fm-nav-links a:nth-child(2) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s; }
.fullscreen-menu-overlay.active .fm-nav-links a:nth-child(3) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s; }
.fullscreen-menu-overlay.active .fm-nav-links a:nth-child(4) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.45s; }
.fullscreen-menu-overlay.active .fm-nav-links a:nth-child(5) { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.55s; }

.fm-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.fm-nav-links a:hover {
    color: white;
    letter-spacing: 0.5px;
}
.fm-nav-links a:hover::after {
    width: 100%;
}
.fm-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.45s;
}
.fullscreen-menu-overlay.active .fm-footer {
    opacity: 1;
    transform: translateY(0);
}
.fm-footer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}
.fm-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.fm-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    transition: color 0.2s;
}
.fm-socials a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .fm-close-btn {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .fm-nav-links a {
        font-size: 26px;
    }
    .fm-logo h2 {
        font-size: 24px;
    }
}

/* ── NOTIFICATION DROPDOWN ── */
.notification-wrap {
    position: relative;
    display: inline-block;
}
.notification-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: ndFadeIn 0.2s ease-out;
}
.notification-dropdown.open {
    display: flex;
}
@keyframes ndFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.nd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
}
.nd-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
}
.nd-clear-all {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--accent-color);
    cursor: pointer;
    font-weight: 600;
}
.nd-clear-all:hover {
    color: var(--accent-light);
}
.nd-list {
    max-height: 280px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.nd-item {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.2s;
    text-align: left;
}
.nd-item:last-child {
    border-bottom: none;
}
.nd-item:hover {
    background: #fbfbf9;
}
.nd-item-unread {
    background: rgba(208, 93, 41, 0.03);
}
.nd-icon {
    font-size: 18px;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}
.nd-content h4 {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}
.nd-content p {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 4px;
}
.nd-time {
    font-size: 10px;
    color: #999;
}
.nd-empty {
    padding: 32px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
.nd-empty i {
    font-size: 32px;
    color: #ccc;
    margin-bottom: 8px;
    display: block;
}

/* ─── AI CHAT BOT WIDGET ─── */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.ai-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(20, 59, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-btn:hover {
    transform: scale(1.08) rotate(5deg);
    background: var(--primary-green-hover);
}

.ai-chat-btn i {
    transition: transform 0.3s;
}

.ai-chat-widget.open .ai-chat-btn {
    transform: rotate(90deg);
    background: #e74c3c;
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.3);
}

.ai-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-widget.open .ai-chat-box {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ai-chat-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0e2a18 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-header-avatar {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-color);
}

.ai-chat-header-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.ai-chat-header-info span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-chat-header-info span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #fdfaf5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

.ai-chat-bubble.assistant {
    background: white;
    color: var(--text-main);
    align-self: flex-start;
    border-top-left-radius: 4px;
    border: 1px solid var(--border-color);
}

.ai-chat-bubble.user {
    background: var(--primary-green);
    color: white;
    align-self: flex-end;
    border-top-right-radius: 4px;
}

.ai-chat-bubble.loading {
    display: flex;
    align-items: center;
    gap: 4px;
    background: white;
    border: 1px solid var(--border-color);
}

.ai-chat-bubble.loading span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.ai-chat-bubble.loading span:nth-child(1) { animation-delay: -0.32s; }
.ai-chat-bubble.loading span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

.ai-chat-footer {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    align-items: center;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 10px 16px;
    outline: none;
    font-family: inherit;
    font-size: 13px;
    resize: none;
    height: 38px;
    background: #fbfbf9;
}

.ai-chat-input:focus {
    border-color: var(--primary-green);
    background: white;
}

.ai-chat-send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s;
}

.ai-chat-send-btn:hover {
    background: var(--primary-green-hover);
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .ai-chat-widget {
        bottom: 85px; /* sit above bottom navigation */
        right: 16px;
    }
    .ai-chat-box {
        width: calc(100vw - 32px);
        height: 400px;
        right: 0;
    }
}

/* Cab Modal Responsive Styles */
@media (max-width: 768px) {
    #cabModalOverlay {
        padding: 0 !important;
    }
    #cabModalOverlay .modal-card {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }
    #cabModalOverlay .modal-body {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
    }
    #cabModalOverlay .modal-body > div:last-child {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 1px solid #f0f0eb !important;
        padding-top: 16px !important;
    }
}

.hide-list {
    display: none !important;
}

/* MakeMyTrip Live Sync Badge */
.mmt-live-badge {
    background: linear-gradient(135deg, #e8f5ff 0%, #d0eaff 100%) !important;
    color: #0056b3 !important;
    border: 1px solid #90caff !important;
    font-weight: 700 !important;
    animation: mmtPulse 2.5s ease-in-out infinite;
}

.mmt-live-badge i {
    color: #0066cc;
    animation: spin 2s linear infinite;
}

@keyframes mmtPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.15); }
    50%       { box-shadow: 0 0 0 5px rgba(0, 102, 204, 0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ==================== LOCATION DETAIL POPUP ==================== */
.loc-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 12, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.loc-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loc-popup {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.1);
    transform: translateY(30px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.loc-popup::-webkit-scrollbar { display: none; }

.loc-popup-overlay.active .loc-popup {
    transform: translateY(0) scale(1);
}

/* Hero */
.loc-popup-hero {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    flex-shrink: 0;
}

.loc-popup-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.72) 100%);
}

.loc-popup-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    z-index: 2;
}

.loc-popup-close:hover {
    background: rgba(255,255,255,0.32);
    transform: scale(1.1);
}

.loc-popup-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 22px;
    z-index: 2;
}

.loc-popup-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.28);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.loc-popup-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.loc-popup-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 500;
}

.loc-popup-subtitle i { font-size: 15px; color: #f9c94e; }

/* Body */
.loc-popup-body {
    padding: 20px 22px 24px;
}

/* Stats */
.loc-popup-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.loc-stat-item {
    background: #f7f7f4;
    border: 1px solid #eae9e5;
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.loc-stat-item:hover {
    box-shadow: 0 4px 16px rgba(20, 59, 35, 0.1);
    transform: translateY(-2px);
}

.loc-stat-icon {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 4px;
}

.loc-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.loc-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Sections */
.loc-popup-section {
    margin-bottom: 20px;
}

.loc-section-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 10px;
}

.loc-section-title i {
    font-size: 15px;
}

.loc-popup-desc {
    font-size: 13.5px;
    color: #444;
    line-height: 1.7;
}

/* Highlights */
.loc-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.loc-highlight-item {
    display: flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f4ec 100%);
    border: 1px solid #c8e6d0;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 12.5px;
    font-weight: 500;
    color: #1a3d22;
}

.loc-highlight-item i {
    font-size: 16px;
    color: var(--primary-green);
    flex-shrink: 0;
}

/* Best Time Chips */
.loc-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.loc-time-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: default;
}

.loc-time-chip.best {
    background: linear-gradient(135deg, #143b23, #1e5432);
    color: white;
    box-shadow: 0 2px 8px rgba(20,59,35,0.25);
}

.loc-time-chip.good {
    background: #e8f5ed;
    color: #1a4a2e;
    border: 1px solid #b8dfc5;
}

.loc-time-chip.avoid {
    background: #fff4ec;
    color: #c05000;
    border: 1px solid #f5c8a0;
}

/* Temple Card */
.loc-temple-card {
    background: linear-gradient(135deg, #fdf8f0, #fdf2e0);
    border: 1px solid #e8d5b0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loc-temple-name {
    font-size: 15px;
    font-weight: 700;
    color: #7a4500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loc-temple-name i { color: #c07800; font-size: 18px; }

.loc-temple-detail {
    font-size: 12.5px;
    color: #886030;
    display: flex;
    align-items: center;
    gap: 7px;
}

.loc-temple-detail i { font-size: 14px; color: #b08040; }

/* CTA */
.loc-popup-cta {
    display: flex;
    gap: 10px;
    margin-top: 6px;
    align-items: center;
}

.loc-explore-btn {
    flex: 1;
    background: linear-gradient(135deg, #143b23 0%, #1e5432 100%);
    color: white;
    border: none;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(20, 59, 35, 0.3);
}

.loc-explore-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.loc-dismiss-btn {
    background: #f0f0ed;
    color: var(--text-muted);
    border: none;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.loc-dismiss-btn:hover { background: #e5e5e1; }

/* Mobile responsive */
@media (max-width: 540px) {
    .loc-popup {
        max-height: 92vh;
        border-radius: 20px;
    }
    .loc-popup-hero { height: 180px; }
    .loc-popup-title { font-size: 24px; }
    .loc-popup-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .loc-stat-item { padding: 10px 4px; }
    .loc-stat-value { font-size: 13px; }
    .loc-stat-label { font-size: 9px; }
    .loc-highlights-grid { grid-template-columns: 1fr; }
    .loc-popup-cta { flex-direction: column; }
    .loc-explore-btn, .loc-dismiss-btn { width: 100%; }
}

/* ==================== INLINE SIDEBAR DETAILS PANEL ==================== */
.sidebar-details-view {
    display: none;
    flex-direction: column;
    height: 100%;
}

.sidebar-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 10px;
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    align-self: flex-start;
}

.sidebar-back-btn:hover {
    background: #f0f0ed;
    transform: translateX(-2px);
}

.sidebar-back-btn i {
    font-size: 16px;
}

.sidebar-details-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 6px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hide scrollbar */
.sidebar-details-content::-webkit-scrollbar {
    display: none;
}

/* Hero Banner */
.sidebar-det-hero {
    position: relative;
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-det-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}

.sidebar-det-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    z-index: 2;
}

.sidebar-det-badge {
    display: inline-block;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 50px;
    margin-bottom: 4px;
}

.sidebar-det-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 2px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.sidebar-det-state {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-weight: 500;
}

.sidebar-det-state i {
    color: #f9c94e;
}

/* Stats (2x2 Grid) */
.sidebar-det-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.sidebar-det-stat-item {
    background: #f7f7f4;
    border: 1px solid #eae9e5;
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    text-align: center;
    transition: all 0.2s ease;
}

.sidebar-det-stat-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(20, 59, 35, 0.06);
    transform: translateY(-1px);
}

.sds-icon {
    font-size: 14px;
    color: var(--primary-green);
    margin-bottom: 2px;
}

.sds-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.sds-label {
    font-size: 9px;
    color: var(--text-muted);
}

/* Sections */
.sidebar-det-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-det-section h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-det-section h4 i {
    font-size: 13px;
}

#sidebarDetDesc {
    font-size: 12px;
    color: #555552;
    line-height: 1.6;
}

/* Highlights */
.sidebar-det-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-det-highlights .loc-highlight-item {
    padding: 7px 10px;
    font-size: 11.5px;
    border-radius: var(--radius-sm);
}

.sidebar-det-highlights .loc-highlight-item i {
    font-size: 14px;
}

/* Best Time */
.sidebar-det-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sidebar-det-time-chips .loc-time-chip {
    padding: 4px 10px;
    font-size: 10.5px;
    border-radius: var(--radius-sm);
}

/* Temple Card */
.sidebar-det-temple-card {
    background: linear-gradient(135deg, #fdf8f0, #fdf2e0);
    border: 1px solid #e8d5b0;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-det-temple-card .loc-temple-name {
    font-size: 13px;
    font-weight: 700;
    color: #7a4500;
}

.sidebar-det-temple-card .loc-temple-name i {
    font-size: 15px;
}

.sidebar-det-temple-card .loc-temple-detail {
    font-size: 11px;
    color: #886030;
}

.sidebar-det-temple-card .loc-temple-detail i {
    font-size: 12px;
}

/* CTA */
.sidebar-det-cta {
    margin-top: 4px;
    padding-bottom: 12px;
}

.sidebar-det-explore-btn {
    width: 100%;
    background: linear-gradient(135deg, #143b23 0%, #1e5432 100%);
    color: white;
    border: none;
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(20, 59, 35, 0.25);
}

.sidebar-det-explore-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    box-shadow: 0 6px 16px rgba(20, 59, 35, 0.35);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .sidebar-details-view {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--border-color);
        height: auto !important;
    }
    
    .sidebar-details-content {
        height: auto !important;
        overflow: visible !important;
    }
    
    .sidebar-det-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .sidebar-det-hero {
        height: 180px;
    }
    
    .sidebar-det-title {
        font-size: 24px;
    }
    
    .sidebar-det-highlights {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 540px) {
    .sidebar-det-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .sidebar-det-highlights {
        grid-template-columns: 1fr;
    }
}