/* Shared page building blocks (sub-pages) */
.mf-section { padding: clamp(3rem, 5vw, 5rem) 0; }
.mf-section--white { background: var(--mf-white); }
.mf-section--dark { background: var(--mf-black); color: var(--mf-white); }
.mf-section--dark .mf-eyebrow { color: var(--mf-orange); }
.mf-section > .mf-container > h2 { max-width: 30ch; }
.mf-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.mf-split > div > p { max-width: 34rem; color: var(--mf-muted); }
.mf-split .mf-btn { margin-top: 0.5rem; }
.mf-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mf-radius); }
@media (max-width: 800px) { .mf-split { grid-template-columns: 1fr; } }

.mf-pagehero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.mf-pagehero--dark { background: var(--mf-black); color: var(--mf-white); }
.mf-pagehero--dark .mf-eyebrow { color: var(--mf-orange); }
.mf-pagehero--dark .mf-lede { color: rgba(255, 255, 255, 0.75); }
.mf-pagehero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.mf-pagehero__inner > div:only-child { grid-column: 1 / -1; max-width: 46rem; }
.mf-pagehero h1 em { font-style: normal; color: var(--mf-orange-deep); }
.mf-pagehero--dark h1 em { color: var(--mf-orange); }
.mf-pagehero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.mf-pagehero__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mf-white);
  padding: 10px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.12); transform: rotate(2deg);
}
@media (max-width: 800px) { .mf-pagehero__inner { grid-template-columns: 1fr; } }
/* Every page hero is followed by a section on the same background, so the gap between them stays small. */
.mf-pagehero + .mf-section { padding-top: clamp(1rem, 2vw, 2rem); }

.mf-cards { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mf-cards li { background: var(--mf-white); border-radius: var(--mf-radius); padding: 1.4rem 1.4rem 1.5rem; border-top: 3px solid var(--mf-orange); }
.mf-section--white .mf-cards li { background: var(--mf-paper); }
.mf-cards h3 { margin-bottom: 0.4rem; }
.mf-cards p { margin: 0; font-size: 0.95rem; color: var(--mf-muted); }
@media (max-width: 1000px) { .mf-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mf-cards { grid-template-columns: 1fr; } }

.mf-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.mf-checklist li { position: relative; padding-left: 2rem; }
.mf-checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.05em; width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--mf-orange); color: var(--mf-black); font-weight: 700; font-size: 0.85em; display: grid; place-items: center;
}

.mf-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.mf-steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--mf-black); }
.mf-steps li::before {
  content: counter(step); display: block; font-family: var(--mf-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--mf-orange-deep); margin-bottom: 0.6rem;
}
.mf-steps h3 { margin-bottom: 0.4rem; }
.mf-steps p { margin: 0; color: var(--mf-muted); font-size: 0.95rem; }
@media (max-width: 760px) { .mf-steps { grid-template-columns: 1fr; } }

