.seitu-nutrition-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .3s ease;
}

.seitu-nutrition-overlay.is-visible { opacity: 1; }

.seitu-nutrition-dialog {
  position: fixed;
  inset: 0;
  z-index: 100002;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.seitu-nutrition-dialog.is-visible { opacity: 1; }

.seitu-nutrition-panel {
  position: relative;
  box-sizing: border-box;
  width: min(var(--seitu-popup-width, 760px), calc(100vw - 30px));
  max-height: calc(100dvh - 30px);
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  color: #111;
  pointer-events: auto;
  box-shadow: none;
}

.seitu-nutrition-scroll {
  box-sizing: border-box;
  max-height: calc(100dvh - 74px);
  overflow: auto;
}

.seitu-nutrition-inner {
  box-sizing: border-box;
  padding: 20px;
}

.seitu-nutrition-content {
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.seitu-nutrition-content p { margin: 16px 0 0; }
.seitu-nutrition-content img { display: block; max-width: 100%; height: auto; }

.seitu-nutrition-close {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.seitu-nutrition-close svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; }
body.seitu-nutrition-open { overflow: hidden; }

@media (max-width: 600px) {
  .seitu-nutrition-panel { padding: 14px; }
  .seitu-nutrition-scroll { max-height: calc(100dvh - 58px); }
  .seitu-nutrition-inner { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .seitu-nutrition-overlay, .seitu-nutrition-dialog { transition: none; }
}
