/* ──────────────────────────────────────────────
   SwakopNow — Main Stylesheet
   Clean Modern Theme · 2026
────────────────────────────────────────────── */

/* ── RESET & VARIABLES ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-brand:    #1a6b5c;
  --c-brand-l:  #22907a;
  --c-accent:   #e8a838;
  --c-bg:       #f7f7f5;
  --c-surface:  #ffffff;
  --c-border:   #e4e4e0;
  --c-text:     #1a1a18;
  --c-muted:    #6b6b62;
  --c-star:     #f5a623;
  --c-airbnb:   #ff5a5f;
  --c-booking:  #003580;
  --c-local:    #1a6b5c;
  --c-manual:   #555;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);

  --font: 'Inter', system-ui, sans-serif;
  --transition: 200ms ease;

  --header-h: 72px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--c-bg); color: var(--c-text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, select, button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* ── HEADER ──────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header--solid,
.header.scrolled {
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.25rem; color: var(--c-brand); flex-shrink: 0; }
.logo--light .logo__mark,
.logo--light .logo__text { color: white; }
.logo__mark { font-size: 1.4rem; }

/* Nav */
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav__link {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--c-text);
  transition: background var(--transition);
}
.nav__link:hover { background: var(--c-bg); }

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 540px;
  background: linear-gradient(135deg, #0d4a3d 0%, #1a6b5c 40%, #2a8a75 70%, #1e5c4e 100%);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 1; padding: 80px 0 60px; }
.hero__eyebrow { font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.hero__title { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; color: white; line-height: 1.15; margin-bottom: 12px; }
.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 36px; }

/* Search card */
.search-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  max-width: 860px;
}
.search-form {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0;
}
.search-field {
  display: flex; flex-direction: column;
  padding: 10px 16px; flex: 1; min-width: 140px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.search-field:hover { background: var(--c-bg); }
.search-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin-bottom: 2px; }
.search-input {
  border: none; outline: none; background: transparent;
  font-size: .95rem; font-weight: 500; color: var(--c-text);
  width: 100%;
  appearance: none; -webkit-appearance: none;
}
.search-divider { width: 1px; height: 40px; background: var(--c-border); flex-shrink: 0; }
.search-btn {
  background: var(--c-brand); color: white;
  border: none; border-radius: var(--radius);
  padding: 14px 28px; font-size: .95rem; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.search-btn:hover { background: var(--c-brand-l); transform: scale(1.02); }

/* ── STATS STRIP ──────────────────────────── */
.stats-strip {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 20px 0;
}
.stats-strip__inner { display: flex; gap: 0; justify-content: space-around; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat__num { font-size: 1.5rem; font-weight: 700; color: var(--c-brand); }
.stat__label { font-size: .8rem; color: var(--c-muted); font-weight: 500; }

/* ── SECTIONS ──────────────────────────────── */
.section { padding: 64px 0; }
.section--alt { background: var(--c-surface); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-size: 1.5rem; font-weight: 700; }
.section-link { font-size: .9rem; font-weight: 600; color: var(--c-brand); }
.section-link:hover { text-decoration: underline; }

/* ── LISTING CARD ─────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.listing-card {
  background: var(--c-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
  cursor: pointer;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #e0e0da; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.listing-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-source-badge {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 8px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: white;
}
.badge--airbnb  { background: var(--c-airbnb); }
.badge--booking { background: var(--c-booking); }
.badge--local   { background: var(--c-brand); }
.badge--manual  { background: var(--c-manual); }

.card-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); font-size: 1rem;
  transition: transform var(--transition);
}
.card-wishlist:hover { transform: scale(1.15); }

.card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card-type { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.card-title { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card-meta { font-size: .82rem; color: var(--c-muted); }
.card-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.amenity-tag {
  font-size: .72rem; background: var(--c-bg);
  border: 1px solid var(--c-border); border-radius: 20px;
  padding: 2px 8px; color: var(--c-muted);
}

.card-footer {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 12px 16px; border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.card-price .amount { font-size: 1.1rem; font-weight: 700; color: var(--c-text); }
.card-price .per { font-size: .78rem; color: var(--c-muted); }
.card-rating { display: flex; align-items: center; gap: 4px; }
.rating-star { color: var(--c-star); font-size: .9rem; }
.rating-val { font-size: .85rem; font-weight: 600; }
.rating-count { font-size: .78rem; color: var(--c-muted); }

/* ── SKELETON LOADERS ──────────────────────── */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-card, .sk-block {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #ebebeb 25%, #f5f5f3 50%, #ebebeb 75%);
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite;
}
.skeleton-card { height: 340px; }
.sk-title { height: 32px; width: 60%; margin-bottom: 20px; border-radius: var(--radius-sm); }
.sk-gallery { height: 380px; margin-bottom: 24px; }
.sk-body { height: 200px; }

/* ── STEPS / HOW IT WORKS ─────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 40px; }
.step { text-align: center; }
.step__icon { font-size: 2.4rem; margin-bottom: 12px; }
.step__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step__desc { font-size: .9rem; color: var(--c-muted); line-height: 1.7; }

/* ── TYPE GRID ────────────────────────────── */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-top: 28px; }
.type-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; border-radius: var(--radius);
  background: var(--c-surface); border: 1px solid var(--c-border);
  font-weight: 500; font-size: .9rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.type-card:hover { border-color: var(--c-brand); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.type-card__icon { font-size: 1.8rem; }

/* ── COMPACT SEARCH BAR (listings page) ───── */
.search-bar-compact {
  flex: 1; display: flex; align-items: center;
  background: var(--c-bg); border: 1px solid var(--c-border);
  border-radius: 40px; padding: 6px 8px; gap: 4px;
  max-width: 640px;
}
.sbc__field {
  border: none; background: transparent; outline: none;
  font-size: .88rem; padding: 4px 8px; min-width: 0; flex: 1;
}
.sbc__field--sm { flex: 0 0 80px; }
.sbc__sep { color: var(--c-border); font-size: 1.1rem; flex-shrink: 0; }
.sbc__btn {
  background: var(--c-brand); color: white;
  border: none; border-radius: 30px;
  padding: 8px 18px; font-size: .85rem; font-weight: 600; cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
}
.sbc__btn:hover { background: var(--c-brand-l); }

/* ── LISTINGS PAGE LAYOUT ─────────────────── */
.listings-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 64px;
  align-items: start;
}

/* ── FILTERS SIDEBAR ──────────────────────── */
.filters-sidebar {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky; top: calc(var(--header-h) + 16px);
}
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.filters-header h3 { font-size: 1rem; font-weight: 700; }
.filters-reset { border: none; background: none; color: var(--c-brand); font-size: .85rem; font-weight: 600; cursor: pointer; }

.filter-group { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--c-border); }
.filter-group:last-of-type { border-bottom: none; margin-bottom: 12px; }
.filter-label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin-bottom: 10px; }

