/* ==========================================================================
   دیگ اول — DIGE AVAL
   styles.css — توکن‌ها، پایه، چیدمان، اجزا
   ========================================================================== */

/* ------------------------------- فونت‌ها -------------------------------- */
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../assets/fonts/Estedad-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../assets/fonts/Estedad-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../assets/fonts/Estedad-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Estedad';
  src: url('../assets/fonts/Estedad-900.woff2') format('woff2');
  font-weight: 900;
  font-display: swap;
}

/* -------------------------------- توکن‌ها -------------------------------- */
:root {
  /* رنگ */
  --ivory: #f4eee4;
  --ivory-deep: #ece2d3;
  --charcoal: #211f1c;
  --charcoal-soft: #2b2823;
  --copper: #b47451;
  --copper-deep: #9a5c3c;
  --pom: #8d3932;
  --olive: #70735d;
  --stone: #d8ccbc;

  --ink: var(--charcoal);
  --ink-70: rgba(33, 31, 28, 0.7);
  --ink-55: rgba(33, 31, 28, 0.66);
  --ink-40: rgba(33, 31, 28, 0.55);
  --ink-16: rgba(33, 31, 28, 0.16);
  --ink-08: rgba(33, 31, 28, 0.08);
  --paper-70: rgba(244, 238, 228, 0.72);
  --paper-40: rgba(244, 238, 228, 0.55);
  --paper-16: rgba(244, 238, 228, 0.16);

  /* تایپوگرافی */
  --font-body: 'Vazirmatn', 'Estedad', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --font-display: 'Estedad', 'Vazirmatn', 'Segoe UI', Tahoma, system-ui, sans-serif;

  --fs-display-xl: clamp(2.65rem, 6.4vw, 5.6rem);
  --fs-display-l: clamp(2rem, 4.1vw, 3.5rem);
  --fs-display-m: clamp(1.55rem, 2.7vw, 2.3rem);
  --fs-title: clamp(1.12rem, 1.5vw, 1.35rem);
  --fs-body: clamp(0.94rem, 0.42vw + 0.86rem, 1.06rem);
  --fs-small: 0.875rem;
  --fs-label: 0.72rem;

  /* فاصله */
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  --section: clamp(4.2rem, 8.5vw, 9rem);
  --maxw: 1440px;

  /* حرکت */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;

  /* سطوح */
  --hair: 1px solid var(--ink-16);
  --hair-light: 1px solid var(--paper-16);
  --shadow-soft: 0 24px 60px -32px rgba(33, 31, 28, 0.4);
  --shadow-tray: -24px 0 80px -40px rgba(33, 31, 28, 0.55);
  --radius: 3px;
}

/* --------------------------------- پایه ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.9;
  direction: rtl;
  text-align: right;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

/* بافت کاغذ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  background: var(--copper);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--copper-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: var(--fs-small);
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible {
  top: 0;
}

/* -------------------------------- چیدمان --------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}

.wrap--wide {
  max-width: 1680px;
}

section {
  position: relative;
  z-index: 1;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(2.6rem, 5vw, 4.5rem);
}

.grid {
  display: grid;
  gap: clamp(1.6rem, 3vw, 3rem);
}

/* برچسب‌های تحریریه */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--copper-deep);
  margin-bottom: 1.4rem;
}
.kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--copper);
  flex: none;
}
.kicker__num {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink-40);
  padding-inline-start: 0.6rem;
  border-inline-start: var(--hair);
}

.display-xl {
  font-size: var(--fs-display-xl);
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.015em;
}
.display-l {
  font-size: var(--fs-display-l);
  line-height: 1.24;
}
.display-m {
  font-size: var(--fs-display-m);
  line-height: 1.34;
  font-weight: 700;
}

.lead {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
  line-height: 1.95;
  color: var(--ink-70);
  max-width: 46ch;
  font-weight: 400;
}

.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-55);
  font-weight: 600;
}

.muted {
  color: var(--ink-55);
}

.section-head {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-bottom: clamp(2rem, 4vw, 3.6rem);
}
.section-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.hair {
  height: 1px;
  background: var(--ink-16);
  border: 0;
  margin: 0;
}
.hair--copper {
  background: linear-gradient(90deg, transparent, var(--copper) 18%, var(--copper) 82%, transparent);
  opacity: 0.55;
}

/* -------------------------------- دکمه‌ها -------------------------------- */
.btn {
  --btn-bg: var(--charcoal);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.92rem 1.5rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}
