/* ========================================================================
   TRIPMANGA HOTEL DETAIL PAGE - PROFESSIONAL DESIGN v2
   Complete redesign with gallery, two-column layout, room booking
   ======================================================================== */

:root {
    --hd-primary: #038a52;
    --hd-primary-dark: #026a3e;
    --hd-orange: #f47c04;
    --hd-orange-dark: #d96e00;
    --hd-text: #1a1a2e;
    --hd-text-secondary: #555;
    --hd-text-muted: #999;
    --hd-border: #e5e7eb;
    --hd-bg: #f8fafb;
    --hd-white: #fff;
    --hd-radius: 8px;
    --hd-radius-sm: 4px;
    --hd-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --hd-shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --hd-transition: all 0.25s ease;
    --hd-container: 1280px;
    --hd-font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ========================================================================
   CONTAINER
   ======================================================================== */

/* Global Poppins font for all hotel detail elements */
.hd-gallery-hero,
.hd-nav-tabs,
.hd-container,
.hd-section,
.hd-sidebar,
.hd-pol-card,
.hd-faq-item {
    font-family: var(--hd-font);
}

.hd-container {
    max-width: var(--hd-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================================================
   GALLERY HERO
   ======================================================================== */

.hd-gallery-hero {
    position: relative;
    max-width: var(--hd-container);
    margin: 0 auto;
    padding: 0 20px;
}

.hd-gallery-grid {
    display: grid;
    gap: 4px;
    border-radius: var(--hd-radius);
    overflow: hidden;
    max-height: 460px;
}

.hd-gallery-grid.gallery-count-1 {
    grid-template-columns: 1fr;
}

.hd-gallery-grid.gallery-count-2 {
    grid-template-columns: 1fr 1fr;
}

.hd-gallery-grid.gallery-count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.hd-gallery-grid.gallery-count-3 .hd-gallery-main {
    grid-row: 1 / 3;
}

.hd-gallery-grid.gallery-count-4,
.hd-gallery-grid.gallery-count-5 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.hd-gallery-grid.gallery-count-4 .hd-gallery-main,
.hd-gallery-grid.gallery-count-5 .hd-gallery-main {
    grid-row: 1 / 3;
}

.hd-gallery-cell {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 140px;
}

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

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

.hd-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.hd-btn-all-photos {
    position: absolute;
    bottom: 16px;
    right: 36px;
    background: rgba(255,255,255,0.95);
    border: none;
    padding: 10px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--hd-shadow-lg);
    transition: var(--hd-transition);
    z-index: 5;
}

.hd-btn-all-photos:hover {
    background: #fff;
    transform: translateY(-2px);
}

.hd-gallery-placeholder {
    height: 300px;
    background: var(--hd-bg);
    border-radius: var(--hd-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--hd-text-muted);
}

.hd-gallery-placeholder i {
    font-size: 48px;
}

/* ========================================================================
   LIGHTBOX
   ======================================================================== */

.hd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.hd-lightbox.active {
    display: flex;
}

.hd-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.hd-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
}

.hd-lightbox-close:hover {
    color: var(--hd-orange);
}

.hd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    border-radius: var(--hd-radius-sm);
    transition: var(--hd-transition);
    z-index: 10;
}

.hd-lightbox-nav:hover {
    background: rgba(255,255,255,0.3);
}

.hd-lightbox-prev { left: 16px; }
.hd-lightbox-next { right: 16px; }

.hd-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* ========================================================================
   BREADCRUMBS
   ======================================================================== */

.hd-breadcrumbs {
    padding: 12px 0;
    font-size: 13px;
    color: var(--hd-text-muted);
}

.hd-breadcrumbs a {
    color: var(--hd-text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.hd-breadcrumbs a:hover {
    color: var(--hd-primary);
}

.hd-breadcrumb-sep {
    margin: 0 6px;
    color: var(--hd-border);
}

.hd-breadcrumb-current {
    color: var(--hd-text);
    font-weight: 500;
}

/* ========================================================================
   TITLE BAR
   ======================================================================== */

.hd-title-bar {
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--hd-border);
}

.hd-title-bar .hd-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.hd-title-left {
    flex: 1;
    min-width: 0;
}

.hd-star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}

.hd-star-rating i {
    font-size: 14px;
    color: #ddd;
}

.hd-star-rating i.active {
    color: #f5a623;
}

.hd-star-text {
    font-size: 12px;
    color: var(--hd-text-muted);
    margin-left: 6px;
}

.hd-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--hd-text);
    margin: 0 0 8px;
    line-height: 1.2;
    font-family: var(--hd-font);
}

.hd-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hd-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--hd-text-secondary);
    text-decoration: none;
}

.hd-meta-item i {
    color: var(--hd-primary);
    font-size: 14px;
}

.hd-meta-reviews:hover {
    color: var(--hd-primary);
}

.hd-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hd-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 32px;
}

.hd-title-right {
    flex-shrink: 0;
    text-align: right;
}

.hd-price-from {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hd-price-label {
    font-size: 12px;
    color: var(--hd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hd-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--hd-orange);
    line-height: 1.1;
}

.hd-price-original {
    font-size: 16px;
    color: var(--hd-text-muted);
    margin-right: 4px;
}

.hd-price-unit {
    font-size: 13px;
    color: var(--hd-text-muted);
    font-weight: 400;
}

/* ========================================================================
   NAVIGATION TABS
   ======================================================================== */

.hd-nav-tabs {
    background: var(--hd-white);
    border-bottom: 1px solid var(--hd-border);
    z-index: 100;
    transition: box-shadow 0.2s;
}

.hd-nav-tabs.hd-nav-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.hd-nav-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.hd-nav-scroll::-webkit-scrollbar {
    display: none;
}

.hd-nav-tab {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-text-secondary);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--hd-transition);
}

.hd-nav-tab:hover {
    color: var(--hd-primary);
}

.hd-nav-tab.active {
    color: var(--hd-primary);
    border-bottom-color: var(--hd-primary);
}

/* ========================================================================
   TWO-COLUMN LAYOUT
   ======================================================================== */

.hd-layout {
    display: flex;
    gap: 32px;
    padding: 28px 0 40px;
}

.hd-main {
    flex: 1;
    min-width: 0;
}

.hd-sidebar {
    flex: 0 0 360px;
}

.hd-sidebar-sticky {
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

/* ========================================================================
   SECTIONS
   ======================================================================== */

.hd-section {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--hd-border);
}

