/* ============================================================
   TravelDK — Komplet Stylesheet
   ============================================================ */

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

:root {
  --navy:       #0f1c2e;
  --navy-mid:   #162236;
  --navy-light: #1e3050;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --sky:        #0ea5e9;
  --gold:       #f59e0b;
  --gold-light: #fbbf24;
  --green:      #10b981;
  --red:        #ef4444;
  --orange:     #f97316;
  --purple:     #8b5cf6;
  --pink:       #ec4899;
  --teal:       #14b8a6;

  --bg:         #f8fafc;
  --bg-card:    #ffffff;
  --border:     #e2e8f0;
  --text:       #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
  --transition: 200ms cubic-bezier(0.23,1,0.32,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Typography ───────────────────────────────────────────── */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.25; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,28,46,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: 64px;
  display: flex;
  align-items: center;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.navbar-brand:hover { text-decoration: none; color: white; }

.navbar-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar-nav a {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: white;
  background: rgba(255,255,255,.1);
}

/* Compare link — highlighted in gold */
.navbar-compare-link {
  background: rgba(245,158,11,.15) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245,158,11,.3);
  font-weight: 700 !important;
}
.navbar-compare-link:hover,
.navbar-compare-link.active {
  background: rgba(245,158,11,.25) !important;
  color: #fde68a !important;
  border-color: rgba(245,158,11,.5);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 1rem;
  z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.8);
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-menu a:hover { background: rgba(255,255,255,.08); color: white; }

@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}

.btn-primary:hover { box-shadow: 0 6px 20px rgba(37,99,235,.45); color: white; }

.btn-secondary {
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.2);
}

.btn-secondary:hover { background: rgba(255,255,255,.2); color: white; }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover { background: var(--blue); color: white; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: var(--bg); color: var(--text); }

.btn-danger {
  background: var(--red);
  color: white;
}

.btn-sm { padding: .4rem .875rem; font-size: .8rem; }
.btn-lg { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-icon { padding: .5rem; border-radius: 8px; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
  transform: translateY(-2px);
}

.card-body { padding: 1.25rem; }
.card-footer { padding: .875rem 1.25rem; border-top: 1px solid var(--border); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0a1628 0%, #0f2040 40%, #0d1a35 100%);
  padding-top: 64px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.hero-bg-orb-1 {
  width: 600px; height: 600px;
  top: 10%; right: 10%;
  background: radial-gradient(circle, rgba(37,99,235,.15), transparent);
}

.hero-bg-orb-2 {
  width: 400px; height: 400px;
  bottom: 15%; left: 20%;
  background: radial-gradient(circle, rgba(14,165,233,.1), transparent);
  animation-delay: 4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 15px); }
}

.hero-content { position: relative; z-index: 2; padding: 4rem 0 5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ── Search Box ───────────────────────────────────────────── */
.search-box {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: .75rem;
  max-width: 640px;
}

.search-tabs {
  display: flex;
  gap: .25rem;
  background: rgba(0,0,0,.2);
  border-radius: 12px;
  padding: .25rem;
  margin-bottom: .75rem;
}

.search-tab {
  flex: 1;
  padding: .5rem .75rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.search-tab.active {
  background: rgba(255,255,255,.95);
  color: var(--navy);
}

.search-row {
  display: flex;
  gap: .5rem;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-icon {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: .875rem .875rem .875rem 2.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  color: white;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
}

.search-input::placeholder { color: rgba(255,255,255,.45); }
.search-input:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.15); }

/* ── Popular tags ─────────────────────────────────────────── */
.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.25rem;
  align-items: center;
}

.popular-label {
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}

.popular-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  font-size: .8rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.popular-tag:hover {
  background: rgba(255,255,255,.2);
  color: white;
  transform: scale(1.05);
  text-decoration: none;
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Category grid ────────────────────────────────────────── */
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
  color: var(--text);
}

.category-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.25);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}

.category-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: .875rem;
  transition: var(--transition);
}

.category-card:hover .category-icon { transform: scale(1.12); }

.category-name { font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.category-desc { font-size: .78rem; color: var(--text-muted); }

/* ── Deal cards ───────────────────────────────────────────── */
.deal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--text);
}

.deal-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
  transform: translateY(-3px);
  text-decoration: none;
  color: var(--text);
}

.deal-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.deal-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  padding: .25rem .625rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  background: rgba(255,255,255,.2);
  color: white;
  border: 1px solid rgba(255,255,255,.3);
}

