/*
Theme Name: Proof of God Project
Theme URI: https://proofofgodproject.com
Author: Carl Kasten
Author URI: https://proofofgodproject.com
Description: A custom WordPress theme for the Proof of God Project book landing page. Features elegant Cormorant Garamond typography, gold accents, and a sophisticated Illuminated Manuscript Revival design aesthetic.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proof-of-god
Tags: one-column, custom-colors, featured-images, landing-page
*/

/* ============================================================================
   CSS Variables for Design System
   ========================================================================== */
:root {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --gold-light: #F4E4C1;
  --gold-medium: #D4AF37;
  --gold-dark: #B8941E;

  --background: #FAF8F5;
  --foreground: #1A1A1A;

  /* Checkout-specific tokens */
  --checkout-bg:          #FFFFFF;
  --checkout-border:      rgba(212, 175, 55, 0.25);
  --checkout-radius:      0.5rem;
  --checkout-shadow:      0 4px 32px rgba(0, 0, 0, 0.08);
  --checkout-tab-active:  #2C2C2C;
  --checkout-tab-inactive:#7A7A7A;
  --checkout-input-bg:    #FAFAFA;
  --checkout-input-border:#D1D5DB;
  --checkout-input-focus: var(--gold-medium);
  --checkout-error:       #DC2626;
  --checkout-error-bg:    #FEF2F2;
}

/* ============================================================================
   Reset and Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================================
   Layout Container
   ========================================================================== */
.site-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ============================================================================
   Background Layers
   ========================================================================== */
.bg-layer-hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-layer-geometry {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================================
   Main Content
   ========================================================================== */
.site-main {
  position: relative;
  z-index: 10;
}

/* ============================================================================
   Hero Section
   ========================================================================== */
/* ── Shared wrapper: hero + first checkout section ──────────────────────
   The ::before pseudo-element on this wrapper creates a single watermark
   image that spans both the hero and the book/checkout area below it.
   ======================================================================= */
.hero-checkout-wrapper {
  position: relative;
}

.hero-checkout-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2026/03/book-open-desk.jpg');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  opacity: 0.27;
  z-index: -1;
  pointer-events: none;
}

.hero-section {
  /* min-height: 45vh; */
  min-height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem 1rem;
  text-align: center;
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 1;
  padding-top:30px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  /* line-height: 1.3; */
  max-width: 48rem;
  margin: 0 auto;
}

/* ============================================================================
   Gold Divider
   ========================================================================== */
.gold-divider {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.divider-line {
  height: 5px;
  width: 12rem;
  opacity: 0.2;
  background: linear-gradient(90deg, transparent, var(--gold-medium), transparent);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* ============================================================================
   Main Content Section
   ========================================================================== */
.content-section {
  padding: 3rem 1.5rem 4rem;
}

.content-grid {
  max-width: 88rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* ============================================================================
   Book Image Column
   ========================================================================== */
.book-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.book-wrapper {
  position: relative;
  max-width: 28rem;
  width: 100%;
}

.book-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%);
  transform: scale(1.3);
  filter: blur(3rem);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.book-wrapper:hover::before {
  opacity: 0.4;
}

.book-image {
  width: 100%;
  height: auto;
  /* box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.4); */
  transition: transform 0.5s ease;
}

.book-wrapper:hover .book-image {
  transform: scale(1.05);
}

/* ============================================================================
   CTA Button
   ========================================================================== */
.cta-wrapper {
  margin-top: 3rem;
  width: 100%;
  max-width: 28rem;
}

.cta-button{
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.125rem;
  padding: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-light) 100%);
  color: var(--foreground);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.4s ease;
}
.ama-button{
  display: block;
  width: 100%;
  text-align: center;
  align-items:center;
    justify-content:center;
  position:relative;
  font-size: 1.125rem;
  padding: 1rem 1.5rem 0.8rem 1.5rem;
  margin:20px auto 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color:#000000;
  color: var(--foreground);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.4s ease;
}


.cta-button:hover, .ama-button:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
  transform: scale(1.05);
}

/* ============================================================================
   Text Content Column
   ========================================================================== */
.text-column {
  animation: fadeInUp 1s ease-out 0.5s backwards;
}

.content-block {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ============================================================================
   Evidence List
   ========================================================================== */
.evidence-list {
  margin: 1.5rem 0;
  list-style: none;
}

.evidence-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.evidence-bullet {
  font-size: 1.5rem;
  color: var(--gold-medium);
  flex-shrink: 0;
}

/* ============================================================================
   Closing Section
   ========================================================================== */
.closing-section {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.closing-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.closing-text a {
  color: var(--gold-dark);
  text-decoration: none;
}

.closing-text a:hover {
  text-decoration: underline;
}

/* ============================================================================
   Final Statement
   ========================================================================== */
.final-statement {
  padding-top: 2rem;
}

.statement-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #a27000;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

/* ============================================================================
   Footer Spacing
   ========================================================================== */
.footer-spacing {
  height: 2rem;
}

/* ============================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-medium) 100%);
  padding: 3rem 1.5rem;
  padding-top: 4rem;
}

.footer-content {
  max-width: 74rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* Contact Button */
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--gold-dark);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-button:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Footer Copyright */
.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-top: 1rem;
}


/* form field adaptation */
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {width:98%}
.select2-container--default .select2-selection--single .select2-selection__rendered,.pog-format-select
{
    color: black;
    line-height: 28px;
    width: 100%;
    padding: 0.3rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--foreground);
    background: var(--checkout-input-bg);
    border: 1px solid var(--checkout-input-border);
    border-radius: 0.375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.select2-dropdown, .pog-format-select{    font-size: 0.9375rem;padding:12px;}
.select2-container--default .select2-selection--single,.select2-container .select2-selection--single
{
    color: black;
    line-height: 28px;
    width: 100%;
    margin-bottom: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--foreground);
    background: var(--checkout-input-bg);
    border: none;
    outline: none;
}


/* quantity fields */
/* ── Step 1 quantity row ──────────────────────────────────────────────────── */

.pog-step1-qty {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 24px 0;
    flex-wrap: nowrap;
}

.pog-format-label,
.pog-qty-label {
    display: none;
}

.pog-format-selector {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

/* .pog-format-select {
    width: 100%;
    height: 38px;
    padding: 0 30px 0 12px;
    border: 1px solid currentColor;
    border-radius: 6px;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='currentColor' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.pog-format-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px currentColor;
} */

.pog-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
  gap: 0;
  border: 1px solid var(--checkout-input-border);
  overflow: hidden;
  background: var(--checkout-input-bg);
  /* Prevent the stepper from stretching to full cell width */
  width: auto;
  min-height:44px;
}




.pog-qty-btn {
    width: 34px;
    height: 38px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.pog-qty-btn--disabled,
.pog-qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Quantity number display */
.pog-qty-value {
  display: inline-block;
  min-width: 2rem;
  padding: 0 0.375rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 38px;
  /* Prevent text selection on rapid clicks */
  user-select: none;
  -webkit-user-select: none;
}


.pog-step1-total {
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 56px;
    text-align: right;
}

@media ( max-width: 480px ) {
    .pog-step1-qty {
        gap: 8px;
    }

    /* .pog-format-select {
        font-size: 13px;
    } */

    .pog-qty-btn {
        width: 28px;
    }

    .pog-qty-value {
        min-width: 28px;
    }
}
/* ============================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   TWO-STEP CHECKOUT COMPONENT
   ============================================================================
   All styles prefixed with .pog-checkout-* or .pog-step* to avoid conflicts
   with WooCommerce's own stylesheet.
   ========================================================================== */

/* ── Outer wrapper ──────────────────────────────────────────────────────── */
.pog-checkout-wrap {
  background: var(--checkout-bg);
  border: 1px solid var(--checkout-border);
  border-radius: var(--checkout-radius);
  box-shadow: var(--checkout-shadow);
  overflow: hidden;
  margin: 0;
  font-family: var(--font-body);
}

/* ── Step indicator tabs ────────────────────────────────────────────────── */
.pog-step-tabs {
  display: flex;
  border-bottom: 1px solid var(--checkout-border);
}

.pog-step-tab {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #F5F5F5;
  color: var(--checkout-tab-inactive);
  cursor: default;
  transition: background 0.3s ease, color 0.3s ease;
  border-bottom: 3px solid transparent;
}

.pog-step-tab--active {
  background: var(--checkout-tab-active);
  color: #FFFFFF;
  border-bottom-color: var(--gold-medium);
}

.pog-step-tab__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 700;
  font-size: 0.9375rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pog-step-tab:not(.pog-step-tab--active) .pog-step-tab__number {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--checkout-tab-inactive);
}

