/* =========================================================
   STAYS PAGE — Styles
   ========================================================= */

/* --- Page Hero Banner --- */
.stays-hero {
  position: relative;
  height: 340px;
  background: url('https://images.unsplash.com/photo-1566073771259-6a8506099945?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  padding-top: 60px;
}

.stays-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 78, 59, .65), rgba(6, 78, 59, .45));
}

.stays-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.stays-hero__tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 10px;
}

.stays-hero__heading {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.stays-hero__sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Filter Bar --- */
.stays-filter {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: sticky;
  top: 60px;
  z-index: 100;
}

.stays-filter__container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 14px 40px;
}

/* Search row */
.sf-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sf-search__input-wrap {
  flex: 1;
  position: relative;
}

.sf-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.78rem;
  pointer-events: none;
}

.sf-search__input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  border: 1.5px solid rgba(6, 95, 70, .18);
  border-radius: 10px;
  background: #fafafa;
  color: var(--charcoal);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.sf-search__input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, .08);
}

.sf-search__input::placeholder {
  color: #aaa;
}

.sf-search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.15rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}

.sf-search__clear:hover {
  color: var(--charcoal);
}

/* Toggle filters button */
.sf-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1.5px solid rgba(6, 95, 70, .2);
  border-radius: 10px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}

.sf-toggle:hover,
.sf-toggle.active {
  border-color: var(--emerald);
  color: var(--emerald);
  background: rgba(6, 95, 70, .04);
}

.sf-toggle__badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Type pill bar */
.stays-filter__bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
}

.stays-filter__bar::-webkit-scrollbar {
  display: none;
}

.stays-filter__btn {
  flex-shrink: 0;
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid rgba(6, 95, 70, .2);
  border-radius: 24px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all .25s ease;
}

.stays-filter__btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.stays-filter__btn.active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

/* ---- Advanced Filter Panel ---- */
.sf-panel {
  margin-top: 16px;
  padding: 20px 24px 18px;
  background: #fafafa;
  border: 1px solid rgba(6, 95, 70, .1);
  border-radius: 14px;
  animation: sfSlideDown .3s ease;
}

@keyframes sfSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sf-panel__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.sf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-group--full {
  margin-bottom: 16px;
}

.sf-group__label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}

.sf-select {
  padding: 9px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  border: 1.5px solid rgba(6, 95, 70, .15);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  outline: none;
  cursor: pointer;
  transition: border-color .25s ease;
  appearance: auto;
}

.sf-select:focus {
  border-color: var(--emerald);
}

.sf-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sf-range__input {
  flex: 1;
  padding: 9px 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  border: 1.5px solid rgba(6, 95, 70, .15);
  border-radius: 8px;
  background: #fff;
  color: var(--charcoal);
  outline: none;
  width: 70px;
  transition: border-color .25s ease;
}

.sf-range__input:focus {
  border-color: var(--emerald);
}

.sf-range__sep {
  color: #bbb;
  font-size: 0.9rem;
}

/* Amenity checkboxes */
.sf-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sf-amenity-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  border: 1.5px solid rgba(6, 95, 70, .15);
  border-radius: 20px;
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: all .25s ease;
  user-select: none;
}

.sf-amenity-chip:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.sf-amenity-chip.active {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}

.sf-amenity-chip i {
  font-size: 0.7rem;
}

/* Panel actions */
.sf-panel__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sf-btn {
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sf-btn--apply {
  background: var(--emerald);
  color: #fff;
}

.sf-btn--apply:hover {
  background: #054f3c;
}

.sf-btn--reset {
  background: transparent;
  border: 1.5px solid rgba(6, 95, 70, .2);
  color: var(--charcoal);
}

.sf-btn--reset:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.sf-results-count {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #888;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .sf-panel__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .stays-filter__container {
    padding: 12px 16px;
  }
  .sf-search {
    flex-direction: column;
    gap: 8px;
  }
  .sf-toggle {
    width: 100%;
    justify-content: center;
  }
  .sf-panel__row {
    grid-template-columns: 1fr;
  }
  .sf-panel {
    padding: 16px 14px 14px;
  }
}

/* --- Grid Section --- */
.stays-grid-section {
  background: #f8f8f6;
  padding: 48px 0 64px;
}

.stays-grid__container {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 40px;
}

