/*
 * Steam Wine Bar - GHL popup styling
 * Phase 4 booking system. Matches the Steam brand:
 *   burgundy #722F37, gold #C5A258, off white #FAF8F5, charcoal #2C2C2C
 * Version: 1.0.0 (2026-04-08)
 */

.steam-ghl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 12, 14, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.steam-ghl-overlay.is-open {
  display: flex;
  animation: steamGhlFadeIn 0.22s ease-out;
}

@keyframes steamGhlFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.steam-ghl-panel {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: min(90vh, 760px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateY(10px);
  animation: steamGhlRise 0.28s ease-out forwards;
}

@keyframes steamGhlRise {
  to { transform: translateY(0); }
}

.steam-ghl-head {
  background: #722F37;
  color: #ffffff;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #C5A258;
  flex-shrink: 0;
}

.steam-ghl-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
}

.steam-ghl-close {
  background: transparent;
  border: none;
  color: #C5A258;
  font-size: 1.75rem;
  font-weight: 400;
  cursor: pointer;
  width: 2.25rem;
  height: 2.25rem;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.steam-ghl-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.steam-ghl-close:focus-visible {
  outline: 2px solid #C5A258;
  outline-offset: 2px;
}

.steam-ghl-frame {
  flex: 1 1 auto;
  width: 100%;
  min-height: 560px;
  border: none;
  background: #FAF8F5;
  display: block;
}

.steam-ghl-fallback {
  padding: 2.5rem 2rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #2C2C2C;
  text-align: center;
  background: #FAF8F5;
  overflow: auto;
}

.steam-ghl-fb-inner h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.35rem;
  color: #722F37;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.steam-ghl-fb-inner p {
  margin: 0.5rem 0;
  line-height: 1.55;
  color: #4a4a4a;
}

.steam-ghl-fb-inner strong {
  color: #722F37;
}

@media (max-width: 640px) {
  .steam-ghl-panel {
    max-width: 100%;
    max-height: 94vh;
    border-radius: 0;
  }
  .steam-ghl-frame { min-height: 520px; }
  .steam-ghl-title { font-size: 0.9rem; letter-spacing: 0.08em; }
}