.deal-rating {
  position: absolute;
  top: .75rem; right: .75rem;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .25rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  font-size: .75rem;
  font-weight: 600;
  color: var(--navy);
}

.deal-body { padding: 1rem; }
.deal-name { font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.deal-location { font-size: .78rem; color: var(--text-muted); display: flex; align-items: center; gap: .25rem; margin-bottom: .5rem; }
.deal-meal {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

.meal-all-inclusive { background: rgba(16,185,129,.12); color: #047857; }
.meal-halvpension   { background: rgba(37,99,235,.1);   color: #1d4ed8; }
.meal-morgenmad     { background: rgba(245,158,11,.12); color: #b45309; }
.meal-ingen         { background: rgba(100,116,139,.1); color: #475569; }

.deal-price { font-size: 1.3rem; font-weight: 700; }
.deal-price-orig { font-size: .78rem; text-decoration: line-through; color: var(--text-muted); }
.deal-saving { font-size: .78rem; font-weight: 600; color: var(--green); }
.deal-heart {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
  padding: .2rem;
}
.deal-heart:hover { color: var(--red); transform: scale(1.2); }
.deal-heart.saved { color: var(--red); }

/* ── Section ──────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: #f1f5f9; }
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
}

.section-header { margin-bottom: 2.5rem; }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: .5rem;
}

/* ── Page header ──────────────────────────────────────────── */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(37,99,235,.15), transparent 60%);
}

.page-header-content { position: relative; z-index: 1; padding-top: 1rem; }
.page-header-emoji { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.page-header h1 { color: white; font-size: 2.5rem; margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.65); max-width: 560px; }
.page-header-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.page-header-tag {
  padding: .35rem .875rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 500;
}

/* ── Back link ────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}

.back-link:hover { color: white; text-decoration: none; }

/* ── Tabs ─────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: .25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .25rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tab-btn {
  flex-shrink: 0;
  padding: .5rem 1rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Filters ──────────────────────────────────────────────── */
.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
}

.filter-title {
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.filter-section { margin-bottom: 1.25rem; }
.filter-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.filter-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .75rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: .2rem;
  text-align: left;
}

.filter-option:hover { background: var(--bg); }
.filter-option.active {
  background: rgba(37,99,235,.08);
  color: var(--blue);
  border-color: rgba(37,99,235,.25);
}

.filter-check { font-size: .75rem; }

/* ── Result cards ─────────────────────────────────────────── */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
  margin-bottom: .875rem;
}

.result-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.2);
}

.result-header { display: flex; align-items: center; justify-content: space-between; }

.airline-badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: -.5px;
}

.flight-route {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.flight-endpoint { text-align: center; }
.flight-time { font-size: 1.2rem; font-weight: 700; }
.flight-iata { font-size: .75rem; color: var(--text-muted); }

.flight-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  flex: 1;
}

.flight-duration { font-size: .72rem; color: var(--text-muted); }
.flight-bar {
  display: flex;
  align-items: center;
  gap: .25rem;
  width: 100%;
}

.flight-bar-line { flex: 1; height: 1px; background: var(--border); }
.flight-plane { font-size: .85rem; color: var(--blue); }
.flight-stops { font-size: .7rem; color: var(--text-muted); }

.result-price { font-size: 1.5rem; font-weight: 700; }
.result-price-label { font-size: .75rem; color: var(--text-muted); }

/* Hotel result */
.hotel-result {
  display: flex;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: .875rem;
}

.hotel-result:hover {
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.2);
}

.hotel-image {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.hotel-body { flex: 1; padding: 1.25rem; }
.hotel-name { font-weight: 600; font-size: 1rem; margin-bottom: .25rem; }
.hotel-stars { display: flex; gap: 1px; margin-bottom: .25rem; }
.hotel-star { color: var(--gold); font-size: .85rem; }
.hotel-meta { display: flex; align-items: center; gap: 1rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; }
.hotel-amenities { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .875rem; }
.amenity-tag {
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  background: rgba(37,99,235,.08);
  color: var(--blue);
}

@media (max-width: 640px) {
  .hotel-image { display: none; }
  .hotel-result { flex-direction: column; }
}

/* ── Price calendar ───────────────────────────────────────── */
.price-calendar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.price-cal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}

.price-cal-month {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

.price-cal-bar {
  width: 100%;
  border-radius: 8px;
  padding: .5rem .25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.price-cal-bar:hover { transform: scale(1.05); }
.price-cal-bar.lowest { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); }
.price-cal-bar.highest { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.2); }
.price-cal-bar.normal { background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.25); }

