/* ========================================
   TUKTUK OKINAWA - Styles
   Tropical Okinawa Bright Aesthetic
   ======================================== */

/* CSS Variables */
:root {
  /* Colors - Okinawa Tropical Palette */
  --primary: #FF6B35;
  --primary-light: #FF8F5C;
  --primary-dark: #E85A2A;
  --secondary: #00B8A9;
  --secondary-light: #00D4C4;
  --accent: #FFD93D;
  --accent-light: #FFE566;
  
  /* Ocean Blue */
  --ocean: #0099CC;
  --ocean-light: #00BFFF;
  --ocean-dark: #007AA3;
  
  /* Light Theme */
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFB;
  --bg-cream: #FFF9F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F7F9;
  --bg-elevated: #FFFFFF;
  
  /* Text */
  --text-primary: #1A2B3C;
  --text-secondary: #5A6B7C;
  --text-muted: #8A9BAC;
  --text-white: #FFFFFF;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(0, 153, 204, 0.9) 0%, rgba(0, 184, 169, 0.85) 100%);
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F5C 100%);
  --gradient-ocean: linear-gradient(135deg, #00BFFF 0%, #00B8A9 100%);
  --gradient-sunset: linear-gradient(135deg, #FF6B35 0%, #FFD93D 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 43, 60, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 43, 60, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 43, 60, 0.16);
  --shadow-glow: 0 4px 30px rgba(255, 107, 53, 0.25);
  
  /* Typography */
  --font-display: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  letter-spacing: 0.02em;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* ジャンルページ用（最初から白背景） */
.header.header-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.header.header-light .nav-link {
  color: var(--text-secondary);
}

.header.header-light .mobile-menu-btn span {
  background: var(--text-primary);
}

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

.header.scrolled .nav-link {
  color: var(--text-secondary);
}

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

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
}

.logo-icon-svg {
  width: 28px;
  height: 28px;
  stroke: white;
  stroke-width: 2;
  flex-shrink: 0;
}

.header.scrolled .logo-icon-svg {
  stroke: var(--text-primary);
}

.footer .logo-icon-svg {
  stroke: var(--text-secondary);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: white;
}

.logo-sub {
  color: var(--accent);
  margin-left: 2px;
}

.header.scrolled .logo-sub {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition-fast);
  position: relative;
}

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

.header.scrolled .nav-link::after {
  background: var(--primary);
}

.nav-link:hover {
  color: white;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* モバイルメニュー用の要素はPC表示時は非表示 */
.nav-lang-switch,
.nav-line-btn {
  display: none;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
}

.header.scrolled .lang-switch {
  background: var(--bg-light);
}

.lang-btn {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  transition: all var(--transition-fast);
}

.header.scrolled .lang-btn {
  color: var(--text-secondary);
}

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

.lang-btn:hover:not(.active) {
  color: white;
}

.header.scrolled .lang-btn:hover:not(.active) {
  color: var(--text-primary);
}

.line-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #06C755;
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 0;
  transition: all var(--transition-fast);
}

.line-btn:hover {
  background: #05B34C;
  transform: translateY(-1px);
}

.line-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.line-icon-large {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

/* PC: LINE登録を表示、登録を非表示 */
.line-text-short {
  display: none;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* ========================================
   Mobile Menu Overlay (ジャンルページ専用)
   ======================================== */
.mobile-menu-overlay {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #1a1a1a;
    cursor: pointer;
  }
  
  .mobile-menu-link {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
  }
  
  .mobile-menu-lang {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }
  
  .mobile-menu-lang .lang-btn {
    padding: 8px 16px;
    border: 1px solid #888;
    border-radius: 20px;
    background: transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
  }
  
  .mobile-menu-lang .lang-btn.active {
    background: #FF6B35;
    border-color: #FF6B35;
    color: white;
  }
  
  .mobile-menu-line-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #06C755;
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-top: 16px;
  }
  
  .mobile-menu-line-btn .line-icon {
    width: 24px;
    height: 24px;
  }
}

/* ========================================
   Hero Section (リデザイン版)
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  overflow: hidden;
}

.hero-slide.active {
  opacity: 1;
}

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

/* 画像用ケンバーンズ効果 */
.hero-slide img.hero-media {
  min-width: 115%;
  min-height: 115%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 8s ease-out;
}

.hero-slide.active.kenburns-in img.hero-media {
  transform: translate(-48%, -48%) scale(1.1);
}

