/* توضیح فارسی: این فایل ظاهر، رنگ‌ها، فاصله‌ها و responsive بودن منوی دیجیتال باقلوا شاهکار را کنترل می‌کند. */
/* =========================================================
   Shahkar Digital Menu — Pro v10
   Final responsive professional version
   ========================================================= */

:root{
  color-scheme: dark;
  --bg:#111311;
  --bg-soft:#171a18;
  --bg-2:#242724;
  --card:rgba(31,34,31,.88);
  --card-solid:#20241f;
  --text:#fff6df;
  --muted:#cfc3a9;
  --gold:#f3dfaa;
  --gold-2:#c7a25b;
  --green:#718a60;
  --green-dark:#314d3a;
  --danger:#d7a858;
  --line:rgba(243,223,170,.38);
  --line-strong:rgba(243,223,170,.58);
  --shadow:0 22px 65px rgba(0,0,0,.40);
  --radius:26px;
  --topbar-h:70px;
  --safe-x:clamp(12px,3vw,28px);
}

:root.light{
  color-scheme: light;
  --bg:#f4eddf;
  --bg-soft:#fff8eb;
  --bg-2:#fff9ee;
  --card:rgba(255,248,235,.92);
  --card-solid:#fff7e8;
  --text:#211d16;
  --muted:#6d6049;
  --gold:#8a661e;
  --gold-2:#b5842a;
  --green:#71885f;
  --green-dark:#506b47;
  --line:rgba(138,102,30,.28);
  --line-strong:rgba(138,102,30,.48);
  --shadow:0 18px 55px rgba(65,45,18,.18);
}

*{box-sizing:border-box;margin:0;padding:0}
html{
  width:100%;
  min-width:320px;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--topbar-h) + 26px);
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{
  width:100%;
  min-width:320px;
  min-height:100svh;
  overflow-x:hidden;
  direction:rtl;
  font-family:Tahoma, Arial, "Segoe UI", sans-serif;
  font-size:15px;
  line-height:1.72;
  color:var(--text);
  background:
    radial-gradient(circle at 88% 0%, rgba(113,138,96,.20), transparent 36rem),
    radial-gradient(circle at 8% 100%, rgba(199,162,91,.16), transparent 31rem),
    var(--bg);
}
body.no-scroll{overflow:hidden}
button,input,a,textarea,select{font:inherit}
button{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
::selection{background:rgba(243,223,170,.28)}

.ltr{
  direction:ltr;
  unicode-bidi:isolate;
  text-align:left;
  font-family:Georgia,"Times New Roman",serif;
  letter-spacing:.01em;
}

.app-shell{
  width:100%;
  max-width:100%;
  overflow-x:clip;
}
.container{
  width:min(1180px, calc(100% - (var(--safe-x) * 2)));
  margin-inline:auto;
}
.section{padding:clamp(54px,7vw,88px) 0}

/* ---------- Topbar ---------- */
.topbar{
  position:fixed;
  top:max(10px, env(safe-area-inset-top));
  left:50%;
  transform:translateX(-50%);
  z-index:1000;
  width:min(1180px, calc(100vw - (var(--safe-x) * 2)));
  min-height:var(--topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  border:1px solid var(--line);
  background:rgba(17,19,17,.72);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:999px;
  box-shadow:var(--shadow);
}
:root.light .topbar{background:rgba(255,248,235,.76)}
.brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
.brand img{
  width:48px;
  height:48px;
  flex:0 0 auto;
  border-radius:50%;
  object-fit:cover;
  border:2px solid var(--gold);
}
.brand span{min-width:0;display:block}
.brand strong{
  display:block;
  max-width:52vw;
  color:var(--gold);
  font-size:13.5px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand small{
  display:block;
  max-width:52vw;
  color:var(--muted);
  font-size:10px;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.icon-btn{
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid var(--line-strong);
  display:grid;
  place-items:center;
  color:var(--gold);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.icon-btn:hover,.icon-btn:focus-visible{transform:translateY(-2px);outline:none;background:rgba(243,223,170,.10)}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:100svh;
  isolation:isolate;
  background:
    linear-gradient(90deg, rgba(0,0,0,.89), rgba(0,0,0,.44)),
    url('../assets/images/hero-moon-cafe.jpg') center/cover no-repeat;
}
.hero:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:46%;
  z-index:-1;
  background:linear-gradient(transparent,var(--bg));
}
.hero-content{
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:calc(var(--topbar-h) + 72px) var(--safe-x) 70px;
}
.hero-card{
  width:min(720px,100%);
  padding:clamp(22px,4vw,36px);
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 12px);
  background:linear-gradient(145deg,rgba(29,33,30,.78),rgba(12,13,12,.62));
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  text-align:center;
}
:root.light .hero-card{background:rgba(255,248,236,.76)}
@media (max-width:560px){
  .hero-logo{width:128px;height:128px;margin-bottom:14px}
}
.hero-logo{
  width:clamp(132px,18vw,176px);
  height:clamp(132px,18vw,176px);
  margin:0 auto 18px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid var(--gold);
  box-shadow:0 0 44px rgba(243,223,170,.22);
}
.eyebrow{
  font-size:12.5px;
  color:var(--gold);
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:8px;
}
.hero h1,.section-title h2,.glass-card h2,.contact h2{
  color:var(--gold);
  font-size:clamp(24px,4.6vw,44px);
  line-height:1.22;
  margin-bottom:12px;
}
.lead{
  max-width:60ch;
  margin:0 auto 24px;
  color:var(--muted);
  font-size:clamp(14px,1.8vw,16px);
}
.hero-actions,.contact-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.btn{
  min-height:34px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition:transform .22s ease, background .22s ease, color .22s ease, border .22s ease;
  white-space:nowrap;
  text-align:center;
}
.btn.primary{
  color:#19160e;
  border-color:transparent;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  font-weight:800;
}
.btn.ghost{background:rgba(255,255,255,.04);color:var(--text)}
.btn.small{min-height:44px;padding:9px 16px;font-size:14px}
.btn:hover,.btn:focus-visible{transform:translateY(-2px);outline:none}

.quick-actions{
  width:100%;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(124px, max-content));
  justify-content:center;
  gap:10px;
  margin-top:24px;
}
.status-chip{
  appearance:none;
  -webkit-appearance:none;
  min-height:34px;
  min-width:0;
  border:1px solid var(--line);
  border-radius:999px;
  padding:6px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--muted);
  background:rgba(255,255,255,.045);
  cursor:pointer;
  line-height:1.35;
  text-align:center;
  white-space:nowrap;
  transition:.22s ease;
}
.status-chip:hover,.status-chip:focus-visible{
  color:#17140d;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  outline:none;
  transform:translateY(-2px);
}
.status-chip:active{transform:translateY(0)}

/* ---------- Cards / Intro ---------- */
.intro-grid,.qr-grid,.contact-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.glass-card,.qr-card,.contact-info-card,.contact-photo-card{
  min-width:0;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--card);
  box-shadow:var(--shadow);
  padding:clamp(20px,3vw,28px);
}
.glass-card h2{font-size:clamp(18px,2.4vw,22px)}
.glass-card p,.section-title p,.contact p,.note{color:var(--muted)}
.section-title{
  max-width:760px;
  margin:0 auto 28px;
  text-align:center;
}

/* ---------- Search + Categories ---------- */
.toolbar{
  width:min(780px,100%);
  margin:0 auto 18px;
  display:flex;
  align-items:end;
  gap:12px;
}
.search-wrap{
  min-width:0;
  flex:1;
  display:grid;
  gap:7px;
  color:var(--gold);
  font-weight:700;
}
.search-wrap input{
  width:100%;
  min-width:0;
  height:46px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:12px 18px;
  color:var(--text);
  background:var(--card-solid);
  outline:none;
  font-size:16px;
}
.search-wrap input::placeholder{color:color-mix(in srgb, var(--muted) 72%, transparent)}
.search-wrap input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(201,169,93,.18);
}
.category-strip{
  position:sticky;
  top:calc(var(--topbar-h) + 22px);
  z-index:700;
  width:100%;
  margin:0 auto 18px;
  padding:12px;
  border:1px solid rgba(243,223,170,.18);
  border-radius:24px;
  background:rgba(17,19,17,.72);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(130px, 1fr));
  gap:10px;
  overflow:visible;
}
:root.light .category-strip{background:rgba(255,248,235,.78)}
.category-btn{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--card-solid);
  color:var(--text);
  padding:7px 8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  cursor:pointer;
  white-space:normal;
  text-align:center;
  line-height:1.35;
  transition:.2s ease;
}
.category-btn .ltr{font-size:.82em;opacity:.92}
.category-btn:hover,.category-btn:focus-visible{transform:translateY(-2px);outline:none;border-color:var(--line-strong)}
.category-btn.active{
  color:#fff;
  border-color:rgba(255,255,255,.25);
  background:linear-gradient(135deg,var(--green),var(--green-dark));
}
.result-info{
  text-align:center;
  color:var(--muted);
  margin:10px 0 22px;
}

/* ---------- Menu ---------- */
.category-block{
  scroll-margin-top:calc(var(--topbar-h) + 110px);
  margin:28px 0 42px;
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 6px);
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.035),transparent);
}
.category-heading{
  position:relative;
  min-height:112px;
  padding:22px;
  display:flex;
  align-items:end;
  gap:14px;
  background-size:cover;
  background-position:center;
}
.category-heading.no-image{
  background:linear-gradient(135deg, rgba(49,77,58,.96), rgba(17,19,17,.96));
}
.category-heading.no-image:before{
  background:linear-gradient(90deg,rgba(18,22,18,.86),rgba(18,22,18,.60));
}
.category-heading:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(18,22,18,.96),rgba(18,22,18,.42));
}
.category-heading>*{position:relative}
.category-icon{
  flex:0 0 auto;
  width:54px;
  height:54px;
  border:2px solid var(--gold);
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.30);
  font-size:24px;
}
.category-heading h3{
  color:var(--gold);
  font-size:clamp(20px,3vw,26px);
  line-height:1.25;
}
.category-heading small{
  display:block;
  color:#efe4ca;
  font-size:13px;
}
.items-grid{
  padding:clamp(14px,2vw,20px);
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 1fr));
  gap:14px;
}
.menu-item{
  min-width:0;
  min-height:126px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--card);
  padding:12px;
  display:grid;
  gap:9px;
  box-shadow:0 10px 34px rgba(0,0,0,.14);
}
.item-top{
  min-width:0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.item-title{min-width:0;flex:1}
.item-title h4{
  color:var(--text);
  font-size:clamp(15.5px,1.8vw,17.5px);
  line-height:1.45;
  overflow-wrap:anywhere;
}
.item-title .en{
  color:var(--muted);
  font-size:12.5px;
  margin-top:1px;
  overflow-wrap:anywhere;
}
.price{
  flex:0 0 auto;
  direction:ltr;
  unicode-bidi:isolate;
  white-space:nowrap;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:58px;
  min-height:30px;
  border-radius:999px;
  padding:6px 10px;
  color:#17140d;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  font-family:Arial,Tahoma,"Segoe UI",sans-serif;
  font-size:14px;
  font-weight:900;
  line-height:1;
  letter-spacing:.2px;
  font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1,"tnum" 1;
}
.price-number,.price-unit{
  display:inline-block;
  font-family:Arial,Tahoma,"Segoe UI",sans-serif;
  font-size:14px;
  font-weight:900;
  line-height:1;
  font-variant-numeric:lining-nums tabular-nums;
  font-feature-settings:"lnum" 1,"tnum" 1;
}
.price-unit{margin-left:2px;text-transform:uppercase}
.price-text{
  font-family:Tahoma,Arial,"Segoe UI",sans-serif;
  font-size:12.5px;
  font-weight:900;
  line-height:1;
}
.desc{color:var(--muted);font-size:12.5px;overflow-wrap:anywhere}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}
.tag{
  border:1px solid var(--line);
  border-radius:999px;
  padding:3px 8px;
  color:var(--gold);
  background:rgba(243,223,170,.08);
  font-size:11px;
}
.empty{
  padding:36px;
  border:1px dashed var(--line);
  border-radius:var(--radius);
  text-align:center;
  color:var(--muted);
}

/* ---------- Gallery / QR / Contact ---------- */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:14px;
}
.gallery-item{
  width:100%;
  min-width:0;
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background:var(--card);
  padding:0;
  cursor:pointer;
  box-shadow:var(--shadow);
}
.gallery-item img{
  width:100%;
  height:clamp(220px,26vw,310px);
  object-fit:cover;
  transition:.35s ease;
}
.gallery-item:hover img{transform:scale(1.035)}
.qr-grid{align-items:center}
.qr-card{text-align:center}
.qr-card img{
  width:min(260px,70vw);
  margin:0 auto 12px;
  border-radius:18px;
}


