/* =============================================================================
   MFV Provider Pages — Shared Base Styles
   Version: 1.0.0
   ============================================================================= */

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

:root {
  --mfv-pp-primary:   var(--mfv-primary, #0e7490);
  --mfv-pp-accent:    #f97316;
  --mfv-pp-text:      #1f2937;
  --mfv-pp-muted:     #6b7280;
  --mfv-pp-border:    #e5e7eb;
  --mfv-pp-bg:        #ffffff;
  --mfv-pp-radius:    12px;
  --mfv-pp-font-head: 'Poppins', system-ui, sans-serif;
  --mfv-pp-font-body: 'DM Sans', system-ui, sans-serif;
  --mfv-pp-max-w:     1100px;
  --mfv-pp-section-gap: 80px;
}

html { scroll-behavior: smooth; }

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

/* Container */
.mfv-pp-container {
  width: 100%;
  max-width: var(--mfv-pp-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav shared styles */
.mfv-pp-nav__actions { display: flex; align-items: center; gap: 16px; }
.mfv-pp-nav__logo { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; margin-right: 8px; vertical-align: middle; }
.mfv-pp-nav__phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--mfv-pp-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.mfv-pp-nav__phone:hover { opacity: 0.8; text-decoration: none; }
.mfv-pp-nav__phone svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .mfv-pp-nav__phone-text { display: none; }
  .mfv-pp-nav__actions { gap: 10px; }
}

/* Sections */
.mfv-pp-section {
  padding: var(--mfv-pp-section-gap) 0;
}

.mfv-pp-section-title {
  font-family: var(--mfv-pp-font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 40px;
  color: inherit;
}

.mfv-pp-section-title--center { text-align: center; }

/* Buttons */
.mfv-pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--mfv-pp-font-head);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mfv-pp-btn--primary {
  background: var(--mfv-pp-primary);
  color: #fff;
  border-color: var(--mfv-pp-primary);
}
.mfv-pp-btn--primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.mfv-pp-btn--outline {
  background: transparent;
  color: var(--mfv-pp-primary);
  border-color: var(--mfv-pp-primary);
}
.mfv-pp-btn--outline:hover {
  background: var(--mfv-pp-primary);
  color: #fff;
  text-decoration: none;
}

.mfv-pp-btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.mfv-pp-btn--ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
}

/* Verified badge */
.mfv-pp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(var(--mfv-primary-rgb, 14,116,144),0.1);
  color: var(--mfv-pp-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Hero photo — right-side panel (Grace, Covenant, Harvest).
   Spirit overrides this with a circular avatar in its own style.css. */
.mfv-pp-hero__photo {
  flex: 0 0 auto;
  width: min(42%, 440px);
  height: min(65vh, 500px);
  object-fit: contain;
  object-position: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}
/* Hide side-panel photo when slideshow is active — slides provide the visual */
.mfv-pp-hero[data-slides] .mfv-pp-hero__photo { display: none; }
/* Mobile: collapse the side photo so text gets full width */
@media (max-width: 768px) {
  .mfv-pp-hero__photo { display: none; }
}

/* Services grid */
.mfv-pp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.mfv-pp-service-card {
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
  padding: 24px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.mfv-pp-service-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.mfv-pp-service-card__name {
  font-family: var(--mfv-pp-font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.mfv-pp-service-card__desc {
  color: var(--mfv-pp-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.mfv-pp-service-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mfv-pp-service-card__duration {
  color: var(--mfv-pp-muted);
  font-size: 0.85rem;
}
.mfv-pp-service-card__price {
  font-weight: 700;
  color: var(--mfv-pp-primary);
  font-size: 1.1rem;
  margin-left: auto;
}
.mfv-pp-service-card__price--free {
  color: #16a34a;
}

/* Booking CTA */
.mfv-pp-booking-cta {
  text-align: center;
}
.mfv-pp-booking-cta__note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--mfv-pp-muted);
}

/* Contact */
.mfv-pp-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
}
.mfv-pp-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mfv-pp-text);
  text-decoration: none;
  font-size: 1rem;
}
a.mfv-pp-contact-item:hover {
  color: var(--mfv-pp-primary);
}
.mfv-pp-contact-item svg {
  flex-shrink: 0;
  color: var(--mfv-pp-primary);
}

/* Social links */
.mfv-pp-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.mfv-pp-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--mfv-pp-border);
  border-radius: 50px;
  color: var(--mfv-pp-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.mfv-pp-social-link:hover {
  border-color: var(--mfv-pp-primary);
  color: var(--mfv-pp-primary);
  text-decoration: none;
}
.mfv-pp-social-link svg {
  width: 18px;
  height: 18px;
}

/* Gallery */
.mfv-pp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.mfv-pp-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--mfv-pp-radius);
}
.mfv-pp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.mfv-pp-gallery-item:hover img {
  transform: scale(1.04);
}

