/*
  Lauren Pattinson Theme — theme.css
  Global component styles, utilities, and animations.
  CSS custom properties are injected by layout/theme.liquid at runtime.
  Section-specific styles live inside each section's own <style> block.
*/

/* ═══════════════════════════════════════════════════════════
   PRODUCT / COURSE CARDS
   (Used by snippets/product-card.liquid — can't have <style>
   in a snippet, so card styles live here.)
═══════════════════════════════════════════════════════════ */

.lp-product-card {
  background-color: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.lp-product-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--lp-primary) 40%, var(--lp-border));
}

.lp-product-card__image-wrap {
  position: relative;
  overflow: hidden;
}

/* Aspect ratios driven by settings */
.card-ratio--square    .lp-product-card__image-wrap { aspect-ratio: 1 / 1; }
.card-ratio--landscape .lp-product-card__image-wrap { aspect-ratio: 4 / 3; }
.card-ratio--wide      .lp-product-card__image-wrap { aspect-ratio: 16 / 9; }

/* Default */
.lp-product-card__image-wrap { aspect-ratio: 4 / 3; }

.lp-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.lp-product-card:hover .lp-product-card__image {
  transform: scale(1.04);
}

.lp-product-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--lp-bg) 0%, var(--lp-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lp-text-muted);
}

.lp-product-card__type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background-color: var(--lp-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
}

.lp-product-card__body {
  padding: 20px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-product-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1.35;
  margin: 0;
  transition: color 0.2s;
}

.lp-product-card:hover .lp-product-card__title {
  color: var(--lp-primary);
}

.lp-product-card__excerpt {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  max-width: none;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lp-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--lp-border);
}

.lp-product-card__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--lp-primary);
}

.lp-product-card__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lp-primary);
  transition: gap 0.2s;
}

/* ═══════════════════════════════════════════════════════════
   INNER PAGE HERO
   Used on About, Contact, FAQ, Blog, Pricing pages.
═══════════════════════════════════════════════════════════ */

.lp-page-hero {
  background-color: var(--lp-primary);
  padding-block: clamp(48px, 8vw, 88px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle dot pattern */
.lp-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.lp-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.lp-page-hero__eyebrow {
  color: var(--lp-secondary);
  margin-bottom: 14px;
}

.lp-page-hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.lp-page-hero__subtext {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════ */

.lp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--lp-text-muted);
  padding-block: 14px;
}

.lp-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-breadcrumb__link {
  color: var(--lp-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.lp-breadcrumb__link:hover { color: var(--lp-primary); }

.lp-breadcrumb__sep {
  color: var(--lp-border);
  font-size: 0.7rem;
}

.lp-breadcrumb__current {
  color: var(--lp-text);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   FORM COMPONENTS
   Global form styles used across Contact, Checkout, Booking.
═══════════════════════════════════════════════════════════ */

.lp-form { display: flex; flex-direction: column; gap: 22px; }

.lp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .lp-form__row { grid-template-columns: 1fr; }
}

.lp-form__field { display: flex; flex-direction: column; gap: 7px; }

.lp-form__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-text);
}

.lp-form__label .lp-form__required {
  color: #c0392b;
  margin-left: 3px;
}

.lp-form__input,
.lp-form__textarea,
.lp-form__select {
  padding: 13px 16px;
  border: 1.5px solid var(--lp-border);
  border-radius: 6px;
  background-color: var(--lp-surface);
  color: var(--lp-text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.lp-form__input:hover,
.lp-form__textarea:hover,
.lp-form__select:hover {
  border-color: color-mix(in srgb, var(--lp-primary) 40%, var(--lp-border));
}

.lp-form__input:focus,
.lp-form__textarea:focus,
.lp-form__select:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px rgba(44, 110, 73, 0.12);
}

.lp-form__input::placeholder,
.lp-form__textarea::placeholder {
  color: var(--lp-text-muted);
  opacity: 0.7;
}

.lp-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.lp-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5l4 4 4-4' stroke='%235a5a5a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.lp-form__hint {
  font-size: 0.78rem;
  color: var(--lp-text-muted);
  margin-top: 2px;
}

.lp-form__error-msg {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.lp-form__input.has-error,
.lp-form__textarea.has-error {
  border-color: #c0392b;
}

/* Checkbox / Radio */
.lp-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.lp-form__check-input {
  width: 18px;
  height: 18px;
  border: 2px solid var(--lp-border);
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  position: relative;
}

.lp-form__check-input:checked {
  background-color: var(--lp-primary);
  border-color: var(--lp-primary);
}

.lp-form__check-input:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.lp-form__check-label {
  font-size: 0.9rem;
  color: var(--lp-text-muted);
  line-height: 1.5;
}

/* Alert banners */
.lp-alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.lp-alert--success {
  background-color: rgba(44, 110, 73, 0.1);
  border: 1px solid rgba(44, 110, 73, 0.25);
  color: #1a4a2e;
}

.lp-alert--error {
  background-color: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.25);
  color: #7a1a10;
}

.lp-alert--info {
  background-color: rgba(44, 110, 73, 0.06);
  border: 1px solid var(--lp-border);
  color: var(--lp-text);
}

/* ─────────────────────────────────────────────────────────
   Kajabi flash messages (rendered by snippets/alert_messages)
   Themed with LP brand. Sits at top of layout above header.
───────────────────────────────────────────────────────── */
.flash-messages {
  position: relative;
  padding: 14px 0;
  font-family: var(--font-body);
}
.flash-messages .container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}
.flash-messages .flash-text {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-family: var(--font-body);
}
.flash-messages .flash-text .fa {
  font-size: 1.05rem;
  padding-right: 0;
}
.flash-messages .flash-text a {
  text-decoration: underline;
  margin-left: 12px;
}

/* Success — Lauren green tint */
.flash--success {
  background-color: color-mix(in srgb, var(--lp-primary) 12%, var(--lp-surface));
  color: color-mix(in srgb, var(--lp-primary) 80%, #0a2014);
  border-bottom: 1px solid color-mix(in srgb, var(--lp-primary) 25%, transparent);
}
.flash--success .flash-text,
.flash--success .flash-text a {
  color: color-mix(in srgb, var(--lp-primary) 80%, #0a2014);
}

/* Error — soft warm red */
.flash--error {
  background-color: #fbe4df;
  color: #7a1a10;
  border-bottom: 1px solid rgba(122, 26, 16, 0.2);
}
.flash--error .flash-text,
.flash--error .flash-text a {
  color: #7a1a10;
}


/* ═══════════════════════════════════════════════════════════
   RICH TEXT / CONTENT AREAS
   For blog posts, product descriptions, policy pages.
   Wrap in .lp-richtext.
═══════════════════════════════════════════════════════════ */

.lp-richtext {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--lp-text);
  max-width: 72ch;
}

.lp-richtext--wide { max-width: 100%; }

.lp-richtext h1,
.lp-richtext h2,
.lp-richtext h3,
.lp-richtext h4 {
  font-family: var(--font-heading);
  color: var(--lp-text);
  margin-top: 2em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}

.lp-richtext h1 { font-size: 2.2rem; }
.lp-richtext h2 { font-size: 1.7rem; }
.lp-richtext h3 { font-size: 1.3rem; }
.lp-richtext h4 { font-size: 1.1rem; }

.lp-richtext p { margin-bottom: 1.25em; }

.lp-richtext a {
  color: var(--lp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.lp-richtext a:hover { color: color-mix(in srgb, var(--lp-primary) 75%, #000); }

.lp-richtext strong { font-weight: 700; color: var(--lp-text); }
.lp-richtext em { font-style: italic; }

.lp-richtext ul,
.lp-richtext ol {
  padding-left: 1.5em;
  margin-bottom: 1.25em;
  list-style: revert;
}

.lp-richtext li { margin-bottom: 0.4em; }

.lp-richtext blockquote {
  border-left: 4px solid var(--lp-secondary);
  margin-inline: 0;
  margin-block: 2em;
  padding: 20px 28px;
  background-color: var(--lp-bg);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--lp-text);
  line-height: 1.6;
}

.lp-richtext blockquote p { margin-bottom: 0; max-width: none; }

.lp-richtext hr {
  border: none;
  border-top: 1px solid var(--lp-border);
  margin-block: 2.5em;
}

.lp-richtext img {
  border-radius: var(--card-radius);
  margin-block: 1.5em;
  max-width: 100%;
}

.lp-richtext figure { margin-block: 2em; }
.lp-richtext figcaption {
  font-size: 0.82rem;
  color: var(--lp-text-muted);
  text-align: center;
  margin-top: 8px;
}

.lp-richtext table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5em;
  font-size: 0.9375rem;
}

.lp-richtext th,
.lp-richtext td {
  padding: 11px 16px;
  text-align: left;
  border: 1px solid var(--lp-border);
}

.lp-richtext th {
  background-color: var(--lp-bg);
  font-weight: 700;
  font-size: 0.875rem;
}

.lp-richtext tr:nth-child(even) td {
  background-color: var(--lp-bg);
}

.lp-richtext code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875em;
  background-color: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 4px;
  padding: 2px 6px;
}

.lp-richtext pre {
  background-color: #1a2e20;
  color: #e8e0d5;
  padding: 20px 24px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-block: 1.5em;
}

.lp-richtext pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* ═══════════════════════════════════════════════════════════
   PRICING CARDS
   Used by sections/store_builder.liquid (offer_card + custom_card blocks)
   and any other section that needs a pricing-style card.
═══════════════════════════════════════════════════════════ */

.lp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  align-items: start;
}

.lp-pricing-card {
  background-color: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}

.lp-pricing-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.lp-pricing-card--featured {
  border-color: var(--lp-primary);
  box-shadow: 0 8px 40px rgba(44, 110, 73, 0.14);
}

.lp-pricing-card__popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--lp-secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.lp-pricing-card__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-primary);
  margin-bottom: 10px;
}