/* ---------- QR / Barcode requested section ---------- */
.qr-section{
  background:linear-gradient(180deg,rgba(243,223,170,.04),rgba(113,138,96,.10));
}
.single-qr-grid{
  display:grid;
  grid-template-columns:minmax(0,420px);
  justify-content:center;
}
.menu-qr-card{
  max-width:420px;
  margin:0 auto;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  box-shadow:var(--shadow);
}
.menu-qr-card img{
  width:min(300px,72vw);
  padding:14px;
  background:#fff;
  border:1px solid rgba(243,223,170,.45);
  box-shadow:0 18px 45px rgba(0,0,0,.28);
}
.menu-qr-card figcaption{
  direction:ltr;
  unicode-bidi:isolate;
  color:var(--gold);
  font-weight:800;
  letter-spacing:.2px;
}
@media (max-width:520px){
  .menu-qr-card{padding:18px;border-radius:22px}
  .menu-qr-card img{width:min(270px,76vw);padding:12px}
}

.contact{background:linear-gradient(180deg,transparent,rgba(113,138,96,.13))}
.contact-grid{align-items:center}
.upgraded-contact{grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr)}
.branch-note{
  color:var(--gold);
  margin:-4px 0 14px;
  font-weight:700;
}
.contact-lines{display:grid;gap:10px;margin:16px 0 20px}
.contact-link{
  display:inline-block;
  color:var(--gold);
  direction:ltr;
  unicode-bidi:isolate;
  overflow-wrap:anywhere;
}
.contact-photo-card img{
  width:100%;
  border-radius:calc(var(--radius) - 8px);
  object-fit:cover;
}
.contact-photo-card figcaption,.qr-card figcaption{
  color:var(--muted);
  font-size:13px;
  margin-top:10px;
  text-align:center;
}

/* ---------- Footer / Lightbox / Scroll ---------- */
.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:rgba(0,0,0,.2);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12.5px;
}
.lightbox{
  border:0;
  padding:0;
  background:transparent;
  max-width:94vw;
  max-height:92vh;
}
.lightbox::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(8px)}
.lightbox img{
  max-width:94vw;
  max-height:88vh;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}
.close-lightbox{position:fixed;top:18px;left:18px;font-size:26px}
.scroll-top{
  position:fixed;
  left:18px;
  bottom:calc(18px + env(safe-area-inset-bottom));
  z-index:1100;
  width:48px;
  height:48px;
  border:1px solid var(--line);
  border-radius:50%;
  color:#fff;
  background:var(--green-dark);
  box-shadow:var(--shadow);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
}
.scroll-top.show{opacity:1;pointer-events:auto}
.reveal{animation:rise .65s ease both}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}



/* =========================================================
   توضیح فارسی: تنظیمات تکمیلی نسخه v6 برای ثابت ماندن اندازه‌ها در موبایل و دسکتاپ
   - فونت‌ها کوچک‌تر و کنترل‌شده‌تر شده‌اند.
   - لوگوی اصلی بزرگ‌تر شده است.
   - دکمه‌ها و کارت‌ها از عرض صفحه بیرون نمی‌زنند.
   ========================================================= */
html, body, .app-shell, main, section, .container{
  max-width:100%;
}
*{
  min-width:0;
}
.menu-item, .category-btn, .status-chip, .btn, .contact-info-card, .glass-card{
  overflow-wrap:anywhere;
}
.hero-logo{
  background:#0e2d20;
}
.btn, .status-chip, .category-btn{
  font-size:13.5px;
}
.section-title p, .glass-card p, .contact p, .note{
  font-size:13.5px;
}
.contact-lines p{
  font-size:13.5px;
}

/* ---------- Desktop wide ---------- */
@media (min-width:1180px){
  .items-grid{grid-template-columns:repeat(3, minmax(0,1fr))}
  .gallery{grid-template-columns:repeat(3, minmax(0,1fr))}
}

