/* Foodmonstas recipe detail refinement – same look as shop, recipe overview and product pages.
   Styling only, scoped to body.fm-recipe-detail: recipe text, gallery, print button and scripts stay unchanged.
   body-Praefix + !important, wo die Rezeptseiten Inline-Stile mit !important haben (body #f5f5f5, Hallo-Block). */
body.fm-recipe-detail {
  --shop-paper: #faf7f0;
  --shop-ink: #191916;
  --shop-muted: #68635b;
  --shop-line: #ded8cd;
  --accent: #ea6254;
  background-color: var(--shop-paper) !important;
  color: var(--shop-ink);
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}
.fm-recipe-detail .container { max-width: 1280px; padding-left: 32px; padding-right: 32px; }

/* Header + Brotkrumen wie im Shop */
.fm-recipe-detail .header { background: var(--shop-paper) !important; border-bottom: 1px solid var(--shop-line) !important; }
.fm-recipe-detail .navbar { min-height: 80px; padding: 16px 0; }
.fm-recipe-detail .nav-link { font-family: 'Nunito', sans-serif; font-size: 15px; font-weight: 800; }
.fm-recipe-detail .nav-link::before { background: var(--accent) !important; height: 3px; }
.fm-recipe-detail .menu_toggle span { background: var(--shop-ink) !important; }
.fm-recipe-detail .breadcrumbs-sec { color: var(--shop-muted); font-weight: 600; }
.fm-recipe-detail .breadcrumbs-sec a { color: var(--shop-muted); }

/* Kopfbereich: Galerie, Titel, Infos */
.fm-recipe-detail .rp-img, .fm-recipe-detail .rp-img .slides, .fm-recipe-detail .rp-img img { border-radius: 18px; }
.fm-recipe-detail .rp-img { overflow: hidden; background: #efe9df; }
.fm-recipe-detail .fm-thumb { border-radius: 10px; border-color: var(--shop-line); background: #fffdf9; }
.fm-recipe-detail .fm-thumb img { border-radius: 7px; }
.fm-recipe-detail .fm-thumb[aria-pressed="true"] { border-color: var(--shop-ink); box-shadow: 0 0 0 1px var(--shop-ink); }
.fm-recipe-detail .rp-title { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .005em; text-transform: uppercase; font-size: clamp(34px, 3.6vw, 56px); line-height: 1; color: var(--shop-ink); }
.fm-recipe-detail .rd-box { border-bottom-color: var(--shop-line); color: #2a2a2a; }
.fm-recipe-detail .three-flex-box { gap: 12px; }
.fm-recipe-detail .three-flex-box .flex-1 { background: #fffdf9; border: 1px solid var(--shop-line); border-radius: 16px; padding: 16px 10px 14px; }
.fm-recipe-detail .tfb-text { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px; letter-spacing: .04em; color: var(--shop-ink); margin-top: 8px; }
.fm-recipe-detail .print-link-btn { border-radius: 999px !important; border: 1.5px solid #E8574A !important; color: #E8574A !important; background: transparent !important; font-family: 'Nunito', sans-serif; font-weight: 800; letter-spacing: .06em; padding: 12px 26px !important; }
.fm-recipe-detail .print-link-btn:hover { background: #E8574A !important; color: #fff !important; }

/* Zutaten + Zubereitung */
.fm-recipe-detail .im-box.ingredients-box { background: #fff; border-radius: 24px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 14px 34px rgba(60, 40, 10, .07); }
.fm-recipe-detail .im-title { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .005em; text-transform: uppercase; color: var(--shop-ink); }
.fm-recipe-detail .im-box { color: #2a2a2a; }
.fm-recipe-detail .detail-box { border-bottom-color: var(--shop-line); }
.fm-recipe-detail .detail-box.black, .fm-recipe-detail .md-box .black { font-family: 'Nunito', sans-serif; font-weight: 900; letter-spacing: .02em; color: var(--shop-ink); }
.fm-recipe-detail .md-ol-list li::marker { font-family: 'Nunito', sans-serif; font-weight: 900; color: #E8574A; }

/* „Das passt dazu“ */
.fm-recipe-detail .case-title { font-family: 'Titan One', 'Nunito', sans-serif; font-weight: 400; letter-spacing: .005em; text-transform: uppercase; color: var(--shop-ink) !important; }
.fm-recipe-detail .divider-line { background: #E8574A !important; height: 3px; }
.fm-recipe-detail .ymal-img-box { border-radius: 18px; overflow: hidden; background: #efe9df !important; }
.fm-recipe-detail .ymal-img-box img { object-fit: cover; transition: transform .5s ease; }
.fm-recipe-detail .ymal-img-box a:hover img { transform: scale(1.03); }
.fm-recipe-detail .ymal-box .main_title.h4 { font-family: 'Nunito', sans-serif; font-size: 19px; font-weight: 900; line-height: 1.3; letter-spacing: -.01em; color: var(--shop-ink); }
.fm-recipe-detail .ymal-box .main_title a { color: inherit; text-decoration: none; }
.fm-recipe-detail :is(a, button):focus-visible { outline: 3px solid #a63c30; outline-offset: 4px; }

/* „Sag kurz Hallo“ wie auf Startseite, Shop, Rezepten und Produktseiten */
body.fm-recipe-detail .nwt-sec { padding: 64px 0; background: #eee8dd !important; color: #030504; }
body.fm-recipe-detail .nwt-sec .bg { display: none !important; }
body.fm-recipe-detail .nwt-sec .about_slogan-icon { display: none !important; }
body.fm-recipe-detail .nwt-sec .container { color: #030504 !important; }
body.fm-recipe-detail .nwt-sec .about_slogan-title, body.fm-recipe-detail .nwt-sec .about_slogan-title h2 { font-family: 'Titan One', 'Nunito', sans-serif !important; font-weight: 400 !important; letter-spacing: .005em; color: #030504 !important; text-transform: uppercase; }
body.fm-recipe-detail .nwt-sec .about_slogan-title .title { font-size: clamp(30px, 3vw, 44px) !important; line-height: 1 !important; }
body.fm-recipe-detail .nwt-sec .outlined--white { color: #E8574A !important; -webkit-text-fill-color: #E8574A !important; -webkit-text-stroke: 0 !important; font-size: clamp(56px, 7vw, 104px) !important; line-height: .95 !important; }
body.fm-recipe-detail .nwt-sec .about_slogan-text { color: #2a2a2a !important; }
body.fm-recipe-detail .nwt-sec .btn--accent { background: #E8574A !important; border-color: #E8574A !important; color: #fff !important; border-radius: 999px; padding: 16px 34px; font-family: 'Nunito', sans-serif; font-weight: 800; }
body.fm-recipe-detail .nwt-sec .btn--accent:hover { background: #d4463a !important; border-color: #d4463a !important; }

@media (max-width: 991px) {
  .fm-recipe-detail .container { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 575px) {
  .fm-recipe-detail .container { padding-left: 16px; padding-right: 16px; }
  .fm-recipe-detail .rp-title { font-size: 32px; }
  .fm-recipe-detail .three-flex-box { gap: 8px; }
  .fm-recipe-detail .three-flex-box .flex-1 { padding: 12px 6px 10px; border-radius: 12px; }
  .fm-recipe-detail .tfb-text { font-size: 12.5px; letter-spacing: .02em; }
  .fm-recipe-detail .im-box.ingredients-box { border-radius: 18px; }
  .fm-recipe-detail .ymal-box .main_title.h4 { font-size: 16px; }
  body.fm-recipe-detail .nwt-sec { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-recipe-detail .ymal-img-box img { transition: none; }
}
