/* ================================================
   THE STAR CATALOG — DESIGN SYSTEM
   Navy / Cream / Gold editorial aesthetic
   ================================================ */

:root {
  --navy:    #1b2d3e;
  --navy2:   #243649;
  --cream:   #e8e0cc;
  --cream2:  #f0ead8;
  --cream3:  #d5ccb4;
  --accent:  #c9b97a;
  --muted:   #526778;   /* darkened from #7a8f9e for readability */
  --border:  #1b2d3e;
  --text:    #253545;   /* darkened from #3a4e5c for readability */
  --green:   #2a9d6e;
}


@font-face{
  font-family: Staatliches;
  src: url('Staatliches-Regular.ttf');   
  font-weight: normal;
  font-style: normal;
} 


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--cream2);
  color: var(--navy);
  font-family: 'Source Code Pro', monospace;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23f0ead8'/%3E%3Crect x='0' y='0' width='1' height='1' fill='%23d5ccb4' opacity='0.22'/%3E%3Crect x='2' y='2' width='1' height='1' fill='%23d5ccb4' opacity='0.15'/%3E%3C/svg%3E");
}

/* ========== HEADER ========== */

.site-header {
  border-bottom: 1px solid #263c50;
  background: var(--navy);
  color: var(--cream);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}

.monogram {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.logo-sub  { font-family: 'Source Code Pro', monospace; font-size: 8.5px; letter-spacing: 0.24em; color: var(--accent); text-transform: uppercase; margin-top: 3px; }

.site-nav { display: flex; align-items: center; }
.site-nav a {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,224,204,0.7);
  text-decoration: none;
  padding: 0 15px;
  height: 62px;
  display: flex;
  align-items: center;
  border-left: 1px solid #2c3f52;
  transition: color 0.13s, background 0.13s;
}
.site-nav a:hover, .site-nav a.active { color: var(--cream); background: #243040; }

.nav-cta {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--accent);
  border: none;
  padding: 0 16px;
  height: 34px;
  cursor: pointer;
  margin-left: 14px;
  font-weight: 500;
  align-content: center;
}
.nav-cta:hover { background: var(--cream); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 12px;
}
.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  display: block;
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 2px solid var(--border);
  z-index: 99;
  flex-direction: column;
}
.mobile-nav.active { display: flex; }
.mobile-nav-item {
  padding: 14px 2rem;
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,224,204,0.7);
  border-bottom: 1px solid #2c3f52;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.mobile-nav-item:hover { color: var(--cream); background: #243040; }
a.mobile-nav-item { color: rgba(232,224,204,0.7); }

/* ========== HERO ========== */

.hero {
  border-bottom: 2px solid var(--border);
  padding: 2.8rem 2rem 2.4rem;
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5L32 28L55 30L32 32L30 55L28 32L5 30L28 28Z' fill='none' stroke='%23c9b97a' stroke-width='0.5' opacity='0.09'/%3E%3C/svg%3E");
  background-size: 60px;
  pointer-events: none;
}

.hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(232,224,204,0.75);
  max-width: 600px;
  font-style: italic;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  margin-top: 2rem;
  border: 1.5px solid #2c3f52;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.stat { padding: 10px 24px; border-right: 1.5px solid #2c3f52; text-align: center; }
.stat:last-child { border-right: none; }
.stat-num   { font-family: 'Cinzel', serif; font-size: 1.3rem; font-weight: 600; display: block; color: var(--cream); }
.stat-label { font-family: 'Source Code Pro', monospace; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(232,224,204,0.6); display: block; margin-top: 3px; }

/* ========== FILTER + SORT PANEL ========== */

