@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #003580;
  --color-primary-light: #0071c2;
  --color-primary-dark: #002347;
  --color-accent: #0071c2;
  --color-accent-hover: #005c99;
  --color-off-white: #f5f5f5;
  --color-warm-white: #ffffff;
  --color-light-beige: #f5f5f5;
  --color-dark-charcoal: #1a1a1a;
  --color-warm-gray: #4a4a4a;
  --color-taupe: #6b6b6b;
  --color-accent-gold: #0071c2;
  --color-accent-brown: #003580;
  --color-white: #FFFFFF;
  --color-surface: #ffffff;
  --color-border: #e7e7e7;
  --color-success: #2e7d32;
  --color-warning: #f9a825;
  --color-error: #c62828;
  --color-limited: #f9a825;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);
  
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  
  --max-width: 1280px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark-charcoal);
  background-color: var(--color-off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  font-size: inherit;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-dark-charcoal);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: clamp(14px, 2vw, 32px);
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.logo {
  justify-self: start;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-dark-charcoal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.logo-text {
  color: var(--color-primary);
}

.logo-mark {
  display: inline-block;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  justify-self: center;
  min-width: 0;
}

.nav-list {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--color-dark-charcoal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-brown);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

.header-actions .btn {
  white-space: nowrap;
}

.nav-list {
  white-space: nowrap;
}

.nav-link {
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--color-dark-charcoal);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-warm-white);
  border-color: var(--color-taupe);
}

.btn-ghost {
  background: transparent;
  color: var(--color-warm-gray);
  padding: 8px 12px;
}

.btn-ghost:hover {
  color: var(--color-dark-charcoal);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-white {
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark-charcoal);
  transition: all var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  z-index: 999;
  padding: var(--spacing-xl);
  overflow-y: auto;
}

.mobile-nav.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.mobile-nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1d1d1b;
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: var(--spacing-2xl);
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* Search Module */
.search-module {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.search-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-sm);
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-taupe);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-field input,
.search-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--color-accent-brown);
}

.search-btn {
  margin-top: var(--spacing-md);
  padding: 12px 32px;
  background: var(--color-accent-brown);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* Section Styles */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  color: var(--color-taupe);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* City Cards Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--color-light-beige);
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.city-card:hover img {
  transform: scale(1.05);
}

.city-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(transparent, rgba(29,29,27,0.85));
  color: var(--color-white);
}

.city-card-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.city-card-count {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-gold);
}

.category-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  padding: 22px;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.category-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

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

.category-name {
  display: block;
  padding: var(--spacing-md) var(--spacing-sm);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark-charcoal);
  background: var(--color-surface);
}

.category-count {
  font-size: 0.85rem;
  color: var(--color-taupe);
}

/* Inspiration Grid */
.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.inspiration-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}

.inspiration-card:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.inspiration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.inspiration-card:hover img {
  transform: scale(1.05);
}

.inspiration-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-xl);
  background: linear-gradient(transparent, rgba(29,29,27,0.85));
  color: var(--color-white);
}

.inspiration-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Venue Card */
.venue-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.venue-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.venue-card:hover .venue-card-image img {
  transform: scale(1.05);
}

.venue-card-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  background: var(--color-accent-brown);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.venue-card-badge.popular {
  background: var(--color-error);
}

.venue-card-badge.new {
  background: var(--color-success);
}

.venue-card-favorite {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
  color: var(--color-taupe);
}

.venue-card-favorite:hover,
.venue-card-favorite.active {
  color: var(--color-error);
  transform: scale(1.1);
}

.venue-card-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.venue-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.venue-card-location {
  font-size: 0.9rem;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-sm);
}

.venue-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
}

.venue-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9rem;
}

.venue-card-rating::before {
  content: '★';
  color: var(--color-accent-gold);
}

.venue-card-capacity {
  font-size: 0.85rem;
  color: var(--color-taupe);
}

.venue-card-price {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-dark-charcoal);
  margin-top: var(--spacing-sm);
  padding-bottom: 10px;
  line-height: 1.4;
}

.venue-card-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-taupe);
}

.venue-card-btn {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: var(--color-accent-brown);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.venue-card-btn:hover {
  background: var(--color-primary-dark);
}

/* Account favorites — compact cards with small thumbnails (scoped) */
.account-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--spacing-md);
}

.account-fav-grid .venue-card {
  flex-direction: row;
  align-items: stretch;
}

.account-fav-grid .venue-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}

.account-fav-grid .venue-card-image {
  flex: 0 0 104px;
  width: 104px;
  aspect-ratio: auto;
  align-self: stretch;
  border-right: 1px solid var(--color-border);
}

.account-fav-grid .venue-card-image img {
  position: absolute;
  inset: 0;
}

.account-fav-grid .venue-card:hover .venue-card-image img {
  transform: none;
}

.account-fav-grid .venue-card-badge {
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  font-size: 0.6rem;
}

.account-fav-grid .venue-card-favorite {
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
}

.account-fav-grid .venue-card-content {
  padding: 10px 12px;
}

.account-fav-grid .venue-card-name {
  font-size: 1rem;
  margin-bottom: 2px;
}

