/* Hotel detail panel — opens from a hotel card on the /hotel/ page (hotel-detail.js).
   Full-screen details view: gallery + info panel + about/facilities cards. */

.hd { position: fixed; inset: 0; z-index: 2400; background: #F4F7FC; overflow-y: auto; overscroll-behavior: contain; display: none; }
.hd.is-open { display: block; }

.hd__bar { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid #E4E9F2; box-shadow: 0 10px 30px -22px rgba(8, 24, 56, .35); }
.hd__bar-in { max-width: 1180px; margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; gap: 16px; }
.hd__back { border: 1px solid #E4E9F2; background: #fff; color: #14254A; font: 700 13.5px var(--f-body, 'Hind Siliguri', sans-serif); padding: 9px 17px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.hd__back:hover { border-color: #E8262D; color: #E8262D; }
.hd__back i { margin-right: 6px; }
.hd__bar-title { font: 800 1.05rem var(--f-head, 'Baloo Da 2', sans-serif); color: #14254A; letter-spacing: .04em; text-transform: uppercase; }

.hd__wrap { max-width: 1180px; margin: 0 auto; padding: 26px 22px 70px; }
.hd__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }

/* gallery */
.hd__gallery { background: #fff; border: 1px solid #E4E9F2; border-radius: 16px; padding: 12px; box-shadow: 0 18px 44px -26px rgba(8, 24, 56, .35); }
.hd__img { width: 100%; height: 380px; object-fit: cover; border-radius: 12px; display: block; background: #E4E9F2; }
.hd__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.hd__thumb { width: 88px; height: 62px; border-radius: 9px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: .82; transition: all .2s; }
.hd__thumb:hover { opacity: 1; }
.hd__thumb.is-active { border-color: #E8262D; opacity: 1; }

/* info panel */
.hd__panel { background: #fff; border: 1px solid #E4E9F2; border-radius: 16px; padding: 22px 24px; box-shadow: 0 18px 44px -26px rgba(8, 24, 56, .35); }
.hd__tag { display: inline-flex; align-items: center; gap: 6px; background: #14254A; color: #fff; font: 700 11px var(--f-body, 'Hind Siliguri', sans-serif); letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; }
.hd__title { margin: 11px 0 6px; font: 800 1.72rem var(--f-head, 'Baloo Da 2', sans-serif); line-height: 1.24; color: #14254A; }
.hd__loc { margin: 0 0 13px; font-size: 13.5px; color: #6A7792; }
.hd__loc i { color: #E8262D; margin-right: 4px; }
.hd__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hd__stars { color: #E8262D; letter-spacing: 2px; font-size: 15px; }
.hd__stars .off { color: #D9DEE7; }
.hd__rate { background: #14254A; color: #fff; border-radius: 8px; padding: 5px 11px; font: 700 12.5px var(--f-body, 'Hind Siliguri', sans-serif); }

.hd__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; background: #F4F7FC; border: 1px solid #E4E9F2; border-radius: 12px; padding: 14px 16px; font-size: 13px; color: #6A7792; }
.hd__price .fa-bolt { color: #F59E0B; margin-right: 2px; }
.hd__price b { font: 800 1.7rem var(--f-head, 'Baloo Da 2', sans-serif); color: #14254A; }
.hd__price small { text-decoration: line-through; color: #97A2B5; font-size: 14px; }
.hd__off { background: #E8262D; color: #fff; border-radius: 999px; padding: 4px 12px; font: 800 12px var(--f-head, 'Baloo Da 2', sans-serif); margin-left: auto; }

.hd__amen { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 18px 0; padding: 0; }
.hd__amen li { display: flex; gap: 9px; align-items: center; font-size: 13.5px; color: #3B4A68; }
.hd__amen i { color: #1F6FD1; width: 18px; text-align: center; flex: none; }

.hd__acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.hd__book { flex: 1; min-width: 180px; background: linear-gradient(135deg, #E8262D, #C42127); color: #fff; border: 0; font: 800 15px var(--f-head, 'Baloo Da 2', sans-serif); letter-spacing: .05em; padding: 15px 22px; border-radius: 12px; cursor: pointer; transition: filter .2s; }
.hd__book:hover { filter: brightness(1.07); }
.hd__book i { margin-right: 6px; }
.hd__ghost { flex: 1; min-width: 160px; text-align: center; background: #fff; color: #14254A; border: 1.5px solid #D9DEE7; font: 700 14px var(--f-body, 'Hind Siliguri', sans-serif); padding: 13px 20px; border-radius: 12px; text-decoration: none; transition: border-color .2s; }
.hd__ghost:hover { border-color: #14254A; color: #14254A; }
.hd__note { margin: 14px 0 0; font-size: 12px; color: #6A7792; }
.hd__note i { color: #1F6FD1; margin-right: 4px; }

/* about / facts */
.hd__about { margin-top: 26px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: start; }
.hd__card { background: #fff; border: 1px solid #E4E9F2; border-radius: 16px; padding: 22px 24px; box-shadow: 0 18px 44px -26px rgba(8, 24, 56, .28); }
.hd__h3 { margin: 0 0 11px; font: 800 1.14rem var(--f-head, 'Baloo Da 2', sans-serif); color: #14254A; }
.hd__h3::before { content: ""; display: inline-block; width: 4px; height: 18px; background: #E8262D; border-radius: 2px; margin-right: 9px; vertical-align: -3px; }
.hd__p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.78; color: #3B4A68; }
.hd__facts { list-style: none; margin: 0; padding: 0; }
.hd__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #E4E9F2; font-size: 13.5px; color: #6A7792; }
.hd__facts li:last-child { border-bottom: 0; }
.hd__facts b { color: #14254A; font-weight: 700; text-align: right; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 960px) {
	.hd__grid, .hd__about { grid-template-columns: 1fr; }
	.hd__img { height: 300px; }
	.hd__title { font-size: 1.45rem; }
}
@media (max-width: 640px) {
	.hd__wrap { padding: 18px 14px 52px; }
	.hd__bar-in { padding: 11px 14px; }
	.hd__bar-title { display: none; }
	.hd__img { height: 230px; }
	.hd__thumb { width: 70px; height: 52px; }
	.hd__amen { grid-template-columns: 1fr; }
	.hd__title { font-size: 1.3rem; }
}
