/* Married Today — Homepage styles. Scoped under .mt-home; builds on tokens.css. */

.mt-home { font-family: var(--font-body); color: var(--ink-900); background: var(--bg); -webkit-font-smoothing: antialiased; }
.mt-home *, .mt-home *::before, .mt-home *::after { box-sizing: border-box; }
.mt-home a { color: inherit; text-decoration: none; }
.mt-home img { display: block; max-width: 100%; }
.mt-home p { margin: 0; }

/* ---- layout primitives ---- */
.mt-home .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mt-home .narrow { max-width: 820px; margin: 0 auto; }
.mt-home .sec { padding: 104px 0; }
.mt-home .serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.mt-home .ital { font-style: italic; color: var(--accent-500); }
.mt-home .over { font: 500 12px/1 var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-600); }
.mt-home .mt-rule { display: inline-block; width: 18px; height: 1px; background: var(--accent-500); }
.mt-ic { display: inline-flex; align-items: center; line-height: 0; }
.mt-ic svg { stroke-width: 1.75; }

/* ---- buttons ---- */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body); font-weight: 600; border: none; border-radius: var(--r-pill); cursor: pointer; text-decoration: none; line-height: 1; white-space: nowrap; transition: var(--transition-colors), transform var(--dur-fast) var(--ease-soft); }
.mt-btn--md { height: 46px; padding: 0 22px; font-size: 15px; }
.mt-btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.mt-btn--primary { background: var(--accent); color: var(--text-on-accent); }
.mt-btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.mt-btn--primary:active { background: var(--accent-press); transform: translateY(1px); }
.mt-btn--secondary { background: var(--paper); color: var(--ink-900); box-shadow: var(--ring-subtle); }
.mt-btn--secondary:hover { box-shadow: var(--shadow-sm); }
.mt-btn--ghost { background: transparent; color: var(--accent); }
.mt-btn--ghost:hover { background: var(--accent-wash); }
.mt-btn svg { width: 1em; height: 1em; }

/* ---- stars (fractional fill via clipped overlay) ---- */
.mt-stars { position: relative; display: inline-flex; line-height: 1; white-space: nowrap; font-size: 15px; }
.mt-stars__base, .mt-stars__fill { letter-spacing: 1px; }
.mt-stars__base { color: var(--accent-200); }
.mt-stars__fill { position: absolute; left: 0; top: 0; color: var(--accent-500); overflow: hidden; }

/* ---- cards ---- */
.mt-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--ring-subtle); }
.mt-card--p30 { padding: 30px; }
.mt-card--p28 { padding: 28px; }
.mt-card--hover { transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.mt-card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ---- shared section head ---- */
.mt-head { text-align: center; margin: 0 auto 56px; }
.mt-head h2 { font-size: 44px; margin: 14px 0 0; }
.mt-head p { font: 400 17px/1.6 var(--font-body); color: var(--ink-500); margin: 16px auto 0; }
.mt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.mt-grid-3 > * { height: 100%; margin-top: 0; } /* equal-height, top-aligned cards (kill WP's default block-gap margin on the 2nd/3rd grid items) */

/* ---- header ---- */
.mt-header { position: sticky; top: 0; z-index: 30; background: rgba(246,244,239,0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mt-header__bar { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.mt-logo { display: flex; align-items: center; gap: 11px; }
.mt-logo__link { display: flex; align-items: center; } /* wraps the wordmark → clickable home link, no baseline gap */
.mt-logo img { display: block; height: 46px; width: auto; } /* VSDM wordmark logo (header + footer) */
.mt-wordmark { font-size: 23px; }
.mt-nav__link { font: 500 15px/1 var(--font-body); color: var(--ink-700); }
.mt-header__right { display: flex; align-items: center; gap: 18px; }
.mt-login { font: 500 15px/1 var(--font-body); color: var(--ink-500); }

/* ---- hero ---- */
.mt-hero { background: var(--bg); padding: 88px 0 64px; text-align: center; }
.mt-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.mt-hero__h1 { font-size: 66px; line-height: 1.04; margin: 22px auto 0; max-width: 880px; }
.mt-home .mt-hero__sub { font: 400 20px/1.55 var(--font-body); color: var(--ink-700); max-width: 660px; margin: 22px auto 0; }
.mt-hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; }
.mt-rating { display: inline-flex; align-items: center; gap: 10px; font: 500 14px/1 var(--font-body); color: var(--ink-500); }
.mt-rating strong { color: var(--ink-900); }
.mt-rating__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--paper-4); }

/* ---- trust bar ---- */
.mt-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.mt-trust__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 22px; padding: 20px 32px; }
.mt-trust__item { display: flex; align-items: center; gap: 9px; font: 500 14px/1 var(--font-body); color: var(--ink-700); }

