/* ==============================================================================
   Kuwadzana Funeral Services - Ultra-Modern 2026 Design System
   Brand Identity: Sea Water Enterprise (Pvt) Ltd (Est. 1997)
   Corporate Navy: #13305f | Accent Royal: #1a73e8 | Accent Gold: #c59b27
   ============================================================================== */

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

:root {
  /* Brand Tokens - Exact Kuwadzana Corporate Palette */
  --brand-navy: #13305f;
  --brand-navy-dark: #071326;
  --brand-navy-light: #1e4584;
  --brand-blue-accent: #2563eb;
  --brand-gold: #c59b27;
  --brand-gold-light: #fbeea4;
  --brand-crimson: #d93025;
  --brand-green: #10b981;

  /* Phenomenon Studio CBDC Luxury Web Design Tokens */
  --cbdc-bg: #060b17;
  --cbdc-bg-alt: #091326;
  --cbdc-card: rgba(12, 23, 44, 0.78);
  --cbdc-card-hover: rgba(16, 31, 58, 0.90);
  --cbdc-border: rgba(255, 255, 255, 0.09);
  --cbdc-border-hover: rgba(197, 155, 39, 0.45);
  --cbdc-border-glow: rgba(37, 99, 235, 0.40);
  --cbdc-gold: #c59b27;
  --cbdc-gold-bright: #f5be38;

  /* Modern Layered Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
  --shadow-gold-glow: 0 0 35px rgba(197, 155, 39, 0.22);
}

/* Base Document Setup - Phenomenon Studio Dark Atmosphere */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e2e8f0;
  background-color: var(--cbdc-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #060b17;
  color: #e2e8f0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(197, 155, 39, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.10) 0%, transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(197, 155, 39, 0.09) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Modern Dynamic Ambient Mesh Background */
.modern-hero-mesh {
  background-color: #060b17;
  background-image: 
    radial-gradient(at 10% 20%, rgba(30, 69, 132, 0.5) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(19, 48, 95, 0.6) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(37, 99, 235, 0.20) 0px, transparent 55%),
    radial-gradient(at 80% 80%, rgba(197, 155, 39, 0.12) 0px, transparent 40%),
    linear-gradient(180deg, #060b17 0%, #091326 50%, #0d1a33 100%);
}

/* Subtle High-Tech Blueprint Grid */
.cbdc-grid-overlay {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

section[id] {
  scroll-margin-top: 110px;
}

/* Floating Phenomenon CBDC Glass Nav Bar */
.cbdc-nav-bar {
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glass-pill {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
}

.glass-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.30);
  transform: translateY(-1px);
}

/* Gradient Text Presets */
.gradient-text-gold {
  background: linear-gradient(135deg, #fbeea4 0%, #e5be53 50%, #c59b27 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #93c5fd 0%, #3b82f6 50%, #1d4ed8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Phenomenon Studio CBDC Bento Card System */
.bento-card {
  background: rgba(12, 23, 44, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  color: #f1f5f9;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 155, 39, 0.45);
  border-top-color: rgba(245, 190, 56, 0.65);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.75), 0 0 30px rgba(197, 155, 39, 0.16);
}

.bento-card-dark {
  background: linear-gradient(135deg, rgba(9, 18, 36, 0.92) 0%, rgba(19, 48, 95, 0.90) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card-dark:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 155, 39, 0.5);
  box-shadow: 0 32px 65px -15px rgba(0, 0, 0, 0.85), 0 0 35px rgba(197, 155, 39, 0.22);
}

/* Subtle Animated Shimmer for Badges */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.badge-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.05) 100%);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}

/* Pulsing 24/7 Live Status Dot */
.pulse-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-indicator::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.5);
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Floating Mobile Pill Dock (iOS/Modern Android Style) */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 999;
  background-color: rgba(7, 19, 38, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 10px;
  border-radius: 9999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  .floating-mobile-bar {
    display: flex;
    gap: 8px;
  }
  body {
    padding-bottom: 90px;
  }
}

/* Modern Gallery Cards */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  background-color: #0b1a33;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -5px rgba(19, 48, 95, 0.2);
  border-color: rgba(19, 48, 95, 0.4);
}

.gallery-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 19, 38, 0.95) 0%, rgba(7, 19, 38, 0.4) 50%, transparent 100%);
  opacity: 0.92;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

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

/* Toast Notifications Container */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.45;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-success {
  background-color: #062b14;
  color: #d1fae5;
  border: 1px solid #22c55e;
}

.toast-error {
  background-color: #3b0d0d;
  color: #fee2e2;
  border: 1px solid #ef4444;
}

.toast-info {
  background-color: #0b2247;
  color: #e0f2fe;
  border: 1px solid #3b82f6;
}

@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modal Overlay & Transitions */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(4, 10, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

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

.modal-content {
  background: rgba(11, 22, 44, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: #f1f5f9;
  border-radius: 28px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

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

/* Phenomenon Studio CBDC Form Controls */
.cbdc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  outline: none;
}

.cbdc-input:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #c59b27;
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.25);
}

