/* ====================================================================
   Schlosspassage – Elegant Green & Gold Theme
   Inspired by the Schlosspassage logo: forest green, warm gold, cream
   ==================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Core palette — green & gold from logo */
  --green-900: #12432A;
  --green-800: #155032;
  --green-700: #1A5C3B;
  --green-600: #1F6B45;
  --green-500: #278A56;
  --green-400: #34A76A;
  --green-300: #6DC495;
  --green-200: #A3DAB8;
  --green-100: #DBF0E2;
  --green-50: #F0F9F3;

  --gold-700: #9A7B2F;
  --gold-600: #B89640;
  --gold-500: #C5A055;
  --gold-400: #D4AA50;
  --gold-300: #E0C068;
  --gold-200: #EDD89A;
  --gold-100: #F5ECCC;
  --gold-50: #FBF6E8;

  /* Semantic backgrounds */
  --bg-primary: #FAF8F4;
  --bg-secondary: #F3F0EA;
  --bg-warm: #F8F4ED;
  --bg-hero: linear-gradient(160deg, #FAF8F4 0%, #F0F9F3 40%, #FBF6E8 70%, #FAF8F4 100%);
  --bg-card: #ffffff;
  --bg-card-hover: #FDFCF9;

  /* Text */
  --text-primary: #1C2B22;
  --text-secondary: #3D5247;
  --text-muted: #7A9185;
  --text-accent: var(--green-700);

  /* Accent system — green primary, gold secondary */
  --accent-primary: var(--green-700);
  --accent-secondary: var(--gold-500);
  --accent-warm: var(--gold-400);
  --accent-success: #16a34a;
  --accent-danger: #dc3545;
  --gradient-primary: linear-gradient(135deg, var(--green-700) 0%, var(--green-500) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 100%);
  --gradient-warm: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-300) 100%);
  --gradient-hero-text: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 40%, var(--gold-500) 80%, var(--green-800) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(26, 92, 59, 0.04) 0%, rgba(197, 160, 85, 0.04) 100%);

  /* Borders */
  --border-light: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --border-accent: rgba(26, 92, 59, 0.18);
  --border-accent-hover: rgba(26, 92, 59, 0.35);

  /* Shadows — warm neutral, no purple */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.11);
  --shadow-accent: 0 4px 16px rgba(26, 92, 59, 0.12);
  --shadow-accent-hover: 0 8px 32px rgba(26, 92, 59, 0.18);
  --shadow-warm: 0 4px 16px rgba(197, 160, 85, 0.12);

  /* Timing — simplified, fewer dramatic timings */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;

  /* Spacing & Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
  font-size: 16px;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  /* iOS safe area support */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  /* Prevent text size adjustment on orientation change */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Smooth touch scrolling */
  -webkit-overflow-scrolling: touch;
}

::selection {
  background: rgba(26, 92, 59, 0.15);
  color: var(--green-800);
}

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

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(26, 92, 59, 0.2);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 92, 59, 0.35);
}

/* ---------- Utilities ---------- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.hidden {
  display: none !important;
}

.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;
}

/* ---------- Cursor Glow – REMOVED ---------- */

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-smooth);
}

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

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .header-inner {
    height: 4.5rem;
    padding: 0 2rem;
  }
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-smooth);
  min-width: 0;
  flex: 1 1 0;
  overflow: hidden;
}

.logo-link:hover {
  transform: scale(1.03);
}

#logo-text-wrap {
  min-width: 0;
  flex: 1 1 0;
}

.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-normal) ease;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-link:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-size: clamp(0.8125rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--green-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-text-gradient {
  background: var(--gradient-hero-text);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGradient 6s ease-in-out infinite;
}

.logo-sub {
  display: block;
  font-size: clamp(0.5rem, 1.5vw, 0.625rem);
  font-weight: 600;
  color: var(--text-muted);
  margin-top: -2px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nav links */
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  border-radius: var(--radius-full);
  transition: opacity var(--duration-normal) ease;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Mobile nav */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  background: var(--gradient-subtle);
  color: var(--accent-primary);
  transform: translateX(4px);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(250, 248, 244, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease-out-expo);
  z-index: 90;
  max-height: calc(100vh - 4rem);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
    /* Visible in DOM, but hidden by opacity/visibility */
  }

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

  .mobile-nav-link {
    padding: 1rem 1.25rem;
    font-size: 1.0625rem;
    min-height: 48px;
    border-bottom: 1px solid var(--border-light);
  }

  .mobile-nav-link:last-child {
    border-bottom: none;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: white;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border-light);
}

/* Animated mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Aurora wave bands — luminous flowing ribbons */
.hero-aurora {
  position: absolute;
  inset: -50%;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.6;
  mix-blend-mode: normal;
}

.hero-aurora-band {
  position: absolute;
  width: 200%;
  height: 30%;
  border-radius: 50%;
  animation: auroraWave linear infinite;
  will-change: transform;
}

.hero-aurora-band:nth-child(1) {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(26, 92, 59, 0.2) 20%,
      rgba(34, 197, 94, 0.12) 40%,
      rgba(197, 160, 85, 0.15) 60%,
      rgba(26, 92, 59, 0.18) 80%,
      transparent 100%);
  top: 10%;
  left: -60%;
  animation-duration: 18s;
}

.hero-aurora-band:nth-child(2) {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(197, 160, 85, 0.15) 25%,
      rgba(26, 92, 59, 0.12) 50%,
      rgba(197, 160, 85, 0.1) 75%,
      transparent 100%);
  top: 35%;
  left: -40%;
  animation-duration: 22s;
  animation-delay: -6s;
  animation-direction: reverse;
}

.hero-aurora-band:nth-child(3) {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(26, 92, 59, 0.1) 30%,
      rgba(22, 163, 74, 0.08) 50%,
      rgba(197, 160, 85, 0.12) 70%,
      transparent 100%);
  top: 60%;
  left: -50%;
  animation-duration: 25s;
  animation-delay: -12s;
}

@keyframes auroraWave {
  0% {
    transform: translateX(0%) translateY(0%) rotate(-3deg) scaleY(1);
  }

  25% {
    transform: translateX(15%) translateY(-10%) rotate(2deg) scaleY(1.3);
  }

  50% {
    transform: translateX(30%) translateY(5%) rotate(-2deg) scaleY(0.8);
  }

  75% {
    transform: translateX(15%) translateY(-5%) rotate(3deg) scaleY(1.2);
  }

  100% {
    transform: translateX(0%) translateY(0%) rotate(-3deg) scaleY(1);
  }
}

/* Noise texture overlay for depth */
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  z-index: 1;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: blobFloat 25s ease-in-out infinite;
  will-change: transform;
}

.hero-blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26, 92, 59, 0.22) 0%, rgba(26, 92, 59, 0.04) 60%, transparent 100%);
  top: -15%;
  right: -10%;
  animation: blobFloat 18s ease-in-out infinite;
}

.hero-blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 85, 0.18) 0%, rgba(197, 160, 85, 0.04) 60%, transparent 100%);
  bottom: -15%;
  left: -10%;
  animation: blobFloat 22s ease-in-out infinite reverse;
  animation-delay: -5s;
}

.hero-blob-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 85, 0.12) 0%, transparent 70%);
  top: 20%;
  left: 30%;
  animation: blobFloat 20s ease-in-out infinite;
  animation-delay: -10s;
}

.hero-blob-4 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(26, 92, 59, 0.1) 0%, transparent 70%);
  top: 55%;
  right: 15%;
  animation: blobFloat 16s ease-in-out infinite;
  animation-delay: -8s;
}

/* Radial shimmer pulse */
.hero-shimmer {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(ellipse at 50% 50%,
      rgba(197, 160, 85, 0.06) 0%,
      transparent 50%);
  animation: shimmerPulse 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes shimmerPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

/* Animated light rays */
.hero-rays {
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg at 50% 120%,
      transparent 0deg,
      rgba(197, 160, 85, 0.04) 3deg,
      transparent 6deg,
      transparent 30deg,
      rgba(26, 92, 59, 0.025) 33deg,
      transparent 36deg,
      transparent 60deg,
      rgba(197, 160, 85, 0.04) 63deg,
      transparent 66deg,
      transparent 90deg,
      rgba(26, 92, 59, 0.025) 93deg,
      transparent 96deg,
      transparent 120deg,
      rgba(197, 160, 85, 0.03) 123deg,
      transparent 126deg,
      transparent 150deg,
      rgba(26, 92, 59, 0.02) 153deg,
      transparent 156deg,
      transparent 180deg,
      rgba(197, 160, 85, 0.03) 183deg,
      transparent 186deg,
      transparent 210deg,
      rgba(26, 92, 59, 0.02) 213deg,
      transparent 216deg,
      transparent 240deg,
      rgba(197, 160, 85, 0.03) 243deg,
      transparent 246deg,
      transparent 270deg,
      rgba(26, 92, 59, 0.02) 273deg,
      transparent 276deg,
      transparent 300deg,
      rgba(197, 160, 85, 0.03) 303deg,
      transparent 306deg,
      transparent 330deg,
      rgba(26, 92, 59, 0.02) 333deg,
      transparent 336deg,
      transparent 360deg);
  animation: raysRotate 60s linear infinite;
  opacity: 0.8;
}

@keyframes raysRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Floating golden particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(197, 160, 85, 0.5);
  box-shadow: 0 0 6px rgba(197, 160, 85, 0.3);
  animation: particleRise linear infinite;
}

.hero-particles span:nth-child(1) {
  left: 5%;
  width: 3px;
  height: 3px;
  animation-duration: 16s;
  animation-delay: 0s;
  bottom: -10px;
}

.hero-particles span:nth-child(2) {
  left: 15%;
  width: 2px;
  height: 2px;
  animation-duration: 13s;
  animation-delay: -2s;
  bottom: -10px;
}

.hero-particles span:nth-child(3) {
  left: 25%;
  width: 4px;
  height: 4px;
  animation-duration: 19s;
  animation-delay: -5s;
  bottom: -10px;
  background: rgba(26, 92, 59, 0.4);
  box-shadow: 0 0 6px rgba(26, 92, 59, 0.2);
}

.hero-particles span:nth-child(4) {
  left: 35%;
  width: 3px;
  height: 3px;
  animation-duration: 15s;
  animation-delay: -3s;
  bottom: -10px;
}

.hero-particles span:nth-child(5) {
  left: 45%;
  width: 2px;
  height: 2px;
  animation-duration: 17s;
  animation-delay: -8s;
  bottom: -10px;
  background: rgba(26, 92, 59, 0.35);
  box-shadow: 0 0 6px rgba(26, 92, 59, 0.2);
}

.hero-particles span:nth-child(6) {
  left: 55%;
  width: 5px;
  height: 5px;
  animation-duration: 14s;
  animation-delay: -1s;
  bottom: -10px;
}

