/* ==============================================================================
   DETIK KITA — EDITORIAL DESIGN SYSTEM
   Modern, Minimalist, Premium Editorial Photography Aesthetics
   Inspired by luxury editorial brands & Awwwards photography portfolios
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette: Editorial Warm Neutral */
  --bg-main: #fafaf9;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f4f4f2;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfcfb;
  --bg-dark: #121214;
  --bg-dark-card: #18181b;

  /* Typography Colors */
  --text-primary: #18181b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;
  --text-light: #ffffff;

  /* Accents */
  --accent-gold: #b8924b;
  --accent-gold-hover: #9c7835;
  --accent-gold-soft: rgba(184, 146, 75, 0.12);
  --accent-gold-border: rgba(184, 146, 75, 0.3);
  --accent-dark: #18181b;
  --accent-dark-hover: #27272a;
  --accent-green: #10b981;
  --accent-blue: #2563eb;
  --accent-danger: #ef4444;

  /* Borders & Shadows */
  --border-hairline: rgba(0, 0, 0, 0.07);
  --border-light: rgba(0, 0, 0, 0.12);
  --border-focus: #18181b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 36px -4px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 20px 48px -8px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Transitions */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease-out;
  --max-w: 1240px;

  /* CoreUI 5 Free Theme Tokens */
  --cui-primary: #b8924b;
  --cui-primary-rgb: 184, 146, 75;
  --cui-primary-text-emphasis: #75551c;
  --cui-primary-bg-subtle: #fbf7ee;
  --cui-primary-border-subtle: #ecdcb9;
  --cui-body-font-family: var(--font-sans);
  --cui-body-bg: var(--bg-main);
  --cui-body-color: var(--text-primary);
  --cui-border-radius: 12px;
  --cui-border-radius-lg: 20px;
  --cui-border-radius-pill: 50rem;
}

/* ==============================================================================
   RESET & BASE STYLES
   ============================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Browser Surfaces (Craft Floor) */
::selection {
  background-color: var(--accent-gold);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==============================================================================
   TYPOGRAPHY
   ============================================================================== */
.editorial-title {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.1;
}

.editorial-italic {
  font-style: italic;
  font-family: var(--font-serif);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  margin-bottom: 0.8rem;
}

.eyebrow-dark {
  color: var(--text-muted);
}

/* ==============================================================================
   BUTTONS & CONTROLS
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background-color: var(--accent-dark);
  color: var(--text-light);
  border-color: var(--accent-dark);
}

.btn-primary:hover {
  background-color: #27272a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.03);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  box-shadow: 0 4px 14px rgba(184, 146, 75, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ==============================================================================
   HEADER & NAVIGATION (HOME-01)
   ============================================================================== */
.editorial-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.85;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
}

.brand-logo span.dot {
  width: 5px;
  height: 5px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: inline-block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
  font-size: 1.4rem;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  padding: 1.5rem 1.8rem;
  gap: 1.2rem;
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer .nav-link {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-hairline);
  text-align: left;
}

/* ==============================================================================
   HERO SECTION (HOME-02)
   Editorial Asymmetrical Split Composition
   ============================================================================== */
.hero-section {
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: 3.85rem;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
  line-height: 1.1;
  color: var(--text-primary);
  text-wrap: balance;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-group .btn {
  min-height: 48px;
  padding: 0.75rem 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
}

.hero-guest-access {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.hero-guest-prompt {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-guest-link {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-bottom: 1.5px solid var(--accent-gold) !important;
  border-radius: 0 !important;
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.3;
}

.hero-guest-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold-hover) !important;
}

.hero-guest-link span.arrow {
  color: var(--accent-gold);
  transition: transform 0.2s ease;
  display: inline-block;
}

.hero-guest-link:hover span.arrow {
  transform: translateX(3px);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.16), 0 4px 16px -2px rgba(0, 0, 0, 0.04);
  aspect-ratio: 1/1;
  background-color: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  user-select: none;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.hero-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover .hero-carousel-slide.active img {
  transform: scale(1.025);
}

/* Slide Caption Overlay (Optional subtle gradient for slides with captions) */
.hero-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 60%, transparent 100%);
  color: #ffffff;
  z-index: 3;
  pointer-events: none;
}

.hero-slide-caption-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.15rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-slide-caption-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Glassmorphism Navigation Arrows */
.hero-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #18181b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

.hero-carousel-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.hero-carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-carousel-prev {
  left: 14px;
}

.hero-carousel-next {
  right: 14px;
}

.hero-image-card:hover .hero-carousel-nav {
  opacity: 1;
}

/* Touch devices show navigation arrows with soft visibility */
@media (max-width: 768px) {
  .hero-carousel-nav {
    opacity: 0.85;
    width: 36px;
    height: 36px;
  }
  .hero-carousel-prev { left: 8px; }
  .hero-carousel-next { right: 8px; }
}

/* Luxury Pill Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 10;
  padding: 5px 11px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: opacity 0.3s ease;
}

.hero-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.2);
}

.hero-carousel-dot.active {
  width: 22px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

.hero-wording-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
}

.hero-wording-quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.hero-wording-quote {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-wording-attribution {
  margin-top: auto;
  padding-top: 1rem;
}

.brand-signature {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.brand-signature .dot {
  width: 5px;
  height: 5px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: inline-block;
}

.attribution-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

.hero-wording-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.hero-pillar-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--bg-main);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
}

.hero-pillar-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-floating-badge .badge-icon {
  font-size: 1.25rem;
}

.hero-floating-badge .badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-floating-badge .badge-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==============================================================================
   FIND PHOTOS ENTRY (HOME-03)
   ============================================================================== */
.find-entry-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background-color: var(--bg-surface);
}

.find-entry-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 3.2rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 36px -12px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
}

.find-entry-info {
  display: flex;
  flex-direction: column;
}

.find-entry-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-top: 0.35rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.find-entry-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 520px;
}

/* Seamless Active Celebrations directly below wording */
.home-active-events-block {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.home-active-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted, #71717a);
  margin-bottom: 0.6rem;
}

.home-chips-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