/* ---- how it works ---- */
.mt-step__top { display: flex; align-items: center; justify-content: space-between; }
.mt-step__tile { width: 54px; height: 54px; border-radius: var(--r-lg); background: var(--accent-50); display: flex; align-items: center; justify-content: center; }
.mt-step__num { font-size: 42px; color: var(--paper-4); }
.mt-step h3 { font: 600 22px/1.2 var(--font-body); margin: 24px 0 8px; }
.mt-step p { font: 400 15px/1.6 var(--font-body); color: var(--ink-500); }
.mt-steps__link { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--font-body); color: var(--accent-600); margin-top: 36px; }

/* ---- legal block ---- */
.mt-legal { background: var(--paper-2); }
.mt-legal .mt-head { max-width: 720px; margin-bottom: 48px; }
.mt-legal .mt-head strong { color: var(--ink-900); }
.mt-feat__tile { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--brand-50); display: flex; align-items: center; justify-content: center; }
.mt-feat h3 { font: 600 20px/1.2 var(--font-body); margin: 18px 0 8px; }
.mt-feat p { font: 400 15px/1.55 var(--font-body); color: var(--ink-500); }

/* ---- social proof gallery ---- */
.mt-social .mt-head { max-width: 640px; margin-bottom: 40px; }
/* Auto-scrolling marquee: the [mt_carousel] shortcode outputs two identical
   copies of the photo set inside .mt-gallery__track; translating -50% loops it
   seamlessly. Pauses on hover; disabled under prefers-reduced-motion. */
.mt-gallery { overflow: hidden; padding: 6px 0 16px; }
.mt-gallery__track { display: flex; flex-wrap: nowrap; width: max-content; animation: mt-marquee var(--mt-marquee-duration, 40s) linear infinite; will-change: transform; }
.mt-gallery:hover .mt-gallery__track { animation-play-state: paused; }
.mt-gallery--ltr .mt-gallery__track { animation-direction: reverse; }
.mt-gtile { flex: 0 0 200px; width: 200px; aspect-ratio: 1; margin-right: 16px; border-radius: var(--r-lg); box-shadow: var(--ring-subtle); overflow: hidden; }
.mt-gtile img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes mt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mt-gallery { overflow-x: auto; }
  .mt-gallery__track { animation: none; width: auto; }
}

/* ---- inclusion ---- */
.mt-incl { background: var(--accent-50); }
.mt-incl .wrap { text-align: center; }
.mt-incl__chip { width: 56px; height: 56px; border-radius: 50%; background: var(--paper); box-shadow: var(--ring-subtle); display: inline-flex; align-items: center; justify-content: center; }
.mt-incl h2 { font-size: 46px; margin: 22px 0 0; }
.mt-incl p { font: 400 19px/1.6 var(--font-body); color: var(--ink-700); max-width: 660px; margin: 18px auto 0; }

/* ---- credibility strip ---- */
.mt-cred { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; padding: 40px 32px; }
.mt-cred__item { display: flex; align-items: center; gap: 10px; opacity: 0.85; font: 500 14px/1 var(--font-body); color: var(--ink-500); }

