.hpd-shell {
    --hpd-ink: #172033;
    --hpd-navy: #1d2a44;
    --hpd-gold: #b99255;
    --hpd-gold-soft: #f5ecdc;
    --hpd-cream: #fbfaf7;
    --hpd-muted: #738096;
    --hpd-line: rgba(23, 32, 51, .1);
    --hpd-shadow: 0 18px 52px rgba(30, 42, 68, .08);
    --hpd-header-offset: 88px;

    background: var(--hpd-cream);
    color: var(--hpd-ink);
    scroll-padding-top: calc(var(--hpd-header-offset) + 110px);
}

.hpd-topbar {
    position: sticky;
    top: var(--hpd-header-offset);
    z-index: 25;
    background: rgba(251, 250, 247, .94);
    border-bottom: 1px solid var(--hpd-line);
    box-shadow: 0 5px 24px rgba(29, 42, 68, .04);
    backdrop-filter: blur(16px);
}

#hotel-search {
    scroll-margin-top: calc(var(--hpd-header-offset) + 16px);
}

.hpd-input {
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(29, 42, 68, .14);
    background: #fff;
}

.hpd-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 1px solid #5551a3;
    border-radius: 12px;
    background: #5551a3;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hpd-search-btn:hover,
.hpd-search-btn:focus {
    border-color: #45418f;
    background: #45418f;
    color: #fff;
    box-shadow: 0 10px 24px rgba(85, 81, 163, .22);
}

.hpd-search-btn span {
    line-height: 1;
}

.hpd-date-field {
    position: relative;
    display: block;
}

.hpd-date-field .flatpickr-wrapper {
    display: block;
    width: 100%;
}

.hpd-date-field .hpd-date-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    left: auto;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--hpd-muted);
    pointer-events: none;
    transform: translateY(-50%);
}

.hpd-date-range-input {
    cursor: pointer;
    padding-right: 44px;
}

.hpd-gallery {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 10px;
    min-height: 390px;
}

.hpd-gallery-main,
.hpd-gallery-tile {
    position: relative;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #dbeafe;
    cursor: zoom-in;
}

.hpd-gallery-main {
    border-radius: 20px 0 0 20px;
}

.hpd-gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.hpd-gallery-main:after,
.hpd-gallery-tile:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(17, 27, 46, .28));
    pointer-events: none;
}

.hpd-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.hpd-gallery-main:hover img,
.hpd-gallery-tile:hover img {
    transform: scale(1.04);
}

.hpd-gallery-more {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: rgba(15, 23, 42, .52);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
}

.hpd-gallery-more i {
    font-size: 24px;
}

.hpd-panel,
.hpd-room,
.hpd-calendar,
.hpd-discover,
.hpd-side-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--hpd-shadow);
}

.hpd-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--hpd-gold-soft);
    color: #80602e;
    font-size: 12px;
    font-weight: 800;
}

.hpd-chip.is-soft {
    background: #f1f5f9;
    color: #334155;
}

.hpd-summary-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
}

.hpd-fact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.hpd-fact {
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 13px;
    padding: 14px;
    background: #fdfdfc;
}

.hpd-fact i {
    color: var(--hpd-gold);
    margin-bottom: 8px;
}

.hpd-fact strong {
    display: block;
    color: var(--hpd-navy);
    font-size: 14px;
    font-weight: 900;
}

.hpd-fact span {
    color: #64748b;
    font-size: 12px;
}

.hpd-side-card {
    padding: 18px;
    position: sticky;
    top: 94px;
    border-top: 4px solid var(--hpd-gold);
}

.hpd-price {
    color: var(--hpd-navy);
    font-size: 1.5rem;
    font-weight: 900;
}

.hpd-room-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
}

.hpd-room-media {
    min-width: 0;
}

.hpd-room-cover {
    width: 100%;
    height: 230px;
    border-radius: 14px;
    object-fit: cover;
    background: #e2e8f0;
}

.hpd-room-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: start;
}

.hpd-room-main {
    min-width: 0;
}

.hpd-room-plan {
    display: grid;
    gap: 2px;
    margin-bottom: 10px;
}