.filter-panel {
    border-bottom: 2px solid var(--border);
    padding: 0.7rem 2rem;
}
.fp-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.fp-label {
    font-family: 'Source Code Pro', monospace;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy);
    opacity: .55;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    margin-right: 2px;
    flex-shrink: 0;
}
.fp-select {
    font-family: 'Source Code Pro', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    background: var(--cream2);
    border: 1.5px solid var(--border);
    color: var(--navy);
    padding: 5px 26px 5px 9px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5'%3E%3Cpath d='M0 0L4.5 5L9 0Z' fill='%231b2d3e'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    outline: none;
    transition: border-color 0.12s, background 0.12s;
    white-space: nowrap;
    flex-shrink: 0;
}
.fp-select:focus { border-color: var(--accent); }
.fp-toggle {
    font-family: 'Source Code Pro', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    border: 1.5px solid var(--border);
    background: var(--cream2);
    color: var(--navy);
    padding: 5px 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
    white-space: nowrap;
    flex-shrink: 0;
}
.fp-toggle:hover { background: var(--cream); }
.fp-toggle.active {
    background: var(--green);
    color: var(--cream);
    border-color: var(--green);
}
.fp-divider {
    width: 1px;
    height: 18px;
    background: var(--border);
    opacity: .22;
    margin: 0 4px;
    flex-shrink: 0;
}
.fp-clear {
    font-family: 'Source Code Pro', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 5px 6px;
    text-decoration: underline;
    white-space: nowrap;
    flex-shrink: 0;
}
.fp-clear:hover { color: var(--navy); }

/* ========== GRID SECTION ========== */

.grid-section,
.main-content {
  padding: 1.8rem 2rem;
  background: var(--cream2);
  flex: 1;
}

.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
  padding-bottom: 0.7rem;
  border-bottom: 1.5px solid var(--border);
}
.grid-title { font-family: 'Source Code Pro', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy); opacity: .6; }
.grid-count { font-family: 'Source Code Pro', monospace; font-size: 11px; color: var(--navy); opacity: .5; }

/* ========== CARDS GRID — 6 COLUMNS WITH GAP ========== */

.cards-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  /* padding-left: 90px;
  padding-right: 90px; */
}

/* ========== PROFILE CARD ========== */

.profile-card {
  border: 1.5px solid var(--border);
  background: var(--cream2);
  display: flex;
  flex-direction: column;
  transition: background 0.14s;
  position: relative;
  cursor: pointer;
}
.profile-card:hover { background: var(--cream); }

.card-image-wrap,
.card-image-wrapper {
  position: relative;
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
  aspect-ratio: 1/1;
}
.card-image-wrap img,
.card-image-wrapper img,
.card-image-wrapper .card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(18%) contrast(1.05) brightness(0.97);
  transition: filter 0.2s;
}
.profile-card:hover .card-image-wrap img,
.profile-card:hover .card-image-wrapper img { filter: sepia(4%) contrast(1.08); }

/* Profession tag */
.card-profession,
.card-type-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 8px;
  display: inline-block;
}

/* Verified badge — GREEN */
.card-verified {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 20px;
  height: 20px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.verified-stamp-image { display: none; }

/* Card body */
.card-body {
  padding: 10px 10px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
}
.card-name {
  font-family: 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  flex: 1;
  color: var(--navy);
  /* clamp to 2 lines so all cards have the same name height */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13.5px * 1.25 * 2); /* exactly 2 line-heights */
}

/* Action buttons */
.card-actions { display: flex; flex-shrink: 0; }
.action-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -1.5px;
  transition: background 0.12s, color 0.12s;
  color: var(--navy);
  padding: 0;
}
.action-btn:hover,
.action-btn.active { background: var(--navy); color: var(--cream); }
.action-btn svg { pointer-events: none; }

/* Card description — clamped to 3 lines for uniform card height */
.card-desc,
.card-tagline {
  font-size: 10px;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(10px * 1.55 * 3); /* reserve 3 lines even for short text */
}

/* Card tags — single row, overflow clipped for uniform card height */
.card-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  margin-top: 2px;
  overflow: hidden;
  max-height: 20px;
}
.tag {
  font-family: 'Source Code Pro', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  padding: 2px 6px;
  border: 1px solid var(--border);
}
.tag.outline { background: transparent; color: var(--navy); }

