/* ==========================================================================
   OTABI ROUTE (お旅ルート) - Core Design System & Stylesheet
   ========================================================================== */

:root {
  /* Japanese Inspired Color Palette */
  --crimson: #d90429;
  --crimson-hover: #ef233c;
  --crimson-glow: rgba(217, 4, 41, 0.25);
  --indigo-deep: #0b132b;
  --indigo-card: #1c2541;
  --indigo-border: rgba(255, 255, 255, 0.08);
  --sakura-pink: #ff758f;
  --sakura-light: #fff0f3;
  --gold-accent: #ffb703;
  --gold-glow: rgba(255, 183, 3, 0.25);
  --matcha-green: #2a9d8f;
  --bamboo-teal: #06d6a0;

  /* Neutral Theme Tokens (Light Mode Default) */
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --border-color: #e2e8f0;
  --border-subtle: #edf2f7;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.18);
  --shadow-crimson: 0 8px 25px rgba(217, 4, 41, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1280px;
  --font-main: 'Josefin Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

[data-theme="dark"] {
  --bg-primary: #090d16;
  --bg-surface: #111827;
  --bg-elevated: #1a2234;
  --bg-subtle: #1e293b;
  --bg-glass: rgba(17, 24, 39, 0.88);
  --border-color: #273549;
  --border-subtle: #1e293b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.55);
}

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

html {
  font-family: var(--font-main);
  scroll-behavior: smooth;
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

button,
input,
select,
textarea {
  font-family: var(--font-main);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
.font-jp {
  font-family: 'Noto Sans JP', sans-serif;
}

.heading-xl {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.heading-lg {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.heading-md {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.3;
}

.heading-sm {
  font-size: 1.125rem;
  font-weight: 600;
}

.text-gradient-crimson {
  background: linear-gradient(135deg, var(--crimson) 0%, #ff4d6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson) 0%, #ef233c 100%);
  color: #ffffff;
  box-shadow: var(--shadow-crimson);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(217, 4, 41, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--crimson);
  color: var(--crimson);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--indigo-deep);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-sellout {
  background: #ffe3e3;
  color: #c92a2a;
  border: 1px solid #ffc9c9;
}

.badge-bestseller {
  background: #fff3bf;
  color: #d9480f;
  border: 1px solid #ffe066;
}

.badge-exclusive {
  background: #e7f5ff;
  color: #1971c2;
  border: 1px solid #a5d8ff;
}

.badge-toprated {
  background: #e6fcf5;
  color: #0ca678;
  border: 1px solid #96f2d7;
}

.badge-fuji {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0369a1;
  border: 1px solid #7dd3fc;
  font-weight: 700;
}

/* ==========================================================================
   Header & Floating Capsule Navbar (Ultra-Premium Redesign)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  padding: 0.65rem 1.25rem;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .site-header {
  background: #0b0f19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-outer-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Capsule Navbar */
.navbar-capsule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8ecf3;
  border-radius: 9999px;
  height: 58px;
  padding: 0 0.45rem 0 0.4rem;
  box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

[data-theme="dark"] .navbar-capsule {
  background: #182234;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.5);
}

/* Brand Logo Circle */
.capsule-brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  margin-left: 2px;
}

.capsule-brand-logo:hover {
  transform: scale(1.06);
}

.capsule-brand-logo .brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
}

.capsule-brand-logo .brand-logo-light {
  display: block;
}

.capsule-brand-logo .brand-logo-dark {
  display: none;
}

[data-theme="dark"] .capsule-brand-logo .brand-logo-light {
  display: none;
}

[data-theme="dark"] .capsule-brand-logo .brand-logo-dark {
  display: block;
}

/* Vertical Dividers */
.header-v-divider {
  width: 1px;
  height: 26px;
  background: #e2e8f0;
  margin: 0 0.55rem;
  flex-shrink: 0;
}

[data-theme="dark"] .header-v-divider {
  background: rgba(255, 255, 255, 0.12);
}

/* Capsule Navigation Links */
.capsule-nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.capsule-nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.capsule-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.capsule-nav-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="dark"] .capsule-nav-link {
  color: #e2e8f0;
}

[data-theme="dark"] .capsule-nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

/* Active Nav Item Pill (Reference: Vibrant Crimson Gradient) */
.capsule-nav-link.active-pill {
  background: linear-gradient(135deg, #e11d48 0%, #ef4444 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.38rem 0.95rem 0.38rem 0.45rem;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.36);
  border-color: transparent;
}

.capsule-nav-link.active-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.46);
}

/* Nav Item Icon Badges */
.nav-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Active Pill White Circular Badge */
.capsule-nav-link.active-pill .nav-icon-badge {
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.capsule-nav-link.active-pill .nav-icon-badge i {
  color: #e11d48 !important;
  font-size: 0.78rem;
}

.capsule-nav-link.active-pill .nav-label {
  color: #ffffff;
}

.capsule-nav-link.active-pill .nav-dd-icon {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Inactive Nav Category Colors */
.nav-badge-experiences {
  color: #e11d48;
  font-size: 0.92rem;
}

.nav-badge-cars {
  color: #f59e0b;
  font-size: 0.92rem;
}

.nav-badge-guides {
  color: #10b981;
  font-size: 0.92rem;
}

.nav-badge-itineraries {
  color: #f97316;
  font-size: 0.92rem;
}

.capsule-nav-link:hover .nav-icon-badge {
  transform: scale(1.12);
}

/* Nav Dropdown Arrow */
.nav-dd-icon {
  font-size: 0.58rem;
  color: #94a3b8;
  margin-left: 0.15rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.capsule-nav-link:hover .nav-dd-icon {
  color: #64748b;
  transform: translateY(1px);
}

[data-theme="dark"] .nav-dd-icon {
  color: #64748b;
}

[data-theme="dark"] .capsule-nav-link:hover .nav-dd-icon {
  color: #cbd5e1;
}

/* Submenu Dropdown Card */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid #e8edf3;
  border-radius: 18px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  min-width: 240px;
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 100;
}

.capsule-nav-item:hover .nav-dropdown-menu,
.capsule-nav-item:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dd-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: all 0.18s ease;
}

.nav-dd-link:hover {
  background: #f8fafc;
  color: #e11d48;
  transform: translateX(3px);
}

.nav-dd-link i {
  font-size: 0.85rem;
  width: 18px;
  color: #94a3b8;
  transition: color 0.18s ease;
}

.nav-dd-link:hover i {
  color: #e11d48;
}

[data-theme="dark"] .nav-dropdown-menu {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .nav-dd-link {
  color: #cbd5e1;
}

[data-theme="dark"] .nav-dd-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fb7185;
}

/* Capsule Actions Container */
.capsule-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* Shared Pill Button Styles (Language, Currency, Profile) */
.capsule-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.75rem 0 0.38rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.capsule-pill-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .capsule-pill-btn {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-theme="dark"] .capsule-pill-btn:hover {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Soft Red/Pink Symbol Badges */
.lang-symbol-badge,
.currency-symbol-badge,
.auth-header-signin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fee2e2;
  color: #e11d48;
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.capsule-pill-btn:hover .lang-symbol-badge,
.capsule-pill-btn:hover .currency-symbol-badge,
.capsule-pill-btn:hover .auth-header-signin-icon {
  background: #e11d48;
  color: #ffffff;
}

[data-theme="dark"] .lang-symbol-badge,
[data-theme="dark"] .currency-symbol-badge,
[data-theme="dark"] .auth-header-signin-icon {
  background: rgba(225, 29, 72, 0.2);
  color: #fb7185;
}

[data-theme="dark"] .capsule-pill-btn:hover .lang-symbol-badge,
[data-theme="dark"] .capsule-pill-btn:hover .currency-symbol-badge,
[data-theme="dark"] .capsule-pill-btn:hover .auth-header-signin-icon {
  background: #e11d48;
  color: #ffffff;
}

.ctrl-arrow {
  font-size: 0.58rem;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}

.capsule-pill-btn:hover .ctrl-arrow {
  color: #475569;
  transform: translateY(1px);
}

[data-theme="dark"] .ctrl-arrow {
  color: #64748b;
}

[data-theme="dark"] .capsule-pill-btn:hover .ctrl-arrow {
  color: #cbd5e1;
}

/* Shared Circular Icon Buttons (Theme, Wishlist, Cart) */
.capsule-circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  font-size: 0.92rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.capsule-circle-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #e11d48;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .capsule-circle-btn {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

[data-theme="dark"] .capsule-circle-btn:hover {
  background: #1e293b;
  color: #fb7185;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Badge Counters */
.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: linear-gradient(135deg, #e11d48 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

.badge-count[style*="display: none"] {
  display: none !important;
}

[data-theme="dark"] .badge-count {
  border-color: #0f172a;
}

/* Red Arrow CTA Button (Far Right End of Capsule) */
.header-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48 0%, #ef4444 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.38);
  flex-shrink: 0;
  font-size: 0.85rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-left: 2px;
}

.header-cta-arrow:hover {
  transform: scale(1.08) translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.55);
  color: #ffffff;
}

.header-cta-arrow:active {
  transform: scale(0.96);
}

/* Logged-in Avatar Button in Capsule */
.auth-header-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 38px;
  padding: 0 0.75rem 0 0.3rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-header-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.auth-header-uname {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-theme="dark"] .auth-header-uname {
  color: #f1f5f9;
}

/* Mobile Toggle Button */
.mobile-nav-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 2px;
}

[data-theme="dark"] .mobile-nav-toggle-btn {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: none;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #ffffff;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

[data-theme="dark"] .mobile-nav-content {
  background: #0f172a;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .mobile-nav-header {
  border-color: rgba(255, 255, 255, 0.08);
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-nav-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
}

[data-theme="dark"] .mobile-nav-close {
  background: #1e293b;
  color: #cbd5e1;
}

.mobile-nav-body {
  padding: 1.5rem;
  flex: 1;
}

.mobile-nav-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #f8fafc;
  color: #e11d48;
}

[data-theme="dark"] .mobile-nav-link {
  color: #f1f5f9;
}

[data-theme="dark"] .mobile-nav-link:hover,
[data-theme="dark"] .mobile-nav-link.active {
  background: #1e293b;
  color: #fb7185;
}

.mobile-link-icon {
  font-size: 1.1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-prefs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.mobile-pref-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #1e293b;
  cursor: pointer;
}

[data-theme="dark"] .mobile-pref-btn {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
}

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

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* ==========================================================================
   Responsive Breakpoints for Capsule Navbar
   ========================================================================== */
@media (max-width: 1380px) {
  .capsule-nav-link {
    padding: 0.42rem 0.68rem;
    font-size: 0.84rem;
    gap: 0.35rem;
  }
  
  .capsule-pill-btn {
    padding: 0 0.6rem 0 0.35rem;
    font-size: 0.78rem;
  }

  .header-v-divider {
    margin: 0 0.35rem;
  }
}

@media (max-width: 1220px) {
  .capsule-nav-links {
    gap: 0.2rem;
  }

  .capsule-nav-link {
    padding: 0.38rem 0.55rem;
    font-size: 0.82rem;
  }

  .capsule-actions {
    gap: 0.35rem;
  }

  .capsule-circle-btn {
    width: 36px;
    height: 36px;
  }

  .header-cta-arrow {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 1080px) {
  .capsule-nav-links {
    display: none;
  }

  .header-v-divider:nth-of-type(1) {
    display: none;
  }

  .mobile-nav-toggle-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.45rem 0.75rem;
  }

  .navbar-capsule {
    height: 52px;
    padding: 0 0.35rem;
  }

  .capsule-brand-logo {
    width: 40px;
    height: 40px;
  }

  .lang-toggle-btn,
  .currency-toggle-btn {
    display: none;
  }

  .header-v-divider {
    display: none;
  }

  .profile-label {
    display: none;
  }

  .capsule-pill-btn {
    padding: 0 0.4rem;
  }

  .ctrl-arrow {
    display: none;
  }
}


/* ==========================================================================
   HERO SECTION V2 (Target Reference Redesign)
   ========================================================================== */
.hero-section-v2 {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  padding: 1.8rem 0 2.2rem;
  overflow: visible;
  z-index: 50;
  min-height: auto;
}

/* Background Decorations Container (Contained waves and sakura) */
.hero-bg-decorations {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Subtle Organic Wave Contours */
.hero-contour-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 640px;
  max-width: 55vw;
  height: 380px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.hero-contour-waves svg {
  width: 100%;
  height: 100%;
}

/* Cherry Blossom Sakura Branch Decorative Overlay */
.hero-sakura-overlay {
  position: absolute;
  top: -15px;
  right: -25px;
  width: 330px;
  max-width: 25vw;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: multiply;
  opacity: 0.95;
  user-select: none;
}

.hero-sakura-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Container */
.hero-v2-container {
  position: relative;
  z-index: 10;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow: visible;
}

/* Split 2-Column Grid */
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

/* Top Rose Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff0f3;
  border: 1px solid #ffd1d9;
  border-radius: 9999px;
  padding: 0.32rem 0.95rem 0.32rem 0.4rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-badge-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.12);
}
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.12);
}

.hero-badge-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3358, #e11d48);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.35);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e11d48;
  text-transform: uppercase;
}

/* Main Display Title */
.hero-v2-title {
  font-size: clamp(2.4rem, 4.3vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}

.hero-highlight-red {
  color: #e11d48;
  position: relative;
}

/* Subtitle Paragraph */
.hero-v2-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #64748b;
  max-width: 580px;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Feature Highlights Row (4 Badges) */
.hero-features-row {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-feature-item:hover {
  transform: translateY(-2px);
}

.hero-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature-item:hover .hero-feature-icon {
  transform: scale(1.06);
}

.hero-feature-icon.icon-red {
  background: linear-gradient(135deg, #ff2d55, #e11d48);
  box-shadow: 0 6px 16px rgba(225, 29, 72, 0.32);
}

.hero-feature-icon.icon-purple {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.32);
}

.hero-feature-icon.icon-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.32);
}

.hero-feature-icon.icon-amber {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.32);
}

.hero-feature-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-feature-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.hero-feature-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: #94a3b8;
}

/* Right Column Visual Composition */
.hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 530px;
  height: 390px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual-aura {
  position: absolute;
  width: 440px;
  height: 360px;
  right: 15px;
  top: 15px;
  background: radial-gradient(ellipse at center, rgba(255, 228, 230, 0.85) 0%, rgba(254, 205, 211, 0.4) 55%, rgba(255, 255, 255, 0) 72%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(16px);
}

.hero-dual-frame {
  position: relative;
  width: 470px;
  height: 350px;
  z-index: 2;
  margin-right: 35px;
}

/* Left Lobe: Mount Fuji & Lake */
.hero-frame-fuji {
  position: absolute;
  left: 0;
  top: 10px;
  width: 320px;
  height: 330px;
  border-radius: 170px 170px 150px 150px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 4px solid #ffffff;
  z-index: 2;
  background: #e2e8f0;
}

.hero-img-fuji {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% 38%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-frame-fuji:hover .hero-img-fuji {
  transform: scale(1.05);
}

/* Right Lobe: Pagoda & Sakura */
.hero-frame-pagoda {
  position: absolute;
  right: 0;
  top: 30px;
  width: 230px;
  height: 300px;
  border-radius: 150px 150px 150px 150px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.13), 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 5px solid #ffffff;
  z-index: 3;
  background: #e2e8f0;
}

.hero-img-pagoda {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 86% 38%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.hero-frame-pagoda:hover .hero-img-pagoda {
  transform: scale(1.05);
}

/* Japanese Vertical Calligraphy */
.hero-vertical-jp {
  position: absolute;
  top: 15px;
  right: 8px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}

.jp-char {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-shadow: 0 0 4px #ffffff, 0 0 8px #ffffff;
}

.jp-line {
  width: 1.5px;
  height: 28px;
  background: #94a3b8;
  margin-top: 6px;
}

/* Floating Pill Destination Card */
.hero-floating-card {
  position: absolute;
  right: 15px;
  bottom: 50px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #ffffff;
  padding: 0.45rem 0.55rem 0.45rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-floating-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
}

.floating-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.floating-card-body {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.floating-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}

.floating-card-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
}

.floating-card-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff0f3;
  color: #e11d48;
  border: 1px solid #ffd1d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hero-floating-card:hover .floating-card-arrow {
  background: #e11d48;
  color: #ffffff;
}

/* ==========================================================================
   FLOATING SEARCH CAPSULE (Target Reference Redesign)
   ========================================================================== */
/* ==========================================================================
   FLOATING SEARCH CAPSULE (Target Reference Redesign)
   ========================================================================== */
.hero-search-outer {
  max-width: 1140px;
  width: 100%;
  margin: 0.5rem auto 0;
  position: relative;
  z-index: 60;
  overflow: visible;
}

.hero-search-capsule {
  background: #ffffff;
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px #edf2f7;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 60;
  overflow: visible;
}

.hero-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  position: relative;
}

.search-capsule-accent {
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #fb7185;
  margin-right: -2px;
  flex-shrink: 0;
}

.hero-search-capsule .hero-field-btn.modern-search-field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  padding: 6px 10px;
  border-radius: 9999px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-height: auto !important;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
  user-select: none;
}

.hero-search-capsule #searchFieldLocation {
  flex: 0 1 230px;
  min-width: 180px;
}

