.salons-dropdown {
  position: relative;
  display: inline-block;
}

.salons-dropdown-btn,
.salons-dropdown-btn:hover,
.salons-dropdown-btn:focus,
.salons-dropdown-btn:active,
.salons-dropdown-btn:focus-visible {
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.salons-dropdown-btn {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--parchment-mid) !important;
  text-decoration: none;
  position: relative;
  padding: 0 0 3px 0;
  margin: 0;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.salons-dropdown-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}

.salons-dropdown-btn:hover,
.salons-dropdown.open .salons-dropdown-btn {
  color: var(--amber) !important;
}

.salons-dropdown-btn:hover::after,
.salons-dropdown.open .salons-dropdown-btn::after {
  width: 100%;
}


.salons-caret {
  letter-spacing: 0;
  margin-left: 4px;
  font-size: 0.72rem;
}

.salons-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  background: var(--ink);
  border: 1px solid rgba(196, 168, 122, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  padding: 0.45rem 0;
}

.salons-dropdown.open .salons-dropdown-menu {
  display: block;
}

.salons-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  color: var(--parchment-mid);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.salons-dropdown-menu a:hover {
  background: rgba(196, 168, 122, 0.08);
  color: var(--amber);
}

.salons-divider {
  border-top: 1px solid rgba(196, 168, 122, 0.16);
  margin: 0.35rem 0;
}

/* ── Shared Salon Page Styles ───────────────────────────── */
.salon-page {
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 1.5rem 1rem; 
}

.salon-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;

}
.salon-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem; 
}

.salon-subtitle { font-size: 1.05rem; opacity: .7; margin-bottom: 1.2rem; }
.salon-section { margin-top: 2.5rem; }
.section-heading { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem;
    padding-bottom: 0.4rem; border-bottom: 1px solid var(--border, #ddd); }
.empty-state { opacity: .55; font-style: italic; padding: 1rem 0; }
.info-note { font-size: .9rem; opacity: .75; margin: 0.8rem 0; }
.back-link { display: inline-block; margin-top: 2rem; font-size: .9rem; opacity: .7; }
.back-link:hover { opacity: 1; }
.count-pill { font-size: .8rem; background: var(--accent,#e94560); color:#fff;
    border-radius: 999px; padding: .1rem .55rem; margin-left: .4rem; }

/* ── Buttons ────────────────────────────────────────────── */
.btn-primary {
    display: inline-block; padding: .6rem 1.3rem; border-radius: 5px;
    background: var(--accent,#e94560); color: #fff; border: none;
    cursor: pointer; font-size: .92rem; text-decoration: none; transition: opacity .15s;
}
.btn-primary:hover { opacity: .85; }
.btn-secondary {
    display: inline-block; padding: .55rem 1.2rem; border-radius: 5px;
    border: 1px solid var(--border,#ddd); background: transparent;
    cursor: pointer; font-size: .92rem; text-decoration: none;
}
.btn-danger {
    display: inline-block; padding: .55rem 1.2rem; border-radius: 5px;
    background: #c0392b; color: #fff; border: none;
    cursor: pointer; font-size: .92rem; text-decoration: none;
}
.btn-ghost {
  background: none; 
  border: none; 
  cursor: pointer; 
  font-size: .82rem; 
}
.btn-sm {
  padding: .4rem .85rem; 
  font-size: .85rem; 
}
.btn-xs {
  color:#3f2503;
  padding: .2rem .5rem; 
  font-size: .78rem;
}

/* ── Forms ──────────────────────────────────────────────── */
.salon-form { max-width: 680px; }
.form-page { max-width: 680px; margin: 2rem auto; padding: 0 1rem; }
.page-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .88rem; font-weight: 600;
    margin-bottom: .35rem; opacity: .75; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: .6rem .8rem;
    border: 1px solid var(--border,#ddd); border-radius: 5px;
    font-family: inherit; font-size: .95rem; background: var(--bg,#fff);
    color: inherit; box-sizing: border-box;
}
.form-group textarea { resize: vertical; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-error { color: #c0392b; font-size: .9rem; margin-bottom: 1rem; }



.pin-form {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: inline;
}



/* ============================================================
   NAVBAR — Salon Literary Design
   ============================================================ */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 44px;
  height: 68px;
  background: var(--ink);
  color: var(--parchment-mid);
  font-family: var(--font-display);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(196,168,122,0.25);
}

.navbar > .logo:last-child {
  margin-left: auto;
}

/* The very top hairline accent */
.navbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--sepia), transparent);
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--parchment-mid) !important;
  text-decoration: none;
  position: relative;
  top: 4px;
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.logo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}
.logo:hover {
  color: var(--amber) !important;
}
.logo:hover::after { width: 100%; }


/* ============================================================
   SEARCH FORM
   ============================================================ */
.nav-search-form {
  flex: 1;
  max-width: 420px;
  margin: 0 32px;
  position: relative;
  display: flex;
  align-items: center;

  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.nav-search-form input.nav-search {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(196,168,122,0.25);
  border-radius: 4px;
  color: var(--parchment-mid);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  padding: 8px 16px;
  outline: none;
  transition: background 0.2s var(--ease), border-color 0.2s;
  letter-spacing: 0.02em;
}
.nav-search-form input.nav-search::placeholder {
  color: var(--parchment-mid) !important;
  font-style: italic;
}
.nav-search-form input.nav-search:focus {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,168,122,0.55);
}

/* ============================================================
   NAV RIGHT LINKS
   ============================================================ */
.nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-right a {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210,195,172,0.85);
  text-decoration: none;
  padding: 8px 11px;
  border-radius: 2px;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s;
}
.nav-right a:hover {
  color: var(--parchment);
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   NOTIFICATION BADGE
   ============================================================ */
.notif-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.notif-badge {
  background: #8c2a1a;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.6rem;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-weight: 600;
  letter-spacing: 0;
}

/* ============================================================
   PROFILE DROPDOWN
   ============================================================ */
.profile-dropdown {
  position: relative;
  display: inline-block;
}
.profile-dropdown-btn {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(210,195,172,0.85) !important;
  cursor: pointer;
  padding: 8px 11px;
  border-radius: 2px;
  display: block;
  transition: color 0.2s, background 0.2s;
}
.profile-dropdown-btn:hover {
  color: var(--parchment) !important;
  background: rgba(255,255,255,0.08);
}

.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--ink-soft);
  border: 1px solid rgba(196,168,122,0.2);
  border-radius: 3px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  min-width: 160px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.profile-dropdown-menu a {
  padding: 11px 18px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(210,195,172,0.85);
  display: block;
  border-left: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.profile-dropdown-menu a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--parchment);
  border-left-color: var(--amber);
}
.profile-dropdown.open .profile-dropdown-menu {
  display: flex;
}

/* Dark mode toggle in navbar */
#darkModeToggle {
  background: transparent;
  border: 1px solid rgba(196,168,122,0.25);
  color: rgba(210,195,172,0.8);
  width: 34px;
  height: 34px;
  font-size: 14px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease);
  margin-left: 6px;
}
#darkModeToggle:hover {
  border-color: var(--amber);
  color: var(--amber);
  transform: none;
}