.hd-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hd-section-heading {
    font-size: 24px;
    font-weight: 800;
    color: var(--hd-text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    font-family: var(--hd-font);
}

.hd-section-heading i {
    color: #f47c04;
    font-size: 24px;
}

/* ========================================================================
   HIGHLIGHTS
   ======================================================================== */

.hd-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hd-highlight-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--hd-bg);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--hd-text-secondary);
}

.hd-highlight-chip i {
    color: var(--hd-primary);
    font-size: 14px;
}

/* ========================================================================
   OVERVIEW
   ======================================================================== */

.hd-overview-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--hd-text-secondary);
}

.hd-overview-tagline {
    font-size: 16px;
    font-weight: 600;
    color: var(--hd-text);
    margin: 0 0 16px;
    line-height: 1.5;
}

.hd-neighbourhood-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--hd-border);
}

.hd-subsection-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--hd-text);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-subsection-heading i {
    color: var(--hd-primary);
    font-size: 16px;
}

.hd-overview-content p {
    margin: 0 0 12px;
}

.hd-overview-content ul {
    padding-left: 0;
    list-style: none;
}

.hd-overview-content ul li::before {
    content: "✓";
    color: var(--hd-primary);
    font-weight: 700;
    margin-right: 8px;
}

/* ========================================================================
   ROOM SEARCH BAR — 4-Column Professional Layout
   ======================================================================== */

.hd-room-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 0;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: visible;
}

.hd-room-search-field {
    padding: 12px 16px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
}

.hd-room-search-field:hover {
    background: #f8f9fa;
}

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

.hd-room-search-field label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #1a2b48;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    cursor: pointer;
}

.hd-room-search-field label i {
    color: #1a2b48;
    font-size: 12px;
}

.hd-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Date display text */
.hd-date-display {
    font-size: 15px;
    font-weight: 400;
    color: #1a2b48;
    line-height: 1.4;
    padding: 4px 0;
}

/* Hidden date input (for daterangepicker) */
.hd-date-trigger {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

/* Guests summary text */
.hd-guests-summary {
    font-size: 15px;
    font-weight: 400;
    color: #1a2b48;
    line-height: 1.4;
    padding: 4px 0;
    flex: 1;
}

.hd-guests-arrow {
    font-size: 14px;
    color: #1a2b48;
    transition: transform 0.2s;
}

.hd-guests-arrow.hd-arrow-up {
    transform: rotate(180deg);
}

/* ---- Guests Popup ---- */
.hd-guests-popup {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 340px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    z-index: 100;
    cursor: default;
    animation: hdPopupIn 0.15s ease-out;
}

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

.hd-guests-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.hd-guests-popup-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 18px;
    color: #1a2b48;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.15s;
    padding: 0;
}

.hd-guests-popup-close:hover {
    background: #f3f4f6;
}

.hd-guests-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a2b48;
}

.hd-guests-popup-body {
    padding: 4px 20px;
    max-height: 360px;
    overflow-y: auto;
}

.hd-guests-room {
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.hd-guests-room:last-child {
    border-bottom: none;
}

.hd-guests-room-label {
    font-size: 13px;
    font-weight: 700;
    color: #1a2b48;
    margin-bottom: 10px;
}

.hd-guests-popup .hd-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #1a2b48;
}

.hd-guest-age-note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 1px;
}

.hd-guests-popup .hd-counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hd-guests-popup .hd-counter-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #d1d5db;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    color: #1a2b48;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
    padding: 0;
}

.hd-guests-popup .hd-counter-btn:hover {
    border-color: #1a2b48;
    background: #f9fafb;
}

.hd-guests-popup .hd-counter-val {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    font-size: 16px;
    color: #1a2b48;
}

.hd-guests-room-remove {
    text-align: right;
    padding-top: 6px;
}

.hd-guests-room-remove button {
    background: none;
    border: none;
    color: #1a2b48;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.hd-guests-room-remove button:hover {
    color: #d32f2f;
}

.hd-guests-popup-footer {
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hd-guests-add-room {
    background: none;
    border: none;
    color: #1a2b48;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    text-align: right;
}

.hd-guests-add-room:hover {
    color: var(--hd-primary);
}

.hd-guests-done-btn {
    width: 100%;
    padding: 14px;
    background: #1a2b48;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.hd-guests-done-btn:hover {
    background: #0f1d33;
}

/* General inputs */
.hd-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-sm);
    font-size: 14px;
    color: var(--hd-text);
    background: var(--hd-white);
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--hd-font);
}

.hd-input:focus {
    border-color: var(--hd-primary);
}

.hd-textarea {
    resize: vertical;
    min-height: 60px;
}

/* Legacy guest controls (used elsewhere) */
.hd-guests-field .hd-guest-controls {
    background: transparent;
    border: none;
    padding: 0;
}

.hd-guest-controls {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hd-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0;
    font-size: 13px;
    color: var(--hd-text);
}

.hd-counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-counter-btn {
    width: 26px;
    height: 26px;
    border: 1px solid var(--hd-border);
    background: var(--hd-white);
    border-radius: 50%;
    font-size: 15px;
    color: var(--hd-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hd-transition);
    line-height: 1;
    padding: 0;
}

.hd-counter-btn:hover {
    background: var(--hd-primary);
    color: #fff;
    border-color: var(--hd-primary);
}

.hd-counter-val {
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    font-size: 14px;
}

/* Check Availability button column */
.hd-search-action-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
    border-right: none;
    cursor: default;
}

.hd-search-action-field:hover {
    background: transparent;
}

.hd-btn-check {
    padding: 12px 28px;
    background: #f47c04;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--hd-transition);
    white-space: nowrap;
    justify-content: center;
    height: 100%;
}

.hd-btn-check:hover {
    background: #038a52;
}

/* ========================================================================
   ROOM LOADING
   ======================================================================== */

.hd-rooms-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
    color: var(--hd-text-muted);
    font-size: 14px;
}

.hd-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--hd-border);
    border-top-color: var(--hd-primary);
    border-radius: 50%;
    animation: hd-spin 0.8s linear infinite;
}

@keyframes hd-spin {
    to { transform: rotate(360deg); }
}

/* ========================================================================
   ROOM CARDS — Expedia-style vertical cards in 3-column grid
   ======================================================================== */

.hd-rooms-count {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--hd-text-muted);
}

.hd-rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hd-room-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    overflow: hidden;
    background: var(--hd-white);
    transition: var(--hd-transition);
}