.price-cal-price {
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.2;
}

.price-cal-price.lowest { color: #047857; }
.price-cal-price.highest { color: #b91c1c; }
.price-cal-price.normal { color: #92400e; }

.price-cal-label { font-size: .65rem; color: var(--text-muted); font-weight: 500; }

.price-cal-legend {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--text-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }

@media (max-width: 768px) {
  .price-cal-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 480px) {
  .price-cal-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Transport cards ──────────────────────────────────────── */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.transport-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}

.transport-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.2);
}

.transport-icon { font-size: 2rem; margin-bottom: .75rem; }
.transport-name { font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.transport-duration { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; }
.transport-desc { font-size: .8rem; color: var(--text-muted); margin-bottom: .875rem; line-height: 1.5; }
.transport-price { font-size: 1.2rem; font-weight: 700; }

@media (max-width: 768px) {
  .transport-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .transport-grid { grid-template-columns: 1fr; }
}

/* ── Attraction cards ─────────────────────────────────────── */
.attraction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}

.attraction-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,.2);
  transform: translateY(-3px);
}

.attraction-emoji { font-size: 2.25rem; margin-bottom: .75rem; }
.attraction-name { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.attraction-desc { font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; line-height: 1.5; }
.attraction-meta { display: flex; align-items: center; justify-content: space-between; }
.attraction-price { font-weight: 700; font-size: .9rem; }
.attraction-price.free { color: var(--green); }
.attraction-type {
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 500;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* ── Clothing card ────────────────────────────────────────── */
.clothing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.clothing-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.clothing-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.clothing-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-bottom: 1rem;
}

.clothing-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 10px;
  background: rgba(37,99,235,.05);
  font-size: .82rem;
}

.clothing-item-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.clothing-tip {
  padding: .875rem 1rem;
  border-radius: 12px;
  background: rgba(37,99,235,.07);
  color: #1e3a8a;
  font-size: .82rem;
  line-height: 1.6;
}

/* ── Best time cards ──────────────────────────────────────── */
.best-time-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.best-time-row {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}

.best-time-row:last-child { border-bottom: none; }

.best-time-badge {
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: .15rem;
}

.badge-recommended { background: rgba(16,185,129,.12); color: #047857; border: 1px solid rgba(16,185,129,.25); }
.badge-peak        { background: rgba(245,158,11,.12); color: #b45309; border: 1px solid rgba(245,158,11,.25); }
.badge-low         { background: rgba(37,99,235,.1);   color: #1d4ed8; border: 1px solid rgba(37,99,235,.2); }

/* ── Campsite cards ───────────────────────────────────────── */
.campsite-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.campsite-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(16,185,129,.25);
  transform: translateY(-3px);
}

.campsite-image {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.campsite-stars {
  position: absolute;
  top: .75rem; right: .75rem;
  display: flex;
  gap: 1px;
}

.campsite-body { padding: 1.1rem; }
.campsite-name { font-weight: 600; font-size: .95rem; margin-bottom: .2rem; }
.campsite-location { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; display: flex; align-items: center; gap: .25rem; }
.campsite-desc { font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; line-height: 1.5; }
.campsite-facilities { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .875rem; }
.facility-tag {
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .7rem;
  background: rgba(16,185,129,.1);
  color: #047857;
}

/* ── Park cards ───────────────────────────────────────────── */
.park-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
}

.park-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(139,92,246,.25);
}

.park-image {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.park-body { flex: 1; padding: 1.25rem; }
.park-name { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.park-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .78rem; color: var(--text-muted); margin-bottom: .75rem; }
.park-desc { font-size: .82rem; color: var(--text-muted); margin-bottom: .875rem; line-height: 1.5; }
.park-attractions { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.park-attr-tag {
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  background: rgba(139,92,246,.1);
  color: #6d28d9;
}

.park-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .875rem;
  border-top: 1px solid var(--border);
}

.park-prices { display: flex; gap: 1.5rem; }
.park-price-item { }
.park-price-label { font-size: .72rem; color: var(--text-muted); }
.park-price-value { font-weight: 700; font-size: 1rem; }

@media (max-width: 640px) {
  .park-card { flex-direction: column; }
  .park-image { width: 100%; height: 160px; }
}

/* ── Ski rental cards ─────────────────────────────────────── */
.rental-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
}

.rental-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: var(--transition);
}

.rental-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,.2);
}