/* ---------- Tablet ---------- */
@media (max-width:900px){
  :root{--topbar-h:66px}
  .intro-grid,.qr-grid,.contact-grid,.upgraded-contact{grid-template-columns:1fr}
  .toolbar{align-items:stretch;flex-direction:column}
  .category-strip{top:calc(var(--topbar-h) + 18px);grid-template-columns:repeat(2,minmax(0,1fr));border-radius:22px}
  .hero-card{width:min(680px,100%)}
  .category-heading{min-height:118px}
  .contact-actions .btn{flex:1 1 160px}
}

/* ---------- Mobile ---------- */
@media (max-width:560px){
  :root{--topbar-h:62px;--safe-x:12px;--radius:22px}
  body{font-size:14px;line-height:1.68}
  .topbar{top:8px;padding:8px 10px;min-height:var(--topbar-h)}
  .brand img{width:44px;height:44px}
  .brand strong{font-size:13px;max-width:55vw}
  .brand small{font-size:10px;max-width:55vw}
  .icon-btn{width:42px;height:42px}
  .hero{min-height:auto}
  .hero-content{min-height:auto;padding:calc(var(--topbar-h) + 58px) var(--safe-x) 52px}
  .hero-card{padding:18px 12px;border-radius:26px}
  .hero h1{font-size:clamp(25px,7.2vw,34px)}
  .lead{font-size:13.5px;margin-bottom:18px}
  .hero-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .hero-actions .btn{width:100%}
  .quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .status-chip{width:100%;padding:6px 7px;white-space:normal;font-size:12.5px}
  .section{padding:50px 0}
  .section-title{margin-bottom:22px}
  .section-title h2{font-size:clamp(22px,6.8vw,30px)}
  .glass-card,.qr-card,.contact-info-card,.contact-photo-card{padding:18px;border-radius:22px}
  .toolbar{gap:10px}
  .search-wrap input{height:50px;font-size:16px}
  .category-strip{top:calc(var(--topbar-h) + 16px);padding:10px;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));max-height:48svh;overflow-y:auto;overscroll-behavior:contain}
  .category-btn{font-size:12.5px;padding:7px 6px;gap:4px}
  .category-btn .ltr{display:none}
  .items-grid{grid-template-columns:1fr;padding:12px;gap:12px}
  .category-block{scroll-margin-top:calc(var(--topbar-h) + 210px);margin:22px 0 34px;border-radius:24px}
  .category-heading{min-height:108px;padding:12px;gap:10px}
  .category-icon{width:54px;height:54px;font-size:24px}
  .category-heading h3{font-size:24px}
  .category-heading small{font-size:13px}
  .menu-item{min-height:auto;padding:14px;border-radius:18px}
  .item-top{gap:8px}
  .item-title h4{font-size:15.5px}
  .item-title .en,.desc{font-size:12px}
  .price{font-size:14px;padding:5px 10px;min-width:58px;min-height:30px}
  .gallery{grid-template-columns:1fr;gap:12px}
  .gallery-item img{height:min(340px,74vw)}
  .footer-inner{justify-content:center;text-align:center}
  .scroll-top{left:14px;bottom:14px;width:46px;height:46px}
}

/* ---------- Very small phones ---------- */
@media (max-width:380px){
  .brand strong{max-width:50vw}
  .brand small{display:none}
  .quick-actions,.category-strip{grid-template-columns:1fr}
  .category-strip{max-height:55svh}
  .item-top{flex-direction:column}
  .price{align-self:flex-start}
}

/* =========================================================
   v7 requested fixes
   - حذف QR/intro/card image sections از HTML انجام شده است.
   - هدر دسته‌های آبمیوه و کیک/وافل بدون عکس پشت‌زمینه نمایش داده می‌شود.
   - بخش تماس پایین صفحه بزرگ‌تر و خواناتر شده است.
   ========================================================= */
.contact-only{
  grid-template-columns:1fr !important;
  max-width:900px;
}
.contact-only .contact-info-card{
  text-align:center;
  padding:clamp(28px,4vw,44px);
}
.contact-only .contact-info-card h2{
  font-size:clamp(30px,4.2vw,46px);
  margin-bottom:8px;
}
.contact-only .branch-note{
  font-size:clamp(17px,2vw,22px);
  margin-bottom:20px;
}
.contact-only .contact-lines{
  gap:14px;
  margin:22px auto 28px;
}
.contact-only .contact-lines p{
  font-size:clamp(17px,2.2vw,23px);
  line-height:1.9;
  font-weight:700;
}
.contact-only .contact-link{
  font-size:1.06em;
  font-weight:900;
}
.contact-only .contact-actions .btn{
  min-height:46px;
  font-size:15.5px;
  padding:11px 20px;
}