.hero-particles span:nth-child(7) {
  left: 65%;
  width: 3px;
  height: 3px;
  animation-duration: 18s;
  animation-delay: -6s;
  bottom: -10px;
  background: rgba(26, 92, 59, 0.3);
  box-shadow: 0 0 6px rgba(26, 92, 59, 0.15);
}

.hero-particles span:nth-child(8) {
  left: 75%;
  width: 2px;
  height: 2px;
  animation-duration: 12s;
  animation-delay: -4s;
  bottom: -10px;
}

.hero-particles span:nth-child(9) {
  left: 85%;
  width: 4px;
  height: 4px;
  animation-duration: 20s;
  animation-delay: -7s;
  bottom: -10px;
}

.hero-particles span:nth-child(10) {
  left: 92%;
  width: 3px;
  height: 3px;
  animation-duration: 15s;
  animation-delay: -9s;
  bottom: -10px;
  background: rgba(26, 92, 59, 0.35);
  box-shadow: 0 0 6px rgba(26, 92, 59, 0.2);
}

.hero-particles span:nth-child(11) {
  left: 40%;
  width: 2px;
  height: 2px;
  animation-duration: 21s;
  animation-delay: -11s;
  bottom: -10px;
}

.hero-particles span:nth-child(12) {
  left: 70%;
  width: 3px;
  height: 3px;
  animation-duration: 16s;
  animation-delay: -13s;
  bottom: -10px;
}

@keyframes particleRise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  40% {
    transform: translateY(-40vh) translateX(15px);
    opacity: 0.6;
  }

  70% {
    transform: translateY(-70vh) translateX(-10px);
    opacity: 0.3;
  }

  100% {
    transform: translateY(-100vh) translateX(5px);
    opacity: 0;
  }
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  20% {
    transform: translate(40px, -50px) scale(1.1) rotate(5deg);
  }

  40% {
    transform: translate(-30px, 30px) scale(0.9) rotate(-3deg);
  }

  60% {
    transform: translate(50px, 40px) scale(1.05) rotate(8deg);
  }

  80% {
    transform: translate(-40px, -30px) scale(0.95) rotate(-5deg);
  }
}

/* Particle canvas */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 7rem 2rem 5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  letter-spacing: 0.01em;
}

.hero-logo {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-logo-img {
  height: clamp(6rem, 18vw, 11rem);
  width: auto;
  filter: drop-shadow(0 4px 20px rgba(26, 92, 59, 0.15)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.06));
  transition: transform 0.5s var(--ease-smooth), filter 0.5s var(--ease-smooth);
  animation: logoFloat 6s ease-in-out infinite;
}

.hero-logo-img:hover {
  transform: scale(1.04) translateY(-2px);
  filter: drop-shadow(0 8px 32px rgba(26, 92, 59, 0.2)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-title-sub {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
}

.hero-title-gradient {
  background: var(--gradient-hero-text);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroGradient 6s ease-in-out infinite;
}

@keyframes heroGradient {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero-stats {
    gap: 3rem;
  }
}

.hero-stat {
  text-align: center;
  position: relative;
  padding: 1.25rem 2rem;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.hero-stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--green-700);
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Search */
.hero-search-wrapper {
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
}

.hero-search-glow {
  position: absolute;
  inset: -3px;
  border-radius: 1.5rem;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  filter: blur(4px);
}

.hero-search-wrapper:focus-within .hero-search-glow {
  opacity: 0.3;
}

.hero-search-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  z-index: 2;
}

.hero-search-input {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.125rem 1.25rem 1.125rem 3.25rem;
  border-radius: var(--radius-lg);
  background: white;
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-md);
}

.hero-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.hero-search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
  width: 1px;
  height: 2rem;
  background: linear-gradient(180deg, var(--accent-primary), transparent);
  border-radius: 1px;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ================================================================
   CATEGORY FILTER BAR
   ================================================================ */
.category-bar {
  position: sticky;
  top: 4rem;
  z-index: 30;
  background: rgba(250, 248, 244, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
  .category-bar {
    top: 4.5rem;
  }
}

.category-bar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.category-chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow-x: auto;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-normal) var(--ease-smooth);
  user-select: none;
  font-family: inherit;
}

.category-chip:hover {
  border-color: var(--border-accent);
  color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.category-chip.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.category-chip:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ================================================================
   STORE CARDS
   ================================================================ */
.stores-section {
  position: relative;
  background: var(--bg-secondary);
  padding: 3rem 0 5rem;
}

.stores-section>* {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.stores-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

@media (min-width: 768px) {
  .stores-section {
    padding: 4rem 0 6rem;
  }

  .stores-section>* {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.stores-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .stores-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.stores-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.stores-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-primary);
  margin-top: 0.75rem;
}

.stores-count {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

.stores-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inline-search-wrapper {
  position: relative;
  flex: 1;
}

@media (min-width: 640px) {
  .inline-search-wrapper {
    flex: none;
    width: 16rem;
  }
}

.inline-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.inline-search-input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: white;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 500;
  transition: all var(--duration-normal) ease;
}

.inline-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.inline-search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(26, 92, 59, 0.08);
}

.view-switcher {
  display: flex;
  background: white;
  border-radius: var(--radius-md);
  padding: 0.25rem;
  border: 1.5px solid var(--border-light);
}

/* View buttons */
.view-btn {
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  background: transparent;
  border: none;
  transition: all var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  font-size: 0;
}

.view-btn:hover {
  color: var(--text-secondary);
}

.view-btn.active {
  background: var(--gradient-subtle);
  color: var(--accent-primary);
}

/* ---- Card ---- */
.store-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  /* Fix: prevent 90° corners on hover due to compositing */
  will-change: transform;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.store-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 0 rgba(26, 92, 59, 0);
  transition: box-shadow 0.3s var(--ease-out-expo);
  pointer-events: none;
  z-index: 3;
}

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

.store-card:hover::after {
  box-shadow: inset 0 0 0 2px rgba(26, 92, 59, 0.1);
}

.store-card:focus-visible {
  outline: 3px solid var(--accent-primary);
  outline-offset: 3px;
}

.store-card .card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-secondary);
  overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

/* Mobile: reduce card image height for better screen usage */
@media (max-width: 639px) {
  .store-card .card-image {
    padding-top: 50%;
  }
}

.store-card .card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s ease;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.store-card:hover .card-image img {
  transform: scale(1.1);
}

.store-card .card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.store-card .card-body {
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.store-card .card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
  letter-spacing: -0.01em;
}

.store-card .card-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.store-card .card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card .card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* --- Card status banner (overlays bottom of image) --- */
.card-status-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card-status-banner.open {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.88) 0%, rgba(5, 150, 105, 0.82) 100%);
  color: #fff;
}

.card-status-banner.closed {
  background: rgba(55, 65, 81, 0.8);
  color: rgba(255, 255, 255, 0.85);
}

.card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.card-status-banner.open .card-status-dot {
  background: #fff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
  animation: statusPulse 2s ease-in-out infinite;
}

.card-status-banner.closed .card-status-dot {
  background: rgba(255, 255, 255, 0.45);
}

@keyframes statusPulse {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
  }
}

.card-status-text {
  font-weight: 800;
}

.card-status-detail {
  margin-left: auto;
  font-weight: 500;
  font-size: 0.625rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
  text-transform: none;
}



/* --- Dimmed & highlighted states for category filtering --- */
/* Unified across store-card and mmap-unit */
.store-card.store-dimmed {
  opacity: 0.35;
  transform: scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-card.store-dimmed:hover {
  opacity: 0.6;
  transform: translateY(-3px) scale(1);
}

.store-card.store-highlighted {
  border-color: var(--green-700);
  box-shadow:
    0 0 0 2px var(--green-700),
    0 8px 24px rgba(0, 0, 0, 0.10);
  transform: scale(1.02);
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 2;
}

.store-card.store-highlighted:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 0 0 2px var(--green-700),
    0 12px 32px rgba(26, 92, 59, 0.18);
}

/* --- Product / service tags --- */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--green-700);
  background: rgba(26, 92, 59, 0.06);
  border: 1px solid rgba(26, 92, 59, 0.1);
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
}

.store-card:hover .card-tag {
  background: rgba(26, 92, 59, 0.1);
  border-color: rgba(26, 92, 59, 0.18);
}

.card-tag-more {
  color: var(--text-muted);
  background: var(--bg-secondary);
  border-color: var(--border-light);
}

/* --- Floor location in footer --- */
.card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floor-svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.06));
}

.card-location-text {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
}

.card-location-floor {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-location-section {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --- Footer link --- */
.card-footer-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--duration-normal) var(--ease-smooth);
  white-space: nowrap;
}

.store-card:hover .card-footer-link {
  gap: 0.5rem;
  color: var(--accent-secondary);
}

/* List view */
.store-grid-list .store-card {
  flex-direction: row;
  align-items: center;
}

.store-grid-list .store-card .card-image {
  width: 200px;
  min-width: 200px;
  padding-top: 0;
  height: 140px;
  border-radius: var(--radius-lg);
  margin: 0.75rem;
}

.store-grid-list .store-card .card-body {
  padding: 1rem 1rem 1rem 0;
}

.store-grid-list .store-card .card-footer {
  display: none;
}

@media (max-width: 640px) {
  .store-grid-list .store-card {
    flex-direction: column;
  }

  .store-grid-list .store-card .card-image {
    width: 100%;
    min-width: unset;
    padding-top: 50%;
    height: auto;
    margin: 0;
    border-radius: 0;
  }

  .store-grid-list .store-card .card-body {
    padding: 1.25rem;
  }

  .store-grid-list .store-card .card-footer {
    display: flex;
  }
}

/* ---- Status badges ---- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.625rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge.open {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.15);
}

.status-badge.open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.status-badge.closed {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.status-badge.closed::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

/* Floor badge */
.floor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.625rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

/* ================================================================
   INFO SECTION
   ================================================================ */
.info-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.info-section-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .info-section-inner {
    padding: 7rem 2rem;
  }
}

.section-heading {
  text-align: left;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-primary);
  margin: 0.75rem 0 0;
}

.section-heading p {
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 400;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.info-card {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

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

.info-card:hover::before {
  transform: scaleX(1);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  transition: transform var(--duration-normal) var(--ease-bounce);
}

.info-card:hover .info-icon {
  transform: scale(1.1) rotate(-3deg);
}

.info-icon.icon-indigo {
  background: rgba(26, 92, 59, 0.08);
  color: var(--green-600);
}

.info-icon.icon-purple {
  background: rgba(197, 160, 85, 0.1);
  color: var(--gold-600);
}

.info-icon.icon-pink {
  background: rgba(26, 92, 59, 0.06);
  color: var(--green-500);
}

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.info-card p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Structured info lists inside info cards */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-list-icon {
  font-size: 0.875rem !important;
  color: var(--green-600);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact-section {
  background: var(--bg-secondary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.contact-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
  .contact-inner {
    padding: 7rem 2rem;
  }
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: var(--gradient-primary);
  margin-top: 0.75rem;
}

.contact-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
  border: 1px solid transparent;
}

.contact-info-item:hover {
  background: var(--gradient-subtle);
  border-color: var(--border-accent);
  color: var(--accent-primary);
  transform: translateX(4px);
}

.contact-info-item .material-icons-round {
  color: var(--accent-primary);
  font-size: 1.25rem;
}

/* Contact form */
.contact-form {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) ease;
}

.contact-form:focus-within {
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  border-color: var(--border-accent);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  transition: all var(--duration-normal) ease;
}

.form-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(26, 92, 59, 0.08);
  background: white;
}

textarea.form-input {
  resize: none;
}

.form-submit {
  width: 100%;
  padding: 0.9375rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 800;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--duration-normal) var(--ease-smooth);
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent-hover);
}