/* ---- FAQ ---- */
.mt-faq .mt-head { margin-bottom: 36px; }
.mt-faq__list { display: flex; flex-direction: column; gap: 12px; }
.mt-faq__item { cursor: pointer; }
.mt-faq__q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font: 600 17px/1.3 var(--font-body); }
.mt-faq__toggle { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.mt-faq__toggle::before, .mt-faq__toggle::after { content: ""; position: absolute; background: var(--accent-500); border-radius: 2px; transition: opacity var(--dur-base) var(--ease-soft); }
.mt-faq__toggle::before { left: 0; top: 8px; width: 18px; height: 2px; }
.mt-faq__toggle::after { top: 0; left: 8px; width: 2px; height: 18px; }
.mt-faq__item.is-open .mt-faq__toggle::after { opacity: 0; }
.mt-faq__a { padding: 0 24px 22px; font: 400 15px/1.65 var(--font-body); color: var(--ink-500); display: none; }
.mt-faq__item.is-open .mt-faq__a { display: block; }

/* ---- final CTA ---- */
.mt-final { padding-bottom: 96px; }
.mt-final__panel { background: var(--brand-900); border-radius: var(--r-2xl); padding: 72px 40px; text-align: center; color: var(--text-on-dark); }
.mt-final__panel h2 { font-size: 48px; margin: 0; color: #F4F1EB; }
.mt-final__panel .ital, .mt-final__panel h2 em { color: var(--accent-200); }
.mt-final__panel .wp-block-buttons { justify-content: center; } /* center the CTA button under the centered copy */
.mt-final__panel p { font: 400 18px/1.6 var(--font-body); color: #C7D0C9; max-width: 560px; margin: 18px auto 0; }
.mt-final__panel .mt-btn { margin-top: 30px; }

/* ---- footer ---- */
.mt-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 60px 0 36px; }
.mt-footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.mt-footer__desc { font: 400 14px/1.6 var(--font-body); color: var(--ink-500); max-width: 290px; margin-top: 14px; }
.mt-footer__rating { display: flex; align-items: center; gap: 8px; margin-top: 16px; font: 500 13px/1 var(--font-body); color: var(--ink-500); }
.mt-footer__col h4 { font: 600 13px/1 var(--font-body); color: var(--ink-900); margin: 0 0 14px; }
.mt-footer__link { display: block; font: 400 14px/2.1 var(--font-body); color: var(--ink-500); }
.mt-footer__link:hover { color: var(--accent-600); }
.mt-footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.mt-footer__legal { font: 400 13px/1.5 var(--font-body); color: var(--ink-400); max-width: 680px; }
.mt-footer__lang { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1 var(--font-body); color: var(--ink-500); }
/* Footer is a GLOBAL template part (used on every page, not just .mt-home), so
   re-declare the utility classes it relies on — these are otherwise .mt-home-scoped. */
.mt-footer .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.mt-footer .serif { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; }
.mt-footer .ital { font-style: italic; color: var(--accent-500); }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .mt-home .sec { padding: 64px 0; }
  .mt-grid-3 { grid-template-columns: 1fr; }
  .mt-hero { padding: 56px 0 48px; }
  .mt-hero__h1 { font-size: 44px; }
  .mt-hero__sub { font-size: 18px; }
  .mt-head h2, .mt-incl h2 { font-size: 34px; }
  .mt-final__panel { padding: 56px 28px; }
  .mt-final__panel h2 { font-size: 36px; }
  .mt-gtile { flex-basis: 150px; width: 150px; }
  .mt-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .mt-home .wrap { padding: 0 20px; }
  .mt-hero__h1 { font-size: 36px; }
  .mt-nav { display: none; }
  .mt-footer__cols { grid-template-columns: 1fr; }
  .mt-trust__row { justify-content: flex-start; }
}

/* ============================================================
   Core-block (editable homepage) adaptations
   ============================================================ */
.mt-home .mt-header__bar { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 32px; min-height: 76px; }
.mt-home .mt-logo__img { margin: 0; }
.mt-home .mt-logo__img img { display: block; width: 50px; height: auto; }
.mt-home .mt-wordmark, .mt-home .mt-nav__link, .mt-home .mt-login { margin: 0; }
.mt-home .mt-hero__h1 em, .mt-home .mt-wordmark em, .mt-home .ital { font-style: italic; color: var(--accent-500); }
.mt-home .mt-nav__link { font: 500 15px/1 var(--font-body); color: var(--ink-700); }
.mt-home .mt-login { font: 500 15px/1 var(--font-body); color: var(--ink-500); }

.mt-home .mt-hero__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; }
.mt-home .mt-rating { gap: 10px; }
.mt-home .mt-rating__text { margin: 0; font: 500 14px/1 var(--font-body); color: var(--ink-500); }
.mt-home .mt-rating__text strong { color: var(--ink-900); }

