/* Fælles Indbydelser-agtig pris-UI for alle printvarer */
.eg-pp-panel { margin-top: 12px; }
.eg-pp-banner {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 191, 36, 0.75);
  border-radius: 10px;
  background: rgba(120, 70, 10, 0.28);
  color: #fde68a;
  font-size: 0.95em;
  line-height: 1.45;
}
.eg-pp-banner strong { color: #fef3c7; }
.eg-pp-note { margin: 0 0 12px; font-size: 0.92em; opacity: 0.9; }
.eg-pp-grid { display: grid; gap: 12px; margin-top: 12px; }
.eg-pp-type { padding: 0; overflow: hidden; }
.eg-pp-type-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0; padding: 14px 16px; border: 0; background: transparent; color: inherit; cursor: pointer;
  text-align: left; font: inherit; font-weight: 700;
}
.eg-pp-type-toggle:hover { background: rgba(74, 222, 128, 0.08); }
.eg-pp-type-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-width: 0; }
.eg-pp-missing-note {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.85); background: rgba(120, 70, 10, 0.45);
  color: #fde68a; font-size: 0.86em; font-weight: 700;
}
.eg-pp-missing-note[hidden] { display: none !important; }
.eg-pp-type-toggle .eg-pp-fold-icon { opacity: 0.75; font-weight: 700; }
.eg-pp-type.is-open .eg-pp-fold-icon { transform: rotate(90deg); }
.eg-pp-type-body { display: none; padding: 0 14px 14px; }
.eg-pp-type.is-open .eg-pp-type-body { display: block; }
.eg-pp-type.is-open .eg-pp-missing-note { display: none !important; }
.eg-pp-type.is-missing:not(.is-open) {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.45);
  background: rgba(120, 70, 10, 0.22);
}
.eg-pp-color-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.eg-pp-colors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; }
.eg-pp-colors.eg-pp-colors-one { grid-template-columns: minmax(0, 26rem); }
.eg-pp-col {
  padding: 8px 10px; border: 1px solid rgba(74, 222, 128, 0.28); border-radius: 10px;
  background: rgba(16, 34, 24, 0.45); min-width: 0; overflow: hidden;
}
.eg-pp-col[hidden] { display: none !important; }
.eg-pp-col > strong { display: block; margin: 0 0 8px; font-size: 0.95em; }
.eg-pp-tier-row { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.eg-pp-tier-row label.eg-pp-tier {
  display: grid;
  grid-template-columns: 3.4rem minmax(2.75rem, 1fr) 1.35rem;
  column-gap: 6px;
  align-items: center;
  margin: 0;
  width: 100%;
  font-size: 0.88em;
}
.eg-pp-tier-row .eg-pp-tier-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eg-pp-tier-row .eg-pp-tier-unit { white-space: nowrap; opacity: 0.9; }
.eg-pp-tier-row input {
  width: 100%; min-width: 0; box-sizing: border-box; padding: 6px 8px;
  text-align: right; font-variant-numeric: tabular-nums; font-size: inherit;
}
.eg-pp-tier-row input.is-missing-price {
  border-color: rgba(251, 191, 36, 0.95) !important;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.55);
  background: rgba(120, 70, 10, 0.35);
}
.eg-pp-color-choice { min-width: 110px; margin: 0; }
.eg-pp-color-choice.is-active {
  border-color: #4ade80; box-shadow: 0 0 19px rgba(74, 222, 128, 0.82); background: #1e4a2a;
}
.eg-pp-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.eg-pp-status { margin-top: 10px; min-height: 1.3em; }
@media (max-width: 620px) {
  .eg-pp-colors { grid-template-columns: 1fr; }
}
