/* Hotel Marketplace — symmetric admin UI (Acentigo primary) */
.hm {
  --hm-accent: var(--primary-500, #ed4b25);
  --hm-accent-hover: var(--primary-600, #d63d1c);
  --hm-tag-bg: var(--primary-50, #fff6f3);
  --hm-tag-fg: var(--primary-700, #b33216);
  --hm-border: #e5e7eb;
  --hm-muted: #6b7280;
  --hm-text: #111827;
  --hm-ctrl-h: 48px;
  --hm-radius: 12px;
  --hm-gap: .6rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }

.hm-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.hm-title { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--hm-text); line-height: 1.25; }
.hm-sub { margin: .3rem 0 0; color: var(--hm-muted); font-size: .9rem; line-height: 1.4; }
.hm-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--hm-muted); text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: 8px; border: 1px solid transparent;
}
.hm-link:hover { color: var(--hm-accent); background: var(--hm-tag-bg); }
.hm-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hm-label { display: block; font-size: .82rem; font-weight: 600; color: #374151; margin: .85rem 0 .35rem; }
.hm-hint { font-size: .78rem; color: var(--hm-muted); margin: .35rem 0 .5rem; line-height: 1.35; }

/* Uniform control height */
.hm-ctrl,
.hm-searchbar .flatpickr-input,
.hm-searchbar .flatpickr-alt-input,
.hm-guests,
.hm-nights,
.hm-btn--search {
  height: var(--hm-ctrl-h);
  min-height: var(--hm-ctrl-h);
}
.hm-ctrl {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--hm-radius);
  padding: 0 .9rem;
  font-size: .95rem;
  line-height: 1.2;
  background: #fff;
  color: var(--hm-text);
  display: flex;
  align-items: center;
}
select.hm-ctrl { appearance: auto; }
.hm-ctrl:focus,
.hm-searchbar .flatpickr-alt-input:focus {
  outline: none;
  border-color: var(--hm-accent);
  box-shadow: 0 0 0 3px rgba(237, 75, 37, .15);
}
.hm-searchbar .flatpickr-input,
.hm-searchbar .flatpickr-alt-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--hm-radius);
  padding: 0 .9rem;
  font-size: 16px; /* iOS zoom önleme */
  background: #fff;
  color: var(--hm-text);
}
.hm-searchbar .flatpickr-calendar {
  z-index: 10050 !important;
}
.hm-searchbar .flatpickr-input[readonly],
.hm-searchbar .flatpickr-alt-input[readonly] { background: #fff; cursor: pointer; }

/* Search bar — equal columns */
.hm-searchbar {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  padding: .85rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.hm-searchbar__conn { margin-bottom: .65rem; max-width: 280px; }
.hm-searchbar__row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr) 56px minmax(120px, .7fr) minmax(140px, .85fr) auto;
  gap: var(--hm-gap);
  align-items: center;
}
.hm-field { position: relative; min-width: 0; display: flex; align-items: stretch; }
.hm-field > .hm-ctrl,
.hm-field > .flatpickr-wrapper,
.hm-field > .flatpickr-input,
.hm-field > input { flex: 1; width: 100%; }
.hm-field .flatpickr-wrapper { width: 100%; display: block; }

.hm-nights {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: 0 .5rem;
  border: 1px solid var(--hm-border);
  border-radius: var(--hm-radius);
  background: #fff;
  color: var(--hm-accent);
  font-size: .9rem;
  white-space: nowrap;
  width: 100%;
}
.hm-nights strong { font-size: 1rem; font-variant-numeric: tabular-nums; }

