nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(254, 252, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--sand, #E8DFD0);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--indigo, #2D3A5C);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding-left: 38px;
}

.logo span {
  color: var(--terracotta, #C4704B);
}

.logo .owl-default,
.logo .owl-fly {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.15s ease;
}

.logo .owl-fly {
  opacity: 0;
}

.logo:hover .owl-default {
  opacity: 0;
}

.logo:hover .owl-fly {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--indigo, #2D3A5C);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

nav a.cta-nav {
  background: var(--terracotta, #C4704B);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

nav a.cta-nav:hover {
  background: #b5633f;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--indigo, #2D3A5C);
  cursor: pointer;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--indigo, #2D3A5C);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav-dropdown-toggle::after {
  content: ' ▾';
  font-size: 1.1rem;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--sand, #E8DFD0);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 200;
}

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

.nav-dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text, #2C2419);
  text-decoration: none;
  font-size: 0.85rem;
}

.nav-dropdown-menu a:hover {
  background: var(--warm-cream, #F5F0E8);
}

footer a {
  text-underline-offset: 2px;
}

/* Offline indicator pill */
.offline-indicator {
  display: none;
  align-items: center;
  gap: 0.35rem;
  background: #FFF5F2;
  border: 1px solid #F0C8BB;
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--terracotta, #C1694F);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.offline-indicator.visible {
  display: inline-flex;
  opacity: 1;
  transform: translateY(0);
}

.offline-indicator::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta, #C1694F);
  flex-shrink: 0;
  animation: offline-pulse 2s ease-in-out infinite;
}

@keyframes offline-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 252, 249, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sand, #E8DFD0);
    padding: 1rem 2rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-dropdown,
  .nav-dropdown-menu {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    margin-top: 0.5rem;
    box-shadow: none;
    background: transparent;
  }
}

/* === Popular Picks conversion modules (injected for legacy pages) === */
.social-proof-banner { background: linear-gradient(135deg, #f0ebe3 0%, #e8e0d4 100%); border: 1px solid #d4c5b0; border-radius: 14px; padding: 1rem 1.4rem; margin-bottom: 1.4rem; text-align: center; }
.social-proof-banner p { margin: 0; color: #4a3f35; font-size: .92rem; }

.discovery-module { background: white; border: 1px solid #e0d6c8; border-radius: 18px; padding: 1.35rem 1.4rem; margin-bottom: 1.4rem; }
.discovery-module h3 { margin: 0 0 .8rem; color: #2D3A5C; font-size: 1.1rem; }
.discovery-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .7rem; }
.discovery-card { display: flex; flex-direction: column; background: #faf7f2; border: 1px solid #e0d6c8; border-radius: 12px; padding: .85rem 1rem; text-decoration: none; color: #2D3A5C; transition: border-color .2s, transform .15s; }
.discovery-card:hover { border-color: #C4704B; transform: translateY(-2px); }
.discovery-card strong { font-size: .95rem; }
.discovery-card span { font-size: .8rem; color: #7a6f63; margin-top: .2rem; }

.related-picks-module { background: white; border: 1px solid #e0d6c8; border-radius: 18px; padding: 1.35rem 1.4rem; margin-bottom: 1.4rem; }
.related-picks-module h3 { margin: 0 0 .3rem; color: #2D3A5C; font-size: 1.05rem; }
.related-picks-module .related-subtitle { color: #7a6f63; font-size: .85rem; margin: 0 0 .9rem; }
.related-picks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.related-pick-link { display: block; background: #faf7f2; border: 1px solid #e0d6c8; border-radius: 10px; padding: .7rem .9rem; text-decoration: none; color: #2D3A5C; font-size: .88rem; font-weight: 600; transition: border-color .2s; }
.related-pick-link:hover { border-color: #C4704B; }

.email-capture { background: linear-gradient(135deg, #2D3A5C 0%, #3d4d70 100%); border-radius: 18px; padding: 1.8rem 1.6rem; margin-bottom: 1.4rem; text-align: center; color: white; }
.email-capture h3 { margin: 0 0 .4rem; font-size: 1.15rem; color: white; }
.email-capture p { margin: 0 0 1rem; font-size: .88rem; opacity: .85; }
.email-capture-form { display: flex; gap: .5rem; max-width: 420px; margin: 0 auto; }
.email-capture-form input[type="email"] { flex: 1; padding: .65rem 1rem; border: 2px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.1); color: white; font-size: .9rem; outline: none; }
.email-capture-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.email-capture-form input[type="email"]:focus { border-color: #C4704B; }
.email-capture-form button { padding: .65rem 1.2rem; background: #C4704B; color: white; border: none; border-radius: 10px; font-weight: 700; font-size: .88rem; cursor: pointer; white-space: nowrap; transition: background .2s; }
.email-capture-form button:hover { background: #b5613e; }
.email-capture .privacy-note { font-size: .72rem; opacity: .5; margin-top: .6rem; }
@media (max-width: 500px) { .email-capture-form { flex-direction: column; } }

.cta-section { background: linear-gradient(135deg, #fff9f0 0%, #fff 100%); border: 1px solid #e0d6c8; border-radius: 18px; padding: 1.5rem 1.4rem; margin-bottom: 1.4rem; text-align: center; }
.cta-section h2 { margin: 0 0 .5rem; color: #2D3A5C; font-size: 1.3rem; }
.cta-section p { margin: 0 0 1rem; color: #6B5D4F; font-size: .95rem; }
.cta-btn { display: inline-block; background: #C4704B; color: white; padding: .75rem 1.5rem; border-radius: 10px; font-weight: 700; text-decoration: none; transition: background .2s; }
.cta-btn:hover { background: #b5613e; }
