@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@700;800&display=swap');

.vdc-checkout {
  --bg-card: #f9fafb;
  --bg-white: #ffffff;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --border-dark: #4b5563;
  --green: #709111;
  --green-dark: #4d7c0f;
  --badge-red: #ad342d;
  --blue-hero: #3b82f6;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: hidden;
}

.vdc-checkout .promo-hero {
  text-align: center;
  width: 100%;
  max-width: 1457px;
  margin: 0 auto;
  padding: 0;
}

.vdc-checkout .etapa-container.etapaV1 {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  padding: 9px 14px;
  border-radius: 15px;
  background-image: radial-gradient(circle, #ffae00 62%, #ba6700 100%);
  gap: 0;
}

.vdc-checkout .tituloPremiacao {
  margin: 0 0 0.35rem;
  padding: 0;
  color: #fff;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1rem, 4vw, 1.875rem);
  font-weight: 800;
  text-align: center;
  text-transform: none;
  line-height: 1.2;
}

.vdc-checkout .bannerSell,
.vdc-checkout .containerImgs {
  width: 100%;
  line-height: 0;
}

.vdc-checkout .containerImgs {
  overflow: hidden;
  border-radius: 4px;
}

.vdc-checkout .containerImgs img {
  width: 100%;
  height: auto;
  display: block;
}

.vdc-checkout .container-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 12px;
}

.vdc-checkout .btn-comprar-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 395px);
  height: 45px;
  margin: 0;
  padding: 0 1.5rem;
  background-image: radial-gradient(circle, #003bc5 0%, #0011a3 100%);
  color: #fff;
  border: none;
  border-radius: 148px;
  cursor: pointer;
  font-family: 'Montserrat', system-ui, sans-serif;
  box-shadow: none;
}

.vdc-checkout .btn-comprar-hero .text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vdc-checkout .btn-comprar-hero:hover {
  background-color: #00153b;
  background-image: none;
}

.vdc-checkout .btn-comprar-hero:hover .text {
  color: #ffae00;
}

.vdc-checkout .promo-legal {
  font-size: 0.62rem;
  color: #fff;
  line-height: 1.45;
  padding: 0.5rem 0 1rem;
  margin: 0 auto;
  text-align: center;
}

.vdc-checkout img { max-width: 100%; height: auto; display: block; }
.vdc-checkout a { color: inherit; text-decoration: none; }

.vdc-checkout .checkout-card {
  width: 100%; max-width: 658px; margin: 0.5rem auto 0;
  background: var(--bg-card); border-radius: 12px 12px 0 0;
  border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); overflow: visible;
}

.vdc-checkout--standalone .checkout-card {
  border-radius: 12px;
  margin-bottom: 0;
}

.vdc-checkout .checkout-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem; min-height: 60px; background: var(--bg-card);
  flex-wrap: wrap; gap: 0.5rem;
}
.vdc-checkout .header-logo img { max-width: 80px; max-height: 80px; }
.vdc-checkout .btn-minhas-compras {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem;
  background: var(--bg-white); border: 1px solid var(--border-dark); border-radius: 10px;
  font-size: 0.875rem; font-weight: 600; cursor: pointer; min-height: 44px;
}
.vdc-checkout .btn-minhas-compras svg { width: 20px; height: 20px; stroke: var(--text-dark); fill: none; stroke-width: 1.67; }

