/* Header wrapper */
.site-header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 1000;	
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Top bar */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo-icon {
  width: 30px;
  height: 30px;
  color: #f59e0b; /* amber-500 */
}
.site-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #92400e; /* amber-900 */
  margin: 0;
}
.site-tagline {
  font-size: .75rem;
  color: #57534e; /* stone-600 */
  margin: 0;
  margin-top: -02px;
}

/* Search */
.search-form {
  flex: 1;
  max-width: 500px;
  margin: 0 1rem;
}
.search-wrap { position: relative; }
.search-field {
  width: 100%;
  padding: .7rem 2.5rem .7rem .75rem;
  border: 1px solid #d6d3d1;
  border-radius: .5rem;
  font-size: .875rem;
  font-family: "DM Sans", sans-serif;
}
.search-field:focus {
    outline: 0.8px solid #bb4d00;
}
.search-submit {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}
.search-submit svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

/* User icon + CTA */
.user-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.mobile-user-actions {
	display: flex;
    align-items: center;
    gap: 1rem;
}
.user-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e7e5e4;
  color: #444;
  text-decoration: none;
  border: none;
}
.user-btn:hover { background: #d6d3d1; }
.user-btn svg { width: 20px; height: 20px; }

.btn-primary {
  background: #bb4d00;
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .5rem;
  text-decoration: none;
  font-size: .875rem;
  display: inline-block;
  line-height: 1.2;
}
.btn-primary:hover { background: #92400e; }

/* Desktop nav */
.main-nav {
  padding: 15px 0px;
  border-top: 1px solid #e7e5e4;
}
.desktop-menu {
  display: flex;
  gap: 1rem;
  padding-left: 0;
  margin: 0;
}
.desktop-menu li { list-style: none; }
.desktop-menu a {
  color: #444;
  text-decoration: none;
  padding: .5rem;
  font-size: .95rem;
  transition: color .2s ease;
}
.desktop-menu a:hover { color: #c47238; }
.desktop-menu .current-menu-item > a,
.desktop-menu .current_page_item > a {
  color: #b45309;
  font-weight: 600;
  /*border-bottom: 2px solid #78350f;*/
}

/* Visibility helpers */
.desktop-only { display: flex; }
.mobile-only  { display: none !important; }

/* Mobile toggle */
.menu-toggle {
  background: none;
  border: 1px solid #e7e5e4;
  border-radius: .5rem;
  padding: .5rem .75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg {
  width: 22px;
  height: 22px;
  color: #444;
}

/* Mobile menu hidden by default; shown via .open */
/*.mobile-menu {
  display: none;	
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #e7e5e4;	
}*/
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  z-index: 999;
  box-sizing: border-box; 	
}
.mobile-menu.open { display: flex; }
.mobile-nav {max-height: 400px; overflow-y: auto;}

body.no-scroll {
  overflow: hidden;
  height: 100%;
}

/* Mobile search inside menu */
.mobile-menu .search-form { max-width: none; margin: 0; flex: 0; }

/* Mobile nav list */
.mobile-menu-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin: 0;
  padding: 0;
}
.mobile-menu-list li { list-style: none; }
.mobile-menu-list a {
  display: block;
  padding: .75rem .75rem;
  border-radius: .5rem;
  text-decoration: none;
  color: #444;
  font-size: .95rem;
}
.mobile-menu-list a:hover { background: #f5f5f4; color: #78350f; }
.mobile-menu-list .current-menu-item > a,
.mobile-menu-list .current_page_item > a {
  background: #fef3c6;
  color: #78350f;
  font-weight: 600;
}

/* CTA inside mobile menu */
.mobile-cta {
  display: block;
  text-align: center;
  margin-top: .25rem;
  padding: .75rem;
  background: #bb4d00;
  color: #fff;
  border-radius: .5rem;
  text-decoration: none;
  font-size: .9rem;
}
.mobile-cta:hover { background: #92400e; }

/* Responsive: swap visibility at 768px */
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .desktop-search { display: none; }
  .mobile-only  { display: block !important; }
}

/* Optional animation */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu { transition: all .2s ease-in-out; }
}