:root {
  color-scheme: light;
  --ink: #191713;
  --paper: #f4eee6;
  --sage: #acbda8;
  --line: #cccbc0;
  font:
    16px/1.55 system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a,
input,
select,
summary {
  outline-offset: 5px;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
.logo i {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.02;
}
h1 {
  font-size: clamp(3.4rem, 8vw, 8rem);
  letter-spacing: -0.075em;
}
h2 {
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  letter-spacing: -0.055em;
}
h3 {
  font-size: 1.65rem;
}
em {
  font-weight: 400;
}
.top,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 5vw, 5rem);
  gap: 1rem;
}
.top {
  min-height: 88px;
}
.logo {
  text-decoration: none;
  text-align: center;
  display: grid;
}
.logo i {
  font-size: 2.6rem;
  line-height: 0.9;
}
.logo span,
.eyebrow {
  font-size: 0.69rem;
  letter-spacing: 0.24em;
  font-weight: 650;
}
.logo span {
  margin-top: 0.35rem;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 3vw, 2rem);
}
nav a {
  text-decoration: none;
  font-size: 0.88rem;
}
.outline,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  border-radius: 100px;
  padding: 0.68rem 1rem;
  min-height: 44px;
  text-decoration: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}
.button {
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.35rem;
}
.button:hover {
  background: #38352f;
}
.outline:hover {
  background: #1817130d;
}
footer {
  font-size: 0.85rem;
  min-height: 82px;
}
dialog {
  width: min(94vw, 520px);
  max-height: 90dvh;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 1.4rem;
}
dialog::backdrop {
  background: #17161199;
}
.dialog-head,
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.dialog-head h2 {
  font-size: 2.5rem;
}
.cart-line {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-line input {
  width: 4.5rem;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: grid;
  font-size: 0.9rem;
  gap: 0.25rem;
}
input,
select {
  width: 100%;
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid #888;
  background: #fff;
  color: var(--ink);
  border-radius: 0.25rem;
}
form .button,
.notice,
#total {
  margin-top: 1rem;
}
#error,
[role="alert"] {
  color: #8a2117;
}
.shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 5vw, 3rem);
}
.shell h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  margin-bottom: 1.4rem;
}
.shell h2 {
  font-size: 2.1rem;
  margin: 1rem 0;
}
.shell section {
  margin: 1.6rem 0;
}
.panel {
  padding: 1rem;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.65rem;
}
.stats strong {
  display: block;
  font-size: 1.35rem;
}
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-left: 1.35rem;
}
.flow [aria-current] {
  font-weight: bold;
}
.label-address {
  white-space: pre-line;
}
.admin-order {
  margin: 0.65rem 0;
}
.admin-order summary {
  cursor: pointer;
}
.admin-order button {
  margin-top: 0.7rem;
}
.receipt {
  margin: 1rem 0;
}
.shell .fields {
  max-width: 650px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
  }
}
@media print {
  body > * {
    display: none !important;
  }
  body > .print-label {
    display: block !important;
    padding: 1rem;
    color: #000;
    background: white;
  }
  .print-label p {
    white-space: pre-line;
  }
}