/* Filter panels used in search */
.search-container { display: flex; gap: 20px; }
.results { flex: 0 0 70%; }
.filters {
  flex: 0 0 500px;   /* fixed comfortable sidebar width */
  width: 320px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--vellum);
  border-radius: 6px;
  align-self: flex-start;
}
.filters .form-group { margin-bottom: 14px; }
.filters label { display: block; font-weight: bold; margin-bottom: 4px; font-size: 0.85rem; }
.filters input, .filters select { width: 100%; padding: 5px 8px; font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) {
  .navbar { padding: 0 22px; }
  .nav-search-form { max-width: 280px; margin: 0 18px; }
  .nav-right { gap: 2px; }
  .nav-right a { padding: 7px 8px; font-size: 0.6rem; }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 18px;
    gap: 10px;
    position: relative;
  }
  .navbar::before { display: none; }
  .logo { font-size: 0.75rem; }
  .nav-search-form {
    order: 3;
    flex: 1 1 100%;
    max-width: 100%;
    margin: 4px 0 0;
  }
  .nav-right {
    order: 2;
    flex-wrap: wrap;
    gap: 3px;
    justify-content: flex-end;
  }
  #darkModeToggle { margin-left: 0; }
}

@media (max-width: 992px) {
  .search-container {
    flex-direction: column;
    gap: 24px;
  }

  .results,
  .filters {
    width: 100%;
    flex: 1 1 100%;
  }

  .filters {
    padding: 18px;
  }
}
/* Discover nav link */
.nav-discover-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--parchment-mid) !important;
  text-decoration: none;
  position: relative;
  top: 4px;
  padding-bottom: 3px;
  transition: color 0.2s var(--ease);
  white-space: nowrap;
}
.nav-discover-link:hover {
  color: var(--amber) !important;
}
.nav-discover-link:after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width 0.3s var(--ease);
}

.nav-discover-link:hover::after { width: 100%; }