/* =========================================
   FaithfulPost Product Styles
   =========================================
   Load after styles.min.css on product pages.
   ========================================= */

/* ── Global Layout Overrides ── */
.product-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.product-copy {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.product-section {
  padding: 72px 0;
}

.product-section--compact {
  padding: 48px 0;
}

@media (max-width: 768px) {
  .product-section {
    padding: 48px 0;
  }

  .product-section--compact {
    padding: 36px 0;
  }
}

/* ── Product Badge ── */
.product-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── Product Comparison / Side-by-side ── */
.product-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0;
}

.product-compare-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(100,70,20,0.08);
}

.product-compare-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}

.product-compare-card .price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-dark);
  margin: 12px 0;
}

.product-compare-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  text-align: left;
}

.product-compare-card ul li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-compare-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Mail Club Hero ── */
.page-christian-mail-club #hero .hero-video {
  object-position: right center !important;
}

.page-christian-mail-club #hero .hero-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-christian-mail-club #hero .hero-cta-group {
  justify-content: center;
}

/* ── Contents Grid ── */
.contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.contents-card {
  background: linear-gradient(135deg, #FAF6F0 0%, #F5ECD8 100%);
  border: 1px solid var(--gold-light);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.3s ease;
}

.contents-card:hover {
  box-shadow: 0 6px 24px rgba(100,70,20,0.10);
}

.contents-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--gold-dark);
}

.contents-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
}

.contents-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Value Section (replaces testimonials) ── */
.value-section {
  background: linear-gradient(135deg, #F0E8D8 0%, #FAF6F0 60%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 16px;
}

.value-section p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ── Waitlist Form ── */
.waitlist-form {
  max-width: 420px;
  margin: 24px auto;
}

.waitlist-form .form-group {
  margin-bottom: 12px;
}

.waitlist-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.waitlist-form input:focus {
  border-color: var(--gold);
}

.waitlist-form .btn {
  width: 100%;
  margin-top: 4px;
}

.waitlist-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

/* ── Price Card ── */
.price-card {
  background: #fff;
  border: 2px solid var(--gold-light);
  border-radius: 20px;
  padding: 40px 32px;
  max-width: 400px;
  margin: 32px auto;
  text-align: center;
  box-shadow: 0 8px 32px rgba(100,70,20,0.08);
}

.price-card .plan-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 4px;
}

.price-card .price-amount {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--gold-dark);
  margin: 12px 0 4px;
}

.price-card .price-amount .currency {
  font-size: 1.4rem;
  vertical-align: super;
}

.price-card .price-amount .period {
  font-size: 1rem;
  color: var(--text-light);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  text-align: left;
}

.price-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-card ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Edition Preview ── */
.edition-preview {
  background: linear-gradient(135deg, #FAF6F0 0%, #F5ECD8 100%);
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 36px;
  margin: 40px 0;
  text-align: center;
}

.edition-preview .edition-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.edition-preview h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
}

.edition-preview p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.edition-preview .image-placeholder {
  width: 100%;
  max-width: 400px;
  height: 280px;
  background: var(--cream);
  border: 2px dashed var(--gold-light);
  border-radius: 12px;
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
}

/* ── Simple nav improvements ── */
.nav-links .nav-cta-primary {
  background: var(--gold);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.nav-links .nav-cta-primary:hover {
  background: var(--gold-dark);
  color: #fff !important;
}

/* ── Two-Column Product Section (homepage) ── */
.product-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}

.product-duo-card {
  background: #fff;
  border: 1px solid var(--gold-light);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(100,70,20,0.06);
}

.product-duo-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 8px;
}

.product-duo-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ── Prayer request section with final-cta background ── */
#prayer-request .form-wrap {
  text-align: center;
}

#prayer-request .section-label {
  color: var(--gold);
}

#prayer-request .section-title {
  color: var(--gold);
}

#prayer-request .section-sub {
  color: rgba(255,255,255,0.8);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .product-compare {
    grid-template-columns: 1fr;
  }

  .product-duo {
    grid-template-columns: 1fr;
  }

  .contents-grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 28px 20px;
  }
}

/* =========================================
   Shared Header — Desktop & Mobile
   =========================================
   Overrides styles.min.css nav rules.
   Loaded via styles-products.css on all
   product pages + homepage.
   ========================================= */

/* ── Large Desktop (1025px+) ── */
@media (min-width: 1025px) {
  .nav-inner {
    max-width: 1460px;
    height: 78px;
    padding: 0 48px;
  }

  .nav-brand {
    min-width: 250px;
    flex-shrink: 0;
  }

  .nav-logo {
    width: 46px;
    height: 46px;
  }

  .nav-name {
    font-size: 1.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-links {
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links > li > a,
  .nav-links .nav-dropdown-toggle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .nav-links .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .nav-dropdown-toggle .nav-caret {
    position: static;
    font-size: 0.65em;
    margin-left: 0;
  }

  .nav-cta-wrap {
    margin-left: 6px;
  }

  .nav-cta-primary {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    height: 48px;
    padding: 0 26px !important;
    font-size: 0.95rem !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(168, 132, 90, 0.3) !important;
    animation: none !important;
  }

  .nav-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(168, 132, 90, 0.4) !important;
    animation: none !important;
  }
}

/* ── Intermediate Desktop (1025px–1200px) — tighter spacing ── */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-inner {
    padding: 0 28px;
  }

  .nav-links {
    gap: 22px;
  }

  .nav-links > li > a,
  .nav-links .nav-dropdown-toggle {
    font-size: 0.92rem;
  }

  .nav-cta-primary {
    min-width: 130px;
    height: 44px;
    padding: 0 20px !important;
    font-size: 0.88rem !important;
  }
}

/* ── Switch to mobile nav at 1024px ── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(249, 246, 241, 0.98);
    padding: 12px 24px 20px;
    gap: 0;
    box-shadow: 0 8px 30px rgba(100,80,50,0.15);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links .nav-dropdown-toggle {
    display: block;
    padding: 12px 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gold-light);
    width: 100%;
    min-height: 44px;
    line-height: 1.2;
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-cta-wrap {
    margin-top: 12px;
  }

  .nav-cta-primary {
    display: block !important;
    padding: 12px 22px !important;
    text-align: center;
    border-radius: 50px !important;
    border-bottom: none !important;
    font-size: 0.95rem !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    height: 70px;
    padding: 0 16px;
    position: relative;
  }
}