/* Specialty tags (profile page) */
.specialty-tag {
  font-family: 'Source Code Pro', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  padding: 2px 6px;
  border: 1px solid var(--border);
}
.specialty-tag.outline { background: transparent; color: var(--navy); }

/* Card footer */
.card-footer {
  border-top: 1.5px solid var(--border);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  color: var(--text);
}
.card-price {
  font-family: 'Cinzel', serif;
  font-size: 12.5px;
  color: var(--navy);
  font-weight: 600;
}

/* ========== FOOTER ========== */

.site-footer {
  border-top: 2px solid var(--border);
  background: var(--navy);
  color: var(--cream3);
  margin-top: auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid #2c3f52;
}
.footer-col {
  padding: 1.8rem;
  border-right: 1px solid #2c3f52;
}
.footer-col:last-child { border-right: none; }
.footer-col-title {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2c3f52;
}
.footer-logo-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(232,224,204,0.55);
  font-style: italic;
  margin-top: 0.4rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a,
.footer-links li a {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(232,224,204,0.65);
  text-decoration: none;
  transition: color 0.12s;
}
.footer-links a:hover,
.footer-links li a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright,
.footer-copy {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(232,224,204,0.4);
  text-transform: uppercase;
}
.footer-credit { display: none; }
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232,224,204,0.4);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ========== NOTIFICATION ========== */

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--cream2);
  border: 1.5px solid var(--border);
  padding: 14px 20px;
  min-width: 280px;
  box-shadow: 4px 4px 0 var(--navy);
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
}
.notification.show { opacity: 1; transform: translateX(0); }
.notification-content { display: flex; align-items: center; gap: 12px; }
.notification-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.notification-success .notification-icon { color: var(--green); }
.notification-info    .notification-icon { color: var(--muted); }
.notification-error   .notification-icon { color: #e14b22; }
.notification-message {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--navy);
  line-height: 1.5;
}

/* ========== INNER PAGE LAYOUT ========== */

.page-hero {
  background: var(--navy);
  color: var(--cream);
  padding: 3rem 2rem 2.5rem;
  border-bottom: 2px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 5L32 28L55 30L32 32L30 55L28 32L5 30L28 28Z' fill='none' stroke='%23c9b97a' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  background-size: 60px;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.page-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(232,224,204,0.72);
  font-style: italic;
  max-width: 580px;
}

/* Page content wrapper */
.page-content {
  flex: 1;
  padding: 3rem 2rem 4rem;
  background: var(--cream2);
}
.page-content-inner {
  max-width: 860px;
  margin: 0 auto;
}

/* Content sections */
.content-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1.5px solid var(--cream3);
}
.content-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.section-eyebrow {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-heading {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--navy);
  margin-bottom: 1rem;
  font-style: italic;
}

.section-body {
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text);
}
.section-body p { margin-bottom: 0.9em; }
.section-body p:last-child { margin-bottom: 0; }
.section-body ul, .section-body ol {
  padding-left: 1.6rem;
  margin: 0.8em 0;
}
.section-body li {
  margin-bottom: 0.55em;
  line-height: 1.75;
}
.section-body strong { color: var(--navy); font-weight: 600; }
.section-body a { color: var(--navy); text-decoration: underline; }
.section-body a:hover { color: var(--accent); }

/* Pull quote / callout */
.callout-box {
  background: var(--navy);
  color: var(--cream);
  padding: 1.6rem 2rem;
  margin: 2rem 0;
  position: relative;
  border-left: 4px solid var(--accent);
}
.callout-box p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  color: rgba(232,224,204,0.9);
}

/* Two-column info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1.5px solid var(--border);
  margin: 1.5rem 0;
}
.info-cell {
  background: var(--cream2);
  padding: 1.2rem 1.4rem;
}
.info-cell-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-cell-val {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
}

/* Step list */
.step-list { list-style: none; padding: 0; margin: 1rem 0; }
.step-list li {
  display: flex;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--cream3);
  align-items: flex-start;
}
.step-list li:last-child { border-bottom: none; }
.step-num {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 32px;
  line-height: 1.3;
}
.step-content { flex: 1; }
.step-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