.price-range { display: flex; align-items: center; gap: 8px; }
.price-input {
  flex: 1; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  padding: 8px 10px; font-size: .88rem; outline: none;
  transition: border-color var(--transition);
}
.price-input:focus { border-color: var(--c-brand); }

.checkbox-list { display: flex; flex-direction: column; gap: 8px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; }
.checkbox-item input { accent-color: var(--c-brand); width: 16px; height: 16px; }

.button-group { display: flex; flex-wrap: wrap; gap: 6px; }
.btn-pill {
  padding: 6px 14px; border-radius: 20px; border: 1px solid var(--c-border);
  font-size: .82rem; font-weight: 500; background: transparent;
  cursor: pointer; transition: all var(--transition);
}
.btn-pill:hover, .btn-pill.active {
  background: var(--c-brand); border-color: var(--c-brand); color: white;
}

.btn-apply {
  width: 100%; padding: 12px;
  background: var(--c-brand); color: white; border: none;
  border-radius: var(--radius-sm); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition);
}
.btn-apply:hover { background: var(--c-brand-l); }

/* ── RESULTS BAR ──────────────────────────── */
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.results-count { font-size: .9rem; color: var(--c-muted); }
.sort-control { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.sort-select { border: 1px solid var(--c-border); border-radius: var(--radius-sm); padding: 6px 10px; font-size: .88rem; outline: none; }

/* ── PAGINATION ───────────────────────────── */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.page-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  border: 1px solid var(--c-border); background: var(--c-surface);
  font-size: .88rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.page-btn.active { background: var(--c-brand); border-color: var(--c-brand); color: white; }
.page-btn:hover:not(.active) { border-color: var(--c-brand); color: var(--c-brand); }

/* ── DETAIL PAGE ──────────────────────────── */
.detail-page { padding-top: 32px; padding-bottom: 64px; }

.detail-header { margin-bottom: 20px; }
.detail-type-badge { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-brand); margin-bottom: 6px; }
.detail-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.detail-meta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--c-muted); }
.detail-rating { display: flex; align-items: center; gap: 4px; color: var(--c-text); font-weight: 600; }

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 32px;
}
.gallery__main { grid-row: 1 / 3; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Detail body */
.detail-body { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.detail-info {}
.detail-section { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--c-border); }
.detail-section:last-child { border-bottom: none; }
.detail-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 14px; }
.detail-specs { display: flex; gap: 24px; flex-wrap: wrap; }
.spec-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 18px; border: 1px solid var(--c-border); border-radius: var(--radius); min-width: 80px; }
.spec-item__icon { font-size: 1.4rem; }
.spec-item__val { font-size: .95rem; font-weight: 700; }
.spec-item__label { font-size: .72rem; color: var(--c-muted); }