.hero-slide.active.kenburns-out img.hero-media {
  transform: translate(-52%, -52%) scale(1);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-location {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-features {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
}

.hero-feature {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.08em;
  padding: 0 24px;
}

.hero-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: transparent;
  border: 2px solid white;
  color: white;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-cta-btn:hover {
  background: white;
  color: var(--text-primary);
}

.hero-cta-btn:active,
.hero-cta-btn:focus {
  background: transparent;
  color: white;
}

.hero-cta-btn svg {
  transition: transform 0.3s ease;
}

.hero-cta-btn:hover svg {
  transform: translate(4px, -4px);
}

.hero-cta-btn:active svg,
.hero-cta-btn:focus svg {
  transform: none;
}

/* スクロールインジケーター */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero-scroll span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }
  
  /* スマホでは動画を引きで表示 */
  .hero-media {
    min-width: 180%;
    min-height: 180%;
    transform: translate(-50%, -50%) scale(0.6);
  }
  
  .hero-location {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
  }
  
  .hero-title {
    margin-bottom: 24px;
  }
  
  .hero-features {
    padding: 10px 16px;
    margin-bottom: 32px;
    gap: 0;
  }
  
  .hero-feature {
    padding: 0 12px;
    font-size: 11px;
  }
  
  .hero-divider {
    height: 12px;
  }
  
  .hero-cta-btn {
    padding: 16px 32px;
    font-size: 14px;
  }
  
  .hero-scroll {
    bottom: 24px;
  }
  
  .hero-scroll-line {
    height: 30px;
  }
}

/* 旧スライドショー（未使用だが残す） */
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* 旧タグライン（未使用だが残す） */
.hero-tagline {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 32px;
}

.tagline-main {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.tagline-main span {
  color: var(--accent);
}

.tagline-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

/* 検索ボックス（メイン） */
.hero-search {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}

.search-card {
  background: var(--bg-white);
  border-radius: 0;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.15);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-main {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

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

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 16px 50px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 16px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.search-clear.visible {
  display: flex;
}

.search-clear:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.1);
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--gradient-primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  border-radius: 0;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.search-btn:hover {
  transform: translateY(-2px);
}

/* フィルター */
.genre-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* ジャンルカード（画像背景） */
.genre-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.genre-card {
  position: relative;
  width: 400px;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-color: var(--text-secondary);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.genre-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  transition: all var(--transition-fast);
}

.genre-card:hover::before {
  background: rgba(0, 0, 0, 0.35);
}

.genre-card.active::before {
  background: rgba(59, 130, 246, 0.6);
}

.genre-card.active {
  box-shadow: 0 0 0 3px var(--ocean);
}

.genre-card-name {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.genre-card-count {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.search-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: var(--bg-light);
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.chip:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.1);
}

.chip.active {
  background: var(--ocean);
  border-color: var(--ocean);
  color: white;
}

.chip-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.chip-icon {
  font-size: 14px;
}

.chip-svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.area-filters {
  display: flex;
  gap: 6px;
}

.tuktuk-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-cream);
  border: 2px solid var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-left: auto;
}

.tuktuk-toggle:hover {
  background: var(--accent-light);
}

.tuktuk-toggle.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.tuktuk-toggle input {
  display: none;
}

/* ========================================
   Section Commons
   ======================================== */
.section-header {
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ========================================
   Results Section (旧Search Section)
   ======================================== */
.results-section {
  padding: 60px 0 var(--section-padding);
  background: var(--bg-white);
}

/* Results Header */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.results-count {
  font-size: 15px;
  color: var(--text-secondary);
}

.results-count span {
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.sort-dropdown select {
  padding: 10px 36px 10px 14px;
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0;
  font-size: 14px;
  color: var(--text-primary);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(90,107,124,1)' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all var(--transition-fast);
}

.sort-dropdown select:hover {
  border-color: var(--primary);
}

.sort-dropdown select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Shop Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Shop Card */
.shop-card {
  background: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 0, 0, 0.12);
}

.shop-card.premium {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 217, 61, 0.2);
}

.shop-card.premium:hover {
  box-shadow: 0 8px 40px rgba(255, 217, 61, 0.3);
}

.shop-image {
  position: relative;
  height: 180px;
  background: var(--bg-light);
  overflow: hidden;
}

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

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

.shop-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
}

.shop-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-pr {
  background: var(--accent);
  color: #5a4a00;
}

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

.badge-recommend {
  background: var(--secondary);
  color: white;
}

.shop-content {
  padding: 20px;
}

.shop-genre {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.shop-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.shop-area {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
}

.shop-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.shop-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.shop-reviews {
  font-size: 13px;
  color: var(--text-muted);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 80px 24px;
}

.no-results-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.4;
}

.no-results-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.reset-btn {
  padding: 12px 24px;
  background: var(--bg-white);
  border: 2px solid var(--primary);
  border-radius: 0;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-fast);
}

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

