/*
 * Meal prep — its own look (cream, deep green, sage), separate from the restaurant menu.
 * .pf-mp is the page's outer Group block; .pf-mp-menu is the [purplefrog_meal_prep] shortcode,
 * which also works on its own in any page.
 */
.pf-mp, .pf-mp-menu {
	/* PatioTime's own colours and fonts (Customizer), so meal prep matches the rest of the site. */
	--mp-green: #09080e;
	--mp-green-2: var(--primary-color, #dd5903);
	--mp-cream: #fdf7f2;
	--mp-cream-2: #f6ede4;
	--mp-sage: #fbe9dc;
	--mp-olive: var(--secondary-color, #c59764);
	--mp-ink: #000;
	--mp-muted: #6b6560;
	--mp-line: rgba(0, 0, 0, .1);
	--mp-radius: 0;
	--mp-serif: var(--heading-font, 'Cormorant Garamond', serif);
	--mp-sans: var(--body-font, 'Jost', sans-serif);
	color: var(--mp-ink);
	font-family: var(--mp-sans);
	font-size: 16px;
	line-height: 1.55;
}
.pf-mp { background: var(--mp-cream); }
.pf-mp *, .pf-mp *::before, .pf-mp *::after, .pf-mp-menu * { box-sizing: border-box; }
/* Block editor defaults (gaps, column margins) are replaced by the layout below. */
.pf-mp :where(.wp-block-columns, .wp-block-buttons, .wp-block-image, .wp-block-group, .wp-block-list) { margin: 0; }
.pf-mp :where(.wp-block-group, .wp-block-columns) + :where(.wp-block-group, .wp-block-columns, .wp-block-shortcode) { margin-top: 0; }
.pf-landing > .pf-mp:first-child { margin-top: 0; }
/* The theme's overflow-x: hidden on #page would stop the section filters from sticking. */
.pf-meal-prep-page #page { overflow-x: clip; overflow-y: visible; }
.pf-mp :where(h1, h2, h3, h4), .pf-mp-menu :where(h3, h4) {
	font-family: var(--mp-serif);
	font-weight: 600;
	color: var(--mp-green);
	letter-spacing: -.01em;
	text-transform: none;
	margin: 0;
}
.pf-mp :where(p), .pf-mp-menu :where(p) { margin: 0; }
.pf-mp .pf-mp-wrap, .pf-mp-menu .pf-mp-wrap { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding: 0 32px; }

/* Buttons (also the Buttons block: give a Button the class pf-mp-btn-primary or pf-mp-btn-ghost) */
.pf-mp-btn, .pf-mp .wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px; border-radius: 0; border: 1px solid transparent;
	font: 500 13px/1 var(--mp-sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pf-mp-btn-primary, .pf-mp .wp-block-button.pf-mp-btn-primary .wp-block-button__link { background: var(--mp-green-2); color: #fff; }
.pf-mp-btn-primary:hover, .pf-mp .wp-block-button.pf-mp-btn-primary .wp-block-button__link:hover { background: #000; color: #fff; }
.pf-mp .wp-block-button.pf-mp-btn-ghost .wp-block-button__link { border-color: currentColor; color: #fff; background: transparent; }
.pf-mp .wp-block-button.pf-mp-btn-ghost .wp-block-button__link:hover { background: #fff; color: var(--mp-green); }

/* Hero — dark so the theme's transparent header stays readable */
.pf-mp-hero { background: var(--mp-green); color: rgba(255, 255, 255, .85); padding: 170px 0 90px; overflow: hidden; }
.pf-mp .pf-mp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pf-mp .pf-mp-hero-grid > .wp-block-column { flex-basis: auto; margin: 0; min-width: 0; }
.pf-mp-eyebrow { font: 500 13px/1.4 var(--mp-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mp-olive); margin-bottom: 18px; }
.pf-mp-hero h1 { color: #fff; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; font-weight: 400; }
.pf-mp-lead { margin-top: 22px; font-size: 18px; max-width: 34em; color: rgba(255, 255, 255, .86); }
.pf-mp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pf-mp .pf-mp-hero .wp-block-button.pf-mp-btn-primary .wp-block-button__link { background: var(--mp-green-2); color: #fff; }
.pf-mp .pf-mp-hero .wp-block-button.pf-mp-btn-primary .wp-block-button__link:hover { background: #fff; color: #000; }
.pf-mp .pf-mp-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 14px; color: rgba(255, 255, 255, .78); }
.pf-mp-facts li { margin: 0; }
.pf-mp-facts strong { color: #fff; font-weight: 600; }
.pf-mp .pf-mp-hero-photos { position: relative; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.pf-mp .pf-mp-hero-photo { position: absolute; margin: 0; border-radius: 0; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.pf-mp-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-mp .pf-mp-hero-photo figcaption { margin: 0; position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--mp-green); font: 600 12px/1 var(--mp-sans); padding: 8px 12px; border-radius: 0; }
.pf-mp-hero-photo-1 { inset: 0 22% 26% 0; }
.pf-mp-hero-photo-2 { width: 44%; aspect-ratio: 1; right: 0; top: 14%; }
.pf-mp-hero-photo-3 { width: 48%; aspect-ratio: 4 / 3; right: 6%; bottom: 0; }

/* How it works */
.pf-mp-how { padding: 88px 0 24px; }
.pf-mp-how h2, .pf-mp-menu-head h2, .pf-mp-info h2, .pf-mp-info h2.wp-block-heading { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; }
.pf-mp .pf-mp-steps { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pf-mp .pf-mp-step { margin: 0; flex-basis: auto; background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); padding: 28px; }
.pf-mp-step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--mp-sage); color: var(--mp-green); font: 600 16px/1 var(--mp-serif); }
.pf-mp-steps h3 { font-size: 22px; margin: 18px 0 8px; }
.pf-mp-steps .pf-mp-step-num { margin: 0; }
.pf-mp-steps p { color: var(--mp-muted); font-size: 15px; }

/* Choose your box */
.pf-mp-box { margin-top: 8px; scroll-margin-top: 24px; }
.pf-mp-box-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 40px; align-items: center; padding: 28px 32px; background: #fff; border: 1px solid var(--mp-line); transition: box-shadow .3s; }
.pf-mp-box.is-asking .pf-mp-box-inner { animation: pf-mp-ask 1.6s ease-out; }
@keyframes pf-mp-ask { 0%, 40% { box-shadow: 0 0 0 3px var(--mp-green-2); } 100% { box-shadow: 0 0 0 3px transparent; } }
.pf-mp-box-step { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-green-2); }
.pf-mp-box-intro h3 { font-size: 30px; margin-top: 4px; }
.pf-mp-box-intro p:last-child { margin-top: 6px; color: var(--mp-muted); font-size: 15px; }
.pf-mp-box-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pf-mp-box-option {
	position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 20px 18px 52px; text-align: left;
	border: 1px solid var(--mp-line); background: var(--mp-cream); color: var(--mp-green); border-radius: 0;
	font: 400 14px/1.3 var(--mp-sans); letter-spacing: 0; text-transform: none; cursor: pointer; transition: border-color .2s, background .2s;
}
.pf-mp-box-option::before { content: ""; position: absolute; left: 20px; top: 21px; width: 18px; height: 18px; border: 1px solid var(--mp-muted); border-radius: 50%; background: #fff; }
.pf-mp-box-option strong { font: 600 22px/1.1 var(--mp-serif); }
.pf-mp-box-option span { color: var(--mp-muted); }
.pf-mp-box-option em { font-style: normal; font-weight: 600; color: var(--mp-green-2); }
.pf-mp-box-option:hover { border-color: var(--mp-green); background: #fff; }
.pf-mp-box-option[aria-checked="true"] { border-color: var(--mp-green); background: #fff; box-shadow: inset 0 0 0 1px var(--mp-green); }
.pf-mp-box-option[aria-checked="true"]::before { border-color: var(--mp-green-2); box-shadow: inset 0 0 0 4px #fff; background: var(--mp-green-2); }
.pf-mp-box-option:disabled { opacity: .6; cursor: wait; }
.pf-mp-box-msg { grid-column: 1 / -1; color: var(--mp-green-2); font-weight: 600; font-size: 14px; }
.pf-mp-box-msg:empty { display: none; }

/* Menu */
.pf-mp-menu-intro { padding: 72px 0 40px; }
.pf-mp-menu-head p { margin-top: 10px; color: var(--mp-muted); }
.pf-mp-filters { position: sticky; top: 0; z-index: 20; margin-top: 28px; padding: 12px 0; background: rgba(253, 247, 242, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mp-line); }
.admin-bar .pf-mp-filters { top: 32px; }
.pf-mp-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.pf-mp-chips::-webkit-scrollbar { display: none; }
.pf-mp-chip {
	flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 0;
	border: 1px solid var(--mp-line); background: #fff; color: var(--mp-green);
	font: 500 14px/1 var(--mp-sans); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .2s, color .2s;
}
.pf-mp-chip span { font-size: 12px; color: var(--mp-muted); }
.pf-mp-chip:hover { background: var(--mp-sage); }
.pf-mp-chip.is-active { background: var(--mp-green); border-color: var(--mp-green); color: #fff; }
.pf-mp-chip.is-active span { color: rgba(255, 255, 255, .7); }

.pf-mp-section { padding-top: 48px; scroll-margin-top: 90px; }
.pf-mp-section[hidden] { display: none; }
.pf-mp-section-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pf-mp-section-head h3 { font-size: 28px; }
.pf-mp-section-head p { color: var(--mp-muted); font-size: 15px; }
.pf-mp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }

.pf-mp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.pf-mp-card.is-linked { box-shadow: 0 0 0 3px var(--mp-olive); }
.pf-mp-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .12); transform: translateY(-2px); }
.pf-mp-card-photo { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; cursor: pointer; }
.pf-mp-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.pf-mp-card:hover .pf-mp-card-photo img { transform: scale(1.04); }
.pf-mp-card-photo.is-empty { display: grid; place-items: center; background: var(--mp-cream-2); color: var(--mp-muted); font-size: 14px; }
.pf-mp-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pf-mp-card h4 { font-size: 20px; line-height: 1.25; }
.pf-mp-card-desc { margin-top: 8px; color: var(--mp-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-mp-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pf-mp-card-hint, .pf-mp-card-deal { background: var(--mp-sage); color: var(--mp-green); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 0; }
.pf-mp-card-deal { background: var(--mp-green-2); color: #fff; }
.pf-mp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.pf-mp-price { font: 600 19px/1 var(--mp-sans); color: var(--mp-green); }
.pf-mp-price small { font-size: 12px; font-weight: 500; color: var(--mp-muted); }
.pf-mp-add {
	display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 18px; border-radius: 0; border: 0;
	background: var(--mp-green-2); color: #fff; font: 500 13px/1 var(--mp-sans); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.pf-mp-add span { font-size: 18px; line-height: 0; }
.pf-mp-add:hover { background: #000; }
.pf-mp-add.is-added { background: var(--mp-olive); }
.pf-mp-add:disabled { opacity: .6; cursor: wait; }

/* Info */
.pf-mp-info { padding: 72px 0 110px; }
.pf-mp .pf-mp-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pf-mp-info p { margin-top: 14px; color: var(--mp-muted); }
.pf-mp-info-grid > .wp-block-column { margin: 0; flex-basis: auto; }
.pf-mp-info details { margin: 0; border-bottom: 1px solid var(--mp-line); padding: 16px 0; }
.pf-mp-info details:first-of-type { margin-top: 12px; }
.pf-mp-info summary { cursor: pointer; font-weight: 600; color: var(--mp-green); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pf-mp-info summary::after { content: '+'; font-size: 20px; line-height: 1; }
.pf-mp-info details[open] summary::after { content: '−'; }
.pf-mp-info details p { margin-top: 8px; }
.pf-mp-info a { color: var(--mp-green); text-decoration: underline; }

/* Your box bar */
.pf-mp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.pf-mp-bar[hidden] { display: none; }
.pf-mp-bar-inner { pointer-events: auto; max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--mp-green); color: rgba(255, 255, 255, .85); border-radius: 0; padding: 8px 8px 8px 26px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.pf-mp-bar-text { display: flex; flex-direction: column; gap: 6px; font-size: 15px; min-width: 0; }
.pf-mp-bar-text strong { color: #fff; }
.pf-mp-slots { display: flex; gap: 4px; }
.pf-mp-slots i { width: 14px; height: 6px; background: rgba(255, 255, 255, .2); }
.pf-mp-slots i.is-full { background: var(--mp-green-2); }
.pf-mp-bar .pf-mp-btn-primary { background: var(--mp-green-2); color: #fff; flex: none; }
.pf-mp-bar .pf-mp-btn-primary.is-waiting { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75); cursor: default; }
.pf-mp-narrow { display: none; }
body.pf-mp-has-bar .pf-mp-info { padding-bottom: 150px; }

/* Choose dialog */
.pf-mp-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 0; background: #fff; color: var(--mp-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.pf-mp-dialog::backdrop { background: rgba(9, 8, 14, .6); }
.pf-mp-dialog-form { display: flex; flex-direction: column; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; position: relative; margin: 0; }
.pf-mp-dialog-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--mp-green); font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); padding: 0; }
.pf-mp-dialog-photo { aspect-ratio: 16 / 9; max-height: 32vh; width: 100%; background: #fff; flex: none; overflow: hidden; }
.pf-mp-dialog-photo[hidden] { display: none; }
.pf-mp-dialog-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-mp-dialog-body { padding: 22px 24px 8px; flex: 1 0 auto; }
.pf-mp-dialog h3 { font-size: 26px; padding-right: 36px; }
.pf-mp-dialog-desc { margin-top: 8px; color: var(--mp-muted); font-size: 15px; }
.pf-mp-field { border: 0; margin: 22px 0 0; padding: 0; min-width: 0; }
.pf-mp-field legend { font: 600 15px/1.3 var(--mp-sans); color: var(--mp-green); padding: 0; margin-bottom: 10px; }
.pf-mp-field legend small { font-weight: 500; font-size: 12px; color: var(--mp-muted); margin-left: 6px; }
.pf-mp-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-mp-option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--mp-line); border-radius: 0; cursor: pointer; font-size: 14px; background: #fff; transition: border-color .2s, background .2s; margin: 0; }
.pf-mp-option:hover { border-color: var(--mp-green); }
.pf-mp-option:has(input:checked) { border-color: var(--mp-green); background: var(--mp-sage); }
.pf-mp-option input { accent-color: var(--mp-green); margin: 0; width: 18px; height: 18px; flex: none; }
.pf-mp-option span { flex: 1; }
.pf-mp-option em { font-style: normal; font-size: 13px; color: var(--mp-muted); }
.pf-mp-dialog-error { color: #a1301d; font-size: 14px; font-weight: 500; min-height: 1.5em; margin-top: 14px; }
.pf-mp-dialog-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 24px 22px; border-top: 1px solid var(--mp-line); background: #fff; }
.pf-mp-qty { display: flex; align-items: center; border: 1px solid var(--mp-line); border-radius: 0; height: 48px; }
.pf-mp-qty button { width: 44px; height: 46px; border: 0; background: none; color: var(--mp-green); font-size: 20px; cursor: pointer; padding: 0; }
.pf-mp-qty output { min-width: 26px; text-align: center; font-weight: 600; }
.pf-mp-dialog-add { flex: 1; }

/* Tablet */
@media (max-width: 1024px) {
	.pf-mp .pf-mp-hero-grid { grid-template-columns: 1fr; }
	.pf-mp .pf-mp-hero-photos { justify-self: start; max-width: 520px; }
	.pf-mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 760px) {
	.pf-mp .pf-mp-wrap, .pf-mp-menu .pf-mp-wrap { padding: 0 16px; }
	.pf-mp-hero { padding: 120px 0 56px; }
	.pf-mp-lead { font-size: 16px; }
	.pf-mp .pf-mp-hero-photos { aspect-ratio: 4 / 3; }
	.pf-mp-hero-photo-1 { inset: 0 30% 18% 0; }
	.pf-mp-hero-photo-2 { width: 38%; top: 6%; }
	.pf-mp-hero-photo-3 { width: 46%; right: 2%; }
	.pf-mp-hero-photo figcaption { display: none; }
	.pf-mp-how { padding-top: 56px; }
	.pf-mp .pf-mp-steps { grid-template-columns: 1fr; gap: 12px; }
	.pf-mp .pf-mp-step { padding: 20px; }
	.pf-mp-menu-intro { padding-top: 48px; }
	.pf-mp-section { padding-top: 32px; }
	.pf-mp-section-head h3 { font-size: 24px; }
	.pf-mp-grid { grid-template-columns: 1fr; gap: 12px; }
	/* Compact row cards: photo on the left */
	.pf-mp-card { flex-direction: row; }
	.pf-mp-card-photo { flex: none; width: 116px; aspect-ratio: auto; min-height: 100%; }
	.pf-mp-card-body { padding: 14px; min-width: 0; }
	.pf-mp-card h4 { font-size: 17px; }
	.pf-mp-card-desc { font-size: 13px; -webkit-line-clamp: 2; margin-top: 4px; }
	.pf-mp-card-tags { margin-top: 8px; }
	.pf-mp-card-hint, .pf-mp-card-deal { font-size: 11px; }
	.pf-mp-box-inner { grid-template-columns: 1fr; padding: 20px; }
	.pf-mp-box-intro h3 { font-size: 24px; }
	.pf-mp-box-option { padding: 14px 12px 14px 42px; }
	.pf-mp-box-option::before { left: 14px; top: 17px; }
	.pf-mp-box-option strong { font-size: 19px; }
	.pf-mp-box-option span, .pf-mp-box-option em { font-size: 12px; }
	.pf-mp-slots i { width: 10px; }
	.pf-mp-card-foot { padding-top: 12px; }
	.pf-mp-price { font-size: 16px; }
	.pf-mp-add { height: 36px; padding: 0 14px; font-size: 13px; }
	.pf-mp .pf-mp-info-grid { grid-template-columns: 1fr; gap: 32px; }
	.pf-mp-bar-inner { padding-left: 18px; }
	.pf-mp-bar-text { font-size: 14px; }
	.pf-mp-wide { display: none; }
	.pf-mp-narrow { display: inline; }
	.pf-mp-bar .pf-mp-btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
	.pf-mp-dialog { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 0; }
	.pf-mp-dialog-form { max-height: 92vh; }
	.pf-mp-options { grid-template-columns: 1fr; }
	.pf-mp-dialog-foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); }
}
@media (max-width: 782px) { .admin-bar .pf-mp-filters { top: 46px; } }
@media (max-width: 600px) { .admin-bar .pf-mp-filters { top: 0; } }
@media (prefers-reduced-motion: reduce) { .pf-mp * { transition: none !important; } }

/* Keep the theme's back-to-top button clear of the "Your box" bar. */
body.pf-mp-has-bar .to-top { bottom: 96px; }

/* Pre-order boxes & trays (block content on the Meal Prep page) */
/* The classic theme wraps Group content in an inner container; let the grids reach the cards. */
.pf-mp-preorder .wp-block-group__inner-container { display: contents; }
.pf-mp-preorder { padding: 96px 0 24px; background: var(--mp-cream); color: var(--mp-ink); font-size: 16px; scroll-margin-top: 80px; }
.pf-mp-preorder .pf-mp-kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-green-2); }
.pf-mp-preorder h2.wp-block-heading { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; margin-top: 6px; }
.pf-mp-preorder-lead { margin-top: 12px; max-width: 720px; color: var(--mp-muted); }
.pf-mp-preorder-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pf-mp-preorder-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mp-line); }
.pf-mp-preorder-card figure, .pf-mp-preorder-photo figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.pf-mp-preorder-card img, .pf-mp-preorder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-mp-preorder-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pf-mp-preorder-body h3 { font-size: 21px; line-height: 1.25; }
.pf-mp-preorder-body p { margin-top: 8px; color: var(--mp-muted); font-size: 14px; }
.pf-mp-preorder-body .pf-mp-preorder-price { margin-top: auto; padding-top: 14px; color: var(--mp-green); font-weight: 600; font-size: 15px; }
.pf-mp-preorder-gallery { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pf-mp-preorder-caption { margin-top: 8px; font-size: 14px; color: var(--mp-muted); }
.pf-mp-preorder-form { margin: 48px auto 0; max-width: 820px; }
.pf-mp-preorder-form h3 { font-size: 26px; margin-bottom: 24px; }
@media (max-width: 1000px) { .pf-mp-preorder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.pf-mp-preorder { padding-top: 64px; }
	.pf-mp-preorder-grid, .pf-mp-preorder-gallery { grid-template-columns: 1fr; gap: 12px; }
	.pf-mp-preorder-form { padding: 24px; }
}