.hero-search-capsule #searchFieldCategory {
  flex: 0 1 280px;
  min-width: 250px;
}

.hero-search-capsule #searchFieldDate {
  flex: 0 1 295px;
  min-width: 265px;
}

.hero-search-capsule .hero-field-btn.modern-search-field:hover {
  background: rgba(241, 245, 249, 0.7) !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-search-capsule .hero-field-btn.modern-search-field.is-active,
.hero-search-capsule .hero-field-btn.modern-search-field:focus-within {
  background: rgba(241, 245, 249, 0.95) !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 100 !important;
}

.hero-field-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  color: #ffffff;
  flex-shrink: 0;
}

.hero-field-icon.icon-loc {
  background: linear-gradient(135deg, #ff2d55, #e11d48);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.28);
}

.hero-field-icon.icon-cat {
  background: linear-gradient(135deg, #818cf8, #6366f1);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.28);
}

.hero-field-icon.icon-dt {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.28);
}

.hero-field-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.hero-field-label {
  font-size: 0.64rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1;
  white-space: nowrap;
}

.hero-field-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.hero-field-input {
  border: none;
  background: transparent;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 1.25;
}

.hero-field-chevron {
  color: #94a3b8;
  font-size: 0.72rem;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-field-btn.is-active .hero-field-chevron.chevron-icon {
  transform: rotate(180deg);
}

.hero-search-sep {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.hero-submit-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ff3358 0%, #e60026 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(230, 0, 38, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-submit-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(230, 0, 38, 0.55);
  color: #ffffff;
}

/* Scroll To Explore Indicator */
.scroll-explore-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding-left: 0.5rem;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
}

.mouse-outline {
  width: 15px;
  height: 23px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mouse-wheel-dot {
  width: 2.5px;
  height: 4.5px;
  border-radius: 2px;
  background: #94a3b8;
  animation: mouseScroll 1.8s infinite;
}

@keyframes mouseScroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(7px);
  }
}

/* ==========================================================================
   Responsive Breakpoints for Hero Section V2
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-v2-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .hero-visual-wrap {
    max-width: 480px;
    height: 360px;
  }
  .hero-dual-frame {
    width: 420px;
    height: 320px;
    margin-right: 25px;
  }
  .hero-frame-fuji {
    width: 280px;
    height: 300px;
  }
  .hero-frame-pagoda {
    width: 200px;
    height: 270px;
  }
}

@media (max-width: 1024px) {
  .hero-v2-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-badge-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-v2-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features-row {
    justify-content: center;
  }
  .hero-visual-wrap {
    margin: 0 auto;
    justify-content: center;
  }
  .hero-dual-frame {
    margin-right: 0;
  }
  .hero-vertical-jp {
    right: 20px;
  }
  .hero-sakura-overlay {
    opacity: 0.6;
    width: 240px;
  }
  .hero-search-capsule {
    border-radius: 28px;
    padding: 12px;
  }
  .hero-search-form {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .hero-search-sep {
    display: none;
  }
  .hero-field-btn {
    flex: 1 1 calc(50% - 0.5rem);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px 12px;
  }
  .hero-submit-cta {
    width: 100%;
    height: 48px;
  }
  .scroll-explore-bar {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero-section-v2 {
    padding: 1.8rem 0 2.5rem;
  }
  .hero-v2-container {
    padding: 0 1rem;
  }
  .hero-v2-title {
    font-size: 2.1rem;
  }
  .hero-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .hero-visual-wrap {
    max-width: 100%;
    height: 310px;
  }
  .hero-dual-frame {
    width: 320px;
    height: 270px;
  }
  .hero-frame-fuji {
    width: 210px;
    height: 250px;
    border-radius: 120px;
  }
  .hero-frame-pagoda {
    width: 160px;
    height: 220px;
    border-radius: 110px;
  }
  .hero-floating-card {
    right: 5px;
    bottom: 25px;
    padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  }
  .floating-card-sub {
    display: none;
  }
  .hero-field-btn {
    flex: 1 1 100%;
  }
  .search-capsule-accent {
    display: none;
  }
}

/* Dark Mode Harmonization */
[data-theme="dark"] .hero-section-v2 {
  background: #0b1120;
}
[data-theme="dark"] .hero-v2-title {
  color: #f8fafc;
}
[data-theme="dark"] .hero-v2-subtitle {
  color: #94a3b8;
}
[data-theme="dark"] .hero-feature-title {
  color: #f1f5f9;
}
[data-theme="dark"] .hero-badge-pill {
  background: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.3);
}
[data-theme="dark"] .hero-search-capsule {
  background: #111827;
  border-color: #1f2937;
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .hero-field-btn:hover {
  background: #1f2937;
}
[data-theme="dark"] .hero-field-btn.is-active {
  background: #273549;
}
[data-theme="dark"] .hero-field-val {
  color: #f8fafc;
}
[data-theme="dark"] .hero-field-input {
  color: #f8fafc;
}
[data-theme="dark"] .hero-search-sep {
  background: #1f2937;
}
[data-theme="dark"] .hero-floating-card {
  background: #111827;
  border-color: #1f2937;
}
[data-theme="dark"] .floating-card-title {
  color: #f8fafc;
}
[data-theme="dark"] .hero-frame-fuji,
[data-theme="dark"] .hero-frame-pagoda {
  border-color: #111827;
}
[data-theme="dark"] .jp-char {
  color: #e2e8f0;
}
[data-theme="dark"] .hero-sakura-overlay {
  mix-blend-mode: screen;
  opacity: 0.35;
}

/* Universal Search Widget */
.search-widget-card {
  background: var(--bg-surface);
  color: var(--text-main);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.search-tabs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.search-tabs::-webkit-scrollbar {
  display: none;
}

.search-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.search-tab-btn.active {
  background: var(--crimson);
  color: #ffffff;
  box-shadow: var(--shadow-crimson);
}

.search-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr auto;
  gap: 1rem;
  align-items: center;
}

.search-input-group {
  display: flex;
  flex-direction: column;
  background: var(--bg-subtle);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.search-input-group:focus-within {
  border-color: var(--crimson);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--crimson-glow);
}

.search-input-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.search-input-group input,
.search-input-group select {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  width: 100%;
}

/* Cards & Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

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

/* Activity Card (Viator & GetYourGuide Benchmark) */
.activity-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 4, 41, 0.3);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #cbd5e1;
}

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

