* {
  box-sizing: border-box
}

img {
  max-width: 100%;
  display: block
}


/* Container: dikey liste */
.arya-results {
  display: flex;
  flex-direction: column;
  gap: var(--arya-gap)
}

/* Card */
.arya-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--arya-border);
  border-radius: 0;
  overflow: hidden;
  background: var(--arya-card-bg);
  box-shadow: var(--arya-card-shadow);
  color: var(--arya-card-text)
}

@media (min-width:768px) {
  .arya-card {
    flex-direction: row
  }
}

.arya-card__img-wrap {
  aspect-ratio: 16/10;
  background: #f3f4f6;
  overflow: hidden
}

@media (min-width:768px) {
  .arya-card__img-wrap {
    width: 50%;
    aspect-ratio: auto
  }
}

.arya-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.arya-card__body {
  padding: 14px;
  width: 100%
}

/* Title */
.arya-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px
}

.arya-card__title a {
  color: inherit;
  text-decoration: none
}

.arya-card__title a:hover {
  text-decoration: underline
}

/* Badges */
.arya-badges {
  display: flex;
  gap: 8px;
  margin: 6px 0 12px
}

.badge.arya-badge {
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--arya-card-badge-bg);
  color: var(--arya-card-badge-fg)
}

.badge.arya-badge--low {
  background: var(--arya-card-badge-low-bg);
  color: var(--arya-card-badge-low-fg)
}

/* Info row */
.arya-card__row {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between
}

.arya-card__info-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto
}

@media (max-width:767.98px) {
  .arya-card__info-wrapper {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    margin-top: 10px
  }
}

.price {
  font-size: 18px;
  font-weight: 700
}

.nights {
  font-size: 12px;
  color: var(--arya-card-muted);
  margin-top: 2px
}



/* Feedback */
.arya-empty,
.arya-error {
  padding: .75rem;
  border-radius: 8px;
  margin: 8px 0
}

.arya-empty {
  background: #fff3cd;
  border: 1px solid #ffecb5
}

.arya-error {
  background: #f8d7da;
  border: 1px solid #f5c2c7
}

/* Modal (mevcut JS için) */
.arya-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999
}

.arya-modal[hidden] {
  display: none
}

.arya-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5)
}

.arya-modal__dialog {
  position: relative;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 900px;
  width: 92%;
  height: 90%;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  z-index: 1
}

.arya-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer
}

.arya-modal__actions {
  text-align: right;
  margin-top: 16px
}

.arya-confirm {
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.arya-confirm .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: arya-spin .8s linear infinite
}

@keyframes arya-spin {
  to {
    transform: rotate(360deg)
  }
}