:root {
  color-scheme: light;
  --page: #f2f1e8;
  --surface: #fffdf6;
  --panel: #ffffff;
  --ink: #142118;
  --muted: #667064;
  --line: rgba(20, 33, 24, 0.14);
  --green: #087443;
  --green-dark: #054b2c;
  --green-soft: #dcefe0;
  --warm: #c8673d;
  --gold: #d9a441;
  --blue: #3c65a2;
  --price: #087443;
  --shadow: 0 22px 60px rgba(13, 32, 20, 0.14);
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(8, 116, 67, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8, 116, 67, 0.04) 1px, transparent 1px),
    var(--page);
  background-size: 38px 38px;
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(125deg, transparent 0 64%, rgba(200, 103, 61, 0.08) 64% 66%, transparent 66%),
    linear-gradient(36deg, transparent 0 72%, rgba(60, 101, 162, 0.07) 72% 74%, transparent 74%);
  background-size: 190px 190px, 240px 240px;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[hidden] {
  display: none !important;
}

.preview-rail {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 8px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.preview-rail button {
  min-width: 0;
  min-height: 34px;
  padding: 0 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: clamp(10px, 2.9vw, 12px);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-rail button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

body.is-live .preview-rail {
  display: none;
}

.qr-menu {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: color-mix(in srgb, var(--page) 76%, var(--surface));
  box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0, 0, 0, 0.08);
}

.cover {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #0d2115;
  color: #fff;
}

.cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(6, 16, 10, 0.38), rgba(6, 16, 10, 0.76)),
    linear-gradient(90deg, rgba(6, 16, 10, 0.76), rgba(6, 16, 10, 0.12));
}

.cover-media {
  position: absolute;
  inset: 0;
}

.media-main {
  filter: saturate(0.98) contrast(1.05);
}

.media-side {
  position: absolute;
  z-index: 2;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.media-side-one {
  right: 16px;
  top: 132px;
  transform: rotate(3deg);
}

.media-side-two {
  right: 36px;
  bottom: 58px;
  transform: rotate(-4deg);
}

.cover-top,
.cover-copy {
  position: relative;
  z-index: 3;
}

.cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-icon {
  position: relative;
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.brand-icon::before,
.brand-icon::after,
.brand-icon span {
  position: absolute;
  display: block;
  content: "";
  background: #fff;
  border-radius: 6px;
}

.brand-icon span {
  width: 8px;
  height: 28px;
}

.brand-icon::before {
  width: 17px;
  height: 8px;
  left: 10px;
  top: 25px;
}

.brand-icon::after {
  width: 17px;
  height: 8px;
  right: 10px;
  top: 14px;
}

.brand strong,
.brand em {
  display: block;
  line-height: 0.94;
}

.brand strong {
  font-size: 21px;
  font-weight: 950;
}

.brand em {
  color: #aef2c1;
  font-family: var(--serif);
  font-size: 18px;
}

.open-time {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(8, 20, 12, 0.28);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.cover-copy {
  width: min(82%, 360px);
  padding: 74px 16px 26px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.cover .eyebrow {
  color: #aef2c1;
}

.cover-copy h1 {
  max-width: 10ch;
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: clamp(45px, 14.4vw, 68px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.cover-copy p:last-child {
  max-width: 26ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.42;
}

.action-area {
  position: sticky;
  top: 50px;
  z-index: 30;
  padding: 10px 12px 12px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

body.is-live .action-area {
  top: 0;
}

.search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.search span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-radius: 50%;
}

.search span::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 8px;
  height: 2px;
  content: "";
  background: var(--green);
  border-radius: 4px;
  transform: rotate(45deg);
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
}

.search input::placeholder {
  color: color-mix(in srgb, var(--muted) 70%, transparent);
}

.category-strip {
  display: flex;
  gap: 7px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.category-strip button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.signature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 12px 0;
}

.signature-row article {
  min-width: 0;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(15, 39, 24, 0.07);
}

.signature-row span,
.signature-row em {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.signature-row span {
  color: var(--green);
}

.signature-row strong {
  display: block;
  min-height: 36px;
  margin: 5px 0;
  font-size: 12px;
  line-height: 1.25;
}

.signature-row em {
  color: var(--warm);
}

.note-band {
  display: grid;
  gap: 4px;
  margin: 12px 12px 0;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--green) 26%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 90%, #fff) 0 68%, rgba(200, 103, 61, 0.14) 68%),
    var(--panel);
}

.note-band span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.note-band strong {
  font-size: 14px;
  line-height: 1.35;
}

.menu-list {
  display: grid;
  gap: 16px;
  padding: 14px 12px;
}

.menu-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: rise 360ms ease both;
}

.section-media {
  height: 154px;
  background: var(--green-soft);
}

.section-title {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 14px 14px 7px;
}

.section-title > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 950;
}

.section-title h2 {
  margin: 3px 0 0;
  font-size: 25px;
  line-height: 1.04;
}

.items {
  display: grid;
  gap: 10px;
  padding: 0 11px 12px;
}

.menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 104px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(15, 39, 24, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.menu-item::before {
  display: none;
}

.menu-item.is-chef::after {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 4px 6px;
  content: "Favori";
  background: var(--warm);
  border-radius: 6px;
  color: #fff;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-item:active {
  transform: scale(0.99);
}

.menu-item:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--green) 36%, transparent);
  outline-offset: 2px;
}

.item-photo {
  position: relative;
  align-self: stretch;
  min-height: 88px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.item-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.16));
}