.btn > svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.btn:hover .btn > svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn__dot {
  transform: scale(1.9);
  background: var(--ivory);
}
.btn:hover {
  background: var(--copper-deep);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--charcoal);
  border-color: var(--ink-40);
}
.btn--ghost:hover {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn--ghost:hover .btn > svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn__dot {
  background: var(--copper);
}
.btn--copper {
  --btn-bg: var(--copper-deep);
  --btn-fg: var(--ivory);
}
.btn--copper:hover {
  --btn-bg: var(--pom);
}
.btn--light {
  --btn-bg: var(--ivory);
  --btn-fg: var(--charcoal);
}
.btn--light:hover {
  --btn-bg: var(--copper);
  color: var(--ivory);
}
.btn--light:hover .btn > svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn__dot {
  background: var(--ivory);
}
.btn--sm {
  padding: 0.66rem 1.1rem;
  font-size: 0.86rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

/* لینک متنی با خط زیر */
.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--ink-40);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.link-underline:hover {
  color: var(--copper-deep);
  border-color: var(--copper);
}
.link-underline svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.link-underline:hover svg {
  transform: translateX(-4px);
}

/* برچسب وضعیت */
.pending {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0.8rem;
  border: 1px dashed var(--copper);
  border-radius: var(--radius);
  background: rgba(180, 116, 81, 0.06);
  max-width: 34ch;
}
.pending__label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--copper-deep);
  font-weight: 700;
}
.pending__text {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-55);
}
.on-dark .pending {
  border-color: rgba(180, 116, 81, 0.55);
  background: rgba(180, 116, 81, 0.1);
}
.on-dark .pending__text {
  color: var(--paper-70);
}
.on-dark .pending__label {
  color: #d69a76;
}

/* وضعیت «ثبت نشده» در حالت‌های خالی */
.pending-inline {
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--ink-55);
  border-bottom: 1px dashed rgba(180, 116, 81, 0.55);
  padding-bottom: 2px;
}
.section--dark .pending-inline,
.site-foot .pending-inline {
  color: var(--paper-70);
  border-color: rgba(214, 154, 118, 0.6);
}
.visit__value small {
  color: var(--paper-40);
  font-size: 0.8rem;
}

/* ------------------------------ سرصفحه/ناوبری ----------------------------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 90;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1680px;
  margin-inline: auto;
  padding: 1.05rem var(--gutter);
  transition: padding 0.4s var(--ease);
}
.site-head.is-stuck {
  background: rgba(244, 238, 228, 0.92);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--ink-16);
}
.site-head.is-stuck .site-head__inner {
  padding-block: 0.62rem;
}

/* لوگو */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand__mark {
  width: 36px;
  height: 36px;
  color: var(--charcoal);
  flex: none;
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.05);
}
.brand__type {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand__en {
  display: none;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  color: var(--ink-40);
  font-weight: 600;
  padding-inline-start: 0.75rem;
  border-inline-start: var(--hair);
  line-height: 1.4;
}

.nav {
  display: none;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-70);
  padding-block: 0.4rem;
  transition: color 0.25s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}
.nav__link[aria-current='page'] {
  color: var(--ink);
  font-weight: 600;
}

.head-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* دکمه سینی در هدر */
.tray-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.95rem 0.62rem 0.7rem;
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  background: rgba(244, 238, 228, 0.5);
  font-size: 0.87rem;
  font-weight: 600;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.tray-trigger:hover {
  border-color: var(--copper);
  background: var(--ivory);
}
.tray-trigger__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tray-trigger.has-items .tray-trigger__count {
  background: var(--pom);
}
.tray-trigger__label {
  display: none;
}
@media (max-width: 1023px) {
  .tray-trigger {
    display: none;
  }
}

/* همبرگر */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  flex: none;
}
.nav-toggle__bars {
  position: relative;
  width: 17px;
  height: 9px;
}
.nav-toggle__bars span {
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:first-child {
  top: 0;
}
.nav-toggle__bars span:last-child {
  bottom: 0;
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* کشوی موبایل */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--ivory);
  padding: 1.1rem var(--gutter) 2rem;
  transform: translateY(-101%);
  visibility: hidden;
  transition: transform 0.55s var(--ease-out), visibility 0.55s;
}
.drawer.is-open {
  transform: translateY(0);
  visibility: visible;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: var(--hair);
}
.drawer__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
  align-content: start;
}
.drawer__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: var(--hair);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 700;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.drawer.is-open .drawer__link {
  opacity: 1;
  transform: none;
}
.drawer__link small {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--copper-deep);
  font-weight: 600;
}
.drawer__foot {
  display: grid;
  gap: 0.7rem;
  padding-top: 1.4rem;
  border-top: var(--hair);
}