.form-submit:hover::before {
  opacity: 1;
}

.form-submit:active {
  transform: translateY(-1px);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2rem;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.reveal-delay-4 {
  transition-delay: 0.48s;
}

.store-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo),
    box-shadow 0.5s var(--ease-out-expo), border-color 0.3s ease;
}

.store-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.empty-state {
  text-align: center;
  padding: 5rem 1rem;
}

.empty-state .material-icons-round {
  font-size: 4rem;
  color: var(--text-muted);
  opacity: 0.3;
  margin-bottom: 1rem;
  display: inline-block;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.empty-state button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-accent);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.empty-state button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-accent-hover);
}

/* ================================================================
   DETAIL PAGE
   ================================================================ */
.breadcrumb {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--duration-fast) ease;
}

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

.detail-hero {
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.detail-hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-hero-inner {
    padding: 3rem 2rem;
  }
}

.glass-panel {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  transition: all 0.5s var(--ease-out-expo);
  overflow: hidden;
  min-width: 0;
}

@media (min-width: 768px) {
  .glass-panel {
    padding: 2rem;
  }
}

.glass-panel:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.glass-panel-header {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.glass-panel-header .material-icons-round {
  color: var(--accent-primary);
}

.detail-tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all var(--duration-fast) ease;
}

.detail-tag:hover {
  border-color: var(--border-accent);
  color: var(--accent-primary);
  transform: translateY(-1px);
}

/* Location card */
.location-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  color: #fff;
  box-shadow: var(--shadow-accent-hover);
  transition: all var(--duration-normal) ease;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(26, 92, 59, 0.25);
}

.location-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.location-card-inner {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 0.75rem;
}

/* Gallery */
.gallery-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--border-light);
  transition: all 0.5s var(--ease-out-expo);
}

.gallery-image:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.gallery-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Hours */
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
  position: relative;
}

.hours-row+.hours-row {
  border-top: 1px solid var(--border-light);
}

.hours-row:hover {
  background: var(--bg-secondary);
}

.hours-row.today {
  background: rgba(26, 92, 59, 0.05);
  color: var(--green-700);
  font-weight: 700;
  border: 1.5px solid rgba(26, 92, 59, 0.12);
  border-radius: var(--radius-md);
  margin: 0.125rem 0;
}

.hours-row.today+.hours-row {
  border-top: none;
}

.hours-row .day {
  min-width: 110px;
  font-weight: 600;
}

.hours-row .time-slots {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hours-row .time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all var(--duration-fast) ease;
}

.hours-row:hover .time-pill {
  border-color: var(--border-accent);
}

.hours-row.today .time-pill {
  background: rgba(26, 92, 59, 0.08);
  border-color: rgba(26, 92, 59, 0.18);
  color: var(--green-700);
}

.hours-row .time-pause {
  font-size: 0.625rem;
  color: var(--text-muted);
  opacity: 0.5;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hours-row.today .time-pause {
  color: var(--green-700);
  opacity: 0.45;
}

.hours-row .time-closed {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  letter-spacing: 0.01em;
}

/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  background: white;
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

/* ====== DETAIL PAGE OVERFLOW CONTAINMENT ====== */
.detail-content-area {
  overflow: hidden;
}
.detail-grid,
#detail-grid {
  overflow: hidden;
  min-width: 0;
}
.detail-sidebar {
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.detail-main-col {
  min-width: 0;
  overflow: hidden;
}

/* ====== DETAIL PAGE MOBILE OPTIMIZATIONS ====== */
@media (max-width: 639px) {
  .detail-hero-inner {
    padding: 1.25rem 1rem 1.5rem;
  }

  .detail-hero-flex,
  #detail-hero-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }

  .detail-content-area,
  [class*="detail-content"] {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }

  .detail-grid,
  #detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .glass-panel {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .glass-panel-header {
    font-size: 1rem;
    gap: 0.375rem;
  }

  .glass-panel-header .material-icons-round {
    font-size: 1.125rem;
  }

  /* Breadcrumb mobile */
  .breadcrumb nav ol {
    font-size: 0.8125rem;
    flex-wrap: wrap;
  }

  /* Hours mobile */
  .hours-row {
    padding: 0.625rem 0.5rem;
    font-size: 0.8125rem;
  }

  .hours-row .day {
    min-width: 80px;
    font-size: 0.75rem;
  }

  .hours-row .time-pill {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  /* Products grid mobile */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    gap: 0.75rem;
  }

  .product-card-img {
    height: 100px;
  }

  /* Location card mobile */
  .location-card {
    padding: 1rem;
  }

  .location-card h3 {
    font-size: 1rem;
  }

  /* Tags mobile */
  .detail-tag {
    font-size: 0.6875rem;
    padding: 0.25rem 0.625rem;
  }

  /* Social btn mobile */
  .social-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  /* Contact link mobile */
  .contact-link {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }

  /* Carousel mobile */
  .carousel-btn {
    width: 1.75rem;
    height: 1.75rem;
  }

  .carousel-post-content {
    padding: 0.75rem;
  }

  .carousel-review {
    padding: 0.75rem;
  }

  .carousel-review-text {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

/* ====== DETAIL PAGE MEDIUM SCREENS ====== */
@media (min-width: 640px) and (max-width: 1023px) {
  .detail-grid,
  #detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

.social-btn:hover {
  border-color: var(--border-accent);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.social-btn img {
  width: 18px;
  height: 18px;
}

/* Contact link */
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.contact-link:hover {
  background: var(--gradient-subtle);
  color: var(--accent-primary);
  border-color: var(--border-accent);
  transform: translateX(3px);
}

.contact-link .material-icons-round {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
  font-size: 0;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* Toast - removed (replaced by .sl-toast below) */

/* ====== SSR STORE CARD FALLBACK STYLES ====== */
/* These style the server-rendered cards before JS hydration replaces them */
.store-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  background: var(--bg-secondary);
}

.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

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

.store-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-card:hover .store-card-overlay {
  opacity: 1;
}

.store-card-view-btn {
  padding: 0.5rem 1.25rem;
  background: white;
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.store-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.store-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.store-card-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--bg-secondary);
  padding: 0.25rem;
  flex-shrink: 0;
}

.store-card-title {
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.store-card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.store-card-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-footer {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.opening-status {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ====== TOUCH DEVICE OPTIMIZATIONS ====== */
@media (hover: none) and (pointer: coarse) {
  /* Reduce hover effects on touch devices */
  .store-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .store-card:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }

  .store-card:hover .card-image img {
    transform: none;
  }

  .info-card:hover {
    transform: none;
  }

  .mmap-unit:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .mmap-unit:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
  }

  .iso-tile:hover {
    transform: none;
  }

  .gallery-image:hover {
    transform: none;
  }

  /* Disable tooltips on touch */
  .mmap-unit-tooltip,
  .iso-tile-tooltip {
    display: none !important;
  }

  /* Better active states */
  .category-chip:active {
    transform: scale(0.95);
    transition-duration: 0.1s;
  }

  .nav-link:active,
  .mobile-nav-link:active {
    opacity: 0.7;
  }

  .entrance-card:hover {
    transform: none;
  }

  .entrance-card:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }
}

/* PAGE TRANSITION */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 7rem;
  }

  .hero-section {
    min-height: 80vh;
    min-height: 80dvh;
  }
}

/* ====== COMPREHENSIVE MOBILE OPTIMIZATIONS ====== */
@media (max-width: 639px) {
  /* --- Hero section mobile --- */
  .hero-section {
    min-height: 70vh;
    min-height: 70dvh;
  }

  .hero-content {
    padding: 3.5rem 1rem 3rem;
  }

  .hero-logo {
    margin-bottom: 1.5rem;
  }

  .hero-logo-img {
    height: clamp(4rem, 14vw, 7rem);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-title-sub {
    font-size: clamp(1rem, 3.5vw, 1.375rem);
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-stats {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero-stat {
    padding: 0.875rem 1.25rem;
    min-width: 0;
    flex: 1 1 calc(33.333% - 0.75rem);
  }

  .hero-stat-value {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .hero-stat-label {
    font-size: 0.625rem;
    letter-spacing: 0.06em;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  /* Hide heavy decorative elements on mobile for performance */
  .hero-rays {
    display: none;
  }

  .hero-shimmer {
    display: none;
  }

  .hero-particles span:nth-child(n+7) {
    display: none;
  }

  .hero-blob {
    filter: blur(60px);
  }

  .hero-blob-3,
  .hero-blob-4 {
    display: none;
  }

  /* --- Category bar mobile --- */
  .category-bar {
    top: 4rem;
  }

  .category-bar-inner {
    padding: 0 0.75rem;
  }

  .category-chips {
    gap: 0.375rem;
    padding: 0.5rem 0;
  }

  .category-chip {
    padding: 0.4375rem 0.875rem;
    font-size: 0.75rem;
  }

  /* --- Map section mobile --- */
  .map-section {
    padding: 2.5rem 0 2rem;
  }

  .map-section-inner {
    padding: 0 0.75rem;
  }

  .map-section .section-heading {
    margin-bottom: 1.5rem;
  }

  .section-heading h2 {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .section-heading p {
    font-size: 0.875rem;
  }

  /* --- Store cards section mobile --- */
  .stores-section {
    padding: 2rem 0 3rem;
  }

  .stores-section > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .stores-header {
    margin-bottom: 1.5rem;
  }

  .stores-title {
    font-size: 1.5rem;
  }

  /* Store card mobile enhancements */
  .store-card .card-body {
    padding: 1rem 1rem 0.5rem;
  }

  .store-card .card-title {
    font-size: 1rem;
  }

  .store-card .card-desc {
    font-size: 0.8125rem;
    -webkit-line-clamp: 2;
  }

  .store-card .card-footer {
    padding: 0.625rem 1rem;
  }

  .card-tags {
    gap: 0.25rem;
    margin-top: 0.5rem;
  }

  .card-tag {
    font-size: 0.5625rem;
    padding: 0.15rem 0.4rem;
  }

  .card-review-snippet {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
  }

  .card-review-text {
    font-size: 0.625rem;
  }

  .card-review-author {
    font-size: 0.625rem;
  }

  /* --- Info section mobile --- */
  .info-section-inner {
    padding: 3rem 0.75rem;
  }

  .info-card {
    padding: 1.5rem 1.25rem;
    text-align: left;
  }

  .info-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.75rem;
  }

  .info-icon .material-icons-round {
    font-size: 1.375rem !important;
  }

  .info-card h3 {
    font-size: 1rem;
  }

  .info-list li {
    font-size: 0.75rem;
  }

  /* --- Contact section mobile --- */
  .contact-inner {
    padding: 3rem 0.75rem;
  }

  .contact-info-item {
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  /* --- Footer mobile --- */
  .footer-inner {
    padding: 1.5rem 0.75rem;
    text-align: center;
    align-items: center;
  }

  .footer-nav {
    justify-content: center;
    gap: 1rem;
  }

  /* --- General mobile spacing --- */
  .section-heading {
    margin-bottom: 2rem;
  }

  /* --- Mobile-friendly touch targets --- */
  .nav-link,
  .mobile-nav-link,
  .category-chip,
  .mmap-tab {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .hero-content {
    padding: 2.5rem 0.75rem 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-stat {
    flex: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .hero-stat-value {
    font-size: 1.5rem;
    min-width: 3rem;
  }

  .hero-stat-label {
    font-size: 0.6875rem;
  }

  .stores-section > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .info-section-inner,
  .contact-inner {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* ====== FOCUS ====== */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ====== VISUAL BUILDING MAP ====== */
.center-map-section {
  padding: 0 1.5rem 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.center-map-section .section-heading {
  margin-bottom: 1.5rem;
}

.center-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.center-map-wrap {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.center-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Store zones */
.map-store-zone {
  transition: all 0.2s ease;
}

.map-store-zone:hover .map-zone-bg {
  filter: brightness(0.97);
  stroke-width: 2.5;
}

.map-store-zone.open:hover .map-zone-bg {
  stroke-width: 2.5;
}

.map-store-zone.closed {
  opacity: 0.6;
}

.map-store-zone.closed:hover {
  opacity: 0.85;
}

/* Status dot pulse */
.map-dot-pulse {
  animation: mapDotPulse 2s ease-in-out infinite;
}

@keyframes mapDotPulse {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* Tooltip */
.map-tooltip {
  position: absolute;
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-size: 0.6875rem;
  font-family: Inter, sans-serif;
  pointer-events: none;
}

/* ====== COMPACT BUSYNESS ====== */
.busy-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.busy-compact-gauge {
  flex-shrink: 0;
}

.busy-gauge-fill {
  animation: gaugeReveal 1.5s var(--ease-out-expo) forwards;
}

@keyframes gaugeReveal {
  from {
    stroke-dasharray: 0 251.2;
  }
}

.busy-compact-info {
  display: flex;
  flex-direction: column;
}

.busy-compact-level {
  font-size: 0.875rem;
  font-weight: 800;
}

.busy-compact-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ====== PER-STORE BUSYNESS ====== */
.store-busy {
  padding: 0.75rem 0;
}

.store-busy-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--bg-secondary);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.store-busy-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s var(--ease-out-expo);
}

.store-busy-info {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
}

.store-busy-level {
  font-weight: 700;
}

.store-busy-pct {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.6875rem;
}

/* ================================================================
   EINKAUFSLISTE – Collaborative Shopping List
   ================================================================ */

/* -- FAB Button -- */
.sl-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(26, 92, 59, 0.3);
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}
.sl-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 92, 59, 0.35);
}
.sl-fab .material-icons-round { font-size: 1.25rem; }

.sl-fab-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--green-900);
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 0.25rem;
}
.sl-fab-badge.sl-badge-visible { display: inline-flex; }

@media (max-width: 480px) {
  .sl-fab-label { display: none; }
  .sl-fab {
    padding: 0.875rem;
    border-radius: 50%;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
  }
  /* Position badge as floating counter on circular FAB */
  .sl-fab-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.375rem;
    height: 1.375rem;
    font-size: 0.6875rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}

/* -- Backdrop -- */
.sl-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.sl-backdrop.open { opacity: 1; visibility: visible; }

/* -- Panel -- */
.sl-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9998;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-light);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sl-panel.open { transform: translateX(0); }

@media (max-width: 480px) {
  .sl-panel { width: 100vw; border-left: none; }
}

/* -- Header -- */
.sl-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}
.sl-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.sl-header-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  min-width: 0;
}
.sl-header-selector:hover { background: var(--bg-secondary); }
.sl-header-title-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}
.sl-header-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-header-subtitle {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.125rem;
}
.sl-selector-arrow {
  font-size: 1.25rem !important;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.sl-header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.sl-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.sl-icon-btn:hover { background: var(--bg-secondary); color: var(--text-primary); }
.sl-icon-btn .material-icons-round { font-size: 1.25rem; }

/* Green dot removed in v7 — no longer used */

/* -- Progress -- */
.sl-progress {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.sl-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green-600), var(--gold-400));
  border-radius: 2px;
  transition: width 0.4s ease;
}
.sl-progress-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
  font-weight: 500;
}

/* -- Body -- */
.sl-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* -- Empty State -- */
.sl-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  min-height: 260px;
}
.sl-empty-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.sl-empty-icon .material-icons-round { font-size: 1.75rem; color: var(--green-400); }
.sl-empty-title { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: 0.375rem; }
.sl-empty-desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; max-width: 260px; }