/* Verification badge strip */
.verify-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1.5px solid var(--border);
  margin: 1.5rem 0;
}
.verify-item {
  flex: 1;
  min-width: 160px;
  padding: 1.1rem 1.3rem;
  border-right: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
}
.verify-item:last-child { border-right: none; }
.verify-icon { color: var(--green); margin-bottom: 6px; font-size: 1.1rem; }
.verify-item-title {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.verify-item-desc { font-size: 12.5px; line-height: 1.6; color: var(--text); }

/* FAQ accordion */
.faq-item {
  border-bottom: 1.5px solid var(--cream3);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 1.1rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.faq-question:hover { color: var(--navy2); }
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: transform 0.2s, background 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--cream);
}
.faq-chevron svg { pointer-events: none; }
.faq-answer {
  display: none;
  padding: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text);
}
.faq-answer p + p { margin-top: 0.7em; }
.faq-item.open .faq-answer { display: block; }

/* FAQ simple (always-visible) style */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 1.2rem; }
.faq-list .faq-item { border-bottom: 1.5px solid var(--cream3); padding: 1.1rem 0; }
.faq-list .faq-item:first-child { border-top: 1.5px solid var(--cream3); }
.faq-q {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  line-height: 1.4;
}
.faq-a {
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--border);
  padding: 10px 13px;
  font-family: 'Source Code Pro', monospace;
  font-size: 15px;
  background: var(--cream);
  color: var(--navy);
  outline: none;
  transition: border-color 0.12s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); font-style: italic; }
.form-field select { appearance: none; cursor: pointer; }
.form-field textarea { resize: vertical; line-height: 1.65; }
.form-submit {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 13px 32px;
  cursor: pointer;
  width: fit-content;
  font-weight: 500;
  transition: background 0.12s;
}
.form-submit:hover { background: var(--navy2); }