/* -------------------------------- هیرو ---------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(6.2rem, 11vw, 8.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(1.8rem, 3.4vw, 3rem);
  align-items: center;
}
.hero__copy {
  position: relative;
  z-index: 3;
  padding-block: clamp(0.5rem, 3vw, 2.5rem);
}
.hero__title {
  font-size: var(--fs-display-xl);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.018em;
  margin-block: 0.4rem 0;
}
.hero__title .word-sahar {
  position: relative;
  display: inline-block;
  color: var(--copper-deep);
}
.hero__title .word-sahar::after {
  content: '';
  position: absolute;
  inset-inline: -2%;
  bottom: 0.02em;
  height: 0.09em;
  background: var(--copper);
  opacity: 0.28;
  transform: scaleX(0);
  transform-origin: right;
  animation: brush-in 1.1s 0.95s var(--ease-out) forwards;
}
.hero__lead {
  margin-top: 1.4rem;
  max-width: 34ch;
  font-size: clamp(1rem, 0.55vw + 0.9rem, 1.18rem);
  line-height: 2;
  color: var(--ink-70);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.1rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: var(--hair);
  font-size: 0.8rem;
  color: var(--ink-55);
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__meta i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}

/* تصویر هیرو */
.hero__media {
  position: relative;
  z-index: 2;
}
.hero__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease-out);
}
.hero.is-ready .hero__figure img {
  transform: scale(1);
}
.hero__figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(33, 31, 28, 0) 45%, rgba(33, 31, 28, 0.42) 100%);
  pointer-events: none;
}
.hero__index {
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-start: 1.1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.18em;
  mix-blend-mode: difference;
}
.hero__caption {
  position: absolute;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.2rem;
  z-index: 2;
  color: var(--ivory);
  font-size: 0.76rem;
  line-height: 1.6;
  max-width: 18ch;
  letter-spacing: 0.02em;
}
.hero__caption::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 0.5rem;
}

/* نوار صبح */
.ticker {
  position: relative;
  border-top: var(--hair);
  border-bottom: var(--hair);
  background: rgba(236, 226, 211, 0.4);
  overflow: hidden;
  overflow: clip;
  z-index: 2;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__group {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding: 0.85rem clamp(0.9rem, 2vw, 1.6rem);
  flex: none;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-70);
  white-space: nowrap;
  font-weight: 500;
}
.ticker__item::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.7;
  flex: none;
}

/* ----------------------- جداکننده‌ی بخار بین بخش‌ها ----------------------- */
.steam-divider {
  display: flex;
  justify-content: center;
  padding-block: clamp(1rem, 3vw, 2.4rem);
  color: var(--copper);
  opacity: 0.9;
}
.steam-divider svg {
  width: 70px;
  height: 78px;
  overflow: visible;
}
.steam-divider path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 1.6s var(--ease-out);
}
.steam-divider.is-in path {
  stroke-dashoffset: 0;
}
.steam-divider path:nth-child(2) {
  transition-delay: 0.16s;
}
.steam-divider path:nth-child(3) {
  transition-delay: 0.3s;
}
.steam-divider--flip svg {
  transform: rotate(180deg);
}

