/* ═══════════════════════════════════════════════════════════
   QARIBIA — Stays / Accommodation Page CSS
   ══════════════════════════════════════════════════════════ */

/* ── 1. Hero: Asymmetrical & Biophilic ────────────────── */
.stays-hero {
  position: relative;
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.stays-hero__bg {
  position: absolute;
  inset: 0;
}

.stays-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.stays-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(13, 27, 42, 0.95) 0%, rgba(26, 58, 46, 0.7) 45%, transparent 100%);
}

.stays-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 max(20px, 5vw) 80px;
  max-width: 900px;
  margin: 0;
}

.stays-hero__title {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.stays-hero__title em {
  font-style: italic;
  color: var(--amber-light);
}

.stays-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb i {
  font-size: 0.55rem;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.7);
}

/* ── 2. Controls Bar: Floating Glassmorphism ──────────── */
.stays-controls {
  position: sticky;
  top: 80px;
  z-index: 90;
  margin: -45px max(20px, 5vw) 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.stays-controls__inner {
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stays-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 16px;
}

.stays-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  flex: 1;
  min-width: 0;
}

.stays-search-field>i {
  color: var(--amber);
  font-size: 1rem;
  flex-shrink: 0;
}

.stays-search-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.stays-date-input,
.stays-guest-select {
  width: 100%;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
}

.stays-search-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.stays-search-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--forest), var(--deep-green));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--trans-base);
}

.stays-search-btn:hover {
  box-shadow: 0 8px 24px rgba(26, 58, 46, 0.25);
  transform: translateY(-2px);
}

.stays-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stays-filters__left {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.stays-filter {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--warm-white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stays-filter:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stays-filter.active {
  background: var(--deep-green);
  border-color: var(--deep-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 58, 46, 0.3);
}

.stays-filters__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stays-eco-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-heading);
}

.stays-eco-toggle input {
  display: none;
}

.eco-check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: all var(--trans-base);
}

.stays-eco-toggle input:checked+.eco-check {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
}

.stays-sort {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
}

/* ── 3. Bento Box Section ─────────────────────────────── */
.stays-bento {
  padding: 40px max(20px, 5vw) 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.stays-bento__header {
  margin-bottom: 32px;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.bento-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

.bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth);
}

.bento-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item--tall {
  grid-row: span 2;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.bento-item:hover .bento-img {
  transform: scale(1.05);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.2) 60%, transparent 100%);
}

.bento-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
  z-index: 2;
}

.bento-item--large .bento-content {
  padding: 32px;
}

.bento-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.bento-tag--eco {
  background: rgba(107, 143, 113, 0.9);
}

.bento-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.bento-item--large .bento-content h3 {
  font-size: 2.2rem;
}

.bento-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.bento-solid-bg {
  background: var(--cream);
  width: 100%;
  height: 100%;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-icon {
  font-size: 2rem;
  color: var(--amber);
  margin-bottom: 16px;
}

.bento-solid-bg h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.bento-solid-bg p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: auto;
}

.bento-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-item:hover .bento-link {
  gap: 10px;
}

/* ── 4. Main Listing ──────────────────────────────────── */
.stays-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px max(20px, 5vw) 100px;
}

.stays-results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.stay-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  position: relative;
}

.stay-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  border-color: rgba(45, 90, 66, 0.15);
}

.stay-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.stay-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.stay-card:hover .stay-card__image img {
  transform: scale(1.06);
}

.stay-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.stay-badge {
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stay-badge--type {
  background: rgba(26, 58, 46, 0.85);
  color: #fff;
}

.stay-badge--eco {
  background: rgba(107, 143, 113, 0.9);
  color: #fff;
}

.stay-badge--featured {
  background: rgba(224, 123, 57, 0.9);
  color: #fff;
}

.stay-card__price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stay-card__price-from {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-heading);
}

.stay-card__price-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stay-card__price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stay-card__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  z-index: 3;
  transition: all var(--trans-base);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stay-card__wishlist:hover,
.stay-card__wishlist.active {
  color: #E53E3E;
  transform: scale(1.1);
}

.stay-card__body {
  padding: 24px;
}

