/* ─── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #222;
  background: #f5f5f5;
}

img { max-width: 100%; height: auto; display: block; }

/* ─── Barra de urgência ──────────────────────────────────────────────────────── */
#urgency-bar {
  background: linear-gradient(90deg, #e53935 0%, #c62828 100%);
  color: #fff;
  padding: 10px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
#urgency-bar strong { font-weight: 800; }
#countdown-timer {
  background: #fff;
  color: #c62828;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 15px;
  min-width: 52px;
  display: inline-block;
  text-align: center;
}

/* ─── Layout principal ───────────────────────────────────────────────────────── */
#oferta-wrap {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

/* ─── Coluna esquerda ────────────────────────────────────────────────────────── */
.oferta-left { display: flex; flex-direction: column; gap: 16px; }

/* ─── Cabeçalho de etapa ─────────────────────────────────────────────────────── */
.step-header {
  background: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #71c358;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── Cards de bundles ───────────────────────────────────────────────────────── */
.bundles-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bundle-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}
.bundle-card:hover { border-color: #71c358; }
.bundle-card.selected {
  border-color: #71c358;
  box-shadow: 0 0 0 3px rgba(113, 195, 88, 0.2);
  background: #f7fff4;
}
.bundle-card input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #71c358;
  flex-shrink: 0;
  margin-top: 2px;
}
.bundle-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}
.bundle-info { flex: 1; }
.bundle-name {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}
.bundle-badge {
  display: inline-block;
  background: #f9974c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bundle-badge.best { background: #e53935; }
.bundle-each {
  font-size: 13px;
  color: #71c358;
  font-weight: 600;
  margin-bottom: 4px;
}
.bundle-prices { display: flex; align-items: center; gap: 8px; }
.bundle-price-current {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}
.bundle-price-old {
  font-size: 15px;
  color: #aaa;
  text-decoration: line-through;
}
.best-seller-tag {
  position: absolute;
  top: -1px;
  right: 16px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ─── Proteção de frete ──────────────────────────────────────────────────────── */
.frete-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.frete-card img { width: 48px; flex-shrink: 0; }
.frete-info { flex: 1; }
.frete-title { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 2px; }
.frete-desc { font-size: 13px; color: #666; }
.frete-toggle {
  width: 44px;
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}
.frete-toggle.on { background: #71c358; }
.frete-toggle::after {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.frete-toggle.on::after { left: 22px; }

/* ─── Etapa 2 — Pagamento ────────────────────────────────────────────────────── */
.payment-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.payment-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 16px;
  text-align: center;
}
.btn-finalizar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #71c358;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 0 #57ab3d;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-finalizar:hover { background: #65b34e; }
.btn-finalizar:active { transform: translateY(2px); box-shadow: 0 2px 0 #57ab3d; }
.secure-label {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.secure-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}
.secure-icons img { height: 28px; width: auto; }
.secure-bullets {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.secure-bullets li {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.secure-bullets li::before {
  content: '🔒';
  font-size: 11px;
}

/* ─── Garantia ───────────────────────────────────────────────────────────────── */
.garantia-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.garantia-box img { width: 80px; flex-shrink: 0; }
.garantia-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}
.garantia-text { font-size: 13px; color: #555; line-height: 1.6; }

/* ─── Depoimentos ────────────────────────────────────────────────────────────── */
.depoimentos-title {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
}
.depoimento-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.depoimento-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dep-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.dep-stars { color: #f9974c; font-size: 14px; margin-bottom: 6px; }
.dep-text { font-size: 14px; color: #444; line-height: 1.55; }

/* ─── Coluna direita — resumo ────────────────────────────────────────────────── */
#order-summary {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: sticky;
  top: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.summary-head {
  background: #111;
  color: #fff;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.summary-body { padding: 16px; }
.summary-product {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 14px;
}
.summary-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
  flex-shrink: 0;
}
.summary-product-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 4px; }
.summary-product-qty { font-size: 13px; color: #888; }
.summary-product-price { font-size: 14px; font-weight: 600; color: #111; margin-top: 4px; }
.summary-product-old { font-size: 13px; color: #aaa; text-decoration: line-through; }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}
.summary-divider { border: none; border-top: 1px solid #f0f0f0; margin: 10px 0; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #111;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
#footer {
  background: #111;
  color: #aaa;
  padding: 24px 16px;
  margin-top: 32px;
  text-align: center;
}
#footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 12px;
  font-size: 13px;
}
#footer .footer-links a { color: #888; }
#footer .footer-links a:hover { color: #f9974c; }
#footer .footer-email { font-size: 13px; color: #777; margin-bottom: 10px; }
#footer .footer-copy { font-size: 12px; color: #555; }

/* ─── Responsivo ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #oferta-wrap { grid-template-columns: 1fr; }
  #order-summary { position: static; order: -1; }
  .bundle-img { width: 60px; height: 60px; }
}
@media (max-width: 480px) {
  .bundle-card { flex-direction: column; align-items: flex-start; }
}
