:root {
  --wine-accent: #722F37;
  --wine-accent-hover: #5a252c;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28136, 136, 136, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

#userDropdown::after {
  display: none;
}

.user-avatar {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: var(--wine-accent);
  color: white;
  font-family: 'Garamond', serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
  vertical-align: middle;
}

#userDropdown {
  display: inline-block;
}

.btn-wine {
  background-color: var(--wine-accent);
  border-color: var(--wine-accent);
  color: white;
  transition: all 0.2s ease;
}

.btn-wine:hover {
  background-color: var(--wine-accent-hover);
  border-color: var(--wine-accent-hover);
  color: white;
}

.btn-wine:focus {
  box-shadow: 0 0 0 0.2rem rgba(114, 47, 55, 0.25);
}

a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.form-control, .form-select {
  padding: 0.625rem 0.875rem;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--wine-accent);
  box-shadow: 0 0 0 0.15rem rgba(114, 47, 55, 0.15);
}

.navbar-brand {
  color: var(--wine-accent) !important;
  font-weight: 600;
}

.nav-link {
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--wine-accent) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #2d2d2d;
}

.section-heading {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.section-heading::before,
.section-heading::after {
  content: "";
  width: 40px;
  height: 1px;
  background: #ccc;
  flex-shrink: 0;
}