.pog-step-tab__label {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.pog-step-tab__label strong {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pog-step-tab__label small {
  font-size: 0.75rem;
  opacity: 0.75;
}

/* ── Step panels ────────────────────────────────────────────────────────── */
.pog-step {
  padding: 1.75rem 1.5rem;
}

.pog-step--hidden {
  display: none;
}

.pog-step--active {
  display: block;
  animation: fadeInUp 0.35s ease-out;
}

/* ── Form layout ────────────────────────────────────────────────────────── */
.pog-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Two-column row for first/last name */
.pog-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  margin-bottom: 0.75rem;
}

/* Single-column for email/phone */
.pog-field-row .form-row-wide {
  grid-column: 1 / -1;
}

/* Address section heading */
.pog-address-section {
  margin-top: 0.5rem;
}

.pog-address-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--checkout-border);
}

/* ── WooCommerce field overrides ────────────────────────────────────────── */
.pog-form .form-row {
  margin-bottom: 0.75rem;
  padding: 0;
}

.pog-form .form-row label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.3rem;
}

.pog-form .form-row .required {
  color: var(--checkout-error);
  margin-left: 0.1rem;
}

.pog-form .form-row input[type="text"],
.pog-form .form-row input[type="email"],
.pog-form .form-row input[type="tel"],
.pog-form .form-row input[type="number"],
.pog-form .form-row input[type="password"],
.pog-form .form-row select,
.pog-form .form-row textarea {
  width: 100%;
  padding: 0.65rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--foreground);
  background: var(--checkout-input-bg);
  border: 1px solid var(--checkout-input-border);
  border-radius: 0.375rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.pog-form .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.pog-form .form-row input:focus,
.pog-form .form-row select:focus,
.pog-form .form-row textarea:focus {
  border-color: var(--checkout-input-focus);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.pog-form .form-row input::placeholder {
  color: #9CA3AF;
}

/* WooCommerce inline field validation errors */
.pog-form .form-row .woocommerce-input-wrapper .description,
.pog-form .form-row .woocommerce-error,
.pog-form .form-row .validate-required.woocommerce-invalid label,
.pog-form .form-row .woocommerce-invalid input,
.pog-form .form-row .woocommerce-invalid select {
  border-color: var(--checkout-error) !important;
}

/* ── Step-1 error container ─────────────────────────────────────────────── */
.pog-errors {
  display: none;
  background: var(--checkout-error-bg);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.375rem;
  padding: 0.875rem 1rem;
  margin-bottom: 1rem;
  color: var(--checkout-error);
  font-size: 0.9rem;
}

.pog-error-list {
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.pog-error-list li {
  margin-bottom: 0.25rem;
}

.pog-error-list li:last-child {
  margin-bottom: 0;
}

/* ── Next / Continue button ─────────────────────────────────────────────── */
.pog-next-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--foreground);
  background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-light) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.pog-next-btn:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

.pog-next-btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.pog-next-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Loading spinner inside next button */
.pog-next-btn__spinner {
  display: none;
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(26, 26, 26, 0.3);
  border-top-color: var(--foreground);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.pog-next-btn--loading .pog-next-btn__spinner {
  display: inline-block;
}

/* ── Secure payment notice ──────────────────────────────────────────────── */
.pog-secure-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: #6B7280;
  text-align: center;
}

