:root {
  --ink: #1a1f14;
  --apron: #2f3b24;
  --apron-mid: #4a5a38;
  --pine: var(--apron);
  --pine-mid: var(--apron-mid);
  --fog: #e8efe0;
  --mist: #f3f6ee;
  --paper: #ffffff;
  --sun: #f5b800;
  --sun-deep: #e09a00;
  --honey: var(--sun);
  --honey-deep: var(--sun-deep);
  --line: rgba(26, 31, 20, 0.11);
  --muted: rgba(26, 31, 20, 0.62);
  --danger: #b42318;
  --ok: #3a6b2e;
  --shadow: 0 18px 50px rgba(26, 31, 20, 0.16);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 560px at 8% -8%, rgba(240, 180, 41, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(74, 90, 56, 0.12), transparent 52%),
    linear-gradient(180deg, #e5edd9 0%, var(--mist) 30%, var(--mist) 100%);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: var(--pine);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(14px);
  background: rgba(243, 247, 245, 0.86);
  border-bottom: 1px solid var(--line);
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 70% 28%, var(--sun) 0 22%, transparent 23%),
    var(--apron);
  color: #fff8e8;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.back-link,
.text-btn {
  background: none;
  border: 0;
  padding: 0.35rem 0;
  color: var(--pine);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.seller-page .topbar {
  justify-content: space-between;
}

.hero {
  position: relative;
  min-height: min(92dvh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  animation: fadeRise 0.7s ease both;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: ken 18s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 20, 0.15) 0%, rgba(16, 24, 20, 0.25) 40%, rgba(16, 24, 20, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 2rem 1.25rem 2.5rem;
  color: #f7f4ec;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 22rem;
  opacity: 0.92;
}

.hero-actions {
  margin-top: 1.35rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-honey {
  background: var(--honey);
  color: var(--ink);
}

.btn-honey:hover {
  background: var(--honey-deep);
}

.btn-pine {
  background: var(--pine);
  color: #f6f3ea;
}

.btn-block {
  width: 100%;
}

.menu-section {
  padding: 1.5rem 1rem 7.5rem;
  animation: fadeRise 0.6s ease 0.1s both;
}

.menu-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.menu-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0 0.25rem;
  margin: 0 -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  scrollbar-width: none;
  position: sticky;
  top: 3.6rem;
  z-index: 20;
  background: linear-gradient(180deg, var(--mist) 70%, transparent);
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.chip.active {
  background: var(--pine);
  border-color: var(--pine);
  color: #f6f3ea;
}

.product-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.product-card {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 7.25rem;
  animation: fadeRise 0.45s ease both;
}

.product-card img,
.product-photo {
  width: 100%;
  height: 100%;
  min-height: 7.25rem;
  object-fit: cover;
  background: linear-gradient(135deg, #c5d5cc, #8eaa9a);
}

.product-body {
  padding: 0.8rem 0.85rem 0.85rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.product-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.2;
}

.product-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.product-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.35rem;
}

.price {
  font-weight: 700;
  font-size: 1.05rem;
}

.add-btn {
  border: 0;
  background: var(--pine);
  color: #f6f3ea;
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

.add-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--fog);
  border-radius: 999px;
  padding: 0.15rem;
}

.qty-control button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 700;
}

.closed-banner {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.2);
  border-radius: 12px;
  color: var(--danger);
  font-weight: 600;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1rem 6.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.75rem 1rem calc(0.75rem + var(--safe-bottom));
  background: linear-gradient(180deg, transparent, rgba(16, 24, 20, 0.08) 30%, rgba(16, 24, 20, 0.16));
  animation: slideUp 0.28s ease;
}

.cart-bar-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-radius: 1.1rem;
  padding: 0.95rem 1.1rem;
  background: var(--pine);
  color: #f6f3ea;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.cart-bar-count {
  min-width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--honey);
  color: var(--ink);
  font-size: 0.85rem;
}

.sheet-root {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
}

.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 20, 0.45);
  animation: fade 0.2s ease;
}

.sheet {
  position: relative;
  max-height: min(92dvh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: var(--shadow);
  animation: sheetIn 0.28s ease;
  padding-bottom: var(--safe-bottom);
}

.sheet-tall {
  max-height: 96dvh;
}

.sheet-handle {
  width: 2.5rem;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(16, 24, 20, 0.15);
  margin: 0.55rem auto 0;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem 0.5rem;
}

.sheet-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--fog);
  cursor: pointer;
}

.sheet-body {
  overflow: auto;
  padding: 0.25rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.sheet-foot {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-line {
  display: grid;
  grid-template-columns: 4.25rem 1fr auto;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: cover;
  border-radius: 0.85rem;
  background: var(--fog);
}

.cart-line h3 {
  margin: 0;
  font-size: 0.98rem;
}

.cart-line p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.row-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.field-block {
  border: 0;
  margin: 0 0 1.1rem;
  padding: 0;
}

.field-block legend {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.55rem;
  background: var(--mist);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: var(--pine);
  background: rgba(28, 58, 46, 0.06);
}

.choice input {
  margin-top: 0.2rem;
}

.choice strong {
  display: block;
}

.choice small {
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}

.field span {
  font-size: 0.85rem;
  font-weight: 600;
}

.field span em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: var(--mist);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(28, 58, 46, 0.35);
  border-color: var(--pine-mid);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

#addressBlock .field-row {
  grid-template-columns: 1.4fr 0.55fr 0.7fr;
}

.totals-card {
  background: var(--fog);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.totals-card div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.92rem;
}

.totals-card .grand {
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
  margin-top: 0.15rem;
}

.pay-note,
.fine {
  color: var(--muted);
  font-size: 0.85rem;
}

.message {
  min-height: 1.2rem;
  margin-top: 0.5rem;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.9rem;
}

.message.ok {
  color: var(--ok);
}

.success-panel {
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}

.success-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--ok);
  font-weight: 700;
}