/* -- Items -- */
.sl-items { padding: 0.75rem 1rem; }
.sl-group { margin-bottom: 1.25rem; }
.sl-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 0.25rem 0;
  margin-bottom: 0.5rem;
}
.sl-group-logo {
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--border-light);
}
.sl-group-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
.sl-group-link:hover { color: var(--green-700); }
.sl-group-count {
  margin-left: auto;
  background: var(--bg-secondary);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-full);
  font-size: 0.625rem;
  font-weight: 600;
}

/* -- Item Card -- */
.sl-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 0.625rem;
  border-radius: var(--radius-md);
  margin-bottom: 3px;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  border: 1.5px solid transparent;
}
.sl-item:hover { background: rgba(0, 0, 0, 0.02); }
.sl-item:active { background: rgba(26, 92, 59, 0.06); border-color: rgba(26, 92, 59, 0.15); }
.sl-item-done { opacity: 0.55; background: rgba(26, 92, 59, 0.03); }
.sl-item-done:active { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); }
.sl-item-done .sl-item-name { text-decoration: line-through; color: var(--text-muted); }
.sl-item-check {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  border: 2px solid var(--border-medium);
  background: var(--bg-card);
  padding: 0;
  cursor: pointer;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border-radius: var(--radius-sm);
}
.sl-item-check .material-icons-round { font-size: 1.125rem; }
.sl-item-done .sl-item-check {
  color: #fff;
  background: var(--accent-primary);
  border-color: var(--accent-primary);
}
.sl-item-check:hover {
  border-color: var(--accent-primary);
  color: var(--green-200);
}
.sl-item-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-secondary);
}
.sl-item-content { flex: 1; min-width: 0; }
.sl-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* -- Item Meta -- */
.sl-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.0625rem;
  margin-top: 0.1875rem;
}
.sl-meta-line {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.6875rem;
  line-height: 1.3;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-meta-name {
  font-weight: 500;
  color: var(--text-secondary);
}
.sl-meta-time {
  opacity: 0.55;
  font-size: 0.625rem;
}
.sl-meta-time::before {
  content: '\00b7';
  margin-right: 0.25rem;
  opacity: 0.5;
}
.sl-meta-done {
  color: var(--green-700);
  opacity: 0.75;
}
.sl-meta-done .sl-meta-name {
  color: var(--green-700);
}
.sl-meta-done-icon {
  font-size: 0.625rem;
  flex-shrink: 0;
}
.sl-item-done .sl-meta-line:first-child { opacity: 0.6; }
.sl-item-price { font-weight: 600; color: var(--gold-600); }

/* -- Consent Checkbox (v8) -- */
.sl-consent-section {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}
.sl-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sl-consent-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.sl-consent-box {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--border-medium, #ccc);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 0.0625rem;
}
.sl-consent-tick {
  font-size: 0.875rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}
.sl-consent-check:checked + .sl-consent-box {
  background: var(--green-700);
  border-color: var(--green-700);
}
.sl-consent-check:checked + .sl-consent-box .sl-consent-tick {
  opacity: 1;
}
.sl-consent-check:focus-visible + .sl-consent-box {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}
.sl-consent-text {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-secondary);
}
.sl-consent-text a {
  color: var(--green-700);
  text-decoration: underline;
}
.sl-consent-detail {
  margin-top: 0.375rem;
  padding-left: 1.75rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* -- Privacy Hint (v8 empty state) -- */
.sl-privacy-hint {
  margin-top: 0.75rem;
  padding: 0.5rem 0.625rem;
  background: var(--bg-secondary, #f5f3ef);
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.375rem;
}
.sl-privacy-hint .material-icons-round {
  font-size: 0.875rem;
  margin-top: 0.0625rem;
  flex-shrink: 0;
  opacity: 0.6;
}
.sl-privacy-hint a {
  color: var(--green-700);
  text-decoration: underline;
}

/* -- Members Bar -- */
.sl-members-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  cursor: pointer;
}
.sl-members-bar:hover .sl-members-summary { color: var(--text-primary); }
.sl-members-avatars {
  display: flex;
  align-items: center;
}
.sl-members-avatars .sl-member {
  position: relative;
  margin-right: -0.375rem;
}
.sl-members-avatars .sl-member:last-child { margin-right: 0; }
.sl-member-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid var(--bg-primary);
  flex-shrink: 0;
}
.sl-member-avatar-lg {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.875rem;
  border: none;
}
.sl-member-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
}
.sl-member-online { background: var(--accent-success); }
.sl-member-offline { background: var(--border-medium); }
.sl-member-dot-inline {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  vertical-align: middle;
}
.sl-member-more {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 0.5rem;
}
.sl-members-summary {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-left: auto;
  transition: color 0.15s;
}

/* -- Member Detail -- */
.sl-member-detail-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-sm);
}
.sl-member-detail-row:hover { background: var(--bg-secondary); }
.sl-member-detail-info { flex: 1; min-width: 0; }
.sl-member-detail-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}
.sl-member-detail-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

/* -- Done Divider -- */
.sl-done-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin: 0.75rem 0 0.5rem;
}
.sl-done-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
.sl-done-divider-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* -- Add Section -- */
.sl-add-section {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}
.sl-add-row { display: flex; gap: 0.5rem; }
.sl-add-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.sl-add-input:focus { border-color: var(--accent-primary); }
.sl-add-input::placeholder { color: var(--text-muted); }
.sl-add-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--accent-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.sl-add-btn:disabled { opacity: 0.4; cursor: default; }
.sl-add-btn:not(:disabled):hover { background: var(--green-600); transform: scale(1.05); }
.sl-add-btn .material-icons-round { font-size: 1.25rem; }

/* -- Footer -- */
.sl-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.sl-share-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1.5px dashed var(--border-accent);
  border-radius: var(--radius-md);
  background: rgba(26, 92, 59, 0.03);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.sl-share-cta:hover { background: rgba(26, 92, 59, 0.06); border-color: var(--accent-primary); }