.stays-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.stays-grid__loading,
.stays-grid__empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--gray);
}

.stays-grid__loading i,
.stays-grid__empty i {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
  color: var(--emerald);
}

.stays-grid__loading p,
.stays-grid__empty p {
  font-size: 0.82rem;
}

/* =============================================
   STAY CARD (Page version — larger with gallery)
   ============================================= */
.sp-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}

.sp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
}

/* --- Image Gallery --- */
.sp-card__gallery {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sp-card__gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.sp-card:hover .sp-card__gallery-main {
  transform: scale(1.05);
}

/* Thumbnail strip */
.sp-card__thumbs {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 4px;
}

.sp-card__thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .85);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity .25s ease, border-color .25s ease;
}

.sp-card__thumb:hover,
.sp-card__thumb.active {
  opacity: 1;
  border-color: var(--orange);
}

/* Photo count badge */
.sp-card__photo-count {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, .6);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Type badge */
.sp-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  border-radius: 4px;
}

.sp-card__type--hotel   { background: var(--emerald); }
.sp-card__type--airbnb  { background: #FF5A5F; }
.sp-card__type--lodge   { background: var(--orange); }

/* --- Body --- */
.sp-card__body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sp-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 6px;
}

.sp-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.sp-card__stars i {
  font-size: 0.64rem;
  color: #f59e0b;
}

.sp-card__stars i.empty {
  color: #d6d3d1;
}

.sp-card__location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 10px;
}

.sp-card__location i {
  font-size: 0.6rem;
  color: var(--orange);
}

.sp-card__desc {
  font-size: 0.74rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Amenities row --- */
.sp-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.sp-card__amenity {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  color: var(--charcoal);
  background: #f1f5f4;
  padding: 4px 8px;
  border-radius: 4px;
}

.sp-card__amenity i {
  font-size: 0.56rem;
  color: var(--emerald);
}

/* --- Footer --- */
.sp-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  margin-top: auto;
}

.sp-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.sp-card__price-amount {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald);
}

.sp-card__price-per {
  font-size: 0.58rem;
  font-weight: 400;
  color: var(--gray);
}

.sp-card__actions {
  display: flex;
  gap: 8px;
}

.sp-card__btn {
  padding: 8px 18px;
  font-size: 0.66rem;
  font-weight: 600;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}

.sp-card__btn--view {
  background: transparent;
  color: var(--emerald);
  border: 1px solid rgba(6, 95, 70, .25);
}

.sp-card__btn--view:hover {
  background: var(--emerald);
  color: var(--white);
}

.sp-card__btn--book {
  background: var(--orange);
  color: var(--white);
}

.sp-card__btn--book:hover {
  background: #c85f16;
}

/* =============================================
   DETAIL MODAL
   ============================================= */
.stay-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.stay-modal.open {
  display: flex;
}

.stay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.stay-modal__panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  max-width: 780px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}

.stay-modal__panel::-webkit-scrollbar { width: 5px; }
.stay-modal__panel::-webkit-scrollbar-track { background: transparent; }
.stay-modal__panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 10px; }

.stay-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255,255,255,.9);
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal gallery */
.sm-gallery {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.sm-gallery__main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .85);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: background .25s ease;
}

.sm-gallery__nav:hover {
  background: var(--white);
}

.sm-gallery__nav--prev { left: 12px; }
.sm-gallery__nav--next { right: 12px; }

.sm-gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.sm-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s ease;
}

.sm-gallery__dot.active {
  background: var(--white);
}

/* Modal content */
.sm-content {
  padding: 28px 28px 24px;
}

.sm-type {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  border-radius: 4px;
  margin-bottom: 10px;
}

.sm-type--hotel   { background: var(--emerald); }
.sm-type--airbnb  { background: #FF5A5F; }
.sm-type--lodge   { background: var(--orange); }

.sm-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.sm-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}

.sm-stars i {
  font-size: 0.72rem;
  color: #f59e0b;
}

.sm-stars i.empty {
  color: #d6d3d1;
}

.sm-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--gray);
  margin-bottom: 16px;
}

.sm-location i {
  color: var(--orange);
  font-size: 0.66rem;
}

.sm-desc {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Amenities grid */
.sm-amenities {
  margin-bottom: 24px;
}

.sm-amenities h3 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.sm-amenities__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sm-amenity-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f4;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.68rem;
  color: var(--charcoal);
}