/* ========================================
   About Section
   ======================================== */
.about-section {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

.about-text strong {
  color: var(--primary);
  font-weight: 700;
}

.about-features {
  list-style: none;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.about-features li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: var(--secondary);
  font-weight: 700;
  font-size: 18px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.about-image-placeholder span {
  font-size: 56px;
  margin-bottom: 8px;
}

.about-image-placeholder p {
  margin: 0;
  opacity: 0.8;
}

/* 画像が読み込まれたらプレースホルダーを隠す */
.about-image img + .about-image-placeholder {
  display: none;
}

.about-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

/* シンプルな統計スタイル */
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 4px;
}

.about-stat .stat-value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.about-stat .stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* 区切り線（中央のアイテム以外） */
.about-stat:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {
  .about-stat .stat-value {
    font-size: 16px;
  }
  
  .about-stat .stat-label {
    font-size: 11px;
  }
}

.about-card-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-white);
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-card-sm .card-emoji {
  font-size: 24px;
  margin-bottom: 8px;
}

.about-card-sm .card-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about-card-sm .card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-card-sm.highlight {
  background: var(--gradient-primary);
  border-color: transparent;
}

.about-card-sm.highlight .card-label {
  color: rgba(255, 255, 255, 0.8);
}

.about-card-sm.highlight .card-value {
  color: white;
  font-size: 18px;
}

/* 旧スタイル（後方互換用） */
.about-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-white);
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-card.highlight {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
}

.card-emoji {
  font-size: 40px;
}

.card-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.about-card.highlight .card-label {
  color: rgba(255, 255, 255, 0.8);
}

.card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-card.highlight .card-value {
  color: white;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .about-cards-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  
  .about-stat .stat-value {
    font-size: 14px;
  }
  
  .about-stat .stat-label {
    font-size: 10px;
  }
  
  .about-card-sm {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
  }
  
  .about-card-sm .card-emoji {
    margin-bottom: 0;
  }
  
  .about-card-sm .card-value {
    font-size: 16px;
  }
  
  .about-card-sm.highlight .card-value {
    font-size: 18px;
  }
}

/* 案C: オーバーレイスタイル */
.about-image-overlay {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-overlay .about-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.about-image-overlay .about-image-placeholder span {
  font-size: 64px;
  margin-bottom: 8px;
}

.about-image-overlay .about-image-placeholder p {
  margin: 0;
  opacity: 0.8;
}

.about-cards-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
}

.about-card-overlay {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 0;
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-card-overlay .card-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.about-card-overlay .card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.about-card-overlay.highlight {
  background: var(--primary);
  border: 2px solid white;
}

.about-card-overlay.highlight .card-label {
  color: rgba(255, 255, 255, 0.85);
}

.about-card-overlay.highlight .card-value {
  color: white;
  font-size: 18px;
}

@media (max-width: 640px) {
  .about-cards-overlay {
    flex-direction: column;
    gap: 8px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  
  .about-card-overlay {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    text-align: left;
  }
  
  .about-card-overlay .card-label {
    margin-bottom: 0;
  }
}

/* ========================================
   How To Section
   ======================================== */
.howto-section {
  padding: var(--section-padding) 0;
  background: var(--bg-white);
}

.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-light);
  border-radius: 0;
  position: relative;
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: white;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15) 0%, rgba(234, 179, 8, 0.2) 100%);
  border-radius: 20px;
  color: #b45309;
}

.step-icon-wrap svg {
  width: 40px;
  height: 40px;
}

/* 旧スタイル（後方互換） */
.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--text-secondary);
}

.step-icon svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: var(--primary);
  margin-top: 60px;
}

.howto-cta {
  text-align: center;
}

.line-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: #06C755;
  color: white;
  font-size: 16px;
  font-weight: 700;
  border-radius: 0;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(6, 199, 85, 0.25);
}

.line-cta-btn:hover {
  background: #05B34C;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 199, 85, 0.35);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 32px 0;
  background: #1A2B3C;
  color: white;
}

.footer .logo-text {
  color: white;
}

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

.footer-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
  color: var(--primary-light);
  transition: color var(--transition-fast);
}

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

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Modal
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 60, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-primary);
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
  background: var(--primary);
  color: white;
}