.account-fav-grid .venue-card-location {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.account-fav-grid .venue-card-meta {
  padding-top: 4px;
  font-size: 0.8rem;
}

.account-fav-grid .venue-card-price {
  font-size: 0.9rem;
  margin-top: 4px;
  padding-bottom: 0;
}

.account-fav-grid .venue-card-btn {
  margin-top: 8px;
  padding: 7px 8px;
  font-size: 0.75rem;
}

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

/* Featured Venues Section */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

/* Footer */
.footer {
  background: var(--color-dark-charcoal);
  color: var(--color-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .logo .logo-text {
  color: var(--color-white);
}

.footer-brand .logo .logo-mark path {
  fill: var(--color-white);
}

.footer-brand .logo .logo-mark rect {
  fill: var(--color-dark-charcoal);
}

[data-theme='dark'] .logo-mark path {
  fill: var(--color-primary);
}

[data-theme='dark'] .logo-mark rect {
  fill: var(--color-off-white);
}

[data-theme='dark'] .footer-brand .logo .logo-mark path {
  fill: var(--color-primary);
}

[data-theme='dark'] .footer-brand .logo .logo-mark rect {
  fill: var(--color-dark-charcoal);
}

.footer-tagline {
  color: var(--color-taupe);
  font-size: 0.95rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--spacing-sm);
}

.footer-list a {
  color: var(--color-taupe);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-list a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: var(--color-taupe);
  font-size: 0.85rem;
}

/* Venue Detail Page */
.venue-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: var(--spacing-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--spacing-2xl);
}

.venue-gallery-main {
  grid-row: 1 / -1;
  cursor: pointer;
}

.venue-gallery-main img,
.venue-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-gallery-thumb {
  cursor: pointer;
}

.venue-gallery-thumb img {
  transition: opacity var(--transition-fast);
}

.venue-gallery-thumb:hover img {
  opacity: 0.85;
}

.venue-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
}

.venue-info h1 {
  margin-bottom: var(--spacing-sm);
}

.venue-location {
  color: var(--color-taupe);
  margin-bottom: var(--spacing-md);
}

.venue-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.rating-score {
  font-size: 1.25rem;
  font-weight: 700;
}

.rating-score::before {
  content: '★';
  color: var(--color-accent-gold);
  margin-right: 4px;
}

.rating-count {
  color: var(--color-taupe);
}

.venue-badges {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.venue-badge {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.venue-badge.premium {
  background: var(--color-accent-gold);
  color: var(--color-white);
}

.venue-badge.popular {
  background: var(--color-error);
  color: var(--color-white);
}

.venue-badge.new {
  background: var(--color-success);
  color: var(--color-white);
}

.venue-description {
  margin-bottom: var(--spacing-xl);
  line-height: 1.8;
  color: var(--color-warm-gray);
}

.venue-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
}

.venue-detail-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.venue-detail-icon {
  font-size: 1.25rem;
}

.venue-detail-label {
  font-size: 0.85rem;
  color: var(--color-taupe);
}

.venue-detail-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.venue-amenities {
  margin-bottom: var(--spacing-xl);
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.amenity-tag {
  padding: 6px 14px;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-warm-gray);
}

/* Booking Card */
.booking-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--header-height) + var(--spacing-lg));
  border: 1px solid var(--color-border);
}

.booking-card-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.booking-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-taupe);
}

.booking-card-text {
  font-size: 0.9rem;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-lg);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-warm-gray);
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent-brown);
}

/* Availability Calendar */
.calendar-section {
  margin-top: var(--spacing-3xl);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.calendar-nav {
  display: flex;
  gap: var(--spacing-sm);
}

.calendar-nav button {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  font-weight: 500;
}

.calendar-nav button:hover {
  background: var(--color-warm-white);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.calendar-day-header {
  padding: var(--spacing-sm);
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--color-surface);
  color: var(--color-taupe);
}

.calendar-day {
  padding: var(--spacing-md) var(--spacing-sm);
  text-align: center;
  background: var(--color-surface);
  cursor: pointer;
  transition: background var(--transition-fast);
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.calendar-day:hover {
  background: var(--color-warm-white);
}

.calendar-day.available {
  background: rgba(74, 124, 89, 0.1);
}

.calendar-day.available::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.calendar-day.booked {
  background: rgba(166, 61, 64, 0.1);
}

.calendar-day.booked::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-error);
}

.calendar-day.limited {
  background: rgba(212, 160, 23, 0.1);
}

.calendar-day.limited::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-limited);
}

.calendar-day.other-month {
  opacity: 0.3;
}

.calendar-day.today {
  font-weight: 700;
  border: 2px solid var(--color-accent-brown);
}

.calendar-legend {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.9rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.available { background: var(--color-success); }
.legend-dot.booked { background: var(--color-error); }
.legend-dot.limited { background: var(--color-limited); }

/* Reviews */
.reviews-section {
  margin-top: var(--spacing-3xl);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-xl);
}

.reviews-score {
  text-align: center;
}

.reviews-score-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.reviews-score-value::before {
  content: '★ ';
  color: var(--color-accent-gold);
}

