/* wedding-collections.css
   Page-specific styles for /wedding-collections.html.
   Loaded AFTER destination.css. We deliberately do NOT restyle .collection-card
   / .rec-card / .content-grid — the destination.css "APP-STYLE GRID TILES"
   rules own those so the page matches the destination-detail design exactly.
   This file only: tab show/hide, guest navbar/mobile-menu (no auth script
   here), tier-pill colors, and the lightweight rec-detail modal extras. */

/* ── Bulletproof tab show/hide ── */
.wc-hidden { display: none !important; }

/* ── Auth-aware navbar (firebase toggles body.authenticated) ──
   Guests see the guest nav; logged-in users see the app nav + profile, so
   visiting this page never feels like being logged out. The notification
   bell is hidden here (no notification code on this page). */
.notification-container { display: none !important; }
/* Hide app chrome for guests */
body:not(.authenticated) .nav-left,
body:not(.authenticated) .nav-save-rec,
body:not(.authenticated) .profile-container { display: none !important; }
/* Hide guest chrome for logged-in users */
body.authenticated .guest-nav-left,
body.authenticated .guest-nav-actions { display: none !important; }
/* Show guest nav for guests (destination.css default-hides guest-nav-left) */
body:not(.authenticated) .guest-nav-left { display: flex !important; }
body:not(.authenticated) .guest-nav-actions { display: flex !important; }

/* Guest action button styles (ported from destination.html's inline <style>;
   destination.css only ships .guest-login-btn, so without these the Sign Up
   button renders unstyled and the pair looks "reversed"). */
.guest-nav-actions { gap: 10px; align-items: center; }
.guest-login-btn {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.guest-login-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.guest-signup-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #0066ff, #c27aff);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  text-decoration: none;
}
.guest-signup-btn:hover {
  box-shadow: 0 0 12px rgba(194, 122, 255, 0.6), 0 0 6px rgba(0, 102, 255, 0.6);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

/* Guest mobile menu: hidden by default, shown when hamburger checked.
   (destination.html sets this in an inline <style>; replicate it here.) */
.guest-mobile-menu {
  display: none !important;
  flex-direction: column;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px 24px;
  gap: 18px;
  border-top: 1px solid rgba(0, 14, 51, 0.08);
  box-shadow: 0 18px 40px rgba(0, 14, 51, 0.12);
  box-sizing: border-box;
  z-index: 1200;
}
.menu-toggle:checked ~ .guest-mobile-menu { display: flex !important; }
@media (max-width: 768px) {
  .guest-nav-left,
  .guest-nav-actions { display: none !important; }
}

/* ── Left-align overlay text on cards (match destination-detail) ── */
.gt-bottom { text-align: left !important; }
.gt-title, .gt-meta, .gt-stats { text-align: left !important; }

/* ── Price-tier pill colors on rec cards ── */
.rec-card .gt-pill--modest { background: rgba(34,197,94,0.92) !important; border-color: rgba(34,197,94,0.92) !important; }
.rec-card .gt-pill--medium { background: rgba(59,130,246,0.92) !important; border-color: rgba(59,130,246,0.92) !important; }
.rec-card .gt-pill--luxury { background: rgba(168,85,247,0.94) !important; border-color: rgba(168,85,247,0.94) !important; }

/* ── Filter chip rows centered ── */
.filter-row-secondary,
.filter-row-tiers {
  width: 100%;
  display: flex;
  justify-content: center;
}
.filter-row-tiers .filter-toggle-group,
.filter-row-secondary .filter-toggle-group { flex-wrap: wrap; justify-content: center; }

/* ── Lightweight rec-detail modal extras (reuses destination.css classes) ── */
.rec-detail-tier-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 4px 0 10px;
  color: #fff;
}
.rec-detail-tier-pill.modest { background: #16a34a; }
.rec-detail-tier-pill.medium { background: #3b82f6; }
.rec-detail-tier-pill.luxury { background: #a855f7; }
.rec-detail-meta-row { font-size: 0.92rem; color: #374151; margin: 4px 0; }
.rec-detail-meta-row strong { color: #000e33; }

/* Action buttons: normal content-sized pills, left-aligned in one row.
   (The row is now a full-width child of the card, so content-width buttons
   sit on one line instead of stretching to 1/3 each.) */
.rec-detail-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 4px;
  padding-left: 6px;
  align-items: center;
}
/* destination.css pushes the save btn down with margin-top:10px — undo it */
.rec-detail-actions .rec-detail-save-btn { margin-top: 0 !important; }
.rec-detail-actions > * {
  flex: 0 0 auto;
  width: auto;
  height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.rec-detail-open-app {
  color: #fff;
  border: none;
  background: linear-gradient(90deg, #2f6cff 0%, #5c6cff 45%, #a06cff 100%);
}
.rec-detail-visit-site {
  color: #4b5bd5;
  border: 1px solid #4b5bd5;
  background: #fff;
}
.rec-detail-save-btn {
  color: #fff;
  border: none;
  background: linear-gradient(90deg, #2f6cff 0%, #5c6cff 45%, #a06cff 100%);
}
.rec-detail-save-btn.saved {
  background: #fff;
  color: #ec4899;
  border: 1px solid #ec4899;
}
.rec-detail-save-btn .save-btn-text { display: inline; }

/* Venues loading note */
.wc-loading-note {
  grid-column: 1 / -1;
  text-align: center;
  padding: 14px;
  color: #4b5bd5;
  font-size: 0.9rem;
  background: #fff;
}

/* ── Auth overlay (sign-in prompt for guests, ported from destination-detail) ── */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000001; /* above #recDetailModal (999999) */
  display: flex; align-items: center; justify-content: center;
  animation: authFadeIn 0.3s ease;
}
@keyframes authFadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-modal {
  background: #fff; border-radius: 20px; padding: 40px;
  max-width: 460px; width: 90%; text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: authSlideUp 0.4s ease; position: relative;
}
@keyframes authSlideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.auth-modal-close {
  position: absolute; right: 22px; top: 22px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(0, 14, 51, 0.15); background: transparent;
  color: #000e33; cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; transition: 0.2s ease;
}
.auth-modal-close:hover { background: rgba(0, 14, 51, 0.05); transform: rotate(90deg); }
.auth-modal-content h2 { margin: 0 0 14px; color: #000e33; font-size: 26px; }
.auth-modal-content p { margin: 0 0 28px; color: #666; font-size: 16px; line-height: 1.6; }
.auth-modal-buttons { display: flex; flex-direction: column; gap: 12px; }
.auth-modal-buttons .primary-btn,
.auth-modal-buttons .secondary-btn {
  width: 100%; padding: 14px 28px; font-size: 16px; font-weight: 600;
  border-radius: 12px; cursor: pointer; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.auth-modal-buttons .primary-btn {
  background: linear-gradient(135deg, #0066ff 0%, #c27aff 100%);
  color: #fff; border: none;
}
.auth-modal-buttons .primary-btn:hover { box-shadow: 0 0 12px rgba(194,122,255,0.6), 0 0 6px rgba(0,102,255,0.6); }
.auth-modal-buttons .secondary-btn { background: #fff; color: #4b5bd5; border: 2px solid #4b5bd5; }
.auth-modal-buttons .secondary-btn:hover { box-shadow: 0 0 12px rgba(194,122,255,0.6), 0 0 6px rgba(0,102,255,0.6); }

/* Constrain the rec modal width (destination.css's 720px rule isn't winning here) */
#recDetailModal .rec-detail-modal-content {
  width: min(720px, calc(100vw - 48px)) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
}
#recDetailModal .rec-detail-card { width: 100%; box-sizing: border-box; }
