:root {
  --font-body: "Manrope", sans-serif;
  --emerald: #004D40;
  --emerald-deep: #002A24;
  --gold: #D4AF37;
  --gold-deep: #B8860B;
  --cream: #FFF1D6;
  --ink: #18201d;
  --muted: #6d756f;
  --shadow: 0 26px 70px rgba(0, 42, 36, .28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: var(--emerald-deep);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.serif {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .01em;
}

.page {
  overflow: hidden;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(0, 42, 36, .94), rgba(0, 42, 36, .62));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, .24);
}

.brand {
  display: grid;
  line-height: 1.1;
  text-decoration: none;
}

.brand strong {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.2rem;
}

.brand span,
.made-by {
  color: rgba(255, 241, 214, .82);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

a.made-by {
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

a.made-by:hover,
a.made-by:focus-visible {
  color: var(--gold);
}

.brand-location span {
  color: var(--cream);
}

.brand-credit {
  color: var(--gold) !important;
  animation: none;
}

@keyframes brandCreditGlow {
  0%, 100% { opacity: .76; text-shadow: 0 0 0 rgba(212, 175, 55, 0); }
  50% { opacity: 1; text-shadow: 0 0 14px rgba(212, 175, 55, .72); }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(.8rem, 2vw, 1.4rem);
  font-size: .9rem;
  font-weight: 700;
}

.nav a {
  position: relative;
  text-decoration: none;

}

.nav a:not(.cart-link):not(.button-50)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.35rem;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav a:not(.cart-link):not(.button-50):hover::after,
.nav a:not(.cart-link):not(.button-50):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 7rem clamp(1.2rem, 5vw, 5rem) 4.5rem;
  background:
    radial-gradient(circle at 16% 22%, rgba(212, 175, 55, .18), transparent 28rem),
    radial-gradient(circle at 86% 12%, rgba(255, 248, 231, .08), transparent 24rem),
    linear-gradient(130deg, var(--emerald), var(--emerald-deep) 68%);
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  line-height: .96;
  text-wrap: balance;
}

h2 {
  color: var(--gold);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

h3 {
  color: var(--emerald-deep);
  font-size: 1.45rem;
  line-height: 1.05;
}

.hero p {
  color: rgba(255, 241, 214, .88);
  font-family: var(--font-body);
}


.call-form {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
  margin-top: 1.4rem;
}

.btn,
button {
  display: inline-flex;}

a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(212, 175, 55, .46);
  outline-offset: 3px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 16px;
  padding: .95rem 1rem;
  color: var(--cream);
  background: rgba(0, 42, 36, .72);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.call-form {
  max-width: 650px;
}

.call-form input {
  flex: 1 1 220px;
}

.promo {
  display: inline-flex;
  margin-top: .9rem;
  padding: .48rem .8rem;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, .34);
  background: rgba(0, 42, 36, .52);
  font-weight: 800;
}

.hero-card {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, .28);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 42, 36, .88));
}

.hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #102b25;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}

.hero-card:hover .hero-video {
  transform: scale(1.025);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(212, 175, 55, .32);
  padding-top: 1rem;
}

.hero-caption b {
  color: var(--gold);
  font-family: var(--font-body);
}

section {
  padding: clamp(3rem, 7vw, 6.5rem) clamp(1rem, 5vw, 5rem);
}

.cream {
  color: var(--ink);
  background: var(--cream);
}

.dark {
  background:
    linear-gradient(180deg, rgba(0, 77, 64, .95), rgba(0, 42, 36, 1)),
    var(--emerald);
}

.section-head {
  max-width: 850px;
  margin-bottom: 2rem;
}

.section-head p {
  color: rgba(255, 241, 214, .8);
  font-family: var(--font-body);
  font-size: 1.1rem;
}

.cream .section-head p {
  color: #4c5a53;
}

.feature-grid,
.complex-grid,
.review-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature,
.dish,
.complex,
.review,
.recipe,
.order-panel,
.map-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 8px 30px rgba(0, 77, 64, .25);
}

.feature {
  display: flex;
  flex-direction: column;
}

.feature-body,
.dish-body,
.complex-body,
.review,
.recipe-body,
.order-panel,
.map-card {
  padding: 1.2rem;
}

.feature-body,
.complex-body,
.recipe-body {
  flex: 1;
}

.feature p,
.dish p,
.complex p,
.review p,
.recipe p {
  color: #4d5a54;
  font-family: var(--font-body);
}

