/* This component owns only the new search dialog. */
body.Index.Home .aramaOverlay,
body.Index.Home .aramaicsayfa {
  display: none !important;
}

body.nsd-open {
  overflow: hidden;
}
.nsd-backdrop[hidden],
.nsd-dialog[hidden] {
  display: none !important;
}
.nsd-backdrop {
  position: fixed;
  z-index: 9000;
  inset: var(--nsd-header-bottom, 78px) 0 0;
  background: rgba(0, 0, 0, 0.38);
}
.nsd-dialog {
  position: fixed;
  z-index: 9001;
  top: calc(var(--nsd-header-bottom, 78px) + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--nsd-header-bottom, 78px) - 22px);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
  color: #171717;
  font:
    14px/1.35 Inter,
    Arial,
    sans-serif;
}
.nsd-dialog * {
  box-sizing: border-box;
}
.nsd-dialog:focus { outline: none; }
.nsd-content::-webkit-scrollbar { display: none; }
.nsd-dialog button {
  font: inherit;
  cursor: pointer;
}
.nsd-dialog a {
  color: inherit;
  text-decoration: none;
}
.nsd-content {
  max-height: calc(100dvh - var(--nsd-header-bottom, 78px) - 22px);
  padding: 18px 28px 22px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nsd-scroll-indicator {
  position: absolute;
  top: 14px;
  right: 9px;
  bottom: 14px;
  width: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.nsd-scroll-indicator[hidden] { display: none; }
.nsd-dialog:hover .nsd-scroll-indicator { opacity: .55; }
.nsd-dialog.nsd-is-scrolling .nsd-scroll-indicator { opacity: .9; }
.nsd-scroll-thumb {
  display: block;
  width: 4px;
  border-radius: 8px;
  background: #aaa;
  will-change: transform;
}
.nsd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.nsd-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
}
.nsd-heading svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.nsd-heading span.nsd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nsd-heading span.nsd-icon svg {
  width: 18px;
  height: 18px;
}
.nsd-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nsd-clear {
  border: 0;
  background: none;
  color: #777;
  font-size: 12px !important;
  white-space: nowrap;
}
.nsd-chip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nsd-chip {
  min-height: 35px;
  padding: 7px 13px;
  border: 1px solid #dedede;
  border-radius: 22px;
  background: #fff;
  color: #171717;
  white-space: nowrap;
}
[data-nsd-popular] .nsd-chip {
  /* a.nsd-chip is inline-flex, and text-overflow doesn't apply to flex containers' text */
  display: block;
  line-height: 19px;
  min-width: 0;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nsd-chip:hover,
.nsd-chip:focus-visible {
  border-color: #e1b900;
  background: #fff9da;
}
.nsd-chip--history {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Uzun geçmiş terimi sütundan taşmasın: metin ... ile kısalır, çarpı hep görünür kalır */
.nsd-chip--history {
  max-width: 100%;
  min-width: 0;
}
.nsd-chip--history > button:first-child {
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  min-width: 0;
}
.nsd-chip__text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nsd-chip--history .nsd-remove {
  flex: none;
}
.nsd-chip--history > button:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nsd-chip--history svg {
  width: 14px;
  height: 14px;
  color: #777;
}
.nsd-chip--history .nsd-remove {
  border: 0;
  padding: 0;
  background: none;
  color: #777;
  font-size: 17px;
  line-height: 1;
}
.nsd-empty-history {
  margin: 4px 0;
  color: #777;
  font-size: 12px;
}
.nsd-welcome-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: 134px;
}
.nsd-welcome-top > div {
  min-width: 0;
}
.nsd-section {
  border-top: 1px solid #e3e3e3;
  padding-top: 18px;
  margin-top: 18px;
}
.nsd-section .nsd-head {
  margin-bottom: 12px;
}
.nsd-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.nsd-scroller::-webkit-scrollbar {
  display: none;
}
.nsd-nav {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
  background: #fff;
  color: #171717;
  -webkit-text-fill-color: #171717;
  appearance: none;
  font-size: 20px !important;
  line-height: 1;
}
.nsd-nav:hover {
  background: #fff3b5;
}
.nsd-discovery-card {
  flex: 0 0 130px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.nsd-discovery-card__image {
  display: block;
  width: 100%;
  height: 174px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}
.nsd-discovery-card__title {
  display: block;
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #696969;
  line-height: 18px;
  font-size: 13px;
  font-weight: 500;
}
.nsd-discovery-card:hover .nsd-discovery-card__title { color: #171717; }
.nsd-discovery-card--loading .nsd-discovery-card__image,
.nsd-discovery-card--loading .nsd-discovery-card__title {
  background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%) 0 0 / 200% 100%;
  animation: nsd-shimmer 1.2s linear infinite;
  border-radius: 8px;
}
.nsd-discovery-card--loading .nsd-discovery-card__title { height: 14px; width: 80%; }
.nsd-event-card--loading .nsd-event-card__image,
.nsd-event-card--loading .nsd-line {
  background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%) 0 0 / 200% 100%;
  animation: nsd-shimmer 1.2s linear infinite;
}
/* Gövde içeriğe göre daralıyordu (boş span'lar → genişlik 0), yüzdeli çizgiler görünmüyordu */
.nsd-event-card--loading .nsd-event-card__body { flex: 1; align-self: center; gap: 9px; }
.nsd-event-card--loading .nsd-line { display: block; height: 12px; width: 85%; border-radius: 6px; }
.nsd-event-card--loading .nsd-line:first-child { width: 65%; height: 14px; }
.nsd-chip--loading {
  display: inline-block;
  width: 96px;
  border-color: transparent;
  background: linear-gradient(90deg, #eee 25%, #f7f7f7 50%, #eee 75%) 0 0 / 200% 100%;
  animation: nsd-shimmer 1.2s linear infinite;
}
@keyframes nsd-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .nsd-chip--loading,
  .nsd-event-card--loading .nsd-event-card__image,
  .nsd-event-card--loading .nsd-line { animation: none; }
  .nsd-discovery-card--loading .nsd-discovery-card__image,
  .nsd-discovery-card--loading .nsd-discovery-card__title { animation: none; }
}
.nsd-event-card {
  flex: 0 0 280px;
  min-width: 0;
  display: flex;
  gap: 11px;
  height: 135px;
  padding: 8px;
  border: 1px solid #dedede;
  border-radius: 15px;
  background: #fff;
}
.nsd-event-card:hover,
.nsd-small-card:hover,
.nsd-profile:hover {
  border-color: #d6b200;
}
.nsd-event-card__image {
  flex: 0 0 84px;
  width: 84px;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  background: #eee;
}
.nsd-event-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nsd-event-card__title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 700;
}
.nsd-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  background: #fff0b8;
  color: #191919;
  font-size: 11px;
  white-space: nowrap;
}
.nsd-event-card__meta {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #777;
  font-size: 12px;
}
.nsd-event-card__meta--date {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nsd-event-card__meta--date svg {
  flex: none;
  margin-right: 0;
  vertical-align: baseline;
}
.nsd-date-text {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nsd-badge--dates {
  flex: none;
  align-self: center;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}
.nsd-event-card__meta svg {
  width: 13px;
  height: 13px;
  margin-right: 3px;
  vertical-align: -2px;
  stroke: #777;
}
.nsd-price {
  font-size: 14px;
  font-weight: 700;
}
.nsd-price span {
  margin-left: 4px;
  color: #777;
  font-size: 11px;
  font-weight: 400;
}
.nsd-results-section + .nsd-results-section {
  margin-top: 23px;
}
.nsd-results-section .nsd-head {
  margin-bottom: 10px;
}
.nsd-count {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 12px;
  background: #fff0b8;
  font-size: 11px;
  font-weight: 600;
}
.nsd-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nsd-results-grid .nsd-event-card {
  width: 100%;
  flex-basis: auto;
  height: auto;
  min-height: 114px;
}
.nsd-results-grid .nsd-event-card__image {
  height: auto;
  align-self: stretch;
  min-height: 90px;
  flex-basis: 72px;
  width: 72px;
}
.nsd-results-grid .nsd-event-card__body {
  gap: 3px;
}
.nsd-results-grid .nsd-event-card__title {
  display: inline;
}
.nsd-venues-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.nsd-results-grid .nsd-badge {
  margin-left: 0;
  vertical-align: baseline;
}
.nsd-small-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  height: 68px;
  padding: 8px;
  border: 1px solid #dedede;
  border-radius: 15px;
}
.nsd-small-card img {
  flex: 0 0 76px;
  width: 76px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}
.nsd-small-card__thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eee;
  color: #777;
}
.nsd-small-card__body {
  min-width: 0;
  flex: 1;
}
.nsd-small-card strong,
.nsd-small-card small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nsd-small-card small {
  color: #777;
  font-size: 12px;
  margin-top: 3px;
}
.nsd-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: #171717;
  -webkit-text-fill-color: #171717;
  font-size: 20px;
}
.nsd-profile-row {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.nsd-profile-row:not(.nsd-profile-row--end) {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 52px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 52px), transparent 100%);
}
.nsd-profile-row::-webkit-scrollbar {
  display: none;
}
.nsd-profile {
  flex: 0 0 196px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 54px;
  padding: 6px;
  border: 1px solid #dedede;
  border-radius: 28px;
}
.nsd-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  /*background: #eee;*/
}
.nsd-profile span {
  min-width: 0;
}
.nsd-profile strong,
.nsd-profile small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nsd-profile small {
  color: #777;
  font-size: 11px;
}
.nsd-mobile-search {
  display: none;
}
.nsd-open .hv3-search-group .yhm_header_search > div {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
}
.nsd-header-input {
  display: block;
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #171717;
  font: inherit;
}
.nsd-header-input::placeholder {
  color: #777e8c;
}
.nsd-no-results {
  padding: 30px 10px;
  text-align: center;
  color: #777;
}
@media (max-width: 700px) {
  .nsd-scroll-indicator {
    display: none !important;
  }
  .nsd-backdrop {
    inset: var(--nsd-header-bottom, 0px) 0 0;
  }
  .nsd-dialog {
    top: calc(var(--nsd-header-bottom, 0px) + 6px);
    width: calc(100vw - 24px);
    max-height: calc(100dvh - var(--nsd-header-bottom, 0px) - 18px);
  }
  .nsd-content {
    max-height: calc(100dvh - var(--nsd-header-bottom, 0px) - 18px);
    padding: 16px 24px 16px 16px;
  }
  .nsd-dialog.nsd-standalone-search .nsd-mobile-search {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
  }
  .nsd-mobile-search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 22px;
  }
  .nsd-mobile-search button {
    border: 0;
    background: none;
    font-size: 24px;
  }
  .nsd-welcome-top,
  .nsd-results-grid,
  .nsd-venues-grid {
    grid-template-columns: 1fr;
  }
  .nsd-welcome-top {
    min-height: 0;
  }
  .nsd-results-grid .nsd-event-card {
    height: auto;
    min-height: 108px;
  }
  .nsd-discovery-card { flex-basis: 112px; }
  .nsd-discovery-card__image { height: 150px; }
}

a.nsd-chip {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nsd-header-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.nsd-header-clear {
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  color: #555;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