.hpd-room-plan span {
    color: var(--hpd-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hpd-room-plan strong {
    color: var(--hpd-navy);
    font-size: 18px;
    font-weight: 900;
}

.hpd-room-main p {
    max-width: 760px;
    margin: 0 0 14px;
    color: #5f6d82;
    font-size: 14px;
    line-height: 1.65;
}

.hpd-room-facts,
.hpd-room-amenity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hpd-room-facts {
    margin-bottom: 12px;
}

.hpd-room-facts span,
.hpd-room-amenity-grid span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #21314b;
    font-size: 12px;
    font-weight: 850;
}

.hpd-room-facts i,
.hpd-room-amenity-grid i {
    width: 15px;
    color: #4f6b91;
    text-align: center;
}

.hpd-room-amenity-grid {
    margin-bottom: 12px;
}

.hpd-room-amenity-grid span {
    border: 1px solid rgba(185, 146, 85, .22);
    background: #fffaf2;
    color: #5b4526;
}

.hpd-room-amenity-grid i {
    color: var(--hpd-gold);
}

.hpd-room-detail-link {
    color: #5551a3;
    font-weight: 850;
    text-decoration: none;
}

.hpd-room-booking-panel {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    background: #fbfdff;
}

.hpd-room-status {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #f1f5f9;
}

.hpd-room-status strong {
    color: var(--hpd-navy);
    font-size: 14px;
    font-weight: 900;
}

.hpd-room-status span,
.hpd-room-price-box small,
.hpd-room-price-box span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
}

.hpd-room-status.is-ready {
    background: #ecfdf5;
}

.hpd-room-status.is-ready strong {
    color: #047857;
}

.hpd-room-status.is-full {
    background: #fff1f2;
}

.hpd-room-status.is-full strong {
    color: #be123c;
}

.hpd-room-price-box {
    display: grid;
    gap: 2px;
}

.hpd-room-price-box .hpd-price {
    font-size: 1.35rem;
}

.hpd-room-unit-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--hpd-line);
}

.hpd-room-unit-strip div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 40px;
    padding: 9px 11px;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 11px;
    background: #f8fafc;
}

.hpd-room-unit-strip span {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.hpd-room-unit-strip strong {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.hpd-room-unit-strip .is-ready {
    border-color: rgba(16, 185, 129, .22);
    background: #f0fdf4;
}

.hpd-room-unit-strip .is-ready strong {
    color: #047857;
}

.hpd-room-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 12px;
}

.hpd-room-modal .modal-body {
    padding: 0;
}

.hpd-room-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(320px, .9fr);
    min-height: 620px;
}

.hpd-room-modal-gallery {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #25303a;
}

.hpd-room-carousel {
    flex: 1 1 auto;
    min-height: 470px;
}

.hpd-room-carousel .carousel-inner,
.hpd-room-carousel .carousel-item {
    height: 100%;
}

.hpd-room-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hpd-room-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 14px 16px;
}

.hpd-room-thumbs button {
    flex: 0 0 120px;
    height: 74px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    opacity: .5;
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, transform .18s ease;
}

.hpd-room-thumbs button.active {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, .22);
    opacity: 1;
    transform: translateY(-1px);
}

.hpd-room-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hpd-room-modal-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-height: 620px;
    overflow-y: auto;
    padding: 22px;
    background: #fff;
}

.hpd-room-modal-info section {
    border-bottom: 1px solid var(--hpd-line);
    padding-bottom: 18px;
}

.hpd-room-modal-info section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.hpd-room-modal-info h6 {
    margin-bottom: 12px;
    color: var(--hpd-navy);
    font-weight: 900;
}

.hpd-room-info-list,
.hpd-room-feature-grid {
    display: grid;
    gap: 10px;
}

.hpd-room-info-list span,
.hpd-room-feature-grid span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172033;
}

.hpd-room-info-list i,
.hpd-room-feature-grid i {
    width: 18px;
    color: #64748b;
    text-align: center;
}

.hpd-room-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hpd-room-unit-list {
    display: grid;
    gap: 8px;
}

.hpd-room-unit-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--hpd-line);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f8fafc;
}

.hpd-room-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #fff;
}

.hpd-room-modal-footer span,
.hpd-room-modal-footer small {
    color: var(--hpd-muted);
}

.hpd-room-modal-footer strong {
    display: inline-block;
    margin: 0 4px;
    color: #f05a28;
    font-size: 22px;
    font-weight: 900;
}

.hpd-option {
    display: grid;
    grid-template-columns: 1fr 120px 170px;
    gap: 16px;
    align-items: center;
    min-height: 86px;
    border-top: 1px solid var(--hpd-line);
}

.hpd-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.hpd-calendar-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.hpd-calendar-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 10px;
}