.menu-toolbar {
  margin-bottom: 1.4rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.dish {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature > div:first-child,
.complex > div:first-child,
.recipe > div:first-child {
  aspect-ratio: 4 / 3;
  height: auto;
  background: #102b25;
}

.feature img,
.complex img,
.recipe img {
  object-fit: contain;
  object-position: center;
  background: #102b25;
}

.dish.featured {
  outline: 1px solid rgba(212, 175, 55, .42);
  outline-offset: -1px;
}

.dish-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.8rem;
}

.price {
  white-space: nowrap;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
}

.dish-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.dish-body p {
  margin-bottom: 1rem;
}

@media (hover: hover) {

  .feature,
  .dish,
  .complex,
  .recipe,
  .review {
    transition: transform .28s ease, box-shadow .28s ease;
  }

  .feature:hover,
  .dish:hover,
  .complex:hover,
  .recipe:hover,
  .review:hover {
    box-shadow: 0 16px 42px rgba(0, 77, 64, .28);
    transform: translateY(-5px);
  }

  .feature img,
  .dish img,
  .complex img,
  .recipe img {
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  }

  .feature:hover img,
  .dish:hover img,
  .complex:hover img,
  .recipe:hover img {
    transform: scale(1.035);
  }
}

.tea {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.tea-image {
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gold-line {
  height: 1px;
  margin: 1.4rem 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, .75), transparent);
}

.complex {
  display: flex;
  flex-direction: column;
}

.map-order {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1.2rem;
}

.map-card {
  color: var(--ink);
}

.map-frame {
  display: grid;
  min-height: 320px;
  place-items: center;
  padding: 1rem;
  color: var(--cream);
  background:
    linear-gradient(rgba(0, 77, 64, .72), rgba(0, 42, 36, .82)),
    url("/img/photo-1.jpg") center/cover;
}

.order-panel {
  color: var(--cream);
  background: linear-gradient(160deg, rgba(0, 77, 64, .96), rgba(0, 42, 36, .98));
  border: 1px solid rgba(212, 175, 55, .28);
}

.order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.full {
  grid-column: 1 / -1;
}

.cart-box {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 248, 231, .08);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  padding: .45rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, .18);
}

.recipe {
  display: flex;
  flex-direction: column;
}

.recipe-body details {
  margin-top: .8rem;
  color: #26312d;
}

.blog-type {
  display: inline-flex;
  margin-bottom: .55rem;
  color: var(--gold-deep);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.blog-video {
  display: block;
  width: 100%;
  max-height: 360px;
  margin-top: 1rem;
  border-radius: 10px;
  background: var(--emerald-deep);
}

.blog-video-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--emerald);
  font-weight: 800;
}

.review {
  color: var(--ink);
}

.stars {
  color: var(--gold-deep);
  letter-spacing: .08em;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: rgba(255, 241, 214, .86);
  background: #001d19;
  border-top: 1px solid rgba(212, 175, 55, .22);
}

.footer a {
  color: var(--gold);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem 1.2rem;
}

.toast {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  max-width: 320px;
  padding: .9rem 1rem;
  border-radius: 16px;
  color: var(--emerald-deep);
  background: var(--gold);
  font-weight: 800;
  transform: translateY(140%);
  transition: transform .25s ease;
}

.toast.show {
  transform: translateY(0);
}

.assistant-widget {
  position: fixed;
  z-index: 35;
  right: 1rem;
  bottom: 1rem;
  padding: 0;
  pointer-events: none;
}

.assistant-toggle,
.assistant-panel {
  pointer-events: auto;
}

.assistant-toggle {
  display: block;
  margin-left: auto;}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.assistant-panel {
  width: min(380px, calc(100vw - 2rem));
  margin-bottom: .75rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: 18px;
  color: var(--cream);
  background: linear-gradient(165deg, rgba(0, 77, 64, .98), rgba(0, 30, 25, .98));
  box-shadow: 0 26px 80px rgba(0, 20, 16, .45);
}

.assistant-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, .2);
}

.assistant-head strong {
  color: var(--gold);
}

.assistant-head span,
.assistant-note {
  color: rgba(255, 241, 214, .72);
  font-size: .78rem;
}

.assistant-log {
  display: grid;
  align-content: start;
  gap: .65rem;
  min-height: 170px;
  max-height: 300px;
  overflow: auto;
  padding: 1rem;
}

.assistant-message {
  max-width: 88%;
  border-radius: 14px;
  padding: .72rem .85rem;
  font-size: .92rem;
  line-height: 1.45;
}

.assistant-message.bot {
  justify-self: start;
  background: rgba(255, 248, 231, .1);
  border: 1px solid rgba(212, 175, 55, .18);
}

