/* ── Coupon code field (Step 3) ── */
#pbbWrap {
  margin-bottom: 36px;
}

.pbb-coupon-wrap {
  margin-top: 4px;
}

.pbb-coupon-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.pbb-coupon-input-wrap {
  flex: 1;
  min-width: 0;
}

.pbb-coupon-row .pbb-btn.pbb-coupon-btn {
  flex-shrink: 0;
  align-self: stretch;
  height: auto;
  padding: 0 18px;
  white-space: nowrap;
  background: var(--pbb-purple);
  color: #fff;
  border: 1.5px solid var(--pbb-purple);
  border-radius: var(--pbb-radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pbb-coupon-row .pbb-btn.pbb-coupon-btn:hover {
  background: var(--pbb-purple-dark);
  border-color: var(--pbb-purple-dark);
}

.pbb-coupon-row .pbb-btn.pbb-coupon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pbb-coupon-msg {
  display: none;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  padding: 8px 12px;
  border-radius: var(--pbb-radius-sm);
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.pbb-coupon-msg.pbb-coupon-err {
  background: #fdecea;
  color: #c62828;
  border-color: #f5c6cb;
}

/* Applied coupon chip */
.pbb-coupon-chip {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 8px 8px 14px;
  background: #e8f5e9;
  border: 1.5px dashed #81c784;
  border-radius: var(--pbb-radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  color: #2e7d32;
  flex-wrap: wrap;
}

.pbb-coupon-chip i {
  flex-shrink: 0;
}

.pbb-coupon-chip-text {
  flex: 1;
  min-width: 0;
}

.pbb-coupon-chip button {
  background: none;
  border: none;
  color: #c62828;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
}

.pbb-coupon-chip button:hover {
  background: rgba(198, 40, 40, 0.1);
}

/* Discount line inside the selection list */
.pbb-sel-disc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: var(--pbb-radius-sm);
  border: 1px dashed #81c784;
}

.pbb-sel-disc span {
  font-weight: 700;
  font-size: 14px;
}

/* Payment modal coupon row uses .pbb-pr — value in green */
.pbb-modal-body .pbb-pr .pbb-prv[style*="#2e7d32"],
.pbb-modal-body .pbb-pr .pbb-prv[style*="2e7d32"] {
  color: #2e7d32 !important;
}

/* Receipt table coupon row */
.pbb-itbl .pbb-it-coupon td {
  color: #2e7d32;
  font-weight: 600;
}

/* Hide the wrap entirely when coupons are disabled in settings */
.pbb-coupon-off .pbb-coupon-wrap {
  display: none !important;
}

/* ── Package mode ── */
.pbb-pkg-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--pbb-purple, #600060) 0%, #8e248e 100%);
  color: #fff;
  border-radius: var(--pbb-radius, 12px);
  box-shadow: 0 6px 18px rgba(96, 0, 96, 0.22);
}

.pbb-pkg-banner-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.pbb-pkg-banner-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.85;
}

.pbb-pkg-banner-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.pbb-pkg-banner-tag,
.pbb-pkg-banner-notice {
  font-size: 12.5px;
  opacity: 0.92;
  line-height: 1.4;
}

.pbb-pkg-banner-notice {
  display: inline-block;
  margin-top: 2px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

.pbb-pkg-banner-price {
  flex-shrink: 0;
  text-align: center;
  background: #fff;
  color: var(--pbb-purple, #600060);
  border-radius: 999px;
  padding: 8px 16px;
  line-height: 1.15;
}

.pbb-pkg-banner-amount {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.pbb-pkg-banner-only {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.75;
}

.pbb-pkg-step-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: var(--pbb-radius-sm, 8px);
  font-size: 13px;
  line-height: 1.45;
  color: #1b5e20;
}

.pbb-pkg-step-note i {
  color: #2e7d32;
  margin-top: 2px;
}

.pbb-sel-item--pkg {
  cursor: default;
}

.pbb-sel-item--pkg .pbb-sel-rm {
  display: none !important;
}

.pbb-sel-item--pkg .pbb-qty {
  pointer-events: none;
  opacity: 0.85;
}

@media (max-width: 500px) {
  .pbb-pkg-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .pbb-pkg-banner-price {
    align-self: center;
  }
}

/* Small screens */
@media (max-width: 500px) {
  .pbb-coupon-row {
    flex-wrap: wrap;
  }
  .pbb-coupon-row .pbb-btn.pbb-coupon-btn {
    width: 100%;
    padding: 10px 18px;
  }
}

/* ── Package 2-column booking layout ── */
.pbb-pkg-mode.pbb-wrap {
  max-width: 1100px;
  width: 100%;
}

.pbb-pkg-mode .pbb-progress {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pbb-book-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 24px;
  align-items: start;
}

.pbb-poster {
  position: sticky;
  top: 20px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pbb-border, #e8e0ea);
  background: #fff;
  box-shadow: 0 10px 30px rgba(96, 0, 96, 0.10);
}

.pbb-poster-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: linear-gradient(135deg, var(--pbb-purple, #600060), #9b2d9b);
}

.pbb-poster-img--ph {
  min-height: 280px;
}

.pbb-poster-meta {
  padding: 14px 16px;
  border-top: 1px solid var(--pbb-border, #e8e0ea);
}

.pbb-poster-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--pbb-border, #e8e0ea);
}

.pbb-poster-line:last-child {
  border-bottom: 0;
}

.pbb-poster-line .k {
  color: var(--pbb-muted, #8a7f8e);
  font-weight: 600;
}

.pbb-poster-line .v {
  font-weight: 700;
  text-align: right;
}

.pbb-poster-line .v.price {
  color: var(--pbb-purple, #600060);
}

.pbb-form-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pbb-hero-card .pbb-hero-tagline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pbb-muted, #8a7f8e);
  margin-bottom: 4px;
}

.pbb-hero-card .pbb-hero-title {
  font-size: 26px;
  line-height: 1.15;
  color: var(--pbb-text, #1a1a1a);
  margin: 0 0 8px;
}

.pbb-hero-card .pbb-hero-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pbb-hero-card .pbb-hero-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--pbb-purple, #600060);
}

.pbb-hero-card .pbb-hero-price small {
  font-size: 13px;
  color: var(--pbb-muted, #8a7f8f);
  font-weight: 600;
}

.pbb-hero-card .pbb-hero-was {
  font-size: 14px;
  font-weight: 600;
  color: var(--pbb-muted, #8a7f8e);
  text-decoration: line-through;
}

.pbb-hero-card .pbb-hero-dates {
  font-size: 13px;
  color: var(--pbb-muted, #8a7f8e);
  font-weight: 600;
  margin-bottom: 10px;
}

.pbb-hero-card .pbb-hero-dates strong {
  color: var(--pbb-text, #1a1a1a);
}

.pbb-hero-card .pbb-hero-desc {
  font-size: 14px;
  color: #5c5162;
  line-height: 1.55;
  margin: 0;
}

/* Included accordion */
.pbb-acc {
  border: 1px solid var(--pbb-border, #e8e0ea);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.pbb-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pbb-purple, #600060);
  background: #fdf2fc;
  user-select: none;
}

.pbb-acc summary::-webkit-details-marker {
  display: none;
}

.pbb-acc .pbb-acc-count {
  background: var(--pbb-purple, #600060);
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: auto;
  margin-right: 8px;
}

.pbb-acc summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: var(--pbb-purple, #600060);
}

.pbb-acc[open] summary::after {
  content: '−';
}

.pbb-acc .pbb-acc-body {
  max-height: 200px;
  overflow-y: auto;
}

.pbb-acc .pbb-acc-svc {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid #f3eef5;
}

.pbb-acc .pbb-acc-svc:last-child {
  border-bottom: 0;
}

.pbb-acc .pbb-acc-svc:nth-child(even) {
  background: #fcfafc;
}

.pbb-acc .pbb-acc-price {
  color: var(--pbb-purple, #600060);
  font-weight: 700;
  white-space: nowrap;
}

.pbb-step-stubs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 760px) {
  .pbb-book-layout {
    grid-template-columns: 1fr;
  }
  .pbb-poster {
    position: static;
  }
  .pbb-poster-img {
    aspect-ratio: 16 / 10;
  }
  .pbb-pkg-mode.pbb-wrap {
    max-width: 540px;
  }
  .pbb-acts {
    flex-direction: column-reverse;
  }
  .pbb-acts .pbb-btn {
    width: 100%;
  }
  .pbb-progress {
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .pbb-ps {
    min-width: 90px;
  }
}
