.marketplace-checkout {
  background: #0b4a35 !important;
  border: 1px solid #0b4a35 !important;
  color: #fff !important;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.marketplace-checkout:hover,
.marketplace-checkout:focus-visible {
  background: #073828 !important;
  border-color: #073828 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(7, 56, 40, 0.24) !important;
  transform: translateY(-1px);
}

.marketplace-checkout:active {
  background: #052f22 !important;
  border-color: #052f22 !important;
  color: #fff !important;
  transform: translateY(0);
}

.marketplace-checkout:disabled {
  background: #657a71 !important;
  border-color: #657a71 !important;
  color: #fff !important;
  cursor: wait;
  opacity: 0.8;
  transform: none;
}

/* Permite que a página Premium cresça quando houver pagamentos e comprovantes. */
body.v15-onepage.v15-premium-page-body {
  min-height: 100vh !important;
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.v15-onepage.v15-premium-page-body .v15-main {
  min-height: calc(100vh - 98px) !important;
  height: auto !important;
  overflow: visible !important;
}

.v15-marketplace-extras {
  align-items: start !important;
}

.v15-marketplace-extras > details {
  align-self: start !important;
  min-height: 0 !important;
  height: auto !important;
}

.v15-marketplace-extras .marketplace-orders {
  max-height: min(56vh, 560px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.marketplace-order__expiry {
  display: block;
  margin-top: 5px;
  color: #9a6814;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.marketplace-queue-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e5ca78;
  border-radius: 11px;
  background: #fff7dc;
  color: #6e510d;
}

.marketplace-queue-notice > span {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #0b5a40;
  color: #fff;
  font-weight: 900;
}

.marketplace-queue-notice b,
.marketplace-queue-notice small {
  display: block;
}

.marketplace-queue-notice b {
  color: #173d31;
  font-size: 11px;
}

.marketplace-queue-notice small {
  margin-top: 2px;
  color: #715c2b;
  font-size: 9.5px;
  line-height: 1.4;
}

.marketplace-badge.expired {
  background: #ece8df !important;
  color: #6e675c !important;
}

.v15-compact-footer {
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  clear: both;
  background: #f8f4eb;
}

/* Proteção visual da AURA na página Premium. */
#cabook-aura.aura-site {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 150 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  pointer-events: none;
}

#cabook-aura .aura-launch {
  position: relative !important;
  display: block !important;
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
  max-width: 82px !important;
  max-height: 82px !important;
  padding: 2px !important;
  border-radius: 50% !important;
  overflow: visible !important;
  pointer-events: auto;
}

#cabook-aura .aura-launch img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

#cabook-aura .aura-chat {
  pointer-events: auto;
}

@media (max-width: 780px) {
  #cabook-aura.aura-site {
    right: 12px !important;
    bottom: 12px !important;
  }

  #cabook-aura .aura-launch {
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    min-height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }

  .v15-marketplace-extras .marketplace-orders {
    max-height: 62vh;
  }
}

.marketplace-cabookpix-v10 {
  display: grid;
  grid-template-columns: minmax(145px, 190px) 1fr;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(184, 132, 28, 0.34);
  border-radius: 17px;
  background:
    radial-gradient(circle at 96% 6%, rgba(223, 178, 70, 0.2), transparent 35%),
    linear-gradient(145deg, #fffdf7, #f7efdc);
  box-shadow: 0 16px 34px rgba(19, 59, 45, 0.12);
}

.marketplace-cabookpix-v10[hidden] {
  display: none !important;
}

.marketplace-cabookpix-v10__qr {
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #dbe3df, 0 10px 22px rgba(11, 79, 60, 0.12);
}

.marketplace-cabookpix-v10__qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.marketplace-cabookpix-v10__content {
  min-width: 0;
}

.marketplace-cabookpix-v10__badge {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #d3a23e;
  border-radius: 999px;
  color: #875a0c;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.marketplace-cabookpix-v10 h3 {
  margin: 7px 0 4px;
  color: #0b4f3c;
  font: 700 20px/1.1 Georgia, "Times New Roman", serif;
}

.marketplace-cabookpix-v10 p {
  margin: 0;
  color: #607069;
  font-size: 10px;
  line-height: 1.45;
}

.marketplace-cabookpix-v10 dl {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

.marketplace-cabookpix-v10 dl div {
  padding: 7px 9px;
  border: 1px solid rgba(11, 79, 60, 0.13);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.74);
}

.marketplace-cabookpix-v10 dt {
  color: #708078;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.marketplace-cabookpix-v10 dd {
  margin: 2px 0 0;
  color: #123d31;
  font-size: 10px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.marketplace-cabookpix-v10__content > small {
  display: block;
  color: #775d22;
  font-size: 9px;
  line-height: 1.4;
}

@media (max-width: 560px) {
  .marketplace-cabookpix-v10 {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .marketplace-cabookpix-v10__qr {
    width: min(100%, 250px);
  }

  .marketplace-cabookpix-v10__content {
    width: 100%;
    text-align: center;
  }

  .marketplace-cabookpix-v10 dl {
    text-align: left;
  }
}