.home-chips-layout .event-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.9rem;
  background-color: var(--bg-surface-alt, #fafaf9);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  max-width: 100%;
}

.home-chips-layout .event-chip-hash {
  color: var(--accent-gold, #b8924b);
  font-weight: 700;
}

.home-chips-layout .event-chip-code {
  font-weight: 500;
}

.home-chips-layout .event-chip-dot {
  color: rgba(0, 0, 0, 0.25);
  margin: 0 0.1rem;
}

.home-chips-layout .event-chip-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.home-chips-layout .event-chip:hover {
  background-color: #18181b;
  border-color: #18181b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.home-chips-layout .event-chip:hover .event-chip-hash {
  color: var(--accent-gold, #b8924b);
}

.home-chips-layout .event-chip:hover .event-chip-dot {
  color: rgba(255, 255, 255, 0.4);
}

.home-chips-layout .event-chip.active {
  background-color: rgba(184, 146, 75, 0.1);
  border-color: var(--accent-gold, #b8924b);
  color: #18181b;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(184, 146, 75, 0.15);
}

.home-chips-layout .event-chip.active .event-chip-hash {
  color: var(--accent-gold, #b8924b);
}

/* Right Column: Unified Search Capsule */
.find-entry-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
}

.home-search-capsule {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.4rem 0.35rem 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.home-search-capsule:focus-within {
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.home-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.home-search-hash {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold, #b8924b);
  margin-right: 0.4rem;
  user-select: none;
  flex-shrink: 0;
}

.home-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  padding: 0.45rem 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-width: 0;
}

.home-search-input::placeholder {
  font-weight: 400;
  color: var(--text-dim, #a1a1aa);
  text-transform: none;
  letter-spacing: normal;
}

.home-search-btn {
  border-radius: var(--radius-full) !important;
  padding: 0.72rem 1.45rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: #18181b !important;
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0;
}

.home-search-btn:hover {
  background: #000000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.home-search-hint {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: var(--text-muted, #71717a);
  padding-left: 0.85rem;
}

.home-search-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold, #b8924b);
  display: inline-block;
}

/* ==============================================================================
   PACKAGES INTRO (SECTION 4)
   Product Experience Cards
   ============================================================================== */
.packages-intro-section {
  padding: 4.5rem 0 3.5rem 0;
  border-top: 1px solid var(--border-hairline);
}

.packages-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

.package-intro-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.package-intro-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.08);
}

.package-intro-card.featured {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, #fffdfa 0%, var(--bg-surface) 35%);
  box-shadow: 0 12px 30px -10px rgba(184, 146, 75, 0.18);
}

.package-intro-tier {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.package-intro-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.package-intro-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.package-intro-footer {
  margin-top: auto;
}

.package-intro-footer .btn {
  width: 100%;
}

@media (max-width: 991px) {
  .packages-intro-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
  }
}

/* ==============================================================================
   HOW IT WORKS (HOME-04)
   Typographic, Large Numbers, Minimal Connecting Lines
   ============================================================================== */
.how-it-works-section {
  padding: 6rem 0;
}

.section-header-editorial {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem auto;
}

.section-headline {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-subheadline {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.step-item {
  position: relative;
  text-align: center;
  padding: 0 1.2rem;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

.step-divider-line {
  position: absolute;
  top: 2rem;
  right: -1.25rem;
  width: 1px;
  height: 60px;
  background-color: var(--border-hairline);
}

/* ==============================================================================
   AI PHOTO SEARCH DEMO (HOME-05) — P0
   Real Existing Product Screens
   ============================================================================== */
.demo-section {
  padding: 6rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.demo-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.demo-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.demo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.demo-step-badge {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.demo-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.demo-screen-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ebebea;
  margin-top: auto;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-face-box {
  position: absolute;
  top: 25%;
  left: 30%;
  width: 40%;
  height: 40%;
  border: 2px solid #b8924b;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.demo-face-tag {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #b8924b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.demo-cta-center {
  text-align: center;
  margin-top: 3.5rem;
}

/* ==============================================================================
   EVENT TYPES (HOME-06)
   Large Photographic Blocks
   ============================================================================== */
.event-types-section {
  padding: 6rem 0;
}

.event-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 3rem;
}

.event-type-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.event-type-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-type-card:hover img {
  transform: scale(1.04);
}

.event-type-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #ffffff;
}

.event-type-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.event-type-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

/* ==============================================================================
   WHY DETIK KITA (HOME-07)
   Studio Quality. Intelligent Discovery.
   ============================================================================== */
.why-section {
  padding: 6rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.why-card {
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hairline);
  background-color: var(--bg-main);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.why-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.why-card-icon {
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  transform: scale(1.1);
}

.why-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.why-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==============================================================================
   SOCIAL PROOF (HOME-08)
   ============================================================================== */
.social-proof-section {
  padding: 6rem 0;
}

.proof-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
}

.proof-val {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.proof-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==============================================================================
   FINAL CTA (HOME-09)
   ============================================================================== */
.final-cta-section {
  padding: 7rem 0;
  background-color: var(--bg-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.final-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.final-cta-headline {
  font-size: 3.5rem;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.final-cta-subtext {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.final-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.final-cta-group .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.final-cta-group .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.editorial-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  padding: 3rem 0 2rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 1px solid var(--border-hairline);
  padding-top: 1.5rem;
  font-size: 0.78rem;
}

/* ==============================================================================
   P0 PHOTO DISCOVERY FLOW (APP VIEW)
   FLOW-01 to FLOW-12
   ============================================================================== */
.app-view-container {
  display: none;
}

.app-view-container.active {
  display: block;
}

.discovery-view {
  min-height: calc(100vh - 70px);
  padding: 3rem 0 5rem 0;
}

.discovery-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* FLOW-01: Event Landing */
.event-landing-card {
  text-align: center;
  padding: 3.5rem 2rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.event-landing-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-gold);
  background-color: var(--accent-gold-soft);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.event-landing-title {
  font-size: 3rem;
  margin-bottom: 0.6rem;
  line-height: 1.15;
}

.event-landing-date {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.event-landing-desc {
  max-width: 480px;
  margin: 0 auto 2.2rem auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* FLOW-02: Selfie Capture & Upload */
/* FLOW-02: Selfie Capture & Upload */
.selfie-card {
  background-color: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 3rem 2.4rem;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.selfie-card-header {
  margin-bottom: 1.8rem;
  text-align: center;
}

.selfie-header-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.selfie-step-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold, #b8924b);
  background: rgba(184, 146, 75, 0.1);
  border: 1px solid rgba(184, 146, 75, 0.25);
  border-radius: 9999px;
  padding: 3px 12px;
}

.selfie-event-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f4f4f5;
  color: #27272a;
  border: 1px solid #e4e4e7;
  border-radius: 9999px;
  padding: 3px 14px;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.selfie-card-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.selfie-card-sub {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.55;
  max-width: 440px;
  margin: 0 auto;
}

/* Studio Camera Container */
.camera-preview-container {
  position: relative;
  width: auto;
  height: clamp(280px, 45vh, 480px);
  height: clamp(280px, 45svh, 480px);
  height: clamp(280px, 45dvh, 480px);
  aspect-ratio: 3/4;
  max-width: min(360px, 88vw);
  margin: 0 auto 0.75rem auto;
  background: radial-gradient(circle at 50% 25%, #27272a 0%, #09090b 100%);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1); /* mirror front camera */
}

/* Selfie Oval Framing Guide */
.camera-oval-guide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62%;
  height: 72%;
  border: 2px dashed rgba(255, 255, 255, 0.75);
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.42);
}

.camera-oval-guide::after {
  content: "Position Face Here";
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
  white-space: nowrap;
}

/* Captured Preview Canvas/Image */
.captured-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

/* Studio Camera Portal (In-container Fallback) */
.camera-fallback-card {
  position: absolute;
  inset: 0;
  padding: 0.75rem 0.85rem;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  background: radial-gradient(circle at 50% 25%, #27272a 0%, #09090b 100%);
}

.camera-fallback-icon-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(184, 146, 75, 0.15);
  border: 1.5px solid rgba(184, 146, 75, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
  color: var(--accent-gold, #b8924b);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.camera-fallback-icon-ring svg {
  width: 20px;
  height: 20px;
}

.camera-fallback-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}

.camera-fallback-desc {
  font-size: 0.74rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.6rem;
  max-width: 220px;
}

.camera-fallback-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  max-width: 200px;
}

.btn-camera-snap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #e4be5c 0%, #b8924b 100%);
  color: #18181b;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.52rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(184, 146, 75, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-camera-snap:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 146, 75, 0.5);
  filter: brightness(1.05);
}

.camera-snap-arrow {
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.btn-camera-snap:hover .camera-snap-arrow {
  transform: translateX(3px);
}

.btn-camera-gallery {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.48rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-camera-gallery:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.camera-fallback-tip {
  margin-top: 0.45rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Live Camera Controls */
.camera-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.camera-controls-bar .btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #18181b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.camera-controls-bar .btn-icon:hover {
  background: #f4f4f5;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.camera-controls-bar .btn-icon:active {
  transform: scale(0.94);
}

.btn-shutter {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid var(--accent-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(184, 146, 75, 0.35);
  transition: var(--transition-fast);
  animation: shutterPulse 2.2s infinite ease-in-out;
}

@keyframes shutterPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(184, 146, 75, 0.45);
  }
  65% {
    box-shadow: 0 0 0 14px rgba(184, 146, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(184, 146, 75, 0);
  }
}

.btn-shutter:hover {
  transform: scale(1.06);
  border-color: var(--accent-gold-hover);
}

.btn-shutter:active {
  transform: scale(0.94);
}

.btn-shutter-inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.btn-shutter:hover .btn-shutter-inner {
  background-color: var(--accent-gold-hover);
}

.camera-shutter-hint {
  text-align: center;
  margin-top: -0.4rem;
  margin-bottom: 0.95rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-gold-hover, #997530);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  letter-spacing: 0.01em;
  animation: fadeIn 0.3s ease;
}

.upload-fallback-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.88rem;
}

/* Action when selfie ready */
.selfie-search-action-bar {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-find-action {
  width: 100% !important;
  max-width: 360px !important;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  padding: 0.9rem 1.6rem !important;
  border-radius: 9999px !important;
  background: #18181b !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.2s ease !important;
}

.btn-find-action:hover {
  background: #000000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}

.btn-retake-text {
  background: transparent;
  border: none;
  font-size: 0.86rem;
  color: #71717a;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.btn-retake-text:hover {
  color: #18181b;
}

/* FLOW-03: Privacy Notice */
.privacy-notice {
  font-size: 0.78rem;
  color: #71717a;
  line-height: 1.5;
  margin-top: 1.6rem;
  padding: 0.7rem 1.1rem;
  background-color: #fafaf9;
  border: 1px solid #f4f4f5;
  border-radius: 12px;
  display: inline-block;
  text-align: center;
  max-width: 440px;
}

/* ==============================================================================
   MOBILE-FIRST CAMERA EXPERIENCE (body.selfie-camera-active)
   Dynamic viewport sizing (100dvh / 100svh), compact header, safe-area aware
   Ensures camera preview & shutter button are 100% visible without scrolling
   ============================================================================== */
@media (max-width: 768px) {
  body.selfie-camera-active {
    overflow-x: hidden;
  }

  body.selfie-camera-active .editorial-header {
    padding: 0.2rem 0 !important;
    min-height: 40px !important;
    height: auto !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  body.selfie-camera-active .header-inner {
    height: 38px !important;
    min-height: 38px !important;
  }

  body.selfie-camera-active .brand-logo-img {
    height: 24px !important;
  }

  /* Hide non-essential CTA to prioritize camera viewport real estate */
  body.selfie-camera-active #nav-book-btn {
    display: none !important;
  }

  body.selfie-camera-active .discovery-view {
    min-height: calc(100vh - 44px);
    min-height: calc(100svh - 44px);
    min-height: calc(100dvh - 44px);
    padding: 0.35rem 0.65rem max(0.5rem, env(safe-area-inset-bottom, 12px)) 0.65rem !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  body.selfie-camera-active .discovery-container {
    width: 100%;
    max-width: 440px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
  }

  body.selfie-camera-active .selfie-card {
    padding: 0.5rem 0.75rem max(0.5rem, env(safe-area-inset-bottom, 10px)) 0.75rem !important;
    border-radius: 20px !important;
    margin: 0 auto !important;
    width: 100%;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.08) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  body.selfie-camera-active .selfie-card-header {
    margin-bottom: 0.35rem !important;
  }

  body.selfie-camera-active .selfie-header-meta {
    margin-bottom: 0.2rem !important;
    gap: 0.35rem !important;
  }

  body.selfie-camera-active .selfie-step-badge {
    font-size: 0.66rem !important;
    padding: 0.15rem 0.5rem !important;
  }

  body.selfie-camera-active .selfie-card-title {
    font-size: clamp(1.15rem, 3.8vw, 1.35rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 0.15rem !important;
  }

  body.selfie-camera-active .selfie-card-sub {
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.35rem !important;
    max-width: 330px;
  }

  body.selfie-camera-active .camera-preview-container {
    height: clamp(260px, 42vh, 440px) !important;
    height: clamp(260px, 42svh, 440px) !important;
    height: clamp(260px, 42dvh, 440px) !important;
    aspect-ratio: 3 / 4 !important;
    width: auto !important;
    max-width: min(320px, 84vw) !important;
    margin: 0 auto 0.45rem auto !important;
    border-radius: 20px !important;
  }

  body.selfie-camera-active .camera-controls-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem !important;
    margin-bottom: 0.35rem !important;
  }

  body.selfie-camera-active .btn-shutter {
    width: 64px !important;
    height: 64px !important;
  }

  body.selfie-camera-active .btn-shutter-inner {
    width: 48px !important;
    height: 48px !important;
  }

  body.selfie-camera-active .camera-shutter-hint {
    font-size: 0.76rem !important;
    margin-top: -0.15rem !important;
    margin-bottom: 0.45rem !important;
  }

  body.selfie-camera-active .upload-fallback-bar {
    margin-top: 0.3rem !important;
    padding-top: 0.4rem !important;
    gap: 0.45rem !important;
  }

  body.selfie-camera-active .upload-fallback-bar .btn {
    font-size: 0.74rem !important;
    padding: 0.32rem 0.65rem !important;
  }

  body.selfie-camera-active .selfie-search-action-bar {
    margin-top: 0.5rem !important;
    width: 100%;
  }

  body.selfie-camera-active .btn-find-action {
    max-width: 300px !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1.4rem !important;
  }

  body.selfie-camera-active .btn-retake-text {
    font-size: 0.8rem !important;
  }

  body.selfie-camera-active .privacy-notice {
    margin-top: 0.45rem !important;
    padding: 0.45rem 0.75rem !important;
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
    max-width: 330px;
    margin-bottom: max(0.5rem, env(safe-area-inset-bottom, 12px)) !important;
  }
}

/* Extra compact handling for short screens (e.g. iPhone SE landscape or small heights <= 640px) */
@media (max-width: 768px) and (max-height: 640px) {
  body.selfie-camera-active .selfie-card-sub {
    display: none !important;
  }
  body.selfie-camera-active .selfie-card-header {
    margin-bottom: 0.2rem !important;
  }
  body.selfie-camera-active .camera-preview-container {
    height: clamp(240px, 39dvh, 320px) !important;
    margin-bottom: 0.35rem !important;
  }
}

/* FLOW-05: Searching State */
.searching-state-card {
  text-align: center;
  padding: 5rem 2rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
}

.searching-pulse-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--accent-gold-soft);
  margin: 0 auto 2rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.searching-pulse-inner {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(184, 146, 75, 0.4); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 25px rgba(184, 146, 75, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(184, 146, 75, 0); }
}

.searching-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.searching-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==============================================================================
   FLOW-06: iOS PHOTOS LIBRARY GRID EXPERIENCE (5 COLUMNS, DRAG-TO-SELECT, GESTURES)
   ============================================================================== */
.ios-library-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 5.5rem 0;
  -webkit-user-select: none;
  user-select: none;
  scroll-margin-top: 80px;
}

body.results-active .discovery-view {
  padding-top: 0.75rem !important;
}

.ios-library-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.75rem 0.5rem 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 70px;
  z-index: 30;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2px;
}

.ios-library-title-group {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.ios-library-folder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #007aff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  background: rgba(0, 122, 255, 0.09);
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.ios-library-folder-tag svg {
  color: #007aff;
  stroke: #007aff;
}

.ios-library-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #111111;
  margin: 0;
  word-break: break-word;
}

.ios-library-title-divider {
  color: #c7c7cc;
  font-size: 1.25rem;
  vertical-align: middle;
  margin: 0 0.15rem;
}

.ios-library-event-name {
  color: #007aff;
  font-weight: 700;
}

.ios-library-subtitle {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #8e8e93;
  margin-top: 0.35rem;
}

.ios-library-dot {
  font-size: 0.75rem;
  color: #c7c7cc;
}

.ios-library-event-desc {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #636366;
  margin: 0.45rem 0 0 0;
  max-width: 520px;
}

.ios-library-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ios-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f7;
  color: #007aff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.ios-circle-btn:active {
  background: #e5e5ea;
  transform: scale(0.92);
}

.ios-select-pill {
  background: #f2f2f7;
  color: #007aff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-select-pill:active {
  transform: scale(0.94);
}

.ios-select-pill.active {
  background: #007aff;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.ios-select-banner {
  background: rgba(0, 122, 255, 0.08);
  color: #007aff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 0.5px solid rgba(0, 122, 255, 0.15);
  animation: iosFadeIn 0.2s ease;
}

/* 5-Column Photo Wall Grid (Strictly 5 in a row) */
#flow-results #matches-masonry-grid,
.ios-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 2px !important;
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.ios-photo-grid.select-mode-active {
  touch-action: none !important;
}

/* Individual Grid Item (Strictly 1:1 Square) */
.ios-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #e5e5ea;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), filter 0.12s ease;
}

.ios-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ios-grid-item:active {
  filter: brightness(0.9);
}

.ios-grid-item.ios-hold-pop {
  transform: scale(0.92);
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

/* iOS Selection Indicator Badge */
.ios-select-circle {
  display: none;
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease;
}

.select-mode-active .ios-select-circle {
  display: flex;
}

.ios-check-icon {
  display: none;
  color: #ffffff;
}

.ios-grid-item.selected .ios-select-circle {
  background: #007aff;
  border-color: #ffffff;
  transform: scale(1.08);
}

.ios-grid-item.selected .ios-check-icon {
  display: block;
}

.ios-grid-item.selected {
  box-shadow: inset 0 0 0 2px #007aff;
}

.ios-grid-item.selected::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 122, 255, 0.18);
  pointer-events: none;
}

/* Floating iOS Bottom Action Bar */
.ios-bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 0.5px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  animation: iosSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-bottom-bar-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem env(safe-area-inset-bottom, 0.75rem) 0.85rem;
  gap: 0.5rem;
}

.ios-bottom-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: #007aff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.ios-bottom-tool-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ios-bottom-counter {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", -apple-system, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1c1c1e;
  text-align: center;
  flex: 1;
}

.ios-bottom-right-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ios-bottom-pill-btn {
  background: #f2f2f7;
  color: #007aff;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ios-bottom-pill-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.ios-bottom-pill-btn.ios-btn-gold {
  background: #b8924b;
  color: #ffffff;
}

/* iOS Action Sheet for Mobile Long-Press */
.ios-action-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0.75rem env(safe-area-inset-bottom, 0.75rem) 0.75rem;
  animation: iosFadeIn 0.2s ease;
}

.ios-action-sheet {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: iosSheetSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-action-sheet-group {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.ios-action-sheet-header {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
}

.ios-action-sheet-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e5ea;
  flex-shrink: 0;
}

.ios-action-sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ios-action-sheet-info {
  flex: 1;
  overflow: hidden;
}

.ios-action-sheet-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
  color: #1c1c1e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ios-action-sheet-sub {
  font-size: 0.78rem;
  color: #8e8e93;
  margin: 2px 0 0 0;
}

.ios-action-sheet-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #007aff;
  cursor: pointer;
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
  transition: background 0.15s;
}

.ios-action-sheet-btn:last-child {
  border-bottom: none;
}

.ios-action-sheet-btn:active {
  background: rgba(0, 0, 0, 0.05);
}

.ios-action-sheet-btn.ios-action-cancel {
  font-weight: 600;
}

/* Animations */
@keyframes iosSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes iosSheetSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes iosFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes iosToastIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* iOS Toast Notification */
.ios-toast {
  position: fixed;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(28, 28, 30, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 9999px;
  z-index: 1100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: iosToastIn 0.2s ease;
  pointer-events: none;
}

/* Legacy Search Results / Portfolio Grid Fallbacks */
.results-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-hairline);
}

.results-count-title {
  font-size: 2.2rem;
  line-height: 1.1;
}

.results-action-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.matches-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.4rem;
}

.match-photo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}