.reviews-score-total {
  color: var(--color-taupe);
  margin-top: 4px;
}

.reviews-breakdown {
  flex: 1;
}

.review-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.review-bar-label {
  width: 30px;
  text-align: right;
  font-size: 0.85rem;
}

.review-bar-track {
  flex: 1;
  height: 8px;
  background: var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.review-bar-fill {
  height: 100%;
  background: var(--color-accent-gold);
  border-radius: var(--radius-sm);
}

.review-bar-count {
  width: 40px;
  font-size: 0.85rem;
  color: var(--color-taupe);
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-light-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.review-author {
  font-weight: 600;
}

.review-date {
  font-size: 0.85rem;
  color: var(--color-taupe);
}

.review-rating {
  color: var(--color-accent-gold);
  margin-bottom: var(--spacing-sm);
}

.review-text {
  color: var(--color-warm-gray);
  line-height: 1.7;
}

/* Booking Page */
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xl) 0;
  margin-bottom: var(--spacing-xl);
  overflow-x: auto;
}

.booking-step {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.booking-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--color-light-beige);
  color: var(--color-taupe);
  border: 2px solid var(--color-light-beige);
  transition: all var(--transition-normal);
}

.booking-step.active .booking-step-number {
  background: var(--color-accent-brown);
  color: var(--color-white);
  border-color: var(--color-accent-brown);
}

.booking-step.completed .booking-step-number {
  background: var(--color-success);
  color: var(--color-white);
  border-color: var(--color-success);
}

.booking-step-label {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.booking-step-connector {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  margin: 0 var(--spacing-xs);
}

.booking-step.completed .booking-step-connector {
  background: var(--color-success);
}

.booking-form-section {
  max-width: 640px;
  margin: 0 auto;
}

.booking-step-content {
  display: none;
  animation: fadeInUp var(--transition-normal);
}

.booking-step-content.active {
  display: block;
}

.booking-summary-card {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.booking-summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.booking-summary-row:last-child {
  border-bottom: none;
}

.booking-summary-label {
  color: var(--color-taupe);
}

.booking-summary-value {
  font-weight: 600;
}

.booking-total {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent-brown);
  margin-top: var(--spacing-sm);
}

.success-message {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
}

.success-title {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

.success-text {
  color: var(--color-taupe);
  font-size: 1.05rem;
  margin-bottom: var(--spacing-xl);
}

.booking-reference {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--color-warm-white);
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xl);
}

/* List Your Space */
.list-hero {
  background: linear-gradient(135deg, rgba(139,94,60,0.9) 0%, rgba(196,167,125,0.8) 100%),
              url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80') center/cover;
  padding: var(--spacing-3xl) 0;
  text-align: center;
  color: var(--color-white);
}

.list-hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.list-hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.benefit-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.benefit-text {
  color: var(--color-taupe);
  font-size: 0.95rem;
}

/* Host Dashboard */
.host-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.host-sidebar {
  background: var(--color-dark-charcoal);
  color: var(--color-white);
  padding: var(--spacing-xl) 0;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.host-sidebar-list {
  list-style: none;
}

.host-sidebar-item {
  margin-bottom: 2px;
}

.host-sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-xl);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.host-sidebar-link:hover,
.host-sidebar-link.active {
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
}

.host-main {
  padding: var(--spacing-2xl);
  overflow-y: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
}

.stat-change {
  font-size: 0.85rem;
  margin-top: var(--spacing-sm);
}

.stat-change.positive {
  color: var(--color-success);
}

.stat-change.negative {
  color: var(--color-error);
}

.recent-bookings {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
}

.bookings-table th,
.bookings-table td {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
}

.bookings-table th {
  background: var(--color-warm-white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-taupe);
}

.bookings-table tr {
  border-bottom: 1px solid var(--color-border);
}

.bookings-table tr:last-child {
  border-bottom: none;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.confirmed {
  background: rgba(74, 124, 89, 0.1);
  color: var(--color-success);
}

.status-badge.pending {
  background: rgba(249, 168, 37, 0.1);
  color: var(--color-warning);
}

.status-badge.cancelled {
  background: rgba(166, 61, 64, 0.1);
  color: var(--color-error);
}

/* Filters Sidebar */
.filters-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  height: fit-content;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.filter-group {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-md);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  cursor: pointer;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent-brown);
}

.filter-option label {
  font-size: 0.95rem;
  cursor: pointer;
}

.range-slider {
  width: 100%;
  margin: var(--spacing-md) 0;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-taupe);
}

/* Search Page Layout */
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.results-count {
  font-size: 0.95rem;
  color: var(--color-taupe);
}

.sort-select {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

/* Price Breakdown */
.price-breakdown {
  background: var(--color-warm-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

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

.price-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-accent-brown);
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-md);
  border-top: 2px solid var(--color-dark-charcoal);
}

/* Similar Venues */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

/* Mobile Filter Overlay */
.filter-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.filter-overlay.active {
  display: block;
  opacity: 1;
}

.filter-modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--color-surface);
  padding: var(--spacing-xl);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.filter-overlay.active .filter-modal {
  transform: translateX(0);
}

.filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.filter-modal-title {
  font-size: 1.25rem;
}