.hd-room-card:hover {
    border-color: var(--hd-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- Image / Carousel --- */
.hd-room-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
}

.hd-room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hd-room-card:hover .hd-room-card-image img {
    transform: scale(1.03);
}

.hd-room-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 40px;
}

/* Carousel nav arrows */
.hd-room-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.85);
    color: #222;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    padding: 0;
}

.hd-room-card:hover .hd-room-carousel-nav {
    opacity: 1;
}

.hd-room-carousel-nav:hover {
    background: #fff;
    border-color: #ddd;
}

.hd-room-carousel-prev { left: 8px; }
.hd-room-carousel-next { right: 8px; }

/* Gallery badge — bottom-right */
.hd-room-gallery-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

/* "Our lowest price" badge */
.hd-room-lowest-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--hd-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 0 8px 0;
    z-index: 2;
}

/* --- Card body --- */
.hd-room-card-body {
    flex: 1;
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.hd-room-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--hd-text);
    margin: 0 0 4px;
    line-height: 1.3;
}

.hd-room-category-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #f47c04;
    border: none;
    border-radius: 4px;
    padding: 2px 10px;
    margin-bottom: 8px;
    text-transform: capitalize;
}

.hd-room-description {
    font-size: 13px;
    color: var(--hd-text-secondary);
    line-height: 1.5;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hd-room-modal-description {
    font-size: 14px;
    color: var(--hd-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hd-border);
}

.hd-room-modal-description p {
    margin: 0 0 8px;
}

.hd-room-modal-description p:last-child {
    margin-bottom: 0;
}

/* --- Feature list (vertical, icon + text per row) --- */
.hd-room-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.hd-room-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hd-text-secondary);
    line-height: 1.4;
}

.hd-room-feature-item i {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: var(--hd-primary);
    font-size: 13px;
}

/* "More details" link */
.hd-room-more-details {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-text);
    text-decoration: underline;
    margin-top: 12px;
    transition: color 0.2s;
}

.hd-room-more-details:hover {
    color: var(--hd-primary);
}

.hd-room-more-details i {
    font-size: 10px;
}

/* --- Card Footer (price + reserve) --- */
.hd-room-card-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--hd-border);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hd-room-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hd-room-availability {
    flex-shrink: 0;
}

.hd-room-left-text {
    font-size: 12px;
    font-weight: 600;
    color: #d32f2f;
}

.hd-room-pricing {
    text-align: right;
}

.hd-room-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--hd-text);
}

.hd-room-price-amount .unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--hd-text-muted);
}

/* Room select (inline) */
.hd-room-select-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.hd-room-select {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-select {
    padding: 8px 12px;
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text);
    background: var(--hd-white);
    cursor: pointer;
    outline: none;
}

.hd-select:focus {
    border-color: var(--hd-primary);
}

.hd-room-select-label {
    font-size: 12px;
    color: var(--hd-text-muted);
    white-space: nowrap;
}

/* Book button */
.hd-room-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 16px;
    background: #038a52;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.hd-room-book-btn:hover {
    background: #f47c04;
    color: #fff;
}

.hd-room-book-btn:disabled,
.hd-room-book-btn.disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.hd-room-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    
}

/* Sold out */
.hd-room-sold-out {
    text-align: right;
}

.hd-room-sold-out span {
    font-size: 14px;
    font-weight: 700;
    color: #d32f2f;
}

/* No rooms */
.hd-no-rooms {
    text-align: center;
    padding: 32px;
    color: var(--hd-text-muted);
}

.hd-no-rooms i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

/* ========================================================================
   ROOM INFORMATION MODAL (Expedia-style slide-in)
   ======================================================================== */

/* Overlay */
.hd-room-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    animation: hd-modal-fade-in 0.2s ease;
}

@keyframes hd-modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal panel — slide from right */
.hd-room-modal {
    width: 100%;
    max-width: 680px;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    animation: hd-modal-slide-in 0.3s ease;
}

@keyframes hd-modal-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

/* Header */
.hd-room-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.hd-room-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 24px;
    color: #1a2b48;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.hd-room-modal-close:hover {
    background: #f3f4f6;
}

.hd-room-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2b48;
    margin: 0;
}

/* Scrollable body */
.hd-room-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Gallery */
.hd-room-modal-gallery {
    width: 100%;
    background: #f0f0f0;
}

.hd-room-modal-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.hd-room-modal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal carousel nav */
.hd-room-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.9);
    color: #1a2b48;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
    transition: background 0.2s, box-shadow 0.2s;
}

.hd-room-modal-nav:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.hd-room-modal-nav-prev { left: 12px; }
.hd-room-modal-nav-next { right: 12px; }

/* Room name */
.hd-room-modal-name {
    font-size: 22px;
    font-weight: 800;
    color: #1a2b48;
    margin: 0;
    padding: 20px 24px 0;
}

/* Top amenities — 3-column icon grid */
.hd-room-modal-top-amenities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 16px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.hd-room-modal-amenity-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 14px 8px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
}

.hd-room-modal-amenity-chip:nth-child(3n) {
    border-right: none;
}

.hd-room-modal-amenity-chip:nth-last-child(-n+3) {
    border-bottom: none;
}

/* Handle potential incomplete last row */
.hd-room-modal-amenity-chip:last-child {
    border-bottom: none;
}

.hd-room-modal-amenity-chip i {
    font-size: 22px;
    color: #1a2b48;
}

.hd-room-modal-amenity-chip span {
    font-size: 12px;
    color: #1a2b48;
    line-height: 1.3;
}

/* Specs list */
.hd-room-modal-specs {
    list-style: none;
    padding: 0 24px;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hd-room-modal-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1a2b48;
    line-height: 1.4;
}

.hd-room-modal-specs li i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    color: #038a52;
    flex-shrink: 0;
}

/* Room amenities categorized section */
.hd-room-modal-amenities-section {
    padding: 0 24px 20px;
}

.hd-room-modal-section-title {
    font-size: 20px;
    font-weight: 800;
    color: #1a2b48;
    margin: 0 0 16px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.hd-room-modal-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
}

.hd-room-modal-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.hd-room-modal-cat-header i {
    font-size: 18px;
    color: #1a2b48;
}

.hd-room-modal-cat-header strong {
    font-size: 15px;
    font-weight: 700;
    color: #1a2b48;
}