.menu-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.22;
}

.menu-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.menu-item span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.menu-item strong {
  color: var(--price);
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
}

body.has-product-open {
  overflow: hidden;
}

.product-page {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: min(100%, 520px);
  margin: 0 auto;
  overflow-y: auto;
  background: var(--page);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 30px 90px rgba(0, 0, 0, 0.24);
  animation: productIn 220ms ease both;
}

.product-hero {
  position: relative;
  height: min(46svh, 390px);
  min-height: 300px;
  overflow: hidden;
  background: var(--green-soft);
}

.product-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42));
}

.product-close {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(8, 18, 12, 0.46);
  backdrop-filter: blur(14px);
}

.product-close::before,
.product-close::after {
  position: absolute;
  left: 13px;
  top: 20px;
  width: 16px;
  height: 2px;
  content: "";
  background: #fff;
  border-radius: 3px;
}

.product-close::before {
  transform: rotate(45deg);
}

.product-close::after {
  transform: rotate(-45deg);
}

.product-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin-top: -22px;
  padding: 18px 16px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
  box-shadow: 0 -18px 46px rgba(0, 0, 0, 0.12);
}

.product-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.product-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 0.98;
}

.product-title-row strong {
  padding-top: 3px;
  color: var(--price);
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.product-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--green) 30%, var(--line));
  border-radius: var(--radius);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-note {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green-soft) 72%, var(--panel));
}

.product-note span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-note strong {
  font-size: 14px;
  line-height: 1.4;
}