.hm-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50;
  background: #fff; border: 1px solid var(--hm-border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08); max-height: 280px; overflow: auto; display: none;
}
.hm-suggest button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: .7rem .9rem; cursor: pointer; font-size: .9rem;
}
.hm-suggest button:hover { background: var(--primary-50, #fff6f3); }
.hm-suggest__type { color: #9ca3af; font-size: .75rem; margin-right: .35rem; }

.hm-guests {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--hm-radius);
  padding: 0 .75rem;
  background: #fff;
  cursor: pointer;
}
.hm-guests__text { min-width: 0; display: flex; flex-direction: column; justify-content: center; line-height: 1.15; }
.hm-guests__main { font-weight: 600; font-size: .9rem; color: var(--hm-text); }
.hm-guests__sub { font-size: .72rem; color: var(--hm-muted); }
.hm-guests__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 45;
  background: #fff; border: 1px solid var(--hm-border); border-radius: 12px; padding: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.08); display: none; min-width: 250px;
}
.hm-guests__panel.open { display: block; }
.hm-stepper { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.hm-stepper__btns { display: flex; align-items: center; gap: .5rem; }
.hm-stepper button {
  width: 32px; height: 32px; border-radius: 999px; border: 1px solid #d1d5db;
  background: #fff; font-size: 1.1rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center;
}
.hm-child-ages { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.hm-child-ages select { border: 1px solid #d1d5db; border-radius: 8px; padding: .35rem .5rem; }
.hm-rooms-wrap { display: flex; flex-direction: column; gap: .75rem; margin-bottom: .75rem; }
.hm-room-block {
  border: 1px solid var(--hm-border, #e5e7eb); border-radius: 10px; padding: .75rem .85rem;
  background: #fafafa;
}
.hm-room-block__title {
  font-size: .78rem; font-weight: 700; color: var(--hm-muted, #6b7280);
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: .5rem;
}
.hm-guests__panel { min-width: 260px; }

.hm-btn {
  border: 0; border-radius: var(--hm-radius); background: var(--hm-accent); color: #fff; font-weight: 600;
  padding: 0 1.15rem; cursor: pointer; font-size: .95rem; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  height: var(--hm-ctrl-h); min-height: var(--hm-ctrl-h);
}
.hm-btn:hover { background: var(--hm-accent-hover); color: #fff; }
.hm-btn--search { flex: 0 0 auto; white-space: nowrap; padding: 0 1.25rem; }
.hm-btn--block { width: 100%; }
.hm-btn--ghost { background: #fff; color: #374151; border: 1px solid #d1d5db; }
.hm-btn--ghost:hover { background: #f9fafb; color: #111; }
.hm-btn--sm { height: 36px; min-height: 36px; padding: 0 .8rem; font-size: .85rem; }

.hm-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 .85rem; min-height: 40px;
}
.hm-toolbar__count { color: var(--hm-muted); font-size: .88rem; }
.hm-filter-btn {
  display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #d1d5db;
  background: #fff; border-radius: 10px; padding: 0 .85rem; height: 38px;
  cursor: pointer; font-size: .88rem; color: #374151;
}
.hm-filter-btn:hover { border-color: var(--hm-accent); color: var(--hm-accent); }

/* Result cards — equal columns, stretch */
.hm-results { display: flex; flex-direction: column; gap: .85rem; }
.hm-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 190px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  min-height: 168px;
}
.hm-card[hidden] { display: none !important; }
.hm-card__media {
  display: block; align-self: stretch; background: #f3f4f6; min-height: 168px; position: relative;
}
.hm-card__media img,
.hm-card__ph {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hm-card__ph { background: linear-gradient(135deg, #f3f4f6, #e5e7eb); position: absolute; }
.hm-card__body {
  padding: 1.05rem 1.2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .45rem;
}
.hm-card__name { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.hm-card__name a { color: var(--hm-text); text-decoration: none; }
.hm-card__name a:hover { color: var(--hm-accent); }
.hm-card__meta {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin: 0;
}
.hm-card__loc { display: inline-flex; align-items: center; gap: .3rem; color: var(--hm-muted); font-size: .85rem; }
.hm-card__stars { display: inline-flex; align-items: center; letter-spacing: 1px; }
.hm-star { color: #d1d5db; font-size: .9rem; }
.hm-star--on { color: #f5b301; }
.hm-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; }
.hm-tag {
  background: var(--hm-tag-bg); color: var(--hm-tag-fg); font-size: .72rem; font-weight: 600;
  padding: .28rem .55rem; border-radius: 999px; line-height: 1.2;
}
.hm-card__desc { margin: 0; font-size: .85rem; color: var(--hm-muted); line-height: 1.4; }
.hm-card__side {
  padding: 1.05rem 1.1rem;
  border-left: 1px solid var(--hm-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: .85rem;
  text-align: right;
}
.hm-price { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; }
.hm-price__label { font-size: .72rem; font-weight: 600; color: var(--hm-muted); letter-spacing: .02em; text-transform: uppercase; }
.hm-price__main { font-size: 1.35rem; font-weight: 800; color: var(--hm-accent); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hm-price__try { font-size: 1rem; font-weight: 700; color: var(--hm-text); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.hm-price__sub { font-size: .82rem; font-weight: 600; color: var(--hm-muted); font-variant-numeric: tabular-nums; }
.hm-price__sub-try { font-weight: 500; }
.hm-card__side .hm-btn { height: 42px; min-height: 42px; }

.hm-empty-box {
  text-align: center; padding: 2.5rem 1.25rem; color: var(--hm-muted);
  background: #fff; border: 1px solid var(--hm-border); border-radius: 14px;
}

/* Filter modal */
.hm-modal {
  position: fixed; inset: 0; z-index: 80; background: rgba(15, 23, 42, .35);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.hm-modal[hidden] { display: none !important; }
.hm-modal__dialog {
  width: min(520px, 100%); max-height: 90vh; background: #fff; border-radius: 14px;
  border: 1px solid var(--hm-border); display: flex; flex-direction: column; overflow: hidden;
}
.hm-modal__head, .hm-modal__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.1rem; min-height: 56px;
  border-bottom: 1px solid var(--hm-border);
}
.hm-modal__foot { border-bottom: 0; border-top: 1px solid var(--hm-border); justify-content: flex-end; }
.hm-modal__head h2 { margin: 0; font-size: 1.1rem; }
.hm-modal__close {
  border: 0; background: transparent; font-size: 1.5rem; line-height: 1;
  cursor: pointer; color: #6b7280; width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
}
.hm-modal__close:hover { background: #f3f4f6; }
.hm-modal__body { padding: 0 1.1rem 1rem; overflow: auto; }
.hm-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.hm-filter-row .hm-ctrl { height: 42px; min-height: 42px; }
.hm-check-list {
  max-height: 160px; overflow: auto; border: 1px solid var(--hm-border);
  border-radius: 10px; padding: .5rem .65rem;
}
.hm-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; margin: .35rem 0; cursor: pointer; }

/* Detail */
.hm-detail-head { margin: 0; flex: 1; min-width: 0; }
.hm-detail-head h1 { margin: 0 0 .4rem; font-size: 1.45rem; font-weight: 700; line-height: 1.25; }

.hm-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  grid-template-rows: 1fr auto;
  gap: .65rem;
  margin-bottom: 1.25rem;
}
.hm-gallery__main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  grid-row: 1;
}
.hm-gallery__main img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.hm-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.95); cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  display: inline-flex; align-items: center; justify-content: center;
}
.hm-gallery__nav--prev { left: .85rem; }
.hm-gallery__nav--next { right: .85rem; }
.hm-gallery__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: .65rem;
  grid-row: 1;
  min-height: 0;
}
.hm-gallery__side img {
  width: 100%; height: 100%; min-height: 0; object-fit: cover;
  border-radius: 12px; cursor: pointer; display: block;
}
.hm-gallery__thumbs {
  display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .15rem;
  grid-column: 1 / -1;
}
.hm-gallery__thumbs button {
  border: 2px solid transparent; padding: 0; border-radius: 10px;
  overflow: hidden; background: transparent; cursor: pointer; flex: 0 0 auto;
  width: 88px; height: 64px;
}
.hm-gallery__thumbs button.is-active { border-color: var(--hm-accent); }
.hm-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hm-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--hm-border); margin-bottom: 1rem;
}
.hm-tab {
  border: 0; background: transparent; padding: .8rem 1.1rem; font-weight: 600;
  color: var(--hm-muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
  cursor: pointer; font-size: .95rem;
}
.hm-tab.is-active { color: var(--hm-accent); border-bottom-color: var(--hm-accent); }
.hm-tabpanel[hidden] { display: none !important; }

.hm-meta-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 56px minmax(110px, .7fr) minmax(130px, .8fr) auto;
  gap: var(--hm-gap);
  align-items: center;
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 14px;
  padding: .85rem;
  margin-bottom: 1rem;
}
.hm-meta-bar .hm-ctrl {
  height: var(--hm-ctrl-h);
  pointer-events: none;
  background: #f9fafb;
}
.hm-meta-bar .hm-guests-static {
  display: flex; flex-direction: column; justify-content: center;
  height: var(--hm-ctrl-h); padding: 0 .9rem;
  border: 1px solid #d1d5db; border-radius: var(--hm-radius); background: #f9fafb;
}
.hm-meta-bar .hm-guests-static strong { font-size: .9rem; line-height: 1.15; }
.hm-meta-bar .hm-guests-static span { font-size: .72rem; color: var(--hm-muted); }

.hm-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--hm-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: .65rem;
  background: #fff;
}
.hm-offer__board { font-weight: 700; font-size: 1rem; margin: 0; }
.hm-offer__rooms { color: var(--hm-muted); font-size: .85rem; margin-top: .25rem; }
.hm-offer__side {
  display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; text-align: right;
}
.hm-offer__side .hm-btn { width: 100%; height: 42px; min-height: 42px; }

.hm-desc-box {
  background: #fff; border: 1px solid var(--hm-border); border-radius: 14px;
  padding: 1.25rem 1.35rem; color: #374151; line-height: 1.55; white-space: pre-wrap;
}
.hm-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .55rem;
}
.hm-facility-item {
  background: #fff;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  padding: .65rem .85rem;
  font-size: .88rem;
  color: #374151;
}

@media (max-width: 1100px) {
  .hm-searchbar__row {
    grid-template-columns: minmax(0, 1.4fr) minmax(160px, 1fr) 52px minmax(110px, .75fr) minmax(120px, .85fr) auto;
  }
}
@media (max-width: 900px) {
  .hm-searchbar__row {
    grid-template-columns: 1fr 1fr;
  }
  .hm-field--grow { grid-column: 1 / -1; }
  .hm-btn--search { grid-column: 1 / -1; width: 100%; }
  .hm-card { grid-template-columns: 1fr; min-height: 0; }
  .hm-card__media { min-height: 200px; aspect-ratio: 16 / 9; }
  .hm-card__side {
    border-left: 0; border-top: 1px solid var(--hm-border);
    flex-direction: row; justify-content: space-between; align-items: center; text-align: left;
  }
  .hm-price { align-items: flex-start; }
  .hm-card__side .hm-btn { width: auto; min-width: 140px; }
  .hm-gallery { grid-template-columns: 1fr; }
  .hm-gallery__side { display: none; }
  .hm-meta-bar { grid-template-columns: 1fr 56px; }
  .hm-meta-bar .hm-btn { grid-column: 1 / -1; width: 100%; }
  .hm-offer { grid-template-columns: 1fr; }
  .hm-offer__side { align-items: stretch; }
}
@media (max-width: 560px) {
  .hm-searchbar__row { grid-template-columns: 1fr; }
  .hm-nights { width: 56px; justify-self: start; }
}

/* Booking page */
.hm-book__actions-top { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; }
.hm-book__layout {
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.25rem;
  align-items: start;
  width: 100%;
}
.hm-book__steps {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: 1rem;
}
.hm-book__step {
  display:flex; align-items:center; gap:.5rem;
  background:#fff; border:1px solid var(--hm-border); border-radius:10px;
  padding:.7rem .85rem; font-size:.85rem; font-weight:600; color:var(--hm-muted);
}
.hm-book__step span {
  width:24px; height:24px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center;
  background:#f3f4f6; color:#6b7280; font-size:.8rem; flex:0 0 auto;
}
.hm-book__step.is-active { border-color: var(--hm-accent); color: var(--hm-text); }
.hm-book__step.is-active span { background: var(--hm-accent); color:#fff; }
.hm-book__step.is-done { border-color: #bbf7d0; color:#166534; background:#f0fdf4; }
.hm-book__step.is-done span { background:#16a34a; color:#fff; }

.hm-book-card {
  background:#fff; border:1px solid var(--hm-border); border-radius:14px;
  padding:1.15rem 1.25rem; margin-bottom:1rem;
}
.hm-book-card__head {
  display:flex; justify-content:space-between; align-items:flex-start; gap:1rem;
  margin-bottom:1rem; flex-wrap:wrap;
}
.hm-book-card__head h2 { margin:0; font-size:1.1rem; font-weight:700; color:var(--hm-text); }
.hm-book-card__head p { margin:.3rem 0 0; color:var(--hm-muted); font-size:.88rem; }
.hm-book-card__head-meta {
  font-size:.85rem; color:var(--hm-muted); background:#f9fafb; border:1px solid var(--hm-border);
  border-radius:999px; padding:.35rem .75rem; white-space:nowrap;
}
.hm-book-card__foot {
  display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
  margin-top:1.1rem; padding-top:1rem; border-top:1px solid var(--hm-border);
}
.hm-book-card__foot--start { justify-content:flex-start; }
.hm-book-card--danger { border-color:#fecaca; }

.hm-guest-list { display:flex; flex-direction:column; gap:.85rem; }
.hm-guest-card {
  margin:0; border:1px solid var(--hm-border); border-radius:12px; padding:1rem 1.15rem;
  background:#fff;
}
.hm-guest-card.is-lead {
  border-color: #bfdbfe;
  box-shadow: inset 3px 0 0 #2563eb;
  background: #f8fbff;
}
.hm-guest-card--readonly { background:#fff; }
.hm-guest-card__head {
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  margin: 0 0 .85rem; padding-bottom: .75rem; border-bottom: 1px solid #f3f4f6;
}
.hm-guest-card__head-left { display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.hm-guest-card__title { margin:0; font-size:.95rem; font-weight:700; color:var(--hm-text); }
.hm-guest-card__badge {
  display:inline-flex; align-items:center; padding:2px 8px; border-radius:999px;
  font-size:.7rem; font-weight:700; background:#dbeafe; color:#1d4ed8;
}
.hm-guest-card__lead {
  display:inline-flex; align-items:center; gap:.4rem; font-size:.82rem; color:var(--hm-muted);
  font-weight:500; cursor:pointer; white-space:nowrap;
}
.hm-guest-card__hint {
  margin:.65rem 0 0; font-size:.78rem; color:#6b7280; line-height:1.4;
}

/* Ünvan | Ad | Soyad | Uyruk — alt satır: doğum + iletişim */
.hm-guest-grid {
  display:grid;
  grid-template-columns: 110px minmax(0,1fr) minmax(0,1fr) 140px;
  gap: .75rem;
  align-items: start;
}
.hm-field-block { min-width:0; display:flex; flex-direction:column; }
.hm-field-block .hm-label {
  margin: 0 0 .35rem;
  min-height: 1.15rem;
  display:flex; align-items:center; gap:.25rem;
}
.hm-field-block--birth { grid-column: 1 / 3; }
.hm-guest-contact { grid-column: span 1; }
.hm-guest-contact[hidden] { display:none !important; }
.hm-field-block--birth .flatpickr-input,
.hm-field-block--birth .flatpickr-alt-input,
.hm-field-block--birth .hm-birth-date {
  width: 100%;
  cursor: pointer;
  background: #fff;
}
.hm-field-block--birth .flatpickr-alt-input.hm-ctrl,
.hm-field-block--birth input.flatpickr-input.hm-ctrl {
  height: var(--hm-ctrl-h, 42px);
}
.hm-req { color: var(--hm-accent); }
.hm-opt { color:var(--hm-muted); font-weight:400; font-size:.75rem; }
.hm-contact-hint { display:inline; }

.hm-btn--danger { background:#dc2626; }
.hm-btn--danger:hover { background:#b91c1c; color:#fff; }
.hm-btn:disabled { opacity:.55; cursor:not-allowed; }

.hm-book-summary {
  position: sticky; top: 1rem;
  background:#fff; border:1px solid var(--hm-border); border-radius:14px;
  padding:1.15rem 1.2rem; box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.hm-book-summary__status {
  display:inline-flex; align-items:center; border-radius:999px; padding:.3rem .7rem;
  font-size:.78rem; font-weight:700; margin-bottom:.75rem;
}
.hm-book-summary__status--ok { background:#dcfce7; color:#166534; }
.hm-book-summary__status--err { background:#fee2e2; color:#991b1b; }
.hm-book-summary__status--info { background:#e0f2fe; color:#075985; }
.hm-book-summary__status--warn { background:var(--primary-50,#fff6f3); color:var(--primary-700,#b33216); }
.hm-book-summary__hotel { margin:0 0 .25rem; font-size:1.1rem; font-weight:700; line-height:1.3; }
.hm-book-summary__room { margin:0 0 .9rem; color:var(--hm-muted); font-size:.85rem; }
.hm-book-summary__dl {
  display:grid; gap:.65rem; margin:0 0 1rem; padding:0;
}
.hm-book-summary__dl > div {
  display:flex; justify-content:space-between; gap:.75rem; align-items:baseline;
  border-bottom:1px dashed #e5e7eb; padding-bottom:.55rem;
}
.hm-book-summary__dl dt { margin:0; font-size:.8rem; color:var(--hm-muted); }
.hm-book-summary__dl dd { margin:0; font-size:.9rem; font-weight:600; color:var(--hm-text); text-align:right; }
.hm-muted-dd { color:var(--hm-muted) !important; font-weight:500 !important; }
.hm-book-summary__dl--refs > div { border-bottom:0; padding-bottom:0; }
.hm-book-summary__price {
  padding: .85rem 0 1rem; margin-bottom:.85rem;
  border-top:1px solid var(--hm-border); border-bottom:1px solid var(--hm-border);
  text-align:right;
}
.hm-book-summary__price .hm-price__main { font-size:1.5rem; }
.hm-book-policies, .hm-book-fee {
  margin: 0 0 1rem;
  padding: .85rem .9rem;
  border: 1px solid var(--hm-border);
  border-radius: 10px;
  background: #fafafa;
}
.hm-book-policies strong, .hm-book-fee strong {
  display:block; font-size:.82rem; margin-bottom:.45rem; color:#374151;
}
.hm-book-policies ul {
  margin:0; padding-left:1.1rem; font-size:.82rem; color:var(--hm-muted); line-height:1.45;
}
.hm-book-fee { border-color: #fecaca; background: #fef2f2; }

@media (max-width: 980px) {
  .hm-book__layout { grid-template-columns: 1fr; }
  .hm-book-summary { position:static; }
  .hm-guest-grid { grid-template-columns: 1fr 1fr; }
  .hm-field-block--title, .hm-field-block--nat, .hm-field-block--birth { grid-column: span 1; }
  .hm-guest-contact { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hm-book__steps { grid-template-columns: 1fr; }
  .hm-guest-grid { grid-template-columns: 1fr; }
  .hm-guest-card__head { flex-direction:column; align-items:flex-start; }
  .hm-field-block--birth, .hm-guest-contact { grid-column: 1; }
}