.activity-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.card-wishlist-btn:hover,
.card-wishlist-btn.active {
  background: #ffffff;
  color: var(--crimson);
  transform: scale(1.1);
}

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

.card-meta-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-rating-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.rating-star {
  color: #ffb703;
}

.reviews-count {
  color: var(--text-muted);
  font-weight: 400;
}

.card-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.feature-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 600;
}

.card-footer-price {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.price-box .price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.price-box .price-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-box .price-strike {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-left: 0.35rem;
}

/* Shinkansen Route Card (Trainline Benchmark) */
.train-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: grid;
  grid-template-columns: 1fr auto 1.5fr auto;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.train-card:hover {
  border-color: var(--crimson);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.train-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  background: #0f172a;
  color: #fff;
  margin-bottom: 0.5rem;
}

.train-timeline {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.train-time-node {
  text-align: center;
}

.train-time-node .time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
}

.train-time-node .station {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.train-duration-bar {
  flex-grow: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.train-duration-bar .duration-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  display: block;
}

.train-track-line {
  height: 3px;
  background: var(--border-color);
  position: relative;
  border-radius: 2px;
}

.train-track-line::before,
.train-track-line::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
}

.train-track-line::before {
  left: 0;
}

.train-track-line::after {
  right: 0;
}

.seat-classes-pills {
  display: flex;
  gap: 0.5rem;
}

.seat-tier-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.seat-tier-pill:hover,
.seat-tier-pill.selected {
  border-color: var(--crimson);
  background: var(--bg-surface);
  box-shadow: 0 2px 8px var(--crimson-glow);
}

.seat-tier-pill .tier-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.seat-tier-pill .tier-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

/* Rick Steves Guide Card */
.guide-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.guide-badge-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Detail Page Layouts */
.detail-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.detail-gallery-grid .main-photo {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.detail-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.detail-gallery-grid img:hover {
  transform: scale(1.03);
}

.detail-main-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

/* Sticky Booking Widget */
.sticky-booking-card {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

/* Drawers & Modals */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-backdrop.open,
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.drawer-backdrop.open .drawer-panel {
  transform: translateX(0);
}

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

.drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  margin: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

/* Mobile Sticky Bottom Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  z-index: 90;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--crimson);
}

.mobile-nav-item i {
  font-size: 1.2rem;
}

/* Digital QR Ticket / Voucher (Trainline & JR Style) */
.jr-ticket-pass {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-xl);
  border: 2px dashed #94a3b8;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.jr-ticket-header {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.jr-ticket-body {
  padding: 2rem;
}

.jr-ticket-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.jr-qr-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.jr-qr-box img {
  width: 140px;
  height: 140px;
  margin: 0 auto 0.5rem;
}

/* Audio Player Floating Widget */
.audio-player-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-xl);
  z-index: 95;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-main-layout {
    grid-template-columns: 1fr;
  }

  .search-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .train-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  body {
    padding-bottom: 60px;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .search-form-grid {
    grid-template-columns: 1fr;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
  }

  .detail-gallery-grid .main-photo {
    grid-column: 1;
    grid-row: 1;
  }

  .detail-gallery-grid img:not(.main-photo-img) {
    display: none;
  }

  .jr-ticket-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================================================
   PAGINATION COMPONENT
   ========================================================================== */

.nv-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.nv-pagination__info {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nv-pagination__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nv-pagination__item {
  display: inline-flex;
}

.nv-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  line-height: 1;
}

.nv-pagination__link:hover {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  box-shadow: var(--shadow-crimson);
}

/* Active page */
.nv-pagination__link--active {
  background: var(--crimson);
  color: #fff !important;
  border-color: var(--crimson);
  box-shadow: var(--shadow-crimson);
  cursor: default;
}

/* Disabled prev/next */
.nv-pagination__item--disabled .nv-pagination__link {
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-color: var(--border-subtle);
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

/* Ellipsis dots */
.nv-pagination__item--dots .nv-pagination__link {
  background: transparent;
  border-color: transparent;
  cursor: default;
  pointer-events: none;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   GETYOURGUIDE (GYG) EXPERIENCE DETAIL PAGE DESIGN SYSTEM
   ========================================================================== */

/* Header Meta & Breadcrumbs */
.gyg-breadcrumbs {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gyg-breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.gyg-breadcrumbs a:hover {
  color: var(--crimson);
}

.gyg-breadcrumbs .sep {
  color: #94a3b8;
  font-size: 0.75rem;
}

.gyg-breadcrumbs .current {
  color: var(--text-main);
  font-weight: 600;
}

.gyg-header-title {
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.gyg-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.92rem;
  padding-bottom: 1.25rem;
}

.gyg-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.gyg-meta-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gyg-badge-original {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);
  color: #fff;
  letter-spacing: 0.02em;
}

.gyg-badge-sellout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(217, 4, 41, 0.12);
  color: var(--crimson);
  border: 1px solid rgba(217, 4, 41, 0.25);
}

.gyg-badge-eco {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(42, 157, 143, 0.12);
  color: var(--matcha-green);
  border: 1px solid rgba(42, 157, 143, 0.25);
}

.gyg-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.gyg-rating-pill:hover {
  color: var(--crimson);
}

.gyg-rating-star {
  color: #ffb703;
  font-size: 1rem;
}

.gyg-rating-count {
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gyg-provider-tag {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.gyg-provider-tag strong {
  color: var(--text-main);
  font-weight: 600;
}

.gyg-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gyg-action-btn:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.gyg-action-btn.active {
  background: #fff0f3;
  border-color: var(--crimson);
  color: var(--crimson);
}

/* Photo Mosaic Gallery (GYG 5-Photo Grid) */
.gyg-gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 0.75rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  margin-bottom: 2rem;
  background: var(--bg-subtle);
}

.gyg-gallery-mosaic .tile-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gyg-gallery-mosaic .tile-sub {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gyg-gallery-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.gyg-gallery-mosaic .tile-main:hover img,
.gyg-gallery-mosaic .tile-sub:hover img {
  transform: scale(1.04);
}

.gyg-gallery-see-all-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

.gyg-gallery-see-all-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .gyg-gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 140px;
  }

  .gyg-gallery-mosaic .tile-main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .gyg-gallery-mosaic .tile-sub:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 600px) {
  .gyg-gallery-mosaic {
    display: block;
    height: 280px;
    border-radius: var(--radius-lg);
  }

  .gyg-gallery-mosaic .tile-main {
    height: 100%;
  }

  .gyg-gallery-mosaic .tile-sub {
    display: none;
  }
}

/* Fullscreen Gallery Lightbox Modal */
.gyg-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 15, 25, 0.96);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.gyg-lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.gyg-lightbox-header {
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gyg-lightbox-title {
  font-size: 1.1rem;
  font-weight: 700;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gyg-lightbox-close {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gyg-lightbox-close:hover {
  background: var(--crimson);
}

.gyg-lightbox-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1rem 4rem;
}

.gyg-lightbox-img-wrapper {
  max-width: 1000px;
  max-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gyg-lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.gyg-lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gyg-lightbox-nav-btn:hover {
  background: var(--crimson);
  transform: translateY(-50%) scale(1.08);
}

.gyg-lightbox-nav-prev {
  left: 24px;
}

.gyg-lightbox-nav-next {
  right: 24px;
}

.gyg-lightbox-thumbs {
  padding: 1rem 2rem 1.5rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  overflow-x: auto;
}

.gyg-lightbox-thumb {
  width: 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.gyg-lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gyg-lightbox-thumb.active,
.gyg-lightbox-thumb:hover {
  opacity: 1;
  border-color: var(--crimson);
}

/* Key Features Grid (GYG 6-Icon Value Propositions) */
.gyg-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.gyg-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.gyg-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gyg-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.gyg-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

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

@media (max-width: 600px) {
  .gyg-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
}

/* Sticky Sub-navigation Scrollspy Tab Bar */
.gyg-sticky-subnav {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.gyg-subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gyg-subnav-tabs {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0.5rem 0;
}

.gyg-subnav-tabs::-webkit-scrollbar {
  display: none;
}

.gyg-subnav-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.gyg-subnav-tab:hover {
  color: var(--text-main);
  background: var(--bg-subtle);
}

.gyg-subnav-tab.active {
  color: var(--crimson);
  background: rgba(217, 4, 41, 0.08);
  font-weight: 700;
}

.gyg-subnav-quick-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
}

.gyg-subnav-price-box {
  text-align: right;
  line-height: 1.2;
}

.gyg-subnav-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.gyg-subnav-price-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

@media (max-width: 850px) {
  .gyg-subnav-quick-cta {
    display: none;
  }
}

/* Main Two-Column Layout */
.gyg-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 3rem;
  align-items: stretch;
  padding-top: 2rem;
}

@media (max-width: 1140px) {
  .gyg-detail-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .gyg-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.gyg-main-col {
  min-width: 0;
}

.gyg-sidebar-col {
  position: relative;
  height: 100%;
}

/* Card Sections */
.gyg-section-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.gyg-section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gyg-section-heading i {
  color: var(--crimson);
}

/* Highlights List */
.gyg-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.gyg-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.5;
}

.gyg-highlight-item i {
  color: var(--matcha-green);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Inclusions / Exclusions Dual Box */
.gyg-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.gyg-inc-col-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gyg-inc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.gyg-inc-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.gyg-inc-list.included li {
  color: var(--text-main);
}

.gyg-inc-list.included i {
  color: var(--matcha-green);
  margin-top: 0.2rem;
}

.gyg-inc-list.excluded li {
  color: var(--text-muted);
}

.gyg-inc-list.excluded i {
  color: #ef4444;
  margin-top: 0.2rem;
}

@media (max-width: 700px) {
  .gyg-inclusions-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

/* Interactive Visual Itinerary Timeline */
.gyg-timeline {
  position: relative;
  padding-left: 2rem;
  margin-left: 0.5rem;
  border-left: 2px dashed #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 1.5rem;
}

[data-theme="dark"] .gyg-timeline {
  border-left-color: #334155;
}

.gyg-timeline-step {
  position: relative;
}

.gyg-timeline-bullet {
  position: absolute;
  left: -2.55rem;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 3px solid var(--crimson);
  box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.15);
}

.gyg-timeline-bullet.start-end {
  background: var(--crimson);
  border-color: var(--bg-surface);
  box-shadow: 0 0 0 3px var(--crimson);
}

.gyg-timeline-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--crimson);
  background: rgba(217, 4, 41, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.35rem;
}

.gyg-timeline-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.gyg-timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.gyg-timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Options & Availability Selection Engine (GYG Core Conversion) */
.gyg-options-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.gyg-options-filter-bar {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr auto;
  gap: 1rem;
  align-items: end;
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
}

.gyg-option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
  background: var(--bg-surface);
  position: relative;
}

.gyg-option-card:hover {
  border-color: #94a3b8;
  box-shadow: var(--shadow-md);
}

.gyg-option-card.selected {
  border-color: var(--crimson);
  background: var(--bg-surface);
  box-shadow: 0 4px 20px var(--crimson-glow);
}

.gyg-option-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gyg-option-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.gyg-option-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
}

.gyg-option-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.gyg-option-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gyg-option-features i {
  color: var(--matcha-green);
  font-size: 0.85rem;
}

.gyg-option-slots {
  margin-bottom: 1.25rem;
}

.gyg-slots-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.gyg-slots-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gyg-slot-btn {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gyg-slot-btn:hover,
.gyg-slot-btn.selected {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

[data-theme="dark"] .gyg-slot-btn:hover,
[data-theme="dark"] .gyg-slot-btn.selected {
  background: var(--crimson);
  border-color: var(--crimson);
}

.gyg-option-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .gyg-options-filter-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gyg-options-filter-bar {
    grid-template-columns: 1fr;
  }
}

/* Desktop Sticky Booking Sidebar */
.gyg-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 86px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  z-index: 50;
  transition: box-shadow var(--transition-fast);
}

.gyg-sticky-sidebar::-webkit-scrollbar {
  width: 5px;
}

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

.gyg-sticky-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.4);
  border-radius: 9999px;
}

.gyg-sidebar-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.gyg-sidebar-price-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.gyg-sidebar-price-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
}