.product-action {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.empty-state {
  margin: 18px 12px 26px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.footer {
  display: grid;
  gap: 6px;
  padding: 24px 16px 34px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer a {
  color: var(--green);
  font-weight: 950;
  text-decoration: none;
}

body[data-skin="ticket"] {
  --page: #f7f1df;
  --surface: #fffbed;
  --panel: #fff8e8;
  --ink: #1f241d;
  --muted: #65665a;
  --line: rgba(31, 36, 29, 0.38);
  --green: #0b7f4c;
  --green-dark: #084d30;
  --green-soft: #edf2da;
  --warm: #222222;
  --price: #111111;
  --shadow: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(31, 36, 29, 0.05) 17px 18px),
    var(--page);
}

body[data-skin="ticket"] .cover {
  min-height: 380px;
  background: var(--surface);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

body[data-skin="ticket"] .cover::after {
  background:
    linear-gradient(90deg, rgba(255, 251, 237, 0.96), rgba(255, 251, 237, 0.68)),
    repeating-linear-gradient(90deg, transparent 0 8px, rgba(31, 36, 29, 0.05) 8px 9px);
}

body[data-skin="ticket"] .media-main {
  opacity: 0.32;
  filter: grayscale(1) contrast(1.16);
}

body[data-skin="ticket"] .media-side {
  display: none;
}

body[data-skin="ticket"] .brand em,
body[data-skin="ticket"] .cover .eyebrow {
  color: var(--green);
}

body[data-skin="ticket"] .open-time {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

body[data-skin="ticket"] .cover-copy {
  width: 100%;
  padding-top: 58px;
}

body[data-skin="ticket"] .cover-copy h1 {
  max-width: 11ch;
  font-family: var(--font);
  font-size: clamp(39px, 11.6vw, 52px);
  line-height: 0.96;
  text-transform: uppercase;
}

body[data-skin="ticket"] .cover-copy p:last-child {
  color: var(--muted);
}

body[data-skin="ticket"] .preview-rail,
body[data-skin="ticket"] .action-area,
body[data-skin="ticket"] .menu-section,
body[data-skin="ticket"] .signature-row article,
body[data-skin="ticket"] .note-band,
body[data-skin="ticket"] .search,
body[data-skin="ticket"] .category-strip button,
body[data-skin="ticket"] .section-title > span {
  box-shadow: none;
}

body[data-skin="ticket"] .section-media {
  display: none;
}

body[data-skin="ticket"] .menu-section {
  border-color: var(--ink);
}

body[data-skin="ticket"] .section-title {
  border-bottom: 1px dashed var(--line);
}

body[data-skin="ticket"] .section-title h2 {
  font-family: var(--mono);
  font-size: 20px;
  text-transform: uppercase;
}

body[data-skin="ticket"] .menu-item {
  border-style: dashed;
  box-shadow: none;
}

body[data-skin="ticket"] .category-strip button.is-active {
  background: var(--green);
  border-color: var(--green);
}

body[data-skin="noir"] {
  color-scheme: dark;
  --page: #07110d;
  --surface: #101914;
  --panel: #14241c;
  --ink: #f7f2df;
  --muted: #a9b4aa;
  --line: rgba(247, 242, 223, 0.15);
  --green: #7be093;
  --green-dark: #b8f7c6;
  --green-soft: #173421;
  --warm: #e3ae54;
  --blue: #6a8ed5;
  --price: #c9f7a9;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
  background:
    linear-gradient(90deg, rgba(123, 224, 147, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(227, 174, 84, 0.04) 1px, transparent 1px),
    var(--page);
  background-size: 42px 42px;
}

body[data-skin="noir"] .preview-rail,
body[data-skin="noir"] .action-area {
  background: rgba(14, 24, 18, 0.92);
}

body[data-skin="noir"] .cover {
  min-height: 420px;
}

body[data-skin="noir"] .cover::after {
  background:
    linear-gradient(180deg, rgba(4, 9, 7, 0.2), rgba(4, 9, 7, 0.86)),
    radial-gradient(circle at 76% 42%, rgba(123, 224, 147, 0.18), transparent 34%);
}

body[data-skin="noir"] .brand-icon {
  background: rgba(123, 224, 147, 0.16);
  box-shadow: inset 0 0 0 2px rgba(123, 224, 147, 0.2);
}

body[data-skin="noir"] .brand-icon::before,
body[data-skin="noir"] .brand-icon::after,
body[data-skin="noir"] .brand-icon span {
  background: var(--green);
}

body[data-skin="noir"] .cover-copy {
  padding-top: 86px;
}

body[data-skin="noir"] .cover-copy h1 {
  max-width: 10.5ch;
  font-family: var(--font);
  font-size: clamp(40px, 12vw, 58px);
  font-weight: 950;
  line-height: 0.92;
}

body[data-skin="noir"] .category-strip button.is-active,
body[data-skin="noir"] .preview-rail button[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--green);
  color: #06100b;
}

body[data-skin="noir"] .note-band {
  background:
    linear-gradient(135deg, rgba(123, 224, 147, 0.14), rgba(227, 174, 84, 0.1)),
    var(--panel);
}

body[data-skin="noir"] .signature-row article {
  background: rgba(20, 36, 28, 0.86);
}

body[data-skin="noir"] .menu-item {
  background: rgba(20, 36, 28, 0.86);
}

body[data-skin="noir"] .product-close {
  background: rgba(5, 12, 8, 0.6);
}

body[data-skin="street"] {
  --page: #fff1cf;
  --surface: #fffaf0;
  --panel: #ffffff;
  --ink: #20251c;
  --muted: #6b6658;
  --line: rgba(32, 37, 28, 0.18);
  --green: #07824d;
  --green-dark: #075733;
  --green-soft: #e4f2d4;
  --warm: #cf3f2f;
  --gold: #e8b23e;
  --price: #cf3f2f;
  --shadow: 0 18px 44px rgba(90, 56, 13, 0.14);
  background:
    repeating-linear-gradient(90deg, rgba(7, 130, 77, 0.08) 0 14px, transparent 14px 28px),
    var(--page);
}

body[data-skin="street"] .cover {
  min-height: 392px;
  background: var(--surface);
  color: var(--ink);
}

body[data-skin="street"] .cover::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.18)),
    linear-gradient(130deg, transparent 0 62%, rgba(207, 63, 47, 0.18) 62% 80%, transparent 80%);
}

body[data-skin="street"] .media-main {
  transform: translateX(26%);
  width: 86%;
}

body[data-skin="street"] .media-side-one {
  top: 112px;
}

body[data-skin="street"] .media-side-two {
  bottom: 42px;
}

body[data-skin="street"] .brand-icon,
body[data-skin="street"] .category-strip button.is-active,
body[data-skin="street"] .preview-rail button[aria-pressed="true"],
body[data-skin="street"] .section-title > span {
  background: var(--warm);
  border-color: var(--warm);
  color: #fff;
}

body[data-skin="street"] .brand em,
body[data-skin="street"] .cover .eyebrow {
  color: var(--warm);
}

body[data-skin="street"] .open-time {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(32, 37, 28, 0.2);
  color: var(--ink);
}

body[data-skin="street"] .cover-copy {
  padding-top: 60px;
}

body[data-skin="street"] .cover-copy h1 {
  max-width: 11ch;
  font-family: var(--font);
  font-size: clamp(36px, 10.7vw, 50px);
  font-weight: 950;
  line-height: 0.98;
  text-transform: uppercase;
}

body[data-skin="street"] .cover-copy p:last-child {
  color: var(--muted);
}

body[data-skin="street"] .section-title h2 {
  font-family: var(--serif);
  font-size: 27px;
}

body[data-skin="street"] .menu-item.is-chef::after {
  background: var(--green);
}

body[data-skin="street"] .note-band {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green-soft) 90%, #fff) 0 62%, rgba(207, 63, 47, 0.16) 62%),
    var(--panel);
}

