/* ==========================================================================
   Medipilo — design system
   Warm clinical: cream paper, pharmacy forest green, sky + leaf accents.
   ========================================================================== */

:root {
	--mp-forest: var(--wp--preset--color--forest, #024A29);
	--mp-forest-dark: var(--wp--preset--color--forest-dark, #012F1A);
	--mp-leaf: var(--wp--preset--color--leaf, #61CE70);
	--mp-mint: var(--wp--preset--color--mint, #E7F5EC);
	--mp-sky: var(--wp--preset--color--sky, #6EC1E4);
	--mp-sky-soft: var(--wp--preset--color--sky-soft, #E4F3FA);
	--mp-cream: var(--wp--preset--color--cream, #FBF8F2);
	--mp-sand: var(--wp--preset--color--sand, #F3EDE0);
	--mp-ink: var(--wp--preset--color--ink, #10241A);
	--mp-muted: var(--wp--preset--color--muted, #51635A);
	--mp-wa: var(--wp--preset--color--whatsapp, #1FA855);
	--mp-line: rgba(2, 74, 41, 0.12);
	--mp-radius: 22px;
	--mp-soft: 0 10px 30px -12px rgba(2, 74, 41, 0.18);
	--mp-lift: 0 24px 50px -20px rgba(2, 74, 41, 0.34);

	--ico-wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z'/%3E%3C/svg%3E");
	--ico-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2'/%3E%3Cpath d='M15 18H9'/%3E%3Cpath d='M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E");
	--ico-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	--ico-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E");
	--ico-heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E");
	--ico-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E");
	--ico-repeat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2 4 4-4 4'/%3E%3Cpath d='M3 11v-1a4 4 0 0 1 4-4h14'/%3E%3Cpath d='m7 22-4-4 4-4'/%3E%3Cpath d='M21 13v1a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
	--ico-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M12 3v12'/%3E%3C/svg%3E");
	--ico-clip: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='8' height='4' x='8' y='2' rx='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E");
	--ico-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7.5 4.27 9 5.15'/%3E%3Cpath d='M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z'/%3E%3Cpath d='m3.3 7 8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
	--ico-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
	--ico-target: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Ccircle cx='12' cy='12' r='6'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
	--ico-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	--ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	--ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	--ico-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
	--pat-cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M25 20h6v5h5v6h-5v5h-6v-5h-5v-6h5z' fill='%23024A29' fill-opacity='.07'/%3E%3C/svg%3E");
	--pat-cross-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M25 20h6v5h5v6h-5v5h-6v-5h-5v-6h5z' fill='%23ffffff' fill-opacity='.07'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }
::selection { background: var(--mp-leaf); color: var(--mp-forest-dark); }
:focus-visible { outline: 3px solid var(--mp-sky); outline-offset: 3px; border-radius: 6px; }

.wp-block-heading em, h1 em, h2 em { font-style: italic; font-weight: 600; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.mp-main { margin-block-start: 0; }

/* ---------- Top bar ---------- */
.mp-topbar { font-weight: 500; letter-spacing: 0.01em; }
.mp-topbar-inner { max-width: 1280px; margin: 0 auto; width: 100%; gap: 0.35rem 1.5rem; }
.mp-topbar p { margin: 0; }
.mp-topbar a { color: #fff; text-decoration: none; }
.mp-topbar a:hover { text-decoration: underline; }
.mp-topbar-time::before {
	content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--mp-leaf); margin-right: 0.6rem;
	box-shadow: 0 0 0 0 rgba(97, 206, 112, 0.6); animation: mp-pulse 2.2s infinite;
}
@keyframes mp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(97, 206, 112, 0.55); }
	70% { box-shadow: 0 0 0 9px rgba(97, 206, 112, 0); }
	100% { box-shadow: 0 0 0 0 rgba(97, 206, 112, 0); }
}
@media (max-width: 640px) {
	.mp-topbar-inner { justify-content: center !important; text-align: center; }
	.mp-topbar-wa { display: none; }
}

/* ---------- Header ---------- */
.mp-header {
	position: sticky; top: 0; z-index: 60;
	border-bottom: 1px solid var(--mp-line);
	background-color: rgba(251, 248, 242, 0.88) !important;
	-webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
}
.admin-bar .mp-header { top: 32px; }
.mp-header-inner { max-width: 1280px; margin: 0 auto; width: 100%; gap: 1.25rem; }
.mp-logo { margin: 0; flex: none; }
.mp-logo img { height: auto; display: block; }
.mp-nav { flex: 1; }
.mp-nav .wp-block-navigation-item__content { padding: 0.55rem 0.2rem; text-decoration: none; color: var(--mp-ink); position: relative; }
.mp-nav .wp-block-navigation-item__content:hover { color: var(--mp-forest); text-decoration: none; }
.mp-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0.2rem; right: 0.2rem; bottom: 0.15rem; height: 2px;
	background: var(--mp-leaf); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.mp-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.mp-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--mp-line) !important; border-radius: 16px; padding: 0.5rem; min-width: 250px;
	box-shadow: var(--mp-lift); background: #fff !important;
}
.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 0.55rem 0.8rem; border-radius: 10px; }
.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--mp-mint); }
.mp-header-cta { margin: 0; flex: none; }
.mp-header-cta .wp-block-button__link { padding: 0.65rem 1.2rem; font-size: 0.95rem; }
@media (max-width: 1000px) {
	.mp-header-cta { display: none; }
}
@media (max-width: 600px) {
	.admin-bar .mp-header { top: 46px; }
	.mp-logo img { width: 128px !important; }
	.mp-nav { flex: none; }
	.mp-header-inner { justify-content: space-between !important; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link {
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	box-shadow: 0 8px 20px -10px rgba(2, 74, 41, 0.55);
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(2, 74, 41, 0.6); }
.mp-btn-wa .wp-block-button__link { background: var(--mp-wa); display: inline-flex; align-items: center; gap: 0.55rem; }
.mp-btn-wa .wp-block-button__link:hover { background: #17924A; }
.mp-btn-wa .wp-block-button__link::before {
	content: ""; width: 1.15em; height: 1.15em; background: currentColor; flex: none;
	-webkit-mask: var(--ico-wa) center / contain no-repeat; mask: var(--ico-wa) center / contain no-repeat;
}
.mp-btn-rx .wp-block-button__link { background: #fff; color: var(--mp-forest); box-shadow: inset 0 0 0 2px var(--mp-forest); display: inline-flex; align-items: center; gap: 0.55rem; }
.mp-btn-rx .wp-block-button__link:hover { background: var(--mp-forest); color: #fff; }
.mp-btn-rx .wp-block-button__link::before {
	content: ""; width: 1.1em; height: 1.1em; background: currentColor; flex: none;
	-webkit-mask: var(--ico-upload) center / contain no-repeat; mask: var(--ico-upload) center / contain no-repeat;
}
.mp-btn-call .wp-block-button__link { background: #fff; color: var(--mp-forest); display: inline-flex; align-items: center; gap: 0.55rem; }
.mp-btn-call .wp-block-button__link::before {
	content: ""; width: 1.1em; height: 1.1em; background: currentColor; flex: none;
	-webkit-mask: var(--ico-phone) center / contain no-repeat; mask: var(--ico-phone) center / contain no-repeat;
}
.is-style-outline .wp-block-button__link { box-shadow: none; }

/* ---------- Typography helpers ---------- */
.mp-eyebrow {
	display: inline-flex; align-items: center; gap: 0.65rem; margin: 0;
	text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800; color: var(--mp-forest);
}
.mp-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--mp-leaf); border-radius: 2px; }
.has-text-align-center.mp-eyebrow, .mp-center .mp-eyebrow { display: flex; justify-content: center; }
.mp-lead { font-size: var(--wp--preset--font-size--medium); color: var(--mp-muted); max-width: 60ch; }
.mp-center { text-align: center; }
.mp-center .mp-lead { margin-left: auto; margin-right: auto; }
.mp-on-dark, .mp-on-dark h1, .mp-on-dark h2, .mp-on-dark h3, .mp-on-dark h4, .mp-on-dark p { color: #fff; }
.mp-on-dark .mp-eyebrow { color: var(--mp-leaf); }
.mp-on-dark .mp-lead { color: rgba(255, 255, 255, 0.8); }

/* ---------- Icon chips ---------- */
.mp-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--mp-mint); position: relative; flex: none; margin: 0; }
.mp-ico::before {
	content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; background: var(--mp-forest);
	-webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.mp-ico--truck { --i: var(--ico-truck); } .mp-ico--shield { --i: var(--ico-shield); } .mp-ico--chat { --i: var(--ico-chat); }
.mp-ico--heart { --i: var(--ico-heart); } .mp-ico--card { --i: var(--ico-card); } .mp-ico--repeat { --i: var(--ico-repeat); }
.mp-ico--upload { --i: var(--ico-upload); } .mp-ico--clip { --i: var(--ico-clip); } .mp-ico--box { --i: var(--ico-box); }
.mp-ico--home { --i: var(--ico-home); } .mp-ico--target { --i: var(--ico-target); } .mp-ico--eye { --i: var(--ico-eye); }
.mp-ico--phone { --i: var(--ico-phone); } .mp-ico--pin { --i: var(--ico-pin); } .mp-ico--clock { --i: var(--ico-clock); }
.mp-ico--sky { background: var(--mp-sky-soft); }
.mp-ico--lg { width: 68px; height: 68px; border-radius: 20px; } .mp-ico--lg::before { width: 32px; height: 32px; }

/* ---------- Cards ---------- */
.mp-card {
	background: #fff; border: 1px solid var(--mp-line); border-radius: var(--mp-radius);
	padding: 1.75rem; box-shadow: var(--mp-soft); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
	position: relative; overflow: hidden;
}
.mp-card:hover { transform: translateY(-5px); box-shadow: var(--mp-lift); border-color: rgba(97, 206, 112, 0.6); }
.mp-card h3 { font-size: 1.22rem; margin: 1rem 0 0.4rem; }
.mp-card p { margin: 0; color: var(--mp-muted); font-size: 0.98rem; }
.mp-card .mp-ico { margin-bottom: 0.2rem; }

/* ---------- Grids (override core grid so columns collapse) ---------- */
.mp-grid-4.is-layout-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp-grid-3.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-grid-2.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-grid-5.is-layout-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) {
	.mp-grid-4.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-grid-3.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-grid-5.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.mp-grid-4.is-layout-grid, .mp-grid-3.is-layout-grid, .mp-grid-2.is-layout-grid { grid-template-columns: minmax(0, 1fr); }
	.mp-grid-5.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-grid-stay2.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Hero ---------- */
.mp-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(55% 70% at 88% 8%, rgba(110, 193, 228, 0.38), transparent 62%),
		radial-gradient(45% 60% at 4% 95%, rgba(97, 206, 112, 0.30), transparent 62%),
		var(--mp-cream);
}
.mp-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--pat-cross);
	-webkit-mask-image: linear-gradient(110deg, transparent 35%, #000 100%); mask-image: linear-gradient(110deg, transparent 35%, #000 100%);
}
.mp-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.3vw, 4.7rem); letter-spacing: -0.02em; margin: 0.9rem 0 0; }
.mp-hero h1 em { color: var(--mp-forest); background: linear-gradient(transparent 64%, rgba(97, 206, 112, 0.5) 64%); padding: 0 0.1em; }
.mp-hero--page h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); }
.mp-hero-sub { font-size: 1.15rem; color: var(--mp-muted); max-width: 52ch; }
.mp-hero .wp-block-buttons { margin-top: 0.6rem; }

.mp-chips { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.mp-chips li {
	display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.9rem 0.45rem 0.55rem;
	background: #fff; border: 1px solid var(--mp-line); border-radius: 999px; font-weight: 700; font-size: 0.9rem; color: var(--mp-forest);
}
.mp-chips li::before {
	content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--mp-leaf); flex: none;
	-webkit-mask: none; mask: none;
	background-image: var(--ico-check); background-repeat: no-repeat; background-position: center; background-size: 12px;
	background-color: var(--mp-leaf);
}

.mp-hero-card {
	background: #fff; border-radius: 28px; padding: 1.75rem; border: 1px solid var(--mp-line);
	box-shadow: var(--mp-lift); position: relative;
}
.mp-hero-card::after {
	content: ""; position: absolute; inset: -14px -14px auto auto; width: 96px; height: 96px; border-radius: 50%;
	background: var(--mp-leaf); opacity: 0.25; z-index: -1; filter: blur(6px);
}
.mp-hero-card h2 { font-size: 1.5rem; margin: 0 0 0.2rem; }
.mp-hero-card .mp-time { font-family: var(--wp--preset--font-family--display); font-size: clamp(3rem, 2rem + 4vw, 4.8rem); line-height: 1; color: var(--mp-forest); font-weight: 700; margin: 0.25rem 0; letter-spacing: -0.03em; }
.mp-hero-card .mp-time small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; margin-left: 0.25rem; color: var(--mp-muted); }
.mp-timeline { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: 0.85rem; counter-reset: mp-step; }
.mp-timeline li { counter-increment: mp-step; display: flex; align-items: center; gap: 0.8rem; font-weight: 600; font-size: 0.97rem; }
.mp-timeline li::before {
	content: counter(mp-step); width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--mp-mint); color: var(--mp-forest);
	display: grid; place-items: center; font-size: 0.85rem; font-weight: 800;
}
.mp-timeline li:last-child::before { background: var(--mp-forest); color: #fff; }
@keyframes mp-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.mp-rise { animation: mp-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.mp-d1 { animation-delay: 0.08s; } .mp-d2 { animation-delay: 0.18s; } .mp-d3 { animation-delay: 0.3s; } .mp-d4 { animation-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
	.mp-rise, .mp-topbar-time::before { animation: none !important; }
	html { scroll-behavior: auto; }
}
main:has(.mp-hero) .mp-page-title { display: none; }

/* ---------- Steps ---------- */
.mp-step { position: relative; }
.mp-step .mp-num {
	position: absolute; top: 1.1rem; right: 1.4rem; margin: 0; font-family: var(--wp--preset--font-family--display);
	font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--mp-mint); letter-spacing: -0.04em; pointer-events: none;
}

/* ---------- Categories ---------- */
.mp-cat { position: relative; background: #fff; border: 1px solid var(--mp-line); border-radius: 22px; padding: 0.9rem 0.9rem 1.1rem; text-align: center; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.mp-cat:hover { transform: translateY(-5px); box-shadow: var(--mp-lift); border-color: rgba(97, 206, 112, 0.7); }
.mp-cat figure { margin: 0 0 0.75rem; border-radius: 16px; overflow: hidden; background: var(--mp-mint); aspect-ratio: 1; }
.mp-cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; border-radius: 0; }
.mp-cat:hover img { transform: scale(1.06); }
.mp-cat p { margin: 0; font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.mp-cat a { color: var(--mp-forest); text-decoration: none; }
.mp-cat a::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }

/* ---------- Delivery areas ---------- */
.mp-areas-panel { background: var(--mp-forest); border-radius: 30px; overflow: hidden; position: relative; isolation: isolate; }
.mp-areas-panel::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-cross-light); z-index: -1; }
.mp-areas-panel .mp-areas-img { margin: 0; height: 100%; }
.mp-areas-panel .mp-areas-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; min-height: 320px; }
.mp-chip-wrap { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.2rem 0 1.5rem; }
.mp-chip {
	margin: 0; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 1rem 0.5rem 0.75rem; border-radius: 999px;
	background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-weight: 600; font-size: 0.95rem;
}
.mp-chip::before { content: ""; width: 16px; height: 16px; background: var(--mp-leaf); -webkit-mask: var(--ico-pin) center / contain no-repeat; mask: var(--ico-pin) center / contain no-repeat; }
.mp-areas-panel .mp-areas-body p.mp-ask { color: rgba(255, 255, 255, 0.85); }

