.page-main:has(.blf-offer-page) {
  width: min(100% - 32px, 1216px);
  max-width: 1216px;
  padding-top: 24px;
}
.page-main:has(.blf-offer-page)>h1:first-child { display: none; }
.page-main:has(.blf-offer-page)>.page-content { max-width: none; }
.blf-offer-page {
  --blf-text: #241934;
  --blf-base: #fbf7ee;
  --blf-line: #e4d8ca;
  --blf-dark: #2d1d3b;
  --blf-shelf: #443054;
  --blf-accent: #ffda88;
  --blf-hero-text: #fff7e8;
  color: var(--blf-text);
  font: 16px/1.56 "DM Sans", system-ui, sans-serif;
}
.blf-offer-page--lifetime {
  --blf-text: #172b24;
  --blf-base: #f1f2e7;
  --blf-line: #d5dacc;
  --blf-dark: #192f29;
  --blf-shelf: #315044;
  --blf-accent: #dce7a5;
}
.blf-offer-page * { box-sizing: border-box; }
.blf-offer-page :is(h1,h2,h3) {
  font-family: "DM Serif Display", Georgia, serif;
  letter-spacing: -.043em;
  line-height: 1.03;
  font-weight: 400;
  margin: 0;
}
.blf-offer-page p { margin: 0; }
.blf-offer-page :is(a,button,input,select,summary):focus-visible {
  outline: 3px solid #8a5dbc;
  outline-offset: 3px;
}
.blf-editorial-hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 18px;
  align-items: center;
  border-radius: 20px 20px 0 0;
  background: var(--blf-dark);
  color: var(--blf-hero-text);
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
}
.blf-hero-copy { position: relative; z-index: 1; }
.blf-editorial-hero .blf-offer-label {
  color: var(--blf-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.blf-editorial-hero h1 {
  max-width: 650px;
  font-size: clamp(45px, 6.1vw, 94px);
  color: var(--blf-hero-text);
  margin-bottom: 20px;
}
.blf-editorial-hero h1 em { display: block; font-style: normal; color: var(--blf-accent); font-size: .91em; }
.blf-editorial-hero .blf-hero-description { color: #f2e9e1; max-width: 420px; font-size: clamp(16px, 1.55vw, 19px); }
.blf-editorial-hero .blf-hero-price { display: flex; align-items: baseline; gap: 8px; margin: 22px 0 12px; }
.blf-hero-price strong { font-size: 43px; color: var(--blf-hero-text); letter-spacing: -.045em; line-height: 1; }
.blf-hero-price span { color: #eee2d3; font-size: 13px; }
.blf-hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.blf-editorial-hero .blf-hero-actions>a:not(.blf-primary) { color: var(--blf-hero-text); font-size: 13px; text-underline-offset: 4px; }
.blf-offer-page .blf-primary, .blf-offer-page .blf-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  color: #21162e;
  background: var(--blf-accent);
  font: 800 14px/1.3 "DM Sans", system-ui, sans-serif;
  cursor: pointer;
}
.blf-offer-page .blf-primary:hover { filter: brightness(1.07); }
.blf-offer-page .blf-primary:disabled { opacity: .65; cursor: default; }
.blf-editorial-hero .blf-scarcity { margin-top: 11px; color: #ede0d1; font-size: 13px; }
.blf-cover-art {
  position: relative;
  min-height: clamp(270px, 30vw, 420px);
  width: 100%;
  margin: 0;
  isolation: isolate;
}
.blf-cover-art::before {
  content: "";
  position: absolute;
  inset: 7% 12% 12%;
  border-radius: 50%;
  border: 1px solid #fff3;
  background: radial-gradient(ellipse at 50% 35%, var(--blf-shelf), var(--blf-dark) 80%);
}
.blf-cover-art img {
  position: absolute;
  top: 18%;
  width: 33%;
  height: 63%;
  object-fit: cover;
  border-radius: 3px 8px 8px 3px;
  border: 1px solid #fff6;
  box-shadow: 0 20px 28px #0005;
  background: #e9e1d3;
}
.blf-cover-art img:nth-of-type(1) { left: 2%; top: 28%; transform: rotate(-21deg); }
.blf-cover-art img:nth-of-type(2) { left: 17%; transform: rotate(-11deg); z-index: 2; }
.blf-cover-art img:nth-of-type(3) { left: 34%; top: 11%; transform: rotate(-2deg); z-index: 4; }
.blf-cover-art img:nth-of-type(4) { left: 52%; transform: rotate(11deg); z-index: 2; }
.blf-cover-art img:nth-of-type(5) { left: 66%; top: 27%; transform: rotate(20deg); }
.blf-cover-art figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: #fff5e2; font-size: 12px; }
.blf-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blf-base);
  border: 1px solid var(--blf-line);
  border-top: 0;
  border-radius: 0 0 20px 20px;
}
.blf-steps div { padding: 15px clamp(13px, 3vw, 32px); }
.blf-steps div+div { border-left: 1px solid var(--blf-line); }
.blf-steps span { font-weight: 850; }
.blf-steps p { font-size: 14px; margin-top: 3px; }
.blf-offer-page .blf-picker { max-width: none; }
.blf-offer-page .blf-picker>p { margin-bottom: 14px; }
.blf-offer-page .blf-secondary-button { color: #fff; background: #48305c; margin-top: 8px; }
.blf-plan, .blf-offer-faq, .blf-compare {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 28px;
  align-items: start;
  padding: clamp(20px, 4vw, 46px);
  background: var(--blf-base);
  border: 1px solid var(--blf-line);
  border-radius: 16px;
  margin-top: 24px;
  scroll-margin-top: 50px;
}
.blf-plan h2, .blf-offer-faq h2 { color: var(--blf-text); font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 10px; }
.blf-plan ul { margin: 15px 0 0; padding-left: 19px; }
.blf-plan li+li { margin-top: 8px; }
.blf-plan-price { border-radius: 11px; padding: 22px; background: #fffdf5; border: 1px solid var(--blf-line); }
.blf-plan-price .blf-plan-number { font-size: 49px; font-weight: 850; line-height: 1; letter-spacing: -.055em; color: var(--blf-text); }
.blf-plan-number span { font-size: 15px; letter-spacing: 0; font-weight: 700; }
.blf-plan-price p { margin: 7px 0; }
.blf-plan-price button { margin-top: 9px; }
.blf-plan-message:empty { display: none; }
.blf-offer-faq { grid-template-columns: .68fr 1fr; }
.blf-offer-faq details { border-bottom: 1px solid var(--blf-line); padding: 11px 0; }
.blf-offer-faq summary { cursor: pointer; font-weight: 750; color: var(--blf-text); }
.blf-offer-faq details p { margin: 8px 0 0; }
.blf-compare { grid-template-columns: 1fr auto; align-items: center; }
.blf-compare h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 7px; color: var(--blf-text); }
.blf-account-intro { padding: 24px; margin: 0 0 22px; background: #f3ebf6; border: 1px solid #daccdf; border-radius: 12px; }
.blf-account-intro h2 { margin: 0 0 5px; }
.blf-account-intro p { margin: 0; }
@media (max-width: 840px) {
  .blf-editorial-hero { grid-template-columns: 1fr; gap: 5px; }
  .blf-cover-art { width: min(100%, 430px); justify-self: center; }
  .blf-plan, .blf-offer-faq, .blf-compare { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 460px) {
  .blf-hero-actions { flex-direction: column; align-items: start; gap: 9px; }
  .blf-editorial-hero .blf-primary { width: 100%; }
  .blf-steps { grid-template-columns: 1fr; }
  .blf-steps div+div { border-left: 0; border-top: 1px solid var(--blf-line); }
}
.woocommerce-account .woocommerce #customer_login {
  width: 100%;
  float: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.woocommerce-account .woocommerce #customer_login::before,
.woocommerce-account .woocommerce #customer_login::after { display: none; }
.woocommerce-account .woocommerce #customer_login > div {
  width: auto;
  float: none;
  min-width: 0;
  background: #fbf8f0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #e4dbcf;
  border-radius: 12px;
}
.woocommerce-account .woocommerce #customer_login h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin: 0 0 13px;
}
.woocommerce-account .woocommerce #customer_login form {
  border: 0;
  padding: 0;
  margin: 0;
}
.woocommerce-account .woocommerce #customer_login button {
  background: #332143;
  color: #fff;
  min-height: 44px;
}
@media (max-width: 680px) {
  .woocommerce-account .woocommerce #customer_login { grid-template-columns: 1fr; }
}