.stay-card__location {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}

.stay-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.stay-card__tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stay-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stay-card__stars i {
  font-size: 0.75rem;
  color: var(--amber);
}

.stay-card__stars i.empty {
  color: rgba(0, 0, 0, 0.1);
}

.stay-card__amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.stay-amenity {
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--warm-white);
  border: 1px solid rgba(0, 0, 0, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stay-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.stay-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stay-card__rating-score {
  background: var(--deep-green);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
}

.stay-card__rating-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   DETAIL MODAL & TOAST (Global Styles)
   ══════════════════════════════════════════════════════════ */
.stay-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}

.stay-modal.open {
  visibility: visible;
  pointer-events: all;
}

.stay-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stay-modal.open .stay-modal__backdrop {
  opacity: 1;
}

.stay-modal__panel {
  position: relative;
  width: 720px;
  max-width: 100%;
  height: 100vh;
  background: var(--warm-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  scrollbar-width: thin;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.stay-modal.open .stay-modal__panel {
  transform: translateX(0);
}

.stay-modal__close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stay-modal__close:hover {
  background: var(--amber);
  color: #fff;
  transform: rotate(90deg);
}

/* Modal Gallery */
.modal-gallery {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery__thumbs {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.modal-thumb {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-thumb.active,
.modal-thumb:hover {
  border-color: #fff;
  opacity: 1;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Content Structure */
.modal-body {
  padding: 40px;
}

.modal-header {
  margin-bottom: 32px;
}

.modal-location {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
}

.modal-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 12px;
}

.modal-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.modal-stars i {
  font-size: 0.85rem;
  color: var(--amber);
}

.modal-rating-line {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-rating-line strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.modal-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
}

.modal-section-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section-title i {
  color: var(--amber);
  font-size: 0.85rem;
}

/* Amenities grid */
.modal-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.modal-amenity {
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-amenity i {
  color: var(--amber);
  font-size: 0.8rem;
}

/* Room types */
.modal-rooms {
  margin-bottom: 40px;
}

.modal-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #fff;
  border: 1.5px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-room:hover,
.modal-room.selected {
  border-color: var(--amber);
  background: rgba(224, 123, 57, 0.03);
}

.modal-room.selected {
  box-shadow: 0 0 0 2px var(--amber);
}

.modal-room__info h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-room__info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-room__price {
  text-align: right;
}

.modal-room__price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-room__price em {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Booking CTA */
.modal-book {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.modal-book__price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-book__price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-book__per {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-book__cancel {
  font-size: 0.8rem;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.modal-book__cancel i {
  font-size: 0.8rem;
}

.modal-book-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--deep-green), var(--forest));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(26, 58, 46, 0.25);
  margin-bottom: 16px;
}

.modal-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 58, 46, 0.35);
}

.modal-book__secure {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.modal-book__secure i {
  color: var(--sage);
}

/* Toast Notification */
.stays-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--charcoal);
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 400px;
}

.stays-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.stays-toast i {
  color: var(--amber);
  font-size: 1.2rem;
}

/* ── 5. Responsive Updates ────────────────────────────── */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item--tall {
    grid-row: span 1;
  }

  .stays-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .stays-hero__content {
    padding: 0 24px 60px;
  }

  .stays-controls {
    margin: -30px 20px 30px;
    border-radius: 16px;
  }

  .stays-controls__inner {
    padding: 16px;
  }

  .stays-search-bar {
    flex-direction: column;
    border: none;
    padding-bottom: 0;
    gap: 12px;
  }

  .stays-search-field {
    padding: 0;
  }

  .stays-search-divider {
    width: 100%;
    height: 1px;
  }

  .stays-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
  }

  .stays-filters__right {
    width: 100%;
    justify-content: space-between;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .bento-item--large {
    grid-column: span 1;
  }

  /* Modal responsive overrides */
  .stay-modal__panel {
    border-radius: 0;
    width: 100%;
  }

  .modal-body {
    padding: 24px;
  }

  .modal-gallery {
    height: 300px;
  }

  .stay-modal__close {
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
  }

  /* Toast responsive */
  .stays-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}