/* ═══════════════════════════════════════════════════════════
   VisorUp — Complete Design System
   Premium Motorcycle Touring Website
   ═══════════════════════════════════════════════════════════ */

/* ── 0. CSS VARIABLES ── */

:root {
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --nav-h: 64px;
  --sidebar-w: 400px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg: #080c0b;
  --bg-surface: #0f1614;
  --bg-card: #152220;
  --bg-card-hover: #1c2e2a;
  --accent: #D68A2D;
  --accent-hover: #e09a3d;
  --accent-glow: rgba(214,138,45,0.12);
  --green: #0D3B2E;
  --green-light: #1a5c4a;
  --slate: #2B3137;
  --text: #F4F4F4;
  --text-secondary: #c0c8c5;
  --text-muted: #7a8a85;
  --text-dim: #4a5854;
  --border: #1e2e2a;
  --border-light: #2a3e38;
  --nav-bg: rgba(8,12,11,0.92);
  --hero-overlay: rgba(8,12,11,0.55);
}

[data-theme="light"] {
  --bg: #F4F4F4;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f1;
  --accent: #c07820;
  --accent-hover: #D68A2D;
  --accent-glow: rgba(214,138,45,0.10);
  --green: #0D3B2E;
  --green-light: #1a5c4a;
  --slate: #2B3137;
  --text: #1a1e1d;
  --text-secondary: #3a4442;
  --text-muted: #6a7572;
  --text-dim: #9aa5a2;
  --border: #dde2e0;
  --border-light: #e8edeb;
  --nav-bg: rgba(244,244,244,0.92);
  --hero-overlay: rgba(13,59,46,0.65);
}


/* ── 1. RESET + BASE ── */

*,*::before,*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

body.planner-active {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }


/* ── 2. MAIN NAVIGATION (.main-nav) ── */

.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1200;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand i {
  color: var(--accent);
  font-size: 20px;
}

.nav-brand strong {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links > a {
  position: relative;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links > a:hover { color: var(--text); }
.nav-links > a.active { color: var(--accent); }

/* ── Mega Menu Triggers ── */
.mega-trigger {
  position: relative;
}
.mega-trigger-label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition);
  user-select: none;
}
.mega-trigger-label i { font-size: 8px; transition: transform var(--transition); }
.mega-trigger:hover .mega-trigger-label,
.mega-trigger.active .mega-trigger-label { color: var(--accent); }
.mega-trigger:hover .mega-trigger-label i { transform: rotate(180deg); }

/* ── Mega Panels ── */
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  min-width: 720px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1300;
  overflow: hidden;
}
.mega-trigger:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge between trigger and panel */
.mega-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.mega-panel-sm {
  grid-template-columns: 1fr;
  min-width: 340px;
  padding: 8px;
}
.mega-tools-grid {
  grid-template-columns: repeat(3, 1fr);
  min-width: 720px;
}

/* ── Mega Columns ── */
.mega-col {
  padding: 20px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.mega-col:last-child { border-right: none; }

.mega-col h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-col h4 i { color: var(--accent); font-size: 11px; }

.mega-col > a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  text-decoration: none;
}
.mega-col > a:hover {
  color: var(--text);
  background: var(--accent-glow);
  padding-left: 12px;
}

/* ── Mega Featured Card ── */
.mega-featured {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: border-color 0.15s;
}
.mega-featured:hover { border-color: var(--accent); padding-left: 0 !important; background: transparent !important; }
.mega-featured img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}
.mega-featured span {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: block;
  background: var(--bg-card);
}
.mega-featured em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1px;
}

/* ── View All Link ── */
.mega-viewall {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--accent) !important;
  margin-top: 4px;
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.mega-viewall i { font-size: 9px; transition: transform 0.15s; }
.mega-viewall:hover i { transform: translateX(3px); }

/* ── Mega Badge ── */
.mega-badge {
  margin-top: auto;
  padding: 8px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(214,138,45,0.15);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-top: 12px;
}
.mega-badge i { margin-right: 4px; }

/* ── Mega Tools (simple dropdown) ── */
.mega-tool {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.mega-tool:hover { background: var(--accent-glow); }
.mega-tool > i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}
.mega-tool strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.mega-tool em { display: block; font-size: 12px; font-style: normal; color: var(--text-muted); margin-top: 2px; }

/* ── Mobile Menu (accordion) ── */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.nav-menu-btn {
  display: none;
}

/* Mobile menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  z-index: 1190;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.nav-mobile-menu.open { transform: translateY(0); opacity: 1; }

.mob-section { border-bottom: 1px solid var(--border); }
.mob-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}
.mob-heading i:first-child { color: var(--accent); width: 20px; text-align: center; }
.mob-chevron { margin-left: auto; font-size: 10px; color: var(--text-dim); transition: transform var(--transition); }
.mob-heading.open .mob-chevron { transform: rotate(180deg); }

.mob-sub { display: none; padding: 0 20px 12px 50px; }
.mob-sub.open { display: block; }
.mob-sub a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.mob-sub a:last-child { border-bottom: none; }
.mob-sub a:hover { color: var(--accent); }

.mob-direct {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mob-direct i { color: var(--accent); width: 20px; text-align: center; }


/* ── 3. HERO SECTION (.hero) ── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--nav-h) 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--hero-overlay) 0%,
    rgba(8,12,11,0.35) 50%,
    var(--hero-overlay) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: heroFadeIn 1s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: -1px;
}

.hero-title span,
.hero-title em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.hero-cta:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 40px rgba(214,138,45,0.3);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-muted);
  font-size: 24px;
  animation: heroBounce 2s ease infinite;
  cursor: pointer;
}

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats .stat {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  min-width: 130px;
}

.hero-stats .stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.hero-stats .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
  font-weight: 600;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}


/* ── WORKS WITH BAR ── */
.works-with-bar { padding:20px 0; background:var(--bg-secondary); border-bottom:1px solid var(--border); }
.works-with-inner { display:flex; align-items:center; gap:24px; justify-content:center; flex-wrap:wrap; }
.works-with-label { font-size:12px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:1.5px; white-space:nowrap; }
.works-with-logos { display:flex; align-items:center; gap:20px; flex-wrap:wrap; justify-content:center; }
.works-with-logo { display:flex; align-items:center; gap:6px; color:var(--text-muted); font-size:12px; font-weight:600; opacity:0.7; transition:opacity var(--transition); }
.works-with-logo:hover { opacity:1; }
.works-with-logo i { flex-shrink:0; }
@media (max-width:680px) {
  .works-with-inner { flex-direction:column; gap:12px; }
  .works-with-logos { gap:16px; }
  .works-with-logo span { display:none; }
  .works-with-logos { gap:24px; }
}

/* ── 4. HOMEPAGE SECTIONS (.home-section) ── */

.home-section {
  padding: 80px 0;
}

.home-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}


/* ── 5. CARDS ── */

/* Route Card — old styles removed, see ROUTE CARDS & GRID section below */

/* Destination Card */
.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.dest-card:hover img {
  transform: scale(1.08);
}

.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 50%);
  z-index: 1;
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.dest-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.dest-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.dest-card-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* Ferry Card Item — horizontal */
.ferry-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.ferry-card-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.ferry-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.ferry-card-info {
  flex: 1;
}

.ferry-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ferry-card-route {
  font-size: 13px;
  color: var(--text-secondary);
}

.ferry-card-operator {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Tool Card */
.tool-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.tool-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}

.tool-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.tool-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Coming Soon Card */
.coming-soon-card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  opacity: 0.5;
  cursor: default;
}

.coming-soon-card .coming-soon-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.coming-soon-card .tool-card-title {
  color: var(--text-muted);
}


/* ── 6. CONTENT PAGES (.page) ── */

.page {
  padding-top: var(--nav-h);
}

.page-hero {
  position: relative;
  height: 40vh;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 24px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.page-hero .breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.page-hero .breadcrumb a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb .separator {
  margin: 0 8px;
}

.page-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.page-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text);
}

.page-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

.page-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.page-body ul,
.page-body ol {
  margin: 0 0 16px 24px;
  list-style: disc;
}

.page-body ol { list-style: decimal; }

.page-body li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.page-body a:hover {
  color: var(--accent-hover);
}

.page-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--accent-glow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.info-item-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 14px;
  flex-shrink: 0;
}

.info-item-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.info-item-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* Road Table */
.road-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.road-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.road-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.road-table tr:hover td {
  background: var(--bg-card);
}

.road-table .stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1px;
}

/* Highlight Box */
.highlight-box {
  padding: 20px 24px;
  background: var(--accent-glow);
  border: 1px solid rgba(214,138,45,0.2);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
}

.highlight-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.highlight-box p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
}


/* ── 7. COMING SOON PAGE (.coming-soon-page) ── */

.coming-soon-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 80px 24px;
}

.coming-soon-page .coming-soon-icon {
  font-size: 64px;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0.8;
}

.coming-soon-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}

.coming-soon-page p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.coming-soon-page .newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  width: 100%;
}

.coming-soon-page .newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}

.coming-soon-page .newsletter-form input::placeholder {
  color: var(--text-dim);
}

.coming-soon-page .newsletter-form input:focus {
  border-color: var(--accent);
}

.coming-soon-page .newsletter-form button {
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.coming-soon-page .newsletter-form button:hover {
  background: var(--accent-hover);
}


/* ── 8. FOOTER (.site-footer) ── */

.site-footer {
  background: var(--green);
  color: rgba(244,244,244,0.85);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
}

.footer-brand .footer-logo i {
  color: var(--accent);
}

.footer-brand .footer-logo strong {
  color: var(--accent);
}

.footer-brand .footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,244,244,0.6);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(244,244,244,0.5);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(244,244,244,0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(244,244,244,0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(244,244,244,0.4);
}

.footer-bottom .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Legal/About Pages ── */
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 8px;
}
.legal-content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.legal-content ul {
  margin: 8px 0 16px 20px;
  padding: 0;
}
.legal-content li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.legal-content table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.legal-content th {
  background: var(--bg-card);
}
.legal-content a {
  color: var(--accent);
  text-decoration: none;
}
.legal-content a:hover { text-decoration: underline; }

/* ── MapLibre Route Planner ── */
.pl-layout { display:flex; height:100%; width:100%; }
.pl-sidebar { width:380px; min-width:380px; max-height:calc(100vh - 60px); background:var(--bg-dark); border-right:1px solid var(--border); display:flex; flex-direction:column; overflow:hidden; transition:width 0.2s; }
.pl-sidebar-header { padding:12px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; flex-shrink:0; }
.pl-title { font-size:15px; font-weight:700; color:var(--accent); }
.pl-sidebar-toggle { background:none; border:none; color:var(--text-muted); cursor:pointer; font-size:14px; padding:4px 8px; }
.pl-sidebar-body { flex:1; overflow-y:auto; padding:12px 16px; min-height:0; }
.pl-sidebar-footer { padding:10px 16px; border-top:1px solid var(--border); display:flex; gap:6px; align-items:center; flex-shrink:0; flex-wrap:wrap; }
.pl-map-wrap { flex:1; position:relative; }
.pl-map { width:100%; height:100%; }
.pl-map-hint { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); background:rgba(0,0,0,0.7); color:#fff; padding:8px 16px; border-radius:20px; font-size:12px; z-index:5; pointer-events:none; }
.pl-sidebar-open-btn { position:absolute; top:12px; left:12px; z-index:5; width:40px; height:40px; border-radius:8px; background:var(--bg-card); border:1px solid var(--border); color:var(--text); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; }

.pl-search-section { margin-bottom:12px; }
.pl-search-wrap { display:flex; gap:6px; }
.pl-input { flex:1; padding:9px 12px; border-radius:8px; border:1px solid var(--border); background:var(--bg-card); color:var(--text); font-size:13px; box-sizing:border-box; }
.pl-input:focus { outline:none; border-color:var(--accent); }
.pl-search-btn { width:38px; border:none; border-radius:8px; background:var(--accent); color:#080c0b; cursor:pointer; font-size:13px; display:flex; align-items:center; justify-content:center; }
.pl-search-results { margin-top:4px; }
.pl-search-item { padding:8px 10px; font-size:12px; color:var(--text); cursor:pointer; border-radius:6px; transition:background 0.15s; }
.pl-search-item:hover { background:var(--bg-card); }
.pl-search-loading, .pl-search-empty { padding:8px; font-size:12px; color:var(--text-muted); }

.pl-label { font-size:11px; font-weight:600; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; display:block; margin-bottom:6px; }
.pl-twist-section { margin-bottom:12px; }
.pl-twist-btns { display:flex; gap:4px; }
.pl-twist-btn { flex:1; padding:7px 4px; border-radius:6px; border:1px solid var(--border); background:var(--bg-card); color:var(--text-muted); font-size:11px; font-weight:600; cursor:pointer; transition:all 0.15s; text-align:center; }
.pl-twist-btn:hover { border-color:var(--text-muted); }
.pl-twist-btn.active { border-color:var(--accent); background:rgba(214,138,45,0.15); color:var(--accent); }
.pl-twist-btn i { margin-right:3px; }

.pl-stats { display:flex; gap:8px; margin-bottom:12px; }
.pl-stat { flex:1; background:var(--bg-card); border-radius:6px; padding:8px 6px; text-align:center; font-size:12px; color:var(--text-muted); }
.pl-stat i { color:var(--accent); margin-right:3px; font-size:10px; }
.pl-stat span { font-weight:700; color:var(--text); }

.pl-waypoints { margin-bottom:12px; }
.pl-empty { font-size:12px; color:var(--text-muted); padding:12px; text-align:center; }
.pl-wp-item { display:flex; align-items:center; gap:8px; padding:6px 8px; border-radius:6px; cursor:pointer; transition:background 0.1s; border:1px solid transparent; }
.pl-wp-item:hover { background:var(--bg-card); }
.pl-wp-item.dragging { opacity:0.4; }
.pl-wp-item.drag-over { border-color:var(--accent); background:rgba(214,138,45,0.08); }
.pl-wp-badge { width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#fff; font-size:11px; font-weight:700; flex-shrink:0; }
.pl-wp-info { flex:1; min-width:0; }
.pl-wp-name { display:block; font-size:12px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.pl-wp-coord { font-size:10px; color:var(--text-muted); }
.pl-wp-del { background:none; border:none; color:var(--text-muted); cursor:pointer; padding:4px; font-size:11px; opacity:0.5; }
.pl-wp-del:hover { opacity:1; color:#e74c3c; }

.pl-elevation canvas { width:100%; border-radius:6px; }

.pl-btn { padding:7px 12px; border:none; border-radius:6px; font-size:11px; font-weight:600; cursor:pointer; transition:background 0.15s; white-space:nowrap; }
.pl-btn-secondary { background:var(--bg-card); color:var(--text-muted); border:1px solid var(--border); }
.pl-btn-secondary:hover { border-color:var(--text-muted); }
.pl-btn-accent { background:var(--accent); color:#080c0b; }
.pl-btn-accent:hover { background:#c76b30; }
.pl-export-group { display:flex; gap:4px; margin-left:auto; }

.pl-marker { transition:transform 0.1s; }
.pl-marker:hover { transform:scale(1.15); }

@media (max-width: 768px) {
  .pl-layout { flex-direction:column-reverse; }
  .pl-sidebar { width:100%; min-width:100%; max-height:50vh; }
  .pl-map-wrap { height:50vh; }
  .pl-twist-btns { gap:3px; }
  .pl-stats { gap:4px; }
}

/* ── Trip Planner ── */
.tp-layout {
  display: flex;
  height: 100%;
  width: 100%;
}
.tp-sidebar {
  width: 400px;
  min-width: 400px;
  height: 100%;
  background: var(--bg-dark);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: calc(100vh - 60px);
}
.tp-map {
  flex: 1;
  height: 100%;
}
.tp-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.tp-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
}
.tp-steps {
  display: flex;
  gap: 6px;
}
.tp-step {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 2px solid var(--border);
}
.tp-step.active {
  background: var(--accent);
  color: #080c0b;
  border-color: var(--accent);
}
.tp-step.done {
  background: #27ae60;
  color: #fff;
  border-color: #27ae60;
}
.tp-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  min-height: 0;
}
.tp-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.tp-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}
.tp-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 16px;
}
.tp-label:first-of-type { margin-top: 0; }
.tp-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  box-sizing: border-box;
}
.tp-input:focus {
  outline: none;
  border-color: var(--accent);
}
.tp-search-wrap {
  display: flex;
  gap: 6px;
}
.tp-search-wrap .tp-input { flex: 1; }
.tp-search-btn {
  width: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--accent);
  color: #080c0b;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-search-btn:hover { background: #c76b30; }
.tp-result {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  min-height: 18px;
}
.tp-loop-toggle {
  margin-top: 12px;
  margin-bottom: 4px;
}
.tp-toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
}
.tp-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  outline: none;
  margin: 8px 0 4px;
}
.tp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
}
.tp-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
.tp-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.tp-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tp-footer-actions {
  justify-content: space-between;
}
.tp-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.tp-btn:active { transform: scale(0.97); }
.tp-btn-primary {
  background: var(--accent);
  color: #080c0b;
  flex: 1;
}
.tp-btn-primary:hover { background: #c76b30; }
.tp-btn-secondary {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tp-btn-secondary:hover { background: var(--bg-card-hover, var(--border)); }
.tp-btn-accent {
  background: var(--green);
  color: #fff;
}
.tp-btn-accent:hover { opacity: 0.9; }

/* Step 2: POI selection */
.tp-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tp-preset-btn {
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.tp-preset-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tp-poi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tp-poi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.tp-poi-card:hover { border-color: var(--text-muted); }
.tp-poi-card.selected {
  border-color: var(--accent);
  background: rgba(214,138,45,0.1);
}
.tp-poi-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}
.tp-poi-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.tp-count {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Step 3: Progress */
.tp-progress {
  width: 100%;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  margin-top: 20px;
  overflow: hidden;
}
.tp-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  width: 0;
  transition: width 0.3s ease;
}

/* Step 4: Results */
.tp-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.tp-stat {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}
.tp-stat strong {
  display: block;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 2px;
}
.tp-stat i {
  color: var(--accent);
  margin-right: 2px;
}
.tp-days-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tp-day-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
}
.tp-day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s;
}
.tp-day-header:hover { background: rgba(255,255,255,0.03); }
.tp-day-num {
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.tp-day-stats {
  flex: 1;
  font-size: 12px;
  color: var(--text-muted);
}
.tp-day-toggle {
  color: var(--text-muted);
  font-size: 12px;
}
.tp-day-body {
  padding: 8px 12px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tp-stop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.tp-stop-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
}
.tp-stop-info { flex: 1; }
.tp-stop-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.tp-stop-type {
  font-size: 11px;
  color: var(--text-muted);
}
.tp-stop-overnight {
  padding: 6px 8px;
  background: rgba(243,156,18,0.08);
  border-radius: 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .tp-layout { flex-direction: column-reverse; }
  .tp-sidebar { width: 100%; min-width: 100%; height: 55vh; }
  .tp-map { height: 45vh; }
  .tp-poi-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-summary { grid-template-columns: repeat(2, 1fr); }
}

/* ── Cookie Consent Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}
.cookie-banner.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-banner p { margin: 0; max-width: 700px; line-height: 1.5; }
.cookie-banner a { color: var(--accent); text-decoration: none; }
.cookie-banner a:hover { text-decoration: underline; }
.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.cookie-btn:active { transform: scale(0.97); }
.cookie-btn-accept {
  background: var(--accent);
  color: #080c0b;
}
.cookie-btn-accept:hover { background: #c76b30; }
.cookie-btn-reject {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.cookie-btn-reject:hover { background: var(--bg-card-hover); }

@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; padding: 16px; }
  .cookie-banner p { font-size: 12px; }
}

/* Light theme footer adjustments */
[data-theme="light"] .site-footer {
  background: var(--green);
  color: rgba(244,244,244,0.85);
}


/* ── 9. SITE VIEW (.site-view) ── */

.site-view {
  padding-top: var(--nav-h);
  min-height: 100vh;
  overflow-y: auto;
}


/* ── 10. PLANNER VIEW (.planner-view) ── */

.planner-view {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

.planner-inner {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.planner-back {
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  left: calc(var(--sidebar-w) + 12px);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.planner-back:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.planner-menu-btn {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 12px);
  left: 12px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  transition: all var(--transition);
}

.planner-menu-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}


/* ── 11. SIDEBAR ── */

.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100%;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  z-index: 1050;
  transition: transform var(--transition);
}

.sidebar-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--accent-glow) 0%, transparent 100%);
}

.brand-sm {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 10px;
}

.brand-sm i {
  color: var(--accent);
  font-size: 18px;
}

.brand-sm strong {
  color: var(--accent);
}

.trip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(214,138,45,0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.3px;
}

.trip-pill i {
  font-size: 10px;
}

