/*
Theme Name: Parkguru
Theme URI: https://parkstaycanada.ca
Author: Park & Stay Canada
Description: Uber-style booking theme for Park & Stay Canada — parking and hotels across Canada. Requires the ParkHotel Core plugin.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: parkguru
*/

:root {
  --psc-primary: #2ecc71;
  --psc-primary-dark: #27ae60;
  --psc-secondary: #1abc9c;
  --psc-accent: #3498db;
  --psc-bg: #ffffff;
  --psc-bg-soft: #f7f9fc;
  --psc-text: #0f1b2d;
  --psc-muted: #6b7280;
  --psc-border: #e5e7eb;
  --psc-shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --psc-shadow-sm: 0 2px 8px rgba(15, 27, 45, 0.06);
  --psc-radius: 14px;
  --psc-radius-lg: 20px;
  --psc-transition: all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--psc-text);
  background: var(--psc-bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
  font-weight: 500;
}

body, button, input, select, textarea {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
}

a { color: var(--psc-primary); text-decoration: none; }
a:hover { color: var(--psc-primary-dark); }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.psc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0);
  backdrop-filter: saturate(180%) blur(10px);
  transition: background .3s, border-color .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.psc-header.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--psc-border);
  box-shadow: 0 2px 20px rgba(10,22,36,.06);
}
body.home .psc-header:not(.scrolled) { color: #fff; }
body.home .psc-header:not(.scrolled) .psc-logo,
body.home .psc-header:not(.scrolled) .psc-nav a { color: #fff; }
body.home .psc-header:not(.scrolled) .psc-logo-amp { color: #6ee7b7; }
body.home .psc-header:not(.scrolled) .psc-nav a:hover { color: rgba(255,255,255,.85); }
body:not(.home) .psc-header { background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--psc-border); }
body:not(.home) { padding-top: 68px; }

/* Generic page wrapper */
.pg-page { min-height: calc(100vh - 68px - 300px); padding: 20px 0; }
.psc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.psc-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--psc-text);
}

/* WordPress dynamic custom logo (Appearance → Customize → Site Identity) */
.psc-logo--custom { display: inline-flex; align-items: center; }
.psc-logo--custom .custom-logo-link { display: inline-flex; align-items: center; }
.psc-logo--custom img.custom-logo {
  max-height: 48px;
  width: auto;
  display: block;
  transition: max-height .2s;
}
@media (max-width: 600px) {
  .psc-logo--custom img.custom-logo { max-height: 36px; }
}
.psc-logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(46,204,113,.35);
}
.psc-logo-amp { color: var(--psc-primary); margin: 0 2px; }
.psc-nav { display: flex; gap: 22px; align-items: center; }
.psc-nav a {
  color: var(--psc-text); font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--psc-transition);
}
.psc-nav a:hover { color: var(--psc-primary-dark); }
.psc-nav-cta {
  padding: 9px 18px; background: var(--psc-primary); color: #fff !important;
  border-radius: 999px;
}
.psc-nav-cta:hover { background: var(--psc-primary-dark); color: #fff !important; }

/* Hero slider */
.psc-hero {
  position: relative;
  padding: 120px 0 160px;
  text-align: center;
  overflow: hidden;
  color: #fff;
  min-height: 720px;
}
.psc-hero-bg { position: absolute; inset: 0; z-index: 0; }
.psc-hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.psc-hero-slide.active { opacity: 1; }
.psc-hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  animation: psc-zoom 12s ease-in-out infinite alternate;
}
@keyframes psc-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.psc-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,36,.7) 0%, rgba(10,22,36,.5) 60%, rgba(10,22,36,.35) 100%),
              linear-gradient(140deg, rgba(46,204,113,.22) 0%, rgba(26,188,156,.1) 100%);
  z-index: 1;
}
.psc-hero-inner { position: relative; z-index: 2; }

/* Hero slide nav dots */
.psc-hero-dots {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; gap: 10px;
}
.psc-hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: all .3s ease; border: 0; padding: 0;
}
.psc-hero-dot.active {
  background: #fff; width: 30px; border-radius: 5px;
}

/* Slide text content (changes per slide) */
.psc-hero-texts { position: relative; height: 160px; }
.psc-hero-text {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(20px);
  transition: all .8s ease;
}
.psc-hero-text.active { opacity: 1; transform: translateY(0); }

.psc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 13px; font-weight: 600; color: #fff;
  margin-bottom: 20px;
}
.psc-pill .psc-ico { color: #ff3b30; }

.psc-hero h1 {
  font-size: 64px; line-height: 1.02; margin: 0 0 18px;
  letter-spacing: -.035em; font-weight: 900; color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.psc-hero p {
  font-size: 20px; color: rgba(255,255,255,.92); margin: 0;
  font-weight: 400; max-width: 640px; margin-left: auto; margin-right: auto;
}

/* SVG icon wrapper */
.psc-ico {
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor; vertical-align: middle;
}
.psc-ico svg { display: block; }

/* Search card — floating on hero, then overlapping next section */
.psc-search-card {
  max-width: 980px; margin: 40px auto 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(10, 22, 36, .25), 0 12px 28px rgba(10, 22, 36, .15);
  padding: 6px;
  transition: var(--psc-transition);
  position: relative;
}
.psc-search-card:hover { box-shadow: 0 35px 80px rgba(10, 22, 36, .3); }

.psc-tabs { display: flex; gap: 4px; padding: 12px 14px 4px; flex-wrap: wrap; }
.psc-tab {
  flex: 0 0 auto; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; color: var(--psc-muted); cursor: pointer;
  transition: var(--psc-transition);
  border: none; background: transparent; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.psc-tab.active {
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
  color: #fff;
  box-shadow: 0 6px 14px rgba(46,204,113,.35);
}
.psc-tab:hover:not(.active) { background: var(--psc-bg-soft); color: var(--psc-text); }

/* Search row — grid with location (wide) + 2 dates + button */
.psc-search-row {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr auto;
  gap: 4px;
  padding: 8px;
  align-items: stretch;
}

/* Each field = icon + vertical (label + input) */
.psc-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: text;
  transition: background .2s, box-shadow .2s;
  min-width: 0;
  position: relative;
  background: transparent;
}
.psc-field + .psc-field::before {
  content: '';
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: var(--psc-border);
}
.psc-field:hover { background: var(--psc-bg-soft); }
.psc-field:hover + .psc-field::before,
.psc-field:focus-within::before,
.psc-field:focus-within + .psc-field::before { opacity: 0; }
.psc-field:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--psc-primary), 0 8px 20px rgba(46,204,113,.15);
  z-index: 1;
}

