/* Local resets for the approved HTML prototype. The shared site shell is untouched. */
#hotel-profile-page .maplibregl-ctrl-attrib-button { min-height: 0; }
#hotel-profile-page .hotel-map-title { font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.htlpro-ui .hotel-detail{max-width:none;margin:0;padding:0;background:var(--htlpro-canvas);color:var(--htlpro-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:14px;line-height:1.5}
.hotel-detail,.hotel-detail *,.hotel-detail *::before,.hotel-detail *::after{box-sizing:border-box}
.hotel-detail h1,.hotel-detail h2,.hotel-detail h3,.hotel-detail h4,.hotel-detail h5,.hotel-detail p,.hotel-detail dl,.hotel-detail ul{margin:0;font-family:inherit}
/* Keep the address, actions and stats aligned for one- and two-line names. */
@media (min-width: 768px) {
    #hotel-profile-page h1 {
        min-block-size: 2lh;
        align-content: center;
    }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    #hotel-profile-page .hp-header-actions {
        max-width: 44%;
        justify-content: flex-end;
    }
}
.hotel-detail a{text-decoration:none}
.hotel-detail button{font:inherit;cursor:pointer}
.hotel-detail img{display:block;max-width:100%}
.hotel-detail [class~="border"]{border-style:solid}
.hotel-detail [class~="border-t"]{border-top-style:solid}
.hotel-detail [class~="border-b"]{border-bottom-style:solid}
.hotel-detail [class~="border-l"]{border-left-style:solid}
.hotel-detail [class~="border-r"]{border-right-style:solid}
.hotel-detail .border-dashed{border-style:dashed}
.hotel-detail .bg-primary{background-color:var(--htlpro-accent)!important}
.hotel-detail .text-primary{color:var(--htlpro-accent)!important}
.hotel-detail .text-secondary{color:var(--htlpro-muted)!important}
.hotel-detail .hp-group{padding:0;border:0;border-radius:0;background:transparent}
.hotel-detail .hp-variant{margin:0;background:#fff}
.hotel-detail .hp-variant summary{list-style:none}
.hotel-detail .hp-variant summary::-webkit-details-marker{display:none}
.hotel-detail .hp-variant[open] summary>span:last-child .hp-icon{transform:rotate(180deg)}
.hotel-detail .hp-pagination{margin:0}
.hotel-detail .hp-pagination a{min-width:28px;min-height:28px}
.hotel-detail .review-form-section{border:1px solid var(--htlpro-line);border-radius:12px;background:var(--htlpro-surface-accent);padding:18px}
.hotel-detail .review-form-title{display:flex;align-items:center;gap:8px;color:var(--htlpro-accent);font-size:13px;font-weight:700;cursor:pointer;list-style:none}
.hotel-detail .review-form-title::-webkit-details-marker{display:none}
.hotel-detail .review-form{display:flex;flex-direction:column;gap:16px;margin-top:18px}
.hotel-detail .review-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hotel-detail .review-form .form-group{display:flex;flex-direction:column;gap:6px;min-width:0}
.hotel-detail .review-form .form-label{font-size:12px;font-weight:600;color:var(--htlpro-ink-variant)}
.hotel-detail .review-form .required{color:#ba1a1a}
.hotel-detail .review-form .form-input,.hotel-detail .review-form .form-textarea,.hotel-detail .review-form select{width:100%;border:1px solid var(--htlpro-line);border-radius:8px;background:#fff;padding:10px 12px;color:var(--htlpro-ink);font-size:13px}
.hotel-detail .review-form .form-textarea{min-height:96px;resize:vertical}
.hotel-detail .review-form .star-rating-input{display:flex;gap:4px}
.hotel-detail .review-form .star-rating-input input{display:none}
.hotel-detail .review-form .star-rating-input label{font-size:30px;color:#c2c8d2;cursor:pointer}
.hotel-detail .review-form .star-rating-input label:hover,.hotel-detail .review-form .star-rating-input label.active{color:#e49a14}
.hotel-detail .review-form .form-photos{display:block;border:2px dashed #c2c8d2;border-radius:8px;padding:20px;text-align:center;cursor:pointer}
.hotel-detail .review-form .form-photos span{display:block;font-size:12px;color:var(--htlpro-ink-variant)}
.hotel-detail .review-form .form-photos input{display:none}
.hotel-detail .review-form .form-submit{align-self:flex-start;border:0;border-radius:8px;background:var(--htlpro-accent);color:#fff;padding:10px 16px;font-size:12px;font-weight:700}
.hotel-detail .review-form .date-range-wrapper{position:relative}
.hotel-detail .review-form .date-range-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
.hotel-detail .review-form .auth-consent-label{display:flex;gap:8px;align-items:flex-start;font-size:12px}
.hotel-detail .review-form .auth-consent-label input{flex:none;margin-top:3px}
.hotel-detail #sec-gallery [data-fancybox="gallery"]:focus-visible,.hotel-detail #hotel-accommodation a:focus-visible,.hotel-detail #hotel-accommodation summary:focus-visible,.hotel-detail button:focus-visible{outline:3px solid var(--htlpro-accent);outline-offset:3px}
.hotel-detail :is(#sec-gallery, #hotel-accommodation, #sec-infrastructure) [data-fancybox]:focus-visible:not(.hp-pointer-return) {
    position:relative;
    outline-offset:-4px;
}
.hotel-detail :is(#sec-gallery, #hotel-accommodation, #sec-infrastructure) [data-fancybox]:focus-visible:not(.hp-pointer-return)::after {
    content:"";
    position:absolute;
    inset:3px;
    z-index:2;
    border:3px solid var(--htlpro-accent);
    border-radius:10px;
    box-shadow:0 0 0 2px white;
    pointer-events:none;
}
.hotel-detail :is(#sec-gallery, #hotel-accommodation, #sec-infrastructure) [data-fancybox].hp-pointer-return:focus,
.hotel-detail [data-fancybox].hp-pointer-return:focus,
.hotel-detail [data-open-hotel-gallery].hp-pointer-return:focus { outline:none; box-shadow:none }
@media(max-width:767px){.hotel-detail #sec-gallery .grid-cols-1>div:first-child,.hotel-detail #sec-gallery .grid-cols-1>a:first-child{height:100%}.hotel-detail .hp-variant summary{align-items:flex-start}.hotel-detail .hp-variant summary>span:last-child{align-self:flex-end}}
@media(max-width:639px){.hotel-detail .review-form .form-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hotel-detail *{scroll-behavior:auto!important;transition-duration:0.01ms!important;animation-duration:0.01ms!important}}

.hotel-detail .registry-status { color: var(--ui-text-muted); }
.hotel-detail .registry-status--active { color: var(--ui-success); }
.hotel-detail .registry-status--paused { color: var(--ui-warning); }
.hotel-detail .registry-status--ended { color: var(--ui-danger); }
.hotel-detail .registry-status::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 5px;
    border-radius: 50%;
    vertical-align: middle;
    background: currentColor;
}

.hotel-detail .review-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    margin-block: 16px;
}
.hotel-detail .review-pros,
.hotel-detail .review-cons {
    min-width: 0;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.hotel-detail .review-pros { background: #e8f5e9; }
.hotel-detail .review-cons { background: #ffebee; }
.hotel-detail .review-pros-cons strong {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.hotel-detail .review-pros strong { color: #18704a; }
.hotel-detail .review-cons strong { color: #a64b12; }

#hotel-profile-page .hc-category { color: #926609; font-size: 13px; white-space: nowrap; }

.hp-variant { scroll-margin-top: 100px; }
.hp-room-slider { position: relative; min-width: 0; }
.hp-room-slider [data-hp-photos] {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
}
.hp-room-slider:has(button:not([hidden])) [data-hp-photos] { scrollbar-width: none; }
.hp-room-slider a { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px) { .hp-room-slider a { flex-basis: calc((100% - 12px) / 2); } }
@media (min-width: 768px) { .hp-room-slider a { flex-basis: calc((100% - 24px) / 3); } }
.hp-room-slider button:not([hidden]) {
    position: absolute;
    top: calc(50% - 18px);
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--htlpro-line);
    color: var(--htlpro-accent);
    background: white;
    box-shadow: 0 2px 8px #171c1f26;
    font: 24px/1 sans-serif;
}
.hp-room-slider button:hover { background: var(--htlpro-surface-accent); }
.hp-room-slider button[data-slide="-1"] { left: -12px; }
.hp-room-slider button[data-slide="1"] { right: -12px; }

.hotel-detail .hp-icon { display:inline-block; fill:currentColor; flex:none; vertical-align:middle }
html:has(#hotel-profile-page) { scroll-behavior:auto!important }
#hotel-profile-page { --hp-section-gap:24px }
#hotel-profile-page > :is(#sec-gallery, .hp-profile-body) { padding-top:var(--hp-section-gap) }
.hp-profile-columns, .hp-profile-stack { gap:var(--hp-section-gap) }
.hp-profile-stack { display:flex; flex-direction:column }

#hotel-about, #hotel-accommodation { scroll-margin-top:96px }
.hotel-detail .hp-room-pages { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; margin-top:16px; border-top:1px solid var(--htlpro-line); font-size:13px }
.hp-room-range { display:grid; color:var(--htlpro-muted) }
.hp-room-range strong { color:#172f42 }
.hp-page-links { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:4px }
.hotel-detail .hp-room-pages a { display:inline-flex; align-items:center; justify-content:center; min-width:32px; min-height:36px; padding:4px; border:1px solid #d5dfe9; border-radius:8px; color:var(--htlpro-accent); background:white; font-weight:600 }
.hotel-detail .hp-room-pages [data-more-rooms] { padding-inline:12px; background:#eff4f9 }
.hotel-detail .hp-room-pages a:hover { background:#e4eef6 }
.hotel-detail .hp-room-pages a[aria-current] { color:white; background:var(--htlpro-accent); border-color:var(--htlpro-accent) }
@media(max-width:600px) {
    .hotel-detail .hp-room-pages { justify-content:center; text-align:center }
    .hp-page-links { flex-basis:100%; gap:2px }
    .hotel-detail .hp-page-links a { min-width:27px }
}

/* Keep Bootstrap spacing and native button borders from overriding the room layout. */
.hotel-detail .hp-variant .p-5 { padding:1.25rem!important }
.hotel-detail .hp-b2b-trigger.bg-primary { border:0 }
.hotel-detail [data-hp-photos] > a { background:#eff4f8 }

#hotel-accommodation .room-tab-btn { font-weight:600; border:1px solid var(--htlpro-line) }
#hotel-accommodation .room-tab-btn[aria-current] { border-color:var(--htlpro-accent) }
#hotel-accommodation[aria-busy="true"] .hp-groups { opacity:.65 }
#hotel-accommodation [data-room-error] { color:var(--ui-danger); margin-top:8px }

.hp-facility-body { flex:1; min-width:0; overflow-wrap:anywhere }
.hp-facility-photo { display:block; position:relative; margin:6px 0; border-radius:8px; overflow:hidden; cursor:zoom-in }
.hp-facility-photo img { width:100%; aspect-ratio:3/2; object-fit:cover }
.hp-facility-photo span { position:absolute; bottom:6px; right:6px; padding:2px 7px; background:var(--htlpro-accent); color:white; border-radius:6px; font-size:12px; font-weight:600 }

#sec-services-title { line-height:1.2 }
#sec-services { scroll-margin-top:96px }
.hp-service-list {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(min(100%,305px),1fr));
    gap:14px;
}
#sec-services .hp-service-card {
    min-width:0;
    padding:16px;
    border:1px solid var(--htlpro-line);
    border-radius:12px;
    background:var(--htlpro-canvas);
    text-align:left;
    overflow-wrap:anywhere;
    color:var(--htlpro-ink);
}
.hp-service-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 12px }
#sec-services .hp-service-card h3 { flex:1 1 150px; margin:0; font-size:15px; font-weight:700; line-height:1.25; text-wrap:balance }
.hp-service-price {
    padding:4px 9px;
    border-radius:7px;
    background:color-mix(in srgb, var(--htlpro-accent) 10%, white);
    color:var(--htlpro-accent);
    font-size:13px;
    font-weight:650;
    line-height:1.35;
    font-variant-numeric:tabular-nums;
}
#sec-services .hp-service-card dl {
    display:grid;
    grid-template-columns:min(90px,42%) minmax(0,1fr);
    gap:5px 10px;
    margin:14px 0 0;
    font-size:13px;
    line-height:1.45;
}
#sec-services .hp-service-card dt { margin:0; color:var(--htlpro-muted); font-weight:400 }
#sec-services .hp-service-card dd { margin:0; font-weight:500 }
#sec-services .hp-service-card p { margin:12px 0 0; padding-top:10px; border-top:1px solid var(--htlpro-line); font-size:13px; line-height:1.5 }
@media (max-width:480px) {
    #sec-services, #sec-services .hp-service-card { padding:12px }
    #sec-services .hp-service-card dl { grid-template-columns:max-content minmax(0,1fr) }
}

@media (max-width:960px) {
    .hotel-detail .hp-hotel-stats { grid-template-columns:repeat(2,minmax(0,1fr)) }
}
.hp-hotel-stats > * > span:last-child { min-width:0; overflow-wrap:anywhere }
@media (max-width:540px) {
    .hp-hotel-stats > :is(div,a,span) { flex-direction:column; align-items:flex-start; gap:8px; padding:10px }
    .hp-hotel-stats strong { font-size:15px; line-height:1.25 }
}
#hotel-accommodation div:has(> .hp-b2b-trigger) { max-width:100% }
#hotel-accommodation .hp-b2b-trigger { max-width:100%; white-space:normal; height:auto; min-height:44px; line-height:1.3; padding-block:8px }

#sec-gallery .hp-illustration {
    position:absolute; z-index:1; top:12px; left:12px;
    background:var(--htlpro-accent); color:white; border-radius:6px;
    padding:4px 8px; font-size:12px; line-height:1.35; font-weight:600;
}
#sec-services .hp-registry-services { background:var(--htlpro-canvas); border:1px solid var(--htlpro-line); border-radius:12px; padding:14px 16px; overflow-wrap:anywhere }
#sec-services .hp-registry-services h3 { margin:0 0 6px; color:var(--htlpro-accent); font-size:13px; font-weight:700; line-height:1.3 }
#sec-services .hp-registry-services ul { list-style:none; padding:0; margin:0; font-size:14px; line-height:1.5 }
#sec-services .hp-registry-services li + li { margin-top:6px }

#registryFsaView .hp-registry-details { padding:clamp(12px,3vw,20px) }

#sidebar-legal { scroll-margin-top:96px }
#hotel-profile-page .hp-registry-link {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:44px;
    padding:10px 14px;
    border:1px solid var(--htlpro-accent);
    border-radius:10px;
    background:var(--htlpro-canvas);
    color:var(--htlpro-accent);
    font-size:13px;
    font-weight:600;
    line-height:1.35;
    text-align:center;
    text-wrap:balance;
    text-decoration:none;
}
#hotel-profile-page .hp-registry-link svg { flex:none; font-size:16px }
@media (hover:hover) {
    #hotel-profile-page .hp-registry-link:hover { background:var(--htlpro-accent); color:white }
}
#hotel-profile-page .hp-registry-link:focus-visible { outline:3px solid var(--htlpro-accent); outline-offset:3px }