.match-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.match-photo-card.selected {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 75, 0.35);
}

.match-photo-wrapper {
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--bg-surface-alt);
  overflow: hidden;
}

.match-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.match-photo-card:hover .match-photo-wrapper img {
  transform: scale(1.03);
}

.match-select-checkbox {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 2;
}

.match-photo-card.selected .match-select-checkbox {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

.match-photo-card.selected .match-select-checkbox::after {
  content: '✓';
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.match-similarity-pill {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.match-similarity-pill.high {
  background-color: rgba(184, 146, 75, 0.95);
}

/* FLOW-07: No Match */
.no-match-card {
  text-align: center;
  padding: 4.5rem 2rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  max-width: 580px;
  margin: 0 auto;
}

.no-match-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
}

.no-match-title {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.no-match-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.no-match-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ==============================================================================
   FLOW-09: PHOTO PREVIEW LIGHTBOX
   ============================================================================== */
.editorial-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: radial-gradient(circle at 50% 30%, rgba(28, 28, 34, 0.96) 0%, rgba(10, 10, 12, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  box-sizing: border-box;
}

.editorial-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 92vw;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: min(85vw, 680px);
  margin-bottom: 0.75rem;
}

.lightbox-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.lightbox-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold, #b8924b);
}

.lightbox-counter-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 100%;
  max-height: calc(82vh - 110px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: calc(82vh - 110px);
  object-fit: contain;
  display: block;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(28, 28, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  padding: 0;
}

.lightbox-prev-btn {
  left: 14px;
}

.lightbox-next-btn {
  right: 14px;
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.lightbox-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
  background: rgba(24, 24, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.42rem 0.65rem;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  box-sizing: border-box;
}

.lightbox-btn-download {
  background: linear-gradient(135deg, #c59b4e 0%, #dfb768 100%);
  color: #121214;
  font-weight: 700;
  padding: 0.62rem 1.2rem;
  box-shadow: 0 4px 14px rgba(197, 155, 78, 0.35);
}

.lightbox-btn-download:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197, 155, 78, 0.45);
}

.lightbox-btn-download:active {
  transform: scale(0.97);
}

.lightbox-btn-share {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.62rem 1.05rem;
}

.lightbox-btn-share:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.lightbox-btn-share:active {
  transform: scale(0.97);
}

.lightbox-btn-select {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.62rem 1.05rem;
}

.lightbox-btn-select:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.lightbox-btn-select.active {
  background: #059669;
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

/* ==============================================================================
   P1: PACKAGES & BOOKING SYSTEM
   ============================================================================== */
.packages-view {
  padding: 4rem 0 6rem 0;
}

.packages-grid-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  margin-top: 3.5rem;
  align-items: stretch;
}

.package-card-editorial {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.6rem 2.2rem 2.2rem 2.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  box-sizing: border-box;
}

.package-card-editorial:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.4);
}

.package-card-editorial.featured {
  border-color: var(--accent-gold);
  box-shadow: 0 16px 36px -10px rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 18%);
}

.package-badge-top {
  position: absolute;
  top: -13px;
  left: 2rem;
  background: linear-gradient(135deg, #d4af37 0%, #aa8214 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.package-card-header {
  min-height: 98px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.package-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  color: #0f172a;
}

.package-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.package-price-row {
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #f1f3f7;
}

.package-price-val {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.package-duration {
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.45rem;
  display: flex;
  align-items: center;
}

/* Quote Mode (when pricing is hidden) */
.package-price-quote-mode {
  justify-content: flex-start;
}

.package-quote-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fdf8eb;
  border: 1px solid #f5df9e;
  color: #996e00;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 0.35rem;
}

.quote-sparkle {
  font-size: 0.8rem;
}

.package-quote-val {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.package-features-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

.package-features-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.package-features-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.package-features-list li {
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.feat-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdf8eb;
  color: #b48512;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.feat-lead {
  font-weight: 600;
  color: #0f172a;
}

.package-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

.select-package-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

/* 4-Step Booking Wizard */
.booking-wizard-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.booking-form-box {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-step-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-hairline);
}

.form-step-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-step-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.form-step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-gold-soft);
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: #111827;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1.05rem;
  padding-right: 2.75rem;
  cursor: pointer;
}

.book-type-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.book-type-icon-badge {
  position: absolute;
  left: 14px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.book-type-input-wrapper:focus-within .book-type-icon-badge {
  color: var(--accent-gold);
}

.book-type-icon-badge svg {
  display: block;
}

/* Booking Option Cards */
.booking-pkg-option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.35rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0.75rem;
}

