/* ==========================================================================
   Oración Divina / El Plano de la Prosperidad - Estilos para Colombia (CO)
   Estética Blanca y Dorada (White/Gold), sobria, devocional y fidedigna.
   ========================================================================== */

:root {
  --bg-page: #fdfdfd;
  --bg-surface: #ffffff;
  --bg-subtle: #fbf9f5;
  --bg-gold-light: #fffdf5;

  --gold-primary: #b8860b;
  --gold-dark: #8c6708;
  --gold-deep: #705206;
  --gold-border: #e8d7a5;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  --gold-gradient-hover: linear-gradient(135deg, #dfbc4a 0%, #a67909 100%);

  --text-main: #1a1e26;
  --text-muted: #5e6878;
  --text-light: #8590a2;
  --text-gold: #946c07;

  --border-light: #eaeaea;
  --border-focus: #b8860b;
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  --success: #15803d;
  --success-bg: #f0fdf4;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(184, 134, 11, 0.08);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.04);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Gold Banners */
.gold-top-banner {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--text-main);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(184, 134, 11, 0.2);
}

.gold-banner-img {
  width: 100%;
  max-width: 640px;
  display: block;
  margin: 0 auto;
  height: auto;
}

/* VSL / Media Section */
.vsl-section {
  padding: 1.25rem 0.5rem 0;
  margin: 0 auto;
  max-width: 580px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  background: #000000;
}

vturb-smartplayer {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.lead-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* Checkout CTA Button on VSL */
.cta-container {
  margin: 1.75rem auto 1rem;
  text-align: center;
  max-width: 480px;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-deep));
  color: #ffffff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}

.btn-primary:hover:not(:disabled) {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.45);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Product Presentation Card (Checkout) */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.product-thumb {
  width: 90px;
  height: auto;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--gold-border);
}

.product-info {
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-dark);
}

.product-guarantee-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 0.35rem;
}

/* Form Styles */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
}

.form-input.is-invalid {
  border-color: var(--danger);
  background-color: var(--danger-bg);
}

.field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.3rem;
  display: none;
}

.field-error.visible {
  display: block;
}

/* Payment Methods Grid / Cards */
.payment-methods-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.25rem 0 0.6rem;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.method-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.method-option:hover {
  border-color: var(--gold-border);
  background: var(--bg-gold-light);
}

.method-option.selected {
  border-color: var(--gold-primary);
  background: var(--bg-gold-light);
}

.method-radio {
  accent-color: var(--gold-primary);
  width: 1.15rem;
  height: 1.15rem;
  cursor: pointer;
}

.method-label-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.method-badge {
  margin-left: auto;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  color: var(--text-muted);
  font-weight: 500;
}

/* Status & Feedback Alerts */
.alert {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-danger {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid #bbf7d0;
  color: var(--success);
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* Guarantee Section */
.guarantee-block {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--bg-gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.guarantee-img {
  width: 100%;
  height: auto;
  margin: 0 auto 0.5rem;
  display: block;
}

.guarantee-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.guarantee-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto;
}

/* Comments Section (Static & Verified without Fake Geo) */
.comments {
  width: 100%;
  max-width: 640px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1rem;
}

.comments-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.comments hr {
  margin: 0.5rem 0 1rem;
  border: 0;
  border-top: 1px solid var(--border-light);
}

ul.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.comment-list > li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

ul.comment-list > li.reply {
  margin-left: 2.25rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
}

.c-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b579a;
  margin-bottom: 0.15rem;
}

.c-text {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-main);
}

.c-meta {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.c-meta .b {
  font-weight: 600;
}

.c-meta img {
  width: 16px;
  height: 16px;
}

/* Footer & Legal */
.site-footer {
  text-align: center;
  padding: 2.5rem 1rem 3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  margin-top: 3rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--gold-dark);
}

.legal-disclaimer {
  max-width: 580px;
  margin: 0.5rem auto 0;
  line-height: 1.4;
  font-size: 0.75rem;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
input { caret-color: var(--gold-deep); }
input::placeholder { color: var(--text-muted); opacity: 1; }
::selection { background: var(--gold-border); color: var(--text-main); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