/* Reviews */
.mfv-pp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.mfv-pp-review-card {
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
  padding: 24px;
  background: #fff;
}
.mfv-pp-review-card__stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.mfv-pp-review-card__text {
  color: var(--mfv-pp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.mfv-pp-review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Average rating badge */
.mfv-pp-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

/* Powered-by footer (Connect) */
.mfv-pp-powered-by {
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--mfv-pp-border);
  font-size: 0.85rem;
  color: var(--mfv-pp-muted);
}
.mfv-pp-powered-by a {
  color: var(--mfv-pp-primary);
  text-decoration: none;
  font-weight: 600;
}
.mfv-pp-powered-by a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px) {
  :root { --mfv-pp-section-gap: 56px; }
  .mfv-pp-services-grid { grid-template-columns: 1fr; }
  .mfv-pp-gallery-grid { grid-template-columns: 1fr 1fr; }
  .mfv-pp-reviews-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   Scroll Reveal Animations
   ============================================================================= */
.mfv-pp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.mfv-pp-reveal--visible {
  opacity: 1;
  transform: none;
}
/* Stagger delays for sibling groups */
.mfv-pp-gallery-item.mfv-pp-reveal:nth-child(2) { transition-delay: 0.08s; }
.mfv-pp-gallery-item.mfv-pp-reveal:nth-child(3) { transition-delay: 0.16s; }
.mfv-pp-gallery-item.mfv-pp-reveal:nth-child(4) { transition-delay: 0.24s; }
.mfv-pp-gallery-item.mfv-pp-reveal:nth-child(5) { transition-delay: 0.32s; }
.mfv-pp-gallery-item.mfv-pp-reveal:nth-child(6) { transition-delay: 0.40s; }
.mfv-pp-review-card.mfv-pp-reveal:nth-child(2)  { transition-delay: 0.10s; }
.mfv-pp-review-card.mfv-pp-reveal:nth-child(3)  { transition-delay: 0.20s; }
.mfv-pp-service-card.mfv-pp-reveal:nth-child(2) { transition-delay: 0.10s; }
.mfv-pp-service-card.mfv-pp-reveal:nth-child(3) { transition-delay: 0.20s; }
.mfv-pp-tax-section.mfv-pp-reveal:nth-child(2)  { transition-delay: 0.10s; }
.mfv-pp-social-link.mfv-pp-reveal:nth-child(2)  { transition-delay: 0.07s; }
.mfv-pp-social-link.mfv-pp-reveal:nth-child(3)  { transition-delay: 0.14s; }
.mfv-pp-social-link.mfv-pp-reveal:nth-child(4)  { transition-delay: 0.21s; }

/* =============================================================================
   Hero Slideshow
   ============================================================================= */
.mfv-pp-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mfv-pp-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.mfv-pp-slideshow__slide--active { opacity: 1; }
.mfv-pp-slideshow__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.mfv-pp-slideshow__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.mfv-pp-slideshow__dot--active { background: #fff; }

/* =============================================================================
   Hero Slideshow — Prev / Next arrows
   ============================================================================= */
.mfv-pp-slideshow__prev,
.mfv-pp-slideshow__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.mfv-pp-slideshow__prev { left: 16px; }
.mfv-pp-slideshow__next { right: 16px; }
.mfv-pp-slideshow__prev:hover,
.mfv-pp-slideshow__next:hover { background: rgba(0,0,0,0.6); }
@media (max-width: 768px) {
  .mfv-pp-slideshow__prev { left: 8px; }
  .mfv-pp-slideshow__next { right: 8px; }
}

/* =============================================================================
   Gallery column variants (set via body class from style options)
   ============================================================================= */
.mfv-gallery--cols-2 .mfv-pp-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.mfv-gallery--cols-4 .mfv-pp-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* =============================================================================
   Hero size variants
   ============================================================================= */
.mfv-hero--fullscreen .mfv-pp-hero { min-height: 100vh; }
.mfv-hero--compact    .mfv-pp-hero { min-height: 40vh; }

/* =============================================================================
   Hero alignment variant — center
   ============================================================================= */
.mfv-hero-align--center .mfv-pp-hero { justify-content: center; }
.mfv-hero-align--center .mfv-pp-hero__content { margin: 0 auto; text-align: center; }
.mfv-hero-align--center .mfv-pp-hero__actions  { justify-content: center; }
.mfv-hero-align--center .mfv-pp-hero__photo    { display: none !important; }

/* =============================================================================
   About layout variants
   ============================================================================= */
.mfv-about--photo-right .mfv-pp-about__grid { direction: rtl; }
.mfv-about--photo-right .mfv-pp-about__grid > * { direction: ltr; }
.mfv-about--text-only .mfv-pp-about__grid img { display: none; }
.mfv-about--text-only .mfv-pp-about__grid { grid-template-columns: 1fr; }
.mfv-about--circular-photo .mfv-pp-about__photo { border-radius: 50%; aspect-ratio: 1/1; }

/* When the about image is a logo (no hero image fallback), constrain size */
.mfv-pp-about__photo--logo {
  width: auto !important;
  max-width: 280px !important;
  max-height: 280px !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
}

/* =============================================================================
   Button shape variants
   ============================================================================= */
.mfv-btn--pill .mfv-pp-btn    { border-radius: 50px; }
.mfv-btn--square .mfv-pp-btn  { border-radius: 4px; }
.mfv-btn--rounded .mfv-pp-btn { border-radius: 10px; }

/* =============================================================================
   Font pair variants
   ============================================================================= */
.mfv-font--serif h1,
.mfv-font--serif h2,
.mfv-font--serif .mfv-pp-hero__name,
.mfv-font--serif .mfv-pp-section-title,
.mfv-font--serif .mfv-pp-nav__brand {
  font-family: 'Playfair Display', Georgia, serif;
}
.mfv-font--mono-clean body { font-family: ui-monospace, 'Courier New', monospace; }

/* =============================================================================
   Color Palettes (body[data-palette="..."])
   ============================================================================= */
[data-palette="ocean"]    { --mfv-pp-primary: #0369a1; --mfv-pp-accent: #06b6d4; }
[data-palette="forest"]   { --mfv-pp-primary: #15803d; --mfv-pp-accent: #84cc16; }
[data-palette="sunset"]   { --mfv-pp-primary: #c2410c; --mfv-pp-accent: #f59e0b; }
[data-palette="midnight"] { --mfv-pp-primary: #4f46e5; --mfv-pp-accent: #a78bfa; }
/* default palette = unchanged :root vars */

/* =============================================================================
   Taxonomy Sections
   ============================================================================= */
.mfv-pp-tax-sections { display: flex; flex-direction: column; gap: 28px; }
.mfv-pp-tax-section {
  background: #fff;
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
  padding: 24px;
}
.mfv-pp-tax-section__header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mfv-pp-font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--mfv-pp-text);
}
.mfv-pp-tax-section__header svg { color: var(--mfv-pp-primary); flex-shrink: 0; }
.mfv-pp-tax-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mfv-pp-tax-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(var(--mfv-primary-rgb, 14,116,144),0.08);
  color: var(--mfv-pp-primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* =============================================================================
   Map Section
   ============================================================================= */
.mfv-pp-map-card {
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
  overflow: hidden;
}
.mfv-pp-map-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-family: var(--mfv-pp-font-head);
  font-size: 1rem;
  font-weight: 700;
  background: #f8fafc;
  border-bottom: 1px solid var(--mfv-pp-border);
}
.mfv-pp-map-card__header svg { color: var(--mfv-pp-primary); }
.mfv-pp-map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
}
.mfv-pp-map-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--mfv-pp-muted);
  background: #f8fafc;
  border-top: 1px solid var(--mfv-pp-border);
  gap: 12px;
}
.mfv-pp-map-card__directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--mfv-pp-primary);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.mfv-pp-map-card__directions:hover { filter: brightness(1.1); color: #fff; text-decoration: none; }

/* Address-only fallback when no coords */
.mfv-pp-map-address {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
}
.mfv-pp-map-address svg { color: var(--mfv-pp-primary); flex-shrink: 0; }

/* =============================================================================
   Delivery Links
   ============================================================================= */
.mfv-pp-delivery { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.mfv-pp-delivery__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: filter 0.2s;
}
.mfv-pp-delivery__btn:hover { filter: brightness(1.1); text-decoration: none; }
.mfv-pp-delivery__btn--doordash { background: #ff3008; color: #fff; }
.mfv-pp-delivery__btn--ubereats  { background: #06c167; color: #fff; }
.mfv-pp-delivery__btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =============================================================================
   Direct Message Button
   ============================================================================= */
.mfv-pp-message-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--mfv-pp-primary);
  border-radius: 50px;
  color: var(--mfv-pp-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.mfv-pp-message-btn:hover { background: var(--mfv-pp-primary); color: #fff; text-decoration: none; }

/* =============================================================================
   "View on MFV" listing integration button (injected on main site)
   ============================================================================= */
.mfv-pp-listing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--mfv-pp-primary, var(--mfv-primary, #0e7490));
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: filter 0.2s;
  margin-top: 12px;
}
.mfv-pp-listing-btn:hover { filter: brightness(1.1); color: #fff; text-decoration: none; }

/* Mobile */
@media (max-width: 640px) {
  .mfv-gallery--cols-2 .mfv-pp-gallery-grid,
  .mfv-gallery--cols-4 .mfv-pp-gallery-grid { grid-template-columns: 1fr 1fr; }
.mfv-pp-map-card iframe { height: 220px; }
  .mfv-pp-tax-pills { gap: 8px; }
}

/* ── Opening Hours ─────────────────────────────────────────── */
.mfv-pp-section--hours { background: #f8fafc; }
.mfv-pp-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  max-width: 640px;
  margin-top: 24px;
}
.mfv-pp-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.mfv-pp-hours-row:last-child { border-bottom: none; }
.mfv-pp-hours-row--closed { opacity: 0.5; }
.mfv-pp-hours-day { font-weight: 600; color: #374151; font-size: 0.9rem; }
.mfv-pp-hours-time { color: var(--mfv-primary, #0e7490); font-size: 0.9rem; font-weight: 500; }
.mfv-pp-hours-row--closed .mfv-pp-hours-time { color: #9ca3af; }
/* Dark theme override */
body[style*="background: #0f0e17"] .mfv-pp-section--hours,
.mfv-pp-template--spirit .mfv-pp-section--hours,
.mfv-pp-template--covenant .mfv-pp-section--hours {
  background: transparent;
}
.mfv-pp-template--spirit .mfv-pp-hours-row,
.mfv-pp-template--covenant .mfv-pp-hours-row {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.mfv-pp-template--spirit .mfv-pp-hours-day,
.mfv-pp-template--covenant .mfv-pp-hours-day { color: rgba(255,255,255,0.85); }
.mfv-pp-template--spirit .mfv-pp-hours-grid,
.mfv-pp-template--covenant .mfv-pp-hours-grid { border-color: rgba(255,255,255,0.12); }

/* =============================================================================
   Restaurant Menu
   ============================================================================= */
.mfv-pp-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.mfv-pp-menu-card {
  display: flex;
  align-items: center;
  border: 1px solid var(--mfv-pp-border);
  border-radius: var(--mfv-pp-radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.mfv-pp-menu-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.mfv-pp-menu-card__photo {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.mfv-pp-menu-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mfv-pp-menu-card__body { flex: 1; padding: 14px 20px; min-width: 0; }
.mfv-pp-menu-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.mfv-pp-menu-card__name {
  font-family: var(--mfv-pp-font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mfv-pp-text);
}
.mfv-pp-menu-card__price {
  font-weight: 700;
  color: var(--mfv-pp-primary);
  font-size: 1.05rem;
  white-space: nowrap;
}
.mfv-pp-menu-card__desc {
  color: var(--mfv-pp-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.mfv-pp-menu-card__link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mfv-pp-primary);
  text-decoration: none;
}
.mfv-pp-menu-card__link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .mfv-pp-menu-grid { grid-template-columns: 1fr; }
}
/* Dark theme */
.mfv-pp-template--spirit .mfv-pp-menu-card,
.mfv-pp-template--covenant .mfv-pp-menu-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.mfv-pp-template--spirit .mfv-pp-menu-card__name,
.mfv-pp-template--covenant .mfv-pp-menu-card__name { color: #fff; }
.mfv-pp-template--spirit .mfv-pp-menu-card__desc,
.mfv-pp-template--covenant .mfv-pp-menu-card__desc { color: rgba(255,255,255,0.6); }

/* =============================================================================
   Hero Alignment — Right
   ============================================================================= */
.mfv-hero-align--right .mfv-pp-hero { justify-content: flex-end; }
.mfv-hero-align--right .mfv-pp-hero__content { margin: 0 8vw 0 auto; text-align: right; }
.mfv-hero-align--right .mfv-pp-hero__actions { justify-content: flex-end; }
.mfv-hero-align--right .mfv-pp-hero__photo { display: none !important; }

/* =============================================================================
   Additional Font Pair Variants
   ============================================================================= */
.mfv-font--humanist h1,
.mfv-font--humanist h2,
.mfv-font--humanist .mfv-pp-hero__name,
.mfv-font--humanist .mfv-pp-section-title,
.mfv-font--humanist .mfv-pp-nav__brand {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}
.mfv-font--humanist body,
.mfv-font--humanist .mfv-pp-about__text,
.mfv-font--humanist .mfv-pp-hero__tagline {
  font-family: 'Open Sans', system-ui, sans-serif;
}

.mfv-font--editorial h1,
.mfv-font--editorial h2,
.mfv-font--editorial .mfv-pp-hero__name,
.mfv-font--editorial .mfv-pp-section-title,
.mfv-font--editorial .mfv-pp-nav__brand {
  font-family: 'Lora', Georgia, serif;
}
.mfv-font--editorial body,
.mfv-font--editorial .mfv-pp-about__text,
.mfv-font--editorial .mfv-pp-hero__tagline {
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.mfv-font--geometric h1,
.mfv-font--geometric h2,
.mfv-font--geometric .mfv-pp-hero__name,
.mfv-font--geometric .mfv-pp-section-title,
.mfv-font--geometric .mfv-pp-nav__brand {
  font-family: 'Raleway', 'Segoe UI', sans-serif;
}
.mfv-font--geometric body,
.mfv-font--geometric .mfv-pp-about__text,
.mfv-font--geometric .mfv-pp-hero__tagline {
  font-family: 'Roboto', system-ui, sans-serif;
}

.mfv-font--rounded h1,
.mfv-font--rounded h2,
.mfv-font--rounded .mfv-pp-hero__name,
.mfv-font--rounded .mfv-pp-section-title,
.mfv-font--rounded .mfv-pp-nav__brand {
  font-family: 'Quicksand', 'Segoe UI', sans-serif;
}
.mfv-font--rounded body,
.mfv-font--rounded .mfv-pp-about__text,
.mfv-font--rounded .mfv-pp-hero__tagline {
  font-family: 'Rubik', system-ui, sans-serif;
}

.mfv-font--condensed h1,
.mfv-font--condensed h2,
.mfv-font--condensed .mfv-pp-hero__name,
.mfv-font--condensed .mfv-pp-section-title,
.mfv-font--condensed .mfv-pp-nav__brand {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  letter-spacing: 0.02em;
}

/* =============================================================================
   Additional Color Palettes
   ============================================================================= */
[data-palette="rose"]    { --mfv-pp-primary: #be123c; --mfv-pp-accent: #f43f5e; }
[data-palette="amber"]   { --mfv-pp-primary: #b45309; --mfv-pp-accent: #f59e0b; }
[data-palette="violet"]  { --mfv-pp-primary: #7c3aed; --mfv-pp-accent: #a78bfa; }
[data-palette="slate"]   { --mfv-pp-primary: #475569; --mfv-pp-accent: #94a3b8; }
[data-palette="emerald"] { --mfv-pp-primary: #059669; --mfv-pp-accent: #34d399; }

/* =============================================================================
   Icon Animations (triggered on hover via body class)
   ============================================================================= */
@keyframes mfvBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes mfvPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes mfvSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.mfv-icon--bounce .mfv-pp-contact-item svg:hover,
.mfv-icon--bounce .mfv-pp-social-link svg:hover,
.mfv-icon--bounce .mfv-pp-tax-section__header svg:hover {
  animation: mfvBounce 0.5s ease;
}
.mfv-icon--pulse .mfv-pp-contact-item svg:hover,
.mfv-icon--pulse .mfv-pp-social-link svg:hover,
.mfv-icon--pulse .mfv-pp-tax-section__header svg:hover {
  animation: mfvPulse 0.5s ease;
}
.mfv-icon--spin .mfv-pp-contact-item svg:hover,
.mfv-icon--spin .mfv-pp-social-link svg:hover,
.mfv-icon--spin .mfv-pp-tax-section__header svg:hover {
  animation: mfvSpin 0.5s ease;
}

/* =============================================================================
   Section Transition Variants (body class overrides default fade-up)
   ============================================================================= */
.mfv-reveal--fade-in .mfv-pp-reveal {
  transform: none;
}
.mfv-reveal--slide-left .mfv-pp-reveal {
  transform: translateX(-40px);
}
.mfv-reveal--slide-right .mfv-pp-reveal {
  transform: translateX(40px);
}
.mfv-reveal--scale .mfv-pp-reveal {
  transform: scale(0.92);
}
.mfv-reveal--none .mfv-pp-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* =============================================================================
   Gallery Masonry Layout
   ============================================================================= */
.mfv-gallery-layout--masonry .mfv-pp-gallery-grid {
  display: block;
  columns: 3 280px;
  column-gap: 12px;
}
.mfv-gallery-layout--masonry .mfv-pp-gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  aspect-ratio: auto;
}
@media (max-width: 640px) {
  .mfv-gallery-layout--masonry .mfv-pp-gallery-grid { columns: 2; }
}

/* =============================================================================
   Hero Video Background
   ============================================================================= */
.mfv-pp-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.mfv-pp-hero__video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100%, 177.78vh); /* Always wider than container (16:9) */
  height: max(100%, 56.25vw);  /* Always taller than container (16:9) */
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}
.mfv-pp-hero__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
