/* The shared site header (liquor_cabinet/site_header.py). Every rule is scoped to
   .site-header so page styles can't reach in, and vice versa. Each page still sets the
   header's width and side padding to match its own layout.
   It's set like a newspaper masthead: the name as the nameplate, a double rule beneath. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Where the name and links don't fit on one line, the links drop beneath the name. */
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 3px double var(--ink, #332A30);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink, #332A30);
  text-decoration: none;
}
.site-header .brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}
.site-header .brand-name {
  line-height: 1.2;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink, #332A30);
}
.site-header .header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1.5rem;
}
.site-header .header-link {
  color: var(--muted, #6B5C62);
  line-height: 1.5;
  font-size: 1.0625rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.site-header .header-link:hover,
.site-header .header-link[aria-current="page"] {
  color: var(--rose-deep, #7D3D52);
}
@media (max-width: 760px) {
  /* Brand on its own line, nav links on a row beneath it. */
  .site-header {
    padding-bottom: 0.75rem;
  }
  .site-header .header-nav {
    width: 100%;
    gap: 0 1rem;
  }
  .site-header .header-link {
    padding: 0.6rem 0;
  }
}

/* The Google Analytics cookie choice (web/static/google-tag.js), shown to visitors from the
   EU, EEA, UK and Switzerland. Accept and Decline look the same so neither is nudged. */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: var(--paper, #F6F0EC);
  color: var(--ink, #332A30);
  border: 1px solid var(--muted, #6B5C62);
  border-radius: 4px;
  font-size: 0.94rem;
  line-height: 1.5;
}
.cookie-banner p {
  flex: 1 1 18rem;
  margin: 0;
}
.cookie-banner a {
  color: var(--rose-deep, #7D3D52);
}
.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
}
.cookie-banner button,
.cookie-choice-button {
  min-height: 2.75rem;
  padding: 0.5rem 1.25rem;
  background: var(--paper, #F6F0EC);
  color: var(--ink, #332A30);
  border: 1px solid var(--ink, #332A30);
  border-radius: 4px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.cookie-choice-button[hidden] {
  display: none;
}
.cookie-banner button:hover,
.cookie-choice-button:hover {
  background: var(--ink, #332A30);
  color: var(--paper, #F6F0EC);
}
.cookie-banner button:focus-visible,
.cookie-choice-button:focus-visible {
  outline: 2px solid var(--rose-deep, #7D3D52);
  outline-offset: 2px;
}