/* Day Nav */
.day-nav {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 8px 4px;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.day-nav button {
  padding: 6px 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.day-nav button:hover {
  color: var(--text-muted);
  border-color: var(--text-muted);
}

.day-nav button.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.day-nav button[data-day="0"] {
  width: 100%;
  margin-bottom: 2px;
}

/* Sidebar Content */
.sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.sidebar-content::-webkit-scrollbar {
  width: 3px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}


/* ── 12. SIDEBAR COMPONENTS ── */

/* Overview Stats */
.overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.stat-card:hover {
  border-color: var(--border-light);
}

.stat-card .stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.stat-card .stat-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Section Title (sidebar) */
.section-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  font-weight: 700;
  margin: 20px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-title:first-child {
  margin-top: 0;
}

.section-title i {
  font-size: 10px;
  color: var(--text-muted);
}

/* Stop Cards */
.stop-card {
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.stop-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.stop-card:active {
  transform: translateY(0);
}

.stop-card .stop-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.stop-card .stop-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
}

.stop-card .stop-name {
  font-size: 13px;
  font-weight: 600;
}

.stop-card .stop-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-left: 36px;
}

.stop-card .stop-links {
  margin-top: 8px;
  margin-left: 36px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.stop-card .stop-link {
  font-size: 10px;
  color: var(--accent);
  text-decoration: none;
  padding: 3px 8px;
  background: var(--accent-glow);
  border-radius: 4px;
  font-weight: 600;
  transition: background var(--transition);
}

.stop-card .stop-link:hover {
  background: rgba(214,138,45,0.25);
}

/* Road Cards */
.road-card {
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
}

.road-card .road-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.road-card .road-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.road-card .road-desc {
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Stars */
.stars {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 1px;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Top Roads List (Overview) */
.top-roads-list {
  margin-top: 8px;
}

.road-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.road-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.road-item .road-name {
  font-size: 12px;
  font-weight: 600;
}

.road-item .road-region {
  font-size: 10px;
  color: var(--text-muted);
}

.road-item .road-day {
  font-size: 9px;
  color: var(--text-dim);
  padding: 2px 6px;
  background: var(--bg);
  border-radius: 3px;
  font-weight: 600;
}

/* Day Header */
.day-header {
  margin-bottom: 16px;
}

.day-header .day-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.day-header h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.day-header .day-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.day-header .day-meta i {
  margin-right: 4px;
  width: 14px;
}

.day-summary {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Tips Box */
.tips-box {
  padding: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(214,138,45,0.15);
  border-radius: var(--radius);
  margin-top: 16px;
}

.tips-box .tips-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tips-box .tips-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Ferry Card (sidebar) */
.ferry-card {
  padding: 14px;
  background: rgba(214,138,45,0.06);
  border: 1px solid rgba(214,138,45,0.15);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.ferry-card h3 {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.ferry-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ferry-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Fuel Card */
.fuel-card {
  padding: 14px;
  background: rgba(214,138,45,0.06);
  border: 1px solid rgba(214,138,45,0.15);
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.fuel-card h3 {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 700;
}

.fuel-card p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Packing List */
.packing-list {
  list-style: none;
}

.packing-list li {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.packing-list li i {
  color: var(--accent);
  width: 14px;
  font-size: 10px;
}

/* GPX Buttons */
.gpx-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: linear-gradient(135deg, rgba(214,138,45,0.15), rgba(214,138,45,0.08));
  border: 1px solid rgba(214,138,45,0.3);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  margin-top: 8px;
}

.gpx-btn:hover {
  background: linear-gradient(135deg, rgba(214,138,45,0.25), rgba(214,138,45,0.15));
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(214,138,45,0.15);
}

.gpx-btn.full-width {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 13px;
}

.gpx-pending {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 8px;
}

.route-badge {
  display: inline-block;
  padding: 1px 6px;
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Route Progress */
.route-progress-wrap {
  margin-bottom: 14px;
  transition: opacity 0.5s;
}

.route-progress-wrap.done .rp-bar-track {
  background: rgba(26,92,74,0.2);
}

.route-progress-wrap.done .rp-bar {
  background: var(--green-light);
}

.route-progress-wrap.done .rp-text {
  color: var(--green-light);
}

.rp-bar-track {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}

.rp-bar {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 0.5s ease;
}

.rp-text {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}


/* ── 13. MAP CONTAINER ── */

.map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
  background: var(--bg);
}

/* Map Legend */
.map-legend {
  position: absolute;
  bottom: 20px;
  right: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  z-index: 999;
  font-size: 10px;
  min-width: 130px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  max-height: 60vh;
  overflow-y: auto;
}

.map-legend h4 {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 6px;
  font-weight: 700;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  color: var(--text-muted);
  font-size: 10px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ── 14. LEAFLET OVERRIDES ── */

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}

.leaflet-popup-content {
  margin: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.leaflet-popup-content h3 {
  font-size: 14px;
  margin-bottom: 4px;
  font-weight: 700;
}

.leaflet-popup-content .popup-type {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 700;
}

.leaflet-popup-content p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.leaflet-popup-content a {
  color: var(--accent);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.leaflet-popup-tip {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

.leaflet-control-layers {
  border-radius: var(--radius) !important;
}

.leaflet-control-layers-toggle {
  width: 36px !important;
  height: 36px !important;
  border-radius: var(--radius-sm) !important;
}

.leaflet-bar a {
  background: var(--bg-card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.leaflet-bar a:hover {
  background: var(--bg-card-hover) !important;
}

/* Custom Markers */
.custom-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  color: #fff;
  transition: transform 0.2s;
}

.custom-marker:hover {
  transform: scale(1.25);
  z-index: 9999 !important;
}

.custom-marker.dimmed {
  opacity: 0.25;
  filter: grayscale(0.7);
}


/* ── 15. UTILITY CLASSES ── */

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── 16. ANIMATIONS ── */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sidebar staggered fade */
.sidebar-content > * {
  animation: fadeIn 0.3s ease both;
}
.sidebar-content > *:nth-child(2) { animation-delay: 0.03s; }
.sidebar-content > *:nth-child(3) { animation-delay: 0.06s; }
.sidebar-content > *:nth-child(4) { animation-delay: 0.09s; }
.sidebar-content > *:nth-child(5) { animation-delay: 0.12s; }
.sidebar-content > *:nth-child(6) { animation-delay: 0.15s; }

/* Page content animation */
.page .page-body > * {
  animation: slideUp 0.4s ease both;
}

/* Section card stagger on home */
.section-grid > * {
  animation: fadeIn 0.4s ease both;
}
.section-grid > *:nth-child(1) { animation-delay: 0.05s; }
.section-grid > *:nth-child(2) { animation-delay: 0.10s; }
.section-grid > *:nth-child(3) { animation-delay: 0.15s; }
.section-grid > *:nth-child(4) { animation-delay: 0.20s; }
.section-grid > *:nth-child(5) { animation-delay: 0.25s; }
.section-grid > *:nth-child(6) { animation-delay: 0.30s; }


/* ── 17. RESPONSIVE — TABLET (≤ 1024px) ── */

@media (max-width: 1024px) {
  :root {
    --sidebar-w: 340px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-title {
    font-size: 48px;
  }

  .section-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ── 18. RESPONSIVE — MOBILE (< 900px) ── */

@media (max-width: 900px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  .nav-mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding: var(--nav-h) 20px 60px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-cta {
    padding: 14px 28px;
    font-size: 15px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero-stats .stat {
    width: 100%;
    max-width: 260px;
  }

  /* Home sections */
  .home-section {
    padding: 48px 0;
  }

  .section-heading {
    font-size: 28px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Content pages */
  .page-hero {
    height: 30vh;
    min-height: 200px;
  }

  .page-hero-title {
    font-size: 28px;
  }

  .page-body {
    padding: 32px 20px 60px;
  }

  .page-body h2 {
    font-size: 24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .road-table {
    font-size: 13px;
  }

  .road-table th,
  .road-table td {
    padding: 8px 10px;
  }

  /* Coming soon */
  .coming-soon-page {
    padding: 48px 20px;
  }

  .coming-soon-page h1 {
    font-size: 28px;
  }

  .coming-soon-page .newsletter-form {
    flex-direction: column;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Planner */
  .planner-back {
    left: 62px;
    top: calc(var(--nav-h) + 12px);
    font-size: 12px;
    padding: 6px 12px;
  }

  .planner-menu-btn {
    display: flex;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: var(--nav-h);
    bottom: 0;
    width: 85vw;
    max-width: 380px;
    min-width: 0;
    transform: translateX(-100%);
    box-shadow: 8px 0 32px rgba(0,0,0,0.5);
    z-index: 1050;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.visible {
    display: block;
  }

  .sidebar-header {
    padding: 16px 16px 12px;
  }

  .sidebar-content {
    padding: 12px;
  }

  .map-legend {
    bottom: 12px;
    right: 8px;
    font-size: 9px;
    padding: 8px 10px;
    max-height: 40vh;
  }

  .overview-stats {
    gap: 6px;
  }

  .stat-card {
    padding: 10px;
  }

  .stat-card .stat-value {
    font-size: 18px;
  }

  .stop-card {
    padding: 10px;
  }

  .stop-card .stop-desc {
    margin-left: 0;
    margin-top: 6px;
  }

  .stop-card .stop-links {
    margin-left: 0;
  }

  .day-nav button {
    padding: 6px 8px;
    font-size: 10px;
  }

  .gpx-btn {
    width: 100%;
    justify-content: center;
  }

  /* Touch targets */
  .icon-btn,
  .planner-menu-btn,
  .nav-mobile-menu a {
    min-height: 44px;
    min-width: 44px;
  }

  .day-nav button {
    min-height: 36px;
  }

  .stop-card,
  .road-item {
    min-height: 44px;
  }

  /* SPA page responsive overrides */
  .dest-grid { grid-template-columns:1fr; }
  .routes-grid { grid-template-columns:1fr; }
  .route-card { aspect-ratio:16/10; }
  .ferry-grid { grid-template-columns:1fr; }
  .tools-grid { grid-template-columns:1fr; }
  .planning-tips-grid { grid-template-columns:1fr; }
  .detail-grid { grid-template-columns:1fr; }
  .detail-sidebar { order:-1; }
  .featured-route-content { padding:20px; }
  .featured-route-stats { gap:12px; }
  .featured-route-card { min-height:300px; }
  .newsletter-form { flex-direction:column; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .filter-pills { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; }
  .tips-callout { flex-direction:column; }
}


/* ── 19. RESPONSIVE — SMALL MOBILE (< 380px) ── */

@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }

  .brand-sm {
    font-size: 14px;
  }

  .trip-pill {
    font-size: 10px;
    padding: 4px 10px;
  }

  .stat-card .stat-value {
    font-size: 16px;
  }

  .nav-brand {
    font-size: 15px;
  }
}


/* ── HERO ELEMENTS ── */

.hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,12,11,0.6) 0%, rgba(8,12,11,0.3) 40%, rgba(8,12,11,0.7) 100%); z-index:1; }
.hero-stat { text-align:center; min-width:120px; }
.hero-stat-value { display:block; font-size:28px; font-weight:800; color:var(--accent); }
.hero-stat-label { display:block; font-size:11px; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,0.65); margin-top:4px; font-weight:600; }
.page-hero-sub { font-size:16px; color:rgba(255,255,255,0.7); margin-top:8px; max-width:600px; }
.page-section { padding:60px 0; }
.home-section-alt { background:var(--bg-surface); }


/* ── FEATURED ROUTE CARD ── */

.featured-route-card { position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:400px; background-size:cover; background-position:center; display:flex; align-items:flex-end; margin-top:32px; }
.featured-route-overlay { position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%); }
.featured-route-content { position:relative; z-index:2; padding:40px; width:100%; }
.featured-route-stats { display:flex; gap:24px; flex-wrap:wrap; margin-bottom:16px; }
.featured-route-stat { font-size:14px; color:rgba(255,255,255,0.8); display:flex; align-items:center; gap:6px; }
.featured-route-stat i { color:var(--accent); }
.featured-route-highlights { display:flex; gap:8px; flex-wrap:wrap; }
.featured-route-highlights span { padding:4px 12px; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.15); border-radius:20px; font-size:12px; color:rgba(255,255,255,0.8); font-weight:600; }


/* ── DESTINATION GRID & CARDS ── */

.dest-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:20px; }
.dest-card-img { width:100%; height:100%; position:absolute; inset:0; background-size:cover; background-position:center; transition:transform 0.5s ease; }
.dest-card:hover .dest-card-img { transform:scale(1.08); }
.dest-card-body { position:absolute; bottom:0; left:0; right:0; padding:24px; z-index:2; background:linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%); }
.dest-card-region { font-size:10px; text-transform:uppercase; letter-spacing:1.5px; color:var(--accent); font-weight:700; display:block; margin-bottom:4px; }
.dest-card-title { font-family:'Playfair Display',serif; font-size:20px; font-weight:700; color:#fff; margin-bottom:4px; }
.dest-card-tagline { font-size:12px; color:rgba(255,255,255,0.7); line-height:1.5; }


/* ── ROUTE CARDS & GRID ── */

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.route-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  text-decoration: none;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}
.route-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.route-card:hover .route-card-bg { transform: scale(1.06); }
.route-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.route-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  width: 100%;
}
.route-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}
.route-card-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: 10px;
}
.route-card-stats {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}
.route-card-stats i {
  color: var(--accent);
  margin-right: 3px;
}
.route-badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.route-badge-planner { background: var(--accent); color: #080c0b; }
.route-badge-guide { background: rgba(39,174,96,0.9); color: #fff; }
.route-badge-soon { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); backdrop-filter: blur(4px); }
.route-card-live { cursor: pointer; }
.route-card-live:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.route-card-soon { opacity: 0.55; cursor: default; }


/* ── BIKE CARDS & GRID ── */

.bike-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:20px; }
.bike-card { display:block; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:all var(--transition); text-decoration:none; color:inherit; }
.bike-card:hover { border-color:var(--accent); transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.2); }
.bike-card-img { width:100%; height:200px; background-size:cover; background-position:center; position:relative; background-color:var(--bg-card-hover); }
.bike-card-category { position:absolute; top:12px; left:12px; padding:4px 10px; background:var(--accent); color:#080c0b; border-radius:20px; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }
.bike-card-body { padding:20px; }
.bike-card-title { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; margin-bottom:2px; }
.bike-card-price { font-size:13px; color:var(--accent); font-weight:600; margin-bottom:12px; }
.bike-card-specs { display:flex; gap:12px; font-size:11px; color:var(--text-muted); margin-bottom:14px; flex-wrap:wrap; }
.bike-card-specs i { color:var(--accent); margin-right:3px; }
.bike-card-scores { display:flex; flex-direction:column; gap:6px; }

.bike-score-row { display:flex; align-items:center; gap:8px; }
.bike-score-label { font-size:11px; color:var(--text-muted); width:60px; flex-shrink:0; }
.bike-score-bar { flex:1; height:6px; background:var(--bg-card-hover); border-radius:3px; overflow:hidden; }
.bike-score-fill { height:100%; background:var(--accent); border-radius:3px; transition:width 0.6s ease; }
.bike-score-val { font-size:11px; font-weight:700; color:var(--text-secondary); width:24px; text-align:right; flex-shrink:0; }

/* Bike Detail Page */
.bike-hero-category { font-size:12px; text-transform:uppercase; letter-spacing:2px; color:var(--accent); font-weight:700; display:block; margin-bottom:8px; }

.bike-specs-table { width:100%; border-collapse:collapse; }
.bike-specs-table td { padding:8px 0; font-size:13px; border-bottom:1px solid var(--border); }
.bike-specs-table td:first-child { color:var(--text-muted); white-space:nowrap; padding-right:12px; }
.bike-specs-table td:first-child i { color:var(--accent); margin-right:6px; width:14px; text-align:center; }
.bike-specs-table td:last-child { font-weight:600; text-align:right; }
.bike-specs-table tr:last-child td { border-bottom:none; }

.bike-scores-panel { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; margin-top:28px; }
.bike-scores-panel .bike-score-row { margin-bottom:8px; }
.bike-scores-panel .bike-score-label { width:70px; font-size:12px; }
.bike-scores-panel .bike-score-bar { height:8px; }

.bike-strengths-weaknesses { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:28px; }
.bike-sw-list { list-style:none; padding:0; margin:0; }
.bike-sw-list li { padding:8px 0; font-size:13px; line-height:1.5; border-bottom:1px solid var(--border); display:flex; align-items:flex-start; gap:8px; }
.bike-sw-list li:last-child { border-bottom:none; }
.bike-sw-strengths li i { color:#27ae60; margin-top:3px; flex-shrink:0; }
.bike-sw-weaknesses li i { color:#e74c3c; margin-top:3px; flex-shrink:0; }

.bike-route-links { display:flex; flex-direction:column; gap:8px; margin-top:12px; }
.bike-route-link { display:flex; align-items:center; gap:10px; padding:12px 16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); text-decoration:none; color:inherit; transition:all var(--transition); }
.bike-route-link:hover { border-color:var(--accent); background:var(--bg-card-hover); }
.bike-route-link i { color:var(--accent); }
.bike-route-link span { margin-left:auto; font-size:12px; color:var(--text-muted); }

.gear-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:16px; }
.gear-category { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; }
.gear-category-title { font-size:14px; font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.gear-category-title i { color:var(--accent); }
.gear-item { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); gap:12px; text-decoration:none; color:inherit; transition:opacity var(--transition); }
.gear-item:hover { opacity:0.8; }
.gear-item:last-child { border-bottom:none; }
.gear-item-info { display:flex; flex-direction:column; }
.gear-item-info strong { font-size:13px; }
.gear-item-note { font-size:11px; color:var(--text-muted); margin-top:2px; }
.gear-item-price { font-size:13px; font-weight:700; color:var(--accent); white-space:nowrap; }

.bike-tips-list { list-style:none; padding:0; margin:0; }
.bike-tips-list li { padding:6px 0; font-size:13px; line-height:1.5; display:flex; gap:8px; }
.bike-tips-list li i { color:var(--accent); margin-top:3px; flex-shrink:0; }

@media (max-width:768px) {
  .bike-grid { grid-template-columns:1fr; }
  .bike-strengths-weaknesses { grid-template-columns:1fr; }
  .gear-grid { grid-template-columns:1fr; }
}


/* ── FERRY CARDS & GRID ── */

.ferry-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(360px, 1fr)); gap:16px; }
.ferry-intro { font-size:16px; line-height:1.8; color:var(--text-secondary); margin-bottom:32px; max-width:800px; }
.ferry-intro p { margin:0; }
.ferry-guide-card { display:flex; align-items:center; gap:16px; padding:16px 20px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); transition:all var(--transition); text-decoration:none; }
.ferry-guide-card:hover { background:var(--bg-card-hover); border-color:var(--accent); transform:translateY(-2px); box-shadow:0 4px 16px rgba(0,0,0,0.15); }
.ferry-guide-card-icon { width:44px; height:44px; background:var(--accent-glow); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; color:var(--accent); font-size:18px; flex-shrink:0; }
.ferry-guide-card-body { flex:1; }
.ferry-guide-card-body h3 { font-size:15px; font-weight:700; margin-bottom:2px; }
.ferry-guide-operator { font-size:12px; color:var(--text-muted); }
.ferry-guide-cost { font-size:12px; color:var(--accent); font-weight:600; margin-top:2px; }
.ferry-guide-card-arrow { color:var(--text-dim); font-size:12px; flex-shrink:0; transition:color var(--transition); }
.ferry-guide-card:hover .ferry-guide-card-arrow { color:var(--accent); }
.ferry-guides-grid { display:flex; flex-direction:column; gap:10px; }

.ferry-full-card { display:block; padding:24px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); transition:all var(--transition); text-decoration:none; color:inherit; }
.ferry-full-card:hover { background:var(--bg-card-hover); border-color:var(--accent); transform:translateY(-2px); }
.ferry-full-card-header { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.ferry-full-card-header h3 { font-size:18px; font-weight:700; }
.ferry-full-card-icon { width:48px; height:48px; background:var(--accent-glow); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; color:var(--accent); font-size:20px; flex-shrink:0; }
.ferry-full-card-meta { display:flex; gap:20px; margin-top:16px; font-size:13px; color:var(--text-muted); }
.ferry-full-card-meta i { color:var(--accent); margin-right:4px; }
.ferry-operator { font-size:13px; color:var(--text-muted); }
.ferry-routes-list { margin-bottom:8px; }
.ferry-routes-list li { padding:6px 0; font-size:13px; color:var(--text-secondary); display:flex; align-items:center; gap:8px; }
.ferry-routes-list li i { color:var(--accent); font-size:11px; width:16px; }
.ferry-routes-detail { margin-bottom:16px; }
.ferry-route-item { padding:10px 0; font-size:14px; color:var(--text-secondary); display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--border); }
.ferry-route-item i { color:var(--accent); font-size:12px; }
.ferry-book-btn { display:inline-flex; align-items:center; gap:8px; padding:10px 20px; background:var(--accent); color:#fff; border-radius:var(--radius); font-size:13px; font-weight:700; text-decoration:none; transition:all var(--transition); }
.ferry-book-btn:hover { background:var(--accent-hover); box-shadow:0 0 20px rgba(214,138,45,0.2); }


/* ── FILTER PILLS ── */

.filter-pills { display:flex; gap:8px; margin-bottom:24px; flex-wrap:wrap; }
.filter-pill { padding:7px 18px; background:var(--bg-card); border:1px solid var(--border); border-radius:20px; font-size:13px; font-weight:600; color:var(--text-muted); cursor:pointer; transition:all var(--transition); font-family:inherit; }
.filter-pill:hover { border-color:var(--accent); color:var(--text); }
.filter-pill-active { background:var(--accent); color:#fff; border-color:var(--accent); }
.filter-pill-active:hover { background:var(--accent-hover); }


/* ── DETAIL PAGES ── */

.detail-grid { display:grid; grid-template-columns:1fr 340px; gap:40px; margin-top:24px; }
.detail-main { }
.detail-heading { font-family:'Playfair Display',serif; font-size:24px; font-weight:700; margin-bottom:16px; color:var(--text); }
.detail-text { font-size:15px; line-height:1.8; color:var(--text-secondary); }
.detail-sidebar { display:flex; flex-direction:column; gap:12px; }
.detail-cta { text-align:center; margin-top:40px; padding-top:32px; border-top:1px solid var(--border); }
.info-card { padding:16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); }
.info-card h4 { font-size:13px; font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:6px; color:var(--text); }
.info-card h4 i { color:var(--accent); font-size:12px; }
.info-card p { font-size:13px; color:var(--text-secondary); line-height:1.6; margin:0; }
.info-list { list-style:none; padding:0; }
.info-list li { padding:5px 0; font-size:13px; color:var(--text-secondary); display:flex; align-items:center; gap:8px; }
.info-list li i { color:var(--accent); font-size:11px; width:14px; flex-shrink:0; }


/* ── GUIDE CARDS & ARTICLES ── */

.guide-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:20px; }
.guide-card { display:block; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; text-decoration:none; color:inherit; transition:all var(--transition); }
.guide-card:hover { border-color:var(--accent); transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.2); }
.guide-card-img { width:100%; height:180px; background-size:cover; background-position:center; position:relative; background-color:var(--bg-card-hover); }
.guide-card-cat { position:absolute; top:10px; left:10px; padding:3px 10px; background:var(--accent); color:#080c0b; border-radius:20px; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }
.guide-card-body { padding:16px; }
.guide-card-body h3 { font-size:15px; font-weight:700; margin-bottom:4px; line-height:1.3; }
.guide-card-body p { font-size:12px; color:var(--text-muted); line-height:1.5; margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.guide-card-meta { display:flex; gap:14px; font-size:11px; color:var(--text-dim); }
.guide-card-meta i { color:var(--accent); margin-right:3px; }

.article-hero-cat { font-size:11px; text-transform:uppercase; letter-spacing:2px; color:var(--accent); font-weight:700; display:block; margin-bottom:8px; }
.article-hero-meta { display:flex; gap:16px; font-size:12px; color:rgba(255,255,255,0.7); margin-top:12px; }
.article-hero-meta i { margin-right:4px; }

.article-layout { display:grid; grid-template-columns:1fr 300px; gap:32px; margin-top:24px; }
.article-body { font-size:15px; line-height:1.8; color:var(--text-secondary); }
.article-body h2 { font-family:'Playfair Display',serif; font-size:22px; font-weight:700; margin:32px 0 12px; color:var(--text-primary); }
.article-body h3 { font-size:17px; font-weight:700; margin:24px 0 8px; color:var(--text-primary); }
.article-body p { margin-bottom:16px; }
.article-body ul, .article-body ol { padding-left:20px; margin-bottom:16px; }
.article-body li { margin-bottom:6px; list-style:disc; }
.article-body ol li { list-style:decimal; }
.article-body strong { color:var(--text-primary); }
.article-body blockquote { border-left:3px solid var(--accent); padding:12px 16px; margin:16px 0; background:var(--bg-card); border-radius:0 var(--radius) var(--radius) 0; font-style:italic; color:var(--text-muted); }

.article-sidebar { position:sticky; top:80px; align-self:start; }
.article-affiliate-box { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:16px; }
.article-affiliate-box h4 { font-size:13px; font-weight:700; margin-bottom:12px; }
.article-affiliate { display:flex; align-items:center; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--border); text-decoration:none; color:inherit; transition:opacity var(--transition); }
.article-affiliate:last-child { border-bottom:none; }
.article-affiliate:hover { opacity:0.8; }
.article-affiliate-name { font-size:13px; font-weight:600; }
.article-affiliate-price { font-size:12px; color:var(--accent); font-weight:700; white-space:nowrap; }

.article-tags { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; }
.article-tags h4 { font-size:13px; font-weight:700; margin-bottom:10px; }
.article-tag { display:inline-block; padding:3px 10px; background:var(--accent-glow); border:1px solid rgba(214,138,45,0.15); border-radius:20px; font-size:10px; color:var(--accent); font-weight:600; margin:0 4px 4px 0; }

.article-share-bar { display:flex; align-items:center; gap:8px; padding:12px 0; margin-bottom:8px; }
.article-share-bar:last-child { margin-top:24px; padding-top:20px; border-top:1px solid var(--border); margin-bottom:0; }
.article-share-label { font-size:12px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:1px; margin-right:4px; }
.article-share-btn { display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; border:1px solid var(--border); background:var(--bg-card); color:var(--text-muted); font-size:14px; cursor:pointer; text-decoration:none; transition:all var(--transition); }
.article-share-btn:hover { border-color:var(--accent); color:var(--accent); transform:translateY(-1px); }
.share-facebook:hover { color:#1877F2; border-color:#1877F2; }
.share-twitter:hover { color:#000; border-color:#000; }
[data-theme="dark"] .share-twitter:hover { color:#fff; border-color:#fff; }
.share-whatsapp:hover { color:#25D366; border-color:#25D366; }
.share-reddit:hover { color:#FF4500; border-color:#FF4500; }
.share-email:hover { color:var(--accent); border-color:var(--accent); }

.article-related { margin-top:40px; padding-top:32px; border-top:1px solid var(--border); }
.article-related h3 { font-size:18px; font-weight:700; margin-bottom:16px; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:16px; }
.related-card { display:flex; gap:12px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; transition:all var(--transition); }
.related-card:hover { border-color:var(--accent); }
.related-card-img { width:100px; min-height:80px; background-size:cover; background-position:center; flex-shrink:0; }
.related-card-body { padding:10px 12px 10px 0; display:flex; flex-direction:column; justify-content:center; }
.related-card-body h4 { font-size:13px; font-weight:700; line-height:1.3; margin-bottom:4px; }
.related-card-body span { font-size:11px; color:var(--text-muted); }

@media (max-width:768px) {
  .guide-grid { grid-template-columns:1fr; }
  .article-layout { grid-template-columns:1fr; }
  .article-sidebar { position:static; }
}

/* ── BREADCRUMB ── */

.breadcrumb { font-size:13px; color:var(--text-dim); margin-bottom:24px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.breadcrumb a { color:var(--text-muted); text-decoration:none; transition:color var(--transition); }
.breadcrumb a:hover { color:var(--accent); }
.breadcrumb i { font-size:8px; color:var(--text-dim); }
.breadcrumb span { color:var(--text); font-weight:600; }


/* ── TIPS CALLOUT ── */

.tips-callout { display:flex; gap:16px; padding:20px; background:var(--accent-glow); border:1px solid rgba(214,138,45,0.15); border-radius:var(--radius); margin-top:32px; }
.tips-callout-icon { width:40px; height:40px; background:var(--accent); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px; flex-shrink:0; }
.tips-callout-body h4 { font-size:14px; font-weight:700; color:var(--accent); margin-bottom:6px; }
.tips-callout-body p { font-size:13px; line-height:1.7; color:var(--text-secondary); margin:0; }


/* ── NEWSLETTER SECTION ── */

.newsletter-section { background:var(--bg-surface); text-align:center; }
.newsletter-inner { max-width:560px; margin:0 auto; }
.newsletter-icon { font-size:40px; color:var(--accent); margin-bottom:16px; display:block; }
.newsletter-form { display:flex; gap:8px; max-width:440px; margin:0 auto; }
.newsletter-input { flex:1; padding:14px 18px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); color:var(--text); font-size:14px; font-family:inherit; outline:none; transition:border-color var(--transition); }
.newsletter-input::placeholder { color:var(--text-dim); }
.newsletter-input:focus { border-color:var(--accent); }
.newsletter-btn { padding:14px 24px; background:var(--accent); color:#fff; border:none; border-radius:var(--radius); font-size:14px; font-weight:700; cursor:pointer; transition:background var(--transition); white-space:nowrap; font-family:inherit; }
.newsletter-btn:hover { background:var(--accent-hover); }


/* ── OUTLINE BUTTON ── */

.btn-outline { display:inline-flex; align-items:center; gap:8px; padding:12px 28px; background:transparent; border:2px solid var(--accent); color:var(--accent); border-radius:50px; font-size:14px; font-weight:700; text-decoration:none; transition:all var(--transition); }
.btn-outline:hover { background:var(--accent); color:#fff; box-shadow:0 0 24px rgba(214,138,45,0.2); }


/* ── PLANNING PAGE ── */

.tools-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:16px; }
.tools-grid .tool-card h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.tools-grid .tool-card p { font-size:13px; color:var(--text-muted); line-height:1.6; margin:0; }
.planning-tips-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:16px; }
.planning-tip-card { padding:20px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); }
.planning-tip-card h4 { font-size:14px; font-weight:700; margin-bottom:8px; display:flex; align-items:center; gap:8px; color:var(--text); }
.planning-tip-card h4 i { color:var(--accent); }
.planning-tip-card p { font-size:13px; line-height:1.7; color:var(--text-secondary); margin:0; }
/* ── Packing Checklist Tool ── */
.packing-trip-selector { display:flex; gap:8px; justify-content:center; margin-bottom:28px; flex-wrap:wrap; }
.packing-trip-btn { padding:10px 20px; background:var(--bg-card); border:1px solid var(--border); border-radius:50px; color:var(--text-muted); font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; transition:all var(--transition); }
.packing-trip-btn:hover { border-color:var(--accent); color:var(--accent); }
.packing-trip-active { background:var(--accent); border-color:var(--accent); color:#080c0b; }

.packing-progress { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px 24px; margin-bottom:24px; }
.packing-progress-text { font-size:14px; color:var(--text-secondary); margin-bottom:10px; }
.packing-progress-text strong { color:var(--text); }
.packing-progress-bar { height:8px; background:var(--bg-secondary); border-radius:4px; overflow:hidden; }
.packing-progress-fill { height:100%; background:var(--accent); border-radius:4px; transition:width 0.4s ease; }

.packing-categories { display:grid; grid-template-columns:repeat(auto-fill, minmax(320px, 1fr)); gap:20px; }
.packing-category { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; }
.packing-category-header { display:flex; align-items:center; gap:10px; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--border); }
.packing-category-header i { font-size:18px; color:var(--accent); }
.packing-category-header h3 { font-size:15px; font-weight:700; color:var(--text); margin:0; }
.packing-category-items { display:flex; flex-direction:column; gap:2px; }

.packing-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-sm); cursor:pointer; transition:background var(--transition); user-select:none; }
.packing-item:hover { background:var(--bg-secondary); }
.packing-item-checked { opacity:0.5; }
.packing-item-checked .packing-item-label { text-decoration:line-through; }
.packing-cb { width:18px; height:18px; accent-color:var(--accent); cursor:pointer; flex-shrink:0; }
.packing-item-label { font-size:14px; color:var(--text-secondary); }

.packing-add-custom { display:flex; gap:6px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
.packing-custom-input { flex:1; padding:8px 12px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:12px; font-family:inherit; }
.packing-custom-input:focus { outline:none; border-color:var(--accent); }
.packing-add-btn { padding:8px 12px; background:var(--accent); border:none; color:#080c0b; border-radius:var(--radius-sm); cursor:pointer; font-size:12px; }
.packing-add-btn:hover { opacity:0.85; }

.packing-actions { display:flex; gap:12px; justify-content:center; margin-top:24px; }

.packing-shop-cta { display:flex; align-items:center; gap:16px; margin-top:28px; padding:20px 24px; background:var(--bg-card); border:1px solid var(--border); border-left:4px solid var(--accent); border-radius:var(--radius); }
.packing-shop-cta i { font-size:24px; color:var(--accent); flex-shrink:0; }
.packing-shop-cta-body { flex:1; }
.packing-shop-cta-body p { font-size:14px; color:var(--text-secondary); margin:0 0 8px; line-height:1.5; }
.packing-shop-cta-body strong { color:var(--text); }
.packing-shop-cta-body a { font-size:13px; font-weight:600; color:var(--accent); text-decoration:none; }
.packing-shop-cta-body a:hover { text-decoration:underline; }

@media (max-width:680px) {
  .packing-categories { grid-template-columns:1fr; }
  .packing-trip-selector { gap:6px; }
  .packing-trip-btn { padding:8px 14px; font-size:12px; }
}

/* ── Admin Dashboard ── */
.admin-stats-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:12px; margin-bottom:28px; }
.admin-stat { display:flex; align-items:center; gap:12px; padding:16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); }
.admin-stat-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.admin-stat-value { font-size:22px; font-weight:800; color:var(--text); }
.admin-stat-label { font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }
.admin-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:20px; }
.admin-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:24px; }
.admin-card h3 { font-size:15px; font-weight:700; color:var(--text); margin:0 0 16px; display:flex; align-items:center; gap:8px; }
.admin-tag-row { display:flex; align-items:center; gap:8px; padding:6px 0; border-bottom:1px solid var(--border); font-size:13px; }
.admin-tag-row:last-child { border-bottom:none; }
.admin-tag-rank { width:20px; text-align:center; font-weight:700; color:var(--accent); font-size:12px; }
.admin-tag-name { flex:1; color:var(--text-secondary); }
.admin-tag-count { font-size:11px; color:var(--text-muted); }
.admin-post-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--border); }
.admin-post-row:last-child { border-bottom:none; }
.admin-post-info { flex:1; min-width:0; }
.admin-post-info strong { display:block; font-size:13px; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-post-info span { font-size:11px; color:var(--text-muted); }
.admin-post-stats { display:flex; gap:10px; font-size:11px; color:var(--text-muted); flex-shrink:0; }
.admin-post-stats i { color:var(--accent); margin-right:2px; }
.admin-delete-post { background:none; border:none; color:var(--text-muted); cursor:pointer; padding:4px 6px; border-radius:4px; font-size:12px; margin-left:6px; transition:all var(--transition); }
.admin-delete-post:hover { color:#ff4444; background:rgba(255,68,68,0.08); }

.admin-section-header { font-size:13px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:1.5px; margin:32px 0 16px; padding-bottom:8px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; }
.admin-section-header:first-of-type { margin-top:0; }
.admin-code { background:var(--bg-secondary); padding:2px 6px; border-radius:3px; font-size:12px; }
.admin-ga4-path { font-size:12px; color:var(--text-muted); line-height:1.6; }
.admin-ga4-path strong { color:var(--text-secondary); }

.admin-funnel { display:flex; flex-direction:column; align-items:center; gap:4px; margin-top:12px; }
.admin-funnel-step { width:100%; padding:10px 14px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:var(--radius-sm); display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.admin-funnel-label { font-weight:600; color:var(--text); }
.admin-funnel-event { display:flex; gap:4px; }
.admin-funnel-arrow { color:var(--text-muted); font-size:10px; }
.admin-funnel-money { border-color:var(--accent); background:rgba(214,138,45,0.06); }
.admin-funnel-money .admin-funnel-label { color:var(--accent); }

.admin-table-wrap { overflow-x:auto; }
.admin-users-table { width:100%; border-collapse:collapse; font-size:13px; }
.admin-users-table th { text-align:left; padding:8px 10px; font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; border-bottom:2px solid var(--border); }
.admin-users-table td { padding:10px; border-bottom:1px solid var(--border); color:var(--text-secondary); }
.admin-users-table tr:hover td { background:var(--bg-secondary); }

.admin-events-table { width:100%; border-collapse:collapse; font-size:13px; }
.admin-events-table th { text-align:left; padding:8px 10px; font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; border-bottom:2px solid var(--border); }
.admin-events-table td { padding:10px; border-bottom:1px solid var(--border); color:var(--text-secondary); }

.admin-tabs { display:flex; gap:4px; border-bottom:2px solid var(--border); padding-bottom:0; }
.admin-tab { background:none; border:none; color:var(--text-muted); font-size:13px; font-weight:600; padding:10px 16px; cursor:pointer; font-family:inherit; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all var(--transition); display:flex; align-items:center; gap:6px; }
.admin-tab:hover { color:var(--text); }
.admin-tab.active { color:var(--accent); border-bottom-color:var(--accent); }

.admin-email-row { padding:14px 20px; border-bottom:1px solid var(--border); transition:background var(--transition); }
.admin-email-row:hover { background:var(--bg-secondary); }
.admin-email-row:last-child { border-bottom:none; }
.admin-email-row.unread { background:rgba(214,138,45,0.04); }
.admin-email-row.unread:hover { background:rgba(214,138,45,0.08); }

.packing-checklist { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; }
.packing-list-site { list-style:none; padding:0; margin:0; }
.packing-list-site li { padding:8px 0; font-size:14px; color:var(--text-secondary); display:flex; align-items:flex-start; gap:10px; border-bottom:1px solid var(--border); }
.packing-list-site li:last-child { border-bottom:none; }
.packing-list-site li i { color:var(--accent); margin-top:4px; font-size:12px; flex-shrink:0; }


/* ── COMING SOON PAGE (SUB-CLASSES) ── */

.coming-soon-inner { text-align:center; max-width:520px; }
.coming-soon-title { font-family:'Playfair Display',serif; font-size:36px; font-weight:900; margin-bottom:12px; color:var(--text); }
.coming-soon-badge { display:inline-block; padding:6px 16px; background:var(--accent-glow); border:1px solid rgba(214,138,45,0.2); border-radius:20px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--accent); margin-bottom:16px; }
.coming-soon-desc { font-size:16px; line-height:1.7; color:var(--text-secondary); margin-bottom:8px; }
.coming-soon-note { font-size:14px; color:var(--text-muted); margin-bottom:24px; }


/* ── FOOTER GRID ── */

.footer-grid { max-width:1200px; margin:0 auto; padding:0 24px; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; }
.footer-col { display:flex; flex-direction:column; }
.footer-col h4 { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:rgba(244,244,244,0.5); margin-bottom:16px; }
.footer-col a { font-size:14px; color:rgba(244,244,244,0.7); text-decoration:none; transition:color var(--transition); display:block; padding:4px 0; }
.footer-col a:hover { color:var(--accent); }
.footer-logo { display:flex; align-items:center; gap:10px; font-size:18px; font-weight:800; letter-spacing:1.5px; color:#fff; margin-bottom:8px; }
.footer-logo i { color:var(--accent); }
.footer-logo strong { color:var(--accent); }
.footer-tagline { font-size:13px; color:rgba(244,244,244,0.5); font-style:italic; }


/* ── LATE MOBILE OVERRIDES (cascade after detail/footer/etc) ── */

@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-sidebar {
    order: -1;
  }
  .detail-main {
    overflow-x: hidden;
    word-wrap: break-word;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .tips-callout {
    flex-direction: column;
  }
  .breadcrumb {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .detail-grid {
    gap: 16px;
  }
  .info-card {
    padding: 12px;
  }
}

/* ── 20. PRINT ── */

@media print {
  .main-nav,
  .site-footer,
  .map-container,
  #map,
  .sidebar-overlay,
  .map-legend,
  .day-nav,
  .planner-back,
  .planner-menu-btn,
  .nav-mobile-menu,
  .hero-scroll {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    overflow: visible !important;
  }

  .site-view {
    padding-top: 0;
  }

  .page-body {
    max-width: 100%;
  }

  .sidebar {
    width: 100%;
    height: auto;
    overflow: visible;
    position: static;
    border: none;
    box-shadow: none;
  }

  .planner-view {
    position: static;
  }

  .stop-card,
  .road-card,
  .tips-box {
    break-inside: avoid;
  }
}


/* ── AUTH UI ── */

.nav-build-route-btn { display:flex; align-items:center; gap:6px; padding:7px 16px; border-radius:20px; font-size:12px; font-weight:700; text-decoration:none; background:var(--accent); color:#080c0b; transition:all var(--transition); white-space:nowrap; }
.nav-build-route-btn:hover { opacity:0.88; transform:translateY(-1px); }
@media (max-width:768px) { .nav-build-route-btn { display:none; } }
.nav-auth-btn { display:flex; align-items:center; gap:6px; padding:6px 14px; border-radius:20px; font-size:12px; font-weight:600; text-decoration:none; color:var(--text-primary); background:var(--accent); color:#080c0b; transition:opacity var(--transition); white-space:nowrap; }
.nav-auth-btn:hover { opacity:0.85; }
.nav-auth-profile { background:var(--bg-card); color:var(--text-primary); border:1px solid var(--border); }
.nav-avatar { width:22px; height:22px; border-radius:50%; object-fit:cover; }

.auth-modal-overlay { position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,0.6); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; padding:20px; }
.auth-modal { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); width:100%; max-width:400px; padding:32px; position:relative; }
.auth-modal-close { position:absolute; top:12px; right:12px; background:none; border:none; color:var(--text-muted); font-size:18px; cursor:pointer; padding:4px; }
.auth-modal-close:hover { color:var(--text-primary); }
.auth-modal-header { text-align:center; margin-bottom:24px; }
.auth-modal-logo { font-size:28px; color:var(--accent); margin-bottom:8px; }
.auth-modal-header h2 { font-family:'Playfair Display',serif; font-size:22px; margin-bottom:4px; }
.auth-modal-header p { font-size:13px; color:var(--text-muted); }

.auth-google-btn { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; padding:12px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg-card-hover); color:var(--text-primary); font-size:14px; font-weight:600; cursor:pointer; transition:all var(--transition); }
.auth-google-btn:hover { border-color:var(--accent); }
.auth-divider { display:flex; align-items:center; gap:12px; margin:20px 0; font-size:12px; color:var(--text-muted); }
.auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }

.auth-input { display:block; width:100%; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius); background:var(--bg-body); color:var(--text-primary); font-size:14px; margin-bottom:10px; box-sizing:border-box; }
.auth-input:focus { outline:none; border-color:var(--accent); }
.auth-submit-btn { display:block; width:100%; padding:12px; border:none; border-radius:var(--radius); background:var(--accent); color:#080c0b; font-size:14px; font-weight:700; cursor:pointer; transition:opacity var(--transition); }
.auth-submit-btn:hover { opacity:0.85; }
.auth-submit-btn:disabled { opacity:0.5; cursor:not-allowed; }

.auth-error { color:#e74c3c; font-size:12px; margin-top:10px; text-align:center; }
.auth-toggle { font-size:12px; color:var(--text-muted); text-align:center; margin-top:16px; }
.auth-toggle a { color:var(--accent); text-decoration:none; font-weight:600; }
.auth-forgot { font-size:11px; color:var(--text-muted); text-align:center; margin-top:8px; }
.auth-forgot a { color:var(--text-muted); text-decoration:none; }
.auth-forgot a:hover { color:var(--accent); }
.auth-success { text-align:center; padding:20px 0; }
.auth-success i { font-size:40px; color:#27ae60; margin-bottom:12px; }
.auth-success p { font-size:14px; color:var(--text-secondary); }

/* Profile Page */
.profile-header { display:flex; align-items:center; gap:20px; margin-bottom:32px; padding-bottom:24px; border-bottom:1px solid var(--border); }
.profile-avatar { width:64px; height:64px; border-radius:50%; object-fit:cover; border:3px solid var(--accent); }
.profile-avatar-placeholder { width:64px; height:64px; border-radius:50%; background:var(--accent); display:flex; align-items:center; justify-content:center; font-size:24px; color:#080c0b; font-weight:700; }
.profile-avatar-upload { position:relative; cursor:pointer; display:inline-block; }
.profile-avatar-edit { position:absolute; bottom:0; right:0; width:22px; height:22px; border-radius:50%; background:var(--accent); color:#080c0b; display:flex; align-items:center; justify-content:center; font-size:10px; border:2px solid var(--bg-card); }
.profile-avatar-upload:hover .profile-avatar-edit { transform:scale(1.1); }
.profile-info h2 { font-family:'Playfair Display',serif; font-size:22px; margin-bottom:2px; }
.profile-info p { font-size:13px; color:var(--text-muted); }
.profile-actions { margin-left:auto; display:flex; gap:8px; }

.profile-section { margin-bottom:36px; }
.profile-section h3 { font-size:16px; font-weight:700; margin-bottom:16px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.profile-section h3 i { color:var(--accent); }

/* Garage */
.garage-add-trigger { margin-left:auto; padding:5px 14px; background:var(--accent); color:#080c0b; border:none; border-radius:20px; font-size:11px; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:5px; transition:opacity var(--transition); }
.garage-add-trigger:hover { opacity:0.85; }

.garage-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); gap:16px; }
.garage-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:border-color var(--transition); position:relative; }
.garage-card:hover { border-color:var(--accent); }

.garage-card-media { position:relative; height:180px; background:var(--bg-card-hover); overflow:hidden; }
.garage-card-img { width:100%; height:100%; object-fit:cover; }
.garage-card-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:48px; color:var(--text-dim); }

.garage-primary-badge { position:absolute; top:10px; left:10px; padding:3px 10px; background:var(--accent); color:#080c0b; border-radius:20px; font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; }

.garage-photo-upload { position:absolute; bottom:10px; right:10px; }
.garage-photo-btn { width:32px; height:32px; border-radius:50%; background:rgba(0,0,0,0.5); backdrop-filter:blur(4px); color:#fff; display:flex; align-items:center; justify-content:center; font-size:13px; cursor:pointer; transition:all var(--transition); }
.garage-photo-btn:hover { background:var(--accent); color:#080c0b; transform:scale(1.1); }

.garage-card-body { padding:14px 16px; }
.garage-nickname { font-size:16px; font-weight:800; color:var(--accent); margin-bottom:2px; font-family:'Playfair Display',serif; }
.garage-make-model { font-size:14px; font-weight:600; color:var(--text); }
.garage-year { font-size:12px; color:var(--text-muted); font-weight:400; }
.garage-notes { font-size:12px; color:var(--text-muted); margin-top:4px; line-height:1.5; }

.garage-card-actions { display:flex; gap:4px; padding:0 12px 12px; }
.garage-action-btn { width:30px; height:30px; border:1px solid var(--border); border-radius:var(--radius-sm); background:none; color:var(--text-muted); font-size:11px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all var(--transition); }
.garage-action-btn:hover { border-color:var(--accent); color:var(--accent); }

.garage-add-form { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-top:16px; }
.garage-add-form label { display:block; font-size:12px; font-weight:600; color:var(--text-muted); margin-bottom:4px; text-transform:uppercase; letter-spacing:0.5px; }
.garage-add-form input, .garage-select { width:100%; padding:9px 12px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:13px; font-family:inherit; }
.garage-add-form input:focus, .garage-select:focus { outline:none; border-color:var(--accent); }
.garage-select { appearance:none; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }
.garage-select:disabled { opacity:0.5; cursor:not-allowed; }
.garage-custom-input { margin-top:6px; }
.garage-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.garage-nickname-wrap { display:flex; gap:6px; }
.garage-nickname-wrap input { flex:1; }
.garage-nickname-gen { flex-shrink:0; width:38px; height:38px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--accent); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all var(--transition); }
.garage-nickname-gen:hover { background:var(--accent); color:#fff; }
.garage-bike-specs { margin-top:12px; padding:12px 16px; background:rgba(214,138,45,0.08); border:1px solid rgba(214,138,45,0.2); border-radius:var(--radius-sm); }
.garage-specs-row { display:flex; gap:16px; flex-wrap:wrap; font-size:13px; color:var(--text-secondary); }
.garage-specs-row i { color:var(--accent); margin-right:4px; }
.garage-bike-range { display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--text-muted); margin-top:6px; }
.garage-bike-range i { color:var(--accent); margin-right:3px; font-size:11px; }
.garage-form-actions { display:flex; gap:10px; margin-top:14px; }

@media (max-width:900px) {
  .garage-grid { grid-template-columns:1fr; }
  .garage-form-grid { grid-template-columns:1fr; }
}

.saved-trip-card { display:flex; align-items:center; gap:16px; padding:16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:10px; transition:all var(--transition); }
.saved-trip-card:hover { border-color:var(--accent); }
.saved-trip-info { flex:1; }
.saved-trip-info h4 { font-size:14px; font-weight:700; margin-bottom:2px; }
.saved-trip-info p { font-size:11px; color:var(--text-muted); }
.saved-trip-actions { display:flex; gap:6px; }
.saved-trip-actions button { padding:6px 10px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--bg-card-hover); color:var(--text-secondary); font-size:11px; cursor:pointer; transition:all var(--transition); }
.saved-trip-actions button:hover { border-color:var(--accent); color:var(--accent); }

.fav-item { display:flex; align-items:center; gap:12px; padding:10px 14px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:8px; text-decoration:none; color:inherit; transition:all var(--transition); }
.fav-item:hover { border-color:var(--accent); }
.fav-item i { color:var(--accent); width:16px; text-align:center; }
.fav-item span { font-size:13px; font-weight:600; }
.fav-item .fav-type { margin-left:auto; font-size:10px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }

.fav-btn { background:none; border:none; cursor:pointer; color:var(--text-muted); font-size:18px; padding:4px 8px; transition:color var(--transition); }
.fav-btn:hover, .fav-btn.fav-active { color:#e74c3c; }

.route-card-wrapper, .dest-card-wrapper { position:relative; }
.card-fav-btn { position:absolute; top:10px; right:10px; z-index:3; width:32px; height:32px; border-radius:50%; background:rgba(0,0,0,0.4); backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center; font-size:14px; padding:0; color:rgba(255,255,255,0.7); transition:all var(--transition); }
.card-fav-btn:hover { background:rgba(0,0,0,0.6); color:#fff; transform:scale(1.1); }
.card-fav-btn.fav-active { color:#e74c3c; background:rgba(0,0,0,0.5); }
.dest-card-wrapper .dest-card { display:block; }

.profile-empty { text-align:center; padding:40px 20px; color:var(--text-muted); }
.profile-empty i { font-size:32px; margin-bottom:12px; display:block; }
.profile-empty p { font-size:13px; }

@media (max-width:768px) {
  .profile-header { flex-direction:column; text-align:center; }
  .profile-actions { margin-left:0; }
  .saved-trip-card { flex-direction:column; align-items:flex-start; }
  .saved-trip-actions { width:100%; justify-content:flex-end; }
}

/* ── Hero CTA Group ────────────────────────────────── */
.hero-cta-group { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:8px; }
.hero-cta-secondary { background:transparent; border:2px solid rgba(255,255,255,0.6); }
.hero-cta-secondary:hover { background:rgba(255,255,255,0.12); border-color:#fff; box-shadow:0 0 30px rgba(255,255,255,0.1); }

/* ── Home Split Layout ─────────────────────────────── */
.home-split { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.home-split-reverse .home-split-text { order:1; }
.home-split-reverse .home-split-visual { order:0; }
.home-feature-list { list-style:none; padding:0; margin:20px 0 0; }
.home-feature-list li { padding:8px 0; font-size:14px; color:var(--text-secondary); display:flex; align-items:center; gap:10px; }
.home-feature-list li i { color:var(--accent); font-size:12px; flex-shrink:0; }
.coming-soon-tag { display:inline-block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; background:rgba(214,138,45,0.15); color:var(--accent); padding:2px 8px; border-radius:20px; margin-left:8px; }

/* ── Route Builder Preview ─────────────────────────── */
.home-builder-preview { background:var(--bg-secondary); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 8px 40px rgba(0,0,0,0.3); }
.builder-preview-bar { display:flex; gap:6px; padding:12px 16px; background:rgba(0,0,0,0.2); border-bottom:1px solid var(--border); }
.builder-dot { width:10px; height:10px; border-radius:50%; background:var(--border); }
.builder-preview-body { display:grid; grid-template-columns:2fr 1fr; min-height:240px; }
.builder-preview-map { display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,0.15); color:var(--text-muted); font-size:48px; }
.builder-preview-sidebar { padding:16px; display:flex; flex-direction:column; gap:10px; }
.builder-preview-wp { font-size:13px; color:var(--text-secondary); display:flex; align-items:center; gap:8px; }
.wp-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.wp-dot-start { background:#6BCB77; }
.wp-dot-mid { background:var(--accent); }
.wp-dot-end { background:#FF6B6B; }
.builder-preview-stats { margin-top:auto; font-size:12px; color:var(--text-muted); border-top:1px solid var(--border); padding-top:10px; }

/* ── Guides Section ────────────────────────────────── */
.home-guides-cats { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:32px; }
.home-guide-cat { display:flex; align-items:center; gap:6px; padding:8px 18px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:50px; font-size:13px; font-weight:600; color:var(--text-secondary); text-decoration:none; transition:all var(--transition); }
.home-guide-cat:hover { border-color:var(--accent); color:var(--accent); background:rgba(214,138,45,0.08); }
.home-guide-cat i { font-size:12px; }
.home-guides-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.home-guide-card { border-radius:12px; overflow:hidden; background:var(--bg-secondary); border:1px solid var(--border); text-decoration:none; transition:all var(--transition); }
.home-guide-card:hover { border-color:var(--accent); transform:translateY(-3px); box-shadow:0 8px 32px rgba(0,0,0,0.2); }
.home-guide-card-img { height:140px; background-size:cover; background-position:center; }
.home-guide-card-body { padding:16px; }
.home-guide-card-cat { display:inline-block; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--accent); margin-bottom:6px; }
.home-guide-card-body h4 { font-size:14px; color:var(--text-primary); margin:0 0 8px; line-height:1.4; }
.home-guide-card-meta { font-size:11px; color:var(--text-muted); }

/* ── Tools Grid 6 ──────────────────────────────────── */
.tools-grid-6 { grid-template-columns:repeat(3,1fr); }

/* ── Garage Preview ────────────────────────────────── */
.home-garage-preview { background:var(--bg-secondary); border:1px solid var(--border); border-radius:16px; overflow:hidden; box-shadow:0 8px 40px rgba(0,0,0,0.3); }
.garage-preview-header { padding:16px 20px; font-size:14px; font-weight:700; color:var(--text-primary); border-bottom:1px solid var(--border); display:flex; align-items:center; gap:8px; }
.garage-preview-header i { color:var(--accent); }
.garage-preview-bikes { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:20px; }
.garage-preview-bike { background:rgba(0,0,0,0.15); border-radius:10px; overflow:hidden; border:1px solid var(--border); }
.garage-preview-img { height:80px; display:flex; align-items:center; justify-content:center; font-size:28px; color:var(--text-muted); background:rgba(0,0,0,0.1); }
.garage-preview-name { padding:10px 12px; font-size:12px; font-weight:600; color:var(--text-primary); line-height:1.4; }
.garage-preview-name small { font-weight:400; color:var(--text-muted); }
.garage-preview-stats { display:flex; gap:16px; padding:12px 20px; border-top:1px solid var(--border); font-size:12px; color:var(--text-muted); }
.garage-preview-stats i { color:var(--accent); margin-right:4px; }

/* ── Homepage Responsive ───────────────────────────── */
@media (max-width:900px) {
  .home-split { grid-template-columns:1fr; gap:32px; }
  .home-split-reverse .home-split-text { order:0; }
  .home-split-reverse .home-split-visual { order:1; }
  .home-guides-grid { grid-template-columns:repeat(2,1fr); }
  .tools-grid-6 { grid-template-columns:repeat(2,1fr); }
  .hero-cta-group { flex-direction:column; align-items:center; }
}
@media (max-width:600px) {
  .home-guides-grid { grid-template-columns:1fr; }
  .tools-grid-6 { grid-template-columns:1fr; }
  .garage-preview-bikes { grid-template-columns:1fr; }
  .builder-preview-body { grid-template-columns:1fr; }
  .builder-preview-map { min-height:120px; }
}

/* ── Rider Level Badge ─────────────────────────────── */
.rider-level-badge { display:flex; align-items:center; gap:16px; padding:16px 20px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); margin-bottom:16px; }
.rider-level-icon { font-size:32px; flex-shrink:0; }
.rider-level-info { flex:1; min-width:0; }
.rider-level-name { font-size:15px; font-weight:700; margin-bottom:2px; }
.rider-level-xp { font-size:12px; color:var(--text-muted); margin-bottom:6px; }
.rider-level-bar { height:6px; background:var(--border); border-radius:3px; overflow:hidden; }
.rider-level-fill { height:100%; border-radius:3px; transition:width 0.6s ease; }

/* ── Profile Stats Row ─────────────────────────────── */
.profile-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.profile-stat-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:14px; text-align:center; }
.profile-stat-val { display:block; font-size:22px; font-weight:800; color:var(--accent); }
.profile-stat-label { display:block; font-size:11px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; margin-top:2px; }

/* ── Badge Grid ────────────────────────────────────── */
.badge-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; }
.badge-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:14px 10px; text-align:center; position:relative; transition:all var(--transition); }
.badge-earned { border-color:var(--accent); }
.badge-earned .badge-icon { color:var(--accent); }
.badge-locked { opacity:0.4; }
.badge-locked .badge-icon { color:var(--text-muted); }
.badge-icon { font-size:24px; margin-bottom:6px; }
.badge-name { font-size:11px; font-weight:600; color:var(--text-primary); line-height:1.3; }
.badge-date { font-size:9px; color:var(--text-muted); margin-top:4px; }
.badge-locked-label { font-size:10px; color:var(--text-muted); margin-top:4px; }

/* ── Ride Log ──────────────────────────────────────── */
.ride-log-form { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:16px; }
.ride-log-form label { display:block; font-size:12px; font-weight:600; color:var(--text-muted); margin-bottom:4px; text-transform:uppercase; letter-spacing:0.5px; }
.ride-log-form input, .ride-log-form select { width:100%; padding:9px 12px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:13px; font-family:inherit; }
.ride-log-list { display:flex; flex-direction:column; gap:6px; }
.ride-log-item { display:flex; align-items:center; gap:12px; padding:10px 14px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm); }
.ride-log-icon { color:var(--accent); font-size:16px; flex-shrink:0; }
.ride-log-info { flex:1; min-width:0; }
.ride-log-name { font-size:13px; font-weight:600; color:var(--text-primary); }
.ride-log-meta { font-size:11px; color:var(--text-muted); margin-top:2px; }
.ride-log-delete { background:none; border:none; color:#ff7675; cursor:pointer; font-size:12px; padding:4px 8px; border-radius:4px; flex-shrink:0; }
.ride-log-delete:hover { background:rgba(255,118,117,0.1); }

/* ── Scratch Map ───────────────────────────────────── */
.scratch-map-header { margin-bottom:16px; }
.scratch-progress-text { font-size:13px; color:var(--text-secondary); margin-bottom:6px; }
.scratch-progress-bar { height:8px; background:var(--border); border-radius:4px; overflow:hidden; }
.scratch-progress-fill { height:100%; background:var(--accent); border-radius:4px; transition:width 0.4s ease; }
.scratch-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
.scratch-dest { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; cursor:pointer; transition:all var(--transition); position:relative; }
.scratch-dest:hover { border-color:var(--accent); transform:translateY(-2px); }
.scratch-visited { border-color:var(--accent); }
.scratch-dest-img { height:80px; background-size:cover; background-position:center; position:relative; }
.scratch-visited .scratch-dest-img { filter:none; }
.scratch-dest:not(.scratch-visited) .scratch-dest-img { filter:grayscale(1) brightness(0.5); }
.scratch-check { position:absolute; top:6px; right:6px; color:#6BCB77; font-size:18px; text-shadow:0 1px 4px rgba(0,0,0,0.5); }
.scratch-unvisited { position:absolute; top:6px; right:6px; color:var(--text-muted); font-size:14px; opacity:0.6; }
.scratch-dest-info { padding:8px 10px; }
.scratch-dest-name { display:block; font-size:12px; font-weight:600; color:var(--text-primary); }
.scratch-dest-region { display:block; font-size:10px; color:var(--text-muted); margin-top:2px; }

/* ── Gamification Responsive ───────────────────────── */
@media (max-width:768px) {
  .profile-stats-row { grid-template-columns:repeat(2,1fr); }
  .badge-grid { grid-template-columns:repeat(3,1fr); }
  .scratch-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px) {
  .badge-grid { grid-template-columns:repeat(2,1fr); }
  .scratch-grid { grid-template-columns:repeat(2,1fr); }
  .rider-level-badge { flex-direction:column; text-align:center; }
}

/* ── Community Feed ────────────────────────────────── */
.feed-layout { display:grid; grid-template-columns:1fr 300px; gap:24px; }
.feed-main { min-width:0; }
.feed-sidebar { display:flex; flex-direction:column; gap:16px; }

.feed-compose { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:16px; }
.feed-compose-header { font-size:14px; font-weight:700; color:var(--text-primary); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.feed-compose-header i { color:var(--accent); }
.feed-compose-title { width:100%; padding:10px 12px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:14px; font-weight:600; font-family:inherit; margin-bottom:8px; }
.feed-compose-body { width:100%; padding:10px 12px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:13px; font-family:inherit; resize:vertical; min-height:60px; }
.feed-compose-title:focus, .feed-compose-body:focus { outline:none; border-color:var(--accent); }
.feed-compose-meta { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.feed-compose-meta input, .feed-compose-meta select { padding:8px 10px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:12px; font-family:inherit; flex:1; min-width:80px; }
.feed-compose-actions { margin-top:12px; }

.feed-filter-bar { display:flex; gap:6px; margin-bottom:16px; }
.feed-filter-btn { padding:7px 16px; background:var(--bg-secondary); border:1px solid var(--border); border-radius:50px; color:var(--text-muted); font-size:12px; font-weight:600; cursor:pointer; font-family:inherit; display:flex; align-items:center; gap:5px; transition:all var(--transition); }
.feed-filter-btn:hover { border-color:var(--accent); color:var(--accent); }
.feed-filter-active { background:var(--accent); border-color:var(--accent); color:#080c0b; }

.feed-tabs { display:flex; border-bottom:2px solid var(--border); margin-bottom:20px; }
.feed-tab { flex:1; padding:12px 0; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-2px; color:var(--text-muted); font-size:14px; font-weight:600; cursor:pointer; font-family:inherit; display:flex; align-items:center; justify-content:center; gap:6px; transition:all var(--transition); }
.feed-tab:hover { color:var(--text-primary); }
.feed-tab-active { color:var(--accent); border-bottom-color:var(--accent); }
.feed-tab-count { font-style:normal; font-size:11px; background:rgba(214,138,45,0.15); color:var(--accent); padding:1px 6px; border-radius:10px; margin-left:4px; }
.feed-tab-active .feed-tab-count { background:rgba(214,138,45,0.25); }
.feed-compose-expand { margin-top:8px; }

.feed-search { position:relative; margin-bottom:16px; }
.feed-search-icon { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-muted); font-size:13px; pointer-events:none; }
.feed-search-input { width:100%; padding:10px 12px 10px 36px; background:var(--bg-card); border:1px solid var(--border); border-radius:50px; color:var(--text); font-size:13px; font-family:inherit; transition:border-color var(--transition); box-sizing:border-box; }
.feed-search-input:focus { outline:none; border-color:var(--accent); }
.feed-search-input::placeholder { color:var(--text-muted); }

.feed-tag-picker { margin-top:8px; }
.feed-tag-options { display:flex; flex-wrap:wrap; gap:6px; }
.feed-tag-option { font-size:11px; color:var(--text-muted); background:var(--bg-secondary); border:1px solid var(--border); padding:3px 10px; border-radius:20px; cursor:pointer; transition:all var(--transition); user-select:none; }
.feed-tag-option:hover { border-color:var(--accent); color:var(--accent); }
.feed-tag-selected { background:var(--accent) !important; border-color:var(--accent) !important; color:#080c0b !important; }

.feed-trending { display:flex; flex-wrap:wrap; gap:6px; }
.feed-trending-tag { font-size:12px; color:var(--accent); cursor:pointer; padding:3px 10px; background:rgba(214,138,45,0.08); border-radius:20px; transition:all var(--transition); }
.feed-trending-tag:hover { background:rgba(214,138,45,0.2); }
.feed-trending-tag em { font-style:normal; font-size:10px; color:var(--text-muted); margin-left:2px; }

.feed-gated { filter:blur(6px); pointer-events:none; user-select:none; }
.feed-gate-overlay { position:relative; margin-top:-200px; padding-top:60px; text-align:center; z-index:10; }
.feed-gate-box { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px; display:inline-block; max-width:420px; box-shadow:0 20px 60px rgba(0,0,0,0.3); }

.feed-empty { text-align:center; padding:40px 20px; color:var(--text-muted); }
.feed-empty i { font-size:40px; margin-bottom:12px; display:block; }
.feed-empty p { font-size:14px; }

/* Feed Post Card */
.feed-post { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:20px; margin-bottom:12px; }
.feed-post-header { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.feed-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.feed-avatar-placeholder { width:36px; height:36px; border-radius:50%; background:var(--accent); color:#080c0b; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; flex-shrink:0; }
.feed-post-author { display:flex; flex-direction:column; }
.feed-author-name { font-size:13px; font-weight:600; color:var(--text-primary); }
.feed-post-time { font-size:11px; color:var(--text-muted); }
.feed-post-title { font-size:16px; font-weight:700; color:var(--text-primary); margin:0 0 8px; }
.feed-post-body { font-size:13px; color:var(--text-secondary); line-height:1.6; margin-bottom:10px; white-space:pre-wrap; }
.feed-post-meta { display:flex; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--text-muted); margin-bottom:10px; }
.feed-post-meta i { color:var(--accent); margin-right:3px; }
.feed-photos { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:6px; margin-bottom:10px; border-radius:var(--radius-sm); overflow:hidden; }
.feed-photo { height:120px; background-size:cover; background-position:center; border-radius:var(--radius-sm); }
.feed-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.feed-tag { font-size:11px; color:var(--accent); background:rgba(214,138,45,0.1); padding:2px 8px; border-radius:20px; }

.feed-post-actions { display:flex; gap:12px; padding-top:10px; border-top:1px solid var(--border); }
.feed-action-btn { background:none; border:none; color:var(--text-muted); font-size:12px; cursor:pointer; padding:4px 8px; border-radius:4px; display:flex; align-items:center; gap:4px; font-family:inherit; transition:all var(--transition); }
.feed-action-btn:hover { color:var(--accent); background:rgba(214,138,45,0.08); }
.feed-liked { color:#ff6b6b !important; }
.feed-liked:hover { color:#ff4444 !important; }
.feed-delete-btn { margin-left:auto; }
.feed-delete-btn:hover { color:#ff4444 !important; background:rgba(255,68,68,0.08) !important; }

/* Activity Item */
.feed-activity-item { display:flex; align-items:center; gap:12px; padding:12px 16px; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm); margin-bottom:6px; }
.feed-activity-icon { width:32px; height:32px; border-radius:50%; background:rgba(214,138,45,0.12); color:var(--accent); display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0; }
.feed-activity-body { flex:1; min-width:0; }
.feed-activity-text { font-size:13px; color:var(--text-secondary); }
.feed-activity-text strong { color:var(--text-primary); }
.feed-activity-time { font-size:10px; color:var(--text-muted); margin-top:2px; }
.feed-activity-img { width:48px; height:48px; border-radius:6px; background-size:cover; background-position:center; flex-shrink:0; }

/* Comments */
.feed-comments { padding:12px 0 0; }
.feed-comment { display:flex; gap:8px; padding:8px 0; }
.feed-comment-avatar { width:24px; height:24px; border-radius:50%; object-fit:cover; flex-shrink:0; }
.feed-comment-avatar-ph { width:24px; height:24px; border-radius:50%; background:var(--border); color:var(--text-muted); display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700; flex-shrink:0; }
.feed-comment-body { flex:1; }
.feed-comment-author { font-size:12px; font-weight:600; color:var(--text-primary); }
.feed-comment-text { font-size:12px; color:var(--text-secondary); }
.feed-comment-time { font-size:10px; color:var(--text-muted); margin-top:2px; }
.feed-comment-form { display:flex; gap:6px; margin-top:8px; }
.feed-comment-input { flex:1; padding:8px 10px; background:var(--bg); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:12px; font-family:inherit; }
.feed-comment-input:focus { outline:none; border-color:var(--accent); }
.feed-comment-send { background:var(--accent); border:none; color:#080c0b; padding:8px 12px; border-radius:var(--radius-sm); cursor:pointer; font-size:12px; }

/* Follow Button */
.feed-follow-btn { font-size:11px; padding:3px 10px; border-radius:20px; border:1px solid var(--accent); background:transparent; color:var(--accent); cursor:pointer; font-family:inherit; transition:all var(--transition); margin-left:auto; }
.feed-follow-btn:hover { background:var(--accent); color:#080c0b; }
.feed-follow-btn.feed-following { background:var(--accent); color:#080c0b; }

/* Feed Sidebar */
.feed-sidebar-card { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:16px; }
.feed-sidebar-card h4 { font-size:13px; font-weight:700; color:var(--text-primary); margin:0 0 12px; display:flex; align-items:center; gap:6px; }
.feed-sidebar-card h4 i { color:var(--accent); }
.feed-quick-link { display:flex; align-items:center; gap:8px; padding:8px 0; font-size:13px; color:var(--text-secondary); text-decoration:none; border-bottom:1px solid var(--border); transition:color var(--transition); }
.feed-quick-link:last-child { border-bottom:none; }
.feed-quick-link:hover { color:var(--accent); }
.feed-quick-link i { color:var(--accent); font-size:12px; width:16px; text-align:center; }
.feed-badge-mini { font-size:12px; color:var(--text-secondary); padding:4px 0; display:flex; align-items:center; gap:6px; }
.feed-badge-mini i { color:var(--accent); font-size:11px; }

/* Photo Upload */
.feed-compose-photos { margin-top:10px; }
.photo-upload-area { display:flex; align-items:center; gap:10px; padding:14px 16px; background:var(--bg); border:2px dashed var(--border); border-radius:var(--radius-sm); cursor:pointer; transition:all var(--transition); }
.photo-upload-area:hover { border-color:var(--accent); }
.photo-upload-area.photo-drag-over { border-color:var(--accent); background:rgba(214,138,45,0.06); }
.photo-upload-area i { font-size:16px; color:var(--accent); }
.photo-upload-area span { font-size:12px; color:var(--text-muted); }
.photo-preview-grid { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.photo-preview-thumb { position:relative; width:80px; height:80px; border-radius:var(--radius-sm); overflow:hidden; }
.photo-preview-thumb img { width:100%; height:100%; object-fit:cover; }
.photo-preview-remove { position:absolute; top:4px; right:4px; width:20px; height:20px; border-radius:50%; background:rgba(0,0,0,0.7); border:none; color:#fff; font-size:10px; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; }
.photo-preview-remove:hover { background:rgba(255,0,0,0.8); }

/* Feed Responsive */
@media (max-width:900px) {
  .feed-layout { grid-template-columns:1fr; }
  .feed-sidebar { order:-1; }
  .feed-compose-meta { flex-direction:column; }
}


/* ── Notification Bell & Panel ─────────────────────── */

.nav-notif-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.nav-notif-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 10px;
  pointer-events: none;
}

.notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 1400;
  display: flex;
  flex-direction: column;
  animation: notifFadeIn 0.2s ease;
}

@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.notif-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.notif-panel-actions {
  display: flex;
  gap: 8px;
}

.notif-mark-all,
.notif-clear-all {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  font-family: inherit;
  transition: opacity var(--transition);
}
.notif-mark-all:hover,
.notif-clear-all:hover { opacity: 0.7; }

.notif-panel-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
  border-left: 3px solid var(--accent);
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-card-hover); }
.notif-item-read { border-left-color: transparent; opacity: 0.6; }
.notif-item-read:hover { opacity: 0.8; }

.notif-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.notif-item-body { flex: 1; min-width: 0; }
.notif-item-msg { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }
.notif-item-time { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

.notif-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
}
.notif-empty i { font-size: 24px; margin-bottom: 8px; display: block; }
.notif-empty p { font-size: 13px; margin: 0; }

@media (max-width: 900px) {
  .nav-notif-btn { min-height: 44px; min-width: 44px; }
  .notif-panel { width: 290px; right: -40px; }
}
