/* Hotelmanya modern tarih seçici */
.hm-dp {
  position: absolute;
  z-index: 99999;
  background: #fff;
  border: 2px solid #cbd5e1;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(12, 35, 64, .25);
  padding: 18px 20px 20px;
  font-family: inherit;
  user-select: none;
}
.hm-dp-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  text-align: center;
}
.hm-dp-nav { position: relative; height: 0; }
.hm-dp-prev, .hm-dp-next {
  position: absolute;
  top: 4px;
  z-index: 2;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #cbd5e1;
  background: #fff;
  border-radius: 10px;
  color: var(--hm-dark, #0c2340);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hm-dp-prev svg, .hm-dp-next svg { width: 18px; height: 18px; }
.hm-dp-prev { left: 2px; }
.hm-dp-next { right: 2px; }
.hm-dp-prev:hover, .hm-dp-next:hover { background: var(--hm-dark, #0c2340); color: #fff; }
.hm-dp-close { display: none; }
.hm-dp-months { display: flex; gap: 26px; }
.hm-dp-month { flex: 1 1 0; min-width: 294px; }
.hm-dp-cap {
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--hm-dark, #0c2340);
  padding: 6px 0 12px;
}
.hm-dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.hm-dp-dow {
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  padding: 6px 0;
}
.hm-dp-day {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.hm-dp-day:hover:not(.is-disabled):not(.is-empty) { background: #eff6ff; color: var(--hm-dark, #0c2340); }
.hm-dp-day.is-today { box-shadow: inset 0 0 0 2px #cbd5e1; font-weight: 800; }
.hm-dp-day.is-selected { background: var(--hm-dark, #0c2340); color: #fff; font-weight: 800; }
.hm-dp-day.is-disabled { color: #cbd5e1; cursor: default; }
.hm-dp-day.is-empty { cursor: default; }
.hm-dp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: rgba(12, 35, 64, .5);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (max-width: 640px) {
  body.hm-custom-dp-open { overflow: hidden; }
  body .hm-dp {
    position: fixed !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    max-height: calc(100dvh - 16px) !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    padding: 0 14px calc(14px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    transform: none !important;
    z-index: 99999 !important;
    overscroll-behavior: contain;
  }
  body .hm-dp-title {
    margin: 0 -14px 8px !important;
    padding: 18px 58px 17px 18px !important;
    border-radius: 20px 20px 0 0 !important;
    background: var(--hm-dark, #0c2340) !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  .hm-dp-close {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 4;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    cursor: pointer;
  }
  .hm-dp-nav { height: 0; }
  .hm-dp-prev, .hm-dp-next {
    top: 5px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
  .hm-dp-prev { left: 0; }
  .hm-dp-next { right: 0; }
  .hm-dp-months { display: block; }
  .hm-dp-month { min-width: 0; width: 100%; }
  .hm-dp-cap { min-height: 44px; box-sizing: border-box; padding: 14px 48px 10px; font-size: 16px; }
  .hm-dp-grid { gap: 1px; }
  .hm-dp-dow { padding: 5px 0; font-size: 11px; }
  .hm-dp-day { width: 100%; min-width: 40px; height: 44px; padding: 0; font-size: 15px; }
}

@media (max-width: 359px), (max-height: 540px) {
  body .hm-dp { padding-right: 10px !important; padding-left: 10px !important; }
  body .hm-dp-title { margin-right: -10px !important; margin-left: -10px !important; padding-top: 14px !important; padding-bottom: 14px !important; }
  .hm-dp-cap { padding-top: 10px; padding-bottom: 6px; }
  .hm-dp-dow { padding: 3px 0; }
  .hm-dp-day { height: 39px; min-width: 36px; font-size: 14px; }
}

/* Arama öneri listesi */
.hm-ac-box {
  z-index: 99998;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(12, 35, 64, .16);
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
}
.hm-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: #334155;
}
.hm-ac-item:hover, .hm-ac-item.is-active { background: #eff6ff; color: var(--hm-dark, #0c2340); }
.hm-ac-kind {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #fff;
  background: var(--hm-dark, #0c2340);
  border-radius: 6px;
  padding: 2px 7px;
}
.hm-ac-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