.cbdc-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

select.cbdc-input option {
  background-color: #0b182e;
  color: #ffffff;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(3, 8, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

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

.lightbox-content {
  max-width: 960px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lightbox-img {
  max-height: 56vh;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lightbox-meta-card {
  width: 100%;
  margin-top: 14px;
  background: rgba(11, 22, 44, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 18px 24px;
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

/* Google Map Responsive Aspect Ratio */
.map-responsive {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 24px;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: 0;
}

/* Print Styles */
@media print {
  .floating-mobile-bar,
  #toast-container,
  nav,
  .no-print {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
}

/* ==============================================================================
   Virtual 3D Showroom Component Styles
   ============================================================================== */
.showroom-stage {
  position: relative;
  background: #071326;
  height: clamp(420px, 75vh, 760px);
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 24px;
}
.showroom-stage:fullscreen {
  height: 100vh;
  border-radius: 0;
}
.showroom-stage.dragging {
  cursor: grabbing;
}
.showroom-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.showroom-stage.ready canvas {
  opacity: 1;
}
.showroom-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(7, 19, 38, 0.45) 100%);
  border-radius: inherit;
}

/* Interactive 3D Hotspots */
.showroom-hot {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(197, 155, 39, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 10;
  transition: all 0.2s ease;
}
.showroom-hot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
}
.showroom-hot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(251, 238, 164, 0.75);
  animation: showroom-ring 2.4s ease-out infinite;
}
.showroom-hot.active {
  background: #ffffff;
  border-color: #c59b27;
}
.showroom-hot.active::before {
  background: #c59b27;
}
.showroom-hot .tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #071326;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease;
}
.showroom-hot:hover .tip,
.showroom-hot:focus-visible .tip {
  opacity: 1;
}
@keyframes showroom-ring {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .showroom-hot::after { animation: none; }
}

/* Welcome Overlay */
.showroom-welcome {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: rgba(7, 19, 38, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  transition: opacity 0.45s ease;
  border-radius: inherit;
}
.showroom-welcome.gone {
  opacity: 0;
  pointer-events: none;
}

/* Floating Stage Controls */
.showroom-controls {
  position: absolute;
  right: 16px;
  top: 16px;
  display: flex;
  gap: 8px;
  z-index: 15;
}
.showroom-controls button {
  height: 42px;
  min-width: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(19, 48, 95, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.showroom-controls button:hover {
  background: #c59b27;
  color: #071326;
  border-color: #c59b27;
}

/* Viewport Track Indicator */
.showroom-track {
  position: absolute;
  left: 20px;
  top: 26px;
  width: min(220px, 35%);
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  z-index: 15;
  overflow: hidden;
}
.showroom-track span {
  position: absolute;
  top: 0;
  height: 100%;
  background: #c59b27;
  border-radius: 3px;
}

/* Guided Tour Bottom Floating Card */
.showroom-card {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  background: rgba(7, 19, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  border-radius: 20px;
  padding: 20px 22px 18px;
  z-index: 15;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(197, 155, 39, 0.35);
}
.showroom-card[hidden] {
  display: none;
}
.showroom-card .step {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5be53;
  margin: 0;
}
.showroom-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 2px 0 3px;
  color: #ffffff;
}
.showroom-card p.d {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #cbd5e1;
}
.showroom-card .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.showroom-card .row .btn-tour {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.showroom-card .row .btn-tour:hover {
  background: rgba(255, 255, 255, 0.2);
}
.showroom-card .row .btn-tour.primary {
  background: #c59b27;
  color: #071326;
  border-color: #c59b27;
}
.showroom-card .row .btn-tour.primary:hover {
  background: #e5be53;
}
.showroom-card .bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-top: 14px;
  overflow: hidden;
}
.showroom-card .bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #c59b27;
  transition: width 0.1s linear;
}

/* Product Details Slide-over Drawer */
.showroom-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: min(440px, 100%);
  background: #ffffff;
  color: #0f172a;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.3);
}
.showroom-panel.open {
  transform: none;
}
.showroom-panel .crop {
  height: 240px;
  background-color: #071326;
  background-repeat: no-repeat;
  flex: none;
  position: relative;
}
.showroom-panel .crop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.5) 100%);
}
.showroom-panel .body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.showroom-panel .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(7, 19, 38, 0.85);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.showroom-panel .close:hover {
  background: #c59b27;
  color: #071326;
}
.showroom-scrim {
  position: fixed;
  inset: 0;
  background: rgba(7, 19, 38, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.showroom-scrim.show {
  opacity: 1;
  pointer-events: auto;
}

/* Fallback Flat Panorama Mode */
.showroom-fallback {
  position: absolute;
  inset: 0;
  overflow-x: auto;
  display: none;
}
.showroom-fallback img {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}
.showroom-stage.flat .showroom-fallback {
  display: block;
}
.showroom-stage.flat canvas,
.showroom-stage.flat .showroom-controls,
.showroom-stage.flat .showroom-track {
  display: none;
}
