:root {
  --purple: #7a1a4e;
  --purple-dark: #5c1339;
  --orange: #f4801f;
  --orange-dark: #d96a10;
  --green: #2e9e4f;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --border: #e4e0e3;
  --bg: #f7f5f6;
  --white: #ffffff;
  --radius: 10px;
}

* { box-sizing: border-box; touch-action: manipulation; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1800px; margin: 0 auto; padding: 0 100px; }
@media (max-width: 1300px) { .container { padding: 0 40px; } }
@media (max-width: 640px) { .container { padding: 0 16px; } }
button { font-family: inherit; cursor: pointer; }

/* Header */
.site-header { background: var(--purple); color: var(--white); }
.header-top { border-bottom: 1px solid rgba(255,255,255,0.12); }
.header-top-inner { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.icon-btn { background: none; border: none; color: var(--white); font-size: 21px; }
.logo { font-weight: 700; font-size: 21px; color: var(--white); }
.logo span { color: var(--orange); }
.logo-tag { font-weight: 400; font-size: 13px; color: rgba(255,255,255,0.85); margin-left: 6px; }
.header-links { margin-left: auto; display: flex; gap: 28px; align-items: center; font-size: 13px; }
.header-links a { opacity: 0.9; }
.auth-link { font-weight: 600; opacity: 1 !important; }

.search-bar-wrap { padding-top: 18px; padding-bottom: 18px; }
.search-bar {
  display: flex;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 1000px;
}
.search-bar > *:first-child,
.search-bar .sb-field:first-child { border-top-left-radius: var(--radius); border-bottom-left-radius: var(--radius); overflow: hidden; }
.search-bar > *:last-child { border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.search-bar input {
  border: none;
  padding: 16px 18px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  border-right: 1px solid var(--border);
}
.search-bar input[name="q"] { flex: 2; border: none; padding: 13px 16px; font-size: 13px; outline: none; width: 100%; }
.sb-field { position: relative; display: flex; flex: 1; border-right: 1px solid var(--border); }
.sb-field.sb-dest { flex: 2; border-right: 1px solid var(--border); }
.sb-field .sb-trigger {
  flex: 1; background: none; border: none; text-align: left; padding: 13px 16px; font-size: 13px;
  color: var(--text); cursor: pointer; font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-field .sb-trigger:hover { background: #faf8f9; }

.sb-popover {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 50;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.16); padding: 16px; color: var(--text);
}
.sb-popover.open { display: block; }

/* Calendar */
.sb-cal-popover { width: 320px; }
.sb-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }
.sb-cal-head button { background: none; border: 1px solid var(--border); border-radius: 6px; width: 30px; height: 30px; cursor: pointer; font-size: 15px; }
.sb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.sb-cal-dow { text-align: center; font-size: 11px; color: var(--muted); padding: 4px 0; }
.sb-cal-day {
  text-align: center; padding: 8px 0; font-size: 12px; border: none; background: none; border-radius: 6px; cursor: pointer; color: var(--text);
}
.sb-cal-day:hover:not(.disabled) { background: #f1e6ed; }
.sb-cal-day.selected { background: var(--orange); color: var(--white); font-weight: 600; }
.sb-cal-day.in-range { background: #fbe3cd; }
.sb-cal-day.disabled { color: #ccc; cursor: not-allowed; }
.sb-cal-day.sb-cal-blank { cursor: default; }
.sb-cal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.sb-cal-clear { background: none; border: none; color: var(--muted); font-size: 12px; cursor: pointer; text-decoration: underline; }
.sb-cal-apply { background: var(--orange); color: var(--white); border: none; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 12px; cursor: pointer; }

/* Guests popover */
.sb-guests-popover { width: 260px; }
.sb-stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.sb-stepper-label { font-size: 13px; }
.sb-stepper { display: flex; align-items: center; gap: 12px; }
.sb-stepper button {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--white);
  font-size: 15px; cursor: pointer; line-height: 1; color: var(--purple);
}
.sb-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.sb-stepper span { min-width: 16px; text-align: center; font-weight: 600; }
.sb-ages { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }
.sb-ages-title { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sb-age-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 12px; }
.sb-age-select { flex: 1; padding: 6px 8px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; }
.sb-guests-apply { width: 100%; margin-top: 12px; background: var(--orange); color: var(--white); border: none; padding: 10px; border-radius: 6px; font-weight: 600; cursor: pointer; }

.btn-search {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 0 24px;
  font-weight: 600;
  font-size: 13px;
}
.btn-search:hover { background: var(--orange-dark); }

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 100px 0 76px;
}
.hero h1 { font-size: 39px; margin: 0 0 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }
.hero p { font-size: 17px; margin: 0 0 28px; text-shadow: 0 2px 10px rgba(0,0,0,0.45); }

@media (max-width: 900px) {
  .header-top-inner { flex-wrap: wrap; gap: 12px; }
  .header-links { margin-left: 0; width: 100%; justify-content: flex-start; gap: 18px; flex-wrap: wrap; }
  .logo { font-size: 22px; }
  .logo-tag { display: none; }
  .search-bar { flex-direction: column; max-width: none; }
  .search-bar > *:first-child, .search-bar .sb-field:first-child { border-radius: 0; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
  .search-bar > *:last-child { border-radius: 0; border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
  .sb-field { border-right: none; border-bottom: 1px solid var(--border); }
  .sb-field.sb-dest { flex: 1; }
  .search-bar input[name="q"] { border-right: none; }
  .btn-search { padding: 16px; }
  .sb-popover { left: 0; right: 0; width: auto !important; max-width: calc(100vw - 32px); }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 18px; }
}
.hero-checks { display: flex; gap: 28px; margin-top: 16px; font-size: 14px; flex-wrap: wrap; }
.hero-checks span { display: flex; align-items: center; gap: 6px; }

/* Sections */
.section { padding: 60px 0; }
.section h2 { font-size: 29px; margin: 0 0 24px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-more { color: var(--purple); font-weight: 600; font-size: 13px; white-space: nowrap; }
.section-more:hover { color: var(--orange); }

.chip-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.chip {
  display: inline-block; padding: 8px 16px; border-radius: 0; border: 1px solid var(--border);
  font-size: 12px; color: var(--text); background: rgba(255, 255, 255, 0.86);
}
.chip:hover { border-color: var(--purple); }
.chip.active { background: var(--purple); color: var(--white); border-color: var(--purple); }

/* Popular destinations grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.region-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 170px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 17px;
  background-size: cover;
  background-position: center;
}
.region-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.region-card span { position: relative; z-index: 1; }
.region-card small { display: block; font-weight: 400; font-size: 11px; opacity: 0.85; }

/* Accommodation cards */
.listing-grid { display: flex; flex-direction: column; gap: 16px; }
.acc-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 16px;
}
.acc-card .acc-photo { width: 260px; min-width: 260px; height: 180px; border-radius: 0; overflow: hidden; position: relative; }
.acc-card .acc-photo img { width: 100%; height: 100%; object-fit: cover; }
.acc-card .acc-body { flex: 1; display: flex; flex-direction: column; }
.acc-card h3 { margin: 0 0 4px; font-size: 18px; }
.acc-card--featured { position: relative; border: 1.5px solid var(--purple); background: #fff; }
.acc-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 4px 10px;
}
.acc-card h3 a:hover { color: var(--purple); }
.acc-stars { color: var(--orange); font-size: 12px; }
.acc-type { color: var(--muted); font-size: 12px; margin: 4px 0; }
.acc-capacity { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; margin: 2px 0 4px; }
.acc-capacity svg { flex-shrink: 0; }
.acc-amenities { display: flex; gap: 6px; margin: 8px 0; font-size: 15px; color: var(--muted); }
.acc-footer {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.acc-price-block { text-align: left; }
.acc-price { font-size: 21px; font-weight: 700; color: #1e6b3a; }
.acc-price-note { font-size: 11px; color: var(--muted); }
.acc-view-btn {
  flex-shrink: 0; background: var(--purple); color: var(--white); font-weight: 600; font-size: 13px;
  padding: 10px 22px; white-space: nowrap;
}
.acc-view-btn:hover { background: var(--purple-dark); }
.acc-rating-wrap { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.rating-badge {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--green); font-size: 13px;
}
.rating-text { text-align: right; font-size: 12px; }
.rating-text strong { display: block; color: var(--text); }
.rating-text span { color: var(--muted); }

/* Grid cards (homepage featured) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--border); border-radius: 0; overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.card .photo { display: block; height: 170px; overflow: hidden; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; }
.card .content { padding: 14px; }
.card h3 { font-size: 15px; margin: 0 0 6px; }
.card .acc-footer { padding-top: 8px; }

.attractions-cta {
  display: inline-flex; align-items: center; gap: 8px; background: var(--purple); color: var(--white);
  font-weight: 600; font-size: 14px; padding: 12px 22px; margin: 16px 0 0;
}
.attractions-cta:hover { background: var(--purple-dark); }
.card-cazari-link { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--purple); }
.card-cazari-link:hover { color: var(--orange); }
.card-cazari-link.secondary { color: var(--muted); margin-top: 12px; }
.card-cazari-link.secondary:hover { color: var(--text); }
.see-all-link { display: inline-block; margin-top: 16px; font-weight: 600; color: var(--purple); font-size: 14px; }
.see-all-link:hover { color: var(--orange); }

.pill { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; margin: 6px 0; }
.pill-green { background: #eafaf0; color: #1e8e4f; }

/* Mobile toolbar (Booking-style: Sortare / Filtrați / Hartă) */
.mobile-toolbar-v2 { display: none; }
.quick-chips { display: none; }
.qchip {
  display: inline-block; flex-shrink: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text); background: var(--white); white-space: nowrap;
}
.qchip.active { background: var(--purple); color: var(--white); border-color: var(--purple); }
.drawer-head { display: none; }
.drawer-close-x { text-decoration: none; color: var(--text); font-size: 17px; padding: 4px 8px; }

.mobile-modal { display: none; }
.mobile-modal:target {
  display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 300; background: var(--white);
  overscroll-behavior: contain;
}
.mm-head {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
  border-bottom: 1px solid var(--border); font-size: 14px; flex-shrink: 0;
}
.mm-body { padding: 8px 16px 24px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

.map-drawer-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.region-map-col { flex: 1; min-height: 0; position: relative; display: flex; flex-direction: column; }
.split-list { display: none; }
.split-card {
  display: flex; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); cursor: pointer;
}
.split-card:hover { background: #f7f7fa; }
.split-card-photo { width: 84px; min-width: 84px; height: 68px; border-radius: 8px; overflow: hidden; }
.split-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-card-body { min-width: 0; }
.split-card-body h4 { font-size: 13.5px; margin: 2px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.split-list-empty { padding: 24px 16px; color: var(--muted); font-size: 13px; text-align: center; }

@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  30% { transform: translate(-50%, -130%); }
  60% { transform: translate(-50%, -95%); }
}
.price-pin.bounce { animation: pin-bounce 0.6s ease; }
.mm-option { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--text); font-size: 14px; }
.mm-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; position: relative; }
.mm-option.active .mm-radio { border-color: var(--purple); }
.mm-option.active .mm-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--purple); }
.mm-option.active { color: var(--purple); font-weight: 600; }

.results-top-actions { display: flex; align-items: center; gap: 16px; }
.desktop-map-link { font-size: 13px; font-weight: 600; color: var(--purple); white-space: nowrap; }
.desktop-map-link:hover { color: var(--orange); }

.region-map { flex: 1; width: 100%; min-height: 0; position: relative; z-index: 0; }
.leaflet-container { font-family: inherit; }
.leaflet-control-attribution { font-size: 8px; padding: 0 4px; line-height: 1.4; }
.price-pin-wrap { background: none; border: none; }
.price-pin {
  background: var(--white); color: var(--text); border: 1px solid var(--border); border-radius: 20px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transform: translate(-50%, -100%);
}
.price-pin.selected { background: var(--purple); color: var(--white); border-color: var(--purple); }

.price-cluster-wrap { background: none; border: none; }
.price-cluster {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--purple); color: var(--white); border: 3px solid var(--white);
  font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.map-preview-card {
  display: none; position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 400;
  background: var(--white); border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  overflow: hidden; max-width: 420px;
}
.map-preview-card.open { display: flex; }
.mpc-photo { width: 110px; min-width: 110px; height: 100px; }
.mpc-photo img { width: 100%; height: 100%; object-fit: cover; }
.mpc-body { padding: 10px 12px; min-width: 0; }
.mpc-type { font-size: 10px; color: var(--muted); }
.mpc-body h4 { font-size: 13px; margin: 2px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpc-price { font-size: 12px; font-weight: 700; color: #1e6b3a; }
.mpc-price span { font-weight: 400; color: var(--muted); font-size: 10px; }

/* Desktop split map view: full-screen takeover, Booking-style flat/clean, no rounded corners */
.map-close-pill { display: none; }
@media (min-width: 901px) {
  #mapDrawer:target {
    flex-direction: row; border: none; border-radius: 0;
  }
  #mapDrawer .mm-head { display: none; }
  .map-drawer-body { flex-direction: row; flex: 1; min-height: 0; }
  #mapDrawer .sidebar#filterDrawer {
    display: block; width: 300px; min-width: 300px; height: 100%; overflow-y: auto;
    border-right: 1px solid var(--border); padding: 20px; margin: 0;
  }
  #mapDrawer .filter-group { border-radius: 0; border: none; border-bottom: 1px solid var(--border); padding: 16px 0; margin: 0; }
  #mapDrawer .filter-map-preview { display: none; }
  .split-list { display: block; width: 380px; min-width: 380px; overflow-y: auto; border-right: 1px solid var(--border); background: var(--white); }
  .split-card-photo { border-radius: 0; }
  .map-preview-card { display: none !important; }
  .map-close-pill {
    display: flex; align-items: center; gap: 8px; position: absolute; top: 16px; right: 16px; z-index: 500;
    background: var(--white); border-radius: 4px; padding: 10px 16px; font-weight: 600; font-size: 13px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25); text-decoration: none; color: var(--text);
  }
  .map-close-pill span { font-size: 15px; }
  .map-close-pill:hover { background: #f7f7fa; }
}

.filter-map-preview { position: relative; height: 160px; margin-bottom: 16px; border: 1px solid var(--border); overflow: hidden; }
.filter-preview-map-canvas { width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.filter-map-preview-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10;
  display: flex; align-items: center; gap: 6px; background: var(--white); color: #333;
  padding: 10px 16px; font-weight: 600; font-size: 13px; box-shadow: 0 2px 8px rgba(0,0,0,0.3); white-space: nowrap;
}
.filter-map-preview-btn svg { color: #333; }
.filter-map-preview-btn:hover { background: #f2f2f2; }

/* Sidebar filters */
.page-layout { display: flex; gap: 28px; align-items: flex-start; }
.sidebar { width: 260px; min-width: 260px; }
.filter-group { background: rgba(255, 255, 255, 0.86); border: 1px solid var(--border); border-radius: 0; padding: 16px; margin-bottom: 16px; }
.filter-group h4 { margin: 0 0 10px; font-size: 14px; }
.filter-group label { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; color: var(--text); }
.filter-group .count { margin-left: auto; color: var(--muted); font-size: 11px; }
.content-col { flex: 1; min-width: 0; }
.results-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.results-count { color: var(--muted); font-size: 13px; }
.sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 0; background: rgba(255, 255, 255, 0.86); }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: var(--muted); padding: 16px 0 4px; }
.breadcrumb a:hover { color: var(--purple); }

/* Detail page */
.detail-hero { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; height: 420px; }
.detail-hero .main-photo { grid-row: 1 / 3; }
.detail-hero > div { cursor: pointer; position: relative; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.detail-hero > div:hover img { transform: scale(1.04); }
.detail-hero .hero-more-badge {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px;
}
.mobile-photo-count { display: none; }
.hero-heart {
  position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; font-size: 17px; color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.hero-heart.liked { color: #e0294a; }

.review-scroll { display: flex; flex-direction: column; gap: 12px; }
.review-avatar { display: none; }
.review-see-all { display: none; }
.review-author-name { font-size: 11px; color: var(--muted); margin-top: 6px; font-style: italic; }

.btn-view-gallery {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 10px 16px;
  font-weight: 600; font-size: 12px; cursor: pointer; margin-bottom: 20px; color: var(--text);
}
.btn-view-gallery .icon-camera { flex-shrink: 0; }
.btn-view-gallery:hover { border-color: var(--purple); color: var(--purple); }

/* Gallery grid overlay */
.gallery-grid-overlay {
  display: none; position: fixed; inset: 0; background: var(--white); z-index: 195;
  flex-direction: column; overflow-y: auto;
}
.gallery-grid-overlay.open { display: flex; }
.ggo-head {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.ggo-back { background: none; border: none; font-size: 19px; cursor: pointer; color: var(--text); padding: 4px; }
.ggo-head strong { font-size: 15px; }
.ggo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.ggo-item { border: none; padding: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.ggo-item img { width: 100%; height: 100%; object-fit: cover; }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200;
  align-items: center; justify-content: center; touch-action: pan-y pinch-zoom;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 4px; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,0.12); color: var(--white); border: none;
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 20px; right: 20px; width: 40px; height: 40px; font-size: 17px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 25px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 13px; }
@media (max-width: 700px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}
.detail-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.detail-title-row h1 { margin: 0 0 6px; font-size: 27px; }
.detail-address { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13px; }
.detail-address .icon-pin { flex-shrink: 0; }
.detail-layout { display: flex; gap: 32px; align-items: flex-start; }
.detail-main { flex: 1; min-width: 0; }
.detail-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--border); margin-bottom: 24px; font-weight: 500; }
.detail-tabs a { padding: 14px 4px; display: block; color: var(--muted); border-bottom: 3px solid transparent; }
.detail-tabs a.active, .detail-tabs a:hover { color: var(--orange); border-color: var(--orange); }
.detail-section { margin-bottom: 36px; }
.detail-section h2 { font-size: 19px; margin: 0 0 16px; }
.amenities-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.amenities-list li { list-style: none; display: flex; gap: 8px; font-size: 13px; }

.booking-box {
  width: 320px; min-width: 320px; background: rgba(255, 255, 255, 0.86); border: 1px solid var(--border); border-radius: 0; padding: 18px; position: sticky; top: 20px;
}
.booking-box .bb-row { display: flex; border-bottom: 1px solid var(--border); font-size: 11px; }
.booking-box .bb-row > div { flex: 1; padding: 10px 12px; }
.booking-box .bb-row > div:not(:last-child) { border-right: 1px solid var(--border); }
.booking-box .bb-row .label { display: block; color: var(--muted); margin-bottom: 4px; }
.booking-box .bb-note { background: #eef1fb; color: #33449b; font-size: 12px; padding: 10px 12px; margin-top: 14px; border-radius: 6px; }
.booking-box .bb-price { display: flex; justify-content: space-between; align-items: flex-end; margin: 16px 0; }
.booking-box .bb-price .amount { font-size: 25px; font-weight: 700; }
.btn-primary {
  display: block; width: 100%; background: var(--orange); color: var(--white); border: none; text-align: center;
  padding: 14px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.btn-primary:hover { background: var(--orange-dark); }

.room-row { display: flex; gap: 16px; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin-bottom: 14px; }
.room-row img { width: 140px; height: 100px; object-fit: cover; border-radius: 6px; }
.room-row .room-info h4 { margin: 0 0 6px; }
.room-row .room-meta { font-size: 12px; color: var(--muted); display: flex; gap: 14px; }
.room-row .room-price { margin-left: auto; text-align: right; font-weight: 700; }

.review-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.review-card .review-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.review-card .review-head strong { color: var(--text); display: block; }
.review-text { margin: 0; }

.related-attractions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.related-attraction-link { display: flex; align-items: center; gap: 10px; color: var(--text); }
.related-attraction-link:hover { color: var(--purple); }
.related-attraction-link img { width: 52px; height: 52px; object-fit: cover; flex-shrink: 0; }
.related-attraction-link span { font-size: 13px; font-weight: 600; line-height: 1.3; }

.rating-summary { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rating-summary .big { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; color: var(--green); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

.legal-page { max-width: 820px; padding: 20px 0 60px; }
.legal-page h1 { font-size: 29px; margin: 0 0 6px; }
.legal-updated { color: var(--muted); font-size: 12px; margin-bottom: 28px; }
.legal-page h2 { font-size: 18px; margin: 28px 0 10px; }
.legal-page p, .legal-page li { color: var(--text); line-height: 1.7; font-size: 14px; }
.attraction-article h2 { font-size: 19px; margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.attraction-article h2:first-child { margin-top: 0; }
.attraction-article { max-width: 820px; }
.legal-page ul { padding-left: 20px; }
.legal-page a { color: var(--purple); text-decoration: underline; }

/* Footer */
.site-footer { background: var(--purple-dark); color: rgba(255,255,255,0.85); margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 48px; padding-bottom: 48px; }
.footer-col-destinations { min-width: 340px; }
.footer-destinations-grid { column-count: 2; column-gap: 32px; }
.footer-destinations-grid li { break-inside: avoid; }
.footer-col h4 { color: var(--white); margin: 0 0 12px; }
.footer-col p { font-size: 13px; line-height: 1.6; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a:hover { color: var(--orange); }
.footer-legal-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px;
  padding: 22px 26px; margin-bottom: 32px;
}
.footer-legal-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700;
}
.footer-legal-text { flex: 1; }
.footer-legal-text h5 { margin: 4px 0 10px; font-size: 14px; color: var(--white); }
.footer-legal-text p { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.78); margin: 0; }
.footer-legal-text a { text-decoration: underline; color: var(--white); font-weight: 600; }
.footer-legal-text strong { color: rgba(255,255,255,0.95); }
.footer-legal-company {
  flex-shrink: 0; display: flex; flex-direction: column; gap: 3px; text-align: right;
  border-left: 1px solid rgba(255,255,255,0.16); padding-left: 20px; min-width: 190px;
  font-size: 12px; color: rgba(255,255,255,0.8);
}
.footer-legal-company-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.footer-legal-company strong { color: var(--white); font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; padding-bottom: 16px; font-size: 12px; text-align: center; }

.cookie-banner {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
  padding: 18px 24px; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-banner.open { display: flex; }
.cookie-banner-text { flex: 1; min-width: 240px; font-size: 13px; color: var(--text); line-height: 1.5; }
.cookie-banner-text a { color: var(--purple); font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { font-weight: 600; font-size: 13px; padding: 10px 20px; border: 1px solid var(--border); cursor: pointer; white-space: nowrap; }
.cookie-btn-reject { background: var(--white); color: var(--text); }
.cookie-btn-reject:hover { background: var(--bg); }
.cookie-btn-accept { background: var(--purple); color: var(--white); border-color: var(--purple); }
.cookie-btn-accept:hover { background: var(--purple-dark); }
@media (max-width: 640px) {
  .cookie-banner { padding: 16px; flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}
@media (max-width: 700px) {
  .footer-legal-box { flex-direction: column; }
  .footer-legal-company { border-left: none; padding-left: 0; text-align: left; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 14px; }
}
@media (max-width: 700px) { .footer-destinations-grid { column-count: 1; } }

/* Admin */
.admin-body { background: #f1f2f6; font-family: 'Poppins', sans-serif; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: var(--purple-dark); color: var(--white); padding: 20px 0; }
.admin-sidebar .brand { padding: 0 20px 20px; font-weight: 700; font-size: 17px; }
.admin-sidebar a { display: block; padding: 10px 20px; color: rgba(255,255,255,0.85); font-size: 13px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.admin-main { flex: 1; padding: 28px; }
.admin-card { background: var(--white); border-radius: 10px; padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.admin-table th { color: var(--muted); font-weight: 600; }
.admin-actions a { margin-right: 10px; font-size: 12px; color: var(--purple); }
.admin-actions .danger { color: #c0392b; }
.btn { display: inline-block; background: var(--orange); color: var(--white); padding: 10px 18px; border-radius: 6px; border: none; font-weight: 600; font-size: 13px; }
.btn.secondary { background: var(--purple); }
.btn.ghost { background: transparent; color: var(--purple); border: 1px solid var(--purple); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.form-row input[type=text], .form-row input[type=number], .form-row input[type=email], .form-row input[type=password],
.form-row select, .form-row textarea, .form-row input[type=file] {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; font-family: inherit; font-size: 13px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--purple); }
.login-box { background: var(--white); padding: 40px; border-radius: 10px; width: 440px; }
.alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 13px; }
.alert.error { background: #fdecea; color: #c0392b; }
.alert.success { background: #eafaf0; color: #1e8e4f; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }
.badge.published { background: #eafaf0; color: #1e8e4f; }
.badge.draft { background: #f1f2f6; color: #6b6b6b; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs img { width: 90px; height: 70px; object-fit: cover; border-radius: 4px; }

@media (max-width: 900px) {
  .page-layout, .detail-layout { flex-direction: column; }
  .booking-box { width: 100%; min-width: 0; position: static; }
  .acc-card { flex-direction: column; }
  .acc-card .acc-photo { width: 100%; }
  .detail-hero { grid-template-columns: 1fr; grid-template-rows: repeat(3, 160px); height: auto; }
  .detail-hero .main-photo { grid-row: auto; }
  .footer-inner { gap: 32px; }
  .footer-col-destinations { min-width: 0; width: 100%; }

  .mobile-toolbar-v2 {
    display: flex; justify-content: space-between; position: sticky; top: 0; z-index: 60; background: var(--white);
    border-bottom: 1px solid var(--border); padding: 14px 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  }
  .mtv-link { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--purple); }
  .mtv-icon { width: 17px; height: 17px; flex-shrink: 0; }

  .quick-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; margin: 0 -16px; }

  .results-top { display: none; }

  .sidebar { display: none; }
  .sidebar#filterDrawer:target {
    display: block; position: fixed; inset: 0; z-index: 300; background: var(--white);
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 0 16px 24px; width: 100%; min-width: 0;
  }
  .drawer-head {
    display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: var(--white);
    padding: 14px 0; border-bottom: 1px solid var(--border); margin: 0 -16px 12px; padding-left: 16px; padding-right: 16px; font-size: 15px;
  }

  .review-scroll { flex-direction: row; overflow-x: auto; gap: 12px; padding-bottom: 4px; scroll-snap-type: x mandatory; }
  .review-scroll .review-card { min-width: 260px; max-width: 260px; scroll-snap-align: start; flex-shrink: 0; }
  .review-avatar {
    display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg); font-size: 15px; margin-bottom: 8px;
  }
  .review-text { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .review-see-all { display: block; margin-top: 12px; font-weight: 600; color: var(--purple); font-size: 14px; }
}

@media (max-width: 640px) {
  h1 { font-size: 19px !important; line-height: 1.3; }
  .section h2, .section-head h2 { font-size: 22px; }
  .section { padding: 36px 0; }

  .header-top-inner { padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .logo { font-size: 23px; }
  .header-links { gap: 12px; font-size: 12.5px; }
  .search-bar-wrap { padding-top: 10px; padding-bottom: 10px; }
  .search-bar input[name="q"] { padding: 11px 14px; font-size: 14px; }
  .sb-field .sb-trigger { padding: 11px 14px; font-size: 14px; }
  .btn-search { padding: 12px; font-size: 13px; }
  .icon-btn { font-size: 18px; }

  .filter-group { padding: 14px; margin-bottom: 10px; }
  .filter-group h4 { font-size: 13px; margin: 0 0 8px; }
  .filter-group label { font-size: 13px; padding: 6px 0; }
  .filter-group input[type="checkbox"], .filter-group input[type="radio"] { width: 16px; height: 16px; flex-shrink: 0; margin: 0; }

  .attractions-cta { display: flex; justify-content: center; width: 100%; margin: 18px 0 28px; }
  .chip-filters { margin-top: 0; }

  /* prevent iOS auto-zoom on focus */
  input, select, textarea, button { font-size: 16px; }
  .search-bar input[name="q"], .sb-field .sb-trigger, .btn-search { font-size: 14px; }

  .regions-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .region-card { height: 120px; font-size: 14px; padding: 10px; }
  .region-card small { font-size: 11px; }

  .acc-card { flex-direction: row; padding: 0; gap: 0; overflow: hidden; align-items: stretch; min-height: 190px; }
  .acc-card .acc-photo { width: 42%; min-width: 42%; height: auto; align-self: stretch; border-radius: 0; }
  .acc-card .acc-body { padding: 12px 14px; display: flex; flex-direction: column; }
  .acc-card h3 { font-size: 14px; margin: 0 0 2px; line-height: 1.25; }
  .acc-card .acc-stars { font-size: 11px; }
  .acc-card .acc-type { font-size: 11px; margin: 2px 0; }
  .acc-card .acc-capacity { font-size: 11px; margin: 0 0 4px; }
  .acc-card .pill { font-size: 10px; padding: 3px 8px; margin: 4px 0; }
  .acc-card .acc-footer { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; border-top: none; }
  .acc-card .acc-view-btn { display: none; }
  .acc-card .acc-price-block { display: flex; flex-direction: column; gap: 0; }
  .acc-card .acc-price { font-size: 16px; }
  .acc-card .rating-text { display: none; }
  .acc-card .rating-badge { width: 34px; height: 34px; font-size: 12px; border-width: 2px; }
  .acc-card .acc-price-note { font-size: 10px; }

  .card .photo { height: 140px; }

  .detail-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-title-row h1 { font-size: 22px; }
  .detail-hero {
    display: block; height: auto; border-radius: 0; margin-left: -16px; margin-right: -16px; width: calc(100% + 32px);
  }
  .detail-hero > div:not(.main-photo) { display: none; }
  .detail-hero .main-photo { height: 260px; border-radius: 0; }
  .mobile-photo-count {
    display: flex; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.5); color: var(--white); flex-direction: column;
    padding: 14px 22px; border-radius: 10px; font-size: 13px; font-weight: 600; align-items: center; gap: 4px;
  }
  .mpc-dots { font-size: 20px; }
  .btn-view-gallery { display: none; }
  .detail-tabs { gap: 14px; overflow-x: auto; white-space: nowrap; margin-top: 16px; }
  .amenities-list { grid-template-columns: 1fr; }

  .room-row { flex-direction: column; }
  .room-row img { width: 100%; height: 160px; }
  .room-row .room-price { margin-left: 0; text-align: left; }

  .rating-summary { flex-wrap: wrap; }

  .footer-legal-box { padding: 16px; }
  .footer-destinations-grid { column-count: 1; }

  .login-box { width: 100%; max-width: 340px; padding: 28px 20px; }
  .admin-main { padding: 16px; }
  .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; padding: 10px 0; }
  .admin-sidebar .brand { padding: 0 16px 10px; }
  .admin-sidebar a { display: inline-block; padding: 8px 12px; font-size: 13px; }
}
