/* ============================================================
   BIG LIFESTYLE — BOOK AT BIG gateway (book-gate.css)
   Modal styling for assets/js/book-gate.js [data-book-gate] triggers.
   Self-contained brand values (no dependency on page-level vars)
   so the gate renders identically on homepage, dept pages and blog.
   Design language matches .master-gate modal (dept-core.css).
   ============================================================ */

.book-gate { position: fixed; inset: 0; z-index: 350; display: none; }
.book-gate.open { display: flex; align-items: center; justify-content: center; padding: 20px; }

.book-gate-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.book-gate-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: #121212;
  border: 1px solid rgba(197,165,94,0.25);
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.75);
  text-align: center;
  font-family: 'Inter', sans-serif;
  animation: bookgate-in 0.28s ease-out;
}
@keyframes bookgate-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .book-gate-panel { animation: none; } }

.book-gate-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 34px; height: 34px;
  background: rgba(10,10,10,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: #8A8580; cursor: pointer;
  font-size: 14px; line-height: 1;
}
.book-gate-close:hover { color: #F5F0E8; border-color: #F5F0E8; }

.book-gate-eyebrow {
  margin: 40px 24px 0;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: #C5A55E; font-weight: 600;
}
.book-gate-title {
  margin: 10px 24px 0;
  font-family: 'Cinzel', serif;
  font-size: 26px; font-weight: 700; letter-spacing: 1px;
  color: #F5F0E8;
  text-transform: uppercase;
}
.book-gate-sub {
  margin: 10px 24px 0;
  font-size: 13.5px; font-weight: 300; line-height: 1.65;
  color: #8A8580;
}

.book-gate-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 26px 24px 0;
}
.book-gate-dept {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 118px; padding: 18px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  text-decoration: none;
  color: #F5F0E8;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.book-gate-dept img { width: 44px; height: 44px; object-fit: contain; display: block; }
.book-gate-dept span {
  font-family: 'Cinzel', serif;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F5F0E8;
}
.book-gate-dept:hover {
  border-color: var(--dc, #C5A55E);
  background: rgba(255,255,255,0.045);
  transform: translateY(-2px);
}
.book-gate-dept:hover span { color: var(--dc, #C5A55E); }
.book-gate-dept:focus-visible { outline: 2px solid var(--dc, #C5A55E); outline-offset: 2px; }

.book-gate-note {
  margin: 22px 24px 30px;
  font-size: 11.5px; font-weight: 300; line-height: 1.6;
  color: #8A8580;
}

@media (max-width: 480px) {
  .book-gate.open { padding: 12px; align-items: flex-end; }
  .book-gate-panel { max-height: 92vh; }
  .book-gate-eyebrow { margin-top: 32px; }
  .book-gate-title { font-size: 21px; }
  .book-gate-grid { grid-template-columns: 1fr; margin-top: 22px; gap: 10px; }
  .book-gate-dept { flex-direction: row; justify-content: flex-start; min-height: 0; padding: 14px 16px; }
  .book-gate-dept img { width: 34px; height: 34px; }
  .book-gate-note { margin-bottom: 24px; }
}
