:root {
  --ink: #18352d;
  --muted: #687a72;
  --cream: #f7f6ed;
  --lime: #caff63;
  --orange: #ff6b35;
  --line: #dfe6d8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 132px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: "Vazirmatn", sans-serif; -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.site-header {
  align-items: center;
  background: rgba(247, 246, 237, .9);
  backdrop-filter: blur(14px);
  display: flex;
  height: 64px;
  justify-content: space-between;
  padding: env(safe-area-inset-top) 18px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}
.brand { align-items: center; display: flex; gap: 8px; text-decoration: none; }
.brand span { align-items: center; background: var(--ink); border-radius: 50%; color: var(--lime); display: flex; font: 800 18px/1 sans-serif; height: 36px; justify-content: center; width: 36px; }
.brand strong { font-size: 20px; }
.open-status { align-items: center; display: flex; font-size: 11px; font-weight: 600; gap: 6px; }
.open-status i { background: #58b85a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(88,184,90,.14); height: 7px; width: 7px; }

.hero { background: var(--ink); color: var(--white); min-height: 570px; overflow: hidden; padding: 118px 22px 34px; position: relative; }
.hero:before { border: 1px solid rgba(202,255,99,.25); border-radius: 50%; content: ""; height: 360px; left: -155px; position: absolute; top: 90px; width: 360px; }
.hero:after { background: radial-gradient(circle, rgba(202,255,99,.12), transparent 68%); content: ""; height: 300px; position: absolute; right: -130px; top: 190px; width: 300px; }
.hero-copy { position: relative; z-index: 2; }
.kicker { color: var(--lime); font-size: 12px; font-weight: 700; margin: 0 0 15px; }
.hero h1 { font-size: clamp(48px, 15vw, 76px); letter-spacing: -.08em; line-height: 1.05; margin: 0; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p:last-child { color: #c4d0c9; font-size: 14px; line-height: 1.9; margin: 22px 0 0; max-width: 310px; }
.hero-fruit { direction: ltr; font-size: 68px; left: 4px; position: absolute; top: 315px; transform: rotate(-9deg); white-space: nowrap; }
.hero-fruit span { display: inline-block; filter: drop-shadow(0 18px 18px rgba(0,0,0,.25)); margin-left: -13px; }
.hero-fruit span:nth-child(2) { transform: translateY(-24px) rotate(14deg); }
.scroll-hint { align-items: center; background: var(--lime); border: 1px solid rgba(255,255,255,.25); border-radius: 99px; bottom: 28px; box-shadow: 0 10px 28px rgba(0,0,0,.28), 0 0 0 5px rgba(202,255,99,.09); color: var(--ink); display: flex; font-size: 13px; font-weight: 800; padding: 12px 17px; position: absolute; right: 22px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; z-index: 3; }
.scroll-hint span { animation: arrow-nudge 1.5s ease-in-out infinite; background: var(--ink); border-radius: 50%; color: var(--lime); display: grid; height: 25px; margin-right: 12px; place-items: center; width: 25px; }
.scroll-hint:hover { box-shadow: 0 14px 32px rgba(0,0,0,.34), 0 0 0 6px rgba(202,255,99,.14); transform: translateY(-2px); }
.scroll-hint:active { transform: scale(.97); }
.juice-bubbles { inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.juice-bubbles span { animation: bubble-float 5s ease-in-out infinite; background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(202,255,99,.03)); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: inset 4px 4px 8px rgba(255,255,255,.1); position: absolute; }
.juice-bubbles span:after { background: rgba(255,255,255,.7); border-radius: 50%; content: ""; height: 18%; position: absolute; right: 23%; top: 18%; width: 18%; }
.juice-bubbles span:nth-child(1) { height: 48px; left: 12%; top: 19%; width: 48px; }
.juice-bubbles span:nth-child(2) { animation-delay: -.8s; height: 20px; left: 7%; top: 44%; width: 20px; }
.juice-bubbles span:nth-child(3) { animation-delay: -2.1s; height: 32px; right: 8%; top: 17%; width: 32px; }
.juice-bubbles span:nth-child(4) { animation-delay: -1.4s; height: 14px; right: 26%; top: 48%; width: 14px; }
.juice-bubbles span:nth-child(5) { animation-delay: -3.2s; height: 64px; left: 30%; top: 66%; width: 64px; }
.juice-bubbles span:nth-child(6) { animation-delay: -2.7s; height: 25px; right: 9%; top: 72%; width: 25px; }
@keyframes bubble-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-13px) scale(1.04); } }
@keyframes arrow-nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }

.featured { padding: 54px 0 46px; }
.section-title { align-items: end; display: flex; justify-content: space-between; padding: 0 20px 19px; }
.section-title p { color: var(--orange); font-size: 11px; font-weight: 700; margin: 0 0 6px; }
.section-title h2 { font-size: 24px; letter-spacing: -.04em; margin: 0; }
.section-title > span { color: var(--muted); font-size: 10px; }
.featured-track { display: flex; gap: 12px; overflow-x: auto; padding: 0 20px 13px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.featured-track::-webkit-scrollbar, .categories::-webkit-scrollbar { display: none; }
.feature-card { border-radius: 18px; color: var(--white); flex: 0 0 min(78vw, 330px); height: 290px; overflow: hidden; position: relative; scroll-snap-align: center; }
.feature-card:after { background: linear-gradient(0deg, rgba(8,30,24,.88), transparent 65%); content: ""; inset: 0; position: absolute; }
.feature-card img { height: 100%; object-fit: cover; width: 100%; }
.feature-overlay { bottom: 17px; display: grid; grid-template-columns: 1fr auto; left: 17px; position: absolute; right: 17px; z-index: 1; }
.feature-overlay > small { color: var(--lime); font-size: 10px; grid-column: 1 / -1; }
.feature-overlay h3 { font-size: 20px; margin: 3px 0 0; }
.feature-overlay strong { align-self: end; font-size: 16px; }
.feature-overlay strong small { display: block; font-size: 8px; font-weight: 500; }

.menu { min-height: 600px; }
.menu-tools { background: rgba(247,246,237,.95); padding: 12px 0 0; position: sticky; top: 64px; z-index: 10; }
.search { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 13px; display: flex; height: 49px; margin: 0 18px 11px; padding: 0 14px; }
.search > span { color: var(--muted); direction: ltr; font: 26px sans-serif; transform: rotate(-20deg); }
.search input { background: transparent; border: 0; color: var(--ink); height: 100%; min-width: 0; outline: none; padding: 0 11px; width: 100%; }
.search input::placeholder { color: #93a199; }
.search button { background: #e8ece4; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; display: none; height: 24px; line-height: 1; padding: 0; width: 24px; }
.search button.visible { display: block; }
.categories { border-bottom: 1px solid var(--line); display: flex; gap: 8px; overflow-x: auto; padding: 0 18px 11px; scrollbar-width: none; }
.category { background: transparent; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); cursor: pointer; flex: none; font-size: 11px; font-weight: 600; line-height: 1.4; padding: 7px 12px; }
.category.active { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.category:focus-visible, .search input:focus-visible, a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.menu-groups { padding: 24px 18px 72px; }
.menu-group { margin-bottom: 42px; }
.menu-group > header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 10px; }
.menu-group > header h2 { font-size: 21px; margin: 0; }
.menu-group > header span { color: var(--muted); font-size: 10px; }
.items { background: var(--white); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.menu-item { align-items: center; display: flex; gap: 12px; justify-content: space-between; min-height: 91px; padding: 15px; }
.menu-item + .menu-item { border-top: 1px dashed var(--line); }
.item-copy { min-width: 0; }
.item-title { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.item-title h3 { font-size: 15px; margin: 0; }
.item-title mark { background: #efffcf; border-radius: 4px; color: #527026; font-size: 8px; font-weight: 700; padding: 3px 5px; }
.item-copy p { color: var(--muted); font-size: 10px; line-height: 1.6; margin: 5px 0 0; }
.menu-item > strong { direction: rtl; flex: none; font-size: 15px; text-align: left; }
.menu-item > strong small { color: var(--muted); display: block; font-size: 8px; font-weight: 400; margin-top: 2px; }
.empty-state { padding: 72px 20px 120px; text-align: center; }
.empty-state span { font-size: 52px; }
.empty-state h2 { margin: 12px 0 3px; }
.empty-state p { color: var(--muted); font-size: 13px; margin: 0; }

.info { background: var(--lime); padding: 66px 20px; }
.info > div:first-child > p { font-size: 11px; font-weight: 700; margin: 0 0 8px; }
.info h2 { font-size: 38px; letter-spacing: -.06em; line-height: 1.2; margin: 0 0 25px; }
.info a { direction: ltr; display: inline-block; font-weight: 800; text-decoration: none; }
.qr-card { align-items: center; background: var(--white); border-radius: 15px; display: flex; gap: 14px; margin-top: 48px; padding: 13px; }
.qr-card img { height: 92px; width: 92px; }
.qr-card p { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 0; }
.qr-card strong { color: var(--ink); font-size: 13px; }
footer { background: var(--ink); color: var(--white); display: grid; font-size: 10px; gap: 8px; padding: 31px 20px calc(31px + env(safe-area-inset-bottom)); }
footer strong { color: var(--lime); font-size: 15px; }

@media (max-width: 390px) {
  .site-header { height: 56px; padding-left: 14px; padding-right: 14px; }
  .brand span { height: 31px; width: 31px; }
  .brand strong { font-size: 17px; }
  .open-status { font-size: 9px; }
  .hero { min-height: 510px; padding: 98px 17px 28px; }
  .hero h1 { font-size: clamp(43px, 14vw, 55px); }
  .hero-copy > p:last-child { font-size: 12px; line-height: 1.8; margin-top: 17px; max-width: 275px; }
  .hero-fruit { font-size: 56px; top: 292px; }
  .scroll-hint { bottom: 22px; font-size: 11px; padding: 9px 13px; right: 17px; }
  .scroll-hint span { height: 22px; margin-right: 9px; width: 22px; }
  .featured { padding: 43px 0 36px; }
  .section-title { padding: 0 15px 15px; }
  .section-title h2 { font-size: 20px; }
  .section-title > span { font-size: 8px; }
  .featured-track { gap: 9px; padding-left: 15px; padding-right: 15px; }
  .feature-card { flex-basis: 72vw; height: 245px; }
  .menu-tools { padding-top: 8px; top: 56px; }
  .search { border-radius: 11px; height: 42px; margin: 0 13px 8px; padding: 0 11px; }
  .search > span { font-size: 22px; }
  .search input { font-size: 12px; }
  .categories { gap: 6px; padding: 0 13px 8px; }
  .category { font-size: 9px; padding: 5px 10px; }
  .menu-groups { padding: 20px 13px 55px; }
  .menu-group { margin-bottom: 32px; }
  .menu-item { min-height: 80px; padding: 12px; }
  .item-title h3 { font-size: 13px; }
  .menu-item > strong { font-size: 13px; }
  .info { padding: 54px 16px; }
  .info h2 { font-size: 32px; }
  .qr-card { margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .juice-bubbles span, .scroll-hint span { animation: none; }
}

@media (min-width: 720px) {
  .site-header { padding-left: 5vw; padding-right: 5vw; }
  .hero { min-height: 690px; padding: 150px 8vw 50px; }
  .hero-fruit { font-size: 120px; left: 7vw; top: 240px; }
  .scroll-hint { bottom: 50px; right: 8vw; }
  .featured { padding: 90px 5vw 70px; }
  .section-title { padding-left: 0; padding-right: 0; }
  .featured-track { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); overflow: visible; padding: 0; }
  .feature-card { height: 350px; width: auto; }
  .feature-card:nth-child(n+4) { display: none; }
  .menu { margin: auto; max-width: 1000px; }
  .menu-tools { top: 64px; }
  .menu-groups { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); padding-left: 0; padding-right: 0; }
  .info { align-items: end; display: flex; justify-content: space-between; padding: 100px 8vw; }
  .qr-card { margin: 0; max-width: 350px; }
  footer { display: flex; justify-content: space-between; padding-left: 5vw; padding-right: 5vw; }
}
