@font-face {
  font-family: Comfortaa;
  src: url("../fonts/Comfortaa/Comfortaa-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #faf6ef;
  --ink: #352c28;
  --muted: #71645b;
  --wine: #652e36;
  --line: #dfd6ca;
  --soft: #eee6da;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(3.3rem, 6.5vw, 6.3rem);
}
h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}
h3 {
  font-weight: 500;
}
em {
  font-weight: 400;
  color: var(--wine);
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--wine);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1320px, calc(100% - 112px));
  margin-inline: auto;
}
.eyebrow {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--paper);
  z-index: 20;
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 56px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 5;
}
.wordmark {
  font-family: Comfortaa, var(--sans);
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 1.1;
  display: inline-block;
}
.wordmark span {
  display: block;
  font-family: var(--sans);
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-weight: 400;
  margin-top: 9px;
}
.site-header nav {
  display: flex;
  gap: 29px;
  font-size: 1rem;
}
.site-header nav a {
  padding: 8px 0;
  position: relative;
}
.site-header nav a[aria-current],
.site-header nav a:hover {
  color: var(--wine);
}
.site-header nav a[aria-current]:after {
  content: "";
  height: 2px;
  background: var(--wine);
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
}
.cart-toggle {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 17px;
  background: transparent;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cart-toggle span {
  background: var(--wine);
  color: white;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}
.nav-toggle {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: var(--paper);
  border-radius: 3px;
  padding: 16px 25px;
  font-size: 1rem;
  transition: background 0.2s;
}
.button:hover {
  background: #492029;
}
.button span {
  font-size: 1.35rem;
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
  border-bottom: 1px solid var(--ink);
  padding-block: 8px;
}
.text-link:hover {
  color: var(--wine);
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 52px;
  padding-block: 52px 64px;
}
.hero-copy h1 {
  margin: 23px 0 25px;
}
.hero-copy > p {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.8;
}
.hero-copy .button {
  margin-top: 34px;
}
.hero-footnote {
  display: block;
  font-size: 1rem;
  margin-top: 22px;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  padding-bottom: 15px;
}
.hero-photo img {
  width: 100%;
  height: 560px;
  border-radius: 48% 48% 3px 3px;
  object-position: 43% center;
}
.hero-photo figcaption {
  position: absolute;
  bottom: -5px;
  right: -14px;
  background: var(--wine);
  color: var(--paper);
  padding: 19px 27px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  transform: rotate(-5deg);
}
.welcome-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 80px);
  background: var(--soft);
  border-block: 1px solid var(--line);
  padding: 21px;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.welcome-strip span[aria-hidden] {
  color: var(--wine);
  font-size: 1.25rem;
}
.section {
  padding-block: 86px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin-top: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-photo {
  position: relative;
  background: var(--soft);
  overflow: hidden;
  border-radius: 3px;
}
.product-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  transition: transform 0.35s;
}
.product-card:hover .product-photo img {
  transform: scale(1.025);
}
.photo-label {
  position: absolute;
  top: 13px;
  left: 13px;
  background: var(--paper);
  padding: 4px 10px;
  font-size: 1rem;
}
.product-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.product-heading h3 {
  font-family: var(--serif);
  font-size: 1.42rem;
  line-height: 1.2;
}
.product-heading > span {
  font-size: 1rem;
  white-space: nowrap;
  color: var(--muted);
}
.product-card > p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.55;
  min-height: 3em;
}
.product-card details {
  font-size: 1rem;
  color: var(--muted);
  margin: 12px 0 18px;
}
.product-card summary {
  cursor: pointer;
  width: fit-content;
}
.product-card details p {
  padding-top: 8px;
}
.product-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.product-bottom strong {
  font-size: 1.1rem;
  font-weight: 500;
}
.add-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  min-height: 44px;
  padding: 5px 13px;
  font-size: 1.25rem;
  color: var(--wine);
}
.add-button span {
  font-size: 1rem;
  margin-right: 10px;
}
.add-button:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}
.home-story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px 80px;
  border-top: 1px solid var(--line);
  padding: 72px 0 90px;
}
.home-story > .eyebrow {
  grid-column: 1/-1;
}
.home-story > div p {
  color: var(--muted);
  margin-bottom: 18px;
}
.home-story .text-link {
  margin-top: 10px;
}
.page-intro {
  padding: 70px 0 54px;
}
.page-intro h1 {
  margin: 20px 0 24px;
}
.page-intro > p {
  color: var(--muted);
  max-width: 610px;
  font-size: 1.08rem;
}
.menu-section {
  padding-bottom: 90px;
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 21px;
  font-size: 1rem;
  color: var(--ink);
}
.filters button[aria-pressed="true"] {
  background: var(--wine);
  color: white;
  border-color: var(--wine);
}
.result-count {
  font-size: 1rem;
  white-space: nowrap;
  color: var(--muted);
}
.catalog {
  row-gap: 48px;
}
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  padding: 20px 0 90px;
}
.story-lead {
  padding: 35px;
  background: var(--soft);
  align-self: start;
}
.story-lead h2 {
  margin-bottom: 25px;
}
.story-lead p {
  margin-bottom: 20px;
  color: var(--muted);
}
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  padding: 0 0 32px 28px;
  border-left: 1px solid var(--line);
  position: relative;
}
.timeline li:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine);
  left: -5px;
  top: 8px;
}
.timeline li > span {
  font-size: 1rem;
  color: var(--wine);
}
.timeline h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  margin: 7px 0;
}
.timeline p {
  color: var(--muted);
}
.place-photo img {
  width: 100%;
  height: 560px;
  object-position: center 60%;
}
.place-photo figcaption {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 12px;
}
.place-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding-block: 65px 90px;
}
.place-values article > span {
  font-size: 1rem;
  color: var(--wine);
}
.place-values h2 {
  font-size: 2.3rem;
  margin: 20px 0;
}
.place-values p {
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 90px;
}
.contact-main {
  padding: 40px;
  background: var(--soft);
}
.contact-main h2 {
  margin: 23px 0;
}
.contact-main p {
  margin-bottom: 28px;
  color: var(--muted);
}
.contact-links > a {
  display: block;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-links > a:first-child {
  padding-top: 0;
}
.contact-links span,
.contact-links p {
  font-size: 1rem;
  color: var(--muted);
}
.contact-links h3 {
  font-family: var(--serif);
  font-size: 1.9rem;
  margin: 10px 0;
}
.contact-links h3 span {
  font-size: 1.8rem;
  color: var(--wine);
}
.site-footer {
  background: var(--wine);
  color: var(--paper);
  padding: 48px 56px 25px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.site-footer > p {
  font-family: var(--serif);
  font-size: 1.45rem;
  text-align: center;
}
.site-footer > a:last-of-type {
  justify-self: end;
  font-size: 1rem;
}
.footer-note {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff30;
  padding-top: 22px;
  font-size: 1rem;
  color: #e5d6d0;
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.footer-note > span:nth-child(2) {
  max-width: 570px;
}
.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  height: 100dvh;
  max-height: 100dvh;
  width: 510px;
  max-width: 100%;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  overflow-y: auto;
}
.cart-dialog::backdrop {
  background: #25191380;
  backdrop-filter: blur(3px);
}
.dialog-open {
  overflow: hidden;
}
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 15px;
}
.cart-header h2 {
  margin-top: 12px;
  font-size: 2.8rem;
}
.close-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  font-size: 1.7rem;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 13px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: 4px;
}
.cart-item h3 {
  font-size: 1rem;
  line-height: 1.3;
}
.cart-item p {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 5px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.quantity button {
  width: 32px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 4px;
}
.quantity span {
  font-size: 1rem;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  font-size: 1.2rem;
}
.order-note {
  font-size: 1rem;
  color: var(--muted);
}
.checkout {
  width: 100%;
  margin-top: 22px;
  background: var(--soft);
  color: var(--muted);
  border-color: var(--line);
}
.checkout:hover {
  background: var(--soft);
}
.text-button {
  border: 0;
  background: transparent;
  display: block;
  margin: 15px auto;
  font-size: 1rem;
  text-decoration: underline;
}
.cart-empty {
  text-align: center;
  padding: 45px 15px;
  border-block: 1px solid var(--line);
}
.cart-empty h3 {
  font: 1.8rem var(--serif);
  margin-bottom: 12px;
}
.cart-empty p {
  color: var(--muted);
  font-size: 1rem;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  padding: 12px 23px;
  background: var(--ink);
  color: white;
  border-radius: 4px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (min-width: 1550px) {
  .site-header,
  .site-footer {
    padding-inline: max(56px, calc((100% - 1320px) / 2));
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header {
    padding-inline: 32px;
  }
  .site-header nav {
    gap: 17px;
  }
  .home-hero {
    gap: 30px;
  }
  .hero-photo img {
    height: 490px;
  }
  .product-grid {
    gap: 20px;
  }
  .product-heading {
    display: block;
  }
  .product-heading > span {
    display: block;
    margin-top: 5px;
  }
  .site-footer {
    padding-inline: 32px;
  }
  .story-layout,
  .contact-layout {
    gap: 40px;
  }
}
@media (max-width: 1000px) {
  .site-header {
    min-height: 86px;
    gap: 16px;
  }
  .wordmark {
    font-size: 1.65rem;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    margin-left: auto;
    font-size: 1rem;
    padding: 10px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 16px 32px 25px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 4px;
  }
  .nav-toggle[aria-expanded="true"] ~ nav {
    display: flex;
  }
  .site-header nav a {
    width: fit-content;
  }
  .cart-toggle {
    padding: 8px 12px;
    gap: 8px;
  }
  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding-block: 35px 45px;
  }
  .hero-copy h1 {
    font-size: 3.5rem;
  }
  .hero-copy > p {
    font-size: 1rem;
  }
  .hero-copy .button {
    padding: 13px 16px;
    gap: 10px;
  }
  .hero-photo img {
    height: 440px;
  }
  .hero-footnote {
    display: none;
  }
  .hero-photo figcaption {
    font-size: 1.25rem;
    padding: 15px;
  }
  .welcome-strip {
    gap: 20px;
    font-size: 1rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 24px;
  }
  .product-heading {
    display: flex;
  }
  .product-heading > span {
    margin: 0;
  }
  .section {
    padding-block: 55px;
  }
  .home-story {
    gap: 25px 35px;
    padding-block: 50px;
  }
  .home-story h2 {
    font-size: 2.7rem;
  }
  .story-layout {
    gap: 30px;
  }
  .story-lead {
    padding: 25px;
  }
  .place-values {
    gap: 25px;
  }
  .place-values h2 {
    font-size: 1.8rem;
  }
  .place-photo img {
    height: 430px;
  }
  .contact-main {
    padding: 25px;
  }
  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .site-footer > p {
    display: none;
  }
  .footer-note {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-note > span:nth-child(2) {
    order: 3;
    max-width: 100%;
  }
}
@media (max-width: 580px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    padding: 17px 18px;
    gap: 7px;
  }
  .wordmark {
    font-size: 1.45rem;
  }
  .wordmark span {
    font-size: 1rem;
  }
  .nav-toggle {
    font-size: 1rem;
    gap: 6px;
    padding: 8px;
  }
  .cart-toggle {
    font-size: 1rem;
    padding: 7px 9px;
    gap: 6px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
    gap: 35px;
  }
  .hero-copy h1 {
    font-size: 4rem;
    margin: 18px 0 20px;
  }
  .hero-copy > p {
    line-height: 1.65;
  }
  .hero-copy .button {
    margin-top: 25px;
    padding: 14px 20px;
  }
  .hero-photo img {
    height: 380px;
    object-position: center;
    border-radius: 44% 44% 3px 3px;
  }
  .hero-photo figcaption {
    right: 3px;
    bottom: 0;
  }
  .welcome-strip {
    padding: 15px 12px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .welcome-strip span:last-child,
  .welcome-strip span:nth-child(4) {
    display: none;
  }
  .section-heading h2 {
    font-size: 2.2rem;
  }
  .section-heading {
    align-items: flex-end;
    gap: 12px;
  }
  .section-heading .text-link {
    font-size: 1rem;
    gap: 6px;
    white-space: nowrap;
  }
  .product-grid {
    gap: 28px 14px;
  }
  .photo-label {
    top: 8px;
    left: 8px;
    font-size: 1rem;
    padding: 3px 7px;
  }
  .product-heading {
    display: block;
    margin-top: 12px;
  }
  .product-heading h3 {
    font-size: 1.25rem;
  }
  .product-heading > span {
    font-size: 1rem;
    margin-top: 5px;
  }
  .product-card > p {
    font-size: 1rem;
    min-height: 4.5em;
  }
  .product-bottom {
    gap: 6px;
  }
  .add-button {
    padding: 5px 14px;
  }
  .add-button span {
    display: none;
  }
  .product-bottom strong {
    font-size: 1rem;
  }
  .home-story {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home-story > .eyebrow {
    grid-column: auto;
  }
  .home-story h2 {
    font-size: 3rem;
  }
  .page-intro {
    padding: 42px 0 34px;
  }
  .page-intro h1 {
    font-size: 3.3rem;
    margin: 18px 0;
  }
  .page-intro > p {
    font-size: 1rem;
  }
  .filter-bar {
    display: block;
    padding-bottom: 17px;
  }
  .filters {
    gap: 7px;
  }
  .filters button {
    padding: 8px 13px;
    font-size: 1rem;
  }
  .result-count {
    display: block;
    margin-top: 15px;
  }
  .catalog {
    row-gap: 32px;
  }
  .menu-section {
    padding-bottom: 55px;
  }
  .story-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 55px;
  }
  .story-lead h2 {
    font-size: 2.5rem;
  }
  .place-photo img {
    height: 310px;
  }
  .place-values {
    grid-template-columns: 1fr;
    padding-block: 35px 55px;
    gap: 32px;
  }
  .place-values h2 {
    font-size: 2.3rem;
    margin: 12px 0;
  }
  .contact-main h2 {
    font-size: 3rem;
  }
  .site-footer {
    padding: 32px 18px 20px;
    gap: 24px;
  }
  .site-footer > a:last-of-type {
    font-size: 1rem;
  }
  .footer-note {
    font-size: 1rem;
  }
  .cart-dialog {
    padding: 23px 18px;
  }
  .cart-item {
    grid-template-columns: 52px 1fr auto;
    gap: 10px;
  }
  .cart-item img {
    width: 52px;
    height: 52px;
  }
  .cart-item h3 {
    font-size: 1rem;
  }
  .quantity {
    gap: 6px;
  }
  .quantity button {
    width: 28px;
  }
  .toast {
    font-size: 1rem;
    width: max-content;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media (max-width: 380px) {
  .site-header {
    gap: 4px;
    flex-wrap: wrap;
  }
  .wordmark {
    font-size: 1.2rem;
  }
  .nav-toggle {
    padding: 8px 5px;
  }
  .cart-toggle {
    gap: 5px;
    padding: 7px;
  }
}

/* Keep secondary copy readable, including on narrow phones. */
@media (max-width: 580px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .wordmark {
    font-size: 1.6rem;
  }
  .wordmark span {
    letter-spacing: 0;
    font-size: 1rem;
  }
  .nav-toggle {
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0;
    justify-self: start;
  }
  .cart-toggle {
    grid-row: 1;
    grid-column: 2;
  }
  .section-heading {
    align-items: start;
    flex-wrap: wrap;
  }
  .product-card > p {
    min-height: 0;
  }
  .product-card details {
    overflow-wrap: anywhere;
  }
  .cart-item {
    grid-template-columns: 52px 1fr;
  }
  .quantity {
    grid-column: 2;
    justify-self: start;
  }
}
@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .product-heading {
    display: flex;
  }
  .product-heading h3 {
    font-size: 1.6rem;
  }
  .add-button span {
    display: inline;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4rem);
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer > a:last-of-type {
    justify-self: start;
  }
}
.order-result:not(:empty) {
  border-left: 3px solid var(--wine);
  padding: 12px 16px;
  margin-top: 18px;
  background: var(--soft);
  font-size: 1rem;
}
.checkout:not(:disabled) {
  background: var(--wine);
  color: var(--paper);
  border-color: var(--wine);
}
.miniapp .site-header nav,
.miniapp .nav-toggle {
  display: none;
}
.miniapp .site-header {
  display: flex;
  padding-top: max(20px, env(safe-area-inset-top));
}
.miniapp .page-intro {
  padding-top: 30px;
}
.miniapp .page-intro h1 {
  font-size: clamp(2.5rem, 9vw, 4rem);
}
.miniapp .site-footer {
  padding-bottom: max(25px, env(safe-area-inset-bottom));
}

/* A familiar face, without an account. */
.customer-name {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0;
  font-size: 1rem;
  font-weight: 600;
}
.customer-name input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  font: inherit;
  border: 1px solid #aa8b7b;
  border-radius: 12px;
  background: #fffaf4;
  color: #382826;
}
.customer-name input:focus-visible {
  outline: 3px solid #985b48;
  outline-offset: 3px;
}
.order-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid #c78973;
  background: #f5dfd4;
  color: #613526;
}
.order-banner[hidden] {
  display: none;
}
.order-banner h2 {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  margin: 0.5rem 0;
}
.order-banner p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}
.order-banner-label {
  font-weight: 700;
}
.order-banner[data-status="preparing"] {
  background: #fff0c4;
  color: #614817;
  border-color: #c9aa54;
}
.order-banner[data-status="ready"],
.order-banner[data-status="completed"] {
  background: #e0eddc;
  color: #2e5135;
  border-color: #8dab82;
}
.order-banner[data-status="cancelled"] {
  background: #ece6e2;
  color: #574c45;
  border-color: #b5a79d;
}
@media (max-width: 580px) {
  .order-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 1.2rem;
  }
}
/* Soft, tactile controls for the coffee cart. */
.cart-dialog .close-button,
.cart-dialog .quantity button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ddc9bc;
  border-radius: 50%;
  background: #fffaf4;
  color: #652e36;
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 2px 5px #652e3609;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.cart-dialog .close-button {
  background: #f3e8df;
  font-size: 1.75rem;
}
.cart-dialog .quantity {
  gap: 4px;
  padding: 4px;
  border-radius: 32px;
  background: #f3e8df;
}
.cart-dialog .quantity span {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.cart-dialog .text-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 13px 20px;
  margin: 12px 0 0;
  border: 1px solid #ddc9bc;
  border-radius: 16px;
  background: #faf2e9;
  color: #652e36;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.cart-dialog .text-button::before {
  content: "←";
  font-size: 1.4rem;
  line-height: 1;
}
@media (hover: hover) {
  .cart-dialog .close-button:hover,
  .cart-dialog .quantity button:not(:disabled):hover,
  .cart-dialog .text-button:hover {
    background: #ebd8c9;
    border-color: #b38b79;
  }
}
.cart-dialog .quantity button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}
.cart-dialog .close-button:active,
.cart-dialog .quantity button:not(:disabled):active {
  transform: scale(0.94);
}
.cart-dialog .close-button:focus-visible,
.cart-dialog .quantity button:focus-visible,
.cart-dialog .text-button:focus-visible {
  outline: 3px solid #985b48;
  outline-offset: 3px;
}
@media (max-width: 580px) {
  .cart-dialog .cart-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .cart-dialog .quantity {
    grid-column: 2;
    justify-self: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cart-dialog .close-button,
  .cart-dialog .quantity button,
  .cart-dialog .text-button {
    transition: none;
  }
}