.mf-prices { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.mf-prices caption { text-align: left; font-family: var(--mf-display); font-weight: 700; font-size: 1.05rem; padding-bottom: 0.5rem; }
.mf-prices td { padding: 0.6rem 0; border-top: 1px solid var(--mf-grey); vertical-align: top; }
.mf-prices td:last-child { text-align: right; white-space: nowrap; font-weight: 600; padding-left: 1rem; }
.mf-section--white .mf-prices td { border-color: #ece9e3; }

.mf-hours { background: var(--mf-orange); color: var(--mf-black); border-radius: var(--mf-radius); padding: 1.8rem 2rem 2rem; }
.mf-hours h3 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.mf-hours table { width: 100%; border-collapse: collapse; font-family: var(--mf-display); font-weight: 700; font-size: 1.3rem; }
.mf-hours td { padding: 0.5rem 0; border-top: 1px solid rgba(0, 0, 0, 0.15); }
.mf-hours td:last-child { text-align: right; }
.mf-hours .mf-status { margin-top: 1.2rem; color: var(--mf-black); font-size: 0.9rem; }
.mf-hours .mf-status i { box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12); }

.mf-visitcta { background: var(--mf-black); color: var(--mf-white); padding: 3rem 0; }
.mf-visitcta__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.mf-visitcta h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.mf-visitcta p { margin: 0; color: rgba(255, 255, 255, 0.75); }
.mf-visitcta a { text-decoration: none; }
.mf-visitcta__side { display: grid; gap: 0.6rem; justify-items: start; }
.mf-visitcta__hours { font-family: var(--mf-display); font-weight: 700; }
@media (max-width: 700px) { .mf-visitcta__inner { grid-template-columns: 1fr; } }

.mf-faq details { border-top: 1px solid var(--mf-grey); }
.mf-faq details:last-child { border-bottom: 1px solid var(--mf-grey); }
.mf-faq summary { cursor: pointer; padding: 1rem 2rem 1rem 0; font-weight: 600; list-style: none; position: relative; }
.mf-faq summary::-webkit-details-marker { display: none; }
.mf-faq summary::after { content: "+"; position: absolute; right: 0; top: 0.8rem; font-family: var(--mf-display); font-size: 1.3rem; color: var(--mf-orange-deep); }
.mf-faq details[open] summary::after { content: "\2013"; }
.mf-faq details p { margin: 0 0 1.2rem; color: var(--mf-muted); max-width: 40rem; }

.mf-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.mf-contact address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; }
.mf-contact address a { text-decoration: none; font-weight: 600; }
.mf-contact__company { margin-top: 1.5rem; color: var(--mf-muted); font-size: 0.9rem; }
.mf-contact__map { display: grid; gap: 1rem; justify-items: start; }
.mf-mapconsent { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--mf-radius); background: var(--mf-grey); display: grid; place-content: center; justify-items: center; gap: 0.5rem; padding: 2rem; text-align: center; }
.mf-mapconsent p { margin: 0; max-width: 26rem; color: var(--mf-muted); }
.mf-contact__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--mf-radius); background: var(--mf-grey); }
@media (max-width: 800px) { .mf-contact { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.mf-form .wpcf7-form p { margin-bottom: 1rem; }
.mf-form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.mf-form .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-file) {
  width: 100%; padding: 0.75rem 0.9rem; font: inherit; border: 1px solid var(--mf-grey); border-radius: var(--mf-radius); background: var(--mf-white);
}
.mf-form .wpcf7-form-control:focus { border-color: var(--mf-orange-deep); outline: none; box-shadow: 0 0 0 3px rgba(226, 115, 31, 0.25); }
.mf-form .wpcf7-submit { background: var(--mf-orange); color: var(--mf-black); border: 0; border-radius: var(--mf-radius); padding: 0.85em 1.4em; font-family: var(--mf-display); font-weight: 700; cursor: pointer; }
.mf-form .wpcf7-submit:hover { background: var(--mf-orange-deep); }
.mf-form .wpcf7-not-valid-tip { color: #b3261e; font-size: 0.85rem; }
.mf-form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.8rem 1rem; border: 2px solid var(--mf-orange); border-radius: var(--mf-radius); }

/* Before/after compare */
.mf-compare { --mf-split: 50%; position: relative; aspect-ratio: 3 / 2; max-width: 960px; margin-inline: auto; overflow: hidden; border-radius: var(--mf-radius); user-select: none; }
.mf-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-compare__before { clip-path: inset(0 calc(100% - var(--mf-split)) 0 0); }
.mf-compare::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--mf-split); width: 3px; margin-left: -1.5px; background: var(--mf-orange); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.mf-compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.mf-compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100%; }
.mf-compare__range::-moz-range-thumb { width: 48px; height: 100%; border: 0; }
.mf-compare__label {
  position: absolute; top: 1rem; padding: 0.35em 0.7em; font-family: var(--mf-display); font-weight: 700; font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.7); color: var(--mf-white); border-radius: var(--mf-radius); pointer-events: none;
}
.mf-compare__label--before { left: 1rem; }
.mf-compare__label--after { right: 1rem; background: var(--mf-orange); color: var(--mf-black); }
.mf-compare__hint { text-align: center; margin: 1rem 0 0; color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

/* Terms and privacy */
.mf-legal { max-width: 46rem; }
.mf-legal h2 { font-size: 1.25rem; margin: 2.2rem 0 0.6rem; }
.mf-legal h2:first-child { margin-top: 0; }

/* Shop photos */
.mf-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 760px) { .mf-shelf { grid-template-columns: 1fr; } }
.mf-shelf figure, .mf-contact__shop { margin: 0; }
.mf-shelf img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--mf-radius); }
.mf-contact__shop img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--mf-radius); }
.mf-shelf figcaption, .mf-contact__shop figcaption { margin-top: 0.4rem; font-size: 0.9rem; color: var(--mf-muted); }
.mf-contact__shop { max-width: 300px; margin-top: 1.5rem; }
