/* ════════ ITEM DETAIL PAGE ════════ */

.item-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

/* Image panel — fills the column, never overflows or shows only half. */
.item-img {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #FFF4F4, #FFE8E8);
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item-emoji { font-size: 8rem; }
/* Bigger badge variant used on the item-detail hero image.
   Inherits the per-badge `.bdg--{code}` palette from shared.css — only
   sizing is overridden here. */
.item-bdg {
  position: absolute; top: 1rem; right: 1rem;
  padding: .45rem 1rem;
  border-radius: 999px;
  font-family: 'Cairo', sans-serif;
  font-size: .85rem; font-weight: 800; line-height: 1;
  display: inline-flex; align-items: center; gap: .3rem;
}

.item-info { padding-top: 1rem; }
.item-name {
  font-family: 'Cairo', sans-serif;
  font-size: 2rem; font-weight: 900;
  color: var(--ink);
  margin-bottom: .8rem;
}
.item-desc {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.item-price-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.4rem;
}
.item-price {
  font-family: 'Cairo', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  color: var(--red);
}

/* Phone-call CTA button */
.item-order-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red);
  color: #fff;
  padding: .8rem 1.6rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.item-order-btn:hover { background: var(--red-deep); transform: translateY(-2px); }

/* Detail / ingredients / meta rows */
.item-extras { padding-top: 3rem; padding-bottom: 2rem; }
.item-section {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  border: 1.5px solid var(--border);
}
.item-section--gap { margin-top: 2rem; }
.item-section-title { font-size: 1.3rem; font-family: 'Cairo', sans-serif; font-weight: 800; color: var(--ink); }
.item-section-body { color: var(--muted); line-height: 1.8; margin-top: .8rem; }

.item-meta-row {
  margin-top: 2rem;
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.item-meta-chip {
  background: var(--warm);
  color: var(--muted);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

/* Related items — yellow band, matches the home "Our tastiest meals" strip */
.item-related-bg { background: var(--gold); padding: 4rem 0 4.5rem; }
.item-related { padding-top: 0; padding-bottom: 0; }
.item-related-head { margin-bottom: 2rem; }
.item-related-bg .sec-tag {
  background: rgba(255,255,255,.85);
  color: var(--ink);
  border-color: rgba(0,0,0,.08);
}
.item-related-bg .sec-title { color: var(--ink); }
.item-related-bg .sec-title em { color: var(--red); }

/* Back link */
.item-back-wrap { padding-top: 1rem; }
.item-back-link {
  color: var(--red);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
}
.item-back-link:hover { color: var(--red-deep); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media(max-width: 768px) {
  .item-hero { grid-template-columns: 1fr; padding: 2rem 1.3rem; gap: 2rem; }
  .item-img  { min-height: 280px; aspect-ratio: 4 / 3; }
  .item-extras { padding: 2rem 1.3rem; }
}