.lp-pricing-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lp-text);
  margin-bottom: 6px;
}

.lp-pricing-card__desc {
  font-size: 0.9rem;
  color: var(--lp-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: none;
}

.lp-pricing-card__price-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lp-border);
}

.lp-pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--lp-text);
  line-height: 1;
}

.lp-pricing-card__currency {
  font-size: 1.4rem;
  vertical-align: super;
  margin-right: 2px;
}

.lp-pricing-card__period {
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  margin-top: 4px;
}

.lp-pricing-card__features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--lp-text);
  line-height: 1.45;
}

.lp-pricing-card__feature::before {
  content: '';
  width: 18px;
  height: 18px;
  background-color: rgba(44, 110, 73, 0.12);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%232c6e49' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.lp-pricing-card__feature--unavailable {
  color: var(--lp-text-muted);
}

.lp-pricing-card__feature--unavailable::before {
  background-color: var(--lp-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 12 12'%3E%3Cpath d='M9 3L3 9M3 3l6 6' stroke='%23c0c0c0' stroke-width='1.75' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION
   Used on templates/faq.liquid
═══════════════════════════════════════════════════════════ */

.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.lp-faq-item {
  border-bottom: 1px solid var(--lp-border);
}

.lp-faq-item:last-child { border-bottom: none; }

.lp-faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-text);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.lp-faq-item__trigger:hover {
  background-color: rgba(44, 110, 73, 0.04);
  color: var(--lp-primary);
}

.lp-faq-item.is-open .lp-faq-item__trigger {
  color: var(--lp-primary);
  background-color: rgba(44, 110, 73, 0.04);
}

.lp-faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--lp-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s, transform 0.3s;
  color: var(--lp-text-muted);
}

.lp-faq-item.is-open .lp-faq-item__icon {
  background-color: var(--lp-primary);
  border-color: var(--lp-primary);
  color: #fff;
  transform: rotate(45deg);
}

.lp-faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.lp-faq-item.is-open .lp-faq-item__answer {
  grid-template-rows: 1fr;
}

.lp-faq-item__answer-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 24px;
}

.lp-faq-item.is-open .lp-faq-item__answer-inner {
  padding-bottom: 22px;
}

.lp-faq-item__answer-inner p,
.lp-faq-item__answer-inner li {
  font-size: 0.9375rem;
  color: var(--lp-text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   TAB COMPONENT
═══════════════════════════════════════════════════════════ */

.lp-tabs {}

.lp-tabs__nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--lp-border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}

.lp-tabs__nav::-webkit-scrollbar { display: none; }

.lp-tabs__btn {
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lp-text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.lp-tabs__btn:hover { color: var(--lp-primary); }

.lp-tabs__btn.is-active {
  color: var(--lp-primary);
  font-weight: 600;
  border-bottom-color: var(--lp-primary);
}

.lp-tabs__panel { display: none; }
.lp-tabs__panel.is-active { display: block; }

/* ═══════════════════════════════════════════════════════════
   BOOKING EMBED (Calendly wrapper)
═══════════════════════════════════════════════════════════ */

.lp-booking-wrap {
  background-color: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 640px;
}

.lp-booking-wrap iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */

.lp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(32px, 5vw, 56px);
}

.lp-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  border: 1px solid var(--lp-border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--lp-text);
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.lp-pagination__item:hover,
.lp-pagination__item.is-active {
  background-color: var(--lp-primary);
  border-color: var(--lp-primary);
  color: #fff;
}

.lp-pagination__item--prev,
.lp-pagination__item--next {
  width: auto;
  padding-inline: 14px;
  gap: 6px;
}

.lp-pagination__item--disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO EMBED
═══════════════════════════════════════════════════════════ */

.lp-video-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: #000;
}

.lp-video-wrap iframe,
.lp-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   JS adds .is-visible when element enters viewport.
═══════════════════════════════════════════════════════════ */

[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
}

[data-animate="fade-up"] {
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-in"] {
  transform: none;
  transition: opacity 0.6s ease;
}

[data-animate="slide-left"] {
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="slide-right"] {
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="scale-up"] {
  transform: scale(0.94);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered delay utilities */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="500"] { transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate],
  [data-animate].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL LINKS COMPONENT STYLES
   (used by snippets/social-links.liquid)
═══════════════════════════════════════════════════════════ */

.lp-social-links {
  display: flex;
  gap: 10px;
}

.lp-social-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.lp-social-links__item:hover { transform: translateY(-2px); }

.lp-social-links--dark .lp-social-links__item {
  background-color: var(--lp-bg);
  border: 1px solid var(--lp-border);
  color: var(--lp-text-muted);
}

.lp-social-links--dark .lp-social-links__item:hover {
  background-color: var(--lp-primary);
  border-color: var(--lp-primary);
  color: #fff;
}

.lp-social-links--light .lp-social-links__item {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.lp-social-links--light .lp-social-links__item:hover {
  background-color: var(--lp-secondary);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════ */

/* Screen-reader only */
.visually-hidden,
.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;
}

/* Text alignment */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-left   { text-align: left; }

/* Colour utilities */
.text-primary   { color: var(--lp-primary) !important; }
.text-secondary { color: var(--lp-secondary) !important; }
.text-muted     { color: var(--lp-text-muted) !important; }

/* Display */
.d-none   { display: none !important; }
.d-block  { display: block !important; }
.d-flex   { display: flex !important; }

/* Spacing helpers */
.mt-0  { margin-top: 0 !important; }
.mb-0  { margin-bottom: 0 !important; }
.mt-sm { margin-top: 16px !important; }
.mb-sm { margin-bottom: 16px !important; }
.mt-md { margin-top: 32px !important; }
.mb-md { margin-bottom: 32px !important; }

/* Max width content clamp */
.max-prose { max-width: 68ch; }
.max-wide  { max-width: 900px; margin-inline: auto; }

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════ */

@media print {
  .lp-header,
  .lp-footer,
  .lp-newsletter,
  .lp-hamburger,
  .lp-mobile-menu,
  .lp-mobile-menu__backdrop,
  .lp-btn { display: none !important; }

  body { font-size: 12pt; color: #000; background: #fff; }

  .lp-richtext a::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .lp-page-hero {
    background: none;
    padding: 0;
  }

  .lp-page-hero__heading { color: #000; }
}

/* ═══════════════════════════════════════════════════════════
   BASE RESET & FOUNDATION
   (Moved from theme.liquid — these are needed globally)
═══════════════════════════════════════════════════════════ */

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--lp-bg);
  color: var(--lp-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── Container ── */
.lp-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

/* ── Eyebrow label ── */
.lp-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-secondary);
}

/* ── Buttons ── */

/*
  All .lp-btn variants share identical box-model so filled and outline
  buttons are always the same height. We use CSS custom properties driven
  by global settings so the admin can customise size, weight, case and
  letter-spacing without touching code.
*/
.lp-btn {
  /* Layout — explicit box-sizing guards against Kajabi core.css interference */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: middle;

  /* Sizing — driven by CSS vars (set in global_head from settings) */
  padding: var(--btn-padding-y, 13px) var(--btn-padding-x, 28px);
  font-size: var(--btn-font-size, 0.9375rem);

  /* Typography */
  font-family: var(--font-body);
  font-weight: var(--btn-font-weight, 600);
  line-height: 1;
  letter-spacing: var(--btn-letter-spacing, 0);
  text-transform: var(--btn-text-transform, none);
  white-space: nowrap;
  text-decoration: none;

  /* Appearance — every variant gets the same 2px border so height is equal */
  border: 2px solid transparent;
  border-radius: var(--btn-radius, 4px);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
              filter 0.2s, transform 0.15s;
}
.lp-btn:hover  { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); }

.lp-btn--primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
}
.lp-btn--primary:hover { filter: brightness(0.88); }

.lp-btn--secondary {
  background-color: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-bg);
}
.lp-btn--secondary:hover { filter: brightness(0.88); }

.lp-btn--outline {
  background-color: transparent;
  color: var(--btn-primary-bg);
  border-color: var(--btn-primary-bg);
}
.lp-btn--outline:hover {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

.lp-btn--outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.lp-btn--outline-light:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Hard-coded size overrides for specific placements (nav CTA, etc.) */
.lp-btn--sm   { padding: 9px 20px;  font-size: 0.875rem; }
.lp-btn--lg   { padding: 16px 36px; font-size: 1rem; }
.lp-btn--full { width: 100%; }

/* ── Skip link (accessibility) ── */
.lp-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 8px 16px;
  background: var(--lp-primary);
  color: #fff;
  font-size: 0.875rem;
  z-index: 9999;
  border-radius: 0 0 4px 0;
  transition: top 0.2s;
}
.lp-skip-link:focus { top: 0; }

/* ── Section spacing utility ── */
.lp-section { padding-block: var(--section-py); }

/* ── Editor empty-state (shown only when no blocks added) ── */
.lp-editor-empty {
  padding: 48px 24px;
  text-align: center;
  border: 2px dashed rgba(83, 95, 215, 0.35);
  border-radius: 8px;
  margin: 24px auto;
  max-width: 480px;
  color: rgba(83, 95, 215, 0.75);
  background: rgba(83, 95, 215, 0.03);
}
.lp-editor-empty__icon  { font-size: 2rem; margin-bottom: 12px; }
.lp-editor-empty__title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; max-width: none; }
.lp-editor-empty__body  { font-size: 0.875rem; opacity: 0.8; max-width: none; }

/* ── Visibility utilities (set per-section in editor) ── */
@media (min-width: 768px) {
  .lp-hidden--desktop { display: none !important; }
}
@media (max-width: 767px) {
  .lp-hidden--mobile  { display: none !important; }
}

/* ── Heading scale ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--lp-text);
}
h1 { font-size: clamp(2rem,   5vw, 3.5rem);  }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem);  }
h3 { font-size: clamp(1.25rem,3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p { max-width: 68ch; }
p + p { margin-top: 1em; }



/* ─────────────────────────────────────────────
   PAGE-BUILDER SECTION & BLOCKS (Phase 2)
   ───────────────────────────────────────────── */
.lp-section { position: relative; }
.lp-section__inner { position: relative; }
.lp-block { display: block; min-width: 0; }
.lp-block__inner { position: relative; }

/* Block-specific base styling (CSS scope-safe — won't override per-block styles) */
.lp-block--cta { display: flex; }
.lp-block--cta[style*="text-align: center"] { justify-content: center; }
.lp-block--cta[style*="text-align: right"]  { justify-content: flex-end; }

/* Form fields used by block_form */
.lp-form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-text);
}
.lp-form-input,
.lp-block__form input[type="text"],
.lp-block__form input[type="email"],
.lp-block__form input[type="tel"],
.lp-block__form input[type="url"],
.lp-block__form input[type="number"],
.lp-block__form textarea,
.lp-block__form select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--lp-text);
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lp-form-input:focus,
.lp-block__form input:focus,
.lp-block__form textarea:focus,
.lp-block__form select:focus {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-primary) 12%, transparent);
}