/* ------------------------- بخش کشف منو (هوم) ----------------------------- */
.taster {
  display: grid;
  gap: clamp(1.8rem, 3vw, 3rem);
}
.taster__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: var(--hair);
}
.cat-row {
  border-bottom: var(--hair);
}
.cat-row__btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  text-align: right;
  transition: padding 0.4s var(--ease), color 0.3s var(--ease);
}
.cat-row__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-40);
  min-width: 1.9rem;
  transition: color 0.3s var(--ease);
}
.cat-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.6rem);
  font-weight: 700;
  line-height: 1.4;
  flex: 1;
}
.cat-row__line {
  display: none;
  font-size: 0.85rem;
  color: var(--ink-55);
  max-width: 26ch;
  line-height: 1.7;
}
.cat-row__mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cat-row__mark::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-40);
  transition: background 0.3s var(--ease);
}
.cat-row.is-active .cat-row__num {
  color: var(--copper-deep);
}
.cat-row.is-active .cat-row__mark {
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.cat-row.is-active .cat-row__mark::after {
  background: var(--copper);
}
.cat-row__btn:hover {
  padding-inline-start: 0.5rem;
}

.taster__panel {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.2rem;
}
.taster__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.35rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--ink-16);
}
.taster__item:last-child {
  border-bottom: 0;
}
.taster__item-name {
  font-weight: 600;
  font-size: 0.98rem;
}
.taster__item-desc {
  grid-column: 1 / -1;
  font-size: 0.83rem;
  color: var(--ink-55);
  line-height: 1.65;
}
.taster__item-side {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.taster__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-deep);
  aspect-ratio: 1 / 1;
}
.taster__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease);
}
.taster__media.is-swapping img {
  opacity: 0;
  transform: scale(1.03);
}
.taster__media figcaption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 2.6rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(33, 31, 28, 0.62));
  color: var(--ivory);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* قیمت و افزودن */
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}
.price--pending {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--copper-deep);
  border: 1px dashed rgba(180, 116, 81, 0.6);
  border-radius: 100px;
  padding: 0.24rem 0.6rem;
  white-space: nowrap;
}

/* دکمه افزودن کوچک */
.add-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}
.add-btn svg {
  width: 13px;
  height: 13px;
}
.add-btn:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
  transform: scale(1.06);
}

/* ---------------------------- نقشه‌ی سینی -------------------------------- */
.section--dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.section--dark .lead {
  color: var(--paper-70);
}
.section--dark .kicker {
  color: #d69a76;
}
.section--dark .kicker::before {
  background: var(--copper);
}
.section--dark .kicker__num {
  color: var(--paper-40);
  border-color: var(--paper-16);
}
.section--dark .hair {
  background: var(--paper-16);
}
.section--dark h2,
.section--dark h3 {
  color: var(--ivory);
}

.traymap {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: center;
}
.traymap__figure {
  position: relative;
  margin: 0;
  display: grid;
  place-items: center;
}
.traymap__svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.traymap__part {
  cursor: pointer;
  transition: opacity 0.35s var(--ease);
}
.traymap__part .wedge {
  fill: rgba(244, 238, 228, 0.055);
  stroke: rgba(244, 238, 228, 0.28);
  stroke-width: 1;
  transition: fill 0.4s var(--ease), stroke 0.4s var(--ease);
}
.traymap__part .label {
  fill: var(--paper-70);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition: fill 0.3s var(--ease);
}
.traymap__part .dot {
  fill: var(--copper);
  opacity: 0.5;
  transition: opacity 0.3s var(--ease);
}
.traymap__part:hover .wedge,
.traymap__part:focus-visible .wedge {
  fill: rgba(180, 116, 81, 0.18);
  stroke: rgba(180, 116, 81, 0.85);
}
.traymap__part.is-active .wedge {
  fill: rgba(180, 116, 81, 0.26);
  stroke: var(--copper);
}
.traymap__part.is-active .label {
  fill: var(--ivory);
  font-weight: 700;
}
.traymap__part.is-active .dot {
  opacity: 1;
}
.traymap__rim {
  fill: none;
  stroke: rgba(244, 238, 228, 0.24);
  stroke-width: 1;
}
.traymap__rim--inner {
  stroke: rgba(180, 116, 81, 0.45);
}
.traymap__center-label {
  fill: var(--ivory);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
}
.traymap__center-sub {
  fill: var(--paper-40);
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-anchor: middle;
}
.traymap__ticks line {
  stroke: rgba(244, 238, 228, 0.22);
  stroke-width: 1;
}

.part-panel {
  border-top: 1px solid var(--paper-16);
  padding-top: 1.4rem;
  min-height: 168px;
}
.part-panel__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--copper);
  letter-spacing: 0.16em;
  font-weight: 700;
}
.part-panel__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-block: 0.4rem 0.2rem;
  line-height: 1.3;
}
.part-panel__qty {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: #d69a76;
  border: 1px solid rgba(180, 116, 81, 0.45);
  border-radius: 100px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.9rem;
}
.part-panel__desc {
  color: var(--paper-70);
  line-height: 1.95;
  font-size: 0.95rem;
  max-width: 42ch;
}
.part-panel__note {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: #d69a76;
  line-height: 1.7;
}
.part-panel__inner {
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.part-panel__inner.is-out {
  opacity: 0;
  transform: translateY(6px);
}

/* جدول ترکیب دست کامل */
.composition {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--paper-16);
  padding-top: 1.6rem;
}
.composition__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.composition__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
}
.composition__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0;
  border-top: 1px solid var(--paper-16);
  border-inline-start: 1px solid var(--paper-16);
  margin: 0;
}
.composition__cell {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--paper-16);
  border-inline-end: 1px solid var(--paper-16);
  font-size: 0.86rem;
}
.composition__cell dt {
  color: var(--paper-70);
}
.composition__cell dd {
  margin: 0;
  font-weight: 600;
  color: var(--ivory);
  white-space: nowrap;
}
.composition__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--paper-40);
  line-height: 1.8;
  max-width: 60ch;
}