.psc-field-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eafff4; color: var(--psc-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.psc-field-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.psc-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--psc-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 3px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.psc-field input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--psc-text);
  line-height: 1.3;
  text-overflow: ellipsis;
}
.psc-field input::placeholder { color: #9ca3af; font-weight: 500; }
.psc-field input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.5) sepia(1) saturate(5) hue-rotate(100deg);
}

/* Autocomplete dropdown */
.psc-autocomplete {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15,27,45,.2);
  overflow: hidden;
  z-index: 10;
  max-height: 340px;
  overflow-y: auto;
}
.psc-ac-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background .15s;
  color: var(--psc-text);
}
.psc-ac-item:hover, .psc-ac-item.active { background: #eafff4; }
.psc-ac-item svg { color: var(--psc-primary); flex-shrink: 0; }
.psc-ac-item strong { font-size: 14px; font-weight: 600; display: block; }
.psc-ac-item small { font-size: 12px; color: var(--psc-muted); }
.psc-ac-loading, .psc-ac-empty {
  padding: 16px 20px; color: var(--psc-muted);
  font-size: 13px; font-style: italic; text-align: center;
}
.psc-ac-loading::before {
  content: '';
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid #d4f7e5; border-top-color: var(--psc-primary);
  border-radius: 50%;
  animation: psc-spin .8s linear infinite;
  margin-right: 8px; vertical-align: middle;
}
@keyframes psc-spin { to { transform: rotate(360deg); } }

/* Section headers inside dropdown */
.psc-ac-head {
  padding: 12px 20px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--psc-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-top: 1px solid var(--psc-border);
  margin-top: 4px;
}
.psc-ac-head:first-child { border-top: 0; margin-top: 0; }

/* "Use Current Location" row */
.psc-ac-current {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  cursor: pointer;
  color: #2ecc71;
  font-weight: 600; font-size: 14px;
  transition: background .15s;
  border-bottom: 1px solid var(--psc-border);
}
.psc-ac-current:hover { background: #eafff4; }
.psc-ac-current svg { color: #2ecc71; flex-shrink: 0; }

/* "Powered by Google" footer */
.psc-ac-footer {
  padding: 8px 20px;
  display: flex; align-items: center; justify-content: flex-end;
  gap: 6px;
  font-size: 11px;
  color: var(--psc-muted);
  border-top: 1px solid var(--psc-border);
  background: var(--psc-bg-soft);
}
.psc-ac-footer img { height: 14px; width: auto; opacity: .85; }
.psc-btn {
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
  color: #fff; border: 0;
  padding: 18px 28px; font-size: 15px; font-weight: 700;
  border-radius: 14px; cursor: pointer; transition: var(--psc-transition);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(46,204,113,.35);
}
.psc-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(46, 204, 113, .45);
  color: #fff;
}

/* Button inside search row */
.psc-search-row .psc-btn { margin: 0; padding: 0 28px; min-height: 62px; }
.psc-btn-ghost { background: transparent; color: var(--psc-primary); border: 1px solid var(--psc-primary); }

/* Suggestion chips */
.psc-suggestions { margin-top: 48px; }
.psc-suggestions h3 { font-size: 14px; color: var(--psc-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.psc-chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.psc-chip {
  background: #fff; border-radius: var(--psc-radius); padding: 20px;
  box-shadow: var(--psc-shadow-sm); cursor: pointer;
  transition: var(--psc-transition); border: 1px solid var(--psc-border);
}
.psc-chip:hover { transform: translateY(-4px); box-shadow: var(--psc-shadow); }
.psc-chip h4 { margin: 0 0 6px; font-size: 16px; }
.psc-chip p { margin: 0; font-size: 13px; color: var(--psc-muted); }

/* ============================================================
   Search Results Page (SpotHero-style)
   ============================================================ */
.container.pg-search-page {
  padding-top: 20px;
  max-width: 1440px !important;
  width: 100%;
}

/* Quick filter chips row */
.pg-quick-chips {
  display: flex; gap: 8px; padding: 12px 0 16px;
  align-items: center; flex-wrap: wrap;
  border-bottom: 1px solid var(--psc-border);
  margin-bottom: 20px;
}
.pg-chip-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--psc-border); background: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--psc-text); cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.pg-chip-btn:hover { border-color: var(--psc-primary); color: var(--psc-primary-dark); }
.pg-chip-btn.active {
  background: var(--psc-text); color: #fff; border-color: var(--psc-text);
}
.pg-chip-btn.active .psc-ico { color: #fff; }
.pg-chip-filters { border-color: var(--psc-text); }
.pg-chip-spacer { flex: 1; }
.pg-chip-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--psc-muted); cursor: pointer;
}
.pg-chip-toggle input { display: none; }
.pg-switch {
  width: 36px; height: 20px; border-radius: 999px;
  background: #cbd5e1; position: relative;
  transition: background .2s;
}
.pg-switch::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: left .2s;
}
.pg-chip-toggle input:checked + .pg-switch { background: var(--psc-primary); }
.pg-chip-toggle input:checked + .pg-switch::after { left: 18px; }

/* 2-column layout: results + map */
.pg-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 20px;
}
.pg-list { min-width: 0 !important; width: 100% !important; }

/* Category select in chips row */
.pg-chip-select {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--psc-border);
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--psc-text);
  cursor: pointer;
  transition: all .2s;
}
.pg-chip-select:hover { border-color: var(--psc-primary); }
.pg-chip-sep { width: 1px; height: 28px; background: var(--psc-border); margin: 0 4px; }

/* Filters modal */
.pg-filters-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; }
.pg-filters-modal.open { display: flex; }
.pg-filters-modal[hidden] { display: none !important; }
.pg-filters-backdrop { position: absolute; inset: 0; background: rgba(10,22,36,.4); backdrop-filter: blur(3px); }
.pg-filters-panel {
  position: relative; z-index: 1;
  width: min(540px, calc(100vw - 40px));
  max-height: 85vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
  overflow: hidden;
}
.pg-filters-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--psc-border); }
.pg-filters-head h3 { margin: 0; font-size: 20px; }
.pg-filters-close {
  background: none; border: 0; font-size: 22px; color: var(--psc-muted);
  cursor: pointer; padding: 4px 10px; border-radius: 8px;
}
.pg-filters-close:hover { background: var(--psc-bg-soft); color: var(--psc-text); }
.pg-filters-body { padding: 20px 24px; overflow-y: auto; flex: 1; }
.pg-filters-foot {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 16px 24px; border-top: 1px solid var(--psc-border);
  background: var(--psc-bg-soft);
}
.pg-amen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* Skeleton placeholder while loading */
.pg-skeleton-card {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 0; border-radius: 14px; background: #fff;
  border: 1px solid var(--psc-border);
  margin-bottom: 12px; overflow: hidden;
  height: 180px;
}
.pg-skeleton-img { background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%); background-size: 200% 100%; animation: psc-shimmer 1.3s linear infinite; }
.pg-skeleton-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.pg-skeleton-line { height: 14px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%); background-size: 200% 100%; animation: psc-shimmer 1.3s linear infinite; }
.pg-skeleton-line.short { width: 45%; }
.pg-skeleton-line.medium { width: 65%; }
@keyframes psc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* List column */
.pg-list { min-width: 0; }

/* Loading/spinner */
.pg-loading { text-align: center; padding: 100px 20px; color: var(--psc-muted); }
.pg-spinner {
  width: 48px; height: 48px; margin: 0 auto 16px;
  border: 4px solid #eafff4; border-top-color: var(--psc-primary);
  border-radius: 50%;
  animation: psc-spin .9s linear infinite;
}
@keyframes psc-spin { to { transform: rotate(360deg); } }

/* Results count bar */
.pg-results-count {
  padding: 10px 16px; border-radius: 10px;
  background: #eafff4; color: var(--psc-primary-dark);
  margin-bottom: 12px; font-size: 13px;
}

/* Map column */
.pg-map-wrap {
  position: sticky; top: 88px;
  height: calc(100vh - 120px);
  border-radius: var(--psc-radius); overflow: hidden;
  box-shadow: var(--psc-shadow-sm);
  border: 1px solid var(--psc-border);
}
#psc-map { width: 100%; height: 100%; background: #f7f9fc; }

/* "Search this area" floating button (SpotHero-style) */
.pg-search-area-btn {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%) translateY(-8px);
  z-index: 999;
  background: #fff;
  color: var(--psc-text);
  border: 1px solid var(--psc-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(10,22,36,.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: all .25s ease;
}
.pg-search-area-btn.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.pg-search-area-btn:hover {
  background: var(--psc-text);
  color: #fff;
  border-color: var(--psc-text);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 10px 28px rgba(10,22,36,.3);
}

/* Price pin on map */
.pg-pin-price {
  background: #fff;
  border: 2px solid var(--psc-text);
  border-radius: 22px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: 13px;
  color: var(--psc-text);
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s;
}
.pg-pin-price:hover,
.pg-pin-price.active {
  background: var(--psc-primary);
  color: #fff;
  border-color: var(--psc-primary);
  transform: scale(1.1);
  z-index: 1000;
}
.leaflet-marker-icon.pg-leaflet-pin { background: transparent !important; border: 0 !important; }

/* Tablet: shrink map column */
@media (max-width: 1280px) {
  .pg-results-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}
/* Smaller tablet: hide map */
@media (max-width: 980px) {
  .pg-results-layout { grid-template-columns: 1fr !important; }
  .pg-map-wrap { display: none !important; }
  .pg-amen-grid { grid-template-columns: 1fr; }
}
.psc-filters, .psc-list, .psc-map-wrap {
  background: #fff; border-radius: var(--psc-radius);
  box-shadow: var(--psc-shadow-sm); padding: 20px;
}
.psc-map-wrap { padding: 0; overflow: hidden; position: sticky; top: 88px; height: calc(100vh - 120px); }
#psc-map { width: 100%; height: 100%; }

.psc-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 14px; border-radius: var(--psc-radius);
  margin-bottom: 14px; transition: var(--psc-transition);
  border: 1px solid transparent;
}
.psc-card:hover { border-color: var(--psc-border); box-shadow: var(--psc-shadow-sm); transform: translateY(-2px); }
.psc-card img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; }
.psc-card__title { font-weight: 700; font-size: 16px; margin: 0 0 4px; }
.psc-card__addr { font-size: 13px; color: var(--psc-muted); margin: 0 0 6px; }
.psc-card__price { font-size: 18px; font-weight: 800; color: var(--psc-primary); }
.psc-badge {
  display: inline-block; padding: 2px 8px; background: #eafff4;
  color: var(--psc-primary-dark); border-radius: 999px; font-size: 12px; font-weight: 600;
}

/* Detail page (Parkguru) */
.pg-gallery {
  display: grid; grid-template-columns: 2fr 1fr; gap: 8px;
  border-radius: var(--psc-radius-lg); overflow: hidden; margin-bottom: 28px;
  height: 460px;
}
.pg-gallery-main img { width: 100%; height: 460px; object-fit: cover; }
.pg-gallery-side { display: grid; grid-template-rows: repeat(2, 1fr); gap: 8px; }
.pg-gallery-side img { width: 100%; height: 226px; object-fit: cover; }

.pg-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 36px; }
.pg-detail-head { margin-bottom: 26px; padding-bottom: 26px; border-bottom: 1px solid var(--psc-border); }
.pg-detail-head h1 { margin: 0 0 10px; font-size: 32px; letter-spacing: -.02em; }
.pg-detail-rating { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--psc-muted); margin-bottom: 8px; }
.pg-detail-rating strong { color: var(--psc-text); font-size: 16px; }
.pg-detail-addr { color: var(--psc-muted); font-size: 15px; margin: 0; }

