/* Prayer Candle pages, forms, and optional prayer-chain offer */

.bol-candle-option {
  margin: 1.15rem 0 1.25rem;
  padding: 1rem 1.1rem 1.05rem;
  background: #fffdf8;
  border: 1px solid rgba(184,149,90,.45);
  border-left: 4px solid #b8955a;
  box-sizing: border-box;
}
.bol-candle-option-kicker {
  margin: 0 0 .2rem;
  font-family: inherit;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8e6d3a;
}
.bol-candle-option-lead {
  margin: 0 0 .55rem;
  font-weight: 600;
}
.bol-candle-option p { margin: 0 0 .7rem; }
.bol-candle-option-extra { margin-top: .4rem; }
.bol-candle-option-link { margin-bottom: 0 !important; }

.bol-candle-signup {
  margin: 0 auto 2.2rem;
  max-width: 42rem;
  padding: 1.35rem 1.3rem 1.45rem;
  background: #faf5ec;
  border-top: 4px solid #b8955a;
  box-sizing: border-box;
  color: #3b2f24;
}
.bol-candle-signup .eyebrow {
  margin: 0 0 .35rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8e6d3a;
}
.bol-candle-signup h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #6b4f24;
  margin: 0 0 .8rem;
  line-height: 1.2;
}
.bol-candle-signup-lede,
.bol-candle-signup-free { margin: 0 0 1rem; font-size: 1.08rem; line-height: 1.6; }
.bol-candle-signup-free a,
.bol-candle-option a { color: #8a6631; }

.bol-candle-form button[disabled],
.bol-candle-relight button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

/* Single candle page */
body.bol-candle-page .site-main,
body.bol-candle-page main {
  background: transparent;
}
.bol-pcandle {
  max-width: 40rem;
  margin: 0 auto 3rem;
  padding: 1.2rem 1rem 2.2rem;
  text-align: center;
  color: #3d342c;
}
.bol-pcandle-kicker {
  margin: 0 0 .15rem;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8e6d3a;
}
.bol-pcandle-name {
  font-family: "Great Vibes", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1.15;
  color: #3d342c;
  margin: 0 0 .4rem;
}
.bol-pcandle-art {
  position: relative;
  width: min(220px, 70vw);
  margin: .2rem auto 0;
}
.bol-pcandle-art.is-lit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: 180%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 40%, rgba(255,210,120,.45), rgba(255,200,80,.08) 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.bol-pcandle-svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; overflow: visible; }
.bol-pcandle-art .bol-c-flame {
  transform-box: fill-box;
  transform-origin: 50% 95%;
  animation: bolPFlame 3.2s linear infinite;
}
.bol-pcandle-art .bol-c-halo {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: bolPHalo 4.4s ease-in-out infinite;
}
.bol-pcandle-art .bol-c-pool { animation: bolPPool 4.4s ease-in-out infinite; }
@keyframes bolPFlame {
  0%,100%{ transform:rotate(0deg) skewX(0deg) scale(1,1); filter:brightness(1) }
  9%{ transform:rotate(1.2deg) skewX(-1.5deg) scale(.98,1.03); filter:brightness(1.05) }
  17%{ transform:rotate(-.4deg) skewX(.8deg) scale(1.01,.98); filter:brightness(.96) }
  23%{ transform:rotate(.6deg) skewX(-.6deg) scale(.99,1.05); filter:brightness(1.08) }
  34%{ transform:rotate(-1.4deg) skewX(2deg) scale(1.02,.97); filter:brightness(.97) }
  46%{ transform:rotate(.3deg) skewX(-.4deg) scale(.985,1.02); filter:brightness(1.02) }
  52%{ transform:rotate(1.6deg) skewX(-2deg) scale(.97,1.06); filter:brightness(1.1) }
  61%{ transform:rotate(-.7deg) skewX(1deg) scale(1.015,.985); filter:brightness(.95) }
  74%{ transform:rotate(.9deg) skewX(-1deg) scale(.99,1.03); filter:brightness(1.04) }
  83%{ transform:rotate(-1.1deg) skewX(1.4deg) scale(1.01,.975); filter:brightness(.98) }
  91%{ transform:rotate(.4deg) skewX(-.5deg) scale(.995,1.015); filter:brightness(1.03) }
}
@keyframes bolPHalo { 0%,100%{ opacity:.8; transform:scale(1) } 30%{ opacity:1; transform:scale(1.06) } 55%{ opacity:.88; transform:scale(.99) } 80%{ opacity:.97; transform:scale(1.04) } }
@keyframes bolPPool { 0%,100%{ opacity:1 } 40%{ opacity:.85 } 70%{ opacity:.95 } }
@media (prefers-reduced-motion: reduce) {
  .bol-pcandle-art .bol-c-flame,
  .bol-pcandle-art .bol-c-halo,
  .bol-pcandle-art .bol-c-pool { animation: none !important; }
}

.bol-pcandle.is-burned .bol-pcandle-art { filter: grayscale(.35) brightness(.92); }
.bol-pcandle-by,
.bol-pcandle-until,
.bol-pcandle-relights,
.bol-pcandle-burned-msg,
.bol-pcandle-foot {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.55;
  margin: .35rem 0;
  color: #5a4a38;
}
.bol-pcandle-burned-msg {
  font-size: 1.45rem;
  font-style: italic;
  color: #6b4f24;
  margin-top: .8rem;
}
.bol-pcandle-message {
  margin: 1rem auto;
  max-width: 32rem;
  padding: .9rem 1.1rem;
  background: #fffdf8;
  border: 1px solid #ead9b8;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
  color: #3d342c;
}
.bol-pcandle-message p { margin: 0; }
.bol-pcandle-foot { margin-top: 1.6rem; font-size: 1rem; color: #8a8580; }

.bol-candle-share { margin-top: 1.6rem; }
.bol-candle-share-label {
  margin: 0 0 .6rem;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8e6d3a;
}
.bol-candle-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem .7rem;
}
.bol-candle-share-btn {
  display: inline-block;
  min-height: 44px;
  padding: .55rem 1.05rem;
  border: 1px solid #9a7840;
  border-radius: 3px;
  background: linear-gradient(180deg, #c9a56a 0%, #a8834a 100%);
  color: #fffdf6 !important;
  text-decoration: none !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  line-height: 1.2;
}
.bol-candle-share-btn:hover { filter: brightness(1.06); }
.bol-candle-share-btn.is-copied { background: #6d7a4a; border-color: #5a6540; }

.bol-candle-relight {
  margin: 1.3rem auto 0;
  max-width: 26rem;
  text-align: left;
}
.bol-candle-relight .btn { min-height: 44px; }
.bol-candle-relight .form-errors { color: #8a3030; margin: 0 0 .7rem; }

.bol-candle-thankyou { max-width: 40rem; margin: 0 auto 2.5rem; padding: 0 .2rem; color: #3b2f24; }
.bol-candle-thankyou h2,
.bol-thankyou h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #6b4f24;
  margin: 0 0 .8rem;
  line-height: 1.2;
}
.bol-thankyou p { font-size: 1.08rem; line-height: 1.6; margin: 0 0 1rem; }
.bol-thankyou .bol-thankyou-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; margin-top: 1.4rem; }
.bol-thankyou a.bol-thankyou-btn {
  display: inline-block;
  background: linear-gradient(135deg, #e6cf9a, #b8955a 55%, #9c7a40);
  color: #3b2a10;
  text-decoration: none;
  font-weight: 600;
  padding: .65rem 1.15rem;
  border-radius: 8px;
  min-height: 44px;
  box-sizing: border-box;
}
.bol-thankyou a.bol-thankyou-link { color: #8a6631; text-decoration: underline; text-underline-offset: 2px; align-self: center; }
.bol-thankyou[data-state="ready"] .bol-thankyou-pending { display: none; }
.bol-thankyou:not([data-state="ready"]) .bol-thankyou-ready { display: none; }

@media (max-width: 640px) {
  .bol-pcandle-art { width: min(170px, 72vw); }
  .bol-candle-signup { padding: 1.1rem 1rem 1.2rem; }
  .bol-candle-share-btn { flex: 1 1 8rem; text-align: center; }
}

.bol-candle-extinguish { max-width: 40rem; margin: 0 auto 2.5rem; padding: 0 .2rem; color: #3b2f24; }
.bol-extinguish-actions { align-items: center; }
.bol-extinguish-form { margin: 0; }
button.bol-extinguish-yes {
  background: none;
  border: none;
  padding: .4rem 0;
  color: #8a6631;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font: inherit;
  font-size: 1.02rem;
  min-height: 44px;
}
button.bol-extinguish-yes:hover { color: #6b4f24; }
.bol-pcandle.is-extinguished .bol-pcandle-burned-msg { font-style: italic; }


/* Visitor upsell on public candle pages */
.bol-candle-upsell {
  margin: 2rem auto 0;
  max-width: 32rem;
  padding: 1.25rem 1.35rem 1.2rem;
  background: #fffdf8;
  border: 1px solid #ead9b8;
  border-radius: 4px;
  text-align: center;
  color: #3d342c;
}
.bol-candle-upsell-title {
  margin: 0 0 .35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: normal;
  color: #3d342c;
}
.bol-candle-upsell-lead {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: #5c534c;
}
.bol-candle-upsell-actions { margin: 0 0 .95rem; }
.bol-candle-upsell-btn {
  display: inline-block;
  padding: .65rem 1.35rem;
  background: #8e6d3a;
  color: #fffdf6 !important;
  text-decoration: none;
  border-radius: 3px;
  font-size: 1.02rem;
  line-height: 1.2;
  font-weight: 600;
}
.bol-candle-upsell-btn:hover { filter: brightness(1.06); color: #fffdf6 !important; }
.bol-candle-upsell-secondary {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: #8a8580;
}
.bol-candle-upsell-secondary a { color: #8e6d3a; }
.bol-candle-upsell-dot { margin: 0 .4rem; color: #c4b49a; }
@media (max-width: 520px) {
  .bol-candle-upsell { margin-top: 1.5rem; padding: 1.1rem 1rem 1.05rem; }
  .bol-candle-upsell-secondary { display: flex; flex-direction: column; gap: .35rem; }
  .bol-candle-upsell-dot { display: none; }
}