.assistant-message.user {
  justify-self: end;
  color: #1a1a1a;
  background: var(--gold);
}

.assistant-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  padding: 0 1rem .75rem;
}

.assistant-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: 0 1rem 1rem;
}

.assistant-form input {
  min-width: 0;
  border-radius: 999px;
}

.assistant-note {
  margin: 0;
  padding: 0 1rem 1rem;
}

.admin-page {
  min-height: 100vh;
  padding: 7.5rem clamp(1rem, 4vw, 3.5rem) 4rem;
  background: var(--cream);
  color: var(--ink);
}

.admin-dashboard {
  display: grid;
  gap: 1.2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.admin-card {
  width: 100%;
  scroll-margin-top: 6.5rem;
  border-radius: 18px;
  padding: clamp(1.1rem, 3vw, 2rem);
  background: white;
  box-shadow: 0 18px 50px rgba(0, 77, 64, .16);
}

.admin-login {
  max-width: 760px;
  margin: 0 auto;
}

.admin-card h1,
.admin-card h2,
.admin-card h3,
.admin-card p,
.admin-card li,
.admin-card label,
.admin-card td,
.admin-card th {
  overflow-wrap: anywhere;
}

.admin-title {
  max-width: none;
  color: var(--emerald-deep);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
}

.admin-card h2 {
  color: var(--emerald-deep);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.08;
}

.admin-card p {
  margin-block: .65rem;
}

.admin-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 77, 64, .12);
}

.admin-section-head .eyebrow,
.admin-intro .eyebrow {
  margin: 0 0 .35rem;
}

.admin-intro {
  background: linear-gradient(145deg, #fff, #f6f0df);
  border: 1px solid rgba(212, 175, 55, .28);
}

.admin-steps {
  display: grid;
  gap: .45rem;
  margin: 1rem 0;
  padding-left: 1.3rem;
}

.demo-warning {
  margin: 1rem 0;
  padding: .9rem 1rem;
  border-left: 4px solid var(--gold-deep);
  border-radius: 0 12px 12px 0;
  color: #3b2d00;
  background: #fff6d7;
}

.admin-feedback {
  min-height: 1.5rem;
  color: var(--emerald);
  font-weight: 800;
}

.admin-help {
  padding: .8rem 1rem;
  border-radius: 12px;
  color: #526159;
  background: #f7f2e6;
  font-size: .86rem;
}

.admin-subtitle {
  margin-top: 1.5rem;
  color: var(--emerald-deep);
}

.content-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.content-editor-grid label,
.menu-editor-card label {
  display: grid;
  gap: .4rem;
  min-width: 0;
  color: #30453d;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.35;
}

.content-editor-grid .wide {
  grid-column: 1 / -1;
}

.content-editor-grid input,
.content-editor-grid textarea,
.menu-editor-card input,
.menu-editor-card textarea,
.menu-editor-card select,
.admin-table select {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fbf8ef;
  border-color: rgba(0, 77, 64, .2);
}

.content-editor-grid textarea,
.menu-editor-card textarea {
  min-height: 92px;
  line-height: 1.45;
}

.blog-editor-card textarea[name="content"] {
  min-height: 150px;
}

.menu-editor {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.menu-editor-card {
  display: grid;
  align-content: start;
  gap: .8rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(0, 77, 64, .14);
  border-radius: 16px;
  background: #fffdf8;
}

.menu-editor-number {
  color: var(--gold-deep);
  font-weight: 900;
}

.menu-editor-photo {
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #102b25;
}

.menu-editor-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-editor-photo-name {
  margin: -.25rem 0 0;
  color: #617068;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.menu-editor-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(100px, .65fr);
  gap: .7rem;
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  flex-direction: row;
  align-items: center;
}

.checkbox-label input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1rem;
}









.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1rem;
}

.admin-stats > div {
  display: grid;
  gap: .1rem;
  min-width: 0;
  padding: .8rem;
  border-radius: 14px;
  color: var(--emerald-deep);
  background: #f6f0df;
}

.admin-stats span {
  color: #617068;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-stats strong {
  font-size: 1.05rem;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid rgba(0, 77, 64, .12);
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: .92rem;
  line-height: 1.45;
}

.admin-table th,
.admin-table td {
  padding: .75rem;
  border-bottom: 1px solid rgba(0, 77, 64, .16);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--emerald-deep);
  background: #f6f0df;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.admin-table td:nth-child(1) {
  width: 19%;
}

.admin-table td:nth-child(2),
.admin-table td:nth-child(3) {
  width: 26%;
}