.pog-secure-notice svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: #6B7280;
  flex-shrink: 0;
}

/* ── Step 2: Order review ───────────────────────────────────────────────── */
.pog-order-review {
  margin-bottom: 1.5rem;
}

.pog-section-title {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--checkout-border);
}

/* WooCommerce order review table */
.pog-step .woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.pog-step .woocommerce-checkout-review-order-table th,
.pog-step .woocommerce-checkout-review-order-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  text-align: left;
}

.pog-step .woocommerce-checkout-review-order-table tfoot tr:last-child td,
.pog-step .woocommerce-checkout-review-order-table tfoot tr:last-child th {
  font-weight: 700;
  font-size: 1rem;
  border-bottom: none;
  padding-top: 0.75rem;
}

/* ── Step 2: Payment section ────────────────────────────────────────────── */
.pog-payment-section {
  margin-bottom: 1.25rem;
}

/* WooCommerce payment box */
.pog-step #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.pog-step #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border: 1px solid var(--checkout-border);
  border-radius: 0.375rem;
  overflow: hidden;
}

.pog-step #payment ul.payment_methods li {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--checkout-border);
  background: #FAFAFA;
}

.pog-step #payment ul.payment_methods li:last-child {
  border-bottom: none;
}

.pog-step #payment ul.payment_methods li label {
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pog-step #payment div.payment_box {
  padding: 0.875rem 1rem;
  background: #F9FAFB;
  border-top: 1px solid var(--checkout-border);
  font-size: 0.9rem;
  color: #374151;
}

/* Place order button (WooCommerce renders this) */
.pog-step #payment #place_order,
.pog-step .woocommerce-checkout #payment #place_order {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--foreground);
  background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-light) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
  margin-top: 0.25rem;
}

.pog-step #payment #place_order:hover {
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
  transform: translateY(-1px);
}

/* ── Back button ────────────────────────────────────────────────────────── */
.pog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #6B7280;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.pog-back-btn:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
}

/* ── Checkout notice (no WooCommerce / empty cart) ──────────────────────── */
.pog-checkout-notice {
  padding: 1rem 1.25rem;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 0.375rem;
  color: #92400E;
  font-size: 0.9375rem;
  margin: 1.5rem 0;
}

/* ============================================================================
   Responsive Design
   ========================================================================== */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 2rem 2rem 1.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 1.875rem;
  }

  .body-text {
    font-size: 1.25rem;
  }

  .evidence-item {
    font-size: 1.125rem;
  }

  .closing-text {
    font-size: 1.25rem;
  }

  .statement-text {
    font-size: 2rem;
  }

  /* Checkout responsive */
  .pog-step {
    padding: 1rem 2rem;
  }

  .pog-step-tab {
    padding: 1.1rem 1.4rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 5rem;
  }

  .content-section {
    padding: 3rem 2rem;
  }

  .content-grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }

  .book-column {
    align-items: flex-start;
  }

  .cta-wrapper {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .social-links {
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .content-grid {
    gap: 5rem;
  }
}

/* Narrow screens: stack name fields */
@media (max-width: 480px) {
  .pog-field-row {
    grid-template-columns: 1fr;
  }

  .pog-step-tab__label small {
    display: none;
  }
}

/* ============================================================================
   QUANTITY STEPPER  (.pog-qty-stepper)
   Renders inside the product-quantity cell of the Step 2 order review table.
   ========================================================================== */

/* .pog-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--checkout-input-border);
  border-radius: 0.375rem;
  overflow: hidden;
  background: var(--checkout-input-bg);
  width: auto; 
}*/

/* +/- buttons */
.pog-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: var(--foreground);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.pog-qty-btn:hover:not(:disabled) {
  background: var(--gold-medium);
  color: #111111;
}

.pog-qty-btn:active:not(:disabled) {
  background: var(--gold-dark);
  color: #111111;
}

/* Disabled state (minus at qty=1, or during AJAX) */
.pog-qty-btn:disabled,
.pog-qty-btn--disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Divider lines between button and number */
.pog-qty-minus {
  border-right: 1px solid var(--checkout-input-border);
}

.pog-qty-plus {
  border-left: 1px solid var(--checkout-input-border);
}



/* Loading state: subtle pulse on the whole stepper */
.pog-qty-stepper--loading {
  opacity: 0.6;
  pointer-events: none;
}


/* new payment method css */
/* ── Payment section wrapper ────────────────────────────────────────────── */
.pog-payment-section {
    margin-bottom: 1.25rem;
}

.pog-step #payment {
    background: transparent;
    border-radius: 0;
    padding: 0;
}

