:root {
  --primary-dark: #0d1a2b;
  --primary-gold: #b38626;
  --accent-gold: #BF9C56;
  --light-gold: #e6c885;
  --card-bg: #1c2e4a;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #f8fafc;
}

.professional-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #152642 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-container {
  position: relative;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.search-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(191, 156, 86, 0.3);
  color: white;
  transition: all 0.3s ease;
  padding-left: 48px;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(191, 156, 86, 0.2);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light-gold);
  z-index: 10;
}

.nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: all 0.3s ease;
  color: white;
}

.nav-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-gold);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--primary-gold);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.dropdown-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  min-width: 180px;
}

.dropdown-item {
  padding: 12px 16px;
  color: #4a5568;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f1f5f9;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: #f7fafc;
  color: var(--primary-dark);
}

.auth-modal {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--primary-dark);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(191, 156, 86, 0.2);
  max-width: 440px;
  width: 90%;
}

.form-input {
  background: var(--card-bg);
  border: 1px solid rgba(191, 156, 86, 0.4);
  color: white;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(191, 156, 86, 0.2);
}

.auth-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-gold) 100%);
  color: var(--primary-dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(179, 134, 38, 0.4);
}

.auth-toggle {
  color: var(--light-gold);
  transition: all 0.2s ease;
}

.auth-toggle:hover {
  color: white;
  text-decoration: underline;
}

.close-btn {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: white;
  transform: scale(1.1);
}

/* Animation for form switching */
.auth-form {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-out {
  opacity: 0;
  transform: translateX(-10px);
}

.fade-in {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile menu adjustments */
@media (max-width: 768px) {
  .search-container {
    margin-top: 12px;
  }

  .nav-icons-container {
    margin-top: 12px;
    justify-content: flex-end;
  }
}