.success-panel h2 {
  margin: 0.4rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 2rem;
}

.success-panel p {
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + var(--safe-bottom));
  transform: translateX(-50%);
  background: var(--ink);
  color: #f6f3ea;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 60;
  animation: fadeRise 0.25s ease;
}

.hidden {
  display: none !important;
}

/* Google Places dropdown above checkout sheet */
.pac-container {
  z-index: 10000 !important;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--font-body);
}

/* Seller */
.seller-page main {
  padding: 1.25rem 1rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.seller-login h1,
.panel-head h2 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
}

.seller-login p {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.stat-strip div {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.55rem;
  text-align: center;
}

.stat-strip small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
}

.stat-strip b {
  font-size: 1rem;
}

.seller-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem;
  margin-bottom: 1rem;
  position: sticky;
  top: 3.6rem;
  z-index: 10;
}

.seller-tabs-4 {
  grid-template-columns: repeat(4, 1fr);
  border-radius: 1rem;
}

.seller-tabs-4 button {
  font-size: 0.78rem;
  padding: 0.6rem 0.2rem;
}

.period-bar {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.period-select {
  margin-bottom: 0.35rem;
}

.period-label {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.period-custom {
  margin-top: 0.35rem;
}

.period-breakdown {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.period-breakdown h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.breakdown-row:last-child {
  border-bottom: 0;
}

.breakdown-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.cost-subhead {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.cost-pill {
  display: inline-block;
  margin: 0.35rem 0 0.15rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.margin-good {
  background: rgba(58, 107, 46, 0.14);
  color: var(--ok);
}

.margin-ok {
  background: rgba(240, 180, 41, 0.22);
  color: #6a4d05;
}

.margin-thin {
  background: rgba(180, 35, 24, 0.1);
  color: var(--danger);
}

.ing-card,
.recipe-line {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem;
  margin-bottom: 0.65rem;
}

.add-recipe-optional {
  margin: 0.85rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--fog);
}

.add-recipe-optional summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
}

.add-recipe-optional summary::-webkit-details-marker {
  display: none;
}

.add-recipe-optional summary em {
  font-weight: 500;
  color: var(--muted);
  font-style: normal;
}

.add-recipe-optional[open] summary {
  margin-bottom: 0.55rem;
}

.add-recipe-line {
  display: grid;
  grid-template-columns: 1fr 5.5rem auto;
  gap: 0.45rem;
  align-items: end;
  margin-bottom: 0.5rem;
}

.add-recipe-line .field {
  margin: 0;
}

.add-recipe-line .field span {
  font-size: 0.75rem;
}

@media (max-width: 420px) {
  .add-recipe-line {
    grid-template-columns: 1fr 1fr;
  }

  .add-recipe-line .text-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

.ing-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.ing-add {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.cost-details {
  margin: 0.65rem 0;
  padding: 0.55rem 0.7rem;
  background: var(--fog);
  border-radius: 12px;
}

.cost-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
}

.stat-strip {
  grid-template-columns: repeat(4, 1fr);
}

.seller-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.65rem 0.4rem;
  font-weight: 700;
  cursor: pointer;
}

.seller-tabs button.active {
  background: var(--pine);
  color: #f6f3ea;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeRise 0.3s ease;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.order-card,
.menu-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
  margin-bottom: 0.75rem;
}

.order-card h3,
.menu-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}

.order-meta,
.menu-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.15rem 0;
}

.order-items {
  margin: 0.55rem 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.order-actions select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.7rem;
  background: var(--mist);
}

.address-box {
  margin-top: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: var(--fog);
  border-radius: 10px;
  font-size: 0.88rem;
}

.add-form,
.settings-form {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
}

.add-form h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.photo-picker {
  display: block;
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.photo-preview {
  height: 10rem;
  border-radius: 14px;
  border: 1.5px dashed rgba(28, 58, 46, 0.35);
  background:
    linear-gradient(135deg, rgba(28, 58, 46, 0.08), rgba(226, 161, 22, 0.12)),
    var(--mist);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  overflow: hidden;
}

.photo-preview.has-image span {
  display: none;
}

.switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.menu-card {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.menu-card img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 12px;
  background: var(--fog);
}

.menu-quick-edit {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  align-items: end;
  margin: 0.55rem 0 0.35rem;
}

.menu-quick-edit .field {
  margin: 0;
}

.menu-quick-edit .field span {
  font-size: 0.75rem;
}

.menu-quick-edit .field input {
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
  font-weight: 600;
}

.menu-quick-edit .btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .menu-quick-edit {
    grid-template-columns: 1fr 1fr;
  }

  .menu-quick-edit .btn {
    grid-column: 1 / -1;
  }
}

.menu-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.menu-card-actions button,
.ghost-btn {
  border: 1px solid var(--line);
  background: var(--mist);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.legal-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

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

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sheetIn {
  from {
    transform: translateY(100%);
  }
  to {
    transform: none;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-left: 2rem;
    padding-bottom: 3rem;
  }

  .menu-section,
  .site-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .cart-bar,
  .sheet {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .cart-bar {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(520px, calc(100% - 2rem));
  }

  .sheet-root {
    justify-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media {
    transform: none;
  }
}
