/*
Theme Name: Matana Plus
Theme URI: https://matanaplus.co.il/
Description: ערכה ייעודית ל"מתנה+" — בנויה ללא בוני עמודים, עם תמיכה ב-WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: matanaplus
License: GNU General Public License v2 or later
*/

:root {
	--mp-primary: #1a5f7a;
	--mp-secondary: #e8a365;
	--mp-text: #2d3748;
	--mp-accent: #e05a00;
	--mp-light: #f4f6f7;
	--mp-copper: #c97844;
	--mp-footer: #e0e0e0;
	--mp-max: 1140px;
}

body {
	font-family: "Heebo", sans-serif;
	color: #333;
}

/* Neutralise the base reset's pink hover/focus on every button; each button below defines its own look. */
.mp-menu-toggle:hover, .mp-menu-toggle:focus { background-color: #fff; color: #33373d; }
.mp-popup__close:hover, .mp-popup__close:focus { background-color: transparent; color: #000; }
.mp-form .mp-form__submit:hover, .mp-form .mp-form__submit:focus { background-color: var(--mp-copper); color: #fff; }
.mp-form--plain .mp-form__submit:hover, .mp-form--plain .mp-form__submit:focus { background-color: var(--mp-accent); }
.mp-qtybox .mp-quote-btn:hover, .mp-qtybox .mp-quote-btn:focus { background-color: var(--mp-copper); color: #fff; }
.mp-loadmore button:hover, .mp-loadmore button:focus { background-color: var(--mp-primary); color: #fff; }
.mp-a11y-btn:hover, .mp-a11y-btn:focus { background-color: #1e7ab9; color: #fff; }
.mp-a11y-panel__head button:hover, .mp-a11y-panel__head button:focus { background-color: transparent; color: #fff; }
.mp-qtybox .quantity .qty-minus:hover, .mp-qtybox .quantity .qty-plus:hover,
.mp-qtybox .quantity .qty-minus:focus, .mp-qtybox .quantity .qty-plus:focus { color: #000; background: #ececec !important; }

/* ---------- Layout helpers ---------- */
.mp-section { padding-inline: 10px; }
.mp-inner { max-width: var(--mp-max); margin-inline: auto; }
.mp-flush { padding-inline: 0; }
.mp-title {
	margin: 0;
	font-family: "Heebo", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--mp-text);
	text-align: center;
}
.mp-btn {
	display: inline-block;
	font-family: "Heebo", sans-serif;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	background: var(--mp-copper);
	border: 0;
	border-radius: 5px;
	padding: 12px 24px;
	text-align: center;
	cursor: pointer;
	transition: all .3s;
}
.mp-btn:hover, .mp-btn:focus { color: #fff; }
.mp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Header ---------- */
.mp-header { background: var(--mp-primary); position: relative; z-index: 50; }
.mp-header__inner {
	max-width: var(--mp-max);
	margin-inline: auto;
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.mp-logo {
	margin: 0;
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}
.mp-logo a { color: #fff; }
.mp-nav { padding-right: 30px; }
.mp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.mp-nav a {
	display: flex;
	align-items: center;
	padding: 13px 20px;
	font-size: 22px;
	font-weight: 400;
	line-height: 20px;
	color: var(--mp-light);
	transition: color .4s;
}
.mp-nav a:hover, .mp-nav a:focus { color: var(--mp-secondary); }
.mp-menu-toggle {
	display: none;
	width: 33px;
	height: 33px;
	padding: 5.5px;
	margin: 0 2.25px;
	border: 0;
	border-radius: 3px;
	background: #fff;
	color: #33373d;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.mp-menu-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.mp-menu-toggle .mp-icon-close { display: none; }
.mp-header.is-open .mp-menu-toggle .mp-icon-open { display: none; }
.mp-header.is-open .mp-menu-toggle .mp-icon-close { display: block; }

/* ---------- Home: hero ---------- */
.mp-hero { background: var(--mp-light); }
.mp-hero__row {
	max-width: var(--mp-max);
	margin-inline: auto;
	display: flex;
	gap: 20px;
	justify-content: center;
}
.mp-hero__text {
	flex: 1 1 0;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 30px;
}
.mp-hero__text h1 {
	margin: 0;
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	color: var(--mp-text);
}
.mp-hero__text p {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: var(--mp-text);
}
.mp-hero__text .mp-btn { align-self: flex-start; }
.mp-hero__media {
	flex: 1 1 0;
	min-height: 335px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.mp-hero__media img { display: block; width: 100%; height: auto; opacity: .45; }

/* ---------- Home: why us ---------- */
.mp-why { margin: 50px 0; }
.mp-why .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-why__boxes { display: flex; justify-content: center; gap: 70px; padding: 10px; }
.mp-box { width: 280px; text-align: center; }
.mp-box figure { margin: 0 0 17px; line-height: 0; }
.mp-box img { width: 46%; height: auto; display: inline-block; vertical-align: middle; }
.mp-box h3 {
	margin: 8px 0 5px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: #000;
}
.mp-box p { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; color: #000; }

/* ---------- Home: budget ---------- */
.mp-budget { background: var(--mp-light); }
.mp-budget > .mp-inner { padding: 50px 0; }
.mp-budget .mp-title { padding-bottom: 50px; }
.mp-budget__grid {
	padding: 10px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	justify-items: center;
}
.mp-budget__item {
	width: 170px;
	height: 170px;
	box-sizing: border-box;
	padding: 10px;
	border: 7px solid #a9d7ef;
	border-radius: 100px;
	background: var(--mp-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	text-align: center;
	font-size: 27px;
	font-weight: 600;
	line-height: 1;
	color: var(--mp-light);
}
.mp-budget__item:hover { color: var(--mp-light); }

/* ---------- Product categories grid ---------- */
.mp-cats { margin-bottom: 100px; }
.mp-cats > .mp-inner { padding: 50px 0; }
.mp-cats .mp-title { margin-bottom: 50px; }
.mp-cat-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 20px;
	row-gap: 32px;
}
.mp-cat-grid li { background: #ececec; border-radius: 10px; text-align: center; }
.mp-cat-grid a { display: block; color: #000; }
.mp-cat-grid img {
	display: block;
	width: 100%;
	height: 140px;
	object-fit: cover;
	object-position: center;
	border-radius: 10px 10px 0 0;
	margin: 0 0 16px;
}
.mp-cat-grid h2 {
	margin: 0;
	padding: 10px 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	color: #000;
}

/* ---------- Product card grid ---------- */
.mp-featured { background: var(--mp-light); }
.mp-featured > .mp-inner { padding: 100px 0; }
.mp-featured .mp-title { margin-bottom: 50px; }
.mp-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 10px;
	align-items: start;
}
.mp-grid--archive { column-gap: 12px; row-gap: 13px; }
.mp-grid--related { gap: 30px; }
.mp-card {
	background: #fff;
	border: 1px solid #dfdfdf;
	border-radius: 20px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}
.mp-card__img { display: block; }
.mp-card__img img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 20px;
}
.mp-card__title { min-height: 50px; }
.mp-card__title h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	color: #000;
	text-align: start;
}
.mp-card__title a { color: #000; }
.mp-card__desc { color: #000; text-align: start; }
.mp-card__desc p { margin: 0 0 14.4px; }
.mp-card .mp-card__btn {
	display: block;
	margin-top: 7px;
	padding: 14px 24px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	background: var(--mp-copper);
	border-radius: 20px;
}
.mp-loadmore { margin-top: 30px; text-align: center; }
.mp-loadmore button {
	padding: 12px 24px;
	font-family: "Heebo", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	background: var(--mp-primary);
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}
.mp-loadmore button[disabled] { opacity: .6; cursor: default; }

/* ---------- Home: clients ---------- */
.mp-clients { margin: 100px 0; }
.mp-clients > .mp-inner { padding: 10px 0; }
.mp-clients .mp-title { margin-bottom: 20px; }
.mp-clients__row { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 10px; }
.mp-clients__row figure { margin: 0; width: 190px; text-align: center; }
.mp-clients__row img { max-width: 100%; height: auto; display: inline-block; vertical-align: middle; }

/* ---------- Lead forms ---------- */
.mp-contact { background: var(--mp-light); }
.mp-contact > .mp-inner { max-width: 753px; padding: 100px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-form { display: flex; flex-wrap: wrap; gap: 14px 19px; justify-content: center; }
.mp-contact .mp-form { margin-top: 20px; }
.mp-form__field { flex: 1 1 100%; min-width: 0; }
.mp-form__field--half { flex-basis: calc(50% - 10px); }
.mp-form__field--70 { flex-basis: calc(70% - 10px); }
.mp-form__field--30 { flex-basis: calc(30% - 10px); }
.mp-form input[type=text],
.mp-form input[type=tel],
.mp-form input[type=email],
.mp-form input[type=number],
.mp-form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 47px;
	padding: 6px 16px;
	font-family: "Heebo", sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--mp-text);
	background: #fff;
	border: 2px solid #cae0ec;
	border-radius: 12px;
}
.mp-form input::placeholder, .mp-form textarea::placeholder { color: #7a7a7a; opacity: .6; }
.mp-form input:focus, .mp-form textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.mp-form__submit {
	padding: 15px 35px;
	font-family: "Heebo", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	background: var(--mp-copper);
	border: 0;
	border-radius: 18px;
	cursor: pointer;
}
.mp-form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mp-form__msg { flex-basis: 100%; margin: 0; padding: 0; font-size: 16px; text-align: center; }
.mp-form__msg.is-ok { color: #2f532e; }
.mp-form__msg.is-error { color: #870000; }
.mp-form__msg:empty { display: none; }

/* Contact page form (Elementor default look) */
.mp-form--plain { gap: 10px; }
.mp-form--plain input[type=text],
.mp-form--plain input[type=tel],
.mp-form--plain input[type=email],
.mp-form--plain textarea {
	border: 1px solid #69727d;
	border-radius: 4px;
}
.mp-form--plain .mp-form__submit {
	flex-basis: 100%;
	padding: 15px 30px;
	font-size: 16px;
	min-height: 47px;
	background: var(--mp-accent);
	border-radius: 4px;
}

/* ---------- Quote popup ---------- */
.mp-popup {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .5);
}
.mp-popup.is-open { display: flex; animation: mpFade .6s; }
@keyframes mpFade { from { opacity: 0; } to { opacity: 1; } }
.mp-popup__box {
	position: relative;
	width: 468px;
	max-width: calc(100% - 20px);
	box-sizing: border-box;
	padding: 20px 29px 20px;
	background: #fff;
	border-radius: 20px;
}
.mp-popup__close {
	position: absolute;
	top: 18px;
	left: 18px;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #000;
}
.mp-popup__close svg { width: 20px; height: 20px; }
.mp-popup__inner { display: flex; flex-direction: column; gap: 30px; padding-top: 26px; padding-bottom: 28px; }
.mp-popup h3 {
	margin: 0;
	font-family: "Alfa Slab One", serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 41px;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
	color: #183c51;
}
.mp-popup .mp-form { gap: 10px; }
.mp-popup .mp-form input { min-height: 40px; padding: 5px 14px; border: 1px solid #69727d; border-radius: 10px; font-size: 15px; }
.mp-popup .mp-form__submit {
	flex-basis: 100%;
	min-height: 40px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 500;
	background: var(--mp-secondary);
	border-radius: 10px;
}
.mp-popup .mp-form .mp-form__submit:hover, .mp-popup .mp-form .mp-form__submit:focus { background-color: #8b4104; }

/* ---------- Footer ---------- */
.mp-footer { background: var(--mp-footer); }
.mp-footer__cols {
	max-width: var(--mp-max);
	margin-inline: auto;
	padding: 25px 0 20px;
	display: flex;
	gap: 20px;
}
.mp-footer__col { flex: 1 1 0; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.mp-footer__col h4 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: #000;
}
.mp-footer__col--contact h4 { font-size: 20px; text-align: center; text-shadow: 0 0 11px rgba(0, 0, 0, .3); }
.mp-footer__list { list-style: none; margin: 0; padding: 0; }
.mp-footer__list li {
	display: flex;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	color: var(--mp-text);
}
.mp-footer__list li + li { margin-top: 3.5px; }
.mp-footer__list li:not(:last-child) { padding-bottom: 3.5px; }
.mp-footer__list a { color: var(--mp-text); }
.mp-footer__col--contact .mp-footer__list li { justify-content: center; text-align: center; }
.mp-footer__col--contact .mp-footer__list li + li { margin-top: 5.5px; }
.mp-footer__col--contact .mp-footer__list li:not(:last-child) { padding-bottom: 5.5px; }
.mp-footer__col--contact svg { width: 20px; height: 20px; fill: var(--mp-primary); flex: none; margin-left: 12px; position: relative; top: 1px; }
.mp-footer__col--about .mp-footer__list li + li { margin-top: 3px; }
.mp-footer__col--about .mp-footer__list li:not(:last-child) { padding-bottom: 3px; }
.mp-footer__bottom { max-width: var(--mp-max); margin-inline: auto; padding: 25px 0; }
.mp-footer__bottom div {
	border-top: 2px solid #9e9e9e;
	padding-top: 20px;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	color: #000;
}

/* ---------- Generic pages / posts ---------- */
.mp-page { background: #fff; padding: 100px 0; }
.mp-page > .mp-inner { display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.mp-page__title {
	margin: 0;
	font-size: 33px;
	font-weight: 700;
	line-height: 1;
	color: #1e1e1e;
	text-align: center;
}
.mp-page__content {
	font-family: "Jost", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 21px;
	color: #1e1e1e;
	text-align: center;
}
.mp-page__content h1, .mp-page__content h2, .mp-page__content h3,
.mp-page__content h4, .mp-page__content h5, .mp-page__content h6 { font-family: "Jost", sans-serif; }
.mp-page__content a { color: #c36; }
.mp-page__content > .woocommerce { text-align: start; font-family: "Heebo", sans-serif; }
.mp-contact-page { display: flex; flex-direction: column; gap: 20px; text-align: start; }
.mp-contact-page .mp-form { padding: 10px; }
.mp-contact-details { display: grid; grid-template-rows: repeat(3, auto); gap: 20px; padding: 10px; }
.mp-contact-details h2 { margin: 0; font-family: "Heebo", sans-serif; font-size: 32px; font-weight: 600; line-height: 1; color: #090a0a; }
.mp-contact-details div { font-family: "Heebo", sans-serif; font-size: 16px; font-weight: 600; line-height: 1; color: #000; padding-bottom: 16px; }

/* ---------- Single product ---------- */
.mp-product { margin-top: 30px; }
.mp-product__row { max-width: var(--mp-max); margin-inline: auto; padding: 10px 0; display: flex; gap: 20px; }
.mp-product__summary, .mp-product__media { flex: 1 1 0; min-width: 0; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.mp-product__summary .product_title {
	margin: 0;
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	color: var(--mp-text);
}
.mp-product__short p { margin: 0 0 14.4px; }
.mp-qtybox { background: #d8d8d8; border-radius: 13px; padding: 20px; display: flex; flex-direction: column; }
.mp-qtybox h2 { margin: 0 0 20px; font-size: 32px; font-weight: 700; line-height: 1; color: var(--mp-text); }
.mp-qtybox .quantity {
	display: flex !important;
	align-items: center;
	margin: 0 0 0 4px;
	border: 1px solid #dcdcdc;
	border-radius: 6px;
	overflow: hidden;
	background: transparent !important;
}
.mp-qtybox .quantity .qty-minus,
.mp-qtybox .quantity .qty-plus {
	width: 36px;
	height: 36px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 3px;
	background: #eee !important;
	color: #000;
	font-family: "Heebo", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}
.mp-qtybox .quantity input.qty {
	width: 50px !important;
	height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 3px;
	background: #fff !important;
	box-shadow: none !important;
	text-align: center;
	color: #000;
	-moz-appearance: textfield;
}
.mp-qtybox .quantity input.qty::-webkit-outer-spin-button,
.mp-qtybox .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mp-qtybox .mp-minimum { margin-top: 12px; color: var(--mp-text); }
.mp-qtybox .mp-minimum p { margin: 0 0 14.4px; }
.mp-qtybox .mp-quote-btn {
	display: block;
	width: 100%;
	padding: 18px 12px;
	font-family: "Heebo", sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	background: var(--mp-copper);
	border: 0;
	border-radius: 50px;
	cursor: pointer;
}
.mp-iconlist { list-style: none; margin: 12px 0 0; padding: 0; }
.mp-iconlist li { display: flex; align-items: center; line-height: 24px; color: var(--mp-text); }
.mp-iconlist svg { width: 14px; height: 14px; fill: var(--mp-text); flex: none; margin-left: 6px; }
.mp-logobox { background: #e1e1e1; border-radius: 20px; padding: 10px; display: flex; gap: 20px; }
.mp-logobox__text { width: 60%; padding: 10px; display: flex; flex-direction: column; justify-content: center; }
.mp-logobox__text h2 { margin: 0; font-size: 23px; font-weight: 700; line-height: 1; color: var(--mp-text); }
.mp-logobox__img { width: 40%; padding: 10px; }
.mp-logobox__img img { display: block; width: 100%; height: auto; }
.mp-product__media .woocommerce-product-gallery { margin: 0 0 32px !important; width: 100% !important; float: none !important; }
.mp-product__media .woocommerce-product-gallery__image img,
.mp-product__media .woocommerce-product-gallery__wrapper > div img { border: 3px solid #b3b3b3; border-radius: 12px; box-sizing: border-box; }
.mp-product__media .flex-viewport { border-radius: 12px; }
.mp-product__media .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px !important; }
.mp-product__media .flex-control-thumbs li { width: calc(25% - 3.75px) !important; float: none !important; }
.mp-product__media .flex-control-thumbs li img { border: 3px solid #b3b3b3; border-radius: 12px; box-sizing: border-box; }
.mp-product__extra { margin-top: 0; }
.mp-product__content { max-width: var(--mp-max); margin: 60px auto 0; padding: 10px 0; color: var(--mp-text); }
.mp-product__related { margin: 100px 0 50px; }
.mp-product__related > .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-product__related .mp-title { font-weight: 600; text-align: start; }
.single_add_to_cart_button { display: none !important; }

/* ---------- Archive ---------- */
.mp-archive { margin: 30px 0; }
.mp-archive > .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-archive .mp-title { font-weight: 600; }
.mp-empty { text-align: center; }
.mp-archive__desc { text-align: center; }

/* ---------- /category/ landing page ---------- */
.mp-land-cats { margin-top: 20px; }
.mp-land-cats > .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-land-cats .mp-cat-grid { row-gap: 40px; }
.mp-land-promo { margin-top: 40px; }
.mp-land-promo__row { padding: 10px 0; display: flex; gap: 20px; }
.mp-land-promo__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mp-land-card { background: #e1e1e1; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.mp-land-card h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1; color: var(--mp-text); }
.mp-land-card p { margin: 0; font-size: 20px; font-weight: 600; line-height: 1; color: var(--mp-text); }
.mp-land-card--row { flex-direction: row; gap: 20px; padding: 10px; }
.mp-land-card__text { width: 60%; padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.mp-land-card__img { width: 40%; padding: 10px; }
.mp-land-card img { display: block; width: 100%; height: auto; }
.mp-land-card--imgs { flex-direction: row; gap: 20px; padding: 10px; border-radius: 20px 20px 0 0; }
.mp-land-card--imgs img { width: 50%; }
.mp-land-card--accent { background: #e8a36585; border-radius: 0 0 20px 20px; margin-top: -20px; }
.mp-land-btn {
	display: block;
	padding: 12px 24px;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	color: #fff;
	background: var(--mp-secondary);
	border-radius: 50px;
}
.mp-land-btn:hover { color: #fff; }
.mp-land-steps { margin-top: 30px; background: #edeff0; padding-top: 40px; padding-bottom: 40px; }
.mp-land-steps > .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-land-steps__row { display: flex; justify-content: center; align-items: center; gap: 70px; padding: 10px; }
.mp-land-steps .mp-box { width: 280px; }
.mp-land-steps .mp-box img { width: 25%; }
.mp-land-steps .mp-box h3 { font-size: 32px; color: #000; }
.mp-land-steps__arrow { font-size: 25px; color: var(--mp-text); }
.mp-land-products { margin-top: 25px; }
.mp-land-products > .mp-inner { padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-grid--land { gap: 30px; }
.mp-grid--land .mp-card { border: 4px solid #cdcdcd; padding: 10px; gap: 10px; }
.mp-grid--land .mp-card__img img { height: 190px; border-radius: 0; }
.mp-grid--land .mp-card__title { min-height: 0; }
.mp-grid--land .mp-card__desc p { margin: 0; }
.mp-grid--land .mp-card__btn { margin-top: 10px; }
.mp-grid--land .mp-card__btn { background: var(--mp-secondary); font-weight: 500; }
.mp-land-form { background: #c7c7c7; padding-top: 35px; padding-bottom: 35px; }
.mp-land-form > .mp-inner { max-width: 753px; padding: 10px 0; display: flex; flex-direction: column; gap: 20px; }
.mp-land-form .mp-form { justify-content: flex-end; }
.mp-land-form .mp-form__submit { background: var(--mp-secondary); }

/* ---------- Accessibility widget ---------- */
.mp-a11y-btn {
	position: fixed;
	top: 120px;
	left: 21px;
	z-index: 9998;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #1e7ab9;
	box-shadow: 6px 8px 16px 0 rgba(0, 0, 0, .2);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mp-a11y-btn svg { width: 30px; height: 30px; fill: #fff; }
.mp-a11y-panel {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 99999;
	width: 280px;
	max-width: 100%;
	overflow-y: auto;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 0, 0, .25);
	transform: translateX(-110%);
	transition: transform .3s;
	font-family: "Heebo", sans-serif;
}
.mp-a11y-panel.is-open { transform: none; }
.mp-a11y-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1e7ab9; color: #fff; font-weight: 700; }
.mp-a11y-panel__head button { background: transparent; border: 0; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.mp-a11y-panel ul { list-style: none; margin: 0; padding: 8px 0; }
.mp-a11y-panel li button,
.mp-a11y-panel li a {
	display: block;
	width: 100%;
	padding: 10px 16px;
	border: 0;
	background: transparent;
	text-align: start;
	font-family: inherit;
	font-size: 16px;
	color: #222;
	cursor: pointer;
}
.mp-a11y-panel li button[aria-pressed=true] { background: #e3f0fa; font-weight: 700; }
.mp-a11y-panel li button:hover, .mp-a11y-panel li a:hover,
.mp-a11y-panel li button:focus, .mp-a11y-panel li a:focus { background: #f0f0f0; color: #222; }
.mp-a11y-panel li button:focus-visible, .mp-a11y-panel li a:focus-visible { outline: 2px solid #1e7ab9; outline-offset: -2px; }
html.mp-a11y-contrast body, html.mp-a11y-contrast body * { background-color: #000 !important; color: #ff0 !important; border-color: #ff0 !important; }
html.mp-a11y-contrast .mp-a11y-panel, html.mp-a11y-contrast .mp-a11y-panel * { background-color: #fff !important; color: #000 !important; }
html.mp-a11y-gray body > *:not(.mp-a11y-panel):not(.mp-a11y-btn) { filter: grayscale(1); }
html.mp-a11y-links a { text-decoration: underline !important; }
html.mp-a11y-font body, html.mp-a11y-font body * { font-family: Arial, sans-serif !important; }
html.mp-a11y-noanim *, html.mp-a11y-noanim *::before, html.mp-a11y-noanim *::after { animation: none !important; transition: none !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.mp-header__inner, .mp-hero__row, .mp-footer__cols, .mp-footer__bottom, .mp-product__row, .mp-product__content { padding-inline: 10px; }
	.mp-section > .mp-inner { padding-inline: 0; }
	.mp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mp-card__desc { display: none; }
	.mp-product__row { flex-direction: column-reverse; }
	.mp-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.mp-header__inner { padding: 10px 5px 10px 10px; }
	.mp-header .mp-btn { display: none; }
	.mp-menu-toggle { display: flex; order: 3; }
	.mp-logo { width: auto; }
	.mp-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 0;
		background: #fff;
		box-shadow: 0 4px 6px rgba(0, 0, 0, .05);
	}
	.mp-header.is-open .mp-nav { display: block; }
	.mp-nav ul { flex-direction: column; }
	.mp-nav a { justify-content: center; padding: 10px 20px; color: #33373d; }
	.mp-nav a:hover, .mp-nav a:focus { color: var(--mp-secondary); }

	.mp-hero__row { flex-direction: column-reverse; padding-inline: 0; }
	.mp-hero__text { min-height: 380px; padding: 40px 10px 0; }
	.mp-hero__text .mp-btn { align-self: center; }
	.mp-hero__media { min-height: 213px; }

	.mp-why__boxes { flex-direction: column; align-items: center; gap: 40px; }
	.mp-box { width: 100%; }
	.mp-box img { width: auto; height: 150px; }

	.mp-budget > .mp-inner { padding: 50px 0; }
	.mp-budget__grid { grid-template-columns: repeat(2, 1fr); }

	.mp-cats { padding-inline: 12px; }
	.mp-cats > .mp-inner { padding: 80px 0; }
	.mp-cat-grid { grid-template-columns: repeat(2, 1fr); }

	.mp-featured { padding-inline: 12px; }
	.mp-featured > .mp-inner { padding: 80px 0; }
	.mp-grid, .mp-grid--archive, .mp-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mp-card { padding: 10px; border-radius: 10px; }
	.mp-card__img img { height: 123px; }
	.mp-card__title h3 { font-size: 16px; text-align: center; }
	.mp-card .mp-card__btn { font-size: 14px; }
	.mp-loadmore { margin-top: 2px; }

	.mp-clients__row { flex-direction: column; gap: 20px; }
	.mp-clients__row figure { width: 150px; }

	.mp-contact { padding-inline: 12px; }
	.mp-contact > .mp-inner { max-width: 90%; padding: 80px 0; }
	.mp-form__field--half { flex-basis: 100%; }

	.mp-footer__cols { flex-direction: column; padding: 20px 10px; }
	.mp-footer__bottom { padding: 10px 10px 20px; }

	.mp-page { padding: 0 6%; min-height: 85vh; }
	.mp-page__title { font-size: 38px; letter-spacing: 3px; }
	.mp-page__content { font-size: 14px; line-height: 1.3em; }

	.mp-product__summary .product_title { font-size: 40px; }
	.mp-product__row, .mp-product__content { padding-inline: 0; }
	.mp-logobox { flex-direction: column; }
	.mp-logobox__text, .mp-logobox__img { width: 100%; }
	.mp-land-promo__row, .mp-land-card--row, .mp-land-steps__row { flex-direction: column; }
	.mp-land-card__text, .mp-land-card__img { width: auto; }
	.mp-land-steps__arrow { transform: rotate(90deg); }
	.mp-a11y-btn { top: 120px; }
}