.sl-share-cta .material-icons-round { font-size: 1.125rem; }
.sl-footer-row { margin-top: 0.25rem; }
.sl-clear-btn {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.2s;
}
.sl-clear-btn:hover { color: var(--accent-danger); }

/* -- Activity Feed -- */
.sl-activity {
  padding: 0.75rem 1.25rem 1rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
  flex-shrink: 0;
  max-height: 160px;
  overflow-y: auto;
}
.sl-activity-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.sl-activity-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  line-height: 1.4;
}
.sl-activity-item b { font-weight: 600; }
.sl-activity-time {
  margin-left: auto;
  font-size: 0.625rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* -- Overlay (Sheets) -- */
.sl-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.sl-overlay.open { opacity: 1; visibility: visible; }
.sl-sheet {
  background: #fff;
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.sl-overlay.open .sl-sheet { transform: translateY(0) scale(1); }
.sl-sheet-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sl-sheet-header h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}
.sl-sheet-body { padding: 1.25rem; }
.sl-sheet-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* -- Form Elements -- */
.sl-field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.375rem;
  margin-top: 0.75rem;
}
.sl-field-label:first-of-type { margin-top: 0; }
.sl-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sl-input:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(26, 92, 59, 0.08); }
.sl-input::placeholder { color: var(--text-muted); }
.sl-primary-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  margin-top: 1.25rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.sl-primary-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.sl-primary-btn:not(:disabled):hover { box-shadow: var(--shadow-accent); }
.sl-primary-btn .material-icons-round { font-size: 1.125rem; }
.sl-text-btn {
  width: 100%;
  padding: 0.625rem;
  margin-top: 0.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.sl-text-btn:hover { color: var(--text-primary); }

/* -- Spinner -- */
.sl-spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: slSpin 0.6s linear infinite;
}
@keyframes slSpin { to { transform: rotate(360deg); } }

/* -- Share Grid -- */
.sl-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.sl-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.sl-share-option:hover { background: var(--bg-secondary); }
.sl-share-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.sl-share-option:hover .sl-share-icon { transform: scale(1.08); }
.sl-share-icon .material-icons-round { font-size: 1.375rem; }
.sl-share-whatsapp { background: #25D366; color: #fff; }
.sl-share-email { background: var(--bg-secondary); color: var(--text-secondary); }
.sl-share-copy { background: var(--bg-secondary); color: var(--text-secondary); }
.sl-share-url {
  display: flex;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.sl-share-url-input {
  flex: 1;
  padding: 0.625rem 0.75rem;
  border: none;
  background: var(--bg-secondary);
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: var(--text-muted);
  outline: none;
  min-width: 0;
}
.sl-share-url-copy {
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: none;
  border-left: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}
.sl-share-url-copy:hover { background: var(--bg-secondary); color: var(--accent-primary); }
.sl-share-url-copy .material-icons-round { font-size: 1rem; }

/* -- Share privacy banner -- */
.sl-share-privacy-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem 0.875rem;
  background: rgba(26, 92, 59, 0.06);
  border: 1px solid rgba(26, 92, 59, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}
.sl-share-privacy-banner > .material-icons-round {
  font-size: 1.25rem;
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 0.0625rem;
}
.sl-share-privacy-banner > div {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
}
.sl-share-privacy-banner strong {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-800);
}
.sl-share-privacy-banner span {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* -- List Selector -- */
.sl-sheet-body-lists { padding: 0.75rem; }
.sl-list-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0.25rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.sl-list-row:hover { background: var(--bg-secondary); }
.sl-list-row.active { background: rgba(26, 92, 59, 0.04); }
.sl-list-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  text-align: left;
  min-width: 0;
}
.sl-list-option-info { display: flex; flex-direction: column; min-width: 0; }
.sl-list-option-name { font-weight: 600; font-size: 0.9375rem; color: var(--text-primary); }
.sl-list-option-meta { font-size: 0.75rem; color: var(--text-muted); }
.sl-list-check { color: var(--accent-primary) !important; font-size: 1.125rem !important; }
.sl-list-delete-btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: all 0.15s;
  margin-right: 0.25rem;
}
.sl-list-row:hover .sl-list-delete-btn { opacity: 1; }
.sl-list-delete-btn:hover { color: var(--accent-danger); background: rgba(220, 38, 38, 0.08); }
.sl-list-delete-btn .material-icons-round { font-size: 1.125rem; }
@media (hover: none) {
  .sl-list-delete-btn { opacity: 0.6; }
}
.sl-new-list-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem;
  margin-top: 0.75rem;
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  background: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8125rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.sl-new-list-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(26, 92, 59, 0.03); }
.sl-new-list-btn .material-icons-round { font-size: 1.125rem; }

/* -- Delete Confirmation -- */
.sl-delete-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.sl-delete-icon .material-icons-round { font-size: 2rem; color: var(--accent-danger); }
.sl-delete-title { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; }
.sl-danger-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  margin-top: 1rem;
  background: var(--accent-danger);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.sl-danger-btn:hover { background: #b91c1c; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25); }
.sl-danger-btn .material-icons-round { font-size: 1.125rem; }

/* -- Incoming Share -- */
.sl-receive-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.sl-receive-icon .material-icons-round { font-size: 2rem; color: var(--accent-primary); }
.sl-receive-title { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.25rem; }
.sl-receive-meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }

/* -- Toast -- */
.sl-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 10001;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.sl-toast-show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* -- Einkaufsliste mobile optimizations -- */
@media (max-width: 480px) {
  .sl-header {
    padding: 0.75rem 1rem;
  }

  .sl-header-title {
    font-size: 1rem;
  }

  .sl-items {
    padding: 0.5rem 0.75rem;
  }

  .sl-item {
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    min-height: 3.25rem;
  }

  .sl-item-thumb {
    width: 2rem;
    height: 2rem;
  }

  .sl-item-name {
    font-size: 0.8125rem;
  }

  .sl-add-section {
    padding: 0.625rem 0.75rem;
  }

  .sl-add-input {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }

  .sl-footer {
    padding: 0.625rem 0.75rem;
  }

  .sl-share-cta {
    padding: 0.625rem;
    font-size: 0.75rem;
  }

  /* Overlay sheets: bottom-sheet style on mobile */
  .sl-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .sl-sheet {
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow-y: auto;
  }

  .sl-overlay.open .sl-sheet {
    transform: translateY(0) scale(1);
  }

  .sl-sheet-body {
    padding: 1rem;
  }

  .sl-sheet-header {
    padding: 0.875rem 1rem;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .sl-share-grid {
    gap: 0.75rem;
  }

  .sl-share-option {
    padding: 0.75rem 0.5rem;
  }

  .sl-share-url-input {
    font-size: 0.6875rem;
  }

  /* Members bar mobile */
  .sl-members-bar {
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .sl-members-summary {
    font-size: 0.625rem;
  }

  /* Toast mobile: don't overflow screen */
  .sl-toast {
    max-width: calc(100vw - 2rem);
    font-size: 0.8125rem;
    padding: 0.625rem 1rem;
    white-space: normal;
    text-align: center;
  }

  /* Privacy banner mobile */
  .sl-share-privacy-banner {
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
  }

  .sl-share-privacy-banner > .material-icons-round {
    font-size: 1.125rem;
  }

  .sl-share-privacy-banner strong {
    font-size: 0.75rem;
  }

  .sl-share-privacy-banner span {
    font-size: 0.6875rem;
  }
}

/* =========================================
   ISOMETRIC 3D MALL MAP
   ========================================= */
.center-map-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow: hidden;
  /* Hide overflow from 3D elements */
}

.center-map-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.iso-map {
  position: relative;
  width: 100%;
  min-height: 700px;
  background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
  /* Essential for 3D effect */
  overflow: visible;
}

/* Isometric map mobile: simplify to flat card grid */
@media (max-width: 768px) {
  .iso-map {
    min-height: auto;
    perspective: none;
    padding: 1rem 0;
  }

  .iso-scene {
    transform: none;
    gap: 1rem;
  }

  .iso-floor-labels {
    display: none;
  }

  .iso-building {
    flex-direction: column;
  }

  .iso-floor {
    margin-top: 0;
  }

  .iso-floor:hover {
    transform: none;
  }

  .iso-floor-platform {
    display: none;
  }

  .iso-stores-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    padding: 0.5rem;
  }

  .iso-tile {
    width: auto;
    height: auto;
    min-height: 120px;
    transform-style: flat;
  }

  .iso-tile:hover {
    transform: translateY(-4px) scale(1.02);
  }

  .iso-tile-inner {
    position: relative;
    transform-style: flat;
    border-bottom-width: 3px;
  }

  .iso-tile-icon {
    font-size: 1.5rem;
    transform: none;
    filter: none;
  }

  .iso-tile:hover .iso-tile-icon {
    transform: scale(1.1);
  }

  .iso-tile-tooltip {
    display: none;
  }

  .iso-tile-status {
    top: -6px;
    right: -6px;
    padding: 0.2rem 0.4rem;
    font-size: 0.5rem;
    transform: none;
  }

  .iso-tile-base {
    height: auto;
    padding: 0.375rem 0.5rem;
  }

  .iso-tile-logo {
    width: 18px;
    height: 18px;
  }

  .iso-tile-name {
    font-size: 0.5625rem;
  }

  /* Streets: horizontal layout on mobile */
  .iso-street {
    position: relative;
    transform: none;
    margin: 0.5rem 0;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }

  .iso-street-west {
    bottom: auto;
    left: auto;
  }

  .iso-street-east {
    top: auto;
    right: auto;
  }

  .iso-legend {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    gap: 0.75rem;
    padding: 0.75rem;
  }
}

.iso-scene {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(54deg) rotateZ(-45deg) scale(0.9);
  /* Classic isometric angle */
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  /* Space between floors in 3D space (visually vertical) */
}