.modal-content {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-image {
  height: 280px;
  background: var(--bg-light);
  position: relative;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
}

.modal-body {
  padding: 32px;
}

.modal-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-genre {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.modal-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.modal-info {
  margin-bottom: 24px;
}

.modal-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.modal-info-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.modal-info-label {
  font-size: 14px;
  color: var(--text-muted);
}

.modal-info-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-tag {
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.modal-btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.modal-btn-secondary {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

.modal-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-white);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .search-card {
    padding: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }
  
  /* ジャンルページではnavを完全に非表示 */
  .page-genre .nav {
    display: none !important;
  }
  
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #ffffff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav .nav-link {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .nav-lang-switch {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }
  
  .nav-lang-switch .lang-btn {
    padding: 8px 16px;
    border: 1px solid var(--text-muted);
    border-radius: 20px;
    background: transparent;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .nav-lang-switch .lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
  }
  
  .nav-line-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #06C755;
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    margin-top: 16px;
  }
  
  .header-actions .lang-switch {
    display: none;
  }
  
  .header-actions .line-btn {
    padding: 6px 10px;
    font-size: 11px;
    gap: 4px;
    background: #06C755;
  }
  
  .header-actions .line-btn:hover {
    background: #05B34C;
  }
  
  .header-actions .line-btn .line-icon {
    width: 20px;
    height: 20px;
  }
  
  /* スマホ: LINE登録を非表示、登録のみ表示 */
  .header-actions .line-btn .line-text-full {
    display: none;
  }
  
  .header-actions .line-btn .line-text-short {
    display: inline;
    color: white;
  }
  
  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 10000;
  }
  
  .mobile-menu-btn span {
    background: white;
  }
  
  .header.scrolled .mobile-menu-btn span {
    background: var(--text-primary);
  }
  
  .mobile-menu-btn.active span {
    background: var(--text-primary);
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .hero {
    padding: 90px 16px 40px;
    min-height: auto;
  }
  
  .tagline-main {
    font-size: 20px;
  }
  
  .search-main {
    flex-direction: column;
  }
  
  .search-btn {
    width: 100%;
    justify-content: center;
  }
  
  .filter-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  
  .chip {
    flex-shrink: 0;
  }
  
  .area-filters {
    flex-shrink: 0;
  }
  
  .tuktuk-toggle {
    margin-left: 0;
    flex-shrink: 0;
  }
  
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    max-width: 100%;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin: 8px 0;
  }
  
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 8px;
  }
  
  .modal-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 64px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .line-btn span {
    display: none;
  }
  
  .line-btn {
    padding: 10px;
  }
  
  .hero {
    padding: 80px 12px 32px;
  }
  
  .hero-tagline {
    margin-bottom: 24px;
  }
  
  .tagline-main {
    font-size: 18px;
  }
  
  .tagline-sub {
    font-size: 13px;
  }
  
  .search-card {
    padding: 16px;
    border-radius: 0;
  }
  
  .search-input {
    padding: 14px 44px;
    font-size: 15px;
  }
  
  .chip {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  .chip-sm {
    padding: 5px 8px;
    font-size: 11px;
  }
  
  .results-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* ========================================
   Page Header (ジャンル別ページ用)
   ======================================== */
.page-header {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 16px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .page-header {
    height: 220px;
    padding-top: 64px;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .page-subtitle {
    font-size: 14px;
  }
}

/* ========================================
   Genre Section (トップページ用)
   ======================================== */
.genre-section {
  padding: 48px 0;
  background: var(--bg-white);
}

.section-title-sm {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.genre-section .genre-cards {
  justify-content: center;
}

@media (max-width: 640px) {
  .genre-section {
    padding: 32px 0;
  }
  
  .section-title-sm {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .genre-section .genre-cards {
    gap: 8px;
    padding: 0 8px;
  }
  
  .genre-card {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 130px;
  }
  
  .genre-card-name {
    font-size: 18px;
  }
  
  .genre-card-count {
    font-size: 13px;
  }
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
  padding: 16px 0;
  background: white;
  border-bottom: 1px solid var(--border-color);
}

.map-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 12px;
}

.map-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.map-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.map-toggle.active .map-toggle-icon {
  transform: rotate(180deg);
}

.map-toggle-icon {
  transition: transform var(--transition-fast);
}

.map-container {
  display: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container.active {
  display: block;
}

#shopMap {
  width: 100%;
  height: 350px;
}

/* Leaflet popup styling */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 12px 16px;
  font-family: 'Zen Maru Gothic', sans-serif;
}

.map-popup {
  min-width: 180px;
}

.map-popup-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.map-popup-area {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.map-popup-rating {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 10px;
}

.map-popup-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  background: var(--primary) !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.map-popup-btn:hover {
  background: #e55a2b !important;
  color: white !important;
}

@media (max-width: 768px) {
  #shopMap {
    height: 280px;
  }
  
  .map-title {
    font-size: 16px;
  }
  
  .map-toggle {
    padding: 6px 12px;
    font-size: 13px;
  }
}
