/* StayDelta — Booking tarzı arama çubuğu widget'ı (destinasyon/takvim/kişi-oda) */
.sd-sb { max-width: 100%; min-height: 66px; } /* JS render oncesi yer rezervasyonu (CLS onlemi) */
@media (max-width: 780px) { .sd-sb { min-height: 0; } }
.sd-bar {
  display: flex; align-items: stretch; gap: 2px;
  background: var(--cta,#17255F); border: 2px solid var(--cta,#17255F); border-radius: 8px; padding: 2px;
}
.sd-seg {
  position: relative; background: #fff; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; min-height: 58px; border-radius: 4px; flex: 1 1 0;
}
.sd-seg-dest { flex: 1.5 1 0; }
.sd-ic { font-size: 18px; flex: none; color: #6b6b6b; }
.sd-seg input, .sd-seg .sd-open {
  border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px;
  width: 100%; text-align: left; color: #1a1a1a; cursor: pointer; padding: 0; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sd-seg input::placeholder, .sd-open.ph { color: #767676; }
.sd-go {
  flex: none; background: var(--cta,#17255F); color: #fff; border: 0; border-radius: 4px;
  font-size: 16px; font-weight: 700; padding: 0 30px; cursor: pointer;
}
.sd-go:hover { background: var(--cta-hover,#0F1A45); }

/* açılır paneller */
.sd-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 1200; background: #fff;
  border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,.20);
  overflow: hidden; color: #1a1a1a; /* mavi hero'dan beyaz renk devralınmasın */
}
.sd-panel[hidden] { display: none; }

/* destinasyon önerileri */
.sd-ac { width: 380px; max-width: 90vw; padding: 6px 0; max-height: 340px; overflow-y: auto; }
.sd-ac-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
.sd-ac-item:hover, .sd-ac-item.active { background: #eef0f7; }
.sd-ac-ic { width: 34px; height: 34px; border-radius: 6px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
.sd-ac-tx b { display: block; font-size: 14px; color: #1a1a1a; }
.sd-ac-tx span { font-size: 12px; color: #6b6b6b; }
.sd-ac-empty { padding: 12px 16px; font-size: 13px; color: #8a8a8a; }

/* takvim */
.sd-cal { padding: 16px; width: 640px; max-width: 92vw; }
.sd-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sd-cal-nav { border: 1px solid #ccc; background: #fff; width: 34px; height: 34px; border-radius: 6px; cursor: pointer; font-size: 17px; }
.sd-cal-nav:disabled { opacity: .35; cursor: default; }
.sd-cal-months { display: flex; gap: 26px; }
.sd-cal-month { flex: 1; }
.sd-cal-title { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.sd-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.sd-cal-dow { text-align: center; font-size: 11px; color: #6b6b6b; padding: 4px 0; }
.sd-cal-day { text-align: center; padding: 9px 0; font-size: 14px; border-radius: 6px; cursor: pointer; border: 1px solid transparent; }
.sd-cal-day:hover:not(.disabled):not(.empty) { border-color: var(--cta,#17255F); }
.sd-cal-day.empty { cursor: default; }
.sd-cal-day.disabled { color: #ccc; cursor: default; text-decoration: line-through; }
.sd-cal-day.in-range { background: #e6e9f5; border-radius: 0; }
.sd-cal-day.sel { background: var(--cta,#17255F); color: #fff; font-weight: 700; }
.sd-cal-foot { margin-top: 10px; font-size: 13px; color: #444; text-align: right; }

/* kişi / oda stepper */
.sd-guests { width: 320px; max-width: 90vw; padding: 16px; }
.sd-grow { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.sd-grow:last-of-type { border-bottom: 0; }
.sd-grow .lab { font-size: 15px; color: #1a1a1a; }
.sd-step { display: flex; align-items: center; gap: 12px; }
.sd-step button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--cta,#17255F); background: #fff; color: var(--cta,#17255F); font-size: 19px; line-height: 1; cursor: pointer; }
.sd-step button:disabled { border-color: #ccc; color: #ccc; cursor: default; }
.sd-step .val { min-width: 22px; text-align: center; font-size: 15px; font-weight: 600; }
.sd-ages { margin-top: 8px; }
.sd-ages .lab { font-size: 13px; color: #444; margin: 8px 0 4px; }
.sd-age-row { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-age-row select { padding: 8px 10px; border: 1px solid #999; border-radius: 6px; font-size: 13px; }
.sd-guests .sd-done { margin-top: 14px; width: 100%; padding: 10px; background: var(--cta,#17255F); color: #fff; border: 0; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; }

/* MOBİL: bölmeler alt alta, paneller tam genişlik, tek ay */
@media (max-width: 780px) {
  .sd-bar { flex-direction: column; gap: 4px; }
  .sd-seg { min-height: 52px; }
  .sd-go { padding: 14px; min-height: 50px; }
  .sd-panel { left: 0; right: 0; width: auto !important; max-width: none; }
  .sd-cal { width: auto; }
  .sd-cal-months { flex-direction: column; gap: 18px; }
  .sd-ac { width: auto; }
}