.hd-room-modal-cat-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hd-room-modal-cat-list li {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

/* Portal per-room amenities list */
.hd-room-modal-portal-amenities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.hd-room-modal-portal-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.hd-room-modal-portal-amenities li i {
    color: var(--hd-primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* Room options (bottom card with price + reserve) */
.hd-room-modal-options {
    padding: 0 24px 24px;
}

.hd-room-modal-options-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
}

.hd-room-modal-options-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 14px;
}

.hd-room-modal-avail {
    flex-shrink: 0;
}

.hd-room-modal-price-row {
    text-align: right;
}

.hd-room-modal-price {
    font-size: 24px;
    font-weight: 800;
    color: #1a2b48;
}

.hd-room-modal-price .unit {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
}

.hd-room-modal-reserve-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hd-room-modal-reserve-btn {
    flex: 1;
    padding: 14px 0;
    border: none;
    border-radius: 10px;
    background: #1a2b48;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s;
}

.hd-room-modal-reserve-btn:hover {
    background: #038a52;
}

.hd-room-modal-nocharge {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 10px;
}

/* ── Modal mobile responsive ── */
@media (max-width: 768px) {
    .hd-room-modal {
        max-width: 100%;
    }

    .hd-room-modal-top-amenities {
        grid-template-columns: repeat(2, 1fr);
        margin: 16px 16px;
    }

    .hd-room-modal-amenity-chip:nth-child(3n) {
        border-right: 1px solid #e5e7eb;
    }

    .hd-room-modal-amenity-chip:nth-child(2n) {
        border-right: none;
    }

    .hd-room-modal-name {
        font-size: 18px;
        padding: 16px 16px 0;
    }

    .hd-room-modal-specs {
        padding: 0 16px;
    }

    .hd-room-modal-amenities-section {
        padding: 0 16px 16px;
    }

    .hd-room-modal-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hd-room-modal-options {
        padding: 0 16px 16px;
    }
}

/* ========================================================================
   EXTRA SERVICES
   ======================================================================== */

.hd-extra-services {
    margin-top: 16px;
    padding: 16px;
    background: var(--hd-bg);
    border-radius: var(--hd-radius);
}

.hd-extra-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hd-text);
    margin: 0 0 12px;
}

.hd-extra-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--hd-border);
}

.hd-extra-item:last-child {
    border-bottom: none;
}

.hd-extra-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

.hd-extra-check input[type="checkbox"] {
    accent-color: var(--hd-primary);
    width: 16px;
    height: 16px;
}

.hd-extra-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-orange);
}

/* ========================================================================
   AMENITIES GRID (Categorized)
   ======================================================================== */

.hd-amenities-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 32px;
}

.hd-amenity-category {
    min-width: 0;
}

.hd-amenity-cat-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--hd-text);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--hd-border);
}

.hd-amenity-cat-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hd-amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--hd-text-secondary);
}

.hd-amenity-item i {
    color: var(--hd-primary);
    font-size: 15px;
    flex-shrink: 0;
}

/* ========================================================================
   POLICIES
   ======================================================================== */

/* Legacy (keep for fallback) */
.hd-policies-list { background: transparent; }
.hd-policy-row { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hd-border); font-size: 13px; }
.hd-policy-row:last-child { border-bottom: none; }
.hd-policy-key { font-weight: 600; color: var(--hd-text); }
.hd-policy-value { color: var(--hd-text-secondary); line-height: 1.5; }

/* New policy card grid */
.hd-pol-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.hd-pol-card {
    display: flex;
    gap: 16px;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: box-shadow .2s;
}
.hd-pol-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.hd-pol-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.hd-pol-card-body {
    flex: 1;
    min-width: 0;
}
.hd-pol-card-body h4 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}
.hd-pol-tag {
    display: inline-block;
    background: #f0fdf4;
    color: #038a52;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #bbf7d0;
    margin-bottom: 8px;
}
.hd-pol-rich {
    font-size: 13px;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 6px;
}
.hd-pol-rich:last-child { margin-bottom: 0; }
.hd-pol-rich p { margin: 0 0 6px; }
.hd-pol-rich ul,
.hd-pol-rich ol { margin: 4px 0 8px 18px; padding: 0; }
.hd-pol-rich li { margin-bottom: 2px; }
.hd-pol-muted {
    color: #64748b;
    font-style: italic;
}
.hd-pol-times {
    display: flex;
    gap: 24px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.hd-pol-time-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hd-pol-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #94a3b8;
}
.hd-pol-val {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}
.hd-pol-val small {
    font-weight: 400;
    font-size: 12px;
    color: #64748b;
}
.hd-pol-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 3px 4px 3px 0;
}
.hd-pol-badge-green {
    background: #f0fdf4;
    color: #038a52;
}
.hd-pol-inline {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 4px;
}
.hd-pol-inline:last-child { margin-bottom: 0; }
.hd-pol-inline strong {
    color: #1e293b;
}
.hd-pol-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    padding: 5px 0;
}
.hd-pol-rule i {
    width: 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}
.hd-pol-sub {
    font-size: 13px;
    color: #475569;
    margin: 8px 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hd-pol-sub:first-child { margin-top: 0; }
.hd-pol-sub i { color: #94a3b8; font-size: 13px; }

/* ========================================================================
   FAQs ACCORDION
   ======================================================================== */

.hd-faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}
.hd-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
}
.hd-faq-item:hover {
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.hd-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    line-height: 1.4;
    outline: none;
}
.hd-faq-q:focus,
.hd-faq-q:focus-visible {
    outline: none;
    box-shadow: none;
}
.hd-faq-q:hover { color: #f47c04; }
.hd-faq-arrow {
    font-size: 12px;
    color: #94a3b8;
    transition: transform .25s;
    flex-shrink: 0;
}
.hd-faq-item.open .hd-faq-arrow {
    transform: rotate(180deg);
}
.hd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}
.hd-faq-item.open .hd-faq-a {
    max-height: 600px;
}
.hd-faq-a-inner {
    padding: 0 18px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}
.hd-faq-a-inner p { margin: 0 0 6px; }
.hd-faq-a-inner ul,
.hd-faq-a-inner ol { margin: 4px 0 8px 18px; padding: 0; }
.hd-faq-a-inner li { margin-bottom: 2px; }

/* ========================================================================
   SURROUNDING AREA — Tabbed Layout
   ======================================================================== */