.admin-table td:nth-child(4) {
  width: 13%;
}

.admin-table td:nth-child(5) {
  width: 16%;
}

.admin-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  margin-top: 1rem;
}

.admin-tools select,
.admin-tools input {
  width: min(100%, 320px);
  color: var(--ink);
  background: #f7f2e6;
}

.notification-settings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}

.notification-setting-card,
.notification-log-item {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(0, 77, 64, .14);
  border-radius: 14px;
  background: #fffdf8;
}

.notification-setting-card {
  display: grid;
  gap: .8rem;
}

.notification-setting-card label {
  display: grid;
  gap: .4rem;
  min-width: 0;
  color: #30453d;
  font-size: .88rem;
  font-weight: 800;
}

.notification-setting-card input:not([type="checkbox"]) {
  min-width: 0;
  color: var(--ink);
  background: #fbf8ef;
  border-color: rgba(0, 77, 64, .2);
}

.notification-setting-head,
.notification-log-item > div,
.notification-log-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.notification-setting-head > div,
.notification-log-item > div:first-child {
  display: grid;
  gap: .1rem;
}

.notification-setting-head span:not(.status-badge),
.notification-log-item span {
  color: #617068;
  font-size: .78rem;
}

.status-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: .28rem .55rem;
  font-size: .7rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.demo {
  color: #6b4d00;
  background: #fff0b8;
}

.notification-log {
  display: grid;
  gap: .7rem;
  margin-top: .75rem;
}

.notification-log-item p {
  margin: .7rem 0;
  color: #30453d;
  font-weight: 700;
}

.empty-state {
  padding: 1rem;
  border-radius: 12px;
  color: #617068;
  background: #f7f2e6;
}

