/* Public reservation states. The approved theme remains in control of the main page layout. */
.rbd-status-upcoming {
  background: rgba(139, 92, 246, .12);
  border-color: rgba(196, 167, 255, .3);
  color: var(--rbd-purple-light, #c4a7ff);
}

.rbd-status-reserved {
  background: rgba(245, 158, 11, .11);
  border-color: rgba(245, 158, 11, .3);
  color: #fcd34d;
}

.rbd-status-preparing {
  background: rgba(148, 163, 184, .1);
  border-color: rgba(148, 163, 184, .22);
  color: #cbd5e1;
}

.rbd-reservation-panel {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--rbd-line, rgba(255,255,255,.1));
  border-radius: 10px;
  background: #090f19;
}

.rbd-reservation-panel.is-owned {
  border-color: rgba(134, 239, 172, .3);
  background: rgba(22, 101, 52, .1);
}

.rbd-reservation-panel.is-unavailable {
  border-color: rgba(245, 158, 11, .26);
  background: rgba(120, 53, 15, .08);
}

.rbd-reservation-kicker {
  display: block;
  color: var(--rbd-purple-light, #c4a7ff);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.rbd-reservation-panel > strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;
}

.rbd-reservation-countdown {
  margin-top: 14px;
  color: var(--rbd-purple-light, #c4a7ff);
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.rbd-reservation-panel p {
  margin-top: 11px !important;
  color: var(--rbd-muted, rgba(226,232,240,.7));
  font-size: 12px;
  line-height: 1.55;
  font-weight: 650;
}

.rbd-reservation-panel .rbd-button {
  margin-top: 16px;
}

.rbd-unlock-note.is-error {
  color: #fca5a5;
}

.rbd-unlock-note.is-success {
  color: #86efac;
}

.rbd-public-error {
  margin-top: 18px;
}

.rbd-drop-card[data-state="reserved"] .rbd-drop-image img {
  opacity: .78;
}

@media (max-width: 640px) {
  .rbd-reservation-panel .rbd-button {
    width: 100%;
  }
}

/* Clear public drop price panel: price first, £0-markup promise underneath. */
.rbd-drop-card .rbd-price-row.rbd-price-highlight {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: stretch !important;
  margin-top: 24px !important;
  overflow: hidden;
  border: 1px solid rgba(196, 167, 255, .28);
  border-left: 4px solid var(--rbd-purple, #8b5cf6);
  border-radius: 10px;
  background: #090f19;
}

.rbd-drop-card .rbd-price-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 17px 18px 18px;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.rbd-drop-card .rbd-price-label {
  display: block;
  margin: 0 0 7px;
  color: var(--rbd-purple-light, #c4a7ff);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rbd-drop-card .rbd-price-value {
  display: block;
  color: #fff !important;
  font-size: clamp(34px, 2.6vw, 42px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  white-space: nowrap;
}

.rbd-drop-card .rbd-price-value .woocommerce-Price-amount,
.rbd-drop-card .rbd-price-value bdi {
  display: inline-flex !important;
  align-items: baseline !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  white-space: nowrap !important;
}

.rbd-drop-card .rbd-price-value .woocommerce-Price-currencySymbol {
  display: inline !important;
  flex: 0 0 auto;
  margin: 0 .02em 0 0 !important;
  color: inherit !important;
  font-size: 1em !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  vertical-align: baseline !important;
}

.rbd-drop-card .rbd-price-promise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 17px 19px;
  background: rgba(139, 92, 246, .055);
}

.rbd-drop-card .rbd-price-promise strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
}

.rbd-drop-card .rbd-price-promise span {
  display: block;
  margin-top: 5px;
  color: var(--rbd-muted, rgba(226, 232, 240, .7));
  font-size: 10.5px;
  line-height: 1.45;
  font-weight: 650;
}

@media (max-width: 760px) {
  .rbd-drop-card .rbd-price-value {
    font-size: clamp(34px, 10vw, 42px) !important;
  }
}

/* Phase 5 reservation success and basket hand-off. */
.rbd-reservation-panel.is-success {
  border-color: rgba(134, 239, 172, .35);
  background: #0a1712;
}

.rbd-reservation-intro {
  max-width: 560px;
}

.rbd-reservation-timer-label {
  display: block;
  margin-top: 6px;
  color: var(--rbd-soft, rgba(226,232,240,.5));
  font-size: 9px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rbd-reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.rbd-reservation-actions .rbd-button {
  margin-top: 0;
}

.rbd-reservation-release {
  display: inline-flex;
  margin-top: 13px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rbd-muted, rgba(226,232,240,.7));
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.rbd-reservation-release:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .rbd-reservation-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* Sold Build Drops archive. */
.rbd-past-has-items .rbd-empty-state {
  display: none !important;
}

.rbd-past-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  justify-content: center;
  gap: 24px;
}

.rbd-past-card {
  overflow: hidden;
  border: 1px solid var(--rbd-line, rgba(255,255,255,.1));
  border-radius: 12px;
  background: var(--rbd-panel, #0f1623);
}

.rbd-past-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #05080d;
}

.rbd-past-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.rbd-past-card-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(8,13,22,.9);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rbd-past-card-body {
  padding: 22px;
}

.rbd-past-card-date {
  display: block;
  color: var(--rbd-soft, rgba(226,232,240,.5));
  font-size: 10px;
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rbd-past-card h3 {
  margin-top: 8px !important;
  color: #fff;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -.025em;
}

.rbd-past-card-price {
  margin-top: 14px;
  color: var(--rbd-purple-light, #c4a7ff);
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.rbd-past-card-price .woocommerce-Price-amount,
.rbd-past-card-price bdi {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.rbd-past-card .rbd-text-link {
  margin-top: 18px;
}

@media (max-width: 640px) {
  .rbd-past-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Build video calls to action on the live drop and the video-value section. */
.rbd-drop-action-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.rbd-drop-action-links .rbd-text-link {
  margin-top: 0;
}

.rbd-build-video-button {
  min-height: 44px;
  padding-inline: 18px;
}

.rbd-fair-video-copy {
  margin-top: 18px !important;
}

.rbd-fair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .rbd-drop-action-links,
  .rbd-fair-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rbd-drop-action-links .rbd-button,
  .rbd-fair-actions .rbd-button {
    width: 100%;
  }
}