/* Contact info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1.5px solid var(--border);
  margin-top: 2rem;
}
.contact-info-card {
  padding: 1.4rem;
  border-right: 1.5px solid var(--border);
}
.contact-info-card:last-child { border-right: none; }
.contact-info-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.contact-info-val {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
}
.contact-info-val a { color: var(--navy); text-decoration: underline; }

/* Legal page specific */
.legal-toc {
  background: var(--cream3);
  border: 1.5px solid var(--border);
  padding: 1.2rem 1.6rem;
  margin-bottom: 2.5rem;
}
.legal-toc-title {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.legal-toc ol {
  padding-left: 1.4rem;
  margin: 0;
}
.legal-toc li {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 4px;
}
.legal-toc a { color: var(--navy); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
.legal-date {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ========== FILTER SECTION (old, kept for compat) ========== */

.filter-section {
  border-bottom: 2px solid var(--border);
  padding: 0.85rem 2rem;
  background: var(--cream3);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .5;
  margin-right: 6px;
  white-space: nowrap;
}
.filter-btn {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy); color: var(--cream); }
.filter-divider { width: 1px; height: 18px; background: var(--border); opacity: .22; margin: 0 4px; }
.filter-select {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--navy);
  padding: 5px 26px 5px 9px;
  cursor: pointer;
  margin-left: auto;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='5'%3E%3Cpath d='M0 0L4.5 5L9 0Z' fill='%231b2d3e'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
}

/* ========== RESPONSIVE ========== */

/* Prevent any element from causing horizontal scroll */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { width: 100%; max-width: 100vw; overflow-x: hidden; }
/* All major layout wrappers must stay within viewport */
.site-header, .mobile-nav, .filter-panel,
.main-content, .grid-section, .site-footer,
.page-content, .page-hero, .admin-main { max-width: 100vw; overflow-x: hidden; }

@media (max-width: 1400px) {
  .cards-container { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 1100px) {
  .cards-container { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-col:nth-child(3) { border-right: none; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info-card { border-right: none; border-bottom: 1.5px solid var(--border); }
  .contact-info-card:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .site-header { padding: 0 1rem; }
  .site-nav { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Hero */
  .hero { padding: 1.8rem 1rem 1.4rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { flex-wrap: wrap; }

  /* Filter panel — wrap into 2-column grid on mobile, no overflow */
  .filter-panel { padding: 0.6rem 1rem; overflow: hidden; }
  .fp-row { gap: 5px; width: 100%; }
  .fp-select { flex: 1 1 calc(50% - 3px); max-width: calc(50% - 3px); font-size: 11px; }
  .fp-label { width: 100%; flex-shrink: 0; }
  .fp-divider { display: none; }
  .fp-clear { margin-left: auto; }

  /* Grids */
  .grid-section, .main-content { padding: 1.2rem 1rem; }
  .cards-container { grid-template-columns: repeat(2, 1fr); gap: 8px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col { border-right: none; border-bottom: 1px solid #2c3f52; }
  .footer-col:nth-child(3) { border-right: none; }

  /* Page templates */
  .page-content { padding: 2rem 1rem 3rem; }
  .page-hero { padding: 2rem 1rem 1.8rem; }
  .page-title { font-size: 1.5rem; }

  /* Content blocks */
  .form-row { grid-template-columns: 1fr; }
  .verify-strip { flex-direction: column; }
  .verify-item { border-right: none; }
  .info-grid { grid-template-columns: 1fr; }

  /* Profile page */
  .profile-wrap { flex-direction: column; }
  .profile-sidebar { width: 100%; max-width: 100%; min-width: 0; }
  .profile-name-header { padding: 1.2rem 1rem; }
  .profile-section-block { padding: 1.2rem 1rem; }
  .profile-name-row { flex-wrap: wrap; gap: 10px; }
  .profile-header-actions { flex-wrap: wrap; gap: 6px; }
  .profile-action-btn { font-size: 11px; padding: 6px 10px; }
}

@media (max-width: 600px) {
  .cards-container { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .hero h1 { font-size: 1.35rem; }
  .hero-eyebrow { font-size: 9.5px; }
  .hero-desc { font-size: 0.95rem; }
  .hero-stats .stat { padding: 8px 14px; }
  .stat-num { font-size: 1.1rem; }
  .callout-box { padding: 1.2rem 1.4rem; }

  /* Cards — keep 2 columns even at 600px */
  .profile-card { min-height: 0; }
  .card-name { font-size: 12px; }
  .card-desc { font-size: 11px; -webkit-line-clamp: 2; line-clamp: 2; }
}

@media (max-width: 480px) {
  .cards-container { grid-template-columns: 1fr; gap: 8px; }
  .fp-select { flex: 1 1 100%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-col { border-right: none; border-bottom: 1px solid #2c3f52; }
  .footer-col:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  /* Profile page single column */
  .profile-name-header-inner { padding: 0; }
  .profile-action-btn .pab-label { display: none; }
  .profile-action-btn { padding: 7px 10px; }
}

/* ========================================================================
   MODALS — sign-in, review, lightbox
   ======================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27, 45, 62, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--cream2);
  border: 1.5px solid var(--border);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 40px rgba(27,45,62,0.35);
}

.modal-header {
  padding: 1.5rem 2rem 1.3rem;
  border-bottom: 1.5px solid var(--border);
  background: var(--navy);
  color: var(--cream);
  position: relative;
}
.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding-right: 2rem;
}
.modal-subtitle {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  color: rgba(232,224,204,0.65);
  letter-spacing: 0.05em;
  line-height: 1.5;
  padding-right: 2rem;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.6;
  padding: 2px 6px;
  transition: opacity 0.12s;
}
.modal-close:hover { opacity: 1; }

.modal-body {
  padding: 1.6rem 2rem;
}

/* Star rating input */
.star-input {
  display: flex;
  gap: 4px;
  margin: 0.5rem 0 4px;
}
.star-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--cream3);
  cursor: pointer;
  transition: color 0.1s, transform 0.1s;
  padding: 2px 3px;
  line-height: 1;
}
.star-btn.lit,
.star-btn:hover { color: var(--accent); }
.star-btn:hover { transform: scale(1.1); }

.star-hint {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  min-height: 16px;
  margin-bottom: 0.6rem;
}

/* Review form */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.review-label {
  display: block;
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.review-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  padding: 10px 13px;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  background: var(--cream);
  color: var(--navy);
  outline: none;
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
  transition: border-color 0.12s;
}
.review-textarea:focus { border-color: var(--accent); }

/* Single-line inputs inside modals (contact/inquiry form) */
.review-input {
  display: block;
  width: 100%;
  border: 1.5px solid var(--border);
  padding: 10px 13px;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  background: var(--cream);
  color: var(--navy);
  outline: none;
  line-height: 1.5;
  transition: border-color 0.12s;
  box-sizing: border-box;
}
.review-input:focus { border-color: var(--accent); }
.review-input[type="date"] { cursor: pointer; }

/* Image upload zone */
.image-upload-zone {
  border: 1.5px dashed var(--cream3);
  padding: 1rem 1.2rem;
  text-align: center;
  background: var(--cream);
  transition: background 0.12s, border-color 0.12s;
}
.image-upload-zone:hover { background: var(--cream2); border-color: var(--accent); }
.image-upload-zone input[type="file"] { display: none; }
.image-upload-label {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  display: inline-block;
  transition: color 0.12s;
}
.image-upload-zone:hover .image-upload-label { color: var(--navy); }
.image-previews {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.image-preview-item {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1.5px solid var(--border);
}

/* Google sign-in button */
.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: #fff;
  border: 1.5px solid #dadce0;
  color: #3c4043;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.12s, box-shadow 0.12s;
}
.google-signin-btn:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Modal submit button */
.modal-submit {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 13px 28px;
  cursor: pointer;
  width: 100%;
  font-weight: 500;
  transition: background 0.12s;
  margin-top: 0.4rem;
}
.modal-submit:hover { background: var(--navy2); }
.modal-submit:disabled { opacity: 0.55; cursor: not-allowed; }

/* ========================================================================
   REVIEW SECTION — cards + write button
   ======================================================================== */

.review-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 10px;
}

.write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.12s;
  flex-shrink: 0;
}
.write-review-btn:hover { background: var(--navy2); }

.no-reviews {
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  padding: 0.5rem 0 1rem;
}

/* Review card */
.review-card {
  border: 1.5px solid var(--cream3);
  background: var(--cream);
  padding: 1.2rem 1.4rem;
  margin-bottom: 10px;
  transition: border-color 0.12s;
}
.review-card:hover { border-color: var(--border); }

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.reviewer-avatar-placeholder {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border);
}
.reviewer-meta { flex: 1; min-width: 0; }
.reviewer-name {
  display: block;
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-date {
  display: block;
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}
.review-stars {
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 2px;
  flex-shrink: 0;
}
.review-text {
  font-family: 'Source Code Pro', monospace;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 10px;
}
.review-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.review-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: opacity 0.12s;
}
.review-img:hover { opacity: 0.85; }

/* ========================================================================
   NAV AUTH UI — user badge, dropdown, sign-in button
   ======================================================================== */

.nav-auth-area {
  display: flex;
  align-items: center;
  border-left: 1px solid #2c3f52;
  height: 62px;
  padding: 0 15px;
}

/* Sign-in button in nav */
.nav-sign-in-btn {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1.5px solid rgba(201,185,122,0.5);
  color: var(--accent);
  padding: 6px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.nav-sign-in-btn:hover {
  background: rgba(201,185,122,0.1);
  border-color: var(--accent);
  color: var(--cream);
}

/* User badge (shown when signed in) */
.nav-user-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 10px;
  border: 1.5px solid rgba(201,185,122,0.3);
  transition: background 0.12s, border-color 0.12s;
  white-space: nowrap;
  user-select: none;
}
.nav-user-badge:hover { background: rgba(201,185,122,0.08); border-color: rgba(201,185,122,0.6); }

.nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
  flex-shrink: 0;
}
.nav-avatar-placeholder {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.nav-user-name {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,224,204,0.8);
}
.nav-chevron {
  opacity: 0.5;
  transition: transform 0.15s;
}
.nav-user-badge:hover .nav-chevron { opacity: 1; }

/* Dropdown menu */
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--navy2);
  border: 1.5px solid #2c3f52;
  box-shadow: 0 8px 24px rgba(10,20,30,0.4);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
}
.nav-user-dropdown.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 11px 16px;
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232,224,204,0.75);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.1s, color 0.1s;
  border-bottom: 1px solid #2c3f52;
}
.nav-dropdown-item:last-child { border-bottom: none; }
.nav-dropdown-item:hover { background: rgba(201,185,122,0.08); color: var(--cream); }
.nav-dropdown-item svg { flex-shrink: 0; opacity: 0.7; }

/* Active upvote / bookmark states on profile header buttons */
.profile-action-btn.upvoted,
.profile-action-btn.bookmarked {
  background: var(--navy2);
  color: var(--accent);
  border-color: var(--accent);
}

/* ========================================================================
   SAVED PAGE
   ======================================================================== */

/* Loading / error */
.saved-loading,
.saved-error {
  font-family: 'Source Code Pro', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 60px 20px;
}

/* Empty state */
.saved-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 20px;
}
.saved-empty-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.saved-empty-desc {
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 24px;
}
.saved-browse-btn {
  font-family: 'Source Code Pro', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 11px 24px;
  text-decoration: none;
  transition: background 0.12s;
  display: inline-block;
}
.saved-browse-btn:hover { background: var(--navy2); }