.gyg-sidebar-price-strike {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.35rem;
}

.gyg-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.gyg-trust-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gyg-trust-list i {
  color: var(--matcha-green);
  font-size: 0.95rem;
}

/* Mobile Floating Bottom Bar */
.gyg-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 992px) {
  .gyg-mobile-bottom-bar {
    display: flex;
  }
}

/* Reviews Breakdown & Filters (GYG Standard) */
.gyg-reviews-overview {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 2rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.gyg-score-hero {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding-right: 1.5rem;
}

.gyg-score-big {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.gyg-score-stars {
  color: #ffb703;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.gyg-score-total {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.gyg-category-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gyg-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.86rem;
}

.gyg-cat-label {
  width: 110px;
  font-weight: 600;
  color: var(--text-main);
}

.gyg-cat-bar {
  flex-grow: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

[data-theme="dark"] .gyg-cat-bar {
  background: #334155;
}

.gyg-cat-fill {
  height: 100%;
  background: var(--crimson);
  border-radius: 4px;
}

.gyg-cat-score {
  font-weight: 700;
  color: var(--text-main);
  width: 28px;
  text-align: right;
}

.gyg-review-filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gyg-filter-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gyg-filter-pill:hover,
.gyg-filter-pill.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

[data-theme="dark"] .gyg-filter-pill:hover,
[data-theme="dark"] .gyg-filter-pill.active {
  background: var(--crimson);
  border-color: var(--crimson);
}

@media (max-width: 850px) {
  .gyg-reviews-overview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gyg-score-hero {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.25rem;
  }
}

/* FAQ Accordion */
.gyg-faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.gyg-faq-item:last-child {
  border-bottom: none;
}

.gyg-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.gyg-faq-question i {
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.gyg-faq-item.open .gyg-faq-question i {
  transform: rotate(180deg);
  color: var(--crimson);
}

.gyg-faq-answer {
  display: none;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-top: 0.75rem;
}

.gyg-faq-item.open .gyg-faq-answer {
  display: block;
}

/* Activity Provider Card */
.gyg-provider-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}

.gyg-provider-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gyg-provider-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ==========================================================================
   International Standard Card (GetYourGuide Benchmark)
   ========================================================================== */
.gyg-car-card,
.car-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.gyg-car-card:hover,
.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border-color: #cbd5e1;
}

[data-theme="dark"] .gyg-car-card,
[data-theme="dark"] .car-card {
  background: var(--bg-surface);
  border-color: #273549;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .gyg-car-card:hover,
[data-theme="dark"] .car-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  border-color: #475569;
}

/* Image Thumbnail */
.gyg-card-thumb,
.car-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 185px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
}

.gyg-thumb-link,
.car-card-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.gyg-card-thumb img,
.car-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.gyg-car-card:hover .gyg-card-thumb img,
.car-card:hover .car-card-thumb img {
  transform: scale(1.05);
}

/* Top-Left Pill Badge */
.gyg-badge-top-left,
.car-badges-top-left {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  pointer-events: none;
}

.gyg-pill-badge,
.car-badge-type,
.car-badge-highlight {
  background: #111e38;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Top-Right Heart Button */
.gyg-wishlist-circle,
.car-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #111e38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.gyg-wishlist-circle:hover,
.gyg-wishlist-circle.active,
.car-wishlist-btn:hover,
.car-wishlist-btn.active {
  transform: scale(1.1);
  color: var(--crimson);
  background: #ffffff;
}

/* Card Body */
.gyg-card-body,
.car-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 1. Location */
.gyg-card-location,
.car-meta-bar {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.2;
}

/* 2. Title (Strict 2-Line Clamp with Locked Height) */
.gyg-card-title,
.car-title-heading {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  height: 2.75rem;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gyg-card-title a,
.car-title-heading a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gyg-card-title a:hover,
.car-title-heading a:hover {
  color: var(--crimson);
}

/* 3. Attributes Dot-Separated Line (Strict 1-Line with Locked Height) */
.gyg-card-attributes,
.car-tagline-text {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  height: 1.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .gyg-card-attributes,
[data-theme="dark"] .car-tagline-text {
  color: #94a3b8;
}

.gyg-attr-dot {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* 4. Footer: Rating on Left, Price on Right */
.gyg-card-footer,
.car-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}

/* Left: Rating */
.gyg-rating-group {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
}

.gyg-rating-star {
  color: #0f172a;
  font-size: 0.78rem;
}

[data-theme="dark"] .gyg-rating-star {
  color: #ffb703;
}

.gyg-rating-reviews {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Right: Price */
.gyg-price-group {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gyg-price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.gyg-from-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.gyg-price-strike {
  font-size: 0.82rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 2px;
}

.gyg-price-value {
  font-size: 1.22rem;
  font-weight: 900;
  color: #d90429;
  line-height: 1;
}

.gyg-price-subtext {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
  line-height: 1.1;
  font-weight: 500;
}

.car-service-tab-btn {
  transition: all var(--transition-fast);
}

.car-service-tab-btn:hover:not(.active) {
  background: var(--bg-primary);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--crimson);
  color: #ffffff;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

.badge-gold {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(255, 209, 102, 0.2) 100%);
  color: var(--gold-accent);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.car-service-tab-btn {
  transition: all var(--transition-fast);
}

.car-service-tab-btn:hover:not(.active) {
  background: var(--bg-primary);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  color: var(--text-main);
  border-color: var(--crimson);
  transform: translateY(-2px);
}

.filter-pill.active {
  background: var(--crimson);
  color: #ffffff;
  border-color: var(--crimson);
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.3);
}

.badge-gold {
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.2) 0%, rgba(255, 209, 102, 0.2) 100%);
  color: var(--gold-accent);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

/* ==========================================================================
   ADVANCED GETYOURGUIDE-STYLE FOOTER DESIGN SYSTEM
   ========================================================================== */

.gyg-footer-root {
  background: #172339;
  color: #ffffff;
  font-family: var(--font-main, 'Josefin Sans', sans-serif);
  border-top: 1px solid #24344d;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
  position: relative;
  z-index: 10;
}

[data-theme="dark"] .gyg-footer-root {
  background: #111a2b;
  border-top-color: #1c2b42;
}

.gyg-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .gyg-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}

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

@media (max-width: 480px) {
  .gyg-footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand & Dropdowns in Column 1 */
.footer-brand-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
  line-height: 1;
  text-decoration: none;
}

.footer-brand-logo:hover {
  opacity: 0.95;
  transform: scale(1.03);
}

.footer-logo-img {
  height: 120px;
  width: 120px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease, filter 0.25s ease;
}

@media (max-width: 768px) {
  .footer-logo-img {
    height: 100px;
    width: 100px;
  }
}

.footer-brand-tagline {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  max-width: 270px;
}

/* Dropdowns in Column 1 */
.gyg-select-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gyg-select-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: block;
}

.gyg-select-box-white {
  position: relative;
  width: 100%;
  max-width: 260px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gyg-select-box-white:hover {
  border-color: #9ca3af;
}

.gyg-select-control-white {
  width: 100%;
  background: transparent;
  border: none;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 2.2rem 0.75rem 1rem;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.gyg-select-control-white option {
  background: #ffffff;
  color: #111827;
}

.gyg-select-arrow-white {
  position: absolute;
  right: 1rem;
  color: #4b5563;
  font-size: 0.8rem;
  pointer-events: none;
}

/* Headers */
.gyg-col-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

/* Link Lists */
.gyg-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
}

.gyg-link-list li {
  margin: 0;
  padding: 0;
}

.gyg-link-list li a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.15s ease;
}

.gyg-link-list li a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Competitor Payment Matrix (2 columns x 5 rows) */
.gyg-pay-matrix-competitor {
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 6px;
}

.gyg-pay-card {
  background: #ffffff;
  border-radius: 4px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.gyg-pay-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.gyg-pay-visa-text {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 11px;
  color: #1A1F71;
  letter-spacing: 0.5px;
}

.gyg-pay-amex-text {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 8px;
  color: #006FCF;
  letter-spacing: -0.2px;
}

.gyg-pay-jcb-text {
  font-family: Arial, sans-serif;
  font-weight: 900;
  font-size: 9px;
  color: #0F866C;
  letter-spacing: 0.5px;
}

.gyg-pay-discover-text {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 7.5px;
  color: #F6821F;
}

.gyg-pay-klarna {
  background: #ffb3c7;
}

.gyg-pay-klarna-text {
  font-family: Arial, sans-serif;
  font-weight: 800;
  font-size: 8.5px;
  color: #000000;
}

.gyg-pay-gpay-text {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 8.5px;
  color: #3c4043;
}

.gyg-pay-apple-text {
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 8.5px;
  color: #000000;
}

/* Footer Bottom Bar */
.gyg-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.gyg-copy-text {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 400;
}

.gyg-social-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gyg-social-icon {
  color: #ffffff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gyg-social-icon:hover {
  opacity: 0.8;
  transform: translateY(-2px);
  color: #ffffff;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #111827;
  border-top: 1px solid #1f293d;
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-item i {
  font-size: 1.1rem;
}

.mobile-nav-item.active {
  color: #ffffff;
}

/* ==========================================================================
   Google Translate Clean UI Overrides
   ========================================================================== */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   Continue Planning Your Trip Component Styles (Screenshot 1)
   ========================================================================== */
.continue-trip-wrapper {
  border-bottom: 1px solid var(--border-color);
}

.continue-trip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .continue-trip-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }
}

.continue-trip-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  scroll-snap-align: start;
  min-width: 320px;
}

.continue-trip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
  border-color: var(--crimson);
}