/* Floor Labels (Floating next to floors) */
.iso-floor-labels {
  position: absolute;
  top: 0;
  left: -220px;
  width: 200px;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.iso-floor-label {
  position: absolute;
  top: calc(var(--fi) * 200px);
  /* Vertical distribution matching floors */
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border-left: 5px solid var(--fc);
  transform: rotateZ(45deg) rotateX(-54deg) translateZ(100px);
  /* Counter-rotate to face user */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  animation: isoFloat 4s ease-in-out infinite;
  animation-delay: calc(var(--fi) * 0.5s);
}

.iso-floor-label-tag {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--fc);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.iso-floor-label-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Building Structure */
.iso-building {
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column-reverse;
  /* OG2 is top visually, but flex stack needs care. We rely on absolute positioning or offsets */
}

.iso-floor {
  position: relative;
  transform-style: preserve-3d;
  margin-top: -100px;
  /* Stack floors closer */
  transition: transform 0.4s ease;
  z-index: calc(10 - var(--fi));
  /* Lower floors have lower Z */
}

.iso-floor:hover {
  transform: translateZ(20px);
  /* Lift floor on hover */
}

.iso-floor-platform {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.iso-floor-slab {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
  border-radius: 30px;
  transform: translateZ(-2px);
  box-shadow:
    10px 10px 40px rgba(0, 0, 0, 0.05),
    inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Staircases connecting floors */
.iso-staircase {
  position: absolute;
  bottom: -80px;
  right: 20px;
  width: 60px;
  height: 100px;
  transform-style: preserve-3d;
  transform: rotateZ(270deg);
}

.iso-stair-step {
  height: 20px;
  background: #e5e7eb;
  margin-bottom: 2px;
  transform: translateZ(calc(var(--i, 0) * 10px));
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.iso-stair-step:nth-child(1) {
  --i: 0;
  width: 100%;
}

.iso-stair-step:nth-child(2) {
  --i: 1;
  width: 80%;
  margin-left: auto;
}

.iso-stair-step:nth-child(3) {
  --i: 2;
  width: 60%;
  margin-left: auto;
}

/* Stores Row */
.iso-stores-row {
  display: flex;
  gap: 20px;
  transform-style: preserve-3d;
  padding: 20px;
}

/* Single Store Tile */
.iso-tile {
  position: relative;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: isoEnter 0.8s backwards;
}

.iso-tile:hover {
  transform: translateZ(30px) scale(1.05);
  z-index: 50;
}

.iso-tile-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--cat-bg) 100%);
  border-radius: 16px;
  box-shadow:
    5px 5px 15px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transform-style: preserve-3d;
  border-bottom: 4px solid var(--cat-color);
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* Animated Scenes in Tiles */
.iso-tile-scene {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  overflow: visible;
  /* Let elements pop out */
}

.iso-scene-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Scene animations */
.iso-float-1 {
  animation: isoFloat 3s ease-in-out infinite;
}

.iso-float-2 {
  animation: isoFloat 4s ease-in-out infinite reverse;
}

.iso-float-3 {
  animation: isoFloat 5s ease-in-out infinite 1s;
}

.iso-pulse {
  animation: isoPulse 2s ease-in-out infinite;
}

.iso-bounce {
  animation: isoBounce 2s ease-in-out infinite;
}

.iso-sparkle {
  animation: isoSparkle 3s ease-in-out infinite;
}

.iso-tile-icon {
  font-size: 2rem;
  z-index: 5;
  transform: translateZ(20px);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.iso-tile:hover .iso-tile-icon {
  transform: translateZ(40px) scale(1.2);
}

.iso-tile-base {
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  border-radius: 0 0 16px 16px;
  transform: translateZ(1px);
}

.iso-tile-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.iso-tile-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Tile Open/Closed Badge */
.iso-tile-status {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateZ(30px);
  display: flex;
  align-items: center;
  gap: 4px;
}

.iso-tile-status.open {
  color: #10b981;
}

.iso-tile-status.closed {
  color: var(--text-muted);
  background: #f3f4f6;
}

.iso-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.iso-tile-status.open .iso-status-dot {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

/* Tooltip (appears on hover) */
.iso-tile-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateZ(60px) rotateX(-54deg) rotateZ(45deg) scale(0);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  width: 180px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.iso-tile:hover .iso-tile-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateZ(60px) rotateX(-54deg) rotateZ(45deg) scale(1);
}

.iso-tooltip-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #eee;
}

.iso-tooltip-name {
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.iso-tooltip-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.iso-tooltip-status.open {
  color: #10b981;
  font-weight: 600;
  font-size: 0.7rem;
}

/* Streets */
.iso-street {
  position: absolute;
  transform-style: preserve-3d;
  background: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transform: rotateZ(45deg) rotateX(-54deg);
  /* Face user */
}

.iso-street-west {
  bottom: 10%;
  left: 0%;
}

.iso-street-east {
  top: 10%;
  right: 0%;
}

.iso-street-icon {
  font-size: 1.25rem;
}

.iso-street-arrow {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

/* Legend */
.iso-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.iso-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

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

.iso-legend-sep {
  width: 1px;
  height: 16px;
  background: #e5e7eb;
}

/* Compact Busyness Widget */
.busy-compact {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.busy-compact-gauge {
  position: relative;
  width: 50px;
  height: 30px;
  display: flex;
  justify-content: center;
}

.busy-compact-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.busy-compact-pct {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 800;
}

.busy-compact-info {
  display: flex;
  flex-direction: column;
}

.busy-compact-level {
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.2;
}

.busy-compact-open {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Per-Store Busyness Bar */
.store-busy {
  padding: 1rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.store-busy-bar-wrap {
  height: 8px;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.store-busy-bar {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-busy-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Animations */
@keyframes isoFloat {

  0%,
  100% {
    transform: translateZ(0);
  }

  50% {
    transform: translateZ(5px);
  }
}

@keyframes isoPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes isoBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes isoSparkle {

  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes isoEnter {
  from {
    opacity: 0;
    transform: translateZ(-50px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateZ(0) scale(1);
  }
}

/* =========================================
   SOCIAL FEED & REVIEWS
   ========================================= */
.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Social Card */
.social-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.4);
}

.social-card-header {
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border-light);
}

.social-platform-icon {
  width: 24px;
  height: 24px;
}

.social-card-meta {
  display: flex;
  flex-direction: column;
}

.social-card-author {
  font-weight: 700;
  font-size: 0.85rem;
}

.social-card-date {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.social-card-img-wrap {
  position: relative;
  aspect-ratio: 1;
  /* Square for Insta-vibe */
  overflow: hidden;
}

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

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

.social-card-body {
  padding: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.social-card-stats {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Reviews Section */
.reviews-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 1.5rem;
  margin-top: 1rem;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-val {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.score-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.reviews-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.5);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.review-avatar {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-smooth);
  cursor: pointer;
}

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

.product-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-secondary);
}

.product-card-body {
  padding: 0.75rem;
}

.product-card-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.product-card-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--accent-primary);
}

.product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.product-card-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.product-card-btn.added {
  background: var(--bg-secondary);
  color: var(--accent-primary);
  border: 1.5px solid var(--border-accent);
}

.product-card-btn.added:hover {
  filter: none;
  background: var(--bg-secondary);
}

.product-card-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--accent-primary);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  z-index: 1;
}

.product-card {
  position: relative;
}

/* Service list */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  transition: all 0.3s ease;
}

.service-item:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.service-item-info {
  flex: 1;
}

.service-item-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
  margin-top: 0.125rem;
}

.service-item-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  font-family: inherit;
}

.service-item-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.service-item-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease-out-expo);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--border-light);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.modal-form .form-input {
  width: 100%;
  box-sizing: border-box;
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 2rem 0;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s var(--ease-out-expo);
}

@keyframes successPop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.modal-success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-success-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Date/time picker */
.date-picker {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.date-btn {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  min-width: 3.5rem;
  transition: all 0.2s;
  font-family: inherit;
  flex-shrink: 0;
}

.date-btn:hover {
  border-color: var(--accent-primary);
}

.date-btn.active {
  border-color: var(--accent-primary);
  background: rgba(26, 92, 59, 0.06);
}

.date-btn-day {
  font-size: 0.5625rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.date-btn-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
}

.time-slot {
  padding: 0.375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s;
  font-family: inherit;
}

.time-slot:hover {
  border-color: var(--accent-primary);
  background: rgba(26, 92, 59, 0.04);
}

.time-slot.active {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
  color: #fff;
}

.time-slot.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ====== PRINT ====== */
@media print {

  .site-header,
  .hero-section,
  .category-bar,
  .site-footer,
  .lightbox {
    display: none !important;
  }

  .store-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #d1d5db !important;
  }
}

/* =========================================
   CAROUSEL – Social Media & Reviews
   ========================================= */
.carousel-container {
  position: relative;
}

.carousel-slide {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.carousel-fade-in {
  animation: carouselFadeIn 0.5s var(--ease-out-expo);
}

@keyframes carouselFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social post carousel */
.carousel-post {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.carousel-post-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.carousel-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-post-content {
  padding: 1rem 1.25rem;
}

.carousel-post-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.carousel-post-stats {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Review carousel */
.carousel-review {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
}

.carousel-review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.carousel-review-stars {
  color: #fbbf24;
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.carousel-review-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

.carousel-review-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
}

.carousel-review-name {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.carousel-review-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Carousel source badge */
.carousel-source {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.25rem 0;
}

/* Carousel navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.carousel-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.carousel-dots {
  display: none; /* replaced by progress bar */
}

.carousel-dot {
  display: none;
}

.carousel-dot.active {
  display: none;
}

/* Carousel crossfade viewport — now a horizontal scroll strip */
.carousel-viewport {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-slide-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  opacity: 1;
  position: relative;
  pointer-events: auto;
  transition: none;
}

.carousel-slide-item.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* When 3+ items: show peek of next card */
@media (min-width: 480px) {
  .carousel-slide-item {
    flex: 0 0 85%;
  }
}
@media (min-width: 768px) {
  .carousel-slide-item {
    flex: 0 0 75%;
  }
}

/* Carousel progress bar (replaces dots) */
.carousel-progress {
  width: 100%;
  height: 3px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.375rem;
}
.carousel-progress-bar {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 2px;
  transition: width 0.3s ease;
  min-width: 8%;
}

/* =========================================
   MAP STANDALONE SECTION
   ========================================= */
.map-section {
  padding: 4rem 0 3rem;
  position: relative;
  background: var(--bg-primary);
}

.map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
}

.map-section .section-heading {
  margin-bottom: 2.5rem;
}

.map-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .map-section {
    padding: 5rem 0 4rem;
  }

  .map-section-inner {
    padding: 0 2rem;
  }
}

/* =========================================
   PROFESSIONAL MALL FLOOR PLAN MAP
   ========================================= */
.mall-map-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 40%, #f5f1ec 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 100%;
}

@keyframes mapTopLine {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 100% 0;
  }
}

/* Map reveal animation on scroll */
.mall-map-wrapper.map-hidden {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  filter: blur(6px);
}

.mall-map-wrapper.map-revealed {
  animation: mapReveal 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mapReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    filter: blur(6px);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Soft shadow underneath for 3D lift */
.mall-map-wrapper::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 8%;
  right: 8%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(26, 92, 59, 0.06) 0%, rgba(197, 160, 85, 0.03) 40%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

@keyframes ambientPulse {

  0%,
  100% {
    opacity: 0.7;
    transform: scaleX(1);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.1);
  }
}

/* Remove twinkle particles for light theme */
.mall-map-wrapper .mall-map-body {
  position: relative;
}

.mall-map-floor-plan::before {
  display: none;
}

/* Hide unit status dots */
.mmap-unit-status {
  display: none;
}

@keyframes twinkle {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.5;
  }
}

.mall-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}

.mall-map-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex-wrap: wrap;
}