@media (max-width:560px){
  .contact-only .contact-info-card{
    padding:24px 16px;
  }
  .contact-only .contact-info-card h2{
    font-size:28px;
  }
  .contact-only .contact-lines p{
    font-size:17px;
    line-height:1.85;
  }
  .contact-only .contact-actions{
    display:grid;
    grid-template-columns:1fr;
  }
  .contact-only .contact-actions .btn{
    width:100%;
  }
}



/* =========================================================
   v8 final requested fixes
   - عنوان برند در صفحه اصلی به «باقلوا شاهکار» تغییر داده شد.
   - اعداد قیمت‌ها با فونت و ارتفاع یکسان و حالت tabular/lining نمایش داده می‌شوند.
   ========================================================= */

/* v9: حرف واحد قیمت کنار اعداد به صورت بزرگ T نمایش داده می‌شود. */

/* =========================================================
   v10 professional audit + graphic/UX polish
   - نسخه نهایی واکنش‌گرا برای موبایل و کامپیوتر
   - بهبود خوانایی، جذابیت بصری، دسترسی‌پذیری و پایداری اجرا
   ========================================================= */

html{min-height:100%;}
body{min-height:100vh;min-height:100svh;}
button,a{touch-action:manipulation;}

.skip-link{
  position:fixed;
  top:12px;
  right:12px;
  z-index:2000;
  transform:translateY(-140%);
  border:1px solid var(--line-strong);
  border-radius:999px;
  padding:10px 16px;
  color:#17140d;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  font-weight:900;
  box-shadow:var(--shadow);
  transition:transform .2s ease;
}
.skip-link:focus{transform:translateY(0);outline:none;}

.topbar-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-inline:auto;
}
.topbar-links a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid transparent;
  border-radius:999px;
  padding:7px 13px;
  color:var(--muted);
  font-size:13px;
  font-weight:800;
  transition:.2s ease;
}
.topbar-links a:hover,
.topbar-links a:focus-visible{
  color:var(--gold);
  border-color:var(--line);
  background:rgba(255,255,255,.055);
  outline:none;
}

.hero{
  min-height:100vh;
  min-height:100svh;
  background:
    radial-gradient(circle at 50% 28%, rgba(243,223,170,.15), transparent 23rem),
    linear-gradient(90deg, rgba(0,0,0,.90), rgba(0,0,0,.48)),
    url('../assets/images/hero-moon-cafe.jpg') center/cover no-repeat;
}
.hero-card{
  position:relative;
  overflow:hidden;
  border-color:rgba(243,223,170,.46);
}
.hero-card:before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 0%, rgba(243,223,170,.18), transparent 17rem),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%);
  opacity:.95;
}
.hero-card>*{position:relative;}
.hero-subtitle,
.section-lead{
  max-width:62ch;
  margin:0 auto 22px;
  color:var(--muted);
  font-size:clamp(14px,1.9vw,16px);
  line-height:1.9;
}
.hero h1{
  text-wrap:balance;
  text-shadow:0 2px 28px rgba(0,0,0,.42);
}
.hero-badges{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin:18px 0 0;
}
.hero-badges span{
  border:1px solid rgba(243,223,170,.34);
  border-radius:999px;
  padding:5px 10px;
  color:var(--gold);
  background:rgba(243,223,170,.075);
  font-size:12px;
  font-weight:800;
}

.highlights-section{
  padding:clamp(28px,4vw,46px) 0 0;
  margin-top:-34px;
  position:relative;
  z-index:3;
}
.highlights-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.highlight-card{
  min-height:126px;
  border:1px solid var(--line);
  border-radius:calc(var(--radius) + 2px);
  padding:18px;
  display:grid;
  align-content:center;
  gap:8px;
  color:var(--text);
  background:
    linear-gradient(135deg,rgba(243,223,170,.10),rgba(113,138,96,.10)),
    var(--card);
  box-shadow:var(--shadow);
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.highlight-card:hover,
.highlight-card:focus-visible{
  transform:translateY(-4px);
  border-color:var(--line-strong);
  outline:none;
}
.highlight-icon{
  width:44px;
  height:44px;
  border:1px solid var(--line-strong);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--gold);
  background:rgba(0,0,0,.16);
  font-size:21px;
}
.highlight-card strong{
  color:var(--gold);
  font-size:17px;
}
.highlight-card small{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.7;
}