.trip-card-image-wrap {
  position: relative;
  width: 125px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.trip-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-card-heart-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
  z-index: 2;
}

.trip-card-heart-btn:hover,
.trip-card-heart-btn.active {
  background: #fff0f3;
  color: var(--crimson);
}

.trip-card-badge-booked {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.trip-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.trip-card-title-link {
  display: block;

}

.trip-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.continue-trip-card:hover .trip-card-title {
  color: var(--crimson);
}

.trip-card-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 0.5rem;
}

.trip-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.trip-card-rating .star-icon {
  font-size: 0.75rem;
  color: var(--text-main);
}

.trip-card-rating .rating-count {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78rem;
}

.trip-card-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.trip-card-price .price-orig {
  font-size: 0.76rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.trip-card-price .price-current {
  color: var(--crimson);
  font-weight: 800;
}

/* ==========================================================================
   Global Bottom Floating Notification Component (Screenshot 2)
   ========================================================================== */
.floating-notif-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  font-family: var(--font-main);
}

.floating-notif-pill {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 9999px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
}

.floating-notif-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
}

.pill-thumb-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.pill-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pill-title-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #92400e;
  /* Distinct warm brown accent matching Screenshot 2 */
  letter-spacing: -0.01em;
}

.pill-timer-badge {
  background: #fef3c7;
  /* Soft amber light badge */
  color: #92400e;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-chevron-btn {
  color: #64748b;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 2px;
}

.floating-notif-drawer {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  width: 340px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  border-radius: 20px;
  padding: 1.25rem;
  z-index: 10000;
  animation: notifSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes notifSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.drawer-badge .text-green {
  color: #10b981;
}

.drawer-badge .text-amber {
  color: #d97706;
}

.drawer-close-btn {
  color: #94a3b8;
  font-size: 1rem;
  padding: 4px;
  transition: color 0.2s;
}

.drawer-close-btn:hover {
  color: var(--crimson);
}

.drawer-item-flex {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.drawer-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.drawer-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.drawer-item-meta {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.drawer-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-notif-primary {
  flex: 1;
  background: var(--crimson);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-notif-primary:hover {
  background: var(--crimson-hover);
  color: #ffffff;
}

.btn-notif-secondary {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.btn-notif-secondary:hover {
  background: #e2e8f0;
}

/* ==========================================================================
   COMPETITOR-STYLE BOOKING SIDEBAR & WIDGET SYSTEM (GetYourGuide / Viator)
   ========================================================================== */

.competitor-widget-wrapper {
  position: sticky;
  top: 85px;
  z-index: 100;
}

.competitor-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

.competitor-action-link {
  background: none;
  border: none;
  padding: 0.25rem 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.competitor-action-link:hover {
  color: var(--crimson);
}

.competitor-action-link i {
  font-size: 1.05rem;
}

.competitor-action-link.active i {
  color: var(--crimson);
  font-weight: 900;
}

.competitor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
}

.competitor-sellout-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  background: #c8102e;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 10;
}

.competitor-price-header {
  margin-bottom: 1.25rem;
}

.competitor-from-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.competitor-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.competitor-main-price {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -0.02em;
}

.competitor-per-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.competitor-inputs-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.competitor-input-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.competitor-input-box:hover {
  border-color: #0071eb;
  background: var(--bg-surface);
}

.competitor-input-box.active {
  border-color: #0071eb;
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(0, 113, 235, 0.15);
}

.competitor-input-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.competitor-input-icon {
  font-size: 1.15rem;
  color: var(--text-main);
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.competitor-input-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.competitor-input-chevron {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.competitor-input-box.active .competitor-input-chevron {
  transform: rotate(180deg);
  color: #0071eb;
}

/* Popovers */
.competitor-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 300;
  display: none;
}

.competitor-popover.open {
  display: block;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

.competitor-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.competitor-counter-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.competitor-counter-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.competitor-counter-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.competitor-counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.competitor-counter-btn:hover:not(:disabled) {
  border-color: #0071eb;
  color: #0071eb;
  background: rgba(0, 113, 235, 0.08);
}

.competitor-counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.competitor-counter-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  min-width: 22px;
  text-align: center;
}

/* Service Format Selector Segment */
.competitor-service-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: var(--bg-subtle);
  padding: 0.3rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.competitor-service-tab-btn {
  padding: 0.45rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s ease;
  text-align: center;
}

.competitor-service-tab-btn.active {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* CTA Buttons */
.competitor-cta-btn {
  width: 100%;
  height: 52px;
  border-radius: 9999px;
  background: #0071eb;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 113, 235, 0.35);
  transition: all 0.2s ease;
}

.competitor-cta-btn:hover {
  background: #005ec4;
  box-shadow: 0 6px 20px rgba(0, 113, 235, 0.45);
  transform: translateY(-1px);
}

.competitor-cta-btn:active {
  transform: translateY(0);
}

/* Availability Details Reveal Box */
.competitor-avail-box {
  background: rgba(6, 214, 160, 0.06);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  animation: popoverFadeIn 0.3s ease;
}

.competitor-avail-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .competitor-avail-header {
  color: #34d399;
}

.competitor-price-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border-color);
}

.competitor-price-breakdown-row {
  display: flex;
  justify-content: space-between;
}

.competitor-avail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Trust / Value propositions section */
.competitor-trust-section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.competitor-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.competitor-trust-icon {
  font-size: 1.35rem;
  color: #00aa6c;
  flex-shrink: 0;
  margin-top: -1px;
}

.competitor-trust-content {
  flex: 1;
}

.competitor-trust-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.competitor-trust-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 0.15rem;
}

.competitor-readmore-link {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.86rem;
}

.competitor-readmore-link:hover {
  color: #0071eb;
}

/* ==========================================================================
   DYNAMIC GETYOURGUIDE-STYLE AVAILABILITY CHECKER STYLES
   ========================================================================== */

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

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

.avail-skeleton {
  background: linear-gradient(90deg, var(--bg-subtle, #f1f5f9) 25%, var(--bg-surface, #e2e8f0) 50%, var(--bg-subtle, #f1f5f9) 75%);
  background-size: 200% 100%;
  animation: availShimmer 1.5s infinite linear;
  border-radius: var(--radius-md, 8px);
}

[data-theme="dark"] .avail-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
}

.avail-skeleton-card {
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 12px);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--bg-surface, #ffffff);
}

.avail-skeleton-line {
  height: 14px;
  margin-bottom: 0.75rem;
  border-radius: 4px;
}

.avail-skeleton-line.title {
  height: 22px;
  width: 55%;
  margin-bottom: 1rem;
}

.avail-skeleton-line.subtitle {
  height: 14px;
  width: 80%;
  margin-bottom: 1.25rem;
}

.avail-skeleton-line.slot-group {
  height: 38px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.avail-skeleton-line.footer-row {
  height: 28px;
  width: 40%;
}

/* Date input loading state */
input[type="date"].avail-input-loading,
.competitor-input-box.avail-input-loading {
  opacity: 0.65;
  pointer-events: none;
  cursor: wait !important;
  position: relative;
}

/* Inline No-Availability / Sold Out Notice */
.avail-no-slots-alert {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-lg, 12px);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  color: #92400e;
  animation: fadeIn 0.3s ease-in-out;
}

[data-theme="dark"] .avail-no-slots-alert {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.avail-no-slots-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.avail-no-slots-header i {
  color: #f59e0b;
  font-size: 1.35rem;
}

.avail-no-slots-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted, #64748b);
  margin-bottom: 1.25rem;
}

.avail-quick-dates-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.avail-quick-date-btn {
  background: var(--bg-surface, #ffffff);
  border: 1px solid #d97706;
  color: #b45309;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.avail-quick-date-btn:hover {
  background: #f59e0b;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Time slot pills with status badges */
.gyg-slot-btn {
  position: relative;
  transition: all 0.2s ease;
}

.gyg-slot-btn.sold-out {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
  background: var(--bg-subtle, #f1f5f9) !important;
  border-color: var(--border-color, #cbd5e1) !important;
  color: var(--text-muted, #94a3b8) !important;
}

.gyg-slot-badge-filling {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.gyg-slot-badge-recom {
  font-size: 0.68rem;
  font-weight: 800;
  background: rgba(14, 165, 233, 0.12);
  color: #0ea5e9;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.35rem;
}

/* Live pulse dot for availability status */
.avail-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: availPulse 2s infinite;
}

@keyframes availPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }

}

/* ==========================================================================
   COMPETITOR TWO-COLUMN TOUR & LUXURY CAR DETAIL PAGE DESIGN SYSTEM
   ========================================================================== */

/* Main Two-Column Container */
.detail-two-col-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.25rem;
  align-items: start;
  position: relative;
  width: 100%;
}

@media (max-width: 1200px) {
  .detail-two-col-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 1.75rem;
  }
}

@media (max-width: 991px) {
  .detail-two-col-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Left Column (Content & Media - scrolls normally) */
.detail-main-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Right Column (Sticky Booking Sidebar) */
.detail-sidebar-col {
  position: -webkit-sticky;
  position: sticky;
  top: 86px;
  align-self: start;
  width: 100%;
  z-index: 30;
}

/* Sticky Booking Card */
.detail-sticky-card {
  background: var(--bg-surface, #ffffff);
  border: 1.5px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

[data-theme="dark"] .detail-sticky-card {
  background: var(--bg-surface, #111827);
  border-color: #273549;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
  .detail-sidebar-col {
    position: static;
    top: auto;
  }

  .detail-sticky-card {
    position: static;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    padding: 1rem;
  }
}

/* Compact & Space-Efficient Sidebar Input & Element Styling */
.detail-sticky-card .search-input-group {
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-color, #e2e8f0);
  background: var(--bg-subtle, #f8fafc);
  margin-bottom: 0.3rem;
  box-sizing: border-box;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.detail-sticky-card .search-input-group:focus-within {
  border-color: var(--crimson, #d90429);
  background: var(--bg-surface, #ffffff);
  box-shadow: 0 0 0 2px var(--crimson-glow, rgba(217, 4, 41, 0.15));
}

.detail-sticky-card .search-input-group label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.06rem;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  line-height: 1.15;
}

.detail-sticky-card .search-input-group input,
.detail-sticky-card .search-input-group select {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main, #0f172a);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 0;
  height: 1.3rem;
  line-height: 1.3rem;
  cursor: pointer;
  box-sizing: border-box;
}

.detail-sticky-card .search-input-group select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.detail-sticky-card .search-input-group input[type="date"] {
  cursor: text;
}

.detail-sticky-card .gyg-sidebar-price-row {
  margin-bottom: 0.4rem;
}

.detail-sticky-card .gyg-sidebar-price-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-bottom: 0.06rem;
}

.detail-sticky-card .gyg-sidebar-price-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  line-height: 1.1;
}

.detail-sticky-card .gyg-sidebar-price-strike {
  font-size: 0.78rem;
}

.detail-sticky-card .badge-sellout {
  font-size: 0.68rem !important;
  font-weight: 800;
  padding: 0.16rem 0.45rem;
  border-radius: 9999px;
}

.detail-sticky-card .btn {
  padding: 0.44rem 0.85rem !important;
  font-size: 0.82rem !important;
  min-height: unset !important;
  border-radius: 8px !important;
}

.detail-sticky-card .gyg-trust-list {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  gap: 0.2rem;
  font-size: 0.66rem;
}

.detail-sticky-card .gyg-trust-list li {
  gap: 0.35rem;
  line-height: 1.2;
}

.detail-sticky-card .gyg-trust-list i {
  font-size: 0.72rem;
}

/* Left Column Mosaic Gallery (1 Large + 4 Grid) */
.detail-mosaic-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0.65rem;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.detail-mosaic-main {
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.detail-mosaic-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-mosaic-main:hover img {
  transform: scale(1.03);
}

.detail-mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  height: 100%;
}

.detail-mosaic-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

.detail-mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.detail-mosaic-tile:hover img {
  transform: scale(1.04);
}

.detail-photos-badge-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.detail-photos-badge-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .detail-mosaic-gallery {
    grid-template-columns: 1fr;
    height: 300px;
  }

  .detail-mosaic-grid {
    display: none;
  }
}

/* Likely To Sell Out Urgency Banner */
.urgency-banner-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255, 183, 3, 0.1) 0%, rgba(217, 4, 41, 0.05) 100%);
  border: 1px solid rgba(255, 183, 3, 0.35);
  border-radius: 14px;
  padding: 0.95rem 1.35rem;
}

.urgency-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(217, 4, 41, 0.12);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.urgency-banner-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.45;
}

.urgency-banner-text strong {
  color: var(--crimson);
  font-weight: 800;
}

/* 6-Pill Value Proposition Grid */
.features-two-col-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

@media (max-width: 640px) {
  .features-two-col-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.25rem;
  }
}

.feature-pill-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.feature-pill-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--text-main);
}

.feature-pill-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.15rem;
  line-height: 1.25;
}