/* ─────────────────────────────────────────────
   BLOG CARD & SIDEBAR (Phase 3)
   ───────────────────────────────────────────── */
.lp-blog-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lp-blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--lp-primary);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.lp-blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.lp-blog-card__media {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--lp-border);
  overflow: hidden;
}
.lp-blog-card__image,
.lp-blog-card__image-placeholder {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.lp-blog-card__image-placeholder {
  background: linear-gradient(135deg, color-mix(in srgb, var(--lp-primary) 10%, var(--lp-border)), var(--lp-border));
}
.lp-blog-card__body { padding: 20px 22px 22px; }
.lp-blog-card__meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--lp-text-muted);
  margin-bottom: 10px;
}
.lp-blog-card__tag {
  display: inline-block;
  background: color-mix(in srgb, var(--lp-primary) 10%, transparent);
  color: var(--lp-primary);
  padding: 2px 10px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-right: 4px;
}
.lp-blog-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem; line-height: 1.3;
  color: var(--lp-text);
  margin: 0 0 10px;
}
.lp-blog-card__excerpt {
  font-size: 0.9rem; color: var(--lp-text-muted);
  line-height: 1.65; margin: 0 0 14px;
}
.lp-blog-card__read-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.875rem; font-weight: 600;
  color: var(--lp-primary);
}

/* Sidebar (used by blog_listings + blog_post_body) */
.lp-blog-sidebar { display: flex; flex-direction: column; gap: 18px; }
.lp-blog-sidebar__card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius);
  padding: 22px 20px;
}
.lp-blog-sidebar__heading {
  font-family: var(--font-heading);
  font-size: 1rem; font-weight: 700;
  color: var(--lp-text);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--lp-border);
}
.lp-blog-sidebar__search {
  display: flex; flex-direction: column; gap: 10px;
}
.lp-blog-sidebar__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.lp-blog-sidebar__link {
  display: flex; gap: 12px;
  text-decoration: none; color: inherit;
}
.lp-blog-sidebar__link:hover .lp-blog-sidebar__post-title { color: var(--lp-primary); }
.lp-blog-sidebar__thumb {
  width: 56px; height: 56px;
  object-fit: cover; border-radius: 6px; flex-shrink: 0;
}
.lp-blog-sidebar__post-title {
  display: block;
  font-size: 0.875rem; font-weight: 600;
  color: var(--lp-text); line-height: 1.35;
  transition: color 0.2s;
}
.lp-blog-sidebar__post-date {
  display: block;
  font-size: 0.75rem; color: var(--lp-text-muted);
  margin-top: 2px;
}
.lp-blog-sidebar__cta-body {
  font-size: 0.875rem; line-height: 1.6;
  color: var(--lp-text-muted);
  margin-bottom: 14px;
}
.lp-blog-sidebar__card--cta {
  background: color-mix(in srgb, var(--lp-primary) 5%, var(--lp-surface));
  border-color: color-mix(in srgb, var(--lp-primary) 25%, var(--lp-border));
}


/* ─────────────────────────────────────────────
   EMBEDDED CHECKOUT — Prosper-compat grid classes
   (Phase 7 — minimal Bootstrap-like utilities needed by
   page_embedded_checkout.liquid and embedded_checkout.liquid)
   ───────────────────────────────────────────── */