.hpd-calendar-metrics div {
    border: 1px solid var(--hpd-line);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fdfdfc;
}

.hpd-calendar-metrics strong {
    display: block;
    color: var(--hpd-navy);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.hpd-calendar-metrics span {
    color: var(--hpd-muted);
    font-size: 12px;
    font-weight: 800;
}

.hpd-calendar-strip {
    display: grid;
    grid-template-columns: repeat(14, minmax(76px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.hpd-mini-day {
    min-width: 76px;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 14px;
    padding: 10px;
    background: #f8fafc;
    text-align: center;
}

.hpd-mini-day strong,
.hpd-mini-day span,
.hpd-mini-day small {
    display: block;
}

.hpd-mini-day strong {
    color: var(--hpd-navy);
    font-size: 18px;
    line-height: 1;
}

.hpd-mini-day span {
    color: var(--hpd-muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.hpd-mini-day small {
    margin-top: 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.hpd-mini-day.is-ready {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, .24);
}

.hpd-mini-day.is-full {
    background: #fff1f2;
    border-color: rgba(244, 63, 94, .2);
}

.hpd-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    margin-right: 5px;
}

.hpd-dot.is-ready {
    background: #10b981;
}

.hpd-dot.is-full {
    background: #f43f5e;
}

.hpd-location-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 22px;
    align-items: stretch;
}

.hpd-location-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hpd-location-facts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--hpd-line);
    border-radius: 999px;
    padding: 8px 12px;
    background: #f8fafc;
    color: var(--hpd-muted);
    font-size: 12px;
    font-weight: 800;
}

.hpd-location-facts i {
    color: var(--hpd-gold);
}

.hpd-location-map {
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--hpd-line);
    border-radius: 16px;
    background: #e2e8f0;
}

.hpd-location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.hpd-day {
    min-height: 72px;
    border-radius: 12px;
    padding: 9px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .06);
}

.hpd-day.is-ready {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, .24);
}

.hpd-day.is-full {
    background: #fff1f2;
    border-color: rgba(244, 63, 94, .20);
}

.hpd-map {
    min-height: 190px;
    border-radius: 18px;
    background:
        linear-gradient(rgba(255,255,255,.42), rgba(255,255,255,.42)),
        repeating-linear-gradient(30deg, #e2e8f0 0 2px, transparent 2px 42px),
        repeating-linear-gradient(120deg, #dbeafe 0 2px, transparent 2px 46px);
}

.hpd-video {
    overflow: hidden;
    border-radius: 14px;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.hpd-video iframe,
.hpd-video video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.hpd-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hpd-video-card {
    border: 1px solid var(--hpd-line);
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.hpd-video-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--hpd-muted);
    font-size: 12px;
    font-weight: 800;
}

.hpd-video-head i {
    color: #dc2626;
}

.hpd-policy-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hpd-gallery-modal .modal-content {
    background: #080b12;
    color: #fff;
}

.hpd-gallery-modal .modal-header,
.hpd-gallery-modal .modal-footer {
    border-color: rgba(255, 255, 255, .1);
}

.hpd-gallery-modal .modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 18px 78px;
}

#hpd-gallery-zoom-image {
    max-width: 100%;
    max-height: calc(100vh - 190px);
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
}

.hpd-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-50%);
}

.hpd-gallery-nav:hover,
.hpd-gallery-nav:focus {
    background: rgba(255, 255, 255, .22);
}

.hpd-gallery-nav.is-prev {
    left: 20px;
}

.hpd-gallery-nav.is-next {
    right: 20px;
}

.hpd-gallery-thumbs {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}

.hpd-gallery-thumbs button {
    flex: 0 0 88px;
    height: 64px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    opacity: .58;
}

.hpd-gallery-thumbs button.is-active {
    border-color: #b99255;
    opacity: 1;
}

.hpd-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hpd-range-calendar {
    z-index: 1035;
    width: 680px;
    max-width: calc(100vw - 28px);
    border: 1px solid rgba(23, 32, 51, .1);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(30, 42, 68, .16);
    padding: 18px 20px;
    overflow: visible;
    box-sizing: border-box;
}

.hpd-range-calendar.arrowTop:before,
.hpd-range-calendar.arrowTop:after {
    display: none;
}