.pg-amen-section, .pg-access, .pg-reviews { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--psc-border); }
.pg-amen-section h3, .pg-access h3, .pg-reviews h3 { margin: 0 0 18px; font-size: 20px; }
.pg-amen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pg-amen-item { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.pg-amen-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: #eafff4; color: var(--psc-primary-dark);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.pg-access p { color: var(--psc-muted); line-height: 1.7; font-size: 15px; }

/* Reviews */
.pg-review { padding: 18px 0; border-bottom: 1px solid var(--psc-border); }
.pg-review:last-child { border-bottom: 0; }
.pg-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pg-review-head strong { font-size: 15px; }
.pg-review-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--psc-text); }
.pg-review-date { color: var(--psc-muted); font-size: 13px; margin-left: auto; }
.pg-review p { margin: 0; color: var(--psc-muted); font-size: 14px; line-height: 1.6; }

/* Booking box */
.pg-book-box {
  position: sticky; top: 88px; background: #fff;
  border-radius: var(--psc-radius-lg);
  box-shadow: var(--psc-shadow); padding: 26px;
  height: fit-content;
}
.pg-book-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.pg-book-big { font-size: 36px; font-weight: 800; color: var(--psc-primary); }
.pg-book-per { color: var(--psc-muted); font-size: 13px; }
.pg-book-guarantee, .pg-book-pass {
  display: flex; align-items: center; gap: 8px;
  padding: 12px; border-radius: 10px; background: #eafff4;
  color: var(--psc-primary-dark); font-size: 13px; font-weight: 600;
  margin-bottom: 8px;
}
.pg-book-pass { background: #eef6ff; color: #2563eb; }
.pg-book-cancel { text-align: center; font-size: 12px; color: var(--psc-muted); margin: 12px 0 0; }

@media (max-width: 900px) {
  .pg-gallery { grid-template-columns: 1fr; height: auto; }
  .pg-gallery-main img, .pg-gallery-side img { height: 220px; }
  .pg-gallery-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .pg-detail-grid { grid-template-columns: 1fr; }
  .pg-amen-grid { grid-template-columns: 1fr; }
  .pg-book-box { position: static; }
}

/* Dashboard */
.psc-dash { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 24px 0; }
.psc-sidebar { background: #fff; border-radius: var(--psc-radius); padding: 20px; box-shadow: var(--psc-shadow-sm); height: fit-content; }
.psc-sidebar a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--psc-text); font-weight: 500; margin-bottom: 4px; }
.psc-sidebar a.active, .psc-sidebar a:hover { background: #eafff4; color: var(--psc-primary-dark); }

/* Status chips */
.phc-status { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; text-transform: capitalize; }
.phc-confirmed { background: #eafff4; color: #16794c; }
.phc-pending   { background: #fff7e0; color: #8a5a00; }
.phc-cancelled { background: #ffe6e6; color: #8a0b0b; }

/* Mobile */
@media (max-width: 900px) {
  .psc-hero h1 { font-size: 36px; }
  .psc-search-row { grid-template-columns: 1fr; }
  .psc-results-layout { grid-template-columns: 1fr; }
  .psc-map-wrap { height: 300px; position: relative; top: 0; }
  .psc-detail-grid, .psc-dash { grid-template-columns: 1fr; }
}

/* Section heading */
.psc-section-head { text-align: center; margin: 80px auto 36px; max-width: 640px; }
.psc-section-head h2 { font-size: 38px; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 800; }
.psc-section-head p { color: var(--psc-muted); margin: 0; font-size: 17px; font-weight: 400; }

/* Trust strip */
.psc-trust {
  margin-top: -70px; position: relative; z-index: 3;
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 50px rgba(10, 22, 36, .12);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 26px 14px;
  border: 1px solid rgba(255,255,255,.5);
}
.psc-trust-item { display: flex; align-items: center; gap: 14px; padding: 10px 18px; font-size: 14px; }
.psc-trust-item + .psc-trust-item { border-left: 1px solid var(--psc-border); }
.psc-trust-item strong { display: block; color: var(--psc-text); font-size: 15px; }
.psc-trust-item span { color: var(--psc-muted); font-size: 13px; }
.psc-trust-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: #eafff4; color: var(--psc-primary-dark);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}

/* City grid (Canada destinations) */
.psc-city-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.psc-city {
  position: relative; border-radius: var(--psc-radius-lg); overflow: hidden;
  background: #fff; box-shadow: var(--psc-shadow-sm); cursor: pointer;
  transition: var(--psc-transition);
}
.psc-city:hover { transform: translateY(-6px); box-shadow: var(--psc-shadow); }
.psc-city img { width: 100%; height: 220px; object-fit: cover; transition: transform .6s ease; }
.psc-city:hover img { transform: scale(1.06); }
.psc-city-body { padding: 18px 20px 22px; }
.psc-city-title { display: flex; align-items: center; justify-content: space-between; }
.psc-city-title h4 { margin: 0; font-size: 18px; }
.psc-city-body p { margin: 6px 0 0; font-size: 14px; color: var(--psc-muted); }
.psc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: #fff6d6; color: #8a5a00;
  border-radius: 999px; font-size: 12px; font-weight: 700;
}
.psc-badge .psc-ico { color: #f5a623; }

/* Why grid */
.psc-why { margin-bottom: 40px; }
.psc-why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.psc-why-card {
  background: #fff; border-radius: var(--psc-radius-lg);
  padding: 30px 26px; text-align: center;
  box-shadow: var(--psc-shadow-sm);
  transition: var(--psc-transition);
  border: 1px solid var(--psc-border);
}
.psc-why-card:hover { transform: translateY(-4px); box-shadow: var(--psc-shadow); border-color: var(--psc-primary); }
.psc-why-ico {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #eafff4, #d4f7e5);
  color: var(--psc-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.psc-why-card h4 { margin: 0 0 8px; font-size: 18px; }
.psc-why-card p { margin: 0; font-size: 14px; color: var(--psc-muted); line-height: 1.55; }

/* Mobile additions */
@media (max-width: 900px) {
  .psc-hero { padding: 100px 0 120px; min-height: 640px; }
  .psc-hero h1 { font-size: 36px; }
  .psc-hero p { font-size: 16px; }
  .psc-hero-texts { height: 180px; }
  .psc-search-row { grid-template-columns: 1fr; gap: 6px; padding: 10px; }
  .psc-field + .psc-field { border-left: 0; border-top: 1px solid var(--psc-border); }
  .psc-search-row .psc-btn { padding: 16px 28px; min-height: 54px; width: 100%; }
  .psc-trust { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .psc-trust-item + .psc-trust-item { border-left: 0; }
  .psc-trust-item:nth-child(3), .psc-trust-item:nth-child(4) { border-top: 1px solid var(--psc-border); }
  .psc-section-head h2 { font-size: 28px; }
  .psc-section-head { margin: 56px auto 24px; }
}

/* Sticky search header on /search */
.pg-search-header {
  position: sticky; top: 68px; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  padding: 16px 0; margin: 0 -20px 0;
}
.pg-search-bar {
  display: grid; grid-template-columns: auto 2fr 1fr 1fr auto;
  gap: 8px; align-items: center;
  background: #fff; padding: 10px; border-radius: 14px;
  box-shadow: var(--psc-shadow-sm); border: 1px solid var(--psc-border);
}
.pg-search-ico { color: var(--psc-primary); padding-left: 10px; }
.pg-search-bar input {
  border: 0; padding: 12px; font-size: 14px; background: transparent; outline: none;
  border-left: 1px solid var(--psc-border);
}
.pg-search-bar input:first-of-type { border-left: 0; }

/* Filter controls */
.pg-f-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--psc-border); }
.pg-f-block:last-of-type { border-bottom: 0; }
.pg-f-label {
  display: block; font-size: 12px; font-weight: 700; color: var(--psc-muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px;
}
.pg-f-select, .pg-f-range {
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--psc-border); background: #fff; font-size: 14px;
}
.pg-f-range { padding: 0; accent-color: var(--psc-primary); }
.pg-f-range-val { font-size: 13px; color: var(--psc-text); margin-top: 8px; font-weight: 600; }
.pg-amen-list { display: flex; flex-direction: column; gap: 6px; }
.pg-amen {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: 10px; cursor: pointer;
  font-size: 14px; transition: var(--psc-transition);
}
.pg-amen:hover { background: var(--psc-bg-soft); }
.pg-amen input { margin: 0; accent-color: var(--psc-primary); }
.pg-amen .psc-ico { color: var(--psc-primary); }
.pg-btn-ghost {
  width: 100%; padding: 12px; border-radius: 10px;
  border: 1px solid var(--psc-border); background: #fff;
  cursor: pointer; font-weight: 600; color: var(--psc-muted);
  transition: var(--psc-transition);
}
.pg-btn-ghost:hover { border-color: var(--psc-primary); color: var(--psc-primary); }

.pg-results-count {
  padding: 12px 16px; border-radius: 12px;
  background: #eafff4; color: var(--psc-primary-dark);
  margin-bottom: 16px; font-size: 14px;
}

/* Rich result card — SpotHero-style, clean + compact */
.pg-rcard {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  grid-template-rows: auto !important;
  gap: 0 !important;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--psc-border);
  margin-bottom: 14px;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  position: relative;
  height: 170px !important;
  min-height: 170px;
  max-height: 170px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(15,27,45,.04);
}
.pg-rcard::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 2px transparent;
  pointer-events: none;
  transition: box-shadow .2s;
}
.pg-rcard:hover::after { box-shadow: inset 0 0 0 2px var(--psc-primary); }
.pg-rcard:hover {
  border-color: var(--psc-primary);
  box-shadow: 0 8px 24px rgba(15,27,45,.08);
  transform: translateY(-2px);
}
.pg-rcard.active {
  border-color: var(--psc-primary);
  box-shadow: 0 0 0 2px rgba(46,204,113,.2);
}

/* Photo cell — 180px wide exactly */
.pg-rcard-img {
  grid-column: 1 !important;
  grid-row: 1 !important;
  position: relative;
  width: 180px !important;
  height: 168px !important;
  background: linear-gradient(135deg, #eafff4, #d4f7e5);
  overflow: hidden !important;
}
.pg-rcard-img img {
  width: 180px !important;
  height: 168px !important;
  object-fit: cover !important;
  display: block !important;
  color: transparent;
  font-size: 0;
  max-width: 180px !important;
  max-height: 168px !important;
}
.pg-rcard-badge-img {
  position: absolute; top: 10px; left: 10px;
  background: rgba(10,22,36,.9); color: #fff;
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}

/* Ribbon above cards (Shortest Walk / Best Value / etc.) */
.pg-rcard-ribbon {
  position: absolute; top: 0; left: 0;
  background: #0a1624; color: #fff;
  padding: 4px 12px;
  font-size: 11px; font-weight: 700;
  border-radius: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: .05em;
  z-index: 2;
}
.pg-rcard-ribbon.green { background: var(--psc-primary); }
.pg-rcard-ribbon.orange { background: #f59e0b; }

/* Card body — grid column 2, fills remaining width */
.pg-rcard-body {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 14px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  height: 178px !important;
  max-height: 178px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
.pg-rcard-top {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 12px !important;
  align-items: flex-start !important;
  flex-shrink: 0;
}
.pg-rcard-main { flex: 1 1 auto !important; min-width: 0 !important; overflow: hidden !important; }
.pg-rcard-body h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.pg-rcard-rating {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; margin-bottom: 2px;
}
.pg-rcard-rating strong { font-weight: 700; }
.pg-rcard-rating span { color: var(--psc-muted); font-weight: 500; }
.pg-rcard-meta {
  display: flex; gap: 4px; align-items: center;
  font-size: 13px; color: var(--psc-text);
  flex-wrap: nowrap; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.pg-rcard-meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pg-rcard-meta svg { color: var(--psc-muted); flex-shrink: 0; }
.pg-rcard-dist { color: var(--psc-muted); }

/* Price block (top right of card) — no overlap */
.pg-rcard-price-box {
  flex: 0 0 auto;
  text-align: right;
  min-width: 90px;
  padding-left: 8px;
}
.pg-big {
  font-size: 20px;
  font-weight: 800;
  color: var(--psc-text);
  line-height: 1.1;
  white-space: nowrap;
}
.pg-per {
  font-size: 11px;
  color: #2ecc71;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: default;
}

/* Bottom row (amenities) — small inline pills */
.pg-rcard-amen {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  align-items: center !important;
  width: 100%;
  max-height: 28px;
  overflow: hidden;
}
.pg-rcard-amen .pg-chip {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 3px 10px !important;
  background: #eafff4 !important;
  color: #16794c !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}
.pg-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; background: #eafff4; color: #16794c;
  border-radius: 999px; font-size: 11px; font-weight: 600;
}

.pg-rcard-actions {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 8px !important;
  border-top: 1px solid #f0f3f7;
}
.pg-details-link {
  color: #2ecc71 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}
.pg-details-link:hover { text-decoration: underline !important; }
.pg-book-btn {
  padding: 9px 22px !important;
  background: #2ecc71 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  transition: all .2s;
  border: 0 !important;
  cursor: pointer;
  font-family: inherit !important;
  line-height: 1.2 !important;
}
.pg-book-btn:hover { background: #27ae60 !important; color: #fff !important; transform: translateY(-1px); }

/* Real mobile (phone) — stack photo + body vertically */
@media (max-width: 600px) {
  .pg-rcard { flex-direction: column !important; height: auto !important; min-height: 320px !important; }
  .pg-rcard-img {
    flex: 0 0 160px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 160px !important;
  }
  .pg-rcard-img img { width: 100% !important; height: 160px !important; }
  .pg-rcard-body { height: auto !important; }
}
.pg-rcard-badge-img {
  position: absolute; top: 10px; left: 10px;
  background: rgba(15,27,45,.85); color: #fff;
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.pg-rcard-body h4 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.pg-rcard-addr { color: var(--psc-muted); font-size: 13px; margin: 0 0 10px; display: flex; align-items: center; gap: 4px; }
.pg-rcard-meta { display: flex; gap: 14px; font-size: 12px; color: var(--psc-muted); margin-bottom: 10px; flex-wrap: wrap; }
.pg-rcard-meta span { display: inline-flex; align-items: center; gap: 4px; }
.pg-rcard-amen { display: flex; gap: 6px; flex-wrap: wrap; }
.pg-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; background: #eafff4; color: #16794c;
  border-radius: 999px; font-size: 11px; font-weight: 600;
}
.pg-rcard-price {
  text-align: right; display: flex; flex-direction: column; justify-content: space-between;
  min-width: 120px;
}
.pg-rcard-price .pg-big { font-size: 26px; font-weight: 800; color: var(--psc-primary); line-height: 1; }
.pg-rcard-price .pg-per { font-size: 12px; color: var(--psc-muted); }
.pg-rcard-price .pg-book {
  margin-top: 12px; padding: 10px 16px; background: var(--psc-primary);
  color: #fff; border-radius: 10px; font-size: 13px; font-weight: 700;
  display: inline-block; text-align: center;
}
.pg-rcard:hover .pg-book { background: var(--psc-primary-dark); }

/* Category grid (SpotHero-style) */
.psc-cats { margin-bottom: 40px; }
.psc-cat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.psc-cat {
  display: block; background: #fff;
  border-radius: var(--psc-radius-lg);
  overflow: hidden; box-shadow: var(--psc-shadow-sm);
  transition: var(--psc-transition); color: var(--psc-text);
  border: 1px solid var(--psc-border);
}
.psc-cat:hover { transform: translateY(-6px); box-shadow: var(--psc-shadow); border-color: var(--psc-primary); }
.psc-cat-img { height: 160px; overflow: hidden; }
.psc-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.psc-cat:hover .psc-cat-img img { transform: scale(1.08); }
.psc-cat-body { padding: 22px; position: relative; }
.psc-cat-ico {
  position: absolute; top: -22px; right: 22px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--psc-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(46,204,113,.35);
}
.psc-cat-body h4 { margin: 0 0 6px; font-size: 18px; }
.psc-cat-body p { margin: 0; font-size: 13px; color: var(--psc-muted); line-height: 1.5; }

/* How-it-works */
.psc-how { margin-bottom: 40px; }
.psc-how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.psc-step {
  background: #fff; border-radius: var(--psc-radius-lg);
  padding: 36px 26px 28px; text-align: center;
  box-shadow: var(--psc-shadow-sm); position: relative;
  border: 1px solid var(--psc-border);
  transition: var(--psc-transition);
}
.psc-step:hover { transform: translateY(-4px); box-shadow: var(--psc-shadow); }
.psc-step-num {
  position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #1abc9c);
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(46,204,113,.35);
}
.psc-step-ico { color: var(--psc-primary); margin: 8px 0 14px; display: flex; justify-content: center; }
.psc-step h4 { margin: 0 0 8px; font-size: 18px; }
.psc-step p { margin: 0; font-size: 14px; color: var(--psc-muted); line-height: 1.55; }

/* Checkout */
.pg-checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; }
.pg-checkout-form {
  background: #fff; padding: 32px; border-radius: var(--psc-radius-lg);
  box-shadow: var(--psc-shadow-sm); border: 1px solid var(--psc-border);
}
.pg-checkout-form h3 { margin: 0 0 16px; font-size: 18px; }
.pg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--psc-border); background: var(--psc-bg-soft);
  font-size: 15px; margin-bottom: 10px; outline: none; box-sizing: border-box;
  transition: var(--psc-transition);
}
.pg-input:focus { background: #fff; border-color: var(--psc-primary); }

.pg-checkout-summary {
  background: #fff; padding: 24px; border-radius: var(--psc-radius-lg);
  box-shadow: var(--psc-shadow-sm); border: 1px solid var(--psc-border);
  height: fit-content; position: sticky; top: 88px;
}
.pg-checkout-summary img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.pg-checkout-summary h4 { margin: 0 0 4px; font-size: 16px; }
.pg-sum-addr { color: var(--psc-muted); font-size: 13px; margin: 0 0 18px; }
.pg-sum-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; color: var(--psc-muted); }
.pg-sum-line strong { color: var(--psc-text); }
.pg-sum-total {
  display: flex; justify-content: space-between; padding: 14px 0 6px;
  margin-top: 8px; border-top: 1px solid var(--psc-border);
  font-size: 18px;
}
.pg-sum-total strong { color: var(--psc-primary); font-weight: 800; }
.pg-sum-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

/* Confirmation */
.pg-confirm-card {
  background: #fff; border-radius: var(--psc-radius-lg);
  box-shadow: var(--psc-shadow); padding: 48px 40px; text-align: center;
}
.pg-confirm-check { margin-bottom: 16px; }
.pg-confirm-card h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -.02em; }
.pg-confirm-card > p { color: var(--psc-muted); margin: 0 0 24px; }
.pg-qr-wrap {
  display: inline-block; padding: 14px; border-radius: 16px;
  background: var(--psc-bg-soft); margin-bottom: 16px;
}
.pg-qr-wrap img { display: block; }
.pg-confirm-ref { font-size: 14px; color: var(--psc-muted); margin-bottom: 24px; }
.pg-confirm-ref code { background: var(--psc-bg-soft); padding: 3px 10px; border-radius: 6px; color: var(--psc-primary-dark); font-weight: 700; }
.pg-confirm-details {
  text-align: left; background: var(--psc-bg-soft);
  padding: 20px; border-radius: 14px; margin-bottom: 24px;
}
.pg-confirm-details > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.pg-confirm-details span { color: var(--psc-muted); }
.pg-confirm-actions { display: flex; gap: 10px; justify-content: center; }

@media (max-width: 900px) {
  .pg-checkout-grid { grid-template-columns: 1fr; }
  .pg-checkout-summary { position: static; }
}

/* Footer */
.pg-footer { background: #0a1624; color: #cbd5e1; padding: 70px 0 30px; margin-top: 90px; }
.pg-footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px;
  padding-bottom: 40px; border-bottom: 1px solid #1e293b;
}
.pg-footer-brand p { margin-top: 14px; font-size: 14px; max-width: 340px; line-height: 1.6; color: #94a3b8; }
.pg-footer-badges { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.pg-foot-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(46,204,113,.12);
  color: #6ee7b7; border-radius: 999px; font-size: 12px; font-weight: 600;
  border: 1px solid rgba(46,204,113,.25);
}
.pg-footer-col h5 { color: #fff; margin: 0 0 14px; font-size: 14px; letter-spacing: .02em; }
.pg-footer-col a { color: #94a3b8; display: block; padding: 6px 0; font-size: 14px; transition: color .2s; }
.pg-footer-col a:hover { color: var(--psc-primary); }
.pg-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px; color: #64748b;
}

/* Mobile footer */
@media (max-width: 900px) {
  .pg-footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .pg-footer-brand { grid-column: 1 / -1; }
  .psc-hero h1 { font-size: 36px; }
  .psc-search-row { grid-template-columns: 1fr; }
  .psc-tabs { flex-wrap: wrap; }
}

/* Big CTA card */
.pg-cta { margin-bottom: 60px; }
.pg-cta-card {
  background: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
  border-radius: 28px;
  padding: 50px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; color: #fff;
  box-shadow: 0 25px 60px rgba(46,204,113,.35);
  position: relative; overflow: hidden;
}
.pg-cta-card::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.pg-cta-text { position: relative; z-index: 1; }
.pg-cta-text h2 { margin: 0 0 8px; color: #fff; font-size: 30px; }
.pg-cta-text p { margin: 0; color: rgba(255,255,255,.92); font-size: 16px; }
.pg-cta-btn {
  background: #fff !important; color: var(--psc-primary-dark) !important;
  padding: 18px 30px !important; font-size: 15px !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.1) !important;
  position: relative; z-index: 1;
}
.pg-cta-btn:hover {
  background: #f7f9fc !important;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .pg-cta-card { flex-direction: column; text-align: center; padding: 36px 26px; }
  .pg-cta-text h2 { font-size: 24px; }
}

/* Animations */
@keyframes psc-fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.psc-animate { animation: psc-fadein .5s ease both; }
.psc-animate:nth-child(2) { animation-delay: .08s; }
.psc-animate:nth-child(3) { animation-delay: .16s; }
.psc-animate:nth-child(4) { animation-delay: .24s; }

/* ===========================================================
   v2.3.2 — New logo (green P square), mobile header, info pages
   =========================================================== */

/* Logo: green rounded square with white P */
.psc-logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(46,204,113,.35);
  flex: 0 0 auto;
}
.psc-logo-p {
  color: #fff; font: 900 24px Montserrat, sans-serif;
  line-height: 1; letter-spacing: -.02em;
}
.psc-logo-text { display: inline-block; }
.psc-logo-amp { color: var(--psc-primary); margin: 0 1px; }

/* Global: prevent horizontal scroll anywhere */
html, body { overflow-x: hidden; max-width: 100%; }

/* ===========================================================
   Responsive header — hamburger menu under 900px
   =========================================================== */
.psc-nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent; border: 0; cursor: pointer;
  padding: 0; position: relative;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  border-radius: 8px;
  transition: background .2s;
}
.psc-nav-toggle:hover { background: rgba(0,0,0,.05); }
.psc-nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--psc-text); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
body.home .psc-header:not(.scrolled) .psc-nav-toggle span { background: #fff; }
.psc-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.psc-nav-toggle.open span:nth-child(2) { opacity: 0; }
.psc-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .psc-header__inner { height: 60px; }
  body:not(.home) { padding-top: 60px; }

  .psc-nav-toggle { display: inline-flex; }
  .psc-logo { font-size: 17px; }
  .psc-logo-mark { width: 36px; height: 36px; }
  .psc-logo-p { font-size: 20px; }

  .psc-nav {
    position: fixed;
    top: 60px; right: 0;
    width: 280px; max-width: 88vw;
    height: calc(100vh - 60px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 12px;
    box-shadow: -10px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    z-index: 99;
  }
  .psc-nav.open { transform: translateX(0); }
  .psc-nav a {
    color: var(--psc-text) !important;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    justify-content: flex-start;
  }
  .psc-nav a:hover { background: #f7f9fc; }
  .psc-nav-cta {
    background: var(--psc-primary) !important;
    color: #fff !important;
    margin-top: 8px;
    justify-content: center !important;
  }
  /* Home page header always solid on mobile to avoid white-on-white nav */
  body.home .psc-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--psc-border); }
  body.home .psc-header .psc-logo,
  body.home .psc-header .psc-nav-toggle span { color: var(--psc-text); }
  body.home .psc-header .psc-nav-toggle span { background: var(--psc-text); }
}

/* Body lock when mobile nav is open */
body.psc-nav-open { overflow: hidden; }

/* ===========================================================
   Search results — fix horizontal scroll on mobile
   =========================================================== */
@media (max-width: 980px) {
  .sh-page, .container.pg-search-page { padding: 0 !important; }
  .sh-topbar {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }
  .sh-topbar .sh-field { max-width: 100% !important; flex: 1 1 100%; }
  .sh-time-wrap { flex: 1 1 100%; gap: 6px; }
  .sh-time { min-width: 0 !important; flex: 1 1 0; }
  .sh-update-btn { flex: 1 1 100%; justify-content: center; padding: 12px; }

  .sh-filters-row { padding: 10px 12px; gap: 8px; overflow-x: auto; flex-wrap: nowrap; }
  .sh-filters-row::-webkit-scrollbar { display: none; }
  .sh-chip { flex: 0 0 auto; }

  .sh-list { padding: 10px 12px 40px; }

  /* Cards — smaller image, allow text wrap, kill overflow */
  .sh-card {
    grid-template-columns: 96px 1fr !important;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .sh-card-img, .sh-card-img img { width: 96px !important; height: 96px !important; }
  .sh-card-body { padding: 10px 12px; min-width: 0; overflow: hidden; }
  .sh-title { white-space: normal; font-size: 14px; }
  .sh-card-top { flex-wrap: wrap; gap: 6px; }
  .sh-price-block { text-align: right; }
  .sh-price-main { font-size: 16px; }
  .sh-book { padding: 7px 16px; font-size: 12px; }
  .sh-details { font-size: 12px; }
}

@media (max-width: 480px) {
  .sh-card { grid-template-columns: 84px 1fr !important; }
  .sh-card-img, .sh-card-img img { width: 84px !important; height: 84px !important; }
  .sh-card-body { padding: 8px 10px; }
}

/* Generic card wrapper — never overflow viewport */
.psc-list, .sh-list { max-width: 100%; box-sizing: border-box; }
.psc-card { max-width: 100%; box-sizing: border-box; }

/* ===========================================================
   Hero + sections — extra mobile polish
   =========================================================== */
@media (max-width: 700px) {
  .psc-hero-inner { padding: 90px 16px 40px !important; }
  .psc-pill { font-size: 12px !important; padding: 6px 12px !important; }
  .psc-hero h1 { font-size: 28px !important; line-height: 1.15; }
  .psc-hero p { font-size: 15px; }
  .psc-search-card { padding: 12px !important; border-radius: 14px !important; }
  .psc-tabs { gap: 6px; overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: 4px; }
  .psc-tabs::-webkit-scrollbar { display: none; }
  .psc-tab { flex: 0 0 auto; white-space: nowrap; padding: 8px 12px !important; font-size: 13px !important; }
  .psc-search-row { gap: 8px !important; }
  .psc-field { padding: 10px 12px !important; }

  .psc-section-head { margin: 50px auto 24px !important; }
  .psc-section-head h2 { font-size: 26px !important; }
  .psc-section-head p { font-size: 15px; }

  .psc-trust { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .psc-cat-grid, .psc-city-grid, .psc-how-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

  .pg-footer-top { grid-template-columns: 1fr !important; gap: 26px !important; }
  .pg-footer-bottom { flex-direction: column !important; gap: 6px; text-align: center; }
}

/* ===========================================================
   v2.4.1 — hamburger backdrop + detail mobile slider + page polish
   =========================================================== */

/* Backdrop overlay behind mobile nav */
.psc-nav-backdrop {
  position: fixed; inset: 0; top: 60px;
  background: rgba(15, 27, 45, .45);
  opacity: 0; pointer-events: none;
  transition: opacity .28s;
  z-index: 98;
}
body.psc-nav-open .psc-nav-backdrop { opacity: 1; pointer-events: auto; }

/* Make sure hamburger sits above panel so X is always tappable */
.psc-nav-toggle { position: relative; z-index: 101; }
@media (max-width: 900px) {
  .psc-header { z-index: 100; }
  .psc-nav { z-index: 100; }
}

/* ===========================================================
   Detail page gallery — desktop grid, mobile swipe slider
   =========================================================== */
.pg-gallery { position: relative; }
.pg-gallery-dots { display: none; }

@media (max-width: 768px) {
  .pg-gallery {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    height: auto !important;
    border-radius: 14px;
    margin-bottom: 14px;
    scrollbar-width: none;
  }
  .pg-gallery::-webkit-scrollbar { display: none; }
  .pg-gallery-main,
  .pg-gallery-side {
    display: contents !important;
  }
  .pg-gallery img,
  .pg-gallery-main img,
  .pg-gallery-side img {
    flex: 0 0 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    height: 260px !important;
    object-fit: cover;
    scroll-snap-align: start;
    border-radius: 14px;
  }
  .pg-gallery-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    z-index: 5;
    pointer-events: auto;
  }
  .pg-gallery-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    box-shadow: 0 0 0 1px rgba(0,0,0,.15);
    cursor: pointer;
    transition: width .2s, background .2s;
  }
  .pg-gallery-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
  }
}

/* ===========================================================
   Dashboard / account — mobile responsive
   =========================================================== */
@media (max-width: 900px) {
  .psc-dash {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 14px 0 !important;
  }
  .psc-sidebar {
    padding: 14px !important;
    position: sticky; top: 60px; z-index: 50;
  }
  .psc-sidebar a {
    display: inline-block;
    padding: 8px 14px;
    margin: 4px 4px 0 0;
    font-size: 13px;
  }
  #psc-dash-content {
    padding: 0 4px;
  }
  #psc-dash-content > div,
  #psc-dash-content > h2 + div {
    word-break: break-word;
  }
}

/* ===========================================================
   Checkout / confirmation / login — mobile polish
   =========================================================== */
@media (max-width: 700px) {
  .pgu-auth-grid, .pgu-account, .pgu-pass {
    padding: 14px !important;
    margin: 14px auto !important;
  }
  .pgu-card, .pgu-side {
    padding: 18px !important;
  }
  .pg-checkout, .pg-checkout-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 0 12px !important;
  }
  .pg-confirm, .pg-confirm-grid {
    padding: 14px !important;
    grid-template-columns: 1fr !important;
  }
  input, select, textarea, button {
    font-size: 16px !important;  /* prevents iOS zoom on focus */
  }
}

/* Ensure all containers respect viewport */
.container, .pg-info, .psc-dash, .pgu-auth-grid, .pg-detail-grid {
  max-width: 100%;
  box-sizing: border-box;
}
img, video, iframe { max-width: 100%; height: auto; }