/* ---------- CTA band ---------- */
.mp-band { background: linear-gradient(135deg, #024A29 0%, #0A6B3C 100%); position: relative; isolation: isolate; overflow: hidden; }
.mp-band::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-cross-light); z-index: -1; }
.mp-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -90px; top: -150px; border-radius: 50%; background: rgba(97, 206, 112, 0.25); z-index: -1; filter: blur(10px); }
.mp-band h2, .mp-band p { color: #fff; margin: 0; }
.mp-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.mp-band .mp-band-hi { font-family: var(--wp--preset--font-family--display), var(--wp--preset--font-family--body); }
.mp-band .wp-block-buttons { margin: 0; }

/* ---------- Stats ---------- */
.mp-stats { background: var(--mp-forest); border-radius: 30px; position: relative; isolation: isolate; overflow: hidden; }
.mp-stats::before { content: ""; position: absolute; inset: 0; background-image: var(--pat-cross-light); z-index: -1; }
.mp-stat { text-align: center; padding: 0.4rem 0.5rem; }
.mp-stat .mp-stat-n { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem); line-height: 1; font-weight: 700; color: #fff; margin: 0; letter-spacing: -0.03em; }
.mp-stat .mp-stat-n span { color: var(--mp-leaf); }
.mp-stat .mp-stat-l { margin: 0.4rem 0 0; color: rgba(255, 255, 255, 0.78); font-weight: 600; font-size: 0.95rem; }

/* ---------- Team ---------- */
.mp-person { background: #fff; border: 1px solid var(--mp-line); border-radius: 24px; overflow: hidden; box-shadow: var(--mp-soft); transition: transform 0.3s, box-shadow 0.3s; text-align: center; }
.mp-person:hover { transform: translateY(-5px); box-shadow: var(--mp-lift); }
.mp-person figure { margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--mp-mint); }
.mp-person img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; border-radius: 0; transition: transform 0.6s ease; }
.mp-person:hover img { transform: scale(1.04); }
.mp-person-body { padding: 1.15rem 1rem 1.4rem; }
.mp-person h3 { font-size: 1.1rem; margin: 0; }
.mp-person .mp-role { margin: 0.3rem 0 0; color: var(--mp-wa); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
.mp-person .mp-creds { margin: 0.55rem 0 0; color: var(--mp-muted); font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.mp-quote { background: #fff; border: 1px solid var(--mp-line); border-radius: 24px; padding: 1.8rem; box-shadow: var(--mp-soft); position: relative; }
.mp-quote::before { content: "“"; position: absolute; top: 0.4rem; right: 1.2rem; font-family: var(--wp--preset--font-family--display); font-size: 6rem; line-height: 1; color: var(--mp-mint); pointer-events: none; }
.mp-stars { margin: 0 0 0.7rem; color: #E8A317; letter-spacing: 0.15em; font-size: 1.05rem; }
.mp-quote .mp-q { margin: 0; font-size: 1.05rem; color: var(--mp-ink); position: relative; }
.mp-quote .mp-by { margin: 1.1rem 0 0; font-weight: 800; color: var(--mp-forest); }
.mp-quote .mp-where { margin: 0; color: var(--mp-muted); font-size: 0.88rem; }

/* ---------- Story / split ---------- */
.mp-split-img img { width: 100%; border-radius: 28px; box-shadow: var(--mp-lift); display: block; }
.mp-split-img { margin: 0; position: relative; }
.mp-badge-float { position: absolute; left: -0.5rem; bottom: -1.2rem; background: #fff; border: 1px solid var(--mp-line); border-radius: 18px; padding: 0.9rem 1.2rem; box-shadow: var(--mp-lift); margin: 0; font-weight: 800; color: var(--mp-forest); }
.mp-promise { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 1.4rem; color: var(--mp-forest); border-left: 4px solid var(--mp-leaf); padding-left: 1rem; margin: 1.2rem 0; }
.mp-mv { display: flex; gap: 1.1rem; align-items: flex-start; }
.mp-mv h3 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.mp-mv p { margin: 0; color: var(--mp-muted); }

/* ---------- Footer ---------- */
.mp-footer a { color: var(--mp-forest); text-decoration: none; }
.mp-footer a:hover { text-decoration: underline; }
.mp-footer-h { margin: 0 0 0.9rem; font-size: 1.05rem; }
.mp-footer-list { list-style: none; padding: 0; margin: 0.8rem 0 0; }
.mp-footer-list li { margin: 0 0 0.5rem; }
.mp-footer .mp-sep { height: 1px; border: 0; opacity: 0.18; }
.mp-footer .wp-block-image img { border-radius: 0; }
@media (max-width: 900px) { .mp-footer-cols { flex-wrap: wrap !important; } .mp-footer-cols > .wp-block-column { flex-basis: 45% !important; } }
@media (max-width: 600px) { .mp-footer-cols > .wp-block-column { flex-basis: 100% !important; } }

/* ---------- Blog ---------- */
.mp-post-grid { gap: 1.6rem !important; }
.mp-post-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 22px; overflow: hidden; box-shadow: var(--mp-soft); transition: transform 0.3s, box-shadow 0.3s; height: 100%; }
.mp-post-card:hover { transform: translateY(-5px); box-shadow: var(--mp-lift); }
.mp-post-card .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.mp-post-card .wp-block-post-featured-image img { transition: transform 0.6s ease; width: 100%; display: block; border-radius: 0; }
.mp-post-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.mp-post-card-body { padding: 1.3rem 1.4rem 1.6rem; }
.mp-post-card-body > * { margin-block-start: 0.6rem !important; }
.mp-post-card .wp-block-post-title { font-size: 1.18rem; line-height: 1.3; margin: 0; }
.mp-post-card .wp-block-post-title a { color: var(--mp-forest); text-decoration: none; }
.mp-post-card .wp-block-post-title a:hover { text-decoration: underline; }
.mp-post-card .wp-block-post-excerpt { color: var(--mp-muted); }
.mp-post-card .wp-block-post-excerpt__more-link { font-weight: 800; text-decoration: none; }
.mp-post-card .wp-block-post-excerpt__more-link::after { content: " →"; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: 0.5rem; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination a { padding: 0.45rem 0.9rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.wp-block-query-pagination .page-numbers.current { background: var(--mp-forest); color: #fff; }
.wp-block-query-pagination a:hover { background: var(--mp-mint); }

.mp-article .wp-block-post-title { margin: 0.8rem 0 1.4rem; letter-spacing: -0.01em; }
.mp-article .wp-block-post-featured-image { margin-bottom: 2.2rem; }
.mp-article .wp-block-post-featured-image img { border-radius: 22px; }
.mp-pill a { background: var(--mp-mint); padding: 0.25rem 0.8rem; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--mp-forest); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.mp-prose { font-size: 1.08rem; line-height: 1.85; }
.mp-prose h2 { margin-top: 2.2em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.mp-prose h3 { margin-top: 1.8em; }
.mp-prose img { border-radius: 16px; }
.mp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mp-prose blockquote { border-left: 4px solid var(--mp-leaf); background: var(--mp-mint); padding: 1rem 1.4rem; border-radius: 0 16px 16px 0; margin-left: 0; }

/* ---------- 404 / search ---------- */
.mp-search .wp-block-search__inside-wrapper { border: 2px solid var(--mp-line); border-radius: 999px; padding: 0.3rem; background: #fff; }
.mp-search .wp-block-search__input { border: 0; padding: 0.6rem 1rem; background: transparent; }
.mp-search .wp-block-search__button { border-radius: 999px; border: 0; background: var(--mp-forest); color: #fff; padding: 0.6rem 1.3rem; font-weight: 700; }

/* ---------- WooCommerce ---------- */
/* Prices and loop add-to-cart stay hidden (orders go through WhatsApp), as on the previous site. */
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart { display: none !important; }
span.price { display: none !important; }

.woocommerce-products-header__title, .woocommerce .page-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.woocommerce ul.products, .wc-block-grid__products {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; margin: 0 0 2rem !important; padding: 0; list-style: none;
}
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; background: #fff; border: 1px solid var(--mp-line);
	border-radius: 20px; padding: 0.9rem 0.9rem 1.1rem; text-align: center; position: relative; box-shadow: var(--mp-soft);
	transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--mp-lift); border-color: rgba(97, 206, 112, 0.7); }
.woocommerce ul.products li.product a img { border-radius: 14px; background: var(--mp-mint); margin: 0 0 0.8rem; aspect-ratio: 1; object-fit: cover; width: 100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--wp--preset--font-family--body); font-size: 0.95rem; font-weight: 700; line-height: 1.35; color: var(--mp-ink); padding: 0; margin: 0 0 0.6rem; }
.woocommerce span.onsale {
	top: 1.1rem; left: 1.1rem; right: auto; margin: 0; min-width: 0; min-height: 0; line-height: 1; padding: 0.4rem 0.7rem;
	border-radius: 999px; background: var(--mp-leaf); color: var(--mp-forest-dark); font-weight: 800; font-size: 0.72rem; z-index: 2;
}
.woocommerce ul.products li.product .ctc_chat { margin-top: auto; }
.woocommerce ul.products li.product .ctc_chat button, .woocommerce div.product .ctc_chat button { border-radius: 999px !important; font-weight: 700; }
.woocommerce-breadcrumb { color: var(--mp-muted); font-size: 0.9rem; margin-bottom: 1.4rem !important; }
.woocommerce-breadcrumb a { color: var(--mp-forest); }
.woocommerce .woocommerce-ordering select, .woocommerce-page select { border: 1px solid var(--mp-line); border-radius: 999px; padding: 0.5rem 1rem; background: #fff; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .single_add_to_cart_button {
	background: var(--mp-forest); color: #fff; border-radius: 999px; font-weight: 700; padding: 0.8rem 1.5rem; transition: background-color 0.2s, transform 0.2s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button:hover {
	background: var(--mp-forest-dark); color: #fff; transform: translateY(-1px);
}
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.woocommerce div.product div.images img { border-radius: 22px; background: var(--mp-mint); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 14px 14px 0 0; }
.woocommerce-message, .woocommerce-info { border-top-color: var(--mp-leaf); background: var(--mp-mint); border-radius: 12px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--mp-forest); }
.woocommerce table.shop_table { border-radius: 16px; overflow: hidden; border-color: var(--mp-line); background: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid var(--mp-line); border-radius: 12px; padding: 0.75rem 0.9rem; background: #fff;
}
@media (max-width: 1100px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-5, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
}

/* ---------- Sections ---------- */
.mp-sec { padding: clamp(3rem, 6vw, 5.5rem) var(--wp--preset--spacing--40); }
.mp-sec--tight { padding-top: 0; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.mp-sec--mint { background: var(--mp-mint); }
.mp-sec > .alignwide + .alignwide, .mp-sec > .wp-block-group.alignwide + .wp-block-group.alignwide { margin-top: 2.5rem; }
.mp-hero .mp-sec { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.mp-hero-cols { gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 781px) {
	.mp-hero-cols > .wp-block-column, .mp-areas-cols > .wp-block-column { flex-basis: 100% !important; }
}
.mp-cats ul.products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mp-cats li.product-category { padding: 0.9rem 0.9rem 1.1rem; }
.mp-cats li.product-category img { border-radius: 14px; margin-bottom: 0.6rem; }
.mp-cats li.product-category .woocommerce-loop-category__title { font-family: var(--wp--preset--font-family--body); font-size: 0.95rem; font-weight: 700; padding: 0; color: var(--mp-forest); }
.mp-cats li.product-category .count { display: none; }
@media (max-width: 1100px) { .mp-cats ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mp-cats ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mp-areas-cols { gap: 0; margin: 0; }
.mp-areas-cols .wp-block-column { margin: 0; }
.mp-areas-imgcol .wp-block-image { height: 100%; }
.mp-areas-imgcol .wp-block-image img { height: 100%; object-fit: cover; }
.mp-band-in { padding: clamp(1.5rem, 3vw, 2.6rem) clamp(1.5rem, 4vw, 3rem); gap: 1.5rem; }
.mp-band-in .wp-block-group { max-width: 760px; }
.mp-band p { opacity: 0.9; }
.mp-hero-card .mp-eyebrow { margin-bottom: 0; }

/* ---------- Product page WhatsApp enquiry ---------- */
.mp-wa-enquiry { margin: 1.5rem 0; }
.mp-wa-enquiry__btn {
	display: inline-flex; align-items: center; gap: 0.6rem; background: var(--mp-wa); color: #fff !important;
	font-weight: 700; padding: 0.95rem 1.7rem; border-radius: 999px; text-decoration: none !important;
	box-shadow: 0 10px 24px -12px rgba(31, 168, 85, 0.7); transition: transform 0.2s, background-color 0.2s;
}
.mp-wa-enquiry__btn:hover { background: #17924A; transform: translateY(-2px); }
.mp-wa-enquiry__btn::before {
	content: ""; width: 1.2em; height: 1.2em; background: currentColor;
	-webkit-mask: var(--ico-wa) center / contain no-repeat; mask: var(--ico-wa) center / contain no-repeat;
}
.mp-wa-enquiry__note { margin: 0.7rem 0 0; color: var(--mp-muted); font-size: 0.92rem; }

/* ---------- Product detail page ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; position: relative; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0; }
.woocommerce div.product div.images { background: #fff; border: 1px solid var(--mp-line); border-radius: 26px; padding: 1rem; box-shadow: var(--mp-soft); }
.woocommerce div.product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.woocommerce div.product div.images img { border-radius: 18px; }
/* Product photos are small files: show them at a modest size instead of stretching (which blurs them). */
.woocommerce div.product div.images .woocommerce-product-gallery__image { text-align: center; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
	width: auto !important; max-width: 100%; max-height: 340px; height: auto; margin: 0 auto; display: inline-block; object-fit: contain; background: transparent;
}
.woocommerce div.product div.images .flex-control-thumbs { margin-top: 0.8rem; display: flex; gap: 0.6rem; }
.woocommerce div.product div.images .flex-control-thumbs li { float: none; width: 72px; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 12px; }
.woocommerce div.product div.summary { background: #fff; border: 1px solid var(--mp-line); border-radius: 26px; padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--mp-soft); }
.woocommerce div.product .product_title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; margin: 0 0 0.8rem; letter-spacing: -0.01em; }
.woocommerce div.product p.price { display: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--mp-muted); }
.mp-wa-enquiry__chips { margin-top: 1.1rem; }
.mp-wa-enquiry__chips li { background: var(--mp-mint); border-color: transparent; font-size: 0.85rem; }
.woocommerce div.product .product_meta { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--mp-line); font-size: 0.92rem; color: var(--mp-muted); }
.woocommerce div.product .product_meta a { background: var(--mp-mint); color: var(--mp-forest); font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 999px; text-decoration: none; margin-left: 0.3rem; }

.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; min-width: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 1.2rem; overflow: visible; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: #fff; border: 1px solid var(--mp-line); border-radius: 999px; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 0.55rem 1.3rem; font-weight: 700; color: var(--mp-muted); font-family: var(--wp--preset--font-family--body); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--mp-forest); border-color: var(--mp-forest); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .woocommerce-tabs .panel {
	background: #fff; border: 1px solid var(--mp-line); border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.4rem); margin: 0;
	font-family: var(--wp--preset--font-family--body); font-size: 1rem; line-height: 1.8; color: var(--mp-ink);
}
.woocommerce div.product .woocommerce-tabs .panel h1,
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.3; margin: 1.8em 0 0.6em; }
.woocommerce div.product .woocommerce-tabs .panel h3,
.woocommerce div.product .woocommerce-tabs .panel h4 { font-size: 1.12rem; line-height: 1.35; margin: 1.5em 0 0.5em; }
.woocommerce div.product .woocommerce-tabs .panel > :first-child,
.woocommerce div.product .woocommerce-tabs .panel > div:first-child :is(h1, h2, h3, p):first-child { margin-top: 0; }
.woocommerce div.product .woocommerce-tabs .panel p { margin: 0 0 1em; }
.woocommerce div.product .woocommerce-tabs .panel ul, .woocommerce div.product .woocommerce-tabs .panel ol { padding-left: 1.3rem; margin: 0 0 1em; }
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: 0.35em; }
.woocommerce div.product .woocommerce-tabs .panel li::marker { color: var(--mp-leaf); }
.woocommerce div.product .woocommerce-tabs .panel a { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product .woocommerce-tabs .panel table { width: 100%; border-collapse: collapse; }
.woocommerce div.product .woocommerce-tabs .panel th, .woocommerce div.product .woocommerce-tabs .panel td { border: 1px solid var(--mp-line); padding: 0.6rem 0.8rem; text-align: left; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 1rem 0 1.2rem; }
.woocommerce #reviews #comments h2, .woocommerce #review_form .comment-reply-title { font-size: 1.25rem; }
@media (max-width: 781px) {
	.woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
}

/* Speed: WooCommerce hides the product photo until its script runs; show it straight away. */
.woocommerce div.product div.woocommerce-product-gallery { opacity: 1 !important; }

/* ---------- FAQ ---------- */
.mp-faq { background: #fff; border: 1px solid var(--mp-line); border-radius: 18px; padding: 0; margin-top: 0.8rem !important; overflow: hidden; }
.mp-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 700; color: var(--mp-forest); position: relative; font-size: 1.05rem; }
.mp-faq summary::-webkit-details-marker { display: none; }
.mp-faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--mp-wa); line-height: 1; }
.mp-faq[open] summary::after { content: "–"; }
.mp-faq > p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--mp-muted); }

/* Wider desktop submenu so category names stay on one line. */
@media (min-width: 600px) {
	.mp-nav .wp-block-navigation__submenu-container { min-width: 300px !important; width: max-content !important; }
	.mp-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { white-space: nowrap; }
}

/* ---------- Misc ---------- */
.mp-section-pad { padding-left: var(--wp--preset--spacing--40); padding-right: var(--wp--preset--spacing--40); }
.mp-cta-note { color: var(--mp-muted); font-size: 0.9rem; }
.wp-block-separator.is-style-wide { border-color: var(--mp-line); }
