/* Theme: 3D — chunky extruded cards, tilted hero, a plate built in CSS 3D. */
.theme-depth {
  --ink: color-mix(in srgb, var(--color-background) 55%, black);
  --card: var(--color-secondary);
  --on-card: var(--color-background);
  --m-surface: var(--color-secondary);
  --m-text: var(--color-background);
  --m-muted: color-mix(in srgb, var(--color-background) 72%, transparent);
  --m-line: color-mix(in srgb, var(--color-background) 22%, transparent);
  --m-radius: 22px;
  --m-display: "Lalezar", "Vazirmatn", Tahoma, sans-serif;
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background: var(--color-background);
  color: var(--color-secondary);
}

.theme-depth .sheet {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 110px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* The extruded look: a hard offset shadow under a 2.5px outline. */
.theme-depth .chunk {
  background: var(--card);
  color: var(--on-card);
  border: 2.5px solid var(--ink);
  box-shadow: 0 7px 0 var(--ink);
  border-radius: 18px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.theme-depth a.chunk:active,
.theme-depth .chunk button:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 var(--ink);
}

.theme-depth .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.theme-depth .name {
  margin: 0;
  font-family: var(--m-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.2;
}
.theme-depth .table-tag {
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 14px;
}

/* Hero */
.theme-depth .stage {
  perspective: 900px;
  padding-bottom: 10px;
}
.theme-depth .hero-card {
  position: relative;
  min-height: 280px;
  border-radius: 32px;
  background: var(--color-primary);
  color: var(--color-background);
  border: 3px solid var(--ink);
  box-shadow: 0 10px 0 var(--ink);
  transform: rotateX(9deg) rotateZ(-1.5deg);
  transform-origin: bottom center;
  overflow: hidden;
}
.theme-depth .hero-copy {
  position: relative;
  z-index: 2;
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 78%;
}
.theme-depth .kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}
.theme-depth .hero-title {
  margin: 0;
  font-family: var(--m-display);
  font-size: 30px;
  line-height: 1.35;
}
.theme-depth .hero-logo {
  position: absolute;
  z-index: 2;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}
.theme-depth .plate {
  position: absolute;
  left: -16px;
  bottom: -46px;
  width: 250px;
  height: 196px;
  transform: rotateX(55deg);
  transform-style: preserve-3d;
}
.theme-depth .plate span {
  position: absolute;
  border: 2.5px solid var(--ink);
}
.theme-depth .plate-shadow {
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(14px);
}
.theme-depth .plate-dish {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffffff 0 55%, #e6e0d4 72%, #cbc2b0 100%);
}
.theme-depth .plate-rice {
  left: 32px;
  top: 34px;
  width: 108px;
  height: 98px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fffaf0 0 40%, #f1e0b4 75%, #dcbd74 100%);
}
.theme-depth .plate-saffron {
  left: 58px;
  top: 46px;
  width: 40px;
  height: 34px;
  border-radius: 50%;
  background: #f2a900;
}
.theme-depth .plate-kebab {
  width: 92px;
  height: 26px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 30%, #b8612f, #7a3510);
  transform: rotate(-18deg);
}
.theme-depth .plate-kebab.k1 {
  left: 138px;
  top: 44px;
}
.theme-depth .plate-kebab.k2 {
  left: 134px;
  top: 82px;
}
.theme-depth .plate-tomato {
  left: 166px;
  top: 122px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a6b, #d42a12);
}

/* Category buttons */
.theme-depth .cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}
.theme-depth .cat-btn {
  min-height: 56px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.theme-depth .cat-btn:first-child {
  background: var(--color-primary);
  color: var(--color-background);
}

/* Sections & cards */
.theme-depth .menu-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 16px;
}
.theme-depth .section-title {
  margin: 10px 0 0;
  font-family: var(--m-display);
  font-weight: 400;
  font-size: 26px;
}
.theme-depth .item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px 12px;
}
.theme-depth .menu-item {
  padding: 12px;
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.theme-depth .item-visual {
  position: relative;
  height: 104px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  background: color-mix(in srgb, var(--color-primary) 32%, var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 300px;
  overflow: hidden;
}
.theme-depth .item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.theme-depth .orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: radial-gradient(circle at 35% 30%, #ffffff 0 16%, var(--color-primary) 60%, var(--ink) 150%);
  box-shadow: 0 8px 0 color-mix(in srgb, var(--ink) 40%, transparent);
  transform: rotateX(18deg);
}
.theme-depth .menu-item-special {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--color-primary);
  color: var(--color-background);
  border: 2px solid var(--ink);
}
.theme-depth .menu-item-name {
  margin: 2px 0 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.5;
}
.theme-depth .menu-item-desc {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--m-muted);
  flex: 1;
}
.theme-depth .menu-item-right {
  align-items: stretch;
}
.theme-depth .price-container {
  align-items: flex-start;
}
.theme-depth .menu-item-price,
.theme-depth .discount-price {
  font-family: var(--m-display);
  font-weight: 400;
  font-size: 19px;
}
.theme-depth .order-controls {
  justify-content: space-between;
  width: 100%;
}
.theme-depth .menu-item .add-to-order,
.theme-depth .menu-item .remove-from-order {
  border: 2.5px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  border-radius: 12px;
  color: var(--on-card);
}
.theme-depth .menu-item .add-to-order {
  color: var(--color-background);
}

/* menu-engine's `.social-icons a {color: inherit}` outranks `.chunk`, which
   painted the icons in the card colour: invisible. */
.theme-depth .social-icons a {
  border-radius: 14px;
  color: var(--on-card);
  font-size: 18px;
}
.theme-depth .nr-open {
  background: var(--card);
  color: var(--on-card);
  border: 2.5px solid var(--ink);
  box-shadow: 0 7px 0 var(--ink);
}
.theme-depth .nr-open:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 var(--ink);
}
.theme-depth .nr-sheet {
  border: 3px solid var(--ink);
}
.theme-depth .language-switcher .lang-btn {
  border: 2px solid var(--ink);
  background: var(--card);
  color: var(--on-card);
}
.theme-depth .language-switcher .lang-btn.active {
  background: var(--color-primary);
  color: var(--color-background);
}
.theme-depth #cart-button {
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}
.theme-depth .modal-content,
.theme-depth .success-content {
  border: 3px solid var(--ink);
}
.theme-depth .menu-footer {
  text-align: center;
  font-size: 12px;
  line-height: 1.9;
  color: color-mix(in srgb, var(--color-secondary) 75%, transparent);
}
.theme-depth .menu-footer p {
  margin: 0;
}

.theme-depth .menu-item .discount-badge {
  align-self: flex-start;
}
.theme-depth .orb {
  background: radial-gradient(circle at 35% 30%, #ffffff 0 10%, var(--color-primary) 45%, color-mix(in srgb, var(--color-primary) 45%, black) 100%);
}