/* Legacy classes (keep for backward compat) */
.hd-surrounding-list { display: flex; flex-direction: column; gap: 8px; }
.hd-surrounding-item { padding: 10px 12px; background: var(--hd-bg); border-radius: var(--hd-radius-sm); }
.hd-surrounding-name { font-size: 13px; font-weight: 600; color: var(--hd-text); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.hd-surrounding-name i { color: var(--hd-primary); }
.hd-surrounding-distance { font-size: 12px; color: var(--hd-primary); font-weight: 500; }
.hd-surrounding-desc { font-size: 12px; color: var(--hd-text-secondary); margin: 4px 0 0; line-height: 1.5; }

/* Area description */
.hd-surr-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 20px;
    padding: 14px 18px;
    background: #f8fafc;
    border-left: 3px solid var(--hd-primary);
    border-radius: 0 8px 8px 0;
}

/* Category tab bar */
.hd-surr-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}
.hd-surr-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
    font-family: var(--hd-font);
}
.hd-surr-tab:hover {
    color: #1e293b;
}
.hd-surr-tab:focus, .hd-surr-tab:focus-visible {
    outline: none;
    box-shadow: none;
}
.hd-surr-tab.active {
    color: var(--hd-primary);
    border-bottom-color: var(--hd-primary);
}
/* Unique category tab colors */
.hd-surr-tab[data-surr-cat="attractions"].active { color: #3b82f6; border-bottom-color: #3b82f6; }
.hd-surr-tab[data-surr-cat="transport"].active { color: #6366f1; border-bottom-color: #6366f1; }
.hd-surr-tab[data-surr-cat="dining"].active { color: #f47c04; border-bottom-color: #f47c04; }
.hd-surr-tab[data-surr-cat="shopping"].active { color: #ec4899; border-bottom-color: #ec4899; }
.hd-surr-tab[data-surr-cat="nature"].active { color: #22c55e; border-bottom-color: #22c55e; }
.hd-surr-tab[data-surr-cat="health"].active { color: #ef4444; border-bottom-color: #ef4444; }
.hd-surr-tab[data-surr-cat="business"].active { color: #8b5cf6; border-bottom-color: #8b5cf6; }
.hd-surr-tab[data-surr-cat="other"].active { color: #64748b; border-bottom-color: #64748b; }
.hd-surr-tab[data-surr-cat="attractions"].active .hd-surr-tab-count { background: #eff6ff; color: #3b82f6; }
.hd-surr-tab[data-surr-cat="transport"].active .hd-surr-tab-count { background: #eef2ff; color: #6366f1; }
.hd-surr-tab[data-surr-cat="dining"].active .hd-surr-tab-count { background: #fff7ed; color: #f47c04; }
.hd-surr-tab[data-surr-cat="shopping"].active .hd-surr-tab-count { background: #fdf2f8; color: #ec4899; }
.hd-surr-tab[data-surr-cat="nature"].active .hd-surr-tab-count { background: #f0fdf4; color: #22c55e; }
.hd-surr-tab[data-surr-cat="health"].active .hd-surr-tab-count { background: #fef2f2; color: #ef4444; }
.hd-surr-tab[data-surr-cat="business"].active .hd-surr-tab-count { background: #f5f3ff; color: #8b5cf6; }
.hd-surr-tab[data-surr-cat="other"].active .hd-surr-tab-count { background: #f8fafc; color: #64748b; }
.hd-surr-tab-icon {
    font-size: 16px;
    line-height: 1;
}
.hd-surr-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 0 5px;
}
.hd-surr-tab.active .hd-surr-tab-count {
    background: #ecfdf5;
    color: var(--hd-primary);
}

/* Place cards grid */
.hd-surr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.hd-surr-place {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #fafbfc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: box-shadow .2s, border-color .2s;
}
.hd-surr-place.has-image {
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
}
.hd-surr-place.has-image .hd-surr-place-info {
    padding: 12px 16px;
}
.hd-surr-place:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.hd-surr-place-icon {
    font-size: 22px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    flex-shrink: 0;
}
.hd-surr-place-info {
    flex: 1;
    min-width: 0;
}
.hd-surr-place-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}
.hd-surr-place-dist {
    font-size: 12px;
    color: var(--hd-primary);
    font-weight: 500;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.hd-surr-place-dist i {
    font-size: 11px;
    color: #94a3b8;
}
.hd-surr-place-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 10px;
}
.hd-surr-place-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.hd-surr-place:hover .hd-surr-place-img img {
    transform: scale(1.05);
}
.hd-surr-place-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    margin-top: 6px;
}

/* ========================================================================
   MAP
   ======================================================================== */

.hd-location-address {
    font-size: 13px;
    color: var(--hd-text-secondary);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-location-address i {
    color: var(--hd-primary);
}

.hd-map-container {
    height: 320px;
    border-radius: var(--hd-radius);
    overflow: hidden;
    background: #eee;
}

.hd-map-container #map_content {
    width: 100%;
    height: 100%;
}

/* ========================================================================
   REVIEWS
   ======================================================================== */

.hd-review-summary {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--hd-bg);
    border-radius: var(--hd-radius);
}

.hd-review-score-box {
    flex: 0 0 120px;
    text-align: center;
    padding: 16px;
    background: linear-gradient(135deg, var(--hd-primary) 0%, var(--hd-primary-dark) 100%);
    border-radius: var(--hd-radius);
    color: #fff;
}

.hd-review-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.hd-review-label {
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
}

.hd-review-count {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.hd-review-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.hd-review-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-review-bar-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--hd-text-secondary);
    min-width: 40px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hd-review-bar-label i {
    color: #f5a623;
    font-size: 11px;
}

.hd-review-bar-track {
    flex: 1;
    height: 8px;
    background: var(--hd-border);
    border-radius: 4px;
    overflow: hidden;
}

.hd-review-bar-fill {
    height: 100%;
    background: var(--hd-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.hd-review-bar-count {
    font-size: 12px;
    color: var(--hd-text-muted);
    min-width: 20px;
    text-align: right;
}

.hd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hd-review-item {
    padding: 16px;
    background: var(--hd-white);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
}

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

.hd-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--hd-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hd-text-muted);
    font-size: 20px;
    flex-shrink: 0;
}

.hd-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hd-review-meta {
    flex: 1;
}

.hd-review-author {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text);
}

.hd-review-date {
    font-size: 12px;
    color: var(--hd-text-muted);
}

.hd-review-rating-badge {
    background: var(--hd-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--hd-radius-sm);
    font-size: 13px;
    font-weight: 700;
}

.hd-review-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text);
    margin: 0 0 6px;
}

.hd-review-text {
    font-size: 13px;
    color: var(--hd-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.hd-review-pagination {
    margin-top: 16px;
    text-align: center;
}

/* ========================================================================
   SIDEBAR - BOOKING CARD
   ======================================================================== */

.hd-booking-card {
    background: var(--hd-white);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 20px;
    box-shadow: var(--hd-shadow);
    margin-bottom: 16px;
}

.hd-booking-price-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hd-border);
}

.hd-booking-price-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--hd-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.hd-booking-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hd-booking-price-old {
    font-size: 14px;
    color: var(--hd-text-muted);
}

.hd-booking-price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--hd-orange);
}

.hd-booking-price-per {
    font-size: 13px;
    color: var(--hd-text-muted);
}

/* Booking Summary */
.hd-booking-summary {
    margin-bottom: 16px;
    padding: 12px;
    background: var(--hd-bg);
    border-radius: var(--hd-radius-sm);
}

.hd-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--hd-text-secondary);
}

.hd-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
    margin-top: 8px;
    border-top: 1px solid var(--hd-border);
    font-size: 15px;
    font-weight: 700;
    color: var(--hd-text);
}

.hd-total-amount {
    color: var(--hd-orange);
}

.hd-deposit-info {
    display: flex;
    justify-content: space-between;
    padding: 6px 0 0;
    font-size: 12px;
    color: var(--hd-primary);
    font-weight: 500;
}

/* Buttons */
.hd-booking-form {
    margin-bottom: 0;
}

.hd-booking-message {
    padding: 10px;
    border-radius: var(--hd-radius-sm);
    font-size: 13px;
    margin-bottom: 8px;
}

.hd-booking-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.hd-booking-message.success {
    background: #f0fdf4;
    color: var(--hd-primary);
    border: 1px solid #bbf7d0;
}

.hd-btn-book {
    width: 100%;
    padding: 14px;
    background: var(--hd-primary);
    color: #fff;
    border: none;
    border-radius: var(--hd-radius-sm);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--hd-transition);
}

.hd-btn-book:hover:not(:disabled) {
    background: var(--hd-primary-dark);
}

.hd-btn-book:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================================================
   ENQUIRY
   ======================================================================== */

.hd-enquiry-section {
    margin-top: 12px;
}

.hd-enquiry-divider {
    text-align: center;
    position: relative;
    margin: 12px 0;
}

.hd-enquiry-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--hd-border);
}

.hd-enquiry-divider span {
    position: relative;
    background: var(--hd-white);
    padding: 0 12px;
    font-size: 12px;
    color: var(--hd-text-muted);
}

.hd-btn-enquiry {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: var(--hd-primary);
    border: 1px solid var(--hd-primary);
    border-radius: var(--hd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--hd-transition);
}

.hd-btn-enquiry:hover {
    background: var(--hd-primary);
    color: #fff;
}

.hd-enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hd-btn-enquiry-submit {
    width: 100%;
    padding: 12px;
    background: var(--hd-primary);
    color: #fff;
    border: none;
    border-radius: var(--hd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hd-transition);
}

.hd-btn-enquiry-submit:hover:not(:disabled) {
    background: var(--hd-primary-dark);
}

.hd-btn-enquiry-submit:disabled {
    opacity: 0.5;
}

.hd-enquiry-success {
    text-align: center;
    padding: 16px;
    color: var(--hd-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hd-enquiry-success i {
    font-size: 20px;
}

/* ========================================================================
   HOST CARD
   ======================================================================== */

.hd-host-card {
    background: var(--hd-white);
    border: 1px solid var(--hd-border);
    border-radius: var(--hd-radius);
    padding: 16px;
}

.hd-host-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hd-host-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--hd-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hd-text-muted);
    font-size: 22px;
    flex-shrink: 0;
}

.hd-host-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hd-host-label {
    font-size: 11px;
    color: var(--hd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hd-host-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--hd-text);
}

.hd-host-since {
    font-size: 11px;
    color: var(--hd-text-muted);
    margin-top: 2px;
}

.hd-host-bio {
    font-size: 13px;
    line-height: 1.6;
    color: var(--hd-text-secondary);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--hd-border);
}

.hd-host-details {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hd-host-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--hd-text-secondary);
}

.hd-host-detail-row i {
    color: var(--hd-primary);
    font-size: 14px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.hd-host-detail-row a {
    color: var(--hd-primary);
    text-decoration: none;
}

.hd-host-detail-row a:hover {
    color: var(--hd-orange);
}

/* Online Presence Section */
.hd-host-presence {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hd-border);
}

.hd-host-presence-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--hd-text-muted);
    margin-bottom: 12px;
}

.hd-host-presence-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hd-presence-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: var(--hd-transition);
}

.hd-presence-icon:hover {
    transform: translateY(-2px);
}

.hd-presence-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: var(--hd-transition);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.hd-presence-icon:hover .hd-presence-circle {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: scale(1.08);
}

.hd-presence-circle i {
    color: #fff !important;
}

.hd-presence-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--hd-text-muted);
    line-height: 1;
}

.hd-presence-icon:hover .hd-presence-name {
    color: var(--hd-text);
}

/* Share Button */
.hd-host-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--hd-border);
}

.hd-host-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--hd-radius);
    border: none;
    background: var(--hd-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--hd-transition);
}

.hd-host-share-btn:hover {
    background: var(--hd-orange);
    color: #fff;
}

.hd-host-share-btn i {
    font-size: 16px;
}

/* ========================================================================
   RELATED HOTELS (Full Card Style)
   ======================================================================== */

.hd-related {
    padding: 32px 0 40px;
    background: var(--hd-bg);
    margin-top: 20px;
}

.hd-related-header {
    margin-bottom: 20px;
}

.hd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.hd-rcard {
    background: var(--hd-white);
    border-radius: var(--hd-radius);
    overflow: hidden;
    box-shadow: var(--hd-shadow);
    transition: var(--hd-transition);
    display: flex;
    flex-direction: column;
}

.hd-rcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow-lg);
}

/* Card Image */
.hd-rcard-image {
    position: relative;
    height: 190px;
    background: #f0f0f0;
    overflow: hidden;
}

.hd-rcard-image a {
    display: block;
    height: 100%;
}

.hd-rcard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hd-rcard:hover .hd-rcard-image img {
    transform: scale(1.05);
}

.hd-rcard-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ccc;
}

.hd-rcard-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    transition: var(--hd-transition);
    z-index: 2;
}

.hd-rcard-wishlist:hover,
.hd-rcard-wishlist.active {
    color: #dc2626;
    background: #fff;
}

.hd-rcard-star-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--hd-orange);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.hd-rcard-star-badge i {
    font-size: 9px;
}

.hd-rcard-discount {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--hd-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

/* Card Body */
.hd-rcard-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hd-rcard-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.hd-rcard-title a {
    color: var(--hd-text);
    text-decoration: none;
}

.hd-rcard-title a:hover {
    color: var(--hd-orange);
}

.hd-rcard-location {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 12px;
    color: var(--hd-text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.hd-rcard-location i {
    color: var(--hd-primary);
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.hd-rcard-divider {
    height: 1px;
    background: var(--hd-border);
    margin-bottom: 10px;
}

/* Specs */
.hd-rcard-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin-bottom: 12px;
}

.hd-rcard-spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--hd-text-secondary);
}

.hd-rcard-spec i {
    color: var(--hd-text-muted);
    font-size: 12px;
    flex-shrink: 0;
}

/* Footer */
.hd-rcard-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--hd-border);
}

.hd-rcard-price {
    display: flex;
    flex-direction: column;
}

.hd-rcard-price-old {
    font-size: 11px;
    color: var(--hd-text-muted);
}

.hd-rcard-price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--hd-text);
}

.hd-rcard-price-unit {
    font-size: 11px;
    color: var(--hd-text-muted);
    font-weight: 400;
}

.hd-rcard-book-btn {
    padding: 8px 16px;
    border: 2px solid #038a52;
    border-radius: var(--hd-radius-sm);
    color: #038a52;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--hd-transition);
}

.hd-rcard-book-btn:hover {
    background: #f47c04;
    border-color: #f47c04;
    color: #fff;
}

/* ========================================================================
   REVIEW FORM
   ======================================================================== */

.hd-review-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hd-review-form-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hd-review-form-rating label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-text);
}

.hd-star-select {
    display: flex;
    gap: 4px;
}

.hd-star-select .icofont-star {
    font-size: 22px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s;
}

.hd-star-select .icofont-star.active {
    color: #f5a623;
}

.hd-star-select .icofont-star:hover {
    color: #f5a623;
}

.hd-review-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hd-review-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-text);
}

.hd-review-form-field small {
    font-weight: 400;
    color: var(--hd-text-muted);
}

.hd-input-file {
    font-size: 13px;
    color: var(--hd-text-secondary);
}

.hd-btn-submit-review {
    align-self: flex-start;
    padding: 12px 24px;
    background: #038a52;
    color: #fff;
    border: none;
    border-radius: var(--hd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--hd-transition);
}

.hd-btn-submit-review:hover {
    background: #f47c04;
}