.rental-icon { font-size: 1.75rem; margin-bottom: .5rem; }
.rental-name { font-weight: 600; font-size: .85rem; margin-bottom: .2rem; }
.rental-sizes { font-size: .72rem; color: var(--text-muted); margin-bottom: .5rem; }
.rental-price { font-size: 1.2rem; font-weight: 700; }
.rental-per { font-size: .72rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .rental-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Holiday type banners ─────────────────────────────────── */
.holiday-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  text-decoration: none;
}

.holiday-banner:hover .holiday-banner-overlay { opacity: 0; }
.holiday-banner:hover { text-decoration: none; }

.holiday-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.12);
  transition: var(--transition);
}

.holiday-banner-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.holiday-banner-emoji { font-size: 3rem; margin-bottom: .75rem; display: block; }
.holiday-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: .35rem;
}

.holiday-banner-desc { color: rgba(255,255,255,.75); font-size: .875rem; margin-bottom: 1rem; }

.holiday-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  font-size: .85rem;
  font-weight: 600;
  transition: var(--transition);
}

.holiday-banner:hover .holiday-banner-cta { gap: .75rem; }

/* ── Favorites ────────────────────────────────────────────── */
.fav-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}

.fav-card:hover { box-shadow: var(--shadow); border-color: rgba(37,99,235,.2); }

.fav-type-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: .875rem;
}

.fav-title { font-weight: 600; margin-bottom: .25rem; }
.fav-subtitle { font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; }
.fav-price { font-size: 1.1rem; font-weight: 700; }
.fav-date { font-size: .72rem; color: var(--text-muted); margin-top: .35rem; }

/* ── Auth page ────────────────────────────────────────────── */
.auth-page {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-container { width: 100%; max-width: 420px; }

.auth-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.brand-logo:hover { text-decoration: none; }

.brand-icon { font-size: 1.75rem; }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.brand-tagline { color: rgba(255,255,255,.5); font-size: .85rem; margin-top: .25rem; }

.auth-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.auth-tabs {
  display: flex;
  gap: .25rem;
  background: var(--bg);
  border-radius: 10px;
  padding: .25rem;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  padding: .5rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.auth-form { }
.auth-switch { text-align: center; font-size: .82rem; color: var(--text-muted); margin-top: 1rem; }
.auth-switch a { color: var(--blue); }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}

.form-group label small { font-weight: 400; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--text);
  background: var(--bg-card);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.input-with-toggle { position: relative; }
.input-with-toggle input { padding-right: 2.5rem; }
.toggle-password {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: .875rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.alert-error { background: rgba(239,68,68,.1); color: #b91c1c; border: 1px solid rgba(239,68,68,.2); }
.alert-success { background: rgba(16,185,129,.1); color: #047857; border: 1px solid rgba(16,185,129,.2); }
.alert-info { background: rgba(37,99,235,.08); color: #1d4ed8; border: 1px solid rgba(37,99,235,.15); }

/* ── Utilities ────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .78rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-1 { margin-top: .25rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: .5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.w-full { width: 100%; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Skeleton loader ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── PWA gate ─────────────────────────────────────────────── */
.pwa-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.pwa-gate-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.pwa-gate-icon { font-size: 3rem; margin-bottom: 1rem; }
.pwa-gate-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: .5rem; }
.pwa-gate-desc { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 1.75rem; }

.pwa-gate-inputs { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.25rem; }

.pwa-gate-input {
  padding: .875rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: white;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
  text-align: center;
  letter-spacing: .05em;
}

.pwa-gate-input::placeholder { color: rgba(255,255,255,.35); }
.pwa-gate-input:focus { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }

.pwa-gate-error {
  color: #fca5a5;
  font-size: .82rem;
  margin-bottom: .75rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand { }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: white;
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-desc { font-size: .82rem; line-height: 1.6; max-width: 240px; }
.footer-col-title { color: white; font-size: .85rem; font-weight: 600; margin-bottom: .875rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .82rem; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ── Refresh badge ────────────────────────────────────────── */
.refresh-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .625rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
  background: rgba(16,185,129,.1);
  color: #047857;
  border: 1px solid rgba(16,185,129,.2);
}

.refresh-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

/* ── Responsive layout helpers ────────────────────────────── */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}

/* ── Scroll to top ────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 50;
}

.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── Install banner ───────────────────────────────────────── */
.install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(0.23,1,0.32,1);
}

.install-banner.visible { transform: translateY(0); }
.install-banner-text { color: rgba(255,255,255,.8); font-size: .875rem; }
.install-banner-text strong { color: white; }
.install-banner-actions { display: flex; gap: .5rem; flex-shrink: 0; }