/* Section wrapper Prosper uses inside embedded_checkout */
.section {
  position: relative;
}
.section__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.sizer {
  position: relative;
  z-index: 1;
}
.sizer--full {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* .container — note: this is global, but Prosper uses it inside .section */
.section .container,
.section .container--full {
  margin-inline: auto;
  padding-inline: 16px;
  max-width: 1260px;
}
.section .container--full {
  max-width: 100%;
}

/* Bootstrap-like 12-col row + col system */
.section .row,
.section [class^="row-"],
.section [class*=" row-"] {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.section .row-for-desktop-and-wide-tablet-only {
  display: flex;
  flex-wrap: wrap;
}

/* 12-col widths */
.section .col-1  { flex: 0 0 calc(8.333% - 16px); }
.section .col-2  { flex: 0 0 calc(16.666% - 16px); }
.section .col-3  { flex: 0 0 calc(25% - 16px); }
.section .col-4  { flex: 0 0 calc(33.333% - 16px); }
.section .col-5  { flex: 0 0 calc(41.666% - 16px); }
.section .col-6  { flex: 0 0 calc(50% - 16px); }
.section .col-7  { flex: 0 0 calc(58.333% - 16px); }
.section .col-8  { flex: 0 0 calc(66.666% - 16px); }
.section .col-9  { flex: 0 0 calc(75% - 16px); }
.section .col-10 { flex: 0 0 calc(83.333% - 16px); }
.section .col-11 { flex: 0 0 calc(91.666% - 16px); }
.section .col-12 { flex: 0 0 100%; }

/* Stack on mobile / small tablet */
@media (max-width: 1023px) {
  .section .row > [class^="col-"],
  .section .row > [class*=" col-"] {
    flex: 0 0 100%;
  }
}

/* Flexbox alignment helpers */
.section .align-items-top,
.section .align-items-flex-start { align-items: flex-start; }
.section .align-items-center     { align-items: center; }
.section .align-items-bottom,
.section .align-items-flex-end   { align-items: flex-end; }
.section .align-items-stretch    { align-items: stretch; }
.section .justify-content-start,
.section .justify-content-flex-start  { justify-content: flex-start; }
.section .justify-content-center      { justify-content: center; }
.section .justify-content-end,
.section .justify-content-flex-end    { justify-content: flex-end; }
.section .justify-content-between,
.section .justify-content-space-between { justify-content: space-between; }
.section .justify-content-around,
.section .justify-content-space-around  { justify-content: space-around; }

/* Hide on breakpoints */
.section .hidden--desktop { display: none !important; }
@media (max-width: 767px) {
  .section .hidden--desktop { display: block !important; }
  .section .hidden--mobile  { display: none !important; }
}

/* Text alignment used inside checkout columns */
.section .text-left   { text-align: left; }
.section .text-center { text-align: center; }
.section .text-right  { text-align: right; }

/* Box shadows referenced in schema */
.section .box-shadow-none   { box-shadow: none; }
.section .box-shadow-small  { box-shadow: 0 2px 8px  rgba(0,0,0,0.06); }
.section .box-shadow-medium { box-shadow: 0 6px 18px rgba(0,0,0,0.10); }
.section .box-shadow-large  { box-shadow: 0 14px 32px rgba(0,0,0,0.14); }

/* Editor null placeholder (Prosper convention) */
.section .editor-null,
.editor-null {
  padding: 24px;
  background: var(--lp-bg);
  border: 1px dashed var(--lp-border);
  border-radius: var(--card-radius);
  text-align: center;
  color: var(--lp-text-muted);
}

/* Background color scheme classes (Prosper's color_scheme_class filter output) */
.background-light   { background-color: var(--lp-surface); }
.background-dark    { background-color: var(--lp-text);    color: var(--lp-text-on-dark); }
.background-primary { background-color: var(--lp-primary); color: var(--lp-text-on-dark); }

/* ──────────────────────────────────────────────────────────────
   Scheduling block (native Kajabi coaching scheduling widget)
   ────────────────────────────────────────────────────────────── */
.lp-scheduling {
  display: flex;
  flex-direction: column;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  overflow: hidden;
}
.lp-scheduling__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.lp-scheduling__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 28px);
}
.lp-scheduling__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--lp-text);
  margin: 0;
}
.lp-scheduling__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-text-muted);
  font-size: 0.95rem;
}
.lp-scheduling__meta-sep { color: var(--lp-border); }
.lp-scheduling__desc {
  color: var(--lp-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: none;
}
.lp-scheduling__cta { margin-top: 4px; }

/* ──────────────────────────────────────────────────────────────
   Event block (dated event + add-to-calendar links)
   ────────────────────────────────────────────────────────────── */
.lp-event {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  padding: clamp(22px, 3vw, 30px);
}
.lp-event__title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--lp-text);
  margin: 0 0 6px;
}
.lp-event__date {
  font-weight: 600;
  color: var(--lp-primary);
  margin: 0 0 10px;
  max-width: none;
}
.lp-event__desc {
  color: var(--lp-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: none;
}
.lp-event__cal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.lp-event__cal-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lp-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.lp-event__cal-link:hover { border-bottom-color: var(--lp-primary); }
.lp-event__cta { margin-top: 18px; }

/* ──────────────────────────────────────────────────────────────
   Pricing card block
   ────────────────────────────────────────────────────────────── */
.lp-pricing {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.lp-pricing:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.lp-pricing--highlight {
  border-color: var(--lp-primary);
  box-shadow: 0 0 0 1px var(--lp-primary);
}
.lp-pricing__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--lp-primary);
  color: var(--lp-text-on-dark, #fff);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.lp-pricing__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.lp-pricing__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 32px);
  flex: 1;
}
.lp-pricing__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--lp-text);
  margin: 0;
}
.lp-pricing__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lp-text);
  margin: 4px 0 0;
  max-width: none;
}
.lp-pricing__period {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--lp-text-muted);
  margin-left: 4px;
}
.lp-pricing__caption {
  color: var(--lp-text-muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: none;
}
.lp-pricing__features {
  margin: 8px 0 4px;
  color: var(--lp-text);
  font-size: 0.95rem;
}
.lp-pricing__features ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-pricing__features ul li {
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}
.lp-pricing__features ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lp-primary);
  /* check mark */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 14px no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center / 14px no-repeat;
}
.lp-pricing__cta { margin-top: auto; padding-top: 18px; }
.lp-pricing__cta-secondary { margin-top: 10px; }

