/* ===== ITEM DETAIL PAGE STYLES ===== */

/* BREADCRUMB */
.breadcrumb {
  background: var(--dark);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.breadcrumb .container {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,.25); }
.breadcrumb span:last-child { color: rgba(255,255,255,.7); }

/* ITEM HERO */
.item-hero {
  padding: 72px 24px 80px;
  color: var(--white);
}
.xlb-bg   { background: linear-gradient(135deg, #1A0804 0%, #4A1208 50%, #1A0804 100%); }
.dim-bg   { background: linear-gradient(135deg, #081A08 0%, #1A4A12 50%, #081A08 100%); }
.wok-bg   { background: linear-gradient(135deg, #08081A 0%, #121A4A 50%, #08081A 100%); }
.app-bg   { background: linear-gradient(135deg, #1A1008 0%, #4A3010 50%, #1A1008 100%); }
.drink-bg { background: linear-gradient(135deg, #180820 0%, #4A1060 50%, #180820 100%); }
.noodle-bg{ background: linear-gradient(135deg, #0A1A0A 0%, #1A4A2A 50%, #0A1A0A 100%); }

.item-hero-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
}
.item-emoji { font-size: 6rem; flex-shrink: 0; }
.item-hero-text { flex: 1; }
.item-category-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.item-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 16px; line-height: 1.15;
}
.item-subtitle {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 24px; max-width: 620px;
}
.item-meta-row {
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 28px;
}
.item-price-badge {
  background: var(--red);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 900;
  padding: 8px 20px; border-radius: 8px;
}
.item-price-badge small {
  font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 400;
  opacity: .8;
}
.item-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ITEM BODY LAYOUT */
.item-body { padding: 72px 24px; background: var(--white); }
.item-layout {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 320px; gap: 64px;
}
.item-section { margin-bottom: 56px; }
.item-section:last-child { margin-bottom: 0; }
.item-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 900;
  margin-bottom: 20px; color: var(--dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-gray);
}
.item-section p {
  color: var(--gray); line-height: 1.9;
  margin-bottom: 16px; font-size: .975rem;
}

/* INGREDIENT GRID */
.ingredient-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
}
.ingredient-card {
  background: var(--light-gray);
  border-radius: 12px; padding: 20px;
  border: 1px solid rgba(0,0,0,.06);
}
.ingredient-icon { font-size: 1.8rem; margin-bottom: 10px; }
.ingredient-name { font-weight: 700; font-size: .925rem; margin-bottom: 6px; color: var(--dark); }
.ingredient-desc { font-size: .825rem; color: var(--gray); line-height: 1.6; }

/* PROCESS STEPS */
.process-steps { display: flex; flex-direction: column; gap: 28px; }
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900;
  color: var(--red); opacity: .25;
  flex-shrink: 0; line-height: 1; min-width: 48px;
}
.step-content h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: 8px; }
.step-content p { color: var(--gray); line-height: 1.8; font-size: .925rem; margin: 0; }

/* EATING GUIDE */
.eating-guide { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.eating-step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--light-gray); padding: 16px 20px; border-radius: 10px;
}
.eating-num {
  background: var(--red); color: var(--white);
  font-weight: 700; font-size: .85rem;
  width: 28px; height: 28px;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.eating-step p { margin: 0; font-size: .925rem; color: var(--gray); line-height: 1.7; }
.eating-warning {
  background: #FEF3C7; border: 1px solid #F59E0B;
  border-radius: 10px; padding: 14px 18px;
  font-size: .875rem; color: #92400E; line-height: 1.7;
}

/* PAIRINGS */
.pairing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 14px;
}
.pairing-card {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 20px 16px; background: var(--light-gray);
  border-radius: 12px; border: 1px solid rgba(0,0,0,.06);
  text-decoration: none; transition: all .2s;
}
.pairing-card:hover { background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.1); transform: translateY(-2px); }
.pairing-emoji { font-size: 2rem; margin-bottom: 8px; }
.pairing-name { font-weight: 700; font-size: .875rem; color: var(--dark); margin-bottom: 6px; }
.pairing-reason { font-size: .775rem; color: var(--gray); line-height: 1.5; }

/* SIDEBAR */
.item-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--light-gray);
  border-radius: 14px; padding: 24px;
  border: 1px solid rgba(0,0,0,.07);
  position: sticky; top: 88px;
}
.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.sidebar-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .875rem;
}
.sidebar-row:last-child { border-bottom: none; }
.sidebar-row span { color: var(--gray); }
.sidebar-row strong { color: var(--dark); }
.hh-price { color: var(--red) !important; }
.sidebar-links { list-style: none; }
.sidebar-links li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  color: var(--dark); text-decoration: none;
  font-size: .875rem; font-weight: 500;
  transition: color .2s;
}
.sidebar-links a:hover { color: var(--red); }
.sidebar-cta { background: var(--dark); }
.sidebar-cta h3 { color: var(--white); border-color: rgba(255,255,255,.1); }
.sidebar-cta p { color: rgba(255,255,255,.6); font-size: .875rem; line-height: 1.6; }

/* RELATED ITEMS */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px; margin-top: 40px;
}
.related-card {
  text-decoration: none;
  background: var(--white); border-radius: 14px;
  overflow: hidden; border: 1px solid rgba(0,0,0,.07);
  transition: all .2s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.related-img {
  height: 120px; display: flex;
  align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.related-body {
  padding: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.related-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.related-price { font-weight: 700; color: var(--red); font-size: .9rem; }

@media (max-width: 768px) {
  .item-hero-inner { flex-direction: column; text-align: center; }
  .item-emoji { font-size: 4rem; }
  .item-meta-row { justify-content: center; }
  .item-actions { justify-content: center; }
  .item-layout { grid-template-columns: 1fr; }
  .item-sidebar { position: static; }
  .sidebar-card { position: static !important; }
}