/* ----------------------------- سینی سفارش -------------------------------- */
.trayband {
  display: grid;
  gap: clamp(2rem, 4vw, 3.6rem);
  align-items: center;
}
.trayband__visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.trayband__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
}
.trayband__ring:nth-child(2) {
  inset: 2%;
  border-style: dashed;
  border-color: rgba(180, 116, 81, 0.45);
  animation: ring-spin 120s linear infinite;
}
.trayband__center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  text-align: center;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fffaf2, var(--ivory-deep) 72%);
  border: 1px solid rgba(180, 116, 81, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--shadow-soft);
}
.trayband__center strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}
.trayband__center span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--copper-deep);
  font-weight: 600;
}
.trayband__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--ivory);
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 10px 24px -18px rgba(33, 31, 28, 0.6);
  white-space: nowrap;
}
.trayband__chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}
.trayband__chip--1 {
  inset-block-start: 12%;
  inset-inline-start: 2%;
}
.trayband__chip--2 {
  inset-block-end: 18%;
  inset-inline-end: 0;
}
.trayband__chip--3 {
  inset-block-end: 4%;
  inset-inline-start: 14%;
}

.steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: var(--hair);
  align-items: baseline;
}
.steps li:last-child {
  border-bottom: var(--hair);
}
.steps b {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--copper-deep);
  letter-spacing: 0.1em;
}
.steps span {
  font-size: 0.95rem;
  color: var(--ink-70);
  line-height: 1.8;
}

/* -------------------------------- داستان -------------------------------- */
.story {
  display: grid;
  gap: clamp(2rem, 4vw, 3.6rem);
}
.story__figure {
  position: relative;
  margin: 0;
}
.story__figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.story__figure--offset {
  padding-inline-start: clamp(0rem, 6vw, 4rem);
}
.story__figure--offset figcaption {
  margin-top: 0.8rem;
  font-size: 0.78rem;
  color: var(--ink-55);
}
.story__body p + p {
  margin-top: 1.1rem;
}
.story__body p {
  color: var(--ink-70);
  line-height: 2.05;
  max-width: 52ch;
}
.story__quote {
  margin: clamp(1.8rem, 3vw, 2.6rem) 0 0;
  padding-inline-start: clamp(1rem, 2vw, 1.6rem);
  border-inline-start: 2px solid var(--copper);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
  max-width: 30ch;
}
.story__stamp {
  position: absolute;
  inset-block-end: clamp(-1.5rem, -2vw, -1rem);
  inset-inline-end: clamp(-1rem, -2vw, -0.5rem);
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-align: center;
  line-height: 1.5;
  box-shadow: var(--shadow-soft);
}
.story__stamp::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(244, 238, 228, 0.24);
  border-radius: 50%;
}

/* --------------------------- از دیگ تا سفره ------------------------------ */
.process {
  display: grid;
  gap: clamp(1.4rem, 2.5vw, 2rem);
}
.process__card {
  position: relative;
  display: grid;
  gap: 0;
}
.process__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-deep);
  aspect-ratio: 4 / 3;
}
.process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.process__card:hover .process__media img {
  transform: scale(1.035);
}
.process__num {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-end: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ivory);
  background: rgba(33, 31, 28, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}
.process__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.process__text {
  margin-top: 0.4rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink-55);
}
.process__line {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 1.1s var(--ease-out);
}
.process.is-in .process__line {
  transform: scaleX(1);
}