body[data-skin="atelier"] {
  --page: #eef3ee;
  --surface: rgba(255, 255, 255, 0.86);
  --panel: #ffffff;
  --ink: #102019;
  --muted: #657169;
  --line: rgba(16, 32, 25, 0.14);
  --green: #0b7454;
  --green-dark: #084b38;
  --green-soft: #dcebe4;
  --warm: #355f9f;
  --blue: #355f9f;
  --price: #0b7454;
  --shadow: 0 24px 70px rgba(17, 50, 36, 0.13);
  background:
    linear-gradient(90deg, rgba(53, 95, 159, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(11, 116, 84, 0.055) 1px, transparent 1px),
    var(--page);
  background-size: 52px 52px;
}

body[data-skin="atelier"] .cover {
  min-height: 438px;
  padding: 12px;
  background: transparent;
  color: #fff;
}

body[data-skin="atelier"] .cover::after {
  inset: 12px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(4, 12, 9, 0.72), rgba(4, 12, 9, 0.12) 70%),
    linear-gradient(180deg, rgba(4, 12, 9, 0.1), rgba(4, 12, 9, 0.52));
}

body[data-skin="atelier"] .cover-media {
  inset: 12px;
  overflow: hidden;
  border-radius: var(--radius);
}

body[data-skin="atelier"] .media-side-one {
  right: 28px;
  top: 86px;
}

body[data-skin="atelier"] .media-side-two {
  right: 28px;
  bottom: 36px;
}

body[data-skin="atelier"] .cover-top {
  padding: 14px 16px;
}

body[data-skin="atelier"] .cover-copy {
  padding-top: 88px;
}

body[data-skin="atelier"] .cover-copy h1 {
  max-width: 10ch;
  font-family: var(--font);
  font-size: clamp(38px, 11.6vw, 54px);
  font-weight: 950;
  line-height: 0.94;
}

body[data-skin="atelier"] .brand-icon {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

body[data-skin="atelier"] .brand em {
  color: #b7d0ff;
}

body[data-skin="atelier"] .category-strip button.is-active,
body[data-skin="atelier"] .preview-rail button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
}

body[data-skin="atelier"] .section-media {
  height: 178px;
}

body[data-skin="atelier"] .section-title h2 {
  font-size: 23px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes productIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .qr-menu,
  .preview-rail {
    width: 440px;
  }

  body {
    padding-bottom: 36px;
  }
}

@media (max-width: 390px) {
  .preview-rail {
    gap: 5px;
    padding-inline: 7px;
  }

  .preview-rail button {
    font-size: 10px;
  }

  .cover {
    min-height: 414px;
  }

  .cover-copy h1 {
    font-size: clamp(40px, 14vw, 54px);
  }

  .media-side {
    width: 82px;
    height: 82px;
  }

  .signature-row article {
    padding-inline: 8px;
  }

  .menu-item {
    grid-template-columns: 78px minmax(0, 1fr) auto;
    min-height: 98px;
  }

  .item-photo {
    min-height: 80px;
  }

  .menu-item h3 {
    font-size: 15px;
  }

  .menu-item p {
    font-size: 12px;
  }

  .product-hero {
    min-height: 280px;
  }
}

@media (max-width: 340px) {
  .brand strong {
    font-size: 18px;
  }

  .brand em {
    font-size: 16px;
  }

  .open-time {
    padding-inline: 8px;
    font-size: 11px;
  }

  .cover-copy {
    width: 100%;
  }

  .media-side {
    opacity: 0.72;
  }

  .menu-item {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .menu-item strong {
    grid-column: 2;
    justify-self: start;
  }

  .item-photo {
    grid-row: span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