/* ── Payment methods list ───────────────────────────────────────────────── */
.pog-step #payment ul.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    border: 1px solid var(--checkout-border);
    border-radius: 0.375rem;
    overflow: hidden;
}

.pog-step #payment ul.wc_payment_methods li.wc_payment_method {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--checkout-border);
    background: #FAFAFA;
}

.pog-step #payment ul.wc_payment_methods li.wc_payment_method:last-child {
    border-bottom: none;
}

/* ── Radio button + label row ───────────────────────────────────────────── */
.pog-step #payment ul.wc_payment_methods li label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

.pog-step #payment ul.wc_payment_methods input.input-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--checkout-input-border);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
    vertical-align: middle;
    margin: 0;
}

.pog-step #payment ul.wc_payment_methods input.input-radio:checked {
    border-color: var(--gold-medium);
    background: var(--gold-medium);
    box-shadow: inset 0 0 0 3px #fff;
}

/* ── Payment description box ────────────────────────────────────────────── */
.pog-step #payment div.payment_box {
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background: #F3F4F6;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.pog-step #payment div.payment_box p {
    margin: 0;
}

/* ── Place order row ────────────────────────────────────────────────────── */
.pog-step #payment .form-row.place-order {
    margin: 0;
    padding: 0;
}

/* ── Privacy policy text ────────────────────────────────────────────────── */
.pog-step #payment .woocommerce-privacy-policy-text {
    font-size: 0.8rem;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 0.875rem;
}

.pog-step #payment .woocommerce-privacy-policy-text p {
    margin: 0;
}

.pog-step #payment .woocommerce-privacy-policy-text a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Place Order button ─────────────────────────────────────────────────── */
.pog-step #payment #place_order,
.pog-step .woocommerce-checkout #payment #place_order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--foreground);
    background: linear-gradient(135deg, var(--gold-medium) 0%, var(--gold-light) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
    margin-top: 0.25rem;
}

.pog-step #payment #place_order:hover {
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

/* ── Apple Pay / Google Pay express buttons ─────────────────────────────── */
#ppc-button-ppcp-applepay,
#ppc-button-ppcp-googlepay {
    margin-top: 0.625rem;
}

#ppc-button-ppcp-applepay:empty,
#ppc-button-ppcp-googlepay:empty {
    display: none;
}

/* ── reCAPTCHA container ────────────────────────────────────────────────── */
#ppcp-recaptcha-v2-container:empty {
    display: none;
}

/* ── noscript fallback ──────────────────────────────────────────────────── */
.pog-step #payment noscript {
    display: block;
    font-size: 0.8125rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
}


/* ── Stars parallax section ─────────────────────────────────────────────── */

.content-section--stars {
    position: relative;
    background-image: url('https://proofofgodproject.com/wp-content/uploads/2026/03/stars-scaled.jpg');
    background-attachment: fixed;       /* parallax */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;             /* fallback while image loads */
    color: #ffe07a;
}

/* Dark overlay so text stays readable over the bright star field */
.content-section--stars::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    z-index: 0;
}

/* Lift all direct children above the overlay */
.content-section--stars > * {
    position: relative;
    z-index: 1;
}