/* -------------------------------- گالری --------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 38vw;
  grid-auto-flow: row dense;
  gap: clamp(0.45rem, 1.2vw, 0.85rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ivory-deep);
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.gallery__item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), opacity 0.5s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.04);
}
.gallery__cap {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding: 2.2rem 0.9rem 0.75rem;
  background: linear-gradient(transparent, rgba(33, 31, 28, 0.68));
  color: var(--ivory);
  font-size: 0.76rem;
  text-align: right;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover .gallery__cap,
.gallery__item:focus-visible .gallery__cap {
  opacity: 1;
  transform: none;
}

/* لایت‌باکس */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(24, 22, 20, 0.96);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ivory);
}
.lightbox__count {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--paper-70);
}
.lightbox__close,
.lightbox__nav {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--paper-16);
  color: var(--ivory);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(244, 238, 228, 0.12);
  border-color: var(--copper);
}
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox__stage img.is-shown {
  opacity: 1;
}
.lightbox__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper-70);
  font-size: 0.85rem;
}
.lightbox__navs {
  display: flex;
  gap: 0.5rem;
}

/* ------------------------------ تماس/نشانی -------------------------------- */
.visit {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
}
.visit__cards {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--paper-16);
}
.visit__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--paper-16);
}
.visit__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #d69a76;
  font-weight: 600;
}
.visit__value {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ivory);
}
.visit__value a {
  border-bottom: 1px solid rgba(244, 238, 228, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.visit__value a:hover {
  color: var(--copper);
  border-color: var(--copper);
}
.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.visit__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--paper-16);
  background:
    radial-gradient(circle at 30% 20%, rgba(180, 116, 81, 0.12), transparent 60%),
    rgba(244, 238, 228, 0.03);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.6rem;
}
.visit__map svg.mapline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(244, 238, 228, 0.16);
}
.visit__map-inner {
  position: relative;
  z-index: 2;
  max-width: 30ch;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
}
.visit__map-pin {
  width: 42px;
  height: 42px;
  color: var(--copper);
  margin-bottom: 0.3rem;
}
.visit__map-inner p {
  font-size: 0.82rem;
  color: var(--paper-40);
  line-height: 1.8;
}

/* --------------------------------- FAQ ----------------------------------- */
.faq {
  display: grid;
  gap: clamp(1.6rem, 3vw, 3rem);
}
.faq__list {
  border-top: var(--hair);
}
.faq__item {
  border-bottom: var(--hair);
}
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 0;
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.7;
  transition: color 0.3s var(--ease);
}
.faq__q:hover {
  color: var(--copper-deep);
}
.faq__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.45rem;
  color: var(--copper-deep);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 1.4px;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq__icon::after {
  transform: rotate(90deg);
}
.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a > div {
  overflow: hidden;
}
.faq__a p {
  padding-block: 0 1.3rem;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--ink-70);
  max-width: 66ch;
}

/* ------------------------------- پایان/فوتر ------------------------------- */
.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7.5rem);
}
.closing__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.closing__title {
  font-size: clamp(1.9rem, 4.6vw, 4rem);
  line-height: 1.22;
  font-weight: 900;
  max-width: 20ch;
}
.closing__lead {
  color: var(--ink-70);
  max-width: 38ch;
  font-size: 0.98rem;
  line-height: 1.9;
}
.closing__ring {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(50%, -50%);
  width: min(940px, 128vw);
  aspect-ratio: 1;
  color: var(--copper);
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}
.closing__ring svg {
  width: 100%;
  height: 100%;
}

.site-foot {
  background: var(--charcoal);
  color: var(--ivory);
  padding-block: clamp(2.6rem, 5vw, 4rem) 4.2rem;
}
.foot__grid {
  display: grid;
  gap: clamp(1.8rem, 3.5vw, 3rem);
}
.foot__brand {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}
.foot__brand .brand__mark {
  color: var(--ivory);
}
.foot__statement {
  color: var(--paper-70);
  font-size: 0.9rem;
  line-height: 1.95;
  max-width: 32ch;
}
.foot__col h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: #d69a76;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.foot__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--paper-70);
}
.foot__list a:hover {
  color: var(--ivory);
}
.foot__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--paper-16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: var(--paper-40);
}
.foot__bottom span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.foot__credit b {
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--paper-70);
}

