.egb-gb-offer {
  --egb-offer-accent: #d19a4f;
  --egb-offer-accent-dark: #8e5a1e;
  --egb-offer-border: #dfd3c5;
  --egb-offer-ink: #171717;
  --egb-offer-muted: #66615c;
  background: #fffdfa;
  border: 1px solid var(--egb-offer-border);
  border-left: 4px solid var(--egb-offer-accent);
  border-radius: 6px;
  box-sizing: border-box;
  color: var(--egb-offer-ink);
  font-family: inherit;
  letter-spacing: 0;
  margin: 0;
  padding: 20px;
  width: 100%;
}

.egb-gb-offer *,
.egb-gb-offer *::before,
.egb-gb-offer *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.egb-gb-offer__header,
.egb-gb-offer__body {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.egb-gb-offer__eyebrow {
  color: var(--egb-offer-accent-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.egb-gb-offer__title {
  color: var(--egb-offer-ink) !important;
  font-size: 22px !important;
  font-weight: 760 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

.egb-gb-offer__message,
.egb-gb-offer__compact-message,
.egb-gb-offer__compact-notice span {
  color: var(--egb-offer-muted);
  font-size: 14px;
  line-height: 1.5;
}

.egb-gb-offer__message {
  flex: 1 1 auto;
  min-width: 0;
}

.egb-gb-offer__message p {
  color: var(--egb-offer-ink);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.egb-gb-offer__message small {
  color: var(--egb-offer-muted);
  display: block;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 4px;
}

.egb-gb-offer__progress-wrap {
  border-top: 1px solid #eee7df;
  margin-top: 14px;
  padding-top: 12px;
}

.egb-gb-offer__progress-copy {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.egb-gb-offer__progress-copy strong,
.egb-gb-offer__progress-copy span {
  font-size: 12px;
  line-height: 1.35;
}

.egb-gb-offer__progress-copy strong {
  color: var(--egb-offer-ink);
  font-weight: 750;
}

.egb-gb-offer__progress-copy span {
  color: var(--egb-offer-muted);
  text-align: right;
}

.egb-gb-offer__progress {
  background: #ebe6df;
  border-radius: 4px;
  height: 17px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.egb-gb-offer__progress-fill {
  background: var(--egb-offer-accent);
  display: block;
  height: 100%;
  left: 0;
  max-width: 100%;
  position: absolute;
  top: 0;
}

.egb-gb-offer__progress-value {
  align-items: center;
  color: #2b2116;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  inset: 0;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.egb-gb-offer__price > span {
  color: var(--egb-offer-muted);
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.egb-gb-offer__body {
  border-top: 1px solid #eee7df;
  margin-top: 14px;
  padding-top: 14px;
}

.egb-gb-offer__price {
  align-items: baseline;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 3px 7px;
  min-width: 0;
  text-align: left;
}

.egb-gb-offer__price-column {
  flex: 0 0 auto;
  min-width: 175px;
}

.egb-gb-offer__price strong {
  color: var(--egb-offer-ink);
  display: block;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.15;
}

.egb-gb-offer__price strong span {
  color: inherit;
  display: inline;
  font: inherit;
  margin: 0;
}

.egb-gb-offer__comparison {
  color: var(--egb-offer-muted);
  display: block;
  flex-basis: 100%;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 0;
}

.egb-gb-offer__price-details {
  margin-top: 5px;
  max-width: 280px;
}

.egb-gb-offer .egb-gb-offer__price-details-trigger {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--egb-offer-accent-dark);
  cursor: pointer;
  display: inline-flex;
  font-size: 10px;
  font-weight: 750;
  gap: 5px;
  line-height: 1.35;
  min-height: 0 !important;
  padding: 0 !important;
  text-align: left;
}

.egb-gb-offer__price-details-trigger::after {
  content: "+";
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.egb-gb-offer__price-details.is-open > .egb-gb-offer__price-details-trigger::after {
  content: "−";
}

.egb-gb-offer__price-details-trigger:hover,
.egb-gb-offer__price-details-trigger:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.egb-gb-offer__price-details-trigger:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(209, 154, 79, 0.35);
  outline-offset: 2px;
}

.egb-gb-offer__price-panel {
  border-top: 1px dashed #e3d9ce;
  display: none;
  margin-top: 8px;
  padding-top: 9px;
}

.egb-gb-offer__price-details.is-open > .egb-gb-offer__price-panel {
  display: block;
}

.egb-gb-offer__price-panel-title {
  color: var(--egb-offer-ink);
  display: block;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.35;
  margin-bottom: 6px;
}

.egb-gb-offer__price-panel dl {
  margin: 0;
}

.egb-gb-offer__price-panel dl > div {
  align-items: baseline;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 2px 0;
}

.egb-gb-offer__price-panel dt,
.egb-gb-offer__price-panel dd {
  color: var(--egb-offer-muted);
  font-size: 10px;
  line-height: 1.35;
  margin: 0;
}

.egb-gb-offer__price-panel dd {
  color: var(--egb-offer-ink);
  flex: 0 0 auto;
  font-weight: 700;
  text-align: right;
}

.egb-gb-offer__price-panel dd span {
  color: inherit;
  font: inherit;
}

.egb-gb-offer__price-panel .egb-gb-offer__price-panel-total,
.egb-gb-offer__price-panel .egb-gb-offer__price-panel-result {
  border-top: 1px solid #eee7df;
  margin-top: 4px;
  padding-top: 6px;
}

.egb-gb-offer__price-panel .egb-gb-offer__price-panel-result dt,
.egb-gb-offer__price-panel .egb-gb-offer__price-panel-result dd {
  color: var(--egb-offer-ink);
  font-weight: 760;
}

.egb-gb-offer__price-panel p {
  color: var(--egb-offer-muted);
  font-size: 9px;
  line-height: 1.4;
  margin: 7px 0 0;
}

.egb-gb-offer__actions {
  flex: 0 0 auto;
}

.egb-gb-offer .egb-gb-offer__button,
.egb-gb-offer button.egb-gb-offer__button {
  align-items: center !important;
  appearance: none;
  background: var(--egb-offer-accent) !important;
  border: 1px solid var(--egb-offer-accent) !important;
  border-radius: 5px !important;
  box-shadow: none !important;
  color: #18120c !important;
  cursor: pointer;
  display: inline-flex !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 750 !important;
  justify-content: center;
  line-height: 1.2 !important;
  min-height: 44px;
  padding: 11px 18px !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  transition: background-color 150ms ease, border-color 150ms ease;
  white-space: nowrap;
}

.egb-gb-offer .egb-gb-offer__button:hover,
.egb-gb-offer button.egb-gb-offer__button:hover {
  background: #bd853b !important;
  border-color: #bd853b !important;
  color: #18120c !important;
}

.egb-gb-offer .egb-gb-offer__button:focus-visible {
  outline: 3px solid rgba(209, 154, 79, 0.35);
  outline-offset: 2px;
}

.egb-gb-offer .egb-gb-offer__button--secondary {
  background: #ffffff !important;
  border-color: var(--egb-offer-border) !important;
  color: var(--egb-offer-ink) !important;
}

.egb-gb-offer .egb-gb-offer__button[disabled] {
  cursor: default;
  opacity: 0.65;
}

.egb-gb-offer[data-egb-mounted="1"] .egb-gb-offer__button[aria-busy="true"] {
  cursor: wait;
}

.egb-gb-offer__notice {
  background: #f4f7f2;
  border-left: 3px solid #4a8a50;
  color: #234329;
  font-size: 13px;
  margin: 14px 0 0;
  padding: 9px 11px;
}

.egb-gb-offer__notice.is-error {
  background: #fff3f2;
  border-left-color: #b9382f;
  color: #7a201a;
}

.egb-gb-offer__operator-note {
  border-top: 1px dashed var(--egb-offer-border);
  color: var(--egb-offer-muted);
  font-size: 11px;
  margin-top: 15px;
  padding-top: 10px;
}

.egb-gb-offer__operator-note a {
  color: var(--egb-offer-accent-dark);
  margin-left: 8px;
}

.egb-gb-offer--compact {
  border-left-width: 1px;
  border-top: 4px solid var(--egb-offer-accent);
  margin: 0 0 22px;
  padding: 18px;
}

.egb-gb-offer__compact-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.egb-gb-offer--compact .egb-gb-offer__eyebrow {
  margin: 0;
}

.egb-gb-offer--compact .egb-gb-offer__title {
  font-size: 19px !important;
  margin-top: 8px !important;
}

.egb-gb-offer--compact .egb-gb-offer__price {
  align-items: baseline;
  border-top: 1px solid #e8e0d7;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
  min-width: 0;
  padding-top: 10px;
  text-align: left;
  width: 100%;
}

.egb-gb-offer--compact .egb-gb-offer__price strong {
  font-size: 15px;
}

.egb-gb-offer--compact .egb-gb-offer__progress-wrap {
  border-top: 0;
  margin-top: 12px;
  padding-top: 0;
}

.egb-gb-offer--compact .egb-gb-offer__progress-copy {
  align-items: start;
  flex-direction: column;
  gap: 3px;
}

.egb-gb-offer--compact .egb-gb-offer__progress-copy span {
  text-align: left;
}

.egb-gb-offer__compact-message {
  margin: 14px 0 0;
}

.egb-gb-offer__compact-notice {
  background: #f6f1e9;
  border-left: 3px solid var(--egb-offer-accent);
  margin-top: 13px;
  padding: 9px 10px;
}

.egb-gb-offer__compact-notice strong {
  color: var(--egb-offer-ink);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 2px;
}

.egb-gb-offer__compact-notice span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.egb-gb-offer--compact .egb-gb-offer__actions {
  margin-top: 15px;
  width: 100%;
}

.egb-gb-offer--compact .egb-gb-offer__button,
.egb-gb-offer--compact button.egb-gb-offer__button {
  width: 100%;
}

.egb-gb-offer__compact-note {
  color: var(--egb-offer-muted);
  font-size: 10px;
  line-height: 1.4;
  margin: 5px 0 0;
  text-align: left;
}

.egb-gb-offer__participants {
  border-top: 1px solid #eee7df;
  margin-top: 14px;
  padding-top: 12px;
}

.egb-gb-offer__participants > summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  list-style: none;
}

.egb-gb-offer__participants > summary::-webkit-details-marker {
  display: none;
}

.egb-gb-offer__participants-label {
  min-width: 0;
}

.egb-gb-offer__participants-label strong,
.egb-gb-offer__participants-label span {
  display: block;
}

.egb-gb-offer__participants-label strong {
  color: var(--egb-offer-ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.35;
}

.egb-gb-offer__participants-label span {
  color: var(--egb-offer-muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 1px;
}

.egb-gb-offer__participant-preview {
  align-items: center;
  display: flex;
  padding-left: 7px;
}

.egb-gb-offer .egb-gb-offer__participant-avatar,
.egb-gb-offer__participant-more {
  align-items: center;
  background: #efe7dc;
  border: 2px solid #fffdfa;
  border-radius: 50% !important;
  color: #5f4a31;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  line-height: 1;
  object-fit: cover;
  overflow: hidden;
  width: 30px;
}

.egb-gb-offer__participant-avatar--preview,
.egb-gb-offer__participant-more {
  height: 27px;
  margin-left: -7px;
  width: 27px;
}

.egb-gb-offer__participants-toggle {
  color: var(--egb-offer-accent-dark);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
}

.egb-gb-offer__participants-toggle--close,
.egb-gb-offer__participants[open] .egb-gb-offer__participants-toggle--open {
  display: none;
}

.egb-gb-offer__participants[open] .egb-gb-offer__participants-toggle--close {
  display: inline;
}

.egb-gb-offer__participant-list {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed #e7ded4;
}

.egb-gb-offer__participant-list li {
  align-items: center;
  color: var(--egb-offer-ink);
  display: flex;
  font-size: 12px;
  gap: 8px;
  line-height: 1.35;
  min-width: 0;
}

.egb-gb-offer__participant-list li > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.egb-gb-offer__participant-list .egb-gb-offer__participant-list-more {
  color: var(--egb-offer-muted);
  font-size: 11px;
  padding-left: 38px;
}

.egb-gb-offer--modern_completed {
  --egb-offer-accent: #3e9b5c;
  --egb-offer-accent-dark: #26713f;
  --egb-offer-border: #b9d8c4;
  background: #fbfefc;
}

.egb-gb-offer--modern_archived,
.egb-gb-offer--legacy_history {
  --egb-offer-accent: #85817d;
  --egb-offer-accent-dark: #625f5c;
  --egb-offer-border: #d8d4cf;
  background: #fcfcfb;
}

@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .egb-gb-offer__price-details {
    position: relative;
  }

  .egb-gb-offer__price-details.is-open {
    z-index: 20;
  }

  .egb-gb-offer__price-panel {
    background: #fffdfa;
    border: 1px solid var(--egb-offer-border);
    border-radius: 5px;
    box-shadow: 0 12px 28px rgba(48, 37, 25, 0.14);
    display: none;
    margin: 0;
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 7px);
    width: 280px;
    z-index: 20;
  }

}

@media (max-width: 767px) {
  .egb-gb-offer {
    padding: 18px;
  }

  .egb-gb-offer__header,
  .egb-gb-offer__body,
  .egb-gb-offer__progress-copy,
  .egb-gb-offer__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .egb-gb-offer__progress-copy span {
    text-align: left;
  }

  .egb-gb-offer__price {
    min-width: 0;
    text-align: left;
  }

  .egb-gb-offer__price-column,
  .egb-gb-offer__price-details {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .egb-gb-offer__participants > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .egb-gb-offer__participant-preview {
    grid-column: 2;
    grid-row: 1;
  }

  .egb-gb-offer__participants-toggle {
    grid-column: 1 / -1;
  }

  .egb-gb-offer__participant-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .egb-gb-offer__actions,
  .egb-gb-offer .egb-gb-offer__button,
  .egb-gb-offer button.egb-gb-offer__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .egb-gb-offer .egb-gb-offer__button {
    transition: none;
  }
}