/* ── Colour overrides for dark background ───────────────────────────────── */

.content-section--stars .section-title,
.content-section--stars .hero-title {
    color: #ffe07a;
}

.content-section--stars .section-subtitle {
    color: var(--gold-light);
}

.content-section--stars .body-text,
.content-section--stars .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.content-section--stars .evidence-item {
    color: rgba(255, 255, 255, 0.85);
}

.content-section--stars .evidence-bullet {
    color: var(--gold-medium);
}

.content-section--stars .divider-line {
    opacity: 0.4;
}

/* ── Mobile: background-attachment: fixed breaks on iOS ────────────────── */
@media (max-width: 768px) {
    .content-section--stars {
        background-attachment: scroll;
        background-position: center top;
    }
}

/* ============================================================================
   About the Author Section
   Matches the .content-section / .content-grid width (max-width: 88rem).
   ========================================================================== */
.author-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(244, 228, 193, 0.08) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.author-content {
  max-width: 88rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.author-image-wrapper {
  display: flex;
  justify-content: center;
}

/* Placeholder shown until the real author photo is provided */
.author-image-placeholder {
  width: 240px;
  height: 300px;
  background: rgba(212, 175, 55, 0.1);
  border: 2px dashed rgba(212, 175, 55, 0.4);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 1rem;
}

/* Swap the placeholder out for this class when the real photo is ready */
.author-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid rgba(212, 175, 55, 0.3);
  display: block;
}

.author-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.author-name {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.author-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--foreground);
  opacity: 0.9;
}

@media (min-width: 768px) {
  .author-content {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }

  .author-image-wrapper {
    justify-content: flex-start;
  }
}

/* ============================================================================
   Mobile Optimizations
   ========================================================================== */

/* Small tablets and large phones — max 767px */
@media (max-width: 767px) {
  .hero-section {
    padding: 1.5rem 1rem 1.25rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .statement-text {
    font-size: 1.375rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-section {
    padding: 2rem 1rem;
  }

  .author-section {
    padding: 2.5rem 1rem;
  }

  .cta-wrapper {
    margin-top: 1.5rem;
  }

  .footer-content {
    gap: 1.5rem;
  }
}

/* Small phones — max 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.875rem;
    letter-spacing: -0.01em;
  }

  .statement-text {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .section-subtitle {
    font-size: 1.25rem;
  }

  .body-text {
    font-size: 1rem;
  }

  .evidence-item {
    font-size: 0.9375rem;
  }

  .author-name {
    font-size: 1.625rem;
  }

  .author-text {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 1.25rem;
  }

  .pog-next-btn {
    font-size: 1rem;
    padding: 0.875rem 1.25rem;
  }
}

/* ============================================================================
   Global Mobile Foundations
   ========================================================================== */

/* Prevent horizontal scroll on all viewports */
body {
  overflow-x: hidden;
}

/* All images are constrained by their container by default */
img {
  max-width: 100%;
  height: auto;
}

/* Remove 300 ms tap delay on touch devices for key interactive elements */
.cta-button,
.pog-next-btn,
.pog-qty-btn,
.quote-arrow,
.pog-back-btn,
.social-link,
.contact-button {
  touch-action: manipulation;
}

/* ── Header logo: cap height so it never overflows on narrow screens ────── */
#site-header img {
  /* max-height: 52px; */
  width: auto;
  max-width: 380px;
  object-fit: contain;
}

/* ── Small phones: header layout tightening ─────────────────────────────── */
@media (max-width: 480px) {
  #site-header .container {
    padding-inline: 0.75rem;
  }

  .header-inner {
    height: 60px;
    gap: 0.5rem;
  }

  /* Shrink the header CTA button slightly on very small screens */
  .header-cta .cta-button {
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem !important;
  }
}

/* ── Quote rotator arrows: bring up to 44px tap target on touch screens ── */
@media (max-width: 600px) {
  .quote-arrow {
    width: 36px !important;
    height: 36px !important;
  }
}