/* -------------------------------- سینی ----------------------------------- */
.tray {
  position: fixed;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.1rem;
  z-index: 88;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.85rem 0.72rem 1.05rem;
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: 100px;
  box-shadow: 0 18px 40px -22px rgba(33, 31, 28, 0.9);
  font-size: 0.87rem;
  font-weight: 600;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.tray:hover {
  background: #2d2a25;
  transform: translateY(-2px);
}
.tray__ring {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
}
.tray__ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.tray__ring circle {
  fill: none;
  stroke-width: 1.6;
}
.tray__ring .ring-bg {
  stroke: rgba(244, 238, 228, 0.22);
}
.tray__ring .ring-fg {
  stroke: var(--copper);
  stroke-dasharray: 78.5;
  stroke-dashoffset: 78.5;
  transition: stroke-dashoffset 0.5s var(--ease);
  stroke-linecap: round;
}
.tray__count {
  position: relative;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
}
.tray__text {
  display: inline;
}
@media (max-width: 559px) {
  .tray {
    padding: 0.62rem;
    gap: 0;
  }
  .tray__text {
    display: none;
  }
  .tray__ring {
    width: 32px;
    height: 32px;
  }
}
.tray.has-items {
  background: var(--pom);
}
.tray.has-items:hover {
  background: #9d4038;
}

/* پنل سینی */
.tray-panel {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 130;
  width: min(430px, 100%);
  background: var(--ivory);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-out), visibility 0.5s;
  box-shadow: var(--shadow-tray);
}
.tray-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}
.tray-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-bottom: var(--hair);
}
.tray-panel__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
}
.tray-panel__close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tray-panel__close:hover {
  background: var(--charcoal);
  color: var(--ivory);
}
.tray-panel__body {
  overflow-y: auto;
  padding: 1.1rem 1.2rem;
  -webkit-overflow-scrolling: touch;
}
.tray-panel__empty {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
  padding: 2.6rem 1rem;
  color: var(--ink-55);
}
.tray-panel__empty svg {
  width: 58px;
  height: 58px;
  color: var(--copper);
  opacity: 0.75;
}
.tray-panel__empty p {
  font-size: 0.88rem;
  line-height: 1.85;
  max-width: 26ch;
}
.tray-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.tray-line {
  display: grid;
  gap: 0.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--ink-16);
}
.tray-line:last-child {
  border-bottom: 0;
}
.tray-line__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}
.tray-line__name {
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.6;
}
.tray-line__price {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  flex: none;
}
.tray-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.tray-line__meta {
  font-size: 0.76rem;
  color: var(--ink-55);
  line-height: 1.6;
}
.tray-line__ctrls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.qty {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  padding: 0.12rem;
}
.qty button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.qty button:hover {
  background: var(--charcoal);
  color: var(--ivory);
}
.qty output {
  min-width: 1.6rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
}
.tray-line__price {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}
.tray-line__remove {
  font-size: 0.7rem;
  color: var(--ink-40);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tray-line__remove:hover {
  color: var(--pom);
  border-color: var(--pom);
}
.tray-panel__foot {
  border-top: var(--hair);
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.8rem;
  background: var(--ivory);
}
.tray-sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.86rem;
}
.tray-sum__label {
  color: var(--ink-55);
}
.tray-sum__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}
.tray-sum__value--pending {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--copper-deep);
}
.tray-note {
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--ink-55);
  border-top: 1px dashed var(--ink-16);
  padding-top: 0.7rem;
}
.tray-actions {
  display: grid;
  gap: 0.5rem;
}
.tray-toast {
  position: fixed;
  inset-block-end: 1.4rem;
  inset-inline-start: auto;
  inset-inline-end: 1.1rem;
  z-index: 140;
  max-width: calc(100vw - 2.2rem);
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 0.82rem;
  padding: 0.6rem 1rem;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.tray-toast.is-shown {
  opacity: 1;
  transform: none;
}

/* پوشش */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: rgba(24, 22, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.is-open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------ صفحه‌ی منو ------------------------------- */
.menu-hero {
  padding-top: clamp(6.5rem, 12vw, 9rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.menu-hero__grid {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: end;
}
.menu-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  font-size: 0.8rem;
  color: var(--ink-55);
}
.menu-hero__stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
}

.toolbar {
  position: sticky;
  top: 58px;
  z-index: 60;
  background: rgba(244, 238, 228, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: var(--hair);
  border-bottom: var(--hair);
}
.toolbar__inner {
  display: grid;
  gap: 0.7rem;
  padding-block: 0.75rem;
}
.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search svg {
  position: absolute;
  inset-inline-start: 0.9rem;
  width: 16px;
  height: 16px;
  color: var(--ink-40);
  pointer-events: none;
}
.search input {
  width: 100%;
  padding: 0.72rem 2.6rem 0.72rem 0.9rem;
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  background: rgba(255, 253, 249, 0.7);
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.search input::placeholder {
  color: var(--ink-40);
}
.search input:focus {
  outline: none;
  border-color: var(--copper);
  background: #fffdf9;
}
.search input:focus-visible {
  outline: 2px solid var(--copper-deep);
  outline-offset: 2px;
}
.search__clear {
  position: absolute;
  inset-inline-end: 0.55rem;
  width: 26px;
  height: 26px;
  display: none;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-40);
}
.search__clear.is-shown {
  display: grid;
}
.search__clear:hover {
  color: var(--ink);
  background: var(--ink-08);
}

.chips {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.1rem;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  flex: none;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-70);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--copper);
  color: var(--ink);
}
.chip[aria-pressed='true'] {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.chip small {
  display: inline-block;
  margin-inline-start: 0.35rem;
  font-size: 0.68rem;
  opacity: 0.6;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px dashed rgba(180, 116, 81, 0.55);
  border-radius: var(--radius);
  background: rgba(180, 116, 81, 0.06);
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--ink-70);
  margin-top: 1.4rem;
}
.notice svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.35rem;
  color: var(--copper-deep);
}
.notice b {
  font-weight: 700;
  color: var(--ink);
}

.menu-list {
  display: grid;
  gap: 0;
  border-top: var(--hair);
  margin-top: 1rem;
}
.menu-row {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1rem, 2vw, 1.45rem) 0;
  border-bottom: var(--hair);
  transition: background 0.4s var(--ease);
}
.menu-row:hover {
  background: rgba(255, 253, 249, 0.5);
}
.menu-row__head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.menu-row__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--copper-deep);
  letter-spacing: 0.06em;
  min-width: 1.5rem;
  flex: none;
}
.menu-row__title {
  display: grid;
  gap: 0.1rem;
}
.menu-row__name {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
}
.menu-row__short {
  font-size: 0.82rem;
  color: var(--copper-deep);
  font-weight: 500;
  line-height: 1.7;
}
.menu-row__desc {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--ink-70);
  max-width: 58ch;
}
.menu-row__composition {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.15rem;
}
.tag {
  font-size: 0.71rem;
  color: var(--ink-55);
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  padding: 0.14rem 0.52rem;
  line-height: 1.7;
  white-space: nowrap;
}
.menu-row__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: 0.5rem;
}
.menu-row__serving {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--ink-55);
}
.menu-row__serving svg {
  width: 13px;
  height: 13px;
  color: var(--copper);
}
.menu-row__unit {
  font-size: 0.72rem;
  color: var(--ink-40);
}
.menu-row__unit::before {
  content: '·';
  margin-inline-end: 0.5rem;
  color: var(--copper);
}
.menu-row__order {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.menu-row__thumb {
  display: none;
}

.menu-empty {
  display: grid;
  gap: 0.8rem;
  justify-items: center;
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1rem;
  color: var(--ink-55);
}
.menu-empty svg {
  width: 52px;
  height: 52px;
  color: var(--copper);
  opacity: 0.6;
}
.menu-empty p {
  font-size: 0.92rem;
  line-height: 1.9;
  max-width: 30ch;
}

.cat-head {
  display: grid;
  gap: 0.4rem;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  padding-bottom: 1rem;
  scroll-margin-top: 140px;
}
.cat-head:first-of-type {
  margin-top: 1.6rem;
}
.cat-head__num {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--copper-deep);
  font-weight: 700;
}
.cat-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}
.cat-head__line {
  font-size: 0.88rem;
  color: var(--ink-55);
  max-width: 46ch;
  line-height: 1.85;
}

/* ------------------------------ صفحه‌ی ۴۰۴ ------------------------------- */
.nf {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.nf__inner {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
  max-width: 40ch;
}
.nf__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--copper);
  opacity: 0.85;
}

/* ------------------------- اعلان حالت نمایشی ----------------------------- */
.concept-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.85;
  color: var(--ink-55);
  padding: 0.6rem 0.9rem;
  border: 1px dashed var(--ink-16);
  border-radius: 6px;
  max-width: 46ch;
  margin-top: 1.6rem;
}
.concept-note i {
  margin-top: 0.55em;
}
.concept-note code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--copper-deep);
}
.section--dark .concept-note code {
  color: #d69a76;
}
.concept-note i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex: none;
}
.section--dark .concept-note {
  color: var(--paper-40);
  border-color: var(--paper-16);
}