.feature-pill-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* What Travelers Loved */
.travelers-loved-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
}

.travelers-loved-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.travelers-loved-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

@media (max-width: 640px) {
  .travelers-loved-grid {
    grid-template-columns: 1fr;
  }
}

.traveler-loved-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.traveler-loved-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.traveler-loved-stars {
  color: var(--gold-accent);
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
}

.traveler-loved-quote {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
  font-style: italic;
}

.traveler-loved-author {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Highlights List */
.competitor-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.competitor-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.competitor-highlights li::before {
  content: "•";
  color: var(--crimson);
  font-size: 1.4rem;
  line-height: 1;
  font-weight: bold;
}

/* Review Filter Tag Pills */
.review-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.review-tag-pill {
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s;
}

.review-tag-pill:hover,
.review-tag-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

[data-theme="dark"] .review-tag-pill:hover,
[data-theme="dark"] .review-tag-pill.active {
  background: var(--crimson);
  border-color: var(--crimson);
}

/* ==========================================================================
   MODERN HERO SEARCH BOX & REAL-TIME DATE PICKER (Reference Redesign)
   ========================================================================== */

.modern-hero-search-wrapper {
  max-width: 960px;
  width: 100%;
  margin: 2rem auto 0;
  position: relative;
  z-index: 50;
}

/* Modern Tab Bar */
.modern-search-tabs-container {
  display: flex;
  justify-content: center;
  padding: 0 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 60;
}

.modern-search-tabs-bar {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 9999px;
  padding: 4px 5px;
  gap: 1px;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(226, 232, 240, 0.9);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.modern-search-tabs-bar::-webkit-scrollbar {
  display: none;
}

.modern-search-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.82rem;
  color: #334155;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-search-tab:hover:not(.active) {
  background: #f1f5f9;
  color: #0f172a;
}

.modern-search-tab.active {
  background: linear-gradient(135deg, #ff1a40 0%, #e60026 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(230, 0, 38, 0.32);
}

.modern-search-tab.active.tab-luxury-cars {
  background: linear-gradient(135deg, #ff1a40 0%, #d90429 60%, #b91c1c 100%);
  box-shadow: 0 8px 24px rgba(230, 0, 38, 0.45);
}

.modern-search-tab .tab-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  position: relative;
}

.modern-search-tab .car-tab-icon {
  position: relative;
}

.modern-search-tab .car-crown-badge {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #fbbf24;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.modern-search-tab:not(.active) .car-crown-badge {
  color: #d97706;
}

.modern-search-tab:not(.active) .tab-icon-wrap {
  background: transparent;
  color: #64748b;
  font-size: 12px;
}

.modern-tab-divider {
  width: 1px;
  height: 18px;
  background: #e2e8f0;
  margin: 0 2px;
  flex-shrink: 0;
}

/* Modern Elevated Search Card */
.modern-search-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 48px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.85);
  padding: 12px 14px;
  position: relative;
  z-index: 55;
}

.modern-search-panel {
  width: 100%;
}

.modern-search-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.6fr 1.4fr auto auto;
  gap: 8px;
  align-items: center;
}

.modern-search-grid-cars {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 1.05fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.modern-search-grid-cars .modern-search-field {
  padding: 8px 12px;
  gap: 8px;
}

.modern-search-grid-cars .modern-field-icon-badge {
  width: 28px;
  height: 28px;
  font-size: 12px;
}

.modern-search-grid-guides {
  display: grid;
  grid-template-columns: 2.2fr 1.6fr auto;
  gap: 8px;
  align-items: center;
}

/* Modern Input Box / Pod */
.modern-search-field {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  min-width: 0;
}

.modern-search-field:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.modern-search-field.is-active,
.modern-search-field:focus-within {
  background: #ffffff;
  border-color: #ff1a40;
  box-shadow: 0 0 0 3px rgba(255, 26, 64, 0.14);
}

.modern-field-icon {
  font-size: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.modern-field-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.modern-search-field:hover .modern-field-icon-badge {
  transform: scale(1.08);
}

.icon-circle-pink {
  background: #ffe4e6;
  color: #ff1a40;
}

.icon-circle-amber {
  background: #fef3c7;
  color: #d97706;
}

.icon-circle-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.icon-circle-cyan {
  background: #e0f2fe;
  color: #0284c7;
}

.modern-field-icon.icon-location {
  color: #ff1a40;
}

.modern-field-icon.icon-category {
  color: #6366f1;
}

.modern-field-icon.icon-date {
  color: #0284c7;
}

.modern-field-icon.icon-car {
  color: #d97706;
}

.modern-field-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
  text-align: left;
}

.modern-field-label {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 1px;
  line-height: 1;
}

.modern-field-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.modern-field-input {
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 1.25;
}

.modern-field-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.modern-field-trailing {
  color: #94a3b8;
  font-size: 11px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.modern-search-field.is-active .modern-field-trailing.chevron-icon {
  transform: rotate(180deg);
}

/* Vertical Divider */
.modern-search-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
  margin: 0 2px;
  flex-shrink: 0;
}

/* Explore Tours Submit Button */
.modern-search-submit {
  background: linear-gradient(135deg, #ff1a40 0%, #e60026 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 6px 18px -3px rgba(230, 0, 38, 0.42);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.modern-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -3px rgba(230, 0, 38, 0.55);
  filter: brightness(1.04);
}

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

.modern-search-submit i {
  font-size: 0.82rem;
}

.modern-search-submit-cars {
  padding: 0 18px;
  gap: 6px;
  white-space: nowrap;
  justify-self: end;
}

/* Dropdown & Popovers */
.modern-dropdown-popover {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 25px 65px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(226, 232, 240, 0.95);
  padding: 16px;
  z-index: 9999 !important;
  min-width: 320px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 520px;
  overflow-y: auto;
  animation: modernDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

#locationDropdownPopover {
  width: 375px;
}

#categoryDropdownPopover {
  width: 340px;
}

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

.dropdown-header-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  margin-bottom: 8px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-section-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 10px 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #0f172a;
  text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item.selected {
  background: #f8fafc;
}

.dropdown-item.selected {
  font-weight: 700;
  color: #ff1a40;
  background: #fff1f2;
}

.dropdown-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6366f1;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.dropdown-item:hover .dropdown-item-icon {
  transform: scale(1.05);
}

.dropdown-item-text {
  flex-grow: 1;
  min-width: 0;
  line-height: 1.25;
}

.dropdown-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dropdown-item-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item-jp {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  font-family: 'Noto Sans JP', sans-serif;
  margin-left: 4px;
}

.dropdown-item-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.3;
}

.dropdown-item-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.badge-primary-dest {
  background: #ffe4e6;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.badge-scenic-dest {
  background: #e0f2fe;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.badge-historic-dest {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.dropdown-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 2px 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-chip {
  background: #f1f5f9;
  color: #334155;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  user-select: none;
}

.dropdown-chip:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

.dropdown-chip.selected {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* ==========================================================================
   REAL-TIME DUAL-MONTH DATE PICKER (Reference 3)
   ========================================================================== */

.modern-datepicker-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.95);
  padding: 24px 28px;
  z-index: 9999 !important;
  width: 680px;
  max-width: calc(100vw - 32px);
  color: #0f172a;
  animation: modernDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Quick Action Pills & Top Bar (Today, Tomorrow, Next weekend) */