.hpd-range-calendar .flatpickr-months {
    width: 640px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

.hpd-range-calendar .flatpickr-month {
    width: 320px;
    height: 38px;
    flex: 0 0 320px;
}

.hpd-range-calendar .flatpickr-month + .flatpickr-month {
    position: relative;
}

.hpd-range-calendar .flatpickr-month + .flatpickr-month:before {
    content: "";
    position: absolute;
    top: 9px;
    bottom: 5px;
    left: 0;
    width: 1px;
    background: #e2e8f0;
}

.hpd-range-calendar .flatpickr-current-month {
    font-size: 15px;
    font-weight: 900;
    padding-top: 5px;
}

.hpd-range-calendar .flatpickr-prev-month,
.hpd-range-calendar .flatpickr-next-month {
    top: 15px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #64748b;
}

.hpd-range-calendar .flatpickr-prev-month:hover,
.hpd-range-calendar .flatpickr-next-month:hover {
    background: #f8fafc;
    color: #1d2a44;
}

.hpd-range-calendar .flatpickr-prev-month {
    left: 14px;
}

.hpd-range-calendar .flatpickr-next-month {
    right: 14px;
}

.hpd-range-calendar .flatpickr-innerContainer,
.hpd-range-calendar .flatpickr-rContainer {
    width: 640px;
    max-width: 100%;
    box-sizing: border-box;
}

.hpd-range-calendar .flatpickr-rContainer {
    display: block;
}

.hpd-range-calendar .flatpickr-weekdays,
.hpd-range-calendar .flatpickr-days {
    width: 640px !important;
    max-width: 100%;
    box-sizing: border-box;
}

.hpd-range-calendar .flatpickr-weekdaycontainer,
.hpd-range-calendar .dayContainer {
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 320px;
    box-sizing: border-box;
}

.hpd-range-calendar .flatpickr-days {
    display: flex;
    gap: 0;
    overflow: visible;
}

.hpd-range-calendar .flatpickr-weekday {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.hpd-range-calendar .flatpickr-day {
    width: 40px;
    max-width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 999px;
    color: #1d2a44;
    font-weight: 700;
}

.hpd-range-calendar .flatpickr-day:hover,
.hpd-range-calendar .flatpickr-day:focus {
    background: #f8f1e8;
    border-color: #f8f1e8;
}

.hpd-range-calendar .flatpickr-day.today:not(.selected):not(.startRange):not(.endRange) {
    border-color: #64748b;
}

.hpd-range-calendar .flatpickr-day.inRange {
    background: #f5ecdc;
    border-color: #f5ecdc;
    border-radius: 0;
    box-shadow: -5px 0 0 #f5ecdc, 5px 0 0 #f5ecdc;
}

.hpd-range-calendar .flatpickr-day.selected,
.hpd-range-calendar .flatpickr-day.startRange,
.hpd-range-calendar .flatpickr-day.endRange,
.hpd-range-calendar .flatpickr-day.selected:hover,
.hpd-range-calendar .flatpickr-day.startRange:hover,
.hpd-range-calendar .flatpickr-day.endRange:hover {
    background: #1d2a44;
    border-color: #1d2a44;
    color: #fff;
}

.hpd-range-calendar .flatpickr-day.startRange,
.hpd-range-calendar .flatpickr-day.endRange {
    border-radius: 999px;
}

.hpd-range-calendar .dayContainer + .dayContainer {
    position: relative;
    box-shadow: none;
}

.hpd-range-calendar .dayContainer + .dayContainer:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 10px;
    left: 0;
    width: 1px;
    background: #e2e8f0;
}

.hpd-range-calendar .flatpickr-weekdays .flatpickr-weekdaycontainer + .flatpickr-weekdaycontainer {
    position: relative;
}

.hpd-range-calendar .flatpickr-weekdays .flatpickr-weekdaycontainer + .flatpickr-weekdaycontainer:before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 1px;
    background: #e2e8f0;
}

.hpb-shell {
    --hpb-serif: Georgia, "Times New Roman", serif;
    --hpb-sans: Inter, var(--bs-body-font-family), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    min-height: 100vh;
    color: #233047;
    font-family: var(--hpb-sans);
    font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hpb-shell .container {
    max-width: 1240px;
}

.hpb-shell label,
.hpb-shell .form-label {
    margin-bottom: 7px;
    color: #26344d;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
}

.hpb-shell .hpd-input {
    color: #1f2a3f;
    font-size: 15px;
    font-weight: 520;
    letter-spacing: 0;
}

.hpb-shell .hpd-input::placeholder {
    color: #a0a8b8;
    font-weight: 450;
}

.hpb-header {
    padding: 30px 0 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .92)),
        radial-gradient(circle at 12% 0, rgba(185, 146, 85, .16), transparent 34%);
    border-bottom: 1px solid var(--hpd-line);
}