.menu-section{padding-top:clamp(52px,6vw,78px);}
.toolbar{
  border:1px solid rgba(243,223,170,.18);
  border-radius:28px;
  padding:12px;
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
}
.search-wrap input{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
}
.search-wrap input::placeholder{color:rgba(207,195,169,.78);}
:root.light .search-wrap input::placeholder{color:rgba(109,96,73,.72);}

.category-strip{
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.category-btn{
  min-height:42px;
  font-weight:800;
}
.category-btn.active{
  box-shadow:0 8px 24px rgba(49,77,58,.34);
}
.result-info{
  min-height:28px;
  font-weight:700;
}

.category-block{
  border-color:rgba(243,223,170,.30);
  background:linear-gradient(180deg,rgba(243,223,170,.045),rgba(255,255,255,.012));
  box-shadow:0 18px 52px rgba(0,0,0,.16);
}
.category-heading:before{
  background:linear-gradient(90deg,rgba(12,14,12,.96),rgba(12,14,12,.52));
}
.category-heading h3{text-shadow:0 2px 18px rgba(0,0,0,.45);}
.items-grid{grid-template-columns:repeat(auto-fit, minmax(255px, 1fr));}
.menu-item{
  position:relative;
  overflow:hidden;
  padding:15px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018)),
    var(--card);
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.menu-item:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:4px;
  height:100%;
  background:linear-gradient(var(--gold),var(--green));
  opacity:.72;
}
.menu-item:hover,
.menu-item:focus-within{
  transform:translateY(-3px);
  border-color:var(--line-strong);
  box-shadow:0 16px 42px rgba(0,0,0,.22);
}
.item-title h4{font-weight:900;}
.item-title .en{font-family:Arial,"Segoe UI",sans-serif;letter-spacing:.01em;}
.price{
  min-width:64px;
  min-height:34px;
  padding:7px 12px;
  font-size:15px;
  letter-spacing:.05em;
  box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.price-number,.price-unit{font-size:15px;}
.price-unit{margin-left:3px;}
.price-text{font-size:13px;}
.tag{font-weight:800;}

.gallery-item{
  position:relative;
  transition:transform .22s ease, border-color .22s ease;
}
.gallery-item:after{
  content:"مشاهده";
  position:absolute;
  left:12px;
  bottom:12px;
  border-radius:999px;
  padding:5px 10px;
  color:#17140d;
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  font-size:12px;
  font-weight:900;
  opacity:0;
  transform:translateY(6px);
  transition:.22s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible{transform:translateY(-3px);border-color:var(--line-strong);outline:none;}
.gallery-item:hover:after,
.gallery-item:focus-visible:after{opacity:1;transform:translateY(0);}
.gallery-item img{filter:saturate(1.04) contrast(1.04);}

.contact-only .contact-info-card{
  position:relative;
  overflow:hidden;
  border-color:var(--line-strong);
  background:
    radial-gradient(circle at 50% 0%, rgba(243,223,170,.14), transparent 18rem),
    var(--card);
}
.contact-lines p{overflow-wrap:anywhere;}
.contact-actions .btn{font-weight:900;}
.footer{background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.32));}

.lightbox[open]{display:grid;place-items:center;}
.close-lightbox{z-index:2;}

@supports not (overflow:clip){
  .app-shell{overflow-x:hidden;}
}