.datepicker-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.datepicker-quick-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.datepicker-quick-pill {
  background: #edf2f7;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 20px;
  border-radius: 9999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.datepicker-quick-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.datepicker-quick-pill.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.datepicker-close-icon {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: auto;
}

.datepicker-close-icon:hover {
  background: #f1f5f9;
  color: #0f172a;
}

/* Dual Months Layout */
.datepicker-dual-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.datepicker-month-col {
  display: flex;
  flex-direction: column;
}

.datepicker-month-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  min-height: 36px;
  position: relative;
}

.datepicker-month-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  flex-grow: 1;
}

.datepicker-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  flex-shrink: 0;
}

.datepicker-nav-btn:hover:not(:disabled) {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.datepicker-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.datepicker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 12px;
}

.datepicker-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 8px;
  column-gap: 4px;
  text-align: center;
}

.datepicker-day-cell {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #0f172a;
  position: relative;
  user-select: none;
}

.datepicker-day-cell:hover:not(.is-past):not(.is-unavailable):not(.is-sold-out):not(.is-selected) {
  background: #f1f5f9;
  color: #0f172a;
}

.datepicker-day-cell.is-past,
.datepicker-day-cell.is-unavailable,
.datepicker-day-cell.is-sold-out {
  color: #cbd5e1 !important;
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  text-decoration: line-through;
}

.datepicker-day-cell.is-selected {
  background: #ff1a40 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(255, 26, 64, 0.45) !important;
  text-decoration: none !important;
}

.datepicker-day-cell.is-today:not(.is-selected) {
  font-weight: 700;
  color: #ff1a40;
}

.datepicker-day-cell.is-today:not(.is-selected)::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff1a40;
}

.datepicker-empty-cell {
  width: 36px;
  height: 36px;
  pointer-events: none;
}

/* Popover Footer Action Controls */
.datepicker-popover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  gap: 14px;
}

.datepicker-footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #0f172a;
  font-weight: 600;
}

.datepicker-footer-date {
  font-weight: 700;
  color: #0f172a;
}

.datepicker-avail-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.datepicker-avail-badge.is-sold-out {
  background: #fef2f2;
  color: #ef4444;
}

.datepicker-footer-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.datepicker-footer-cancel-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.datepicker-footer-cancel-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.datepicker-footer-confirm-btn {
  background: #ff1a40;
  border: 1px solid #ff1a40;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 7px 20px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(255, 26, 64, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.datepicker-footer-confirm-btn:hover {
  background: #e00f32;
  box-shadow: 0 6px 18px rgba(255, 26, 64, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   Trust Badges Bar (Source of Truth Screenshot 2)
   ========================================================================== */
.modern-search-trust-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.trust-badge-item:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.trust-icon {
  color: #64748b;
  font-size: 14px;
}

.trust-badge-circle-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.trust-badge-divider {
  width: 1px;
  height: 14px;
  background: #e2e8f0;
  flex-shrink: 0;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1100px) {
  .hero-search-capsule #searchFieldLocation {
    flex: 0 1 200px;
  }
  .hero-search-capsule #searchFieldCategory {
    flex: 0 1 240px;
  }
  .hero-search-capsule #searchFieldDate {
    flex: 0 1 255px;
  }
  .modern-datepicker-popover {
    right: 0;
  }
}

@media (max-width: 1024px) {
  .hero-search-capsule {
    position: relative !important;
    overflow: visible !important;
  }
  .hero-search-capsule .hero-field-btn {
    position: static !important;
  }
  .modern-search-grid,
  .modern-search-grid-cars {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .modern-search-grid-cars .modern-search-field {
    padding: 8px 12px;
    gap: 8px;
  }
  .modern-search-divider {
    display: none;
  }
  .modern-search-submit,
  .modern-search-submit-cars {
    grid-column: span 2;
    width: 100%;
    justify-self: stretch;
    padding: 0 22px;
  }
  .modern-dropdown-popover {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px;
  }
  .modern-datepicker-popover {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: min(680px, 100%) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    border-radius: 20px;
  }
  .modern-search-trust-bar {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-search-capsule {
    position: relative !important;
    overflow: visible !important;
  }
  .hero-search-capsule .hero-field-btn {
    position: static !important;
  }
  .modern-search-tabs-container {
    justify-content: center;
    padding: 0 8px;
    margin-bottom: 12px;
  }
  .modern-search-tab {
    padding: 6px 11px;
    font-size: 0.76rem;
  }
  .modern-search-card {
    padding: 10px 12px;
    border-radius: 16px;
  }
  .modern-search-grid,
  .modern-search-grid-cars,
  .modern-search-grid-guides {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .modern-search-submit,
  .modern-search-submit-cars {
    grid-column: span 1;
    width: 100%;
    justify-self: stretch;
    padding: 0 16px;
  }
  .modern-dropdown-popover {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px;
    max-height: 420px;
  }
  .modern-datepicker-popover {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 14px;
    margin: 0 auto !important;
  }
  .datepicker-dual-months {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .datepicker-month-col:nth-child(2) {
    display: none; /* Show 1 active month on small mobile screens for clean fit */
  }
  .modern-search-trust-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: start;
    padding-top: 12px;
  }
  .trust-badge-divider {
    display: none;
  }
}

/* ==========================================================================
   MODERN BLOG & TRAVEL GUIDES REDESIGN SYSTEM (Screenshot 1 Primary Reference)
   ========================================================================== */

.blog-hero-section {
  background: radial-gradient(circle at 50% 15%, rgba(224, 231, 255, 0.75) 0%, rgba(241, 245, 249, 0.5) 45%, #ffffff 100%), linear-gradient(180deg, #edf2fe 0%, #f8fafc 100%);
  padding: 4.5rem 1.5rem 2.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.blog-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #e0e7ff;
  color: #4338ca;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 1px 3px rgba(67, 56, 202, 0.08);
}

.blog-hero-pill i {
  color: #4f46e5;
  font-size: 0.75rem;
}

.blog-hero-title {
  font-size: clamp(2.35rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.18;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.blog-hero-title .text-blog-highlight {
  color: #4f46e5;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  max-width: 660px;
  margin: 0 auto 2rem;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 400;
}

.blog-search-bar {
  max-width: 580px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 6px 8px 6px 20px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-search-bar:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15), 0 12px 28px -5px rgba(99, 102, 241, 0.12);
}

.blog-search-bar i.search-icon {
  color: #94a3b8;
  font-size: 1rem;
  margin-right: 8px;
}

.blog-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: #0f172a;
  padding: 8px 6px;
  font-family: inherit;
}

.blog-search-input::placeholder {
  color: #94a3b8;
}

.blog-search-btn {
  background: #5046e5;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.blog-search-btn:hover {
  background: #4338ca;
  transform: translateY(-1px);
}

.blog-active-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #5046e5;
  color: #ffffff;
  border-radius: 9999px;
  padding: 7px 22px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(80, 70, 229, 0.25);
  transition: all 0.2s;
}

.blog-active-filter-pill:hover {
  background: #4338ca;
  color: #ffffff;
}

/* Horizontal Trending Bar */
.blog-trending-bar {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.85rem 0;
  position: relative;
  z-index: 5;
}

.blog-trending-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.blog-trending-container::-webkit-scrollbar {
  display: none;
}

.trending-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ede9fe;
  color: #6d28d9;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.trending-topic-link {
  color: #475569;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.15s;
}

.trending-topic-link:hover {
  color: #5046e5;
}

.trending-topic-separator {
  color: #cbd5e1;
  flex-shrink: 0;
}

/* Featured Article Section */
.blog-featured-wrapper {
  max-width: 1280px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.featured-section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.featured-section-label i {
  font-size: 0.8rem;
}

.blog-featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-featured-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
}

.featured-card-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  height: 250px;
  border-radius: 14px;
  background: #0f172a;
  box-shadow: 0 6px 18px -3px rgba(15, 23, 42, 0.14);
  flex-shrink: 0;
}

.featured-card-media a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-featured-card:hover .featured-card-media img {
  transform: scale(1.05);
}

.featured-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.featured-badge-top i {
  color: #f59e0b;
}

.featured-badge-time {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.featured-card-content {
  padding: 0.5rem 0.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.featured-category-tag {
  color: #059669;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.featured-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.featured-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.featured-card-title a:hover {
  color: #5046e5;
}

.featured-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.author-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5046e5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.featured-meta-author {
  color: #2563eb;
  font-weight: 600;
}

.featured-card-excerpt {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-read-full {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s, transform 0.15s;
}

.btn-read-full:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Main 2-Column Section */
.blog-main-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.blog-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 2.75rem;
  align-items: start;
}

/* Filter bar above left grid */
.blog-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
  scrollbar-width: none;
}

.blog-filter-toolbar::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}

.filter-chip-active {
  background: #5046e5;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(80, 70, 229, 0.25);
}

.filter-chip-default {
  background: #f1f5f9;
  color: #475569;
}

.filter-chip-default:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* 2-Column Articles Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.card-badge-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #059669;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card-badge-time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-badge-audio {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-body {
  padding: 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body-category {
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.card-body-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  margin-bottom: 0.65rem;
}

.card-body-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.card-body-title a:hover {
  color: #5046e5;
}

.card-body-excerpt {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body-footer {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.card-footer-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
}

.card-footer-read-link {
  color: #4f46e5;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.card-footer-read-link:hover {
  gap: 7px;
  color: #4338ca;
}

/* Clean Custom Pill Pagination */
.blog-pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.5rem 0 1rem;
}

.blog-pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-pill {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.15s;
}

.page-pill:hover:not(.page-pill-disabled) {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.page-pill-active {
  background: #5046e5;
  border-color: #5046e5;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(80, 70, 229, 0.25);
}

.page-pill-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sidebar Widgets */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.widget-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.widget-heading i {
  color: #5046e5;
  font-size: 0.85rem;
}

/* Quick Search Widget */
.sidebar-search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 4px 6px 4px 12px;
}

.sidebar-search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.88rem;
  color: #0f172a;
  padding: 6px 0;
  font-family: inherit;
}

.sidebar-search-box input::placeholder {
  color: #94a3b8;
}

.sidebar-search-btn {
  background: #5046e5;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}

.sidebar-search-btn:hover {
  background: #4338ca;
}

/* Recent Posts Widget */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.05);
}

.recent-post-info {
  flex: 1;
  min-width: 0;
}

.recent-post-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.recent-post-item:hover .recent-post-title {
  color: #5046e5;
}

.recent-post-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Popular Tools / Guides Widget */
.popular-topics-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popular-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.popular-topic-row:hover {
  background: #ede9fe;
  color: #5046e5;
  padding-left: 14px;
}

.popular-topic-row i {
  color: #6366f1;
  font-size: 0.75rem;
  transition: transform 0.15s;
}

.popular-topic-row:hover i {
  transform: translateX(3px);
}