.filter-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-taupe);
}

/* Sticky Mobile Search */
.sticky-search {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-surface);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 100;
}

.sticky-search-btn {
  width: 100%;
  padding: 14px;
  background: var(--color-accent-brown);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.5;
}

.empty-state-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.empty-state-text {
  color: var(--color-taupe);
  margin-bottom: var(--spacing-xl);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--color-light-beige) 25%, var(--color-warm-white) 50%, var(--color-light-beige) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

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

.skeleton-text {
  height: 16px;
  margin-bottom: 8px;
}

.skeleton-title {
  height: 24px;
  width: 60%;
  margin-bottom: 12px;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; }
.fade-in-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* Responsive */
@media (max-width: 1024px) {
  .city-grid,
  .category-grid,
  .venue-grid,
  .similar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .venue-content {
    grid-template-columns: 1fr;
  }
  
  .host-layout {
    grid-template-columns: 1fr;
  }
  
  .host-sidebar {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-layout {
    grid-template-columns: 1fr;
  }
  
  .filters-sidebar {
    display: block;
    position: static;
    width: 100%;
  }
  
  .filter-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nav-list,
  .header-actions .btn-secondary,
  .header-actions .btn-primary {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    min-height: 70vh;
    padding: var(--spacing-2xl) var(--spacing-md);
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .search-row {
    grid-template-columns: 1fr;
  }
  
  .search-btn {
    width: 100%;
  }
  
  .city-grid,
  .category-grid,
  .featured-grid,
  .similar-grid {
    grid-template-columns: 1fr;
  }
  
  .inspiration-grid {
    grid-template-columns: 1fr;
  }
  
  .venue-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .venue-gallery-main {
    grid-row: auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .booking-progress {
    flex-wrap: wrap;
  }
  
  .booking-step-connector {
    display: none;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .venue-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.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;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--color-light-beige);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-taupe);
  font-size: 1.1rem;
  border: 2px dashed var(--color-border);
}

.map-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: var(--spacing-lg);
}

.map-toggle:hover {
  background: var(--color-warm-white);
}

.venue-marker {
  background: transparent;
  border: none;
}

.venue-marker div {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.venue-marker:hover div {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.map-detail-link {
  transition: background 0.15s ease, transform 0.1s ease;
}

.map-detail-link:hover {
  background: #002a66;
  transform: translateY(-1px);
}

.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 0;
}

.leaflet-popup-content {
  margin: 12px 16px;
  line-height: 1.5;
  font-family: inherit;
}

.leaflet-popup-tip {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: var(--spacing-lg);
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-toggle:hover {
  background: var(--color-warm-white);
}

.results-header-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .results-header-left {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-toggle {
    display: none;
  }
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: var(--spacing-md);
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark-charcoal);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-taupe);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-dark-charcoal);
}

.modal .form-group {
  margin-bottom: var(--spacing-lg);
}

.modal label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark-charcoal);
  margin-bottom: var(--spacing-xs);
}

.modal input[type="text"],
.modal input[type="email"],
.modal input[type="password"],
.modal select,
.modal textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-off-white);
  transition: border-color var(--transition-fast);
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
}

.modal-footer-text {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 0.85rem;
  color: var(--color-taupe);
}

.modal-footer-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

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