.sm-amenity-tag i {
  color: var(--emerald);
  font-size: 0.64rem;
}

/* Modal footer */
.sm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid rgba(0, 0, 0, .06);
  background: #fafaf9;
  border-radius: 0 0 12px 12px;
}

.sm-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald);
}

.sm-price small {
  font-size: 0.64rem;
  font-weight: 400;
  color: var(--gray);
}

.sm-book-btn {
  padding: 12px 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sm-book-btn:hover {
  background: #c85f16;
}

/* =============================================
   BOOKING FORM OVERLAY
   ============================================= */
.stay-booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.stay-booking-overlay.open {
  display: flex;
}

.stay-booking-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}

.stay-booking-panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: 12px;
  max-width: 520px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  padding: 32px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,.18) transparent;
}

.stay-booking-panel::-webkit-scrollbar { width: 5px; }
.stay-booking-panel::-webkit-scrollbar-track { background: transparent; }
.stay-booking-panel::-webkit-scrollbar-thumb { background: rgba(0,0,0,.18); border-radius: 10px; }

.stay-booking-panel h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.stay-booking-panel .sbk-stay-name {
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 20px;
}

.stay-booking-panel .sbk-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
  line-height: 1;
}

.sbk-field {
  margin-bottom: 14px;
}

.sbk-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.sbk-field input,
.sbk-field select,
.sbk-field textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.74rem;
  font-family: var(--font-body);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 6px;
  background: #fafaf9;
  transition: border-color .25s ease;
}

.sbk-field input:focus,
.sbk-field select:focus,
.sbk-field textarea:focus {
  outline: none;
  border-color: var(--emerald);
}

.sbk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sbk-submit {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .25s ease;
  margin-top: 6px;
}

.sbk-submit:hover {
  background: #c85f16;
}

.sbk-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sbk-msg {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  margin-top: 10px;
  min-height: 18px;
}

.sbk-msg.success { color: var(--emerald); }
.sbk-msg.error   { color: #dc2626; }

/* =============================================
   PAGINATION
   ============================================= */
.stays-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 40px;
  padding: 0 16px;
}

.sp-pg__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s ease;
}

.sp-pg__btn:hover:not(.disabled):not(.sp-pg__btn--active) {
  border-color: var(--emerald);
  color: var(--emerald);
  background: #f0fdf4;
}

.sp-pg__btn--active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  pointer-events: none;
}

.sp-pg__btn--nav {
  color: var(--gray);
  font-size: 0.72rem;
}

.sp-pg__btn--nav:hover:not(.disabled) {
  color: var(--emerald);
  border-color: var(--emerald);
}

.sp-pg__btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.sp-pg__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 38px;
  font-size: 0.88rem;
  color: var(--gray);
  letter-spacing: 0.1em;
}

.sp-pg__info {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray);
  margin-left: 12px;
}

@media (max-width: 600px) {
  .stays-pagination {
    margin-top: 28px;
    gap: 4px;
  }

  .sp-pg__btn {
    min-width: 34px;
    height: 34px;
    font-size: 0.74rem;
  }

  .sp-pg__info {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stays-grid__container {
    padding: 0 24px;
  }

  .stays-filter__container {
    padding: 14px 24px;
  }
}

@media (max-width: 768px) {
  .stays-grid__container {
    padding: 0 10px;
  }

  .stays-filter__container {
    padding: 14px 10px;
  }

  .stays-hero {
    height: 260px;
    padding-top: 40px;
  }

  .stays-hero__heading {
    font-size: 1.8rem;
  }

  .stays-filter {
    top: 56px;
  }

  .sp-card__gallery {
    height: 180px;
  }

  .sm-gallery {
    height: 240px;
  }

  .sm-content {
    padding: 20px;
  }

  .sm-footer {
    padding: 14px 20px;
  }

  .sbk-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .stays-grid__container {
    padding: 0 6px;
  }

  .stays-filter__container {
    padding: 12px 6px;
  }

  .stays-page-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stays-hero__heading {
    font-size: 1.5rem;
  }

  .stays-hero__sub {
    font-size: 0.74rem;
  }

  .sm-gallery {
    height: 200px;
  }

  .sm-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .sm-book-btn {
    width: 100%;
    justify-content: center;
  }
}