.booking-pkg-option-card:hover {
  border-color: #cbd5e1;
  background: #fafbfc;
  transform: translateY(-1px);
}

.booking-pkg-option-card.active {
  border-color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.06);
}

.booking-pkg-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.booking-radio-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #0f172a;
}

.booking-pkg-name-text {
  font-weight: 700;
  font-size: 0.98rem;
  color: #0f172a;
}

.booking-pkg-dur-text {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

.booking-pkg-price-val {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
}

.booking-pkg-quote-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #996e00;
  background: #fdf8eb;
  border: 1px solid #f5df9e;
  padding: 3px 10px;
  border-radius: 20px;
}

.booking-addon-option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0.6rem;
}

.booking-addon-option-card:hover {
  border-color: #cbd5e1;
  background: #fafbfc;
}

.booking-addon-option-card.active {
  border-color: var(--accent-gold);
  background: #fdfbf5;
}

.booking-addon-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.booking-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent-gold);
}

.booking-addon-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

.booking-addon-price {
  font-weight: 700;
  font-size: 0.92rem;
  color: #b48512;
}

.booking-addon-quote {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==============================================================================
   BEAUTIFIED RESERVATION CART (.booking-summary-sticky)
   ============================================================================== */
.booking-summary-sticky {
  position: sticky;
  top: 96px;
  background-color: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #eceff3;
  padding: 2.2rem;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.07);
}