.mall-map-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-700);
  background: rgba(197, 160, 85, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.mall-map-floor-tabs {
  display: flex;
  gap: 0.375rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  border: 1px solid var(--border-light);
}

.mmap-tab {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.mmap-tab:hover {
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
}

.mmap-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on active tab — removed for cleanliness */
.mmap-tab.active::after {
  display: none;
}

@keyframes tabShimmer {

  0%,
  100% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(120%);
  }
}

.mmap-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.mmap-tab.active .mmap-tab-dot {
  opacity: 1;
}

.mmap-tab-full {
  display: none;
}

@media (min-width: 640px) {
  .mmap-tab-label {
    display: none;
  }

  .mmap-tab-full {
    display: inline;
  }
}

/* --- Map body: street labels + floor plan --- */
.mall-map-body {
  display: flex;
  align-items: stretch;
  min-height: 420px;
  position: relative;
  background: #f8f7f5;
  overflow: hidden;
}

/* Removed scanning light effect */
.mall-map-body::before {
  display: none;
}

@keyframes mapScanLine {
  0% {
    transform: translateY(-120px);
    opacity: 0;
  }

  100% {
    transform: translateY(500px);
    opacity: 0;
  }
}

/* Removed floating orb */
.mall-map-body::after {
  display: none;
}

@keyframes floatOrb {

  0%,
  100% {
    top: 20%;
    left: 15%;
    opacity: 0;
  }
}

.mall-map-street {
  width: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem 0.25rem;
  position: relative;
  flex-shrink: 0;
  background: rgba(180, 170, 150, 0.05);
  border-radius: 8px;
}

.mall-map-street::before {
  display: none;
}

.mall-map-street-west {
  border-right: 2px dashed rgba(197, 160, 85, 0.25);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mall-map-street-east {
  border-left: 2px dashed rgba(197, 160, 85, 0.25);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mall-map-street.has-entrance {
  cursor: default;
}

.mall-map-street.has-entrance::after {
  display: none;
}

.mall-street-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.mall-street-sub {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.6;
}

.mall-street-icon {
  font-size: 0.875rem;
  color: rgba(197, 160, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mall-map-street {
    width: 4rem;
  }

  .mall-street-label {
    font-size: 0.75rem;
  }
}

/* --- Floor plan container --- */
.mall-map-floor-plan {
  flex: 1;
  min-width: 0;
  padding: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: none;
  border: none;
  overflow: hidden;
}


/* Map title icon */
.mall-map-title .material-icons-round {
  color: var(--green-700);
}

/* Grid layout for store units */
.mmap-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-template-rows: 1fr 1fr auto 1fr 1fr;
  column-gap: 6px;
  row-gap: 6px;
  flex: 1;
  min-height: 320px;
  background: transparent;
  border-radius: 12px;
  padding: 6px;
  transition: background 0.4s ease;
  position: relative;
  overflow: visible;
}

/* Subtle top accent line — removed */
.mmap-grid::before {
  display: none;
}

.mmap-grid::after {
  display: none;
}

/* Animate all units when floor changes */
.mmap-grid-animate .mmap-unit {
  animation: mapUnitAppear 0.4s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.mmap-grid-animate .mmap-unit:nth-child(1) {
  animation-delay: 0ms;
}

.mmap-grid-animate .mmap-unit:nth-child(2) {
  animation-delay: 40ms;
}

.mmap-grid-animate .mmap-unit:nth-child(3) {
  animation-delay: 80ms;
}

.mmap-grid-animate .mmap-unit:nth-child(4) {
  animation-delay: 120ms;
}

.mmap-grid-animate .mmap-unit:nth-child(5) {
  animation-delay: 160ms;
}

.mmap-grid-animate .mmap-unit:nth-child(6) {
  animation-delay: 200ms;
}

.mmap-grid-animate .mmap-unit:nth-child(7) {
  animation-delay: 240ms;
}

.mmap-grid-animate .mmap-unit:nth-child(8) {
  animation-delay: 280ms;
}

.mmap-grid-animate .mmap-unit:nth-child(9) {
  animation-delay: 320ms;
}

.mmap-grid-animate .mmap-unit:nth-child(10) {
  animation-delay: 360ms;
}

.mmap-grid-animate .mmap-unit:nth-child(11) {
  animation-delay: 400ms;
}

.mmap-grid-animate .mmap-unit:nth-child(12) {
  animation-delay: 440ms;
}

/* Hallway row */
.mmap-hallway {
  min-height: 1.75rem;
  max-height: 2rem;
}

/* --- Store unit – clean professional card --- */
.mmap-unit {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease, box-shadow 0.25s ease, border-color 0.18s ease, background 0.18s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02);
  will-change: transform;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Background image overlay */
.mmap-unit-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
  z-index: 0;
  transition: opacity 0.25s ease;
}

.mmap-unit:hover .mmap-unit-bg {
  opacity: 0.12;
}

/* Left accent bar removed for clean look */
.mmap-unit:not(.mmap-unit-empty)::before {
  display: none;
}

@keyframes mapUnitAppear {
  from {
    opacity: 0;
    transform: scale(0.82) translateY(14px);
    filter: blur(4px);
  }

  60% {
    opacity: 1;
    filter: blur(0);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@keyframes meshFloat {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-20px, 30px);
  }

  66% {
    transform: translate(15px, -15px);
  }
}

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

  100% {
    background-position: -200% 0;
  }
}

.mmap-unit:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
  z-index: 10;
}

.mmap-unit:hover::before {
  opacity: 0.85;
  width: 4px;
}

.mmap-unit.dimmed {
  opacity: 0.3;
  filter: grayscale(0.3) brightness(0.95);
  transform: scale(0.97);
}

.mmap-unit.dimmed:hover {
  opacity: 0.6;
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px) scale(1);
}

.mmap-unit.highlighted {
  border-color: var(--green-700);
  background: #ffffff;
  box-shadow:
    inset 0 0 0 2px var(--green-700),
    0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.mmap-unit.highlighted::before {
  opacity: 1;
  width: 4px;
}

.mmap-unit.closed {
  background: #f9f8f7;
  border-color: rgba(0, 0, 0, 0.06);
}

.mmap-unit.closed::before {
  opacity: 0.15;
}

.mmap-unit.closed .mmap-unit-inner {
  /* opacity removed per design requirement – closed stores should not be dimmed */
  opacity: 1;
}

.mmap-unit-empty {
  border: 1.5px dashed rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.015);
  box-shadow: none;
  cursor: default;
}

.mmap-unit-empty::before {
  display: none;
}

.mmap-unit-empty .mmap-unit-id {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: 600;
  opacity: 0.4;
}

/* --- Unit inner content --- */
.mmap-unit-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem 0.625rem;
  text-align: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.mmap-unit-status {
  position: absolute;
  top: 0.375rem;
  right: 0.375rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mmap-unit-status.open {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

.mmap-unit-status.closed {
  background: #d1d5db;
  box-shadow: none;
}

.mmap-unit-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: contain;
  background: #fff;
  padding: 0.2rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.mmap-unit-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mmap-unit-cat {
  font-size: 0.625rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.mmap-unit-section {
  display: none;
}

/* --- Map unit star rating --- */
.mmap-unit-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  letter-spacing: 0.01em;
}

.mmap-rating-star {
  font-size: 0.625rem;
  color: #f59e0b;
}

.mmap-rating-count {
  font-weight: 500;
  font-size: 0.5rem;
  color: var(--text-muted);
}

/* Subtle shimmer sweep across open units — removed for cleanliness */
.mmap-unit:not(.closed):not(.mmap-unit-empty)::after {
  display: none;
}

@keyframes unitShimmer {

  0%,
  80% {
    transform: translateX(-150%);
  }

  90% {
    transform: translateX(150%);
  }

  100% {
    transform: translateX(150%);
  }
}

/* --- Unit busyness tag (styled as badge like store detail) --- */
.mmap-unit-busy {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.4375rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-full);
  margin-top: 0.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.12);
}

.mmap-unit-busy::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

.mmap-unit-busy .material-icons-round {
  font-size: 0.5rem;
}

.mmap-busy-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

.mmap-unit-busy.closed-tag {
  background: rgba(100, 100, 100, 0.08);
  color: #666;
  border: 1px solid rgba(100, 100, 100, 0.12);
  opacity: 1;
}

.mmap-unit-busy.closed-tag::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
  flex-shrink: 0;
  animation: none;
}

/* Indefinitely closed tag (e.g. Umbau) */
.mmap-unit-busy.indefinite-tag {
  background: rgba(197, 160, 85, 0.1);
  color: #9A7B2F;
  border: 1px solid rgba(197, 160, 85, 0.18);
}

.mmap-unit-busy.indefinite-tag::before {
  background: #C5A055;
  animation: none;
}

.mmap-unit.indefinitely-closed {
  background: #faf8f3;
  border-color: rgba(197, 160, 85, 0.15);
}


/* --- Rich tooltip --- */
.mmap-unit-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 260px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s var(--ease-out-expo);
  z-index: 100;
  overflow: hidden;
}

.mmap-unit-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.97);
}