/* Sign-in prompt */
.saved-signin-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 20px;
}
.prompt-icon {
  margin-bottom: 18px;
  opacity: 0.6;
}
.prompt-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.prompt-desc {
  font-family: 'Source Code Pro', monospace;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 28px;
}
.prompt-google-btn { max-width: 300px; }

/* Saved cards grid */
#savedContainer {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 0 0 2rem;
}

/* Individual saved card */
.saved-card {
  background: var(--cream2);
  border: 1.5px solid var(--cream3);
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: 1fr auto;
  gap: 0;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.saved-card:hover { border-color: var(--border); box-shadow: 0 2px 12px rgba(27,45,62,0.1); }

.saved-card-img {
  grid-row: 1/3;
  position: relative;
  overflow: hidden;
}
.saved-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.saved-card-verified {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.saved-card-body {
  padding: 12px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.saved-card-discipline {
  font-family: 'Source Code Pro', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.saved-card-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  transition: color 0.12s;
}
.saved-card-name:hover { color: var(--muted); }
.saved-card-tagline {
  font-family: 'Source Code Pro', monospace;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.saved-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.saved-card-footer {
  padding: 8px 14px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--cream3);
}
.saved-card-price {
  font-family: 'Source Code Pro', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}
.saved-card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.saved-view-btn {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--cream);
  border: 1.5px solid var(--border);
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.12s;
  white-space: nowrap;
  display: inline-block;
}
.saved-view-btn:hover { background: var(--navy2); }

.saved-remove-btn {
  font-family: 'Source Code Pro', monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--cream3);
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: border-color 0.12s, color 0.12s, background 0.12s;
  white-space: nowrap;
}
.saved-remove-btn:hover { border-color: #c0392b; color: #c0392b; background: rgba(192,57,43,0.05); }

/* Responsive saved grid — mirrors .cards-container breakpoints */
@media (max-width: 1400px) { #savedContainer { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 1100px) { #savedContainer { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { #savedContainer { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 600px)  { #savedContainer { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
@media (max-width: 480px)  { #savedContainer { grid-template-columns: 1fr; gap: 8px; } }
