:root {
  --ink: #262621;
  --muted: #6f6b64;
  --cream: #fffaf5;
  --paper: #fffdf9;
  --peach: #f7d8d2;
  --pink: #f8e8e5;
  --sage: #dce7d8;
  --green: #526a56;
  --gold: #ae8b56;
  --line: #e8ddd2;
  --shadow: 0 18px 55px rgba(91, 68, 46, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
}
button,
input {
  font: inherit;
}
button,
a {
  color: inherit;
}
.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  background: rgba(255, 253, 249, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.brand-mark {
  width: 49px;
  height: 49px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: italic 600 30px "Playfair Display";
  color: var(--gold);
  position: relative;
}
.brand-mark:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--gold);
  transform: rotate(-45deg);
  bottom: 8px;
  left: 4px;
}
.brand strong {
  font: 600 clamp(16px, 2vw, 24px) "Playfair Display";
  letter-spacing: 0.04em;
}
.brand small {
  display: block;
  color: #746b60;
  letter-spacing: 0.26em;
  font-size: 8px;
  margin-top: 3px;
}
.site-header nav {
  display: flex;
  gap: 34px;
}
.site-header nav a {
  text-decoration: none;
  font-size: 14px;
}
.site-header nav a:hover {
  color: var(--green);
}
.bag {
  border: 0;
  background: var(--pink);
  border-radius: 50%;
  width: 43px;
  height: 43px;
  position: relative;
  font-size: 21px;
  cursor: pointer;
}
.bag.active {
  background: var(--green);
  color: white;
  box-shadow: 0 0 0 4px rgba(74, 101, 77, 0.16);
}
.bag b {
  position: absolute;
  right: -4px;
  top: -4px;
  background: var(--green);
  color: white;
  min-width: 19px;
  height: 19px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.hero {
  min-height: 480px;
  display: grid;
  grid-template-columns: 46% 54%;
  background: linear-gradient(115deg, #f8e9e0, #f5f0e6 55%, #e3ecdf);
  overflow: hidden;
}
.hero-copy {
  padding: 76px clamp(28px, 7vw, 105px);
  align-self: center;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: #817365;
}
.hero h1,
.section-heading h2,
.pairings h2,
.story h2 {
  font: 600 clamp(42px, 5vw, 72px)/0.98 "Playfair Display";
  margin: 15px 0 20px;
}
.hero h1 em {
  color: var(--green);
  font-weight: 600;
}
.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
}
.primary-button {
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  background: var(--green);
  color: white;
  border-radius: 999px;
  padding: 14px 22px;
  margin-top: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.primary-button:hover {
  transform: translateY(-2px);
  background: #415844;
}
.hero-art {
  background:
    linear-gradient(90deg, rgba(245, 240, 230, 0.35), transparent 25%),
    url("https://images.unsplash.com/photo-1511081692775-05d0f180a065?auto=format&fit=crop&w=1400&q=85")
      center/cover;
  position: relative;
  min-height: 370px;
}
.hero-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(42, 45, 36, 0.15), transparent 50%);
}
.hero-note {
  position: absolute;
  right: 30px;
  bottom: 28px;
  background: rgba(255, 253, 249, 0.85);
  padding: 14px 18px;
  border-radius: 2px;
  z-index: 1;
  font: italic 16px "Playfair Display";
}
.menu-section {
  padding: 70px clamp(20px, 5vw, 76px) 90px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.section-heading h2 {
  font-size: 48px;
  margin: 9px 0 0;
}
.section-heading > p {
  color: var(--muted);
}
.menu-tools {
  padding: 28px 0 18px;
}
.search-box {
  height: 56px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(78, 61, 43, 0.05);
}
.search-box > span {
  font-size: 25px;
}
.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  background: transparent;
  color: var(--ink);
}
kbd {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 4px 6px;
  border-radius: 5px;
  color: #8d8378;
}
.filter-groups {
  display: grid;
  gap: 12px;
  margin-top: 17px;
}
.filter-group {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: start;
  gap: 10px;
}
.filter-label {
  padding-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.filter-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 17px;
  cursor: pointer;
  transition: 0.2s;
}
.filter-button:hover,
.filter-button.active {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.filter-button.active::after {
  content: " ×";
  opacity: 0.8;
}
.reset-filters {
  border: 0;
  background: transparent;
  color: var(--green);
  text-decoration: underline;
  margin: 10px 0 0 98px;
  cursor: pointer;
  font-size: 12px;
}
.menu-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
}
.results-line {
  height: 20px;
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 13px;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.menu-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.25s;
  cursor: pointer;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-image {
  height: 190px;
  position: relative;
  background: #eee center/cover;
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--peach);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
}
.save-card {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 18px;
}
.save-card.saved {
  background: var(--green);
  color: #fff;
}
.card-copy {
  padding: 15px;
}
.card-copy h3 {
  font: 600 20px "Playfair Display";
  margin: 0;
}
.card-copy > p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  height: 39px;
}
.card-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
}
.card-price {
  font-weight: 700;
  font-size: 17px;
}
.tags {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.tag {
  background: var(--sage);
  color: #566557;
  font-size: 9px;
  border-radius: 99px;
  padding: 5px 7px;
}
.pairings {
  background: #eef3ea;
  border-radius: 22px;
  padding: 26px 22px;
  position: sticky;
  top: 106px;
}
.pairings h2 {
  font-size: 34px;
  margin: 7px 0 7px;
}
.pairing-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.pairing-card {
  background: rgba(255, 255, 255, 0.75);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 9px;
  border-radius: 14px;
  margin-top: 12px;
  cursor: pointer;
  border: 1px solid transparent;
}
.pairing-card:hover {
  border-color: #cad8c5;
}
.pairing-card img {
  width: 80px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
}
.pairing-card small {
  color: #8b665e;
  font-weight: 700;
}
.pairing-card h3 {
  font: 600 16px "Playfair Display";
  margin: 5px 0;
}
.pairing-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}
.allergy-note {
  background: #fff8f1;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.45;
}
.allergy-note > span {
  border: 1px solid var(--gold);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: none;
}
.allergy-note p {
  margin: 0;
}
.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
}
.empty-state span {
  font-size: 40px;
}
.empty-state h3 {
  font: 600 26px "Playfair Display";
  margin: 10px;
}
.empty-state button {
  border: 0;
  background: var(--green);
  color: white;
  padding: 11px 18px;
  border-radius: 99px;
}
.story {
  text-align: center;
  background: var(--pink);
  padding: 85px 20px;
}
.story h2 {
  font-size: 46px;
}
.story > p:last-child {
  color: var(--muted);
}
footer {
  padding: 25px clamp(20px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.item-dialog {
  border: 0;
  padding: 0;
  border-radius: 22px;
  width: min(850px, 92vw);
  background: var(--paper);
  box-shadow: 0 30px 100px rgba(35, 29, 24, 0.3);
  overflow: hidden;
}
.item-dialog::backdrop {
  background: rgba(40, 35, 30, 0.5);
  backdrop-filter: blur(5px);
}
.item-dialog[open] {
  display: grid;
  grid-template-columns: 44% 56%;
}
.item-dialog > img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}
.dialog-copy {
  padding: 42px;
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: var(--pink);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 23px;
  cursor: pointer;
}
.dialog-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.dialog-title h2 {
  font: 600 36px/1.05 "Playfair Display";
  margin: 8px 0;
}
.dialog-title > strong {
  font-size: 18px;
  margin-top: 13px;
}
.dialog-copy > p {
  color: var(--muted);
  line-height: 1.6;
}
.dialog-copy dl {
  margin: 24px 0;
}
.dialog-copy dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
dt {
  font-weight: 700;
  font-size: 12px;
}
dd {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.server-tip {
  background: var(--pink);
  padding: 15px;
  border-radius: 12px;
  font-size: 12px;
}
.server-tip p {
  margin: 6px 0 0;
  line-height: 1.5;
}
.save-dialog {
  width: 100%;
}
@media (max-width: 1020px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .site-header nav {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 72px;
    padding: 0 16px;
  }
  .brand-mark {
    width: 42px;
    height: 42px;
  }
  .brand strong {
    font-size: 16px;
  }
  .brand small {
    font-size: 6px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 52px 24px 45px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-art {
    min-height: 300px;
  }
  .menu-section {
    padding: 50px 16px 65px;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading > p {
    font-size: 13px;
  }
  .filter-group {
    display: block;
  }
  .filter-label {
    display: block;
    padding: 0 0 7px;
  }
  .filter-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .filter-button {
    white-space: nowrap;
  }
  .reset-filters {
    margin-left: 0;
  }
  .menu-layout {
    display: block;
  }
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .card-image {
    height: 145px;
  }
  .card-copy {
    padding: 12px;
  }
  .card-copy h3 {
    font-size: 17px;
  }
  .card-copy > p {
    font-size: 11px;
    height: 48px;
  }
  .card-meta {
    display: block;
  }
  .tags {
    justify-content: flex-start;
    margin-top: 8px;
  }
  .pairings {
    position: static;
    margin-top: 35px;
  }
  .item-dialog[open] {
    display: block;
  }
  .item-dialog > img {
    height: 260px;
    min-height: 0;
  }
  .dialog-copy {
    padding: 26px 20px;
  }
  .dialog-title h2 {
    font-size: 29px;
  }
  footer {
    display: block;
    text-align: center;
    line-height: 1.8;
  }
  .story h2 {
    font-size: 38px;
  }
}
@media (max-width: 390px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .card-image {
    height: 210px;
  }
  .brand strong {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 43px;
  }
}
/* Responsive menu filter buttons */
@media (max-width: 760px) {
  .filter-group {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .filter-label {
    display: block;
    padding: 0 0 8px;
  }

  .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .filter-button {
    flex: 0 0 auto;
    max-width: 100%;
    min-height: 40px;
    padding: 9px 13px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .reset-filters {
    margin-left: 0;
  }
}

@media (max-width: 390px) {
  .filter-groups {
    gap: 16px;
  }

  .filter-options {
    gap: 6px;
  }

  .filter-button {
    min-height: 38px;
    padding: 8px 11px;
    font-size: 12px;
  }
}
