@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-DemiBold.woff") format("woff");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansXFaNum";
  src: url("/assets/fonts/IRANSansXFaNum-Black.woff") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #12110f;
  --coal: #1b1a17;
  --cream: #f2ecdf;
  --muted: #a59d90;
  --gold: #d9ae5f;
  --copper: #a54b2a;
  --line: rgba(242, 236, 223, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "IRANSansXFaNum", Tahoma, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  direction: rtl;
}
button, a { font: inherit; }
button { cursor: pointer; }

.topbar {
  align-items: center;
  background: rgba(18, 17, 15, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 82px;
  justify-content: space-between;
  left: 0;
  padding: 0 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}
.brand {
  align-items: center;
  color: var(--cream);
  direction: ltr;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-shell {
  align-items: center;
  background: #f5eee3;
  border: 1px solid rgba(217, 174, 95, .72);
  border-radius: 13px 13px 5px 5px;
  display: flex;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  padding: 3px 7px;
  width: 46px;
}
.brand-logo { height: 100%; object-fit: contain; width: 100%; }
.brand-mark {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  font-family: Georgia, serif;
  font-size: 26px;
  height: 48px;
  justify-content: center;
  width: 48px;
}
.brand strong, .brand small { display: block; }
.brand strong {
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.18em;
  line-height: 1;
}
.brand small {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.26em;
  margin-top: 7px;
}
.top-actions { display: flex; gap: 8px; }
.icon-button, .heart {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 24px;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.icon-button { position: relative; }
.icon-button.selected { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.icon-button b {
  align-items: center;
  background: var(--copper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 8px;
  height: 18px;
  justify-content: center;
  position: absolute;
  right: -4px;
  top: -4px;
  width: 18px;
}
.search-panel {
  align-items: center;
  background: #1e1c19;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,0,0,.36);
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(220px, 460px) 34px;
  left: 5vw;
  padding: 13px 16px;
  position: absolute;
  top: calc(100% + 10px);
}
.search-panel label { color: var(--muted); font-size: 11px; }
.search-panel input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(217,174,95,.45);
  color: var(--cream);
  min-width: 320px;
  outline: 0;
  padding: 10px 4px;
}
.search-panel input::placeholder { color: #746d64; }
.search-panel button { background: transparent; border: 0; color: var(--muted); font-size: 24px; }

.hero {
  min-height: 780px;
  overflow: hidden;
  padding: 180px 7vw 90px;
  position: relative;
}
.hero-image {
  background-image: url("/assets/brand/kazhe-food-table.webp");
  background-position: center 58%;
  background-size: cover;
  inset: 0;
  position: absolute;
  transform: scale(1.02);
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(18,17,15,.15), rgba(18,17,15,.85) 72%), linear-gradient(0deg, var(--ink), transparent 30%);
  inset: 0;
  position: absolute;
}
.hero-content { max-width: 720px; position: relative; z-index: 2; }
.eyebrow {
  color: #d9d1c4;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  margin: 0 0 22px;
  text-align: right;
}
.eyebrow.gold { color: var(--gold); }
.hero h1 {
  font-size: clamp(54px, 8vw, 112px);
  font-weight: 300;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: 0;
}
.hero h1 em { color: var(--gold); font-family: "IRANSansXFaNum", Tahoma, sans-serif; font-size: .88em; font-weight: 400; }
.hero-copy { color: #d6d0c5; font-size: 17px; line-height: 2; margin: 34px 0; max-width: 480px; }
.hero-cta {
  align-items: center;
  background: var(--gold);
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 24px;
  padding: 16px 22px;
  text-decoration: none;
}
.hero-cta span { font-size: 21px; }
.open-pill {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(18,17,15,.72);
  border: 1px solid var(--line);
  bottom: 42px;
  display: flex;
  font-size: 12px;
  gap: 9px;
  left: 5vw;
  padding: 12px 15px;
  position: absolute;
  z-index: 2;
}
.open-pill span { background: #70aa65; border-radius: 50%; box-shadow: 0 0 0 5px rgba(112,170,101,.12); height: 7px; width: 7px; }

.menu-section { margin: 0 auto; max-width: 1500px; padding: 100px 5vw; }
.section-heading { align-items: end; display: flex; justify-content: space-between; }
.section-heading h2, .experience h2 { font-size: clamp(36px, 5vw, 68px); font-weight: 400; letter-spacing: -.04em; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 12px; }
.category-row { display: flex; gap: 10px; margin: 42px 0 34px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.category-row::-webkit-scrollbar { display: none; }
.category-row button { background: transparent; border: 1px solid var(--line); color: #b8b0a4; flex: 0 0 auto; padding: 11px 18px; }
.category-row button.active { background: var(--cream); border-color: var(--cream); color: var(--ink); font-weight: 700; }
.result-count { color: var(--gold); font-size: 12px; margin: -12px 0 24px; }
.menu-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.food-card { background: var(--coal); border: 1px solid var(--line); overflow: hidden; transition: transform 180ms ease, border-color 180ms ease; }
.food-card:hover { border-color: rgba(217,174,95,.45); transform: translateY(-5px); }
.food-card.unavailable { opacity: .58; }
.food-card.unavailable .add-button { background: #6f6960; cursor: not-allowed; }
.food-image-wrap { aspect-ratio: 1.35; overflow: hidden; position: relative; }
.food-image { height: 100%; object-fit: cover; transition: transform 450ms ease; width: 100%; }
.food-card:hover .food-image { transform: scale(1.04); }
.food-badge { background: var(--copper); color: white; font-size: 10px; font-weight: 800; padding: 7px 11px; position: absolute; right: 14px; top: 14px; }
.discount-badge { background: var(--gold); color: var(--ink); font-size: 10px; font-weight: 900; left: 14px; padding: 7px 11px; position: absolute; top: 60px; }
.unavailable-badge { background: rgba(18,17,15,.88); border: 1px solid var(--line); color: var(--cream); font-size: 10px; font-weight: 700; padding: 7px 11px; position: absolute; right: 14px; top: 14px; }
.photo-note {
  backdrop-filter: blur(8px);
  background: rgba(18, 17, 15, .72);
  bottom: 12px;
  color: #d7cec0;
  font-size: 9px;
  padding: 6px 9px;
  position: absolute;
  right: 12px;
}
.heart { background: rgba(18,17,15,.68); font-size: 20px; height: 38px; left: 14px; position: absolute; top: 14px; width: 38px; }
.heart.liked { background: var(--gold); border-color: var(--gold); color: #7d2118; }
.food-body { padding: 23px; }
.food-en { color: var(--gold); direction: ltr; font-family: Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .22em; margin: 0 0 9px; text-align: right; }
.food-body h3 { font-size: 21px; font-weight: 700; margin: 0; }
.food-description { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 12px 0 24px; min-height: 46px; }
.food-footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 17px; }
.food-footer strong { color: var(--gold); font-size: 19px; }
.food-footer .old-price { color: #81796e; display: block; font-size: 11px; text-decoration: line-through; }
.food-footer small { color: var(--muted); font-size: 9px; font-weight: 400; }
.add-button { align-items: center; background: var(--gold); border: 0; color: var(--ink); display: flex; font-family: Arial, sans-serif; font-size: 24px; height: 40px; justify-content: center; width: 40px; }
.quantity-control {
  align-items: center;
  border: 1px solid rgba(217,174,95,.38);
  display: flex;
  height: 40px;
}
.quantity-control button {
  background: transparent;
  border: 0;
  color: var(--gold);
  font-family: Arial, sans-serif;
  font-size: 18px;
  height: 38px;
  width: 34px;
}
.quantity-control span { color: var(--cream); font-size: 12px; min-width: 23px; text-align: center; }
.empty-state {
  align-items: center;
  border: 1px dashed var(--line);
  color: var(--muted);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  justify-content: center;
  text-align: center;
}
.empty-state > span { color: var(--gold); font-family: Arial, sans-serif; font-size: 44px; }
.empty-state h3 { color: var(--cream); font-size: 24px; margin: 14px 0 0; }
.empty-state p { font-size: 12px; }
.empty-state button { background: transparent; border: 1px solid var(--gold); color: var(--gold); margin-top: 16px; padding: 11px 18px; }

.experience {
  background: linear-gradient(90deg, rgba(18,17,15,.92), rgba(18,17,15,.38)), url("/assets/brand/kazhe-lounge-interior.webp") center 52%/cover;
  min-height: 480px;
  padding: 120px 7vw;
}
.experience h2 { max-width: 720px; }
.experience-meta { color: #d0c8bd; display: flex; font-size: 13px; gap: 36px; margin-top: 48px; }
.experience-meta a { color: #d0c8bd; text-decoration: none; }
footer { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 34px 5vw; }
footer > p { color: var(--muted); font-size: 11px; }

.cart-bar {
  align-items: center;
  background: var(--gold);
  border: 0;
  bottom: 18px;
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
  color: var(--ink);
  display: grid;
  gap: 14px;
  grid-template-columns: 32px 1fr auto;
  left: 50%;
  max-width: 580px;
  padding: 13px 16px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 30;
}
.cart-count { align-items: center; background: var(--ink); border-radius: 50%; color: var(--gold); display: flex; height: 32px; justify-content: center; width: 32px; }
.cart-bar > span:nth-child(2) { font-size: 13px; font-weight: 800; text-align: right; }
.cart-bar strong { font-size: 14px; }
.cart-bar small { font-size: 8px; }
.drawer-backdrop {
  align-items: stretch;
  background: rgba(0,0,0,.7);
  display: flex;
  inset: 0;
  justify-content: flex-start;
  position: fixed;
  z-index: 40;
}
.cart-drawer {
  background: #181714;
  border-right: 1px solid var(--line);
  box-shadow: 30px 0 90px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  max-width: 520px;
  overflow-y: auto;
  padding: 34px;
  width: 100%;
}
.drawer-header { align-items: flex-start; display: flex; justify-content: space-between; }
.drawer-header h2 { font-size: 30px; font-weight: 400; margin: 0 0 28px; }
.drawer-header > button { background: transparent; border: 1px solid var(--line); color: var(--cream); font-size: 26px; height: 42px; width: 42px; }
.drawer-items { display: flex; flex-direction: column; }
.drawer-item { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 68px 1fr auto; padding: 14px 0; }
.drawer-item img { height: 62px; object-fit: cover; width: 68px; }
.drawer-item h3 { font-size: 13px; margin: 0 0 5px; }
.drawer-item p { color: var(--gold); font-size: 10px; margin: 0; }
.drawer-total { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; margin-top: auto; padding: 25px 0 10px; }
.drawer-total span { color: var(--muted); font-size: 12px; }
.drawer-total strong { color: var(--gold); font-size: 21px; }
.drawer-note { color: var(--muted); font-size: 11px; line-height: 1.9; }
.call-button { background: var(--gold); color: var(--ink); font-size: 13px; font-weight: 800; margin-top: 10px; padding: 16px; text-align: center; text-decoration: none; }
.clear-cart { background: transparent; border: 0; color: #8f877c; font-size: 11px; padding: 15px; }
.install-notice { background: #fff3cd; color: #4c3d08; direction: rtl; font-family: Tahoma, sans-serif; padding: 16px; text-align: center; }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 720px; }
}

@media (max-width: 620px) {
  .topbar { height: 72px; padding: 0 18px; }
  .brand-mark { font-size: 21px; height: 40px; width: 40px; }
  .brand-logo-shell { height: 45px; width: 38px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 6px; }
  .icon-button { height: 39px; width: 39px; }
  .search-panel { gap: 5px; grid-template-columns: 1fr 34px; left: 12px; padding: 12px; right: 12px; }
  .search-panel label { display: none; }
  .search-panel input { min-width: 0; width: 100%; }
  .hero { min-height: 690px; padding: 150px 22px 90px; }
  .hero-image { background-position: 37% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(18,17,15,.2), rgba(18,17,15,.85) 82%), linear-gradient(0deg, var(--ink), transparent 40%); }
  .hero-copy { font-size: 14px; }
  .open-pill { bottom: 28px; left: 22px; }
  .menu-section { padding: 70px 16px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .category-row { margin: 30px -16px 25px; padding: 0 16px 8px; }
  .menu-grid { grid-template-columns: 1fr; }
  .food-card { display: grid; grid-template-columns: 40% 60%; }
  .food-image-wrap { aspect-ratio: auto; min-height: 205px; }
  .food-body { padding: 18px; }
  .food-body h3 { font-size: 17px; }
  .food-description { font-size: 10px; margin: 8px 0 12px; min-height: 57px; }
  .food-footer { padding-top: 12px; }
  .food-footer strong { font-size: 16px; }
  .food-badge { right: 8px; top: 8px; }
  .heart { left: 8px; top: 8px; }
  .experience { min-height: 420px; padding: 90px 22px; }
  .experience-meta { align-items: start; flex-direction: column; gap: 12px; }
  footer { align-items: start; flex-direction: column; gap: 22px; padding: 30px 22px; }
  .cart-drawer { padding: 26px 18px; }
  .drawer-item { gap: 10px; grid-template-columns: 58px 1fr auto; }
  .drawer-item img { height: 56px; width: 58px; }
  .drawer-item .quantity-control button { width: 28px; }
  .cart-bar { bottom: 10px; width: calc(100% - 20px); }
}