.amenities-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-item { display: flex; align-items: center; gap: 6px; font-size: .88rem; padding: 6px 12px; background: var(--c-bg); border-radius: 20px; }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 20px; }
.review-item { padding: 16px; background: var(--c-bg); border-radius: var(--radius); }
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--c-brand); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; }
.review-name { font-weight: 600; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--c-muted); }
.review-stars { color: var(--c-star); letter-spacing: 1px; font-size: .85rem; }
.review-text { font-size: .88rem; line-height: 1.7; color: var(--c-text); }

/* Booking card */
.booking-card {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.booking-card__price { margin-bottom: 16px; }
.booking-card__price .amount { font-size: 1.6rem; font-weight: 700; }
.booking-card__price .per { font-size: .85rem; color: var(--c-muted); }
.booking-date-row { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.booking-date-field { padding: 12px; border-right: 1px solid var(--c-border); }
.booking-date-field:last-child { border-right: none; }
.booking-date-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin-bottom: 2px; }
.booking-date-field input { border: none; outline: none; font-size: .9rem; font-weight: 500; width: 100%; }
.booking-guests { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 12px; margin-bottom: 16px; }
.booking-guests select { border: none; outline: none; font-size: .9rem; font-weight: 500; width: 100%; }
.booking-btn {
  width: 100%; padding: 16px;
  background: var(--c-brand); color: white;
  border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-bottom: 12px;
}
.booking-btn:hover { background: var(--c-brand-l); transform: scale(1.01); }
.booking-external-note { font-size: .78rem; color: var(--c-muted); text-align: center; margin-bottom: 16px; }
.booking-external-note a { color: var(--c-brand); font-weight: 600; }
.booking-breakdown { border-top: 1px solid var(--c-border); padding-top: 16px; }
.breakdown-row { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 8px; }
.breakdown-row--total { font-weight: 700; border-top: 1px solid var(--c-border); padding-top: 10px; margin-top: 8px; }

/* ── FOOTER ──────────────────────────────── */
.footer { background: #111; color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; margin-bottom: 40px; }
.footer__tagline { margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.5); max-width: 260px; }
.footer__links { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer__col a { font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__col a:hover { color: white; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; }
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer__bottom a { color: rgba(255,255,255,.5); }
.footer--compact { background: #111; color: rgba(255,255,255,.4); padding: 16px 0; text-align: center; font-size: .8rem; }
.footer--compact a { color: rgba(255,255,255,.55); }

/* ── SOURCE COMPARE BADGE ─────────────────── */
.source-compare { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.source-offer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: var(--radius);
  border: 1px solid var(--c-border); font-size: .88rem;
}
.source-offer--best { border-color: var(--c-brand); background: #f0faf8; }
.source-offer__logo { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: 4px; color: white; }
.source-offer__price { font-weight: 700; }
.source-offer__link { color: var(--c-brand); font-weight: 600; font-size: .82rem; }
.best-value-tag { background: var(--c-accent); color: white; font-size: .68rem; font-weight: 700; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; letter-spacing: .05em; }

/* ── FLATPICKR OVERRIDES ─────────────────── */
.flatpickr-calendar { font-family: var(--font); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.flatpickr-months .flatpickr-month { background: var(--c-brand); color: white; border-radius: var(--radius) var(--radius) 0 0; }
.flatpickr-current-month { color: white; }
.flatpickr-current-month input.cur-year { color: white; }
.flatpickr-current-month .flatpickr-monthDropdown-months { color: white; background: var(--c-brand); }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { color: white; fill: white; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--c-accent); }
.flatpickr-weekdays { background: var(--c-brand); }
span.flatpickr-weekday { background: var(--c-brand); color: rgba(255,255,255,.75); font-weight: 600; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--c-brand); border-color: var(--c-brand); color: white; }
.flatpickr-day.today { border-color: var(--c-brand); }
.flatpickr-day.today:hover { background: var(--c-brand-l); border-color: var(--c-brand-l); color: white; }
.flatpickr-day:hover { background: #e8f5f2; }
/* Alt input styling — inherits search-input but needs display forced */
.flatpickr-input.alt-input { display: block !important; cursor: pointer; }
.flatpickr-input[readonly] { cursor: pointer; }
/* Extra padding on booking card date inputs */
.booking-date-field .flatpickr-input { width: 100%; border: none; outline: none; font-size: .9rem; font-weight: 500; background: transparent; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 960px) {
  .listings-page { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .detail-body { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .gallery__main { grid-column: 1 / 3; grid-row: 1; }
}
@media (max-width: 720px) {
  .search-form { flex-direction: column; }
  .search-divider { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { flex-wrap: wrap; gap: 24px; }
  .header__inner { gap: 12px; }
  .search-bar-compact { display: none; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery .gallery__img:not(:first-child) { display: none; }
}