.mmap-unit:hover .mmap-unit-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mmap-tooltip-photo {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.mmap-tooltip-body {
  padding: 0.625rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.mmap-tooltip-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.mmap-tooltip-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mmap-tooltip-meta {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.mmap-tooltip-status {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mmap-tooltip-status.open {
  color: #15803d;
}

.mmap-tooltip-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.mmap-tooltip-tags span {
  font-size: 0.5625rem;
  padding: 0.125rem 0.375rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- Facility markers --- */
.mmap-facility {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 6px;
  background: rgba(245, 243, 240, 0.7);
  border: 1px dashed rgba(0, 0, 0, 0.08);
}

.mmap-facility .material-icons-round {
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.mmap-facility-label {
  font-size: 0.4375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- Hallway (central corridor) --- */
.mmap-hallway {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.25rem 0;
  position: relative;
  background: #f0efed;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  overflow: visible;
  z-index: 2;
}

.mmap-hallway-line {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--floor-color, var(--green-700)), transparent);
  background-size: 200% 100%;
  animation: hallwayFlow 4s linear infinite;
  opacity: 0.45;
}

.mmap-hallway-label {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 0.75rem;
}

.mmap-hallway-entrance {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 5;
}

.mmap-hallway-entrance .material-icons-round {
  font-size: 0.875rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.mmap-entrance-label {
  font-size: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.mmap-hallway-entrance.west {
  order: -1;
}

.mmap-hallway-entrance.east {
  order: 99;
}

/* --- Legend --- */
.mall-map-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.5);
}

.mmap-legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.mmap-legend-dot.open {
  background: var(--accent-success, #16a34a);
  box-shadow: 0 0 4px rgba(22, 163, 74, 0.3);
}

.mmap-legend-dot.closed {
  background: #d1d5db;
}

.mmap-legend-sep {
  width: 1px;
  height: 1rem;
  background: var(--border-light);
}



/* --- Responsive floor plan --- */
@media (max-width: 639px) {
  /* Keep the horizontal layout so streets stay on left & right (West/East) */
  .mall-map-body {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    min-height: 320px;
  }

  .mall-map-street {
    width: 2.5rem;
    min-width: 2.5rem;
    padding: 0.5rem 0.125rem;
  }

  .mall-map-street-west {
    border-right: 2px dashed rgba(197, 160, 85, 0.25);
    border-bottom: none;
    border-radius: 8px 0 0 8px;
  }

  .mall-map-street-east {
    border-left: 2px dashed rgba(197, 160, 85, 0.25);
    border-top: none;
    border-radius: 0 8px 8px 0;
  }

  .mall-street-label {
    font-size: 0.5625rem;
    letter-spacing: 0.08em;
  }

  .mall-street-sub {
    font-size: 0.4375rem;
  }

  .mall-map-floor-plan {
    min-width: 280px;
    padding: 6px;
  }

  .mmap-grid {
    min-height: 240px;
    column-gap: 3px;
    row-gap: 3px;
    padding: 3px;
  }

  .mmap-unit-inner {
    padding: 0.375rem 0.25rem;
    gap: 0.2rem;
  }

  .mmap-unit-logo {
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 0.3rem;
  }

  .mmap-unit-name {
    font-size: 0.5rem;
    -webkit-line-clamp: 1;
  }

  .mmap-unit-cat {
    display: none;
  }

  .mmap-unit-busy {
    font-size: 0.375rem;
    padding: 0.05rem 0.25rem;
  }

  .mmap-unit-rating {
    display: none;
  }

  .mmap-unit-tooltip {
    display: none;
  }

  .mmap-hallway-label {
    font-size: 0.4375rem;
    padding: 0 0.375rem;
  }

  .mmap-hallway-entrance .material-icons-round {
    font-size: 0.625rem;
  }

  .mmap-entrance-label {
    font-size: 0.375rem;
  }

  .mmap-hallway {
    min-height: 1.25rem;
    max-height: 1.5rem;
  }

  .mmap-facility .material-icons-round {
    font-size: 0.625rem;
  }

  .mmap-facility-label {
    font-size: 0.3125rem;
  }

  /* Map header adjustments */
  .mall-map-header {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .mall-map-title {
    font-size: 0.875rem;
  }

  .mmap-tab {
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
  }

  .mall-map-legend {
    padding: 0.5rem 0.75rem;
    gap: 0.625rem;
  }

  .mmap-legend-item {
    font-size: 0.625rem;
  }
}

/* Shoplist store link */
/* =========================================
   INLINE BUSYNESS (Store Detail Hero)
   ========================================= */
.detail-busyness-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.busyness-steps {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.busyness-step {
  transition: color 0.3s ease;
}

.detail-busyness-bar {
  display: inline-block;
  width: 3rem;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-secondary);
  overflow: hidden;
  vertical-align: middle;
}

.detail-busyness-fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  transition: width 1s var(--ease-out-expo);
}

/* Busyness inline widget (new) */
.busyness-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.busyness-inline-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.busyness-bar-track {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-secondary, #f3f4f6);
  overflow: hidden;
}

.busyness-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s var(--ease-out-expo, ease);
}

/* ====== ACTIVE FILTER INDICATOR ====== */
.stores-filter-active {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  background: rgba(26, 92, 59, 0.06);
  border: 1.5px solid rgba(26, 92, 59, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green-700, #1A5C3B);
  margin-top: 0.75rem;
  animation: fadeSlideIn 0.3s var(--ease-out-expo);
}

.stores-filter-active .material-icons-round {
  color: var(--green-700, #1A5C3B);
  opacity: 0.6;
}

.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(26, 92, 59, 0.1);
  border: none;
  cursor: pointer;
  color: var(--green-700, #1A5C3B);
  transition: background 0.2s ease;
  padding: 0;
  margin-left: 0.25rem;
}

.filter-clear-btn:hover {
  background: rgba(26, 92, 59, 0.2);
}

.filter-clear-btn .material-icons-round {
  font-size: 0.75rem;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== INDEFINITELY CLOSED — CARD STYLES ====== */
.store-card.store-indefinitely-closed .card-image img {
  filter: saturate(0.3) brightness(0.9);
}

.card-status-banner.indefinite {
  background: linear-gradient(135deg, rgba(197, 160, 85, 0.9), rgba(170, 130, 60, 0.9));
  color: #fff;
}

.card-status-banner.indefinite .card-status-dot {
  background: #fff;
  opacity: 0.6;
}

/* ====== INDEFINITELY CLOSED — DETAIL PAGE STYLES ====== */
.status-badge.indefinite {
  background: rgba(197, 160, 85, 0.12);
  color: #9A7B2F;
  border: 1px solid rgba(197, 160, 85, 0.2);
}

.detail-closed-indefinitely-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: rgba(197, 160, 85, 0.08);
  border: 1.5px solid rgba(197, 160, 85, 0.18);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: #9A7B2F;
  margin-top: 0.75rem;
}

.detail-closed-indefinitely-banner .material-icons-round {
  font-size: 1.125rem;
  color: #b8962e;
}

/* ====== INDEFINITELY CLOSED — HOURS SECTION ====== */
.hours-indefinite-closed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(197, 160, 85, 0.06);
  border: 1.5px solid rgba(197, 160, 85, 0.12);
  border-radius: var(--radius-md);
}

.hours-indefinite-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.hours-indefinite-text strong {
  font-size: 0.875rem;
  color: #9A7B2F;
}

/* ====== BUSYNESS BADGES (Store Cards) ====== */
.card-busyness-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  margin-left: 0.25rem;
  border: 1px solid;
}

.card-busyness-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: statusPulse 2s ease-in-out infinite;
}

.card-busyness-badge.busyness-low {
  background: rgba(5, 150, 105, 0.15);
  color: #ecfdf5;
  border-color: rgba(5, 150, 105, 0.3);
}

.card-busyness-badge.busyness-low .card-busyness-dot {
  background: #6ee7b7;
}

.card-busyness-badge.busyness-medium {
  background: rgba(217, 119, 6, 0.2);
  color: #fff7ed;
  border-color: rgba(217, 119, 6, 0.35);
}

.card-busyness-badge.busyness-medium .card-busyness-dot {
  background: #fbbf24;
}

.card-busyness-badge.busyness-high {
  background: rgba(220, 38, 38, 0.2);
  color: #fef2f2;
  border-color: rgba(220, 38, 38, 0.35);
}

.card-busyness-badge.busyness-high .card-busyness-dot {
  background: #ef4444;
}

/* ====== BUSYNESS BADGES (Map Units) ====== */
.mmap-unit-busy.busyness-low {
  background: rgba(5, 150, 105, 0.08);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.15);
}

.mmap-unit-busy.busyness-low::before {
  background: #22c55e;
}

.mmap-unit-busy.busyness-medium {
  background: rgba(217, 119, 6, 0.08);
  color: #b45309;
  border-color: rgba(217, 119, 6, 0.15);
}

.mmap-unit-busy.busyness-medium::before {
  background: #f59e0b;
  animation: pulse-dot 2s infinite;
}

.mmap-unit-busy.busyness-high {
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.15);
}

.mmap-unit-busy.busyness-high::before {
  background: #ef4444;
  animation: pulse-dot 2s infinite;
}

/* ====== STAR RATING (Store Cards) ====== */
.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-left: 0.375rem;
  padding-left: 0.375rem;
  border-left: 1px solid var(--border-light);
}

.card-rating-star {
  color: #f59e0b;
  font-size: 0.8125rem;
}

.card-rating-count {
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ====== REVIEW SNIPPET (Store Cards) ====== */
.card-review-snippet {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border-light);
}

.card-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.card-review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-review-stars-icons {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
  font-size: 0.6875rem;
  letter-spacing: -1px;
}

.card-review-count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-review-carousel {
  position: relative;
  overflow: hidden;
  min-height: 3.25rem;
}

.card-review-slide {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.card-review-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.card-review-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-700), #24734a);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.card-review-content {
  flex: 1;
  min-width: 0;
}

.card-review-author {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.card-review-author-stars {
  color: #f59e0b;
  font-size: 0.5625rem;
  margin-left: 0.25rem;
  letter-spacing: -0.5px;
}

.card-review-text {
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.125rem;
}

.card-review-dots {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 0.375rem;
  height: 2px;
  background: var(--border-light);
  border-radius: 1px;
  overflow: hidden;
}

.card-review-dot {
  display: none;
}

.card-review-dot.active {
  display: none;
}

.card-review-progress {
  height: 100%;
  background: var(--green-700);
  border-radius: 1px;
  transition: width 0.4s ease;
}

/* ====== GOOGLE MAPS BUTTON (Anfahrt) ====== */
.google-maps-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, rgba(26, 92, 59, 0.06), rgba(197, 160, 85, 0.06));
  border: 1.5px solid rgba(26, 92, 59, 0.12);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s ease;
  cursor: pointer;
}

.google-maps-btn:hover {
  background: linear-gradient(135deg, rgba(26, 92, 59, 0.1), rgba(197, 160, 85, 0.1));
  border-color: rgba(26, 92, 59, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.google-maps-btn-icon {
  font-size: 1.5rem;
  color: var(--green-700, #1A5C3B);
  flex-shrink: 0;
}

.google-maps-btn-text {
  flex: 1;
  min-width: 0;
}

.google-maps-btn-label {
  font-weight: 700;
  font-size: 0.875rem;
  display: block;
  color: var(--text-primary);
}

.google-maps-btn-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.125rem;
}

.google-maps-btn-arrow {
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.google-maps-btn:hover .google-maps-btn-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* ====== ENTRANCE DIRECTION CARDS (Contact Section) ====== */
.contact-directions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-directions-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.contact-directions-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.contact-entrance-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.entrance-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(26, 92, 59, 0.04), rgba(197, 160, 85, 0.04));
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.entrance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 92, 59, 0.06), rgba(197, 160, 85, 0.06));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.entrance-card:hover::before {
  opacity: 1;
}

.entrance-card:hover {
  border-color: rgba(26, 92, 59, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.entrance-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--green-700), #24734a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.entrance-card-icon .material-icons-round {
  font-size: 1.25rem;
  color: #fff;
}

.entrance-card-body {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.entrance-card-label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.entrance-card-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

.entrance-card-action {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-full);
  background: var(--green-700);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.entrance-card-action .material-icons-round {
  font-size: 0.875rem;
}

.entrance-card:hover .entrance-card-action {
  background: #24734a;
  transform: scale(1.05);
}

.entrance-maps-hint {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 640px) {
  .entrance-card {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .entrance-card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .entrance-card-action span:last-child {
    display: none;
  }
}

/* ====== SHOPPING LIST OVERLAYS ====== */

/* --- Global Tooltip --- */
.sp-global-tooltip {
  position: absolute;
  z-index: 99999;
  width: max-content;
  max-width: 250px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light, rgba(0,0,0,0.1));
  border-radius: var(--radius-md, 8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.625rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary, #374151);
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1.4;
  text-align: center;
}

.sp-global-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}