/* ── Quantity stepper: ensure 44px minimum tap height on mobile ─────────── */
@media (max-width: 767px) {
  .pog-qty-btn {
    width: 40px;
    height: 44px;
  }

  .pog-qty-stepper {
    min-height: 44px;
  }

  /* Checkout tab labels: prevent wrapping on narrow screens */
  .pog-step-tab__label strong {
    font-size: 0.75rem;
  }
}

/* ── Very small phones (320 px): prevent hero title overflow ────────────── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.625rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .statement-text {
    font-size: 1.1rem;
  }
}

/* ── Step 2: WooCommerce checkout (inline shortcode) ────────────────────── */

/* Billing/shipping fields already captured in step 1 — hide them */
#pog-step-2 #customer_details {
    display: none;
}

/* Order review heading matches pog-section-title style */
#pog-step-2 #order_review_heading {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--checkout-border);
}

/* Strip WooCommerce wrapper default spacing */
#pog-step-2 .woocommerce,
#pog-step-2 form.woocommerce-checkout {
    padding: 0;
    margin: 0;
}

/* Order review section spacing */
#pog-step-2 #order_review {
    margin-bottom: 1.5rem;
}

/* Match form field styles to step 1 inputs */
#pog-step-2 form.woocommerce-checkout .form-row {
    margin-bottom: 0.75rem;
    padding: 0;
}

#pog-step-2 form.woocommerce-checkout .form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.3rem;
}

#pog-step-2 form.woocommerce-checkout .form-row input[type="text"],
#pog-step-2 form.woocommerce-checkout .form-row input[type="email"],
#pog-step-2 form.woocommerce-checkout .form-row input[type="tel"],
#pog-step-2 form.woocommerce-checkout .form-row select {
    width: 100%;
    padding: 0.65rem 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: #fff;
    border: 1px solid var(--checkout-border);
    border-radius: 0.375rem;
    color: var(--foreground);
    appearance: none;
}

/* ── Order-received (thank-you) page ────────────────────────────────────── */

/* Inherit checkout card styling */
.pog-order-received-wrap {
    background: var(--checkout-bg);
    border: 1px solid var(--checkout-border);
    border-radius: var(--checkout-radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--checkout-shadow);
}

/* WC thank-you message */
.pog-order-received-wrap .woocommerce-thankyou-order-received {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1.25rem;
}

/* Order detail list (order #, date, email, total) */
.pog-order-received-wrap .woocommerce-order-overview {
    list-style: none;
    padding: 0;
    /* margin: 0 0 1.5rem; */
    /* display: flex; */
    flex-wrap: wrap;
    /* gap: 0.5rem 1.5rem; */
    border-top: 1px solid var(--checkout-border);
    border-bottom: 1px solid var(--checkout-border);
    padding: 0.875rem 0;
}

.pog-order-received-wrap .woocommerce-order-overview li {
    font-size: 0.875rem;
    color: #6B7280;
}

.pog-order-received-wrap .woocommerce-order-overview li strong {
    color: var(--foreground);
}

/* Order details table */
.pog-order-received-wrap .woocommerce-order-details__title,
.pog-order-received-wrap .woocommerce-column__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--foreground);
    margin-bottom: 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--checkout-border);
}

.pog-order-received-wrap .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.pog-order-received-wrap .woocommerce-table--order-details th,
.pog-order-received-wrap .woocommerce-table--order-details td {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    text-align: left;
}

/* ORDER RECEIVED WINDOW */

.pog-order-received-wrap {
  margin: 0 -10%;
  padding: 35px;
  box-shadow: 0 4px 25px #4e4937;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    padding-bottom: 30px 0 20px 0;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
}
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last {width:100%;}

.woocommerce ul.order_details li {
    float: left;
    font-size: .6em;
    line-height: 1;
    border-right: 1px dashed #cfc8d8;
    padding: 1em;
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}
/* .pog-order-received-wrap .woocommerce-order-overview{gap:1rem;} */