.mt-home .mt-trust__row { gap: 14px 22px; padding-top: 20px; padding-bottom: 20px; }
.mt-home .mt-trust__item { gap: 9px; }
.mt-home .mt-trust__label { margin: 0; font: 500 14px/1 var(--font-body); color: var(--ink-700); }

/* core Button block → brand CTA */
.mt-home .mt-cta { margin: 0; }
.mt-home .mt-cta .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: var(--text-on-accent);
  border-radius: var(--r-pill); border: none; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; line-height: 1;
  transition: var(--transition-colors), transform var(--dur-fast) var(--ease-soft);
}
.mt-home .mt-cta .wp-block-button__link:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.mt-home .mt-cta .wp-block-button__link:active { background: var(--accent-press); transform: translateY(1px); }
.mt-home .mt-cta--lg .wp-block-button__link { height: 56px; padding: 0 28px; font-size: 16px; }
.mt-home .mt-cta--md .wp-block-button__link { height: 46px; padding: 0 22px; font-size: 15px; }
.mt-home .mt-cta--lg .wp-block-button__link::after {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23FFFDFB' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   Pricing lockup — [vsdm_pricing] from the Married Commerce plugin.
   Switcher (pill tabs) + plan cards + feature list. Plugin emits the
   markup + the is-active toggle behaviour; the theme owns all styling.
   Not .mt-home-scoped — this renders on the /pricing/ page.
   ============================================================ */
.mt-pricing { max-width: 560px; margin: 40px auto; padding: 0 20px; text-align: center; font-family: var(--font-body); color: var(--ink-900); }
.mt-pricing__tabs { display: inline-flex; gap: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; margin-bottom: 26px; background: var(--paper); }
.mt-pricing__tab { border: 0; border-radius: var(--r-pill); padding: 10px 26px; font: 600 15px/1 var(--font-body); color: var(--ink-500); background: transparent; cursor: pointer; transition: var(--transition-colors); }
.mt-pricing__tab.is-active { background: var(--brand-900); color: var(--text-on-dark); }

.mt-pricing__plan { display: none; position: relative; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-2xl); padding: 34px 30px; box-shadow: var(--ring-subtle); }
.mt-pricing__plan.is-active { display: block; }
.mt-pricing__plan.is-featured { border-color: var(--accent); }
.mt-pricing__badge { position: absolute; top: 22px; right: 24px; font: 600 11px/1 var(--font-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--accent-wash); padding: 7px 12px; border-radius: var(--r-pill); }
.mt-pricing__title { font: 500 26px/1.15 var(--font-display); letter-spacing: -0.01em; margin: 0 0 4px; color: var(--ink-900); }
.mt-pricing__tagline { color: var(--ink-500); margin: 0 0 14px; font-size: 15px; }
.mt-pricing__price { font: 500 40px/1 var(--font-display); margin: 6px 0 20px; color: var(--ink-900); }
.mt-pricing__price s { font-size: 20px; color: var(--ink-400); font-weight: 400; margin-left: 10px; }
.mt-pricing__features { list-style: none; padding: 0; margin: 0 0 24px; }
.mt-pricing__features li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-700); }
.mt-pricing__features li:last-child { border-bottom: 0; }
.mt-pricing__features li.is-excluded { color: var(--ink-400); text-decoration: line-through; }
.mt-pricing__buy { display: block; text-align: center; background: var(--accent); color: var(--text-on-accent); text-decoration: none; padding: 16px; border-radius: var(--r-pill); font: 600 16px/1 var(--font-body); transition: var(--transition-colors), transform var(--dur-fast) var(--ease-soft); }
.mt-pricing__buy:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.mt-pricing__buy:active { background: var(--accent-press); transform: translateY(1px); }
.mt-pricing__footnote { text-align: center; color: var(--ink-400); font-size: 13px; margin: 14px 0 0; }

/* ============================================================
   Quiz funnel — [vsdm_quiz] from the VSDM Leads plugin.
   4-step "Get Married" funnel. The plugin emits the markup + step
   behaviour (and minimal functional CSS for hidden steps / honeypot);
   the theme owns all visual styling. Not .mt-home-scoped.
   ============================================================ */
.vsdm-quiz { max-width: 620px; margin: 0 auto; padding: 64px 20px 48px; font-family: var(--font-body); color: var(--ink-900); }
.vq-progress { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 0 34px; }
.vq-dot { width: 34px; height: 34px; flex: none; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; font: 600 14px/1 var(--font-body); background: var(--paper-2); color: var(--ink-400); transition: var(--transition-colors); }
.vq-dot.vq-on { background: var(--brand-900); color: var(--text-on-dark); }
.vq-line { width: 36px; height: 2px; background: var(--line); }
.vq-step h2 { font: 500 28px/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--ink-900); margin: 0 0 8px; text-align: center; }
.vq-sub { text-align: center; color: var(--ink-500); margin: 0 0 24px; }
/* Ceremony-details step — two labeled question groups (Witnesses / Translator), so
   the two questions never read as one four-option list. Hairline divider between them. */
.vq-group + .vq-group { margin-top: 28px; }
.vq-group-label { text-align: center; font: 600 16px/1.3 var(--font-body); color: var(--ink-900); margin: 0 0 4px; }
.vq-group-help { text-align: center; color: var(--ink-500); font-size: 14px; margin: 0 0 14px; }
.vq-check, .vq-opt { display: flex; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); cursor: pointer; font-size: 15px; transition: var(--transition-colors); }
.vq-check { align-items: center; line-height: 1.4; margin-bottom: 12px; }
.vq-opt { align-items: center; margin-bottom: 10px; }
.vq-check:has(input:checked), .vq-opt:has(input:checked) { border-color: var(--accent); box-shadow: var(--ring-subtle); }
.vq-check input[type="checkbox"], .vq-opt input[type="radio"] { width: 30px; height: 30px; flex: 0 0 30px; margin: 0; accent-color: var(--accent); cursor: pointer; }
/* Step 3 — two-up like checkout: Your/Partner's First Name on top, Email/Phone below. */
.vq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 480px) { .vq-fields { grid-template-columns: 1fr; } }
/* Step 4 — couple headline above the price lockup. */
.vq-couple { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; text-align: center; color: var(--ink-900); margin: 0 0 6px; }
/* Step 4 — composed plan card: base ceremony + the add-ons the answers triggered. */
.vq-plan-sub { text-align: center; color: var(--ink-500); font-size: 15px; margin: 0 0 18px; }
.vq-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 24px; }
.vq-chip { display: inline-flex; align-items: center; gap: 6px; background: #F3E9E1; color: #5F4A3E; font-size: 13px; line-height: 1.3; padding: 5px 12px; border-radius: var(--r-pill); }
.vq-chip-i { display: inline-flex; }

/* /pricing/ shop (archive-product) — base ceremony hero + add-on cards, brand-styled. */
.mt-pricing-shop__sub { color: var(--ink-500); font-size: 17px; margin: 6px 0 0; }
.vsdm-shop { max-width: 1080px; margin: 32px auto 0; }
.vsdm-shop-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; margin-bottom: 20px; }
.vsdm-shop-hero__media img { display: block; width: 92px; height: 92px; object-fit: cover; border-radius: var(--r-md); }
.vsdm-shop-hero__media:empty { display: none; }
.vsdm-shop-hero__title { font-family: var(--font-display); font-weight: 500; font-size: 27px; letter-spacing: -0.01em; color: var(--ink-900); margin: 0 0 6px; }
.vsdm-shop-hero__desc { color: var(--ink-600); font-size: 15px; line-height: 1.55; }
.vsdm-shop-hero__buy { text-align: right; }
.vsdm-shop__price { font-size: 22px; font-weight: 500; color: var(--ink-900); margin: 0 0 12px; white-space: nowrap; }
.vsdm-shop__price ins { text-decoration: none; }
.vsdm-shop__price del { color: var(--ink-400); font-weight: 400; font-size: 16px; margin-left: 8px; }
.vsdm-shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vsdm-shop-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; }
.vsdm-shop-card__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.vsdm-shop-card__media img { display: block; width: 40px; height: 40px; object-fit: cover; border-radius: var(--r-sm); }
.vsdm-shop-card__media:empty { display: none; }
.vsdm-shop-card__title { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink-900); margin: 0; }
.vsdm-shop-card__desc { color: var(--ink-600); font-size: 14px; line-height: 1.55; }
.vsdm-shop-card__desc p, .vsdm-shop-hero__desc p { margin: 0 0 8px; }
.vsdm-shop-card__desc p:last-child, .vsdm-shop-hero__desc p:last-child { margin-bottom: 0; }
.vsdm-shop-card__desc ul, .vsdm-shop-hero__desc ul { list-style: none; margin: 8px 0 0; padding: 0; }
.vsdm-shop-card__desc li, .vsdm-shop-hero__desc li { position: relative; padding-left: 24px; margin: 0 0 6px; }
.vsdm-shop-card__desc li::before, .vsdm-shop-hero__desc li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 600; }
.vsdm-shop__btn { display: inline-block; background: var(--accent); color: var(--text-on-accent); font: 500 14px/1 var(--font-body); padding: 12px 22px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap; transition: var(--transition-colors), transform var(--dur-fast) var(--ease-soft); }
.vsdm-shop__btn:hover { background: var(--accent-hover); }
.vsdm-shop__btn:active { transform: translateY(1px); }
@media (max-width: 820px) {
	.vsdm-shop-grid { grid-template-columns: 1fr; }
	.vsdm-shop-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
	.vsdm-shop-hero__buy { text-align: center; }
}
.vq-plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 20px 18px; }
.vq-plan-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.vq-plan-name { margin: 0 0 3px; font-size: 16px; font-weight: 500; color: var(--ink-900); }
.vq-plan-desc { margin: 0; font-size: 13px; color: var(--ink-500); line-height: 1.5; }
.vq-plan-price { font-size: 16px; font-weight: 500; color: var(--ink-900); white-space: nowrap; }
.vq-plan-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; font-weight: 500; color: var(--ink-900); }
.vq-plan-total span:first-child { font-size: 17px; }
.vq-plan-total span:last-child { font-size: 22px; }
.vq-plan-cta { text-align: center; margin-top: 22px; }
.vq-plan-buy { display: inline-block; background: var(--accent); color: var(--text-on-accent); font: 500 15px/1 var(--font-body); padding: 14px 40px; border-radius: var(--r-pill); text-decoration: none; transition: var(--transition-colors); }
.vq-plan-buy:hover { background: var(--accent-hover); }
.vq-plan-foot { margin: 14px 0 0; font-size: 13px; color: var(--ink-500); }
.vq-plan-change { margin: 10px 0 0; }
.vq-plan-change .vq-back { background: none; border: 0; color: var(--ink-500); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; padding: 0; }
/* wpautop injects stray <br>s around the lockup, and the standalone lockup carries
   a 40px top margin — neither belongs under the couple headline on Step 4. (Scoped
   to Step 4 so the standalone /pricing/ page keeps its spacing.) */
.vq-step[data-step="3"] > br { display: none; }
.vq-step[data-step="3"] .mt-pricing { margin-top: 0; }
.vq-fields input { width: 100%; box-sizing: border-box; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); color: var(--ink-900); font-size: 15px; }
.vq-fields input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.vq-consent { font-size: 12px; color: var(--ink-400); line-height: 1.55; margin: 0 0 14px; }
.cf-turnstile { margin: 0 0 14px; }
.vq-error { color: var(--accent); font-size: 14px; margin: 0 0 12px; }
.vq-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }
.vq-next, .vq-submit { margin-left: auto; background: var(--accent); color: var(--text-on-accent); border: 0; border-radius: var(--r-pill); padding: 13px 30px; font: 600 15px/1 var(--font-body); cursor: pointer; transition: var(--transition-colors), transform var(--dur-fast) var(--ease-soft); }
.vq-next:hover, .vq-submit:hover { background: var(--accent-hover); }
.vq-next:active, .vq-submit:active { background: var(--accent-press); transform: translateY(1px); }
.vq-next:disabled { opacity: .4; cursor: default; }
.vq-back { background: transparent; border: 0; color: var(--ink-500); font-size: 14px; cursor: pointer; padding: 8px 0; }

/* ============================================================
   Header bar — self-sufficient on every page (not just .mt-home),
   so the logo isn't clipped at the edge on cart/pricing/etc.
   ============================================================ */