.hpb-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f4b9b;
    font-size: 13px;
    font-weight: 740;
    text-decoration: none;
}

.hpb-brand-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
}

.hpb-brand-row h1 {
    margin: 0;
    color: var(--hpd-navy);
    font-family: var(--hpb-serif);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
}

.hpb-brand-row p {
    margin: 9px 0 0;
    color: var(--hpd-muted);
    font-size: 14px;
    font-weight: 560;
}

.hpb-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--hpd-muted);
    font-size: 13px;
    font-weight: 760;
    white-space: nowrap;
}

.hpb-step span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.hpb-step span:before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 8px;
    border-radius: 999px;
    background: currentColor;
}

.hpb-step .is-active {
    color: #4f4b9b;
}

.hpb-step i {
    width: 34px;
    height: 1px;
    background: #cbd5e1;
}

.hpb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.hpb-main {
    display: grid;
    gap: 18px;
}

.hpb-card,
.hpb-summary-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(29, 42, 68, .07);
}

.hpb-card {
    padding: 22px;
}

.hpb-section-title {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.hpb-section-title > i {
    margin-top: 3px;
    color: var(--hpd-navy);
    font-size: 22px;
}

.hpb-section-title h2 {
    margin: 0;
    color: var(--hpd-navy);
    font-family: var(--hpb-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
}

.hpb-section-title p {
    margin: 6px 0 0;
    color: #6d778a;
    font-size: 13px;
    font-weight: 480;
    line-height: 1.6;
}

.hpb-form-panel {
    padding: 18px;
    border: 1px solid rgba(79, 75, 155, .08);
    border-radius: 16px;
    background: #f7fbff;
}

.hpb-same-guest {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(79, 75, 155, .14);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.hpb-same-guest input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #5551a3;
}

.hpb-same-guest strong,
.hpb-same-guest small {
    display: block;
}

.hpb-same-guest strong {
    color: var(--hpd-navy);
    font-size: 14px;
    font-weight: 820;
}

.hpb-same-guest small {
    margin-top: 2px;
    color: #718096;
    font-size: 12px;
    line-height: 1.45;
}

.hpb-request-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hpb-request-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    margin: 0;
    color: #1f2a3f;
    font-size: 14px;
    font-weight: 660;
}

.hpb-request-grid input {
    width: 22px;
    height: 22px;
    accent-color: #0f8bdc;
}

.hpb-policy-note {
    padding: 16px;
    border-radius: 12px;
    background: #f1f7ff;
    color: #31567f;
    font-size: 13px;
    line-height: 1.65;
}

.hpb-policy-note p {
    margin: 6px 0 0;
}

.hpb-policy-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.hpb-policy-list div {
    display: grid;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--hpd-line);
}

.hpb-policy-list strong {
    color: var(--hpd-navy);
    font-size: 14px;
    font-weight: 760;
}

.hpb-policy-list span {
    color: var(--hpd-muted);
    font-size: 13px;
    line-height: 1.6;
}

.hpb-summary {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px;
}

.hpb-summary-card {
    overflow: hidden;
}

.hpb-summary-card > img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.hpb-summary-content,
.hpb-price-card {
    padding: 18px;
}

.hpb-summary-content h2,
.hpb-price-card h2 {
    margin: 10px 0 4px;
    color: var(--hpd-navy);
    font-family: var(--hpb-serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.14;
}

.hpb-date-box {
    display: grid;
    grid-template-columns: 1fr 30px 1fr;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .04);
    border-radius: 13px;
    background: #f0f7ff;
}

.hpb-date-box small,
.hpb-date-box span {
    display: block;
    color: var(--hpd-muted);
    font-size: 11px;
    font-weight: 560;
    line-height: 1.45;
}

.hpb-date-box strong {
    display: block;
    color: var(--hpd-navy);
    font-size: 15px;
    font-weight: 780;
    line-height: 1.2;
}

.hpb-date-box i {
    color: var(--hpd-navy);
    text-align: center;
}

.hpb-room-meta {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    color: #506078;
    font-size: 14px;
    font-weight: 700;
}

.hpb-room-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hpb-room-meta i {
    width: 18px;
    color: #5f789b;
}

