:root {
  --prs-burgundy: #760018;
  --prs-border: #eadfda;
  --prs-surface: #fffaf7;
  --prs-text: #202020;
  --prs-muted: #686868;
}

.prs-offer {
  width: 100%;
  margin: 18px 0 0;
  font-family: inherit;
  color: var(--prs-text);
}

.prs-offer__panel[hidden] {
  display: none !important;
}

.prs-offer__box {
  padding: 18px 18px 0;
  border: 1px solid var(--prs-border);
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdfb 0%, var(--prs-surface) 100%);
  box-shadow: 0 6px 22px rgba(71, 35, 24, 0.04);
}

.prs-offer__title {
  margin: 0 0 13px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--prs-text);
}

.prs-offer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0 0 15px;
  list-style: none;
}

.prs-offer__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.prs-offer__item-main {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}

.prs-offer__check {
  display: inline-flex;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--prs-burgundy);
}

.prs-offer__check svg,
.prs-offer__gift svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.prs-offer__label {
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--prs-text);
}

.prs-offer__value {
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--prs-text);
}

.prs-offer__tooltip-wrap {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 1px;
}

.prs-offer__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 1px solid #7e7e7e;
  border-radius: 50%;
  background: transparent;
  color: #5f5f5f;
  font: 700 11px/1 inherit;
  cursor: pointer;
}

.prs-offer__info:hover,
.prs-offer__info:focus-visible {
  border-color: var(--prs-burgundy);
  color: var(--prs-burgundy);
  outline: none;
}

.prs-offer__tooltip {
  position: absolute;
  right: -10px;
  bottom: calc(100% + 10px);
  z-index: 30;
  width: min(330px, 78vw);
  padding: 12px 14px;
  border: 1px solid var(--prs-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 25, 22, 0.16);
  color: #333;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.prs-offer__tooltip::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 100%;
  border: 7px solid transparent;
  border-top-color: #fff;
}

.prs-offer__tooltip-wrap:hover .prs-offer__tooltip,
.prs-offer__tooltip-wrap:focus-within .prs-offer__tooltip,
.prs-offer__tooltip-wrap.is-open .prs-offer__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.prs-offer__total {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -18px;
  padding: 14px 18px;
  border-top: 1px solid var(--prs-border);
  border-radius: 0 0 12px 12px;
  background: rgba(255, 249, 245, 0.72);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.prs-offer__total strong {
  margin: 0 3px;
  color: var(--prs-burgundy);
  font-size: 21px;
}

.prs-offer__gift {
  display: inline-flex;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: var(--prs-burgundy);
}

/* Der Button erhält ausschließlich die im Backend hinterlegten Theme-Klassen. */
.prs-offer__note {
  margin: 10px 0 0;
  color: var(--prs-muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .prs-offer__box {
    padding: 15px 14px 0;
    border-radius: 10px;
  }

  .prs-offer__title {
    font-size: 17px;
  }

  .prs-offer__item {
    gap: 10px;
  }

  .prs-offer__label,
  .prs-offer__value {
    font-size: 13px;
  }

  .prs-offer__total {
    margin: 0 -14px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .prs-offer__total strong {
    font-size: 18px;
  }
}
