    @font-face {
      font-family: 'Vazir';
      src: url('Vazir.woff2') format('woff2');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

    :root {
      --red: #E63946;
      --red-dark: #C1121F;
      --gray: #2A2A2A;
      --gray-light: #333333;
      --bg: #1A1A1A;
      --text: #FFFFFF;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'Vazir';
      line-height: 1.5;
      padding-bottom: 80px;
    }

header {
  background: #9e0310;
  padding: 16px 16px 0; 
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px;
}

.logo {
  width: 90px;
  filter: brightness(0) invert(1);
}

.icons {
  display: flex;
  gap: 16px;
  font-size: 20px;
}

.icon-btn {
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 16px 0 0; 
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
  background: #9e0310; 
}

.tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 8px 0;
  font-weight: 600;
  color: #ebebeb;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s;
  font-size: 15px;
}

.tab.active {
  color: white;
}

.tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.tab.active::after {
  width: 100%;
}

    .tab.active::after { width: 100%; }

    .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

    .menu-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 16px;
    }

    @media (min-width: 769px) {
      .menu-grid { grid-template-columns: repeat(4, 1fr); }
    }

    .item {
      background: var(--gray-light);
      border-radius: 20px;
      overflow: hidden;
      text-align: center;
      padding: 20px 12px;
      transition: transform 0.2s, box-shadow 0.2s;
      opacity: 0;
      transform: translateY(12px);
      animation: fadeIn 0.5s forwards;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      height: 100%;
    }

    .item.visible { opacity: 1; transform: translateY(0); }

    .img-wrapper {
      width: 120px; height: 120px;
      margin-bottom: 14px;
      position: relative;
    }

    .img-circle {
      width: 100%; height: 100%;
      border-radius: 50%;
      overflow: hidden;
      border: 5px solid var(--gray);
      box-shadow: 0 4px 16px rgba(0,0,0,0.4);
      background: #444;
      position: relative;
    }

    .skeleton {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
      background-size: 200% 100%;
      animation: skeleton-loading 1.5s infinite;
      border-radius: 50%;
      z-index: 2;
      pointer-events: none;
    }

    .item img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      position: absolute;
      top: 0; left: 0;
      opacity: 0;
      transition: opacity 0.5s;
      z-index: 1;
    }

    .item img.loaded {
      opacity: 1;
    }

    .name {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 6px;
      color: #fff;
    }

    .name-en {
      font-size: 11px;
      color: #aaa;
      margin-bottom: 10px;
    }

    .price-btn {
      background: var(--red-dark);
      color: white;
      font-weight: 700;
      font-size: 13px;
      padding: 8px 18px;
      border-radius: 50px;
      min-width: 100px;
      box-shadow: 0 2px 8px rgba(230, 57, 70, 0.4);
      transition: all 0.2s;
      margin-top: auto;
    }

    .price-btn:hover { background: var(--red); }

    @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
    @keyframes skeleton-loading {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    .category { display: none; }
    .category.active { display: block; }

    .modal {
      display: none;
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,0.85);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal.active { display: flex; }

    .modal-content {
      background: var(--gray-light);
      border-radius: 20px;
      padding: 24px;
      max-width: 380px;
      width: 100%;
      text-align: center;
      animation: pop 0.3s ease;
    }

    .modal h3 { margin-bottom: 12px; color: var(--red); font-size: 18px; }
    .modal p { margin-bottom: 16px; font-size: 15px; line-height: 1.6; }

    .btn {
      background: var(--red);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 50px;
      cursor: pointer;
      font-weight: 600;
      width: 100%;
      font-size: 15px;
    }

    @keyframes pop { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }