/* Hotel availability search + room options (public detail) */
.ha-block{margin:0 0 1.5rem}
.ha-search{display:grid;grid-template-columns:1.4fr 1fr auto;gap:.6rem;align-items:end;padding:.75rem;background:#f3f4f6;border-radius:10px;border:1px solid #e5e7eb}
@media (max-width:720px){.ha-search{grid-template-columns:1fr}}
.ha-field label{display:block;font-size:.62rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6b7280;margin:0 0 .25rem}
.ha-input{width:100%;display:flex;align-items:center;gap:.45rem;padding:.55rem .7rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;font-size:.85rem;color:#111827;cursor:pointer;text-align:left;box-sizing:border-box}
.ha-input:hover{border-color:#cbd5e1}
.ha-ico{opacity:.55;display:inline-flex}
.ha-chev{margin-left:auto;opacity:.5}
.ha-fp-input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.ha-guests-wrap{position:relative}
.ha-guests-pop{position:absolute;z-index:40;top:calc(100% + 6px);left:0;right:0;min-width:260px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 12px 28px rgba(15,23,42,.12);padding:.85rem}
.ha-room-block{padding:.35rem 0 .55rem;border-bottom:1px solid #f1f5f9;margin-bottom:.45rem}
.ha-room-block:last-child{border-bottom:none;margin-bottom:0}
.ha-room-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:.35rem;font-size:.8rem;color:#334155}
.ha-room-remove{background:none;border:none;color:#dc2626;font-size:.75rem;cursor:pointer;padding:0}
.ha-add-room{display:block;width:100%;margin-top:.55rem;padding:.45rem 0 0;background:none;border:none;border-top:1px solid #e5e7eb;color:var(--primary, #2563eb);font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;text-align:left}
.ha-input:focus,.ha-input:hover{border-color:var(--primary, #cbd5e1)}
.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange{background:var(--primary, #2563eb)!important;border-color:var(--primary, #2563eb)!important}
.flatpickr-day.inRange{background:rgba(var(--primary-rgb, 37,99,235),.15)!important;border-color:transparent;box-shadow:none}
.ha-counter{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.35rem 0;font-size:.875rem;color:#334155}
.ha-counter div{display:flex;align-items:center;gap:.55rem}
.ha-counter button{width:1.75rem;height:1.75rem;border-radius:999px;border:1px solid #d1d5db;background:#fff;font-size:1rem;line-height:1;cursor:pointer;color:#111}
.ha-counter button:hover{background:#f8fafc}
.ha-counter strong{min-width:1.25rem;text-align:center}
.ha-btn-search{padding:.75rem 1.2rem;border:none;border-radius:8px;background:var(--primary, #ed4b25);color:#fff;font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;white-space:nowrap}
.ha-btn-search:hover{background:var(--primary-dark, var(--primary-600, #c53f1f))}
.ha-btn-search:disabled{opacity:.6;cursor:wait}
.ha-results{margin-top:1.25rem}
.ha-results-title{display:flex;align-items:center;gap:.4rem;font-size:1rem;font-weight:700;color:#111827;margin:0 0 .85rem;text-transform:uppercase;letter-spacing:.03em}
.ha-group-summary{font-size:.8rem;color:#64748b;margin:0 0 .75rem;font-weight:600}
.ha-room{display:grid;grid-template-columns:1fr;gap:0;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:0;margin-bottom:.85rem;overflow:hidden}
.ha-room--media{grid-template-columns:120px 1fr}
@media (max-width:640px){.ha-room--media{grid-template-columns:1fr}.ha-room-media{height:160px}}
.ha-room-media{background:#f1f5f9;min-height:100%}
.ha-room-media img{width:100%;height:100%;object-fit:cover;display:block;min-height:140px}
.ha-room-body{padding:.9rem 1rem 1rem}
.ha-room-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid #f1f5f9}
.ha-room-title{margin:0 0 .35rem;font-size:1.05rem;font-weight:700;color:#111827;line-height:1.3}
.ha-room-chips{display:flex;flex-wrap:wrap;gap:.3rem;margin:.2rem 0 .35rem}
.ha-chip{display:inline-block;padding:.12rem .45rem;border-radius:999px;background:#f1f5f9;color:#475569;font-size:.68rem;font-weight:600}
.ha-room-desc{margin:.25rem 0 0;font-size:.78rem;color:#64748b;line-height:1.4}
.ha-room-from{text-align:right;flex-shrink:0}
.ha-room-from-label{font-size:.65rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}
.ha-room-from-price{font-size:1.15rem;font-weight:800;color:#111827}
.ha-room-from-nights{font-size:.7rem;color:#94a3b8}
.ha-rate{display:grid;grid-template-columns:1fr 160px;gap:.75rem;align-items:center;padding:.65rem .15rem;border-top:1px dashed #e5e7eb}
.ha-rate:first-of-type,.ha-rate--best:first-of-type{border-top:none;padding-top:0}
.ha-rate--best{background:transparent}
@media (max-width:640px){.ha-rate{grid-template-columns:1fr}}
.ha-rate-board{font-size:.85rem;font-weight:700;color:#1e293b;display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}
.ha-rate-best-badge{font-size:.65rem;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#9f1239;background:#fff1f2;border:1px solid #fecdd3;border-radius:6px;padding:.1rem .35rem}
.ha-rate-flex{font-size:.75rem;font-weight:600;color:#64748b}
.ha-rate-flex--ok{color:#166534}
.ha-rate-flex--warn{color:#9f1239}
.ha-rate-diff{font-size:.72rem;font-weight:700;color:#9f1239}
.ha-rate-cancel{margin:.2rem 0;font-size:.75rem;color:#64748b}
.ha-rate-action{text-align:right}
.ha-rate-action form{margin:0;width:100%}
.ha-rate-more{margin-top:.35rem;border-top:1px solid #f1f5f9;padding-top:.35rem}
.ha-rate-more-sum{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.55rem .15rem;font-size:.8rem;font-weight:700;color:var(--primary,#9f1239);user-select:none}
.ha-rate-more-sum::-webkit-details-marker{display:none}
.ha-rate-more-chev{width:.5rem;height:.5rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s ease}
.ha-rate-more[open] .ha-rate-more-chev{transform:rotate(-135deg)}
.ha-rate-more-list{padding-bottom:.15rem}
.ha-card{display:grid;grid-template-columns:1fr 180px;gap:.85rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.85rem 1rem;margin-bottom:.55rem}
.ha-card.ha-card-has-media{grid-template-columns:96px 1fr 180px}
@media (max-width:640px){.ha-card,.ha-card.ha-card-has-media{grid-template-columns:1fr}.ha-card-media{max-width:100%;height:140px}}
.ha-card-media{width:96px;height:72px;border-radius:8px;overflow:hidden;background:#f1f5f9;flex-shrink:0}
.ha-card-media img{width:100%;height:100%;object-fit:cover;display:block}
.ha-card h3{margin:0 0 .2rem;font-size:.95rem;font-weight:700;color:#111827}
.ha-board{font-size:.75rem;color:#64748b;margin-bottom:.25rem}
.ha-desc{margin:.25rem 0;font-size:.78rem;color:#475569;line-height:1.4}
.ha-tags{display:flex;flex-wrap:wrap;gap:.3rem;margin-top:.35rem}
.ha-tag{display:inline-block;padding:.15rem .4rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.68rem;color:#475569;background:#f8fafc}
.ha-tag--ok{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.ha-tag--warn{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.ha-cancel-detail{margin-top:.15rem}
.ha-rate-label{font-weight:600;color:#9f1239}
.ha-card-action{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:.3rem;text-align:right}
.ha-price{font-size:1.15rem;font-weight:800;color:#111827}
.ha-price-sub{font-size:.75rem;color:#64748b}
.ha-btn-book{width:100%;padding:.55rem .65rem;border:none;border-radius:8px;background:var(--primary, #ed4b25);color:#fff;font-weight:800;font-size:.75rem;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.ha-btn-book:hover{background:var(--primary-dark, var(--primary-600, #c53f1f))}
.ha-btn-book:disabled{opacity:.55;cursor:wait}
.ha-cancel-link{background:none;border:none;color:var(--primary, #2563eb);font-size:.7rem;font-weight:600;text-transform:uppercase;cursor:pointer;padding:0;letter-spacing:.03em}
.ha-card-na .ha-na-box,.ha-rate--na .ha-na-box{width:100%;padding:.65rem;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;font-size:.75rem;color:#64748b;text-align:center}
.ha-card-na .ha-na-box strong,.ha-rate--na .ha-na-box strong{display:block;color:#334155;font-size:.8rem;margin-bottom:.25rem;text-transform:uppercase}
.ha-btn-contact{width:100%;padding:.55rem;border:none;border-radius:8px;background:var(--primary, #ed4b25);color:#fff;font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;cursor:pointer}
.ha-btn-contact:hover{background:var(--primary-dark, var(--primary-600, #c53f1f))}
.ha-empty{padding:1.25rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;text-align:center}
.ha-empty strong{display:block;margin-bottom:.35rem;text-transform:uppercase;letter-spacing:.03em}
.ha-empty p{margin:0 0 .85rem;color:#64748b;font-size:.875rem}
.ha-empty .ha-btn-contact{max-width:220px;margin:0 auto}
.ha-shimmer{background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);background-size:200% 100%;animation:ha-shimmer 1.25s ease-in-out infinite;border-radius:6px}
@keyframes ha-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.ha-card-skel{pointer-events:none;user-select:none}
.ha-card-skel .ha-shimmer-title{height:1rem;width:68%;margin:0 0 .45rem}
.ha-card-skel .ha-shimmer-board{height:.7rem;width:32%;margin:0 0 .55rem}
.ha-card-skel .ha-shimmer-tags{display:flex;gap:.35rem}
.ha-card-skel .ha-shimmer-tag{height:1.1rem;width:3.2rem;border-radius:6px}
.ha-card-skel .ha-shimmer-price{height:1.35rem;width:5.5rem;margin:0 0 .35rem;margin-left:auto}
.ha-card-skel .ha-shimmer-sub{height:.65rem;width:3rem;margin:0 0 .55rem;margin-left:auto}
.ha-card-skel .ha-shimmer-btn{height:2.15rem;width:100%;border-radius:8px}
#hmDetOffersMount.is-loading{min-height:8rem}
#hmDetSidebarPrice.is-loading .hd-sidebar-cta-price span,
#hmDetSidebarPrice.is-loading .hd-sidebar-cta-price small{
  display:inline-block;min-width:4.5rem;min-height:1.1em;color:transparent!important;
  background:linear-gradient(90deg,#e5e7eb 25%,#f3f4f6 50%,#e5e7eb 75%);background-size:200% 100%;
  animation:ha-shimmer 1.25s ease-in-out infinite;border-radius:4px
}
@media (prefers-reduced-motion:reduce){
  .ha-shimmer,#hmDetSidebarPrice.is-loading .hd-sidebar-cta-price span,#hmDetSidebarPrice.is-loading .hd-sidebar-cta-price small{animation:none;background:#e5e7eb}
}
.flatpickr-calendar{z-index:10050!important}