/* ──────────────────────────────────────────────────────────────
   Audio block
   ────────────────────────────────────────────────────────────── */
.lp-audio {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  padding: clamp(16px, 2.5vw, 22px);
}
.lp-audio .editor-null { margin: 0; }

/* ──────────────────────────────────────────────────────────────
   Link list block
   ────────────────────────────────────────────────────────────── */
.lp-link-list__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--lp-text);
  margin: 0 0 14px;
}
.lp-link-list__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.lp-link-list--vertical .lp-link-list__links { flex-direction: column; }
.lp-link-list--horizontal .lp-link-list__links {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.lp-link-list__link {
  color: var(--lp-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.lp-link-list__link:hover {
  border-bottom-color: var(--lp-primary);
}

/* ──────────────────────────────────────────────────────────────
   Content card block
   ────────────────────────────────────────────────────────────── */
.lp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.lp-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
}
.lp-card__image-link { display: block; }
.lp-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.lp-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 3vw, 26px);
  flex: 1;
}
.lp-card__text { color: var(--lp-text); font-size: 0.95rem; line-height: 1.6; }
.lp-card__cta { margin-top: auto; padding-top: 8px; }
.lp-card__footer {
  margin: 0;
  font-size: 0.85rem;
  color: var(--lp-text-muted);
  max-width: none;
}

/* ──────────────────────────────────────────────────────────────
   Store-style card block (manual product card)
   ────────────────────────────────────────────────────────────── */
.lp-custom-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.lp-custom-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  border-color: var(--lp-primary);
}
.lp-custom-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.lp-custom-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(18px, 2.5vw, 24px);
  flex: 1;
}
.lp-custom-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--lp-text);
  margin: 0;
}
.lp-custom-card__desc {
  color: var(--lp-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: none;
}
.lp-custom-card__price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lp-primary);
  margin: 4px 0 0;
  max-width: none;
}

/* ──────────────────────────────────────────────────────────────
   Event video block (time-gated)
   ────────────────────────────────────────────────────────────── */
.lp-evid {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: var(--card-radius, 14px);
  overflow: hidden;
}
.lp-evid__panel--before,
.lp-evid__panel--after {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 4vw, 48px);
}
.lp-evid__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--lp-text);
  margin: 0;
}
.lp-evid__countdown {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
}
.lp-evid__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}
.lp-evid__num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lp-primary);
}
.lp-evid__lbl {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
  margin-top: 6px;
}
.lp-evid__cta { margin-top: 4px; }
/* Editor: reveal + label all three states */
.lp-evid--editor .lp-evid__panel { position: relative; border-bottom: 1px solid var(--lp-border); }
.lp-evid--editor .lp-evid__panel::after {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-text-muted);
}
.lp-evid--editor .lp-evid__panel--before::after { content: "Before event"; }
.lp-evid--editor .lp-evid__panel--live::after   { content: "Live (video)"; }
.lp-evid--editor .lp-evid__panel--after::after  { content: "After event"; }
.background-accent  { background-color: var(--lp-secondary); color: var(--lp-text-on-dark); }