.hd-review-login-prompt {
    text-align: center;
    padding: 24px;
    background: var(--hd-bg);
    border-radius: var(--hd-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hd-review-login-prompt i {
    font-size: 28px;
    color: var(--hd-text-muted);
}

.hd-review-login-prompt p {
    font-size: 14px;
    color: var(--hd-text-secondary);
    margin: 0;
}

.hd-review-login-prompt a {
    color: var(--hd-primary);
    font-weight: 600;
    text-decoration: none;
}

.hd-review-login-prompt a:hover {
    color: var(--hd-orange);
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */

@media (max-width: 1024px) {
    .hd-layout {
        flex-direction: column;
    }

    .hd-sidebar {
        flex: none;
        width: 100%;
    }

    .hd-sidebar-sticky {
        position: relative;
        top: auto;
        max-height: none;
        overflow-y: visible;
    }

    .hd-gallery-grid.gallery-count-4,
    .hd-gallery-grid.gallery-count-5 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hd-gallery-grid.gallery-count-4 .hd-gallery-main,
    .hd-gallery-grid.gallery-count-5 .hd-gallery-main {
        grid-row: auto;
    }

    .hd-title {
        font-size: 22px;
    }

    .hd-rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hd-gallery-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        max-height: none;
    }

    .hd-gallery-cell {
        min-height: 200px;
    }

    .hd-gallery-grid .hd-gallery-cell:not(.hd-gallery-main) {
        display: none;
    }

    .hd-gallery-grid .hd-gallery-main {
        grid-row: auto !important;
    }

    .hd-title-bar .hd-container {
        flex-direction: column;
        gap: 12px;
    }

    .hd-title-right {
        text-align: left;
    }

    .hd-price-from {
        flex-direction: row;
        align-items: baseline;
        gap: 6px;
    }

    .hd-title {
        font-size: 20px;
    }

    .hd-room-search {
        grid-template-columns: 1fr 1fr;
        border-radius: 8px;
    }

    .hd-room-search-field {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .hd-room-search-field:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }

    .hd-room-search-field:nth-child(n+3) {
        border-bottom: none;
    }

    .hd-search-action-field {
        padding: 12px 16px;
    }

    .hd-guests-popup {
        left: auto;
        right: 0;
    }

    .hd-rooms-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hd-room-card-image {
        aspect-ratio: 16 / 9;
    }

    .hd-room-carousel-nav {
        opacity: 1;
    }

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

    .hd-policy-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hd-pol-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hd-pol-card {
        padding: 16px;
    }

    .hd-pol-times {
        flex-direction: column;
        gap: 10px;
    }

    .hd-faq-list {
        grid-template-columns: 1fr;
    }

    .hd-surr-tabs {
        gap: 4px;
    }
    .hd-surr-tab {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .hd-surr-grid {
        grid-template-columns: 1fr;
    }

    .hd-review-summary {
        flex-direction: column;
    }

    .hd-review-score-box {
        flex: none;
    }

    .hd-related-grid {
        grid-template-columns: 1fr;
    }

    .hd-map-container {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .hd-container {
        padding: 0 14px;
    }

    .hd-gallery-hero {
        padding: 0;
    }

    .hd-gallery-grid {
        border-radius: 0;
    }

    .hd-gallery-cell {
        min-height: 180px;
    }

    .hd-title {
        font-size: 18px;
    }

    .hd-price-value {
        font-size: 22px;
    }

    .hd-section-heading {
        font-size: 16px;
    }

    .hd-booking-price-current {
        font-size: 24px;
    }

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

    .hd-room-search-field {
        border-right: none !important;
        border-bottom: 1px solid #e5e7eb;
    }

    .hd-room-search-field:last-child {
        border-bottom: none;
    }

    .hd-guests-popup {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        min-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
    }

    .hd-guests-popup-body {
        max-height: 50vh;
    }

    .hd-room-card-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hd-room-select-inline {
        margin-left: 0;
        width: 100%;
    }

    .hd-rcard-image {
        height: 170px;
    }

    .hd-rcard-specs {
        grid-template-columns: 1fr;
    }

    .hd-rcard-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hd-rcard-book-btn {
        width: 100%;
        text-align: center;
    }

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

    .hd-lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ========================================================================
   PRINT STYLES
   ======================================================================== */

@media print {
    .hd-nav-tabs,
    .hd-sidebar,
    .hd-lightbox,
    .hd-btn-all-photos {
        display: none !important;
    }

    .hd-layout {
        display: block;
    }

    .hd-gallery-grid {
        max-height: 300px;
    }
}

/* ============================================================
   Room Availability Mini-Calendar (per room card)
   ============================================================ */
.hd-room-avail-toggle {
    padding: 6px 16px 12px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}
.hd-room-avail-toggle a {
    font-size: 13px;
    font-weight: 600;
    color: #038a52;
    text-decoration: none;
}
.hd-room-avail-toggle a:hover {
    color: #f47c04;
}
.hd-room-avail-toggle a i {
    margin-right: 4px;
}

.hd-room-avail-cal {
    border-top: 1px solid #e2e8f0;
    padding: 12px 14px;
    background: #fafbfc;
}

.hd-avail-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.hd-avail-cal-month {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.hd-avail-cal-nav {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #000;
    transition: all .15s;
}
.hd-avail-cal-nav:hover {
    background: #038a52;
    color: #fff;
    border-color: #038a52;
}

.hd-avail-cal-loading {
    text-align: center;
    padding: 20px 0;
}
.hd-spinner-sm {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #038a52;
    border-radius: 50%;
    animation: hd-spin .6s linear infinite;
    margin: 0 auto;
}
@keyframes hd-spin { to { transform: rotate(360deg); } }

.hd-avail-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.hd-avail-wd {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    color: #000;
    padding: 4px 0;
    text-transform: uppercase;
}

.hd-avail-day {
    text-align: center;
    padding: 4px 2px;
    border-radius: 6px;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: background .15s;
}

.hd-avail-day-num {
    font-size: 12px;
    font-weight: 600;
    color: #000;
    line-height: 1;
}
.hd-avail-day-price {
    font-size: 9px;
    font-weight: 600;
    color: #333;
    margin-top: 1px;
    line-height: 1;
}

.hd-avail-other {
    opacity: 0.3;
}
.hd-avail-other .hd-avail-day-num {
    color: #999;
}

.hd-avail-green {
    background: #dcfce7;
}
.hd-avail-green .hd-avail-day-num { color: #166534; }

.hd-avail-amber {
    background: #fef3c7;
}
.hd-avail-amber .hd-avail-day-num { color: #92400e; }

.hd-avail-red {
    background: #fee2e2;
}
.hd-avail-red .hd-avail-day-num { color: #991b1b; }
.hd-avail-red .hd-avail-day-price { color: #991b1b; }

.hd-avail-today .hd-avail-day-num {
    background: #038a52;
    color: #fff;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hd-avail-cal-legend {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: center;
}
.hd-avail-leg {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #000;
}
.hd-avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.hd-avail-dot-green { background: #22c55e; }
.hd-avail-dot-amber { background: #f59e0b; }
.hd-avail-dot-red { background: #ef4444; }

/* ========================================================================
   HOTEL DETAIL RESPONSIVE FIXES — Overflow, Touch Targets, Spacing
   ======================================================================== */

/* Prevent content overflow */
.hd-main { min-width: 0; overflow-x: hidden; }
.hd-layout { min-width: 0; overflow-x: hidden; }
.hd-container { min-width: 0; overflow-x: hidden; }

/* Booking price overflow on small screens */
@media (max-width: 480px) {
    .hd-booking-price-current {
        font-size: 20px;
        word-break: break-all;
    }
}

/* Room book button: full width between 481-767px */
@media (min-width: 481px) and (max-width: 767px) {
    .hd-rcard-book-btn {
        width: 100%;
        text-align: center;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .hd-rcard-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Nav tabs horizontal scroll on mobile */
@media (max-width: 767px) {
    .hd-nav-tabs .hd-nav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hd-nav-tabs .hd-nav-inner::-webkit-scrollbar { display: none; }
    .hd-nav-tabs .hd-nav-link {
        white-space: nowrap;
        flex-shrink: 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Room search form inner spacing on mobile */
@media (max-width: 768px) {
    .hd-room-search-field {
        padding: 12px 14px;
    }
    .hd-room-search-label {
        font-size: 10px;
    }
    .hd-room-search-value {
        font-size: 13px;
    }
}

/* Gallery hero: prevent overflow */
.hd-gallery-hero { overflow: hidden; }
.hd-gallery-grid { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE STICKY BOOK BAR
   ══════════════════════════════════════════════════════════════════════════ */
.hd-mobile-book-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 300;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    padding: 12px 16px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hd-mobile-book-bar__from {
    font-size: 11px; color: #717171; text-transform: uppercase; letter-spacing: .5px;
    margin-right: 4px;
}
.hd-mobile-book-bar__amount {
    font-size: 22px; font-weight: 800; color: #1e293b;
}
.hd-mobile-book-bar__per {
    font-size: 13px; color: #717171; font-weight: 400;
}
.hd-mobile-book-bar__btn {
    background: #038a52; color: #fff !important; border: none;
    border-radius: 8px; padding: 12px 24px; font-size: 14px; font-weight: 600;
    text-decoration: none; white-space: nowrap; transition: all .2s;
    display: inline-flex; align-items: center; justify-content: center;
}
.hd-mobile-book-bar__btn:hover { background: #f47c04; text-decoration: none; }
@media (max-width: 1024px) {
    .hd-mobile-book-bar { display: flex; }
    /* Pad bottom so content isn't hidden behind the bar */
    .hd-page { padding-bottom: 80px; }
}
@media (max-width: 480px) {
    .hd-mobile-book-bar { padding: 10px 12px; }
    .hd-mobile-book-bar__amount { font-size: 18px; }
    .hd-mobile-book-bar__btn { padding: 10px 18px; font-size: 13px; }
}
