/*
Theme Name: Five Minute Menu
Description: A cozy, cottage style block theme for Five Minute Menu. Cream and sage with rose accents, handwritten touches and a homepage built for the dinner planner.
Version: 1.5.7
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: five-minute-menu
*/

/* ---------- Basics ---------- */
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.fmm-hand { font-family: var(--wp--preset--font-family--hand) !important; }
.fmm-small { font-size: 14px; color: #6B6255; margin: 0; }
.fmm-muted { color: var(--wp--preset--color--muted); }
.wp-block-button .wp-block-button__link { box-shadow: 3px 3px 0 var(--wp--preset--color--ink); min-height: 48px; display: inline-flex; align-items: center; }
.wp-block-button .wp-block-button__link:focus-visible { outline: 3px solid var(--wp--preset--color--butter); outline-offset: 3px; }

/* ---------- Header ---------- */
.fmm-header { padding-top: 20px; padding-bottom: 20px; }
.fmm-header-row { gap: 16px; }
.fmm-logo { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.fmm-logo a { color: var(--wp--preset--color--ink); text-decoration: none; }
.fmm-logo::before { content: ""; width: 38px; height: 38px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%234E6B4A' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M17 31V9'/%3E%3Cpath d='M17 16c-5 0-8-3-8-7 4 0 8 3 8 7z'/%3E%3Cpath d='M17 22c5 0 8-3 8-7-4 0-8 3-8 7z'/%3E%3Ccircle cx='17' cy='6' r='3' fill='%23A04E5C' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain; }
.fmm-nav { gap: 8px 26px; align-items: center; font-weight: 500; font-size: 16px; }
.fmm-nav p { margin: 0; }
.fmm-nav p a { color: var(--wp--preset--color--ink); text-decoration: none; }
.fmm-nav p a:hover { text-decoration: underline wavy var(--wp--preset--color--rose); text-underline-offset: 6px; }
.fmm-btn-ghost .wp-block-button__link { background: transparent; color: var(--wp--preset--color--sage); border: 1.5px solid var(--wp--preset--color--sage); box-shadow: none; padding: 9px 20px; min-height: 44px; font-size: 16px; }
.fmm-btn-ghost .wp-block-button__link:hover { background: var(--wp--preset--color--sage); color: #FFFFFF; }
.fmm-header-buttons { gap: 10px; }
.fmm-btn-small .wp-block-button__link { padding: 9px 20px; min-height: 44px; font-size: 16px; box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }
.fmm-btn-text .wp-block-button__link { background: transparent; color: var(--wp--preset--color--sage); box-shadow: none; padding-left: 8px; padding-right: 8px; text-decoration: underline; text-underline-offset: 4px; }
.fmm-btn-text .wp-block-button__link:hover { background: transparent; color: #2F4A2C; }

/* ---------- Hero ---------- */
.fmm-hero { padding-top: 40px; padding-bottom: 96px; }
.fmm-hero-cols { gap: 64px; }
.fmm-hero-copy { position: relative; }
.fmm-hero-copy > * + * { margin-top: 22px; }
.fmm-eyebrow { margin: 0; font-size: 30px; color: var(--wp--preset--color--sage); transform: rotate(-2deg); transform-origin: left; line-height: 1.2; }
.fmm-hero-title { margin: 0; line-height: 1.08; }
.fmm-hero-title em { text-decoration: underline wavy var(--wp--preset--color--rose); text-decoration-thickness: 2px; text-underline-offset: 12px; }
.fmm-hero-copy::after { content: ""; position: absolute; right: 6%; top: -4px; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A04E5C' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5L18 18M18 6l-2.5 2.5M8.5 15.5L6 18'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.fmm-lede { font-size: 19px; color: var(--wp--preset--color--muted); max-width: 520px; }
.fmm-hero-buttons { gap: 14px; }

/* The tilted "This week" card */
.fmm-hero-art { display: flex; justify-content: center; padding: 24px 0; }
.fmm-menu-card { position: relative; width: 100%; max-width: 430px; margin: 0 auto; transform: rotate(-2deg); background-color: var(--wp--preset--color--paper); background-image: repeating-linear-gradient(0deg, transparent 0 33px, rgba(78,107,74,.10) 33px 34px); border: 1px solid var(--wp--preset--color--edge); border-radius: 6px; padding: 30px 28px 24px; box-sizing: border-box; box-shadow: 0 22px 44px -26px rgba(60,45,25,.45); }
.fmm-menu-card > * + * { margin-top: 14px; }
.fmm-menu-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; margin-left: -60px; transform: rotate(3deg); background-color: rgba(160,78,92,.55); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px); }
.fmm-menu-card::after { content: "grocery list included!"; position: absolute; right: -34px; top: -34px; width: 96px; height: 96px; border-radius: 50%; background: var(--wp--preset--color--butter); color: var(--wp--preset--color--ink); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 24px; line-height: 1; transform: rotate(12deg); box-shadow: 2px 2px 0 var(--wp--preset--color--ink); padding: 8px; box-sizing: border-box; }
.fmm-menu-head { align-items: baseline; padding-right: 56px; }
.fmm-menu-title { margin: 0; font-size: 38px !important; font-weight: 700; line-height: 1; }
.fmm-week p { margin: 0; padding: 7px 0; display: flex; gap: 12px; }
.fmm-week em { font-style: normal; font-size: 14px; color: #6B6255; width: 84px; flex: none; padding-top: 2px; }
.fmm-box { border-radius: 12px; padding: 12px 14px; }
.fmm-box p { margin: 0; }
.fmm-box-sage { background: var(--wp--preset--color--sage-soft); }
.fmm-box-rose { background: var(--wp--preset--color--rose-soft); }
.fmm-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fmm-box-sage .fmm-label { color: var(--wp--preset--color--sage); }
.fmm-box-rose .fmm-label { color: var(--wp--preset--color--rose); }
.fmm-menu-foot p { margin: 0; font-size: 15px; }
.fmm-print { color: var(--wp--preset--color--sage); font-weight: 600; }

/* ---------- Edges ---------- */
.fmm-scallop { height: 16px; }
.fmm-scallop-up { background: radial-gradient(circle at 12px 16px, var(--wp--preset--color--paper) 11px, transparent 12px) 0 0 / 24px 16px repeat-x; }
.fmm-scallop-down { background: radial-gradient(circle at 12px 0, var(--wp--preset--color--paper) 11px, transparent 12px) 0 0 / 24px 16px repeat-x; }
.fmm-scallop-forest { background: radial-gradient(circle at 12px 16px, var(--wp--preset--color--forest) 11px, transparent 12px) 0 0 / 24px 16px repeat-x; }
.fmm-gingham { height: 20px; background-color: var(--wp--preset--color--cream); background-image: repeating-linear-gradient(0deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px), repeating-linear-gradient(90deg, rgba(78,107,74,.16) 0 10px, transparent 10px 20px); }

/* ---------- How it works ---------- */
.fmm-how { background: var(--wp--preset--color--paper); padding-top: 72px; padding-bottom: 88px; }
.fmm-section-head { max-width: 660px; margin-bottom: 44px; }
.fmm-section-head > * { margin: 0; }
.fmm-kicker { margin: 0 0 6px; font-size: 28px; color: var(--wp--preset--color--sage); line-height: 1.2; }
.fmm-steps { gap: 26px; }
.fmm-step { border: 1.5px solid var(--wp--preset--color--ink); border-radius: 18px; padding: 24px; background: var(--wp--preset--color--linen); box-shadow: 4px 4px 0 var(--wp--preset--color--edge); transform: rotate(-1deg); }
.fmm-step:nth-child(even) { transform: rotate(1deg); }
.fmm-step > * { margin: 0; }
.fmm-step > * + * { margin-top: 10px; }
.fmm-step h3 { font-family: var(--wp--preset--font-family--body); font-size: 19px; font-weight: 700; }
.fmm-step p { color: var(--wp--preset--color--muted); }
.fmm-num { width: 52px; height: 52px; border: 2px dashed var(--wp--preset--color--rose); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 32px; color: var(--wp--preset--color--rose) !important; line-height: 1; }

/* ---------- Recipe box ---------- */
.fmm-recipes { padding-top: 88px; padding-bottom: 88px; }
.fmm-recipes-cols { gap: 56px; }
.fmm-recipes-cols h2 { margin: 0 0 16px; }
.fmm-recipe-grid { gap: 20px; }
.fmm-recipe { position: relative; background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--edge); border-radius: 14px; padding: 18px 20px; transform: rotate(1deg); }
.fmm-recipe:nth-child(odd) { transform: rotate(-1.2deg); }
.fmm-recipe > * { margin: 0; }
.fmm-recipe > * + * { margin-top: 6px; }
.fmm-recipe h3 { font-size: 20px; line-height: 1.25; }
.fmm-pick::after { content: "Carrie's pick!"; position: absolute; top: -20px; right: 12px; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 22px; color: var(--wp--preset--color--rose); transform: rotate(6deg); }
.fmm-tag { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; line-height: 1.5; }
.fmm-tag-meat { background: #F6E1D8; color: #7E3B22; }
.fmm-tag-vegan { background: #DDEED9; color: #2E5A28; }
.fmm-tag-fish { background: #DCE9F4; color: #1F4D75; }
.fmm-tag-treat { background: #F3E2E5; color: #7A3446; }

/* ---------- Note ---------- */
.fmm-note { background: var(--wp--preset--color--sage-soft); padding-top: 80px; padding-bottom: 80px; }
.fmm-note::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34' fill='none' stroke='%234E6B4A' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M17 31V9'/%3E%3Cpath d='M17 16c-5 0-8-3-8-7 4 0 8 3 8 7z'/%3E%3Cpath d='M17 22c5 0 8-3 8-7-4 0-8 3-8 7z'/%3E%3Ccircle cx='17' cy='6' r='3' fill='%23A04E5C' stroke='none'/%3E%3C/svg%3E") no-repeat center / contain; }
.fmm-note h2 { margin: 0; }
.fmm-note-text { font-size: 19px; color: #3E4A3B; }
.fmm-signature { font-size: 38px; font-weight: 700; color: var(--wp--preset--color--sage); transform: rotate(-3deg); margin-top: 8px; }

/* ---------- Pricing ---------- */
.fmm-pricing { padding-top: 96px; padding-bottom: 96px; }
.fmm-price-card { position: relative; max-width: 640px !important; margin-left: auto !important; margin-right: auto !important; background: var(--wp--preset--color--paper); border: 1.5px solid var(--wp--preset--color--ink); border-radius: 24px; padding: 48px 36px; box-sizing: border-box; box-shadow: 6px 6px 0 var(--wp--preset--color--edge); }
.fmm-price-card > * { margin: 0; }
.fmm-price-card > * + * { margin-top: 18px; }
.fmm-price-card .fmm-muted { max-width: 460px; margin-left: auto; margin-right: auto; }
.fmm-price-card .wdp-wl { text-align: center; }
.fmm-price-card .wdp-wl form { justify-content: center; }
.fmm-price-card::before { content: "soon!"; position: absolute; top: -34px; right: -18px; width: 92px; height: 92px; border-radius: 50%; background: var(--wp--preset--color--rose); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--hand); font-weight: 700; font-size: 30px; transform: rotate(-10deg); box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }

/* ---------- Footer ---------- */
.fmm-footer { background: var(--wp--preset--color--forest); color: #EDE6D6; padding-top: 48px; padding-bottom: 40px; }
.fmm-footer a { color: #EDE6D6; }
.fmm-footer a:hover { color: #FFFFFF; }
.fmm-footer-row { gap: 24px 48px; }
.fmm-footer-brand { gap: 4px; }
.fmm-footer-brand p { margin: 0; font-size: 15px; }
.fmm-footer-title { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 24px; font-weight: 600; color: #FFFDF8; }
.fmm-footer-tag { font-size: 24px !important; color: var(--wp--preset--color--butter); }
.fmm-footer-links { gap: 12px 28px; font-size: 15px; }
.fmm-footer-links p { margin: 0; }
.fmm-footer-fine { font-size: 13px; color: #C9C1AE; margin: 32px 0 0; }

/* ---------- Inside pages and the planner ---------- */
.fmm-page { padding-top: 32px; padding-bottom: 88px; min-height: 50vh; }
.fmm-page-title { margin-bottom: 24px; }
.fmm-page-wide { padding-top: 16px; }
/* ---------- The planner (Menu page) ---------- */
/* Any page holding the planner gets the full 1160px width */
.fmm-has-planner { --wp--style--global--content-size: 1160px; }
.fmm-has-planner .fmm-page-title { display: none; }
.fmm-has-planner .fmm-page { padding-top: 8px; }

#dp-root.dp {
	--bg: transparent; --surface: #FFFDF8; --sunk: #F3ECDD; --ink: #2F2A24; --muted: #5E564B; --line: #E3D8C3;
	--accent: #4E6B4A; --accent-ink: #FFFFFF; --accent-soft: #EEF2E8; --carrot: #B0603F; --berry: #A04E5C;
	--display: "Fraunces", Georgia, serif; --body: "Figtree", "Segoe UI", sans-serif; --radius: 14px;
	font-size: 16.5px;
}
#dp-root.dp .dp-wrap { max-width: 1160px; padding-inline: 0; gap: 22px; }
#dp-root.dp .dp-title { font-size: clamp(34px, 4.5vw, 48px); letter-spacing: -0.02em; }
#dp-root.dp .dp-sub { font-family: var(--wp--preset--font-family--hand); font-size: 26px; color: var(--wp--preset--color--sage); transform: rotate(-1.5deg); transform-origin: left; margin-top: 2px; }
#dp-root.dp .dp-banner { background: #FBF7EF; border: 1.5px dashed #D9CCB4; border-radius: 14px; padding: 14px 18px; font-size: 15px; }

/* Tabs: recipe-box dividers */
#dp-root.dp .dp-tabs { background: var(--wp--preset--color--cream); border-bottom: 2px dashed #D9CCB4; padding-block: 10px; gap: 8px; }
#dp-root.dp .dp-tab { font-size: 16px; padding: 10px 18px; color: var(--ink); border: 1.5px solid transparent; }
#dp-root.dp .dp-tab:hover { background: #FBF7EF; border-color: #E3D8C3; }
#dp-root.dp .dp-tab[aria-selected="true"] { background: var(--wp--preset--color--sage); color: #FFFFFF; border-color: var(--wp--preset--color--ink); box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }
#dp-root.dp .dp-tab .count { background: var(--wp--preset--color--rose); }

/* Controls */
#dp-root.dp .dp-label { font-size: 15px; }
#dp-root.dp .dp-stepper { border: 1.5px solid #D9CCB4; background: #FFFDF8; }
#dp-root.dp .dp-stepper button { width: 44px; height: 44px; color: var(--wp--preset--color--rose); font-weight: 700; }
#dp-root.dp .dp-chip { border: 1.5px solid #E3D8C3; background: #FFFDF8; padding: 7px 14px; font-size: 15px; }
#dp-root.dp .dp-chip:hover { border-color: var(--wp--preset--color--sage); }
#dp-root.dp .dp-chip[aria-pressed="true"] { background: var(--wp--preset--color--sage); border-color: var(--wp--preset--color--sage); color: #FFFFFF; }
#dp-root.dp .dp-select, #dp-root.dp .dp-input, #dp-root.dp .dp-textarea, #dp-root.dp .dp-serv input { border: 1.5px solid #D9CCB4; border-radius: 12px; background: #FFFFFF; }
#dp-root.dp .dp-select { min-height: 46px; }
#dp-root.dp .dp-btn { border-radius: 999px; border: 1.5px solid var(--wp--preset--color--sage); padding: 9px 18px; }
#dp-root.dp .dp-btn.primary { background: var(--wp--preset--color--rose); border-color: var(--wp--preset--color--rose); color: #FFFFFF; box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }
#dp-root.dp .dp-btn.primary:hover { filter: none; background: #8A3F4C; }
#dp-root.dp .dp-btn.small { padding: 6px 14px; }
#dp-root.dp .dp-link { color: var(--wp--preset--color--sage); }

/* Meal cards: three across on desktop, like recipe cards on the counter */
#dp-root.dp .dp-meals { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; align-items: start; }
@media (min-width: 900px) { #dp-root.dp .dp-meals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#dp-root.dp .dp-meal { background-color: #FFFDF8; background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(78,107,74,.07) 31px 32px); border: 1.5px solid #E3D8C3; border-radius: 10px; padding: 18px; gap: 12px; box-shadow: 3px 3px 0 #E3D8C3; position: relative; }
#dp-root.dp .dp-meal-name { font-family: var(--wp--preset--font-family--hand); font-size: 28px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1; }
#dp-root.dp .dp-meal.prep { background-color: #F3F6EE; border: 1.5px dashed var(--wp--preset--color--sage); box-shadow: 3px 3px 0 #D7E0CF; }
#dp-root.dp .dp-meal.prep .dp-meal-name { color: var(--wp--preset--color--sage); }
#dp-root.dp .dp-meal.treat { background-color: #FBF0EF; border: 1.5px dashed var(--wp--preset--color--rose); box-shadow: 3px 3px 0 #EED6D6; }
#dp-root.dp .dp-meal.treat .dp-meal-name { color: var(--wp--preset--color--rose); }
#dp-root.dp .dp-meal.prep::before, #dp-root.dp .dp-meal.treat::before { content: ""; position: absolute; top: -11px; left: 50%; width: 84px; height: 22px; margin-left: -42px; transform: rotate(-3deg); background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.45) 0 6px, transparent 6px 12px); }
#dp-root.dp .dp-meal.prep::before { background-color: rgba(78,107,74,.5); }
#dp-root.dp .dp-meal.treat::before { background-color: rgba(160,78,92,.55); transform: rotate(3deg); }

/* Photos and drawings inside the planner */
#dp-root.dp .dp-art { --art-fill: #DCE5D4; background: #EEF2E8; border: 1.5px solid #E3D8C3; border-radius: 8px; color: #2F2A24; }
#dp-root.dp .dp-art.treat { --art-fill: #EFCFD3; background: #F8E9E9; }
#dp-root.dp .dp-art.photo { border-color: #E3D8C3; }
#dp-root.dp .dp-art.card { margin: -18px -18px 6px; border: 0; border-bottom: 1.5px solid #E3D8C3; border-radius: 11px 11px 0 0; }
#dp-root.dp .dp-modal .dp-art.modal { border: 0; border-bottom: 1.5px solid #E3D8C3; }

/* The sweet treat sits on its own full-width card under the dinners */
@media (min-width: 900px) {
	#dp-root.dp .dp-meal.treat { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 26px; align-items: start; }
	#dp-root.dp .dp-meal.treat > .dp-meal-top { grid-column: 1 / -1; }
	#dp-root.dp .dp-meal.treat > .dp-art { grid-column: 2; grid-row: 2 / span 4; margin: 0; }
	#dp-root.dp .dp-meal.treat > .dp-select,
	#dp-root.dp .dp-meal.treat > .dp-serv,
	#dp-root.dp .dp-meal.treat > .dp-note,
	#dp-root.dp .dp-meal.treat > .dp-meta { grid-column: 1; }
	#dp-root.dp .dp-meal.treat > .dp-meal-top { padding-right: 4px; }
	#dp-root.dp .dp-meal.treat::after { content: "Bake it on the weekend and it lasts all week, for lunchboxes and a little something after dinner."; grid-column: 3; grid-row: 2 / span 4; align-self: center; font-family: var(--wp--preset--font-family--hand); font-size: 26px; line-height: 1.25; color: var(--wp--preset--color--rose); transform: rotate(-2deg); }
}

/* Summary bar */
#dp-root.dp .dp-summary { background: #FFFDF8; border: 1.5px solid var(--wp--preset--color--ink); border-radius: 16px; padding: 16px 20px; box-shadow: 4px 4px 0 #E3D8C3; font-size: 17px; }

/* Shopping list, pantry, recipes */
#dp-root.dp .dp-h2 { font-size: 30px; }
#dp-root.dp .dp-cols { columns: 3 300px; column-gap: 20px; }
#dp-root.dp .dp-cols .dp-group { margin-bottom: 20px; }
#dp-root.dp .dp-group { border: 1.5px solid #E3D8C3; border-radius: 12px; background: #FFFDF8; }
#dp-root.dp .dp-group h3 { font-family: var(--wp--preset--font-family--hand); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--sage); background: #F3F6EE; border-bottom: 1.5px dashed #D9CCB4; padding: 6px 16px; font-weight: 700; }
#dp-root.dp .dp-item, #dp-root.dp .dp-pantry-item { border-top: 1px dashed #E3D8C3; }
#dp-root.dp .dp-cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
@media (min-width: 900px) { #dp-root.dp .dp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
#dp-root.dp .dp-card { border: 1.5px solid #E3D8C3; border-radius: 12px; background: #FFFDF8; padding: 18px; box-shadow: 3px 3px 0 #E3D8C3; }
#dp-root.dp .dp-card h3 { font-size: 21px; }
#dp-root.dp .dp-form, #dp-root.dp .dp-mine-row { border: 1.5px solid #E3D8C3; background: #FFFDF8; border-radius: 12px; }
#dp-root.dp .dp-empty { border: 1.5px dashed #D9CCB4; border-radius: 12px; background: #FBF7EF; }
#dp-root.dp .dp-modal { background: #FFFDF8; border-radius: 16px; border: 1.5px solid var(--wp--preset--color--ink); box-shadow: 6px 6px 0 rgba(47,42,36,.25); }
#dp-root.dp .dp-modal h2 { font-size: 30px; }
#dp-root.dp .dp-overlay { background: rgba(47,42,36,.55); }
#dp-root.dp .dp-foot { border-top: 1.5px dashed #D9CCB4; }

/* ---------- Phones ---------- */
@media (max-width: 781px) {
	.fmm-hero { padding-top: 16px; padding-bottom: 72px; }
	.fmm-hero-cols { gap: 40px; }
	.fmm-menu-card::after { right: -8px; top: -40px; width: 84px; height: 84px; font-size: 21px; }
	.fmm-price-card::before { right: -6px; top: -30px; width: 80px; height: 80px; font-size: 26px; }
	.fmm-price-card { padding: 44px 22px; }
	.fmm-recipes-cols { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }

/* Recipe photos on the homepage */
.fmm-recipe > .fmm-recipe-photo { margin: -18px -20px 12px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 13px 13px 0 0; background: var(--wp--preset--color--sage-soft); }
.fmm-recipe-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fmm-week p.fmm-week-row { align-items: center; }
.fmm-week-row em { padding-top: 0; }
.fmm-thumb { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--wp--preset--color--paper); box-shadow: 0 1px 0 var(--wp--preset--color--edge); margin-left: -4px; }
.fmm-box { position: relative; }
.fmm-thumb-box { position: absolute; right: 12px; top: 50%; width: 52px; height: 52px; margin: -26px 0 0; }
.fmm-box:has(.fmm-thumb-box) > :not(.fmm-thumb-box) { padding-right: 64px; }

/* Feedback tab */
.fmm-feedback { position: fixed !important; right: 0; top: 50%; bottom: auto; left: auto; z-index: 99990; display: flex !important; visibility: visible !important; opacity: 1 !important; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 16px 11px; border: 0; cursor: pointer; background: var(--wp--preset--color--rose, #A04E5C); color: #FFFFFF; font-family: var(--wp--preset--font-family--body); font-weight: 700; font-size: 15px; line-height: 1; letter-spacing: .02em; border-radius: 12px 0 0 12px; box-shadow: -3px 3px 0 var(--wp--preset--color--ink, #2B2620), 0 6px 18px rgba(0,0,0,.18); transform: translateY(-50%); transition: padding .15s ease, background-color .15s ease; }
.fmm-feedback span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.fmm-feedback svg { flex: none; }
.fmm-feedback:hover, .fmm-feedback:focus-visible { padding-right: 15px; background: #8A4250; color: #FFFFFF; }
.fmm-feedback:focus-visible { outline: 3px solid var(--wp--preset--color--butter); outline-offset: 2px; }
@media (max-width: 600px) { .fmm-feedback { top: auto; bottom: 96px; transform: none; padding: 11px 8px; font-size: 13px; } .fmm-feedback:hover, .fmm-feedback:focus-visible { padding-right: 8px; } }
@media print { .fmm-feedback { display: none !important; } }
.fmm-fb { position: fixed; right: 60px; top: 50%; transform: translateY(-50%); z-index: 99991; width: min(360px, calc(100vw - 32px)); background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); border: 1.5px solid var(--wp--preset--color--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--wp--preset--color--edge), 0 20px 40px -20px rgba(60,45,25,.45); padding: 18px; font-family: var(--wp--preset--font-family--body); }
.fmm-fb[hidden] { display: none; }
.fmm-fb-form { display: grid; gap: 8px; margin: 0; }
.fmm-fb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.fmm-fb-title { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 21px; line-height: 1.2; }
.fmm-fb-close { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--wp--preset--color--muted); padding: 0 4px; }
.fmm-fb-note { margin: 0 0 4px; font-size: 14px; color: var(--wp--preset--color--muted); }
.fmm-fb-label { font-size: 14px; font-weight: 600; }
.fmm-fb-label span { font-weight: 400; color: var(--wp--preset--color--muted); }
.fmm-fb textarea, .fmm-fb input[type=email] { width: 100%; box-sizing: border-box; border: 1px solid var(--wp--preset--color--edge); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; background: #FFFFFF; color: inherit; }
.fmm-fb textarea:focus, .fmm-fb input[type=email]:focus { outline: 2px solid var(--wp--preset--color--sage); outline-offset: 1px; }
.fmm-fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fmm-fb-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.fmm-fb-send { border: 0; border-radius: 999px; background: var(--wp--preset--color--rose); color: #FFFFFF; font: inherit; font-weight: 600; padding: 10px 22px; cursor: pointer; box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }
.fmm-fb-send:disabled { opacity: .6; cursor: default; }
.fmm-fb-msg { font-size: 14px; }
.fmm-fb-msg.ok { color: var(--wp--preset--color--sage); font-weight: 600; }
.fmm-fb-msg.err { color: var(--wp--preset--color--rose); }
@media (max-width: 600px) { .fmm-fb { right: 16px; left: 16px; width: auto; top: auto; bottom: 16px; transform: none; } }
@media print { .fmm-fb { display: none !important; } }
/* "Carrie's pick" reads as a sticker now that the card has a photo */
.fmm-pick::after { z-index: 2; top: -14px; right: 10px; padding: 2px 12px; font-size: 20px; line-height: 1.3; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--butter); border-radius: 999px; box-shadow: 2px 2px 0 var(--wp--preset--color--ink); }