@media (max-width: 980px) {
  .hero,
  .tea,
  .map-order {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .tea-image {
    min-height: 420px;
  }

  .feature-grid,
  .complex-grid,
  .review-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .admin-section-head {
    grid-template-columns: 1fr;
    gap: .4rem;
    align-items: start;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 900px) {
  .admin-topbar .made-by { display: inline-flex; align-self: flex-start; }

  .admin-topbar {
    position: sticky;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    padding: .7rem 1rem;
    background: rgba(0, 42, 36, .98);
  }

  .admin-topbar .brand {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .7rem;
  }

  .admin-topbar .nav {
    width: 100%;
    padding: 0 0 .25rem;
  }

  .admin-topbar .nav a {
    flex: 0 0 auto;
  }

  .admin-page {
    padding: 1rem clamp(.7rem, 3vw, 1.4rem) 3rem;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 6rem;
  }



  .hero-card,
  .tea-image {
    min-height: 340px;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .assistant-widget {
    left: 1rem;
    right: 1rem;
  }

  .admin-page {
    padding: 1rem .7rem 3rem;
  }

  .content-editor-grid,
  .menu-editor-pair {
    grid-template-columns: 1fr;
  }

  .content-editor-grid .wide {
    grid-column: auto;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .notification-settings {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap {
    overflow: visible;
    border: 0;
  }

  .admin-table,
  .admin-table tbody,
  .admin-table tr,
  .admin-table td {
    display: block;
    width: 100% !important;
    min-width: 0;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody {
    display: grid;
    gap: .8rem;
  }

  .admin-table tr {
    overflow: hidden;
    border: 1px solid rgba(0, 77, 64, .14);
    border-radius: 14px;
    background: #fffdf8;
  }

  .admin-table td {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: .7rem;
    padding: .7rem;
  }

  .admin-table td::before {
    color: #617068;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .admin-table td:nth-child(1)::before { content: "Заказ"; }
  .admin-table td:nth-child(2)::before { content: "Гость"; }
  .admin-table td:nth-child(3)::before { content: "Состав"; }
  .admin-table td:nth-child(4)::before { content: "Сумма"; }
  .admin-table td:nth-child(5)::before { content: "Статус"; }

  .admin-table td[colspan] {
    display: block;
  }

  .admin-table td[colspan]::before {
    content: none;
  }

  .notification-log-item > div,
  .notification-log-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }


}

@media (max-width: 420px) {
  .topbar {
    gap: .6rem;
  }

  .admin-topbar .brand span {
    display: none;
  }

  a.made-by {
    font-size: .66rem;
    letter-spacing: .045em;
  }

  .hero {
    padding-inline: .9rem;
  }

  .admin-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .admin-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 350px) {
  .topbar:not(.admin-topbar) {
    padding-inline: .7rem;
  }

  .brand-location span,
  a.made-by {
    font-size: .6rem;
    letter-spacing: .025em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .brand-credit {
    animation: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Scoped release fixes: readable demo, stable anchors, accessible navigation. */
[hidden] { display: none !important; }
html { scroll-padding-top: 110px; scrollbar-color: var(--gold) var(--emerald-deep); }
section[id] { scroll-margin-top: 110px; }
::selection { color: var(--emerald-deep); background: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 4px; }
input, textarea { caret-color: var(--gold-deep); }
input::placeholder, textarea::placeholder { color: #55655d; opacity: 1; }
.hero input::placeholder, .order-panel input::placeholder, .order-panel textarea::placeholder { color: #e6dcc5; }
.nav a:not(.cart-link):not(.button-50) { min-height: 44px; }
summary { display: flex;}
.brand-credit { text-transform: none; letter-spacing: 0; white-space: nowrap; }
.brand strong { font-size: 1.35rem; }
.brand span { font-size: .65rem; margin-top: .3rem; }
.demo-note { padding-block: .5rem; font-family: var(--font-body); font-size: .9rem !important; line-height: 1.5 !important; }
.mobile-menu-toggle { display: none; }
.reveal-on-scroll { opacity: 1; transform: none; }
.assistant-panel { max-height: calc(100dvh - 100px); overflow-y: auto; }
.assistant-form { grid-template-columns: minmax(0, 1fr) auto; }
.assistant-close { grid-column: 1 / -1; }
.toast { bottom: 5.5rem; left: auto; max-width: min(420px, calc(100vw - 2rem)); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.dish-meta { flex-wrap: wrap; gap: .4rem .75rem; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page { overflow: clip; }
.admin-card { min-width: 0; }
.cart-remove { margin-top: .35rem;}
html:has(.admin-page) { scroll-behavior: auto; }
.assistant-widget { position: fixed; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 2rem)); display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .75rem; margin: 0; padding: 0; pointer-events: none; }
.assistant-widget .assistant-toggle { display: inline-flex; margin: 0;}
.assistant-widget .assistant-toggle svg { width: 18px; height: 18px; flex: none; }
.assistant-widget .assistant-panel { width: 100%; max-height: calc(100dvh - 150px); margin: 0; overflow-y: auto; }
.assistant-form input { font-size: 1rem; }
.assistant-form input::placeholder { color: #d6dccc; opacity: 1; }
.admin-card .eyebrow { color: #70530b; }
.admin-topbar { flex-wrap: wrap; }
.admin-topbar .brand { max-width: 270px; }
.admin-topbar .nav { flex-wrap: wrap; }
.admin-page { padding-bottom: 3rem; }
.notification-setting-head span:not(.status-badge), .notification-log-item span, .menu-editor-photo-name, .admin-stats span { color: #4d5d54; }
@media (max-width: 980px) {
  .topbar:not(.admin-topbar) { gap: .65rem; padding: .7rem 1rem; }
  .topbar:not(.admin-topbar) .nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .topbar:not(.admin-topbar) .nav.nav-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem; background: var(--emerald-deep); padding: 1rem; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .nav.nav-open a { display: flex; align-items: center; padding: .35rem .5rem; }
  .hero { min-height: auto; padding-top: 7.5rem; }
  .hero-card { min-height: 0; aspect-ratio: 4 / 3; }
  .tea-image { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 680px) {
  .topbar:not(.admin-topbar) { }
  .mobile-menu-toggle { grid-column: 2; grid-row: 1 / 3; }
  .brand strong { font-size: 1.25rem; }
  .hero { padding-bottom: 2.5rem; gap: 1.5rem; }
  .hero-caption { padding: 1rem; }
  .assistant-widget { left: auto; right: .75rem; bottom: .75rem; }
  .assistant-log { max-height: 28dvh; min-height: 100px; }
  .assistant-head { flex-wrap: wrap; gap: .3rem; }
  .toast { bottom: 4.6rem; }
  .admin-topbar .brand { max-width: 100%; }
  .admin-topbar .nav { flex-wrap: nowrap; }
  .admin-topbar .nav a { font-size: .85rem; display: inline-flex; align-items: center; }
  .admin-card { scroll-margin-top: 190px; }
  .footer { padding-bottom: 5rem; }
}
/* Gold remains an accent; prices and headings on cream meet readable contrast. */
.cream h2 { color: var(--emerald-deep); }
.dish .price, .complex .price, .cream .eyebrow, .blog-type, .menu-editor-number { color: #70530b; }

#pairings h3 { color: var(--gold); font-size: 1.6rem; margin-bottom: .75rem; }