.hpb-price-row,
.hpb-total-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    color: #506078;
    font-size: 14px;
    line-height: 1.35;
}

.hpb-price-row small,
.hpb-total-row small {
    color: #6d778a;
    font-size: 11px;
    font-weight: 560;
}

.hpb-price-row strong,
.hpb-total-row strong {
    color: var(--hpd-navy);
    font-variant-numeric: tabular-nums;
    font-weight: 780;
    white-space: nowrap;
}

.hpb-total-row {
    margin: 8px -18px -2px;
    padding: 16px 18px;
    background: #fffbe7;
    color: var(--hpd-navy);
    font-weight: 780;
}

.hpb-total-row strong {
    color: #f05a28;
    font-size: 22px;
    letter-spacing: 0;
}

.hpb-price-card .hpd-search-btn {
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 760;
    letter-spacing: 0;
}

.hpb-payment-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 13px;
    border-radius: 12px;
    background: #eef7ff;
    color: #31567f;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.45;
}

.hpb-payment-note i {
    color: #5551a3;
}

.hpb-summary-card .hpd-chip {
    min-height: 25px;
    padding: 0 9px;
    color: #7b5d2f;
    font-size: 11px;
    font-weight: 760;
}

.hpb-summary-content .text-danger {
    color: #d45245 !important;
    font-size: 13px;
    font-weight: 620;
}

@media (max-width: 991px) {
    .hpd-shell {
        --hpd-header-offset: 76px;
    }

    .hpd-gallery,
    .hpd-room-layout,
    .hpd-room-content,
    .hpd-summary-grid,
    .hpd-option {
        display: block;
    }

    .hpd-gallery {
        min-height: 0;
    }

    .hpd-gallery-main,
    .hpd-gallery-tile {
        height: 240px;
        border-radius: 16px;
        margin-bottom: 8px;
    }

    .hpd-gallery-modal .modal-body {
        padding: 14px;
    }

    .hpd-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .hpd-gallery-nav.is-prev {
        left: 12px;
    }

    .hpd-gallery-nav.is-next {
        right: 12px;
    }

        #hpd-gallery-zoom-image {
            max-height: calc(100vh - 180px);
        }

        .hpd-room-modal-layout {
            grid-template-columns: 1fr;
            min-height: 0;
        }

        .hpd-room-carousel {
            min-height: 320px;
        }

        .hpd-room-modal-info {
            max-height: none;
        }

        .hpd-room-feature-grid {
            grid-template-columns: 1fr;
        }

        .hpd-room-booking-panel {
            margin-top: 16px;
        }

        .hpd-room-unit-strip {
            grid-template-columns: 1fr;
            margin-top: 16px;
        }

        .hpd-room-modal-footer {
            align-items: stretch;
            flex-direction: column;
        }

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

    .hpd-calendar-summary {
        grid-template-columns: 1fr;
    }

    .hpd-calendar-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hpd-location-layout {
        grid-template-columns: 1fr;
    }

    .hpd-location-map,
    .hpd-location-map iframe {
        min-height: 260px;
    }

    .hpd-fact-grid,
    .hpd-policy-grid,
    .hpd-video-grid {
        grid-template-columns: 1fr;
    }

    .hpb-brand-row,
    .hpb-layout {
        display: block;
    }

    .hpb-step {
        margin-top: 18px;
    }

    .hpb-summary {
        position: static;
        margin-top: 18px;
    }

    .hpb-request-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 860px) {
    .hpd-range-calendar {
        width: calc(100vw - 28px);
        max-width: 360px;
        padding: 10px;
    }

    .hpd-range-calendar .flatpickr-months,
    .hpd-range-calendar .flatpickr-innerContainer,
    .hpd-range-calendar .flatpickr-rContainer,
    .hpd-range-calendar .flatpickr-weekdays,
    .hpd-range-calendar .flatpickr-days {
        width: 320px !important;
        max-width: 100%;
    }

    .hpd-range-calendar .flatpickr-month,
    .hpd-range-calendar .flatpickr-weekdaycontainer,
    .hpd-range-calendar .dayContainer {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        flex-basis: 320px;
    }

    .hpd-range-calendar .flatpickr-month + .flatpickr-month:before,
    .hpd-range-calendar .dayContainer + .dayContainer:before,
    .hpd-range-calendar .flatpickr-weekdays .flatpickr-weekdaycontainer + .flatpickr-weekdaycontainer:before {
        display: none;
    }
}