/* Weekly Digest Newsletter Widget */
.newsletter-gradient-card {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  color: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.35);
}

.newsletter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.newsletter-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.newsletter-input {
  width: 100%;
  border-radius: 9999px;
  border: none;
  padding: 11px 16px;
  font-size: 0.88rem;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  margin-bottom: 10px;
}

.newsletter-btn {
  width: 100%;
  border-radius: 9999px;
  background: #ffffff;
  color: #4f46e5;
  border: none;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.15s;
}

.newsletter-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Categories Widget */
.categories-widget-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-widget-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.category-widget-item:hover {
  background: #f1f5f9;
  color: #5046e5;
}

.category-widget-count {
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 9px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.category-widget-item:hover .category-widget-count {
  background: #e0e7ff;
  color: #4338ca;
}

/* Popular Tags Widget */
.tags-widget-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s;
}

.tag-cloud-chip:hover {
  background: #ede9fe;
  border-color: #c4b5fd;
  color: #5046e5;
}

/* Promo Rocket Card Widget */
.promo-rocket-card {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  border-radius: 18px;
  padding: 1.85rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.35);
}

.rocket-icon-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 0.85rem;
}

.promo-rocket-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.promo-rocket-card p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.promo-btn {
  background: #ffffff;
  color: #0284c7;
  border-radius: 9999px;
  padding: 10px 22px;
  font-weight: 800;
  font-size: 0.85rem;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.promo-btn:hover {
  background: #f8fafc;
  color: #0369a1;
  transform: translateY(-1px);
}

/* Bottom Wide CTA Banner */
.blog-bottom-banner-wrapper {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
}

.blog-wide-cta-banner {
  background: linear-gradient(90deg, #6366f1 0%, #3b82f6 50%, #06b6d4 100%);
  border-radius: 22px;
  padding: 2.75rem 3.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
}

.banner-content-left h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.banner-content-left p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 600px;
  line-height: 1.55;
}

.banner-buttons-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-banner-subscribe {
  background: #ffffff;
  color: #4f46e5;
  border-radius: 9999px;
  padding: 12px 26px;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.15s;
}

.btn-banner-subscribe:hover {
  background: #f8fafc;
  color: #4338ca;
  transform: translateY(-1px);
}

.btn-banner-rss {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  border-radius: 9999px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(8px);
  transition: all 0.15s;
}

.btn-banner-rss:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

/* Follow Us Social Row */
.blog-social-follow-section {
  max-width: 1280px;
  margin: 0 auto 5rem;
  padding: 0 1.5rem;
}

.social-follow-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.social-pills-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.15s, opacity 0.15s;
}

.social-brand-pill:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.social-pill-facebook { background: #1877f2; }
.social-pill-twitter  { background: #0284c7; }
.social-pill-instagram{ background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-pill-pinterest{ background: #bd081c; }
.social-pill-github   { background: #24292e; }
.social-pill-youtube  { background: #ef4444; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .blog-main-layout {
    grid-template-columns: 1fr;
  }
  .blog-featured-card {
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
  .featured-card-media {
    max-width: 300px;
    height: 225px;
  }
}

@media (max-width: 768px) {
  .blog-hero-section {
    padding: 3rem 1rem 2rem;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .blog-featured-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }
  .featured-card-media {
    max-width: 100%;
    height: 210px;
    border-radius: 12px;
  }
  .featured-card-content {
    padding: 0.25rem 0.25rem 0.5rem;
  }
  .featured-card-title {
    font-size: 1.35rem;
  }
  .featured-card-excerpt {
    margin-bottom: 1.15rem;
    -webkit-line-clamp: 2;
  }
  .blog-wide-cta-banner {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
  .banner-content-left p {
    margin: 0 auto;
  }
  .banner-buttons-right {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   Global Mobile, Tablet, Foldable & Touch Device Optimizations
   ========================================================================== */

/* 1. Modal Grid Adaptations */
.modal-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

/* 2. Review Breakdown Grid on Activities / Product Pages */
@media (max-width: 860px) {
  .gyg-reviews-overview {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 1.5rem !important;
  }
  .gyg-score-hero {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    padding-right: 0 !important;
    padding-bottom: 1.25rem !important;
  }
}

/* 3. Datepicker Mobile Month Navigation & Cell Sizing */
#datepickerLeftMonth .datepicker-next-mobile-btn {
  display: none;
}
.datepicker-desktop-spacer {
  display: block;
}

@media (max-width: 768px) {
  .modern-datepicker-popover {
    width: min(390px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    padding: 18px 14px !important;
    border-radius: 18px !important;
  }
  .datepicker-dual-months {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  #datepickerRightMonth {
    display: none !important;
  }
  #datepickerLeftMonth .datepicker-next-mobile-btn {
    display: flex !important;
  }
  .datepicker-desktop-spacer {
    display: none !important;
  }
  .datepicker-popover-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-top: 14px !important;
  }
  .datepicker-footer-btns {
    width: 100% !important;
    justify-content: space-between !important;
  }
  .datepicker-footer-btns button {
    flex: 1 !important;
    justify-content: center !important;
  }
  .datepicker-quick-pills {
    gap: 6px !important;
  }
  .datepicker-quick-pill {
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 380px) {
  .modern-datepicker-popover {
    padding: 12px 8px !important;
  }
  .datepicker-day-cell {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
  }
  .datepicker-quick-pill {
    padding: 5px 9px !important;
    font-size: 0.74rem !important;
  }
  .modern-search-tabs-container {
    gap: 4px !important;
  }
  .modern-search-tab {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
  }
}

/* 4. Bottom Elements Collision Management */
/* When a product detail bar is present, hide generic bottom nav to avoid overlap */
body:has(.gyg-mobile-bottom-bar) .mobile-bottom-nav {
  display: none !important;
}

/* Elevate the floating notification pill above bottom bars on small screens */
@media (max-width: 768px) {
  .floating-notif-container {
    bottom: 74px;
    left: 12px;
    right: auto;
    max-width: calc(100vw - 24px);
  }
  .floating-notif-pill {
    padding: 4px 10px 4px 4px;
    gap: 8px;
  }
  .pill-thumb-wrap {
    width: 36px;
    height: 36px;
  }
  .pill-title-text {
    font-size: 0.95rem;
  }
  .pill-timer-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
  }
  .floating-notif-drawer {
    width: calc(100vw - 24px);
    max-width: 330px;
  }
}

@media (max-width: 992px) {
  body:has(.gyg-mobile-bottom-bar) .floating-notif-container {
    bottom: 84px !important;
  }
}

/* Mobile safe area insets for iPhone home indicators */
@supports (padding: env(safe-area-inset-bottom)) {
  .mobile-bottom-nav {
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
  }
  .gyg-mobile-bottom-bar {
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  }
}

/* 5. Prevent iOS Safari auto-zoom on form inputs */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* =========================================================================
   COMPETITOR-INSPIRED FULL DESCRIPTION & DETAIL LAYOUT (IMAGE 3 REFERENCE)
   ========================================================================= */
.competitor-detail-row.has-top-border {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle, #e2e8f0);
}

.competitor-detail-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.competitor-detail-label-col {
  padding-top: 0.15rem;
}

.competitor-detail-label {
  display: inline-block;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main, #0f172a);
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-transform: lowercase;
  font-family: inherit;
  user-select: none;
}

[data-theme="dark"] .competitor-detail-label {
  color: #f1f5f9;
}

/* Rich Description Content Container */
.competitor-rich-description {
  font-size: 0.98rem;
  line-height: 1.82;
  color: var(--text-main, #334155);
  word-break: break-word;
  overflow-wrap: break-word;
}

[data-theme="dark"] .competitor-rich-description {
  color: #cbd5e1;
}

/* Neutralize clipboard/Quill transparent inline backgrounds */
.competitor-rich-description span {
  background-color: transparent !important;
}

/* Headings inside Rich Content */
.competitor-rich-description h1,
.competitor-rich-description h2,
.competitor-rich-description h3,
.competitor-rich-description h4,
.competitor-rich-description h5,
.competitor-rich-description h6 {
  color: var(--text-main, #0f172a);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

[data-theme="dark"] .competitor-rich-description h1,
[data-theme="dark"] .competitor-rich-description h2,
[data-theme="dark"] .competitor-rich-description h3,
[data-theme="dark"] .competitor-rich-description h4,
[data-theme="dark"] .competitor-rich-description h5,
[data-theme="dark"] .competitor-rich-description h6 {
  color: #f8fafc;
}

.competitor-rich-description h2 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.competitor-rich-description h3 {
  font-size: 1.12rem;
  font-weight: 750;
  margin-top: 1.5rem;
  margin-bottom: 0.65rem;
}

.competitor-rich-description h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Remove top margin from first child element */
.competitor-rich-description > *:first-child,
.competitor-rich-description > h1:first-child,
.competitor-rich-description > h2:first-child,
.competitor-rich-description > h3:first-child,
.competitor-rich-description > p:first-child {
  margin-top: 0 !important;
}

/* Paragraphs */
.competitor-rich-description p {
  margin-top: 0;
  margin-bottom: 1.35rem;
  line-height: 1.82;
}

.competitor-rich-description p:last-child {
  margin-bottom: 0;
}

/* Strong / Bold Elements */
.competitor-rich-description strong,
.competitor-rich-description b {
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

[data-theme="dark"] .competitor-rich-description strong,
[data-theme="dark"] .competitor-rich-description b {
  color: #ffffff;
}

/* Unordered & Ordered Lists */
.competitor-rich-description ul,
.competitor-rich-description ol {
  margin: 0.85rem 0 1.35rem 0;
  padding-left: 1.45rem;
}

.competitor-rich-description ul {
  list-style-type: disc;
}

.competitor-rich-description ol {
  list-style-type: decimal;
}

.competitor-rich-description li {
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 0.45rem;
  color: var(--text-main, #334155);
}

[data-theme="dark"] .competitor-rich-description li {
  color: #cbd5e1;
}

.competitor-rich-description li::marker {
  color: var(--crimson, #e11d48);
  font-weight: 700;
}

.competitor-rich-description li:last-child {
  margin-bottom: 0;
}

/* Links */
.competitor-rich-description a {
  color: var(--crimson, #e11d48);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s;
}

.competitor-rich-description a:hover {
  color: #be123c;
}

/* Blockquotes */
.competitor-rich-description blockquote {
  margin: 1.35rem 0;
  padding: 0.85rem 1.25rem;
  border-left: 3.5px solid var(--crimson, #e11d48);
  background: var(--bg-subtle, #f8fafc);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--text-muted, #64748b);
}

[data-theme="dark"] .competitor-rich-description blockquote {
  background: #1e293b;
  color: #94a3b8;
}

/* Responsive across Tablet and Mobile */
@media (max-width: 768px) {
  .competitor-detail-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .competitor-detail-label {
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
  }

  .competitor-detail-row.has-top-border {
    margin-top: 1.6rem;
    padding-top: 1.6rem;
  }
}