:root {
  --ink: #1c140f;
  --muted: #74685d;
  --gold: #e0a31a;
  --gold-deep: #a87412;
  --wine: #6e2142;
  --wine-deep: #541833;
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --line: rgba(28, 20, 15, 0.1);
  --serif: "Cormorant Garamond", Palatino, Georgia, serif;
  --sans: Outfit, "Segoe UI", "Noto Sans Ethiopic", "Nyala", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -80px, #7a3048 0%, transparent 70%),
    #140e12;
  font-family: var(--sans);
  font-weight: 300;
}
body.modal-open { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site {
  width: min(1080px, 100%);
  margin: 0 auto;
  background: var(--cream);
  min-height: 100vh;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  color: #fff8ee;
  background: var(--wine-deep);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(40, 10, 22, 0.15) 0%, rgba(40, 10, 22, 0.78) 100%);
}
.brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 24px 18px 22px;
  text-align: center;
}
.mark {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand h1 {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 10vw, 5.2rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 0.85;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.hero-tag {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #fff4df;
}
.langs {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(20, 8, 12, 0.35);
  backdrop-filter: blur(8px);
}
.dock {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 238, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.langs button,
.diets button {
  border: 0;
  background: transparent;
  color: rgba(255, 248, 238, 0.62);
  padding: 6px 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.langs button { color: #fff8ee; }
.langs button.active {
  color: #2a140c;
  background: var(--gold);
  border-radius: 999px;
}

.tools {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px 0;
}
.search { flex: 1; }
.search input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink);
  outline: none;
}
.search input:focus { border-color: var(--gold); }
.diets { display: flex; gap: 4px; }
.diets button {
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 10px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.78rem;
  font-weight: 500;
}
.diets button.active {
  background: var(--wine);
  color: #fff8ee;
}

.cats {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 14px 14px;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cats a {
  flex: 0 0 132px;
  padding: 7px 7px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(80, 30, 20, 0.08);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  border: 2px solid transparent;
}
.cats img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 8px;
  background: #f0e6d8;
}
.cats a.active {
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(168, 116, 18, 0.22);
}

.menu { padding: 8px 18px 88px; }
.category { padding-top: 34px; scroll-margin-top: 230px; }
.category h2 {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.6rem);
}
.sep {
  width: 36px;
  height: 2px;
  margin: 10px auto 8px;
  background: var(--gold);
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 8px;
  text-align: left;
  color: inherit;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 14px 32px rgba(54, 18, 28, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(54, 18, 28, 0.14);
}
.card img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 18px;
  background: #f0e6d8;
}
.meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  row-gap: 4px;
  align-items: start;
  min-width: 0;
}
.title {
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.15;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f3e2c2;
  color: var(--wine);
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 3px;
}
.note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.price {
  margin-top: 2px;
  justify-self: end;
  color: #fff8ee;
  background: var(--wine);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.sizes {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  max-width: 168px;
}
.sizes span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}
.sizes b { color: var(--wine); font-weight: 600; }
.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 12px;
}

.burger {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(20, 8, 12, 0.38);
  display: grid;
  gap: 5px;
  place-content: center;
  backdrop-filter: blur(8px);
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff8ee;
}

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(20, 8, 12, 0.46); }
.drawer-panel {
  position: relative;
  width: min(320px, 88vw);
  height: 100%;
  background: #fff;
  color: var(--wine-deep);
  padding: 18px 22px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.2);
}
.drawer-top { display: flex; justify-content: space-between; align-items: flex-start; }
.drawer-top img { width: 74px; height: 74px; }
.drawer-x {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}
.drawer-nav { display: grid; gap: 6px; margin-top: 28px; }
.drawer-nav button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--wine-deep);
  text-align: left;
  padding: 12px 2px;
  font-size: 1.05rem;
  font-weight: 500;
}
.drawer-nav svg, .soc svg { width: 22px; height: 22px; fill: currentColor; }
.drawer-social { margin-top: 28px; }
.drawer-dev {
  margin-top: auto;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding-top: 24px;
  color: var(--wine);
  font-size: 0.92rem;
}
.drawer-dev p { margin: 0; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold-deep); }
.drawer-dev a { color: var(--wine); text-decoration: none; font-weight: 600; }

.footers {
  background: #2a101c;
  color: #fff8ee;
  text-align: center;
  padding: 36px 20px 32px;
}
.socials { display: flex; justify-content: center; gap: 16px; }
.soc {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #2a101c;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.soc.bare {
  width: 36px;
  height: 36px;
  background: transparent;
  color: var(--wine-deep);
}
.thanks {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: #fff8ee;
}
.footers p { margin: 8px 0; }
.phone-line { margin-top: 14px; font-size: 1.05rem; }
.phone-line a, .footers .dev a { color: #fff8ee; text-decoration: none; }
.phone-line a { display: inline-flex; align-items: center; gap: 8px; }
.phone-line svg { width: 16px; height: 16px; fill: currentColor; }
.dev { margin-top: 26px; }
.dev p:first-child {
  margin: 0 0 6px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.dev a { display: block; margin: 4px 0; }

.form-sheet .body { text-align: left; }
.form-sheet label { display: block; margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; }
.form-sheet input, .form-sheet textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}
.form-sheet textarea { min-height: 90px; resize: vertical; }
.form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  z-index: 2;
}
.stars { display: flex; gap: 6px; margin: 8px 0 4px; }
.stars button {
  border: 0;
  background: transparent;
  color: #e4d3bf;
  font-size: 1.8rem;
  line-height: 1;
  padding: 0;
}
.stars button.on { color: var(--gold); }
.send, .call-inline {
  display: inline-block;
  margin-top: 16px;
  border: 0;
  background: var(--wine);
  color: #fff8ee;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
}
.contact-phone { margin: 8px 0 0; text-align: center; font-size: 1.4rem; font-weight: 600; }
.contact-phone a { color: var(--wine); text-decoration: none; }
.form-error { min-height: 1.2em; color: #8d2e1b; }
.sent { text-align: center; color: var(--ink); }

.call {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 25;
  background: var(--gold);
  color: var(--wine-deep);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 12px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(80, 30, 20, 0.18);
}
.gotop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 25;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--wine);
  color: var(--gold);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: rgba(40, 16, 24, 0.62);
}
.overlay.open { display: flex; }
.sheet {
  width: min(520px, 100%);
  background: var(--paper);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.sheet img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: #f0e6d8;
}
.sheet .body { padding: 20px 22px 26px; text-align: center; }
.kicker {
  margin: 0 0 6px;
  color: var(--gold-deep);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.sheet h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1;
}
.sheet .note { margin: 0 0 14px; }
#sheet-price {
  font-weight: 600;
  letter-spacing: 0.06em;
}
.close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  z-index: 2;
}

@media (min-width: 760px) {
  .hero { height: 380px; }
  .menu { padding-left: 28px; padding-right: 28px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card { grid-template-columns: 136px minmax(0, 1fr); }
  .card img { width: 136px; height: 136px; }
  .overlay { align-items: center; }
  .tools { padding-left: 22px; padding-right: 22px; }
  .cats { padding-left: 22px; padding-right: 22px; }
}