/* === Kalendarz dostepnosci sali (widok miejsca) === */
.venue-calendar-wrap {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
}
.venue-calendar-wrap h2 {
  margin-bottom: var(--spacing-sm);
}
.vcal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.vcal-modes {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.vcal-mode-btn {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-taupe);
  transition: all .15s ease;
}
.vcal-mode-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.vcal-nav-btn {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  background: var(--color-warm-white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}
.vcal-label {
  min-width: 170px;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
}
.vcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.vcal-grid.week {
  grid-template-columns: repeat(7, 1fr);
}
.vcal-day {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  background: var(--color-warm-white);
  font-size: 0.85rem;
  transition: all .15s ease;
  position: relative;
}
.vcal-day .dnum { font-weight: 700; font-size: 0.95rem; }
.vcal-day .dst { font-size: 0.62rem; text-transform: uppercase; letter-spacing: .4px; }
.vcal-day.free:hover { background: var(--color-warm-white); border-color: var(--color-primary); }
.vcal-day.booked { background: #fdf3cf; border-color: #e6b63c; }
.vcal-day.booked .dst { color: #8a6d1a; }
.vcal-day.blocked { background: #fbe4e2; border-color: #e0a09c; }
.vcal-day.blocked .dst { color: #a32f27; }
.vcal-day.past { opacity: .45; cursor: not-allowed; }
.vcal-day.today { box-shadow: inset 0 0 0 2px var(--color-primary); }
.vcal-day.off { background: transparent; border-color: transparent; cursor: default; }
.vcal-week-head {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}
.vcal-week-head span {
  text-align: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--color-taupe);
  padding: 4px 0;
}
.vcal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--color-taupe);
}
.vcal-legend i {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: middle;
}
.vcal-msg {
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 1.2em;
}
.vcal-msg.ok { color: #1e7d3c; }
.vcal-msg.err { color: #b3261e; }
.vcal-day-view {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px;
  background: var(--color-warm-white);
}

/* === Tryb nocny === */
.theme-toggle {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-warm-white);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.theme-toggle:hover {
  border-color: var(--color-primary);
}

/* === Przełącznik języka (i18n) — custom dropdown z flagami SVG === */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  order: 99;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-warm-white);
  color: var(--color-dark-charcoal);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.lang-toggle:hover,
.lang-toggle:focus,
.lang-switcher.open .lang-toggle {
  border-color: var(--color-primary);
  outline: none;
}
.lang-flag {
  display: inline-flex;
  align-items: center;
}
.lang-flag svg {
  display: block;
  width: 21px;
  height: 14px;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.lang-code {
  letter-spacing: 0.03em;
}
.lang-caret {
  display: inline-flex;
  color: var(--color-taupe);
  transition: transform var(--transition-fast);
}
.lang-switcher.open .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1200;
  display: none;
}
.lang-switcher.open .lang-menu {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--color-dark-charcoal);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-fast);
}
.lang-option:hover,
.lang-option.active {
  background: var(--color-light-beige);
}
.lang-option.active {
  font-weight: 700;
}

@media (max-width: 768px) {
  .lang-toggle {
    height: 34px;
    padding: 0 8px;
    gap: 5px;
    font-size: 0.8rem;
  }
  .lang-flag svg {
    width: 18px;
    height: 12px;
  }
  .lang-menu {
    min-width: 150px;
  }
}

:root[data-theme='dark'] {
  --color-primary: #5b96ff;
  --color-primary-light: #82adff;
  --color-primary-dark: #3a76ea;
  --color-accent: #5b96ff;
  --color-accent-hover: #457fec;
  --color-accent-gold: #5b96ff;
  --color-accent-brown: #5b96ff;
  --color-off-white: #0e1116;
  --color-warm-white: #191d24;
  --color-light-beige: #14181e;
  --color-surface: #1a1f27;
  --color-dark-charcoal: #e8ecf2;
  --color-warm-gray: #b9c2cd;
  --color-taupe: #8d97a3;
  --color-border: #2b313a;
  --color-success: #4caf7d;
  --color-warning: #ffb74d;
  --color-error: #ef6b60;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.45);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.55);
}

[data-theme='dark'] body {
  background-color: var(--color-off-white);
}

[data-theme='dark'] .header {
  background: rgba(14, 17, 22, 0.92);
}

[data-theme='dark'] .hero-overlay {
  background: linear-gradient(rgba(0,0,0,.5), rgba(8,10,14,.8)) !important;
}

[data-theme='dark'] .modal {
  background: var(--color-warm-white);
  color: var(--color-dark-charcoal);
}

[data-theme='dark'] input,
[data-theme='dark'] select,
[data-theme='dark'] textarea {
  background-color: var(--color-light-beige);
  color: var(--color-dark-charcoal);
  border-color: var(--color-border);
}

[data-theme='dark'] .dots-cal-day {
  background: var(--color-light-beige);
  color: var(--color-dark-charcoal);
  border-color: var(--color-border);
}
[data-theme='dark'] .dots-cal-day.blank { background: transparent; }
[data-theme='dark'] .dots-cal-day.booked { background: #6d5716; color: #ffe9a3; border-color: #8a6d1a; }
[data-theme='dark'] .dots-cal-day.blocked { background: #6b241f; color: #ffd9d5; border-color: #a32f27; }

[data-theme='dark'] .venue-gallery-main,
[data-theme='dark'] .venue-card-image .dots-no-photo { background: var(--color-light-beige); }

/* === Kalendarz: widok godzinowy, paski czesciowych blokad === */
.vcal-ticks {
  display: flex;
  gap: 1px;
  width: 100%;
  padding: 0 6px;
  height: 5px;
  margin-top: 2px;
}
.vcal-ticks i { flex: 1 1 0; min-width: 0; border-radius: 2px; }
.vcal-day.partial { background: #fdfaf5; }
[data-theme='dark'] .vcal-day.partial { background: var(--color-light-beige); }
.vcal-day.booked.partial .vcal-ticks i { background: #6d5716 !important; }

.vcal-day-head { font-size: 1.1rem; margin-bottom: 10px; }
.vcal-schedule { display: flex; flex-direction: column; gap: 4px; }
.vcal-hour {
  display: grid;
  grid-template-columns: 64px 1fr 150px;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 0 10px;
  font-size: 0.85rem;
}
.vcal-hour.free { background: #f2fbf4; }
.vcal-hour.selectable { cursor: pointer; }
.vcal-hour.selectable:hover { border-color: var(--color-primary); }
.vcal-hour.sel { background: #d3e7ff; border-color: var(--color-primary); }
.vcal-hour.selstart { outline: 2px solid var(--color-primary); }
.vcal-hour.occ.booked { background: #fdf3cf; }
.vcal-hour.occ.blocked { background: #fbe4e2; }
.vcal-hour.occ.blockhour { background: #f9e0dd; }
.vcal-hour .vcal-hlabel { font-weight: 700; color: var(--color-dark-charcoal); }
.vcal-hour .vcal-hfill { height: 6px; border-radius: 4px; background: rgba(0,0,0,0.06); }
.vcal-hour.occ .vcal-hfill { background: rgba(0,0,0,0.18); }
.vcal-hour .vcal-hname { text-align: right; font-size: 0.75rem; color: var(--color-taupe); }
[data-theme='dark'] .vcal-hour.free { background: #16251b; }
[data-theme='dark'] .vcal-hour.occ.booked { background: #6d5716; color: #ffe9a3; }
[data-theme='dark'] .vcal-hour.occ.blocked { background: #6b241f; color: #ffd9d5; }
[data-theme='dark'] .vcal-hour.occ.blockhour { background: #54201c; }
[data-theme='dark'] .vcal-hour.sel { background: #1d3a63; }

.vcal-whole-note { margin: 6px 0 10px; color: var(--color-taupe); }
.vcal-manage {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
}
.vcal-manage-note { font-size: 0.85rem; color: var(--color-taupe); margin-bottom: 8px; }
.vcal-selbar { font-weight: 600; margin: 4px 0 8px; }
.vcal-selbtns { display: flex; gap: 8px; margin-bottom: 8px; }
.vcal-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vcal-chip {
  background: var(--color-light-beige);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vcal-chip button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-error);
  font-size: 0.85rem;
  padding: 0 2px;
}
.vcal-day-foot { margin-top: 14px; }

/* === Aktywna zakladka menu === */
.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}
.nav-link.active::after {
  width: 100%;
  background: var(--color-accent-brown);
}
.mobile-nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
  background: rgba(0, 53, 128, 0.06);
  border-radius: 8px;
}

/* Hero search: bezpieczne przejscia szerokosci - pola nie nachodza na kafelki */
@media (max-width: 1160px) {
  .hero-content { max-width: 860px; }
}
@media (max-width: 1040px) {
  .search-row { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-bottom: var(--spacing-3xl); }
}
.section + .section,
.hero + .section {
  margin-top: 0;
  padding-top: var(--spacing-3xl);
}

/* === Animacja logotypu findeventroom (delikatny akcent co 16 s, nieskonczona petla) === */
.logo-mark {
  display: inline-block;
  transform-origin: center center;
  animation: logoEventPulse 16s ease-in-out infinite;
  will-change: transform;
}

@keyframes logoEventPulse {
  0%, 90%, 100% {
    transform: scale(1) rotate(0deg);
  }
  93% {
    transform: scale(1.15) rotate(-6deg);
  }
  96% {
    transform: scale(1.15) rotate(6deg);
  }
  98% {
    transform: scale(1.05) rotate(0deg);
  }
}

/* === Ten sam akcent, ale na samym wektorze pinu (path) i znaczniku sali (rect) === */
.logo-mark path {
  transform-box: fill-box;
  transform-origin: center center;
  animation: pinEventHop 16s ease-in-out infinite;
}

.logo-mark rect {
  transform-box: fill-box;
  transform-origin: center center;
  animation: markerEventPulse 16s ease-in-out infinite;
}

/* Pin podskakuje w tym samym oknie 16-s: podnosi sie, ląduje, wraca do spoczynku */
@keyframes pinEventHop {
  0%, 90%, 100% {
    transform: translateY(0) scale(1);
  }
  93% {
    transform: translateY(-3px) scale(1.05);
  }
  96% {
    transform: translateY(1.5px) scale(0.97);
  }
  98% {
    transform: translateY(0) scale(1.02);
  }
}

/* Znacznik sali (bialy kwadrat) pulsuje jak punkt wydarzenia */
@keyframes markerEventPulse {
  0%, 90%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  92% {
    transform: scale(1.45);
    opacity: 0.55;
  }
  95% {
    transform: scale(0.85);
    opacity: 1;
  }
  98% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Szanuj ustawienie "ogranicz ruch" */
@media (prefers-reduced-motion: reduce) {
  .logo-mark,
  .logo-mark path,
  .logo-mark rect {
    animation: none;
  }
}

/* === Booksy: wskazniki dostepnosci w suwaku dat (#bsbDates) === */
.bsb-date {
  position: relative;
}

/* Stan: czesciowo zajety */
.bsb-date.bsb-partial {
  border-color: #e6c37a;
}

/* Stan: caly dzien wolny */
.bsb-date.bsb-free {
  border-color: #bfe3c8;
}

/* Stan: brak wolnych godzin (pelna rezerwacja / FULL_DAY / blokada) */
.bsb-date.bsb-full {
  background: #fbe4e2;
  border-color: #e0a09c;
  color: #8f2f28;
  cursor: not-allowed;
}
.bsb-date.bsb-full .bsb-dow,
.bsb-date.bsb-full .bsb-mon {
  color: #a3403a;
  opacity: .9;
}
.bsb-date.bsb-full.active,
.bsb-date.bsb-partial.active,
.bsb-date.bsb-free.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* Mini-pasek zajetosci godzin (12 segmentow = 08:00-20:00) */
.bsb-indicator {
  display: flex;
  gap: 1px;
  width: 100%;
  height: 4px;
  margin-top: 4px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(0, 0, 0, .05);
}
.bsb-indicator.bsb-idle {
  background: var(--color-border);
  opacity: .55;
}
.bsb-seg {
  flex: 1 1 0;
  min-width: 0;
}
.bsb-seg.seg-free { background: #bfe3c8; }
.bsb-seg.seg-booked { background: #e6b63c; }
.bsb-seg.seg-blocked { background: #d98f89; }
.bsb-indicator.bsb-full { background: #e0a09c; }
.bsb-indicator.bsb-full .bsb-seg { background: #c0564d; }

/* Tryb nocny */
[data-theme='dark'] .bsb-date.bsb-full {
  background: #6b241f;
  border-color: #a32f27;
  color: #ffd9d5;
}
[data-theme='dark'] .bsb-date.bsb-full .bsb-dow,
[data-theme='dark'] .bsb-date.bsb-full .bsb-mon {
  color: #ffd9d5;
}
[data-theme='dark'] .bsb-indicator { background: rgba(255, 255, 255, .08); }
[data-theme='dark'] .bsb-indicator.bsb-idle { background: #4a4a4a; }
[data-theme='dark'] .bsb-seg.seg-free { background: #2f6b40; }
[data-theme='dark'] .bsb-seg.seg-booked { background: #b9922a; }
[data-theme='dark'] .bsb-seg.seg-blocked { background: #a4544c; }

/* === Booksy: pelnomiesięczny kalendarz rezerwacji === */
.bsb-cal {
  margin-top: 4px;
}
.bsb-cal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.bsb-cal-nav {
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: var(--color-dark-charcoal);
}
.bsb-cal-nav:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.bsb-cal-selects {
  display: flex;
  gap: 8px;
}
.bsb-cal-selects select {
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
  font: inherit;
  cursor: pointer;
}
.bsb-cal-selects select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 53, 128, .12);
}
.bsb-fullday-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
  white-space: nowrap;
  user-select: none;
}
.bsb-fullday-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.bsb-fullday-toggle:hover {
  border-color: var(--color-primary);
}
.bsb-fullday-toggle:has(input:checked) {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 53, 128, .12);
  color: var(--color-primary);
}

.bsb-cal-week,
.bsb-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.bsb-cal-week span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--color-taupe);
  padding: 4px 0;
}

.bsb-cal-day {
  position: relative;
  min-height: 66px;
  min-width: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 6px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: border-color .12s ease, background .12s ease, box-shadow .12s ease;
}
.bsb-cal-day:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: rgba(0, 53, 128, .04);
}
.bsb-cal-num {
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.bsb-cal-day .bsb-indicator {
  margin-top: auto;
  height: 6px;
}
.bsb-cal-day.today {
  box-shadow: inset 0 0 0 2px var(--color-primary);
}
.bsb-cal-day.bsb-free {
  border-color: #bfe3c8;
}
.bsb-cal-day.bsb-partial {
  border-color: #e6c37a;
}
.bsb-cal-day.bsb-full {
  background: #fbe4e2;
  border-color: #e0a09c;
  color: #8f2f28;
  cursor: not-allowed;
}
.bsb-cal-day.past {
  opacity: .4;
  cursor: not-allowed;
  background: var(--color-warm-white);
}
.bsb-cal-day.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: none;
}
.bsb-cal-day.active .bsb-seg.seg-free {
  background: rgba(255, 255, 255, .45);
}
.bsb-cal-blank {
  border-color: transparent;
  background: transparent;
  cursor: default;
  pointer-events: none;
  min-height: 66px;
}
.bsb-cal-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--color-taupe);
  margin-top: 14px;
}
.bsb-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bsb-cal-legend .bsb-seg,
.bsb-cal-legend .bsb-cal-dot {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
  flex: none;
}
.bsb-cal-dot.bsb-full {
  background: #c0564d;
}
.bsb-cal-legend .bsb-seg.seg-free { background: #bfe3c8; }
.bsb-cal-legend .bsb-seg.seg-booked { background: #e6b63c; }
.bsb-cal-legend .bsb-seg.seg-blocked { background: #d98f89; }

@media (max-width: 640px) {
  .bsb-cal-day { min-height: 54px; padding: 4px; }
  .bsb-cal-num { font-size: 12px; }
  .bsb-fullday-toggle { margin-left: 0; }
  .bsb-cal-selects select { padding: 7px 8px; }
}

/* Tryb nocny */
[data-theme='dark'] .bsb-cal-day.bsb-full {
  background: #6b241f;
  border-color: #a32f27;
  color: #ffd9d5;
}
[data-theme='dark'] .bsb-cal-day.past {
  background: var(--color-surface);
}
[data-theme='dark'] .bsb-cal-day.bsb-free { border-color: #2f6b40; }
[data-theme='dark'] .bsb-cal-day.bsb-partial { border-color: #8a6d1a; }

/* === Strony informacyjne i prawne (FAQ, Regulamin, Prywatność, Pomoc, Kontakt, Cennik) === */
.legal-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}
.legal-head {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}
.legal-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px;
}
.legal-head h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}
.legal-sub {
  color: var(--color-taupe);
  margin: 0;
}
.legal-content {
  color: var(--color-dark-charcoal);
  line-height: 1.7;
  font-size: .96rem;
}
.legal-content h2 {
  font-size: 1.2rem;
  margin: var(--spacing-xl) 0 var(--spacing-sm);
  padding-top: 4px;
}
.legal-content h3 {
  font-size: 1.02rem;
  margin: var(--spacing-lg) 0 6px;
}
.legal-content p { margin: 0 0 12px; }
.legal-content ul,
.legal-content ol { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-primary); text-decoration: underline; }
.legal-lead {
  font-size: 1.02rem;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-lg);
}
.legal-updated {
  font-size: .82rem;
  color: var(--color-taupe);
  margin-bottom: var(--spacing-lg);
}
.legal-muted { font-size: .82rem; color: var(--color-taupe); }
.legal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 12px 0 var(--spacing-lg);
}
.legal-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 18px;
  background: var(--color-surface);
}
.legal-card h3 { margin: 0 0 8px; font-size: 1rem; }
.legal-card p { margin: 0 0 8px; }
.legal-feedback {
  margin-top: var(--spacing-xl);
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--color-warm-white);
  border: 1px solid var(--color-border);
  font-size: .9rem;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--spacing-lg); }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
}
.faq-item[open] summary::after { content: '–'; }
.faq-answer {
  padding: 0 0 14px;
  color: var(--color-taupe);
}
.faq-answer p { margin: 0 0 8px; }

/* Formularz kontaktowy + zgody */
.contact-form .form-group { margin-bottom: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  background: var(--color-surface);
  color: var(--color-dark-charcoal);
  box-sizing: border-box;
}
.consent-label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .85rem;
  line-height: 1.45;
  margin: 10px 0 14px;
  color: var(--color-taupe);
}
.consent-label input { margin-top: 2px; flex: none; width: auto; }
.consent-label a { color: var(--color-primary); text-decoration: underline; }

@media (max-width: 640px) {
  .legal-wrap { padding-top: 100px; }
  .legal-head h1 { font-size: 1.55rem; }
}

/* === Booksy/checkout: blok zgody RODO nad przyciskiem rezerwacji === */
.bsb-consent {
  margin: 16px 0 4px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-border);
  text-align: left;
}
.bsb-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-dark-charcoal);
}
.bsb-consent-row input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.bsb-consent-text {
  display: block;
  min-width: 0;
}
.bsb-consent-text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.bsb-consent-note {
  margin: 8px 0 0 27px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--color-taupe);
}
[data-theme='dark'] .bsb-consent-note {
  color: #b3aca2;
}

/* === Powiadomienia in-app (dzwonek w naglowku) === */
.dots-notif-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-warm-gray);
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  flex: none;
}
.dots-notif-bell:hover {
  color: var(--color-dark-charcoal);
  border-color: var(--color-taupe);
}
.dots-notif-bell.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(0, 53, 128, 0.06);
}
.dots-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-error);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.dots-notif-panel {
  position: fixed;
  top: calc(var(--header-height) + 10px);
  right: var(--spacing-lg);
  width: min(380px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 1200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: dotsNotifIn 0.16s ease;
}
.dots-notif-panel[hidden] {
  display: none;
}
@keyframes dotsNotifIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
.dots-notif-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
}
.dots-notif-heading {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-dark-charcoal);
}
.dots-notif-markall {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-primary);
  background: none;
  border: none;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background var(--transition-fast);
}
.dots-notif-markall:hover {
  background: rgba(0, 53, 128, 0.08);
}
.dots-notif-list {
  flex: 1;
  overflow-y: auto;
}
.dots-notif-item {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.dots-notif-item:last-child {
  border-bottom: none;
}
.dots-notif-item:hover {
  background: rgba(0, 0, 0, 0.03);
}
.dots-notif-item.unread {
  background: rgba(0, 53, 128, 0.05);
}
.dots-notif-item.unread:hover {
  background: rgba(0, 53, 128, 0.09);
}
.dots-notif-dot {
  margin-top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  flex: none;
}
.dots-notif-item.unread .dots-notif-dot {
  background: var(--color-primary);
}
.dots-notif-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dots-notif-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-dark-charcoal);
}
.dots-notif-msg {
  font-size: 12.5px;
  color: var(--color-taupe);
  line-height: 1.45;
}
.dots-notif-time {
  font-size: 11.5px;
  color: var(--color-taupe);
  margin-top: 2px;
}
.dots-notif-empty {
  padding: 34px 18px;
  text-align: center;
  color: var(--color-taupe);
  font-size: 13.5px;
}

[data-theme='dark'] .dots-notif-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
[data-theme='dark'] .dots-notif-item.unread {
  background: rgba(91, 150, 255, 0.12);
}
[data-theme='dark'] .dots-notif-item.unread:hover {
  background: rgba(91, 150, 255, 0.18);
}
[data-theme='dark'] .dots-notif-markall:hover {
  background: rgba(91, 150, 255, 0.14);
}
[data-theme='dark'] .dots-notif-bell.active {
  background: rgba(91, 150, 255, 0.14);
}

@media (max-width: 480px) {
  .dots-notif-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }
}