.vdc-checkout .prize-info { margin: 0.5rem 0.75rem; padding: 0.75rem; background: var(--bg-white); border-radius: 8px; }
.vdc-checkout .prize-title-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 0.5rem; border-bottom: 1px solid #d1d5db; margin-bottom: 0.5rem; flex-wrap: wrap; }
.vdc-checkout .prize-title { font-weight: 600; font-size: 1rem; }
.vdc-checkout .prize-date { font-size: 0.875rem; color: var(--text-muted); }
.vdc-checkout .prize-price-row { display: flex; justify-content: flex-end; align-items: center; }
.vdc-checkout .prize-price-badge { background: #d1d5db; padding: 0.25rem 0.5rem; border-radius: 4px; font-weight: 600; font-size: 0.875rem; margin-left: 0.25rem; }

.vdc-checkout .combos-section { padding: 1.25rem; background: var(--bg-white); }
.vdc-checkout .combos-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 1.125rem; margin-bottom: 1.125rem; }
.vdc-checkout .combos-title svg { width: 21px; height: 18px; fill: #374151; }
.vdc-checkout .combos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.vdc-checkout .combo-card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  padding: 0.75rem 0.625rem; background: var(--bg-white); border: 2px solid var(--border-dark);
  border-radius: 10px; cursor: pointer; transition: transform 0.2s, border-color 0.2s; text-align: left; font-family: inherit;
}
.vdc-checkout .combo-card:hover { transform: scale(1.02); }
.vdc-checkout .combo-card.selected { background: var(--green); border-color: var(--green); color: var(--bg-white); }
.vdc-checkout .combo-card.selected .combo-numbers, .vdc-checkout .combo-card.selected .combo-bonus,
.vdc-checkout .combo-card.selected .combo-price-label, .vdc-checkout .combo-card.selected .combo-price-value { color: var(--bg-white); }
.vdc-checkout .combo-badge {
  display: none; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--badge-red); color: #f3f4f6; font-size: 0.75rem; font-weight: 600;
  padding: 0 1rem; height: 20px; align-items: center; border-radius: 2px;
  clip-path: polygon(100% 0, 92% 50%, 100% 100%, 0 100%, 8% 50%, 0 0); white-space: nowrap;
}
.vdc-checkout .combo-card.bestseller .combo-badge { display: flex; }
.vdc-checkout .combo-numbers { font-weight: 600; font-size: 1.125rem; }
.vdc-checkout .combo-numbers span { font-size: 0.875rem; }
.vdc-checkout .combo-bonus { display: flex; align-items: center; gap: 0.5rem; font-size: 0.625rem; color: var(--text-muted); }
.vdc-checkout .combo-bonus-icon { width: 16px; height: 16px; background: #38ab0f; border-radius: 2px; flex-shrink: 0; }
.vdc-checkout .combo-price { display: flex; align-items: baseline; gap: 0.25rem; margin-top: 0.25rem; }
.vdc-checkout .combo-price-value { font-weight: 700; font-size: 1rem; }

.vdc-checkout .raspadinha-section { padding: 1.25rem; background: var(--green); color: var(--bg-white); }
.vdc-checkout .raspadinha-section h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.vdc-checkout .raspadinha-section > p { font-size: 0.8rem; opacity: 0.9; margin-bottom: 1rem; }
.vdc-checkout .raspadinha-card { background: rgba(255, 255, 255, 0.15); border-radius: 10px; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
.vdc-checkout .raspadinha-qty { font-size: 1.5rem; font-weight: 700; text-align: right; }

.vdc-checkout .client-area { padding: 1.25rem; background: var(--bg-white); }
.vdc-checkout .client-area h3 { font-size: 0.875rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.75rem; }
.vdc-checkout .client-link { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }

.vdc-checkout .checkout-footer { padding: 1.5rem 1.25rem 1rem; background: var(--bg-white); text-align: center; }
.vdc-checkout .footer-logos-row { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.vdc-checkout .footer-logos-row img { max-height: 40px; object-fit: contain; }
.vdc-checkout .footer-legal { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.vdc-checkout .footer-links a { color: #3b82f6; text-decoration: underline; font-size: 0.8rem; margin: 0 0.5rem; }

.vdc-checkout .buy-bar--widget {
  position: sticky; bottom: 0; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 0.75rem 1rem; z-index: 10;
}
.vdc-checkout .buy-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.vdc-checkout .buy-bar-info .numbers { font-weight: 700; font-size: 0.95rem; }
.vdc-checkout .buy-bar-info .price { font-weight: 700; font-size: 1.1rem; color: var(--green-dark); }
.vdc-checkout .btn-comprar {
  background: var(--green); color: var(--bg-white); border: none; border-radius: 10px;
  padding: 0.875rem 2rem; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: inherit;
}

@media (max-width: 767px) {
  .vdc-checkout .checkout-card {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-inline: 0;
  }
  .vdc-checkout .checkout-toolbar {
    justify-content: center;
    padding: 0.75rem 1rem;
  }
  .vdc-checkout .checkout-toolbar__actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .vdc-checkout .prize-title-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }
  .vdc-checkout .prize-price-row {
    justify-content: center;
  }
  .vdc-checkout .combos-grid { gap: 0.75rem; }
  .vdc-checkout .raspadinha-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .vdc-checkout .raspadinha-qty { text-align: center; }
  .vdc-checkout .buy-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .vdc-checkout .btn-comprar {
    width: min(100%, 320px);
  }
  .vdc-checkout .promo-legal {
    padding-inline: 1rem;
    max-width: 36rem;
  }
}

.page-checkout-standalone {
  overflow-x: hidden;
}

.checkout-standalone-page {
  width: min(100% - 1.5rem, 658px);
  max-width: 658px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
}