.mt-header__bar { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }

/* Minimal header — logo only, for the focused cart/checkout flow. */
.mt-header-min { background: var(--paper); border-bottom: 1px solid var(--line); }
.mt-header-min__bar { max-width: 1200px; margin: 0 auto; padding: 16px 32px; }

/* ============================================================
   WooCommerce cart + checkout — brand polish. Square corners
   (no radius), hairline borders, paper cards, crimson focus.
   Structure comes from Woo; the theme owns the styling.
   ============================================================ */
.wc-block-checkout .wc-block-components-text-input,
.wc-block-checkout .wc-block-components-combobox,
.wc-block-checkout .wc-block-components-select { border: 1px solid var(--line) !important; border-radius: 0 !important; background: var(--paper) !important; box-shadow: none !important; }
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea { border: none !important; background: transparent !important; }
.wc-block-checkout .wc-block-components-text-input:focus-within,
.wc-block-checkout .wc-block-components-combobox:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-wash) !important; }
/* Browser autofill (esp. Safari) paints its own background over the transparent
   input, so an autofilled email/phone looks unlike the typed fields. Mask it with
   the paper fill via the inset box-shadow trick, keeping the ink text colour. */
.wc-block-checkout .wc-block-components-text-input input:-webkit-autofill,
.wc-block-checkout .wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-checkout .wc-block-components-text-input input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset !important;
  -webkit-text-fill-color: var(--ink-900, #221619) !important;
  caret-color: var(--ink-900, #221619);
}
.wc-block-checkout__sidebar { background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
.wc-block-checkout .wp-block-woocommerce-checkout-order-summary-block { border: 1px solid var(--line) !important; border-radius: 0 !important; background: var(--paper) !important; padding: 16px 20px !important; margin: 0 !important; }
.wc-block-checkout .wc-block-components-address-card { border: 1px solid var(--line) !important; border-radius: 0 !important; background: var(--paper) !important; }
.wc-block-checkout .wc-block-components-radio-control__option,
.wc-block-checkout .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; box-shadow: none !important; }
.wc-block-checkout .wc-block-components-radio-control-accordion-option:has(input:checked) { border: 1px solid var(--accent) !important; box-shadow: none !important; }
.wc-block-checkout .wc-block-components-radio-control__input:checked { border-color: var(--accent) !important; accent-color: var(--accent) !important; }
/* square the flow's primary buttons (Place order / Proceed to checkout) */
.wc-block-checkout-place-order-button,
.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-components-button { border-radius: 0 !important; }
/* Twenty Twenty-Five sets `.wp-element-button:hover` to a color-mix using a
   `contrast` palette token our theme doesn't define — the invalid value blanks the
   primary buttons' fill on hover. Force the crimson hover state on cart + checkout. */
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover { background-color: var(--accent-hover) !important; color: var(--paper) !important; border-color: transparent !important; }

/* Order summary — simplify to a clean name + line-price list (no thumbnails,
   descriptions, quantity badges, unit prices, or sale badges). */
.wc-block-components-order-summary-item__image,
.wc-block-components-order-summary-item__quantity,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-product-metadata,
.wc-block-components-order-summary .wc-block-components-sale-badge { display: none !important; }
.wc-block-components-order-summary-item { display: flex !important; grid-template-columns: none !important; justify-content: space-between !important; align-items: baseline !important; gap: 14px; padding: 2px 0 !important; margin: 0 !important; min-height: 0 !important; }
.wc-block-components-order-summary-item__description { margin: 0 !important; }
.wc-block-components-order-summary-item__total-price { white-space: nowrap; }
/* WooCommerce reserves a 24px left pad on the item description for the product
   thumbnail/quantity badge, which we hide — so it just indents the name (and left
   the quantity peeking through). Drop it so item names align with Subtotal/Total. */
.wc-block-components-order-summary-item__description { padding-left: 0 !important; }

/* Couple Information — lay the contact fields two-up (Couple Email | Couple Phone,
   then Partner 1 | Partner 2). Checkboxes span the full width. */
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-address-form { display: grid !important; grid-template-columns: 1fr 1fr !important; column-gap: 16px !important; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-address-form > * { grid-column: span 1; min-width: 0; }
/* Row 1 = Partner 1 | Partner 2, Row 2 = Couple Email | Couple Phone. WooCommerce
   forces the email field first in the DOM, so we reorder visually with `order`. */
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:has(#contact-vsdm-partner-1-name),
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:has(#contact-vsdm-partner-2-name) { order: 1; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:has(#email),
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:has(#contact-vsdm-couple-phone) { order: 2; }
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-checkbox { grid-column: 1 / -1 !important; order: 3; }
/* Safari renders the prefilled email field ~12px taller than its siblings, leaving
   the grid box uneven. Pin the couple-info fields to a uniform height so all four
   boxes match. (Validation messages render as siblings, so nothing is clipped.) */
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input { height: 52px !important; min-height: 52px !important; max-height: 52px !important; }
/* WooCommerce zeroes the top margin on the FIRST DOM field (the email), but our
   `order` reflow puts it in row 2 — restore its 12px so it lines up with Couple Phone. */
.wp-block-woocommerce-checkout-contact-information-block .wc-block-components-text-input:has(#email) { margin-top: 12px !important; }
/* Square the "Add to your order" card + "View all" button (their rounded corners
   come from the married-commerce shortcode's inline CSS) to match the squared cart. */
.vsdm-addon { border-radius: 0 !important; }
.vsdm-addons-viewall { border-radius: 0 !important; }
/* hide the optional billing-address phone — the Couple Phone above replaces it. */
.wc-block-checkout .wc-block-components-text-input:has(#billing-phone) { display: none !important; }
.wp-block-woocommerce-cart .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
.wp-block-woocommerce-cart .wc-block-cart__sidebar > * { border-radius: 0 !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar { background: var(--paper) !important; border: 1px solid var(--line) !important; border-radius: 0 !important; padding: 10px 26px 22px !important; }
.wp-block-woocommerce-cart .wc-block-cart__sidebar > * { padding-left: 0 !important; padding-right: 0 !important; }