@media (min-width:1180px){
  .items-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

@media (max-width:900px){
  .topbar-links{display:none;}
  .highlights-grid{grid-template-columns:1fr;}
  .highlight-card{min-height:104px;}
}

@media (max-width:560px){
  .hero-content{padding-top:calc(var(--topbar-h) + 46px);}
  .hero-card{padding:18px 13px 16px;}
  .hero-logo{width:118px;height:118px;}
  .hero-subtitle{font-size:13px;line-height:1.8;margin-bottom:18px;}
  .hero-badges{gap:6px;margin-top:14px;}
  .hero-badges span{font-size:11.5px;padding:4px 8px;}
  .highlights-section{margin-top:0;padding-top:24px;}
  .highlight-card{grid-template-columns:auto 1fr;align-items:center;text-align:right;min-height:auto;padding:14px;}
  .highlight-card small{grid-column:2;}
  .toolbar{border-radius:22px;padding:10px;}
  .category-strip{
    display:flex;
    grid-template-columns:none;
    overflow-x:auto;
    overflow-y:hidden;
    max-height:none;
    gap:8px;
    padding:10px;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
  }
  .category-strip::-webkit-scrollbar{height:0;}
  .category-btn{
    flex:0 0 auto;
    width:auto;
    min-width:112px;
    scroll-snap-align:start;
    white-space:nowrap;
  }
  .items-grid{grid-template-columns:1fr;}
  .item-top{align-items:flex-start;}
  .menu-item{padding:14px 13px;}
  .price{min-width:62px;min-height:32px;font-size:14px;}
  .price-number,.price-unit{font-size:14px;}
  .gallery-item:after{opacity:1;transform:none;}
}

@media (max-width:380px){
  .category-strip{display:flex;grid-template-columns:none;}
  .category-btn{min-width:108px;}
  .item-top{flex-direction:row;}
  .price{align-self:flex-start;}
}

/* =========================================================
   v12 requested fixes by customer
   توضیح فارسی:
   - عبارت تبلیغاتی قدیمی صفحه اول از HTML حذف شد و شعار حرفه‌ای جایگزین شد.
   - دسته «باقلوا کیلویی» با آیتم‌های هاویج به منو اضافه شد.
   - برای نمایش تمیز زیرگروه «هاویج / Havij»، این استایل‌ها اضافه شده‌اند.
   ========================================================= */

/* توضیح: هر زیرگروه داخلی داخل یک category-block با فاصله منظم از بخش قبل نمایش داده می‌شود. */
.inner-category-group{
  padding:clamp(14px,2vw,20px);
  border-top:1px solid rgba(243,223,170,.14);
}

/* توضیح: چون items-grid خودش padding داشت، داخل زیرگروه padding اضافه حذف می‌شود تا فاصله‌ها دو برابر نشوند. */
.inner-category-group .items-grid{
  padding:0;
}

/* توضیح: عنوان زیرگروه مثل «هاویج / Havij» با ظاهر طلایی و قابل تشخیص نمایش داده می‌شود. */
.inner-category-title{
  width:max-content;
  max-width:100%;
  min-height:44px;
  margin:0 auto 14px;
  padding:8px 18px;
  border:1px solid var(--line-strong);
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--gold);
  background:linear-gradient(135deg,rgba(113,138,96,.32),rgba(243,223,170,.08));
  box-shadow:0 12px 32px rgba(0,0,0,.16);
  font-weight:900;
}

/* توضیح: نام انگلیسی زیرگروه با جهت چپ‌به‌راست جدا می‌شود تا در متن فارسی به‌هم نریزد. */
.inner-category-title small{
  color:var(--muted);
  font-family:Arial,"Segoe UI",sans-serif;
  font-size:13px;
  font-weight:800;
}

/* توضیح: روی موبایل عنوان زیرگروه کوچک‌تر و تمام‌عرض‌تر می‌شود تا از صفحه بیرون نزند. */
@media (max-width:560px){
  .inner-category-group{
    padding:12px;
  }
  .inner-category-title{
    width:100%;
    min-height:42px;
    margin-bottom:12px;
    padding:8px 12px;
    gap:8px;
    font-size:14px;
  }
  .inner-category-title small{
    font-size:12px;
  }
}


/* v15: slogan requested in topbar and hero subtitle. */
.topbar-slogan{
  flex:0 0 auto;
  color:var(--gold);
  font-family:Georgia,"Times New Roman",serif;
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
  opacity:.96;
  padding:0 4px;
}
.slogan-inline{
  display:inline-block;
  color:var(--gold);
  font-family:Georgia,"Times New Roman",serif;
  font-weight:900;
  letter-spacing:.045em;
  margin-bottom:4px;
}
@media (max-width:760px){
  .topbar-slogan{display:none;}
}