.cart-header-box {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #f1f3f7;
  margin-bottom: 1.25rem;
}

.cart-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #996e00;
  background: #fdf8eb;
  border: 1px solid #f5df9e;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.cart-pulse-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 9px;
  border-radius: 20px;
}

.cart-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

.cart-main-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0.35rem 0 0.2rem 0;
}

.cart-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.cart-event-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid #f1f3f7;
}

.cart-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
}

.cart-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.cart-package-box {
  background: #fafafb;
  border: 1px solid #f1f3f7;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.cart-pkg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.cart-pkg-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.cart-pkg-duration {
  font-size: 0.78rem;
  color: #64748b;
  display: inline-flex;
  align-items: center;
}

.cart-pkg-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: #d4af37;
  color: #fff;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.cart-pkg-price {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.cart-quote-badge {
  background: #fdf8eb;
  color: #996e00;
  border: 1px solid #f5df9e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-addons-section {
  margin-bottom: 1.35rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1f3f7;
}

.cart-count-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 7px;
  border-radius: 6px;
}

.cart-empty-addons {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  padding: 0.25rem 0;
}

.cart-addon-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  color: #334155;
}

.cart-addon-item-name {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.cart-addon-item-price {
  font-weight: 700;
  color: #b48512;
}

.cart-addon-quote-tag {
  font-size: 0.75rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 2px 7px;
  border-radius: 4px;
}

.cart-total-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 22px -4px rgba(15, 23, 42, 0.2);
}

.cart-total-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.cart-total-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
}

.cart-total-amount {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: #facc15;
  white-space: nowrap;
  line-height: 1;
}

.cart-quote-hero {
  font-size: 1.25rem;
  font-weight: 700;
  color: #facc15;
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

.cart-trust-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fafbfc;
  border: 1px solid #f1f3f7;
  border-radius: 12px;
  padding: 1rem 1.15rem;
}

.cart-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
}

.trust-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* ==============================================================================
   DISCRETE ADMIN SUITE
   ============================================================================== */
.admin-overlay-view {
  display: none;
  min-height: calc(100vh - 70px);
  padding: 3rem 0;
  background-color: var(--bg-surface);
}

.admin-suite-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.admin-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 1.2rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.admin-nav-tabs .btn-sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==============================================================================
   RESPONSIVE DESIGN (390px, 768px, 1024px, 1440px)
   ============================================================================== */
@media (max-width: 1024px) {
  .hero-headline { font-size: 3.2rem; }
  .packages-grid-editorial { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .package-card-header { min-height: auto; }
  .package-price-row { min-height: auto; }
  .booking-wizard-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .booking-summary-sticky { position: static; max-width: 600px; margin: 0 auto; width: 100%; box-sizing: border-box; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-metrics-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-left: 1.15rem; padding-right: 1.15rem; }
  .nav-menu, .header-actions .btn-secondary { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-headline { font-size: 2.8rem; }
  .packages-grid-editorial { max-width: 100%; gap: 1.75rem; }
  .package-card-editorial { padding: 2.2rem 1.4rem 1.6rem 1.4rem; border-radius: 16px; }
  .package-title { font-size: 1.55rem; }
  .package-price-val { font-size: 2.2rem; }
  .package-quote-val { font-size: 1.75rem; }
  .booking-form-box { padding: 1.6rem 1.25rem; border-radius: 16px; }
  .booking-summary-sticky { padding: 1.6rem 1.25rem; border-radius: 16px; }
  .cart-total-box { padding: 1rem 1.15rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .cart-total-amount { font-size: 1.65rem; }
  .find-entry-section { padding: 2.25rem 0; }
  .find-entry-card {
    grid-template-columns: 1fr;
    padding: 1.85rem 1.4rem;
    gap: 1.6rem;
    border-radius: 20px;
  }
  .find-entry-title {
    font-size: 1.75rem;
    line-height: 1.25;
    margin-top: 0.25rem;
    margin-bottom: 0.55rem;
  }
  .find-entry-desc {
    font-size: 0.94rem;
    line-height: 1.55;
  }
  .home-active-events-block {
    margin-top: 1.1rem;
    padding-top: 0.95rem;
  }
  .home-active-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
  }
  .home-chips-layout {
    gap: 0.45rem;
  }
  .home-chips-layout .event-chip {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
  }
  .home-chips-layout .event-chip-title {
    max-width: 150px;
  }
  .find-entry-form-group { width: 100%; }
  .home-search-capsule {
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: var(--radius-full);
    padding: 0.32rem 0.35rem 0.32rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .home-search-hash {
    font-size: 1.15rem;
    margin-right: 0.35rem;
  }
  .home-search-input {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
  .home-search-capsule .home-search-btn {
    width: auto !important;
    padding: 0.62rem 1.15rem !important;
    font-size: 0.84rem !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
  .home-search-hint {
    font-size: 0.76rem;
    padding-left: 0.3rem;
  }
  .steps-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step-divider-line { display: none; }
  .demo-cards-grid { grid-template-columns: 1fr; }
  .event-types-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .proof-metrics-bar { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .final-cta-headline { font-size: 2.5rem; }
  .form-row { flex-direction: column; gap: 1rem; }
  .matches-masonry-grid:not(.ios-photo-grid) { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  #flow-results #matches-masonry-grid,
  .ios-photo-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 2px !important; }
  .ios-library-title { font-size: 1.35rem; }
  .ios-library-header { padding: 0.6rem 0.5rem 0.75rem 0.5rem; }
  body.results-active .discovery-view { padding: 0.5rem 0 3.5rem 0 !important; }
  .discovery-view { padding: 1.8rem 0 3.5rem 0; }
  .discovery-container { padding: 0 1.15rem; }
  .event-landing-card {
    padding: 2.2rem 1.4rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.06);
  }
  .event-landing-title { font-size: 2rem; }
  .event-select-title { font-size: 1.85rem; line-height: 1.25; margin-top: 0.35rem; margin-bottom: 0.55rem; }
  .event-select-desc { font-size: 0.92rem; line-height: 1.55; margin-bottom: 1.6rem; }
  .event-code-input-wrapper {
    padding: 0.3rem 0.35rem 0.3rem 0.95rem;
  }
  .event-code-hash { font-size: 1.15rem; margin-right: 0.35rem; }
  .event-code-input-field { font-size: 0.9rem; padding: 0.4rem 0; }
  .event-code-input-wrapper .btn {
    padding: 0.58rem 1rem !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 480px) {
  .container { padding-left: 0.85rem; padding-right: 0.85rem; }
  .brand-logo-img { height: 28px; }
  .hero-headline { font-size: 2.2rem; }
  .section-headline { font-size: 2rem; }
  .matches-masonry-grid:not(.ios-photo-grid) { grid-template-columns: 1fr; }
  #flow-results #matches-masonry-grid,
  .ios-photo-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 2px !important; }
  .ios-library-title { font-size: 1.15rem; }
  .ios-library-subtitle { font-size: 0.78rem; }
  body.results-active .discovery-container { padding: 0 2px !important; }
  body.results-active .discovery-view { padding: 0.25rem 0 2.5rem 0 !important; }
  .event-landing-title { font-size: 1.65rem; }
  .event-select-title { font-size: 1.55rem !important; line-height: 1.22; margin-top: 0.25rem; margin-bottom: 0.45rem; }
  .event-select-desc { font-size: 0.88rem !important; line-height: 1.5; margin-bottom: 1.35rem !important; }
  .discovery-container { padding: 0 0.85rem; }
  .event-landing-card {
    padding: 1.5rem 1rem;
    border-radius: 18px;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.06);
  }
  .discovery-view { padding: 0.85rem 0 2.5rem 0; }
  .selfie-card {
    padding: 1rem 0.85rem;
    border-radius: 20px;
    margin: 0 auto;
  }
  .selfie-card-header {
    margin-bottom: 0.5rem;
  }
  .selfie-header-meta {
    margin-bottom: 0.25rem;
  }
  .selfie-card-title {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
  }
  .selfie-card-sub {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 0.25rem;
  }
  .camera-preview-container {
    height: clamp(260px, 42vh, 440px);
    height: clamp(260px, 42svh, 440px);
    height: clamp(260px, 42dvh, 440px);
    aspect-ratio: 3/4;
    max-width: min(320px, 84vw);
    margin: 0 auto 0.5rem auto;
    border-radius: 20px;
  }
  .camera-controls-bar {
    gap: 1.15rem;
    margin-bottom: 0.45rem;
  }
  .btn-shutter {
    width: 64px;
    height: 64px;
  }
  .btn-shutter-inner {
    width: 48px;
    height: 48px;
  }
  .camera-shutter-hint {
    font-size: 0.76rem;
    margin-bottom: 0.5rem;
  }
  .find-entry-card {
    padding: 1.35rem 1rem;
    border-radius: 18px;
    gap: 1.25rem;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.06);
  }
  .find-entry-title {
    font-size: 1.55rem;
    line-height: 1.22;
    margin-top: 0.2rem;
    margin-bottom: 0.45rem;
  }
  .find-entry-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .home-active-events-block {
    margin-top: 0.95rem;
    padding-top: 0.8rem;
  }
  .home-active-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
  }
  .home-chips-layout {
    gap: 0.4rem;
  }
  .home-chips-layout .event-chip {
    padding: 0.32rem 0.72rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  .home-chips-layout .event-chip-title {
    max-width: 125px;
  }
  .home-search-capsule {
    padding: 0.28rem 0.3rem 0.28rem 0.85rem !important;
  }
  .home-search-hash {
    font-size: 1.05rem;
    margin-right: 0.25rem;
  }
  .home-search-input {
    font-size: 0.84rem;
    padding: 0.38rem 0;
  }
  .home-search-input::placeholder {
    font-size: 0.82rem;
  }
  .home-search-capsule .home-search-btn {
    padding: 0.58rem 0.92rem !important;
    font-size: 0.8rem !important;
    gap: 0.3rem !important;
  }
  .home-search-hint {
    font-size: 0.73rem;
    padding-left: 0.25rem;
  }
  .event-code-input-wrapper {
    padding: 0.28rem 0.3rem 0.28rem 0.85rem !important;
    margin: 1rem auto 1.5rem auto !important;
  }
  .event-code-hash {
    font-size: 1.05rem;
    margin-right: 0.25rem;
  }
  .event-code-input-field {
    font-size: 0.84rem;
    padding: 0.38rem 0;
  }
  .event-code-input-field::placeholder {
    font-size: 0.82rem;
  }
  .event-code-input-wrapper .btn {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.8rem !important;
    gap: 0.3rem !important;
  }
  .event-chip {
    padding: 0.32rem 0.72rem;
    font-size: 0.78rem;
    gap: 0.28rem;
  }
  .event-chip-title {
    max-width: 125px;
  }
  .editorial-lightbox {
    padding: 0.85rem 0.65rem 1.2rem 0.65rem;
  }
  .lightbox-content {
    max-width: 96vw;
  }
  .lightbox-header-bar {
    max-width: 94vw;
    margin-bottom: 0.55rem;
  }
  .lightbox-meta-badge {
    font-size: 0.7rem;
    padding: 0.22rem 0.65rem;
  }
  .lightbox-close-btn {
    width: 32px;
    height: 32px;
  }
  .lightbox-img-wrapper {
    max-height: calc(80vh - 100px);
    border-radius: 16px;
  }
  .lightbox-img-wrapper img {
    max-height: calc(80vh - 100px);
  }
  .lightbox-counter-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.6rem;
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-prev-btn {
    left: 8px;
  }
  .lightbox-next-btn {
    right: 8px;
  }
  .lightbox-actions-bar {
    gap: 0.4rem;
    padding: 0.35rem 0.45rem;
    margin-top: 0.85rem;
  }
  .lightbox-btn {
    font-size: 0.78rem;
    padding: 0.55rem 0.82rem;
    gap: 0.32rem;
  }
  .lightbox-btn-download {
    padding: 0.55rem 0.95rem;
  }
}

@media (max-width: 350px) {
  .home-search-capsule {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 16px !important;
    padding: 0.65rem !important;
    gap: 0.5rem !important;
  }
  .home-search-capsule .home-search-btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .event-code-input-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 16px !important;
    padding: 0.65rem !important;
    gap: 0.5rem !important;
  }
  .event-code-input-wrapper .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .home-chips-layout .event-chip-title,
  .event-chip-title {
    max-width: 100px;
  }
}

/* ==============================================================================
   MULTI-EVENT & CLOUD STORAGE ENHANCEMENTS
   ============================================================================== */
.event-code-input-wrapper {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-full);
  padding: 0.32rem 0.35rem 0.32rem 1.1rem;
  max-width: 440px;
  width: 100%;
  margin: 1.2rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.event-code-input-wrapper:focus-within {
  border-color: #18181b;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.event-code-hash {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold, #b8924b);
  margin-right: 0.35rem;
  user-select: none;
  flex-shrink: 0;
}

.event-code-input-field {
  flex: 1 1 0%;
  min-width: 0 !important;
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  outline: none;
  padding: 0.45rem 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-sizing: border-box;
}

.event-code-input-field::placeholder {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.88rem;
}

.event-code-input-wrapper .btn {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  border-radius: var(--radius-full) !important;
  padding: 0.58rem 1.05rem !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  gap: 0.35rem !important;
}

.active-event-chips-wrapper {
  margin: 1rem auto 1.5rem auto;
  text-align: center;
  max-width: 520px;
}

.active-event-chips-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.active-event-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.88rem;
  background-color: var(--bg-surface-alt, #fafaf9);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

.event-chip-hash {
  color: var(--accent-gold, #b8924b);
  font-weight: 700;
  flex-shrink: 0;
}

.event-chip-code {
  font-weight: 500;
  flex-shrink: 0;
}

.event-chip-dot {
  color: rgba(0, 0, 0, 0.25);
  margin: 0 0.1rem;
  flex-shrink: 0;
}

.event-chip-title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.event-chip:hover {
  background-color: #18181b;
  border-color: #18181b;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.event-chip:hover .event-chip-hash {
  color: var(--accent-gold, #b8924b);
}

.event-chip:hover .event-chip-dot {
  color: rgba(255, 255, 255, 0.4);
}

.event-chip.active {
  background-color: rgba(184, 146, 75, 0.1) !important;
  border-color: var(--accent-gold, #b8924b) !important;
  color: #18181b !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(184, 146, 75, 0.15);
}

.event-chip.active .event-chip-hash {
  color: var(--accent-gold, #b8924b) !important;
}

/* FLOW: Event Not Found Recovery */
.event-not-found-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.event-not-found-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.event-not-found-title {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.event-not-found-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

/* Admin Event Manager Grid */
.admin-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.admin-event-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-event-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.admin-event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.admin-event-code {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: var(--font-mono, monospace);
}

.admin-event-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.admin-event-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.admin-event-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.gdrive-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.gdrive-status-active {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.gdrive-status-fallback {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==============================================================================
   STANDALONE PRINT STYLES FOR QR STANDEE CARDS
   ============================================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  body * {
    visibility: hidden;
  }
  #admin-qr-standee-card, #admin-qr-standee-card * {
    visibility: visible;
  }
  #admin-qr-standee-card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4.8in !important;
    max-width: 100% !important;
    border: 2px solid #b8924b !important;
    box-shadow: none !important;
    padding: 2.2rem 1.6rem !important;
    page-break-inside: avoid;
  }
}

