/* Maxipapi – styly šablony. Hodnoty vycházejí 1:1 z grafického návrhu (počítač 1440 px, mobil 390 px). */

:root {
	--brand: #F7CC5A;
	--brand-deep: #E9B93A;
	--ink: #191C1D;
	--bg: #FFFCF3;
	--cream: #FFF1C7;
	--line: #F3E7BE;
	--line-2: #EFE3BC;
	--muted: #5C5A50;
	--soft: #3F3B2C;
	--green: #5BD16B;
	--red: #E2574C;
	--head: 'Baloo 2', system-ui, sans-serif;
	--body: 'Nunito', system-ui, sans-serif;
	--pad: 80px;
}

/* ---------------------------------------------------------------- základ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mp {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
:where(.mp) a { color: inherit; text-decoration: none; }
:where(.mp) img { max-width: 100%; height: auto; }
:where(.mp) :is(h1, h2, h3, h4) { margin: 0; font-family: var(--head); font-weight: 800; line-height: 1.1; color: var(--ink); }
:where(.mp) p { margin: 0; }
.mp :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link:focus { position: fixed !important; left: 16px; top: 16px; width: auto; height: auto; clip: auto; clip-path: none; margin: 0; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 999px; z-index: 100000; }

.mp-wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.mp-show-m { display: none; }

/* ---------------------------------------------------------------- tlačítka */

.mp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 50px; padding: 0 28px;
	border: 3px solid transparent; border-radius: 999px;
	font-family: var(--body); font-weight: 700; font-size: 16px; line-height: 1;
	cursor: pointer; white-space: nowrap;
	transition: transform .12s ease, background-color .12s ease, color .12s ease;
}
.mp-btn:hover { transform: translateY(-1px); }
.mp-btn--dark { background: var(--ink); color: #fff; }
.mp-btn--dark:hover { background: #000; }
.mp-btn--brand { background: var(--brand); color: var(--ink); font-weight: 800; }
.mp-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; height: 60px; padding: 0 30px; font-size: 19px; }
.mp-btn--outline:hover { background: var(--ink); color: #fff; }
.mp-btn--sm { height: 46px; padding: 0 24px; font-size: 16px; }
.mp-btn--lg { height: 56px; padding: 0 34px; font-size: 19px; }
.mp-btn--xl { height: 64px; padding: 0 40px; font-size: 22px; }

.mp-badge {
	position: absolute; left: 14px; top: 14px;
	padding: 5px 14px; border-radius: 999px;
	background: var(--brand); color: var(--ink); font-weight: 800; font-size: 13px; line-height: 1.3;
}
.mp-label { display: inline-block; align-self: flex-start; padding: 5px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.mp-label--brand { background: var(--brand); color: var(--ink); }

/* -------------------------------------------------------------- horní pruh */

.mp-strip { background: var(--ink); color: #fff; font-size: 14px; }
.mp-strip__inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-strip__status { display: flex; align-items: center; gap: 10px; }
.mp-strip b { color: var(--brand); }
.mp-strip__link { text-decoration: underline !important; }
.mp-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); flex: none; }
.mp-dot.is-closed { background: var(--red); }

/* ----------------------------------------------------------------- hlavička */

.mp-header { background: var(--brand); }
.mp-header__inner { height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.mp-header__tel { display: none; }
.mp-logo { display: flex; align-items: center; flex: none; }
.mp-logo img { display: block; height: 64px; width: auto; }
.mp-header .mp-switch { margin-right: auto; }
.mp-header__right { display: flex; align-items: center; gap: 28px; }
.mp-header__call { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.mp-header__call span { font-size: 13px; font-weight: 600; }
.mp-header__call a { font-family: var(--head); font-weight: 800; font-size: 26px; }

.mp-cart {
	display: inline-flex; align-items: center; gap: 12px;
	height: 54px; padding: 0 26px; border-radius: 999px;
	background: var(--ink); color: var(--brand);
	font-weight: 700; font-size: 19px; white-space: nowrap;
}

.mp-switch { display: inline-flex; align-items: center; padding: 4px; border-radius: 999px; background: rgba(25, 28, 29, .12); }
.mp-switch__item { display: flex; align-items: center; justify-content: center; height: 42px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.mp-switch__item.is-active { background: var(--ink); color: #fff; }
.mp-switch--hero { display: none; }

/* --------------------------------------------------------------------- hero */

.mp-hero { background: var(--brand); }
.mp-hero__inner { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1fr) 580px; grid-template-rows: auto auto; align-content: center; column-gap: 56px; row-gap: 26px; padding-bottom: 24px; }
.mp-hero__text { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.mp-pill { align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.mp-hero__title { font-size: 104px; line-height: .95; letter-spacing: -1.5px; }
.mp-mark { display: inline-block; padding: 0 22px 8px; border-radius: 28px; background: var(--ink); color: var(--brand); transform: rotate(-2deg); }
.mp-hero__lead { font-size: 22px; line-height: 1.45; max-width: 540px; font-weight: 600; }
.mp-hero__cta { display: flex; gap: 14px; align-items: center; }

.mp-hero__media { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; width: 580px; height: 520px; }
.mp-hero__disc { position: absolute; right: -20px; top: -10px; width: 440px; height: 440px; border-radius: 999px; background: var(--brand-deep); }
.mp-hero__img { position: absolute; left: 0; top: 20px; display: block; width: 560px; height: 470px; max-width: none; object-fit: cover; object-position: 50% 55%; border-radius: 48px; box-shadow: 0 24px 48px rgba(25, 28, 29, .25); }
.mp-hero__badge {
	position: absolute; left: -36px; bottom: -4px; width: 150px; height: 150px; padding: 20px;
	display: flex; align-items: center; justify-content: center; text-align: center;
	border-radius: 999px; background: var(--ink); color: var(--brand);
	font-family: var(--head); font-weight: 800; font-size: 20px; line-height: 1.05; transform: rotate(-8deg);
}

/* Ověření obce: na počítači pod textem hero, na mobilu pod fotkou. */
.mp-zip { grid-column: 1; grid-row: 2; max-width: 560px; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 24px; background: #fff; }
.mp-zip label { font-weight: 700; font-size: 15px; }
.mp-zip__row { display: flex; gap: 10px; }
.mp-zip input { flex: 1 1 0; width: 0; height: 50px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--brand-deep); background: var(--bg); font-family: var(--body); font-size: 17px; color: var(--ink); }
.mp-zip .mp-btn { height: 50px; border-radius: 14px; border-width: 0; }

/* ------------------------------------------------------------- lišta kategorií */

.mp-cats { background: #fff; border-bottom: 1px solid var(--line-2); }
.mp-cats__inner { padding-top: 18px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 12px; overflow-x: auto; scrollbar-width: thin; }
.mp-cat { flex: 1 0 118px; max-width: 130px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mp-cat img { display: block; width: 70px; height: 70px; border-radius: 999px; object-fit: cover; border: 3px solid var(--brand); }
.mp-cat span { font-weight: 700; font-size: 14px; line-height: 1.25; }
.mp-cat.is-current img { border-color: var(--ink); }
.mp-cat:hover span { text-decoration: underline; }

/* ------------------------------------------------------------------ bannery */

.mp-banners { margin-top: 48px; display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.mp-banner { border-radius: 32px; overflow: hidden; min-height: 340px; }
.mp-banner--new { display: flex; background: var(--ink); color: #fff; }
.mp-banner--new img { display: block; width: 50%; height: auto; min-height: 340px; object-fit: cover; flex: none; }
.mp-banner__body { flex: 1 1 0; min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; }
.mp-banner--new h2 { font-size: 40px; line-height: 1.05; color: #fff; }
.mp-banner--tip { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 36px; background: var(--brand); }
.mp-banner__kicker { font-weight: 800; font-size: 14px; letter-spacing: 2px; }
.mp-banner--tip h3 { font-size: 30px; line-height: 1.05; }
.mp-banner--tip p { font-size: 16px; line-height: 1.45; font-weight: 600; }
.mp-banner--tip .mp-btn { height: 50px; padding: 0 28px; }

/* ---------------------------------------------------------------- produkty */

.mp-products { margin-top: 80px; display: flex; flex-direction: column; gap: 28px; }
.mp-products__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.mp-products__head h2 { font-size: 48px; line-height: 1; }
.mp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.mp-card { display: flex; flex-direction: column; height: 100%; border-radius: 24px; overflow: hidden; background: #fff; border: 2px solid var(--line); }
.mp-card__media { position: relative; display: block; height: 200px; background: var(--cream); }
.mp-card__img { display: block; width: 100%; height: 200px; object-fit: cover; }
.mp-card__body { flex: 1 1 auto; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.mp-card__title { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.15; }
.mp-card__title:hover { text-decoration: underline; }
.mp-card__desc { font-size: 15px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mp-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mp-card__price { font-family: var(--head); font-weight: 800; font-size: 26px; line-height: 1.1; }
.mp-card__price del { display: block; font-size: 15px; font-weight: 600; color: var(--muted); }
.mp-card__price ins { text-decoration: none; }
.mp-card__price .woocommerce-price-amount { white-space: nowrap; }
.mp-add {
	display: inline-flex; align-items: center; gap: 6px; flex: none;
	height: 46px; padding: 0 20px; border-radius: 999px;
	background: var(--brand); color: var(--ink); font-weight: 800; font-size: 16px; white-space: nowrap;
	transition: transform .12s ease, background-color .12s ease;
}
.mp-add:hover { background: var(--brand-deep); transform: translateY(-1px); }
.mp-add__plus { font-size: 22px; line-height: 1; }
.mp-add.loading { opacity: .6; pointer-events: none; }
.mp-add.added, .mp-add.is-added { background: var(--green); }
.mp-card .added_to_cart { display: none; }

/* ------------------------------------------------------- jak to funguje, důvody */

.mp-steps-wrap { margin-top: 88px; }
.mp-steps { padding: 56px; border-radius: 40px; background: var(--cream); display: flex; flex-direction: column; gap: 36px; }
.mp-steps h2 { font-size: 44px; line-height: 1; }
.mp-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 22px; }
.mp-step { display: flex; align-items: flex-start; gap: 20px; }
.mp-step__n { width: 60px; height: 60px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); border: 3px solid var(--ink); font-family: var(--head); font-weight: 800; font-size: 30px; }
.mp-step h3 { font-size: 26px; line-height: 1.1; margin-bottom: 6px; }
.mp-step p { font-size: 17px; line-height: 1.45; color: var(--soft); }

.mp-reasons { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mp-reason { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 28px; background: #fff; border: 2px solid var(--line); }
.mp-reason__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--brand); color: var(--ink); }
.mp-reason h3 { font-size: 28px; margin-bottom: 12px; }
.mp-reason p { font-size: 17px; line-height: 1.5; color: var(--soft); }

/* ------------------------------------------------------------ závěrové CTA */

.mp-final { margin-top: 56px; }
.mp-final__box { padding: 56px; border-radius: 40px; background: var(--brand); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.mp-final__text { display: flex; flex-direction: column; gap: 10px; }
.mp-final__text h2 { font-size: 60px; line-height: 1; }
.mp-final__text > span { font-size: 20px; font-weight: 600; }
.mp-final__cta { display: flex; flex-direction: column; gap: 12px; flex: none; }
.mp-final__cta .mp-btn--outline { height: 56px; }

/* ------------------------------------------------------- platby a patička */

.mp-pay { margin-top: 40px; }
.mp-pay__box { padding: 22px 32px; border-radius: 24px; background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-pay__title { font-family: var(--head); font-weight: 700; font-size: 20px; }
.mp-pay__chips { display: flex; gap: 12px; flex-wrap: wrap; }
.mp-chip { padding: 10px 20px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: 15px; }

.mp-footer { margin-top: 72px; background: var(--ink); color: #fff; }
.mp-footer__grid { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; column-gap: 48px; row-gap: 26px; align-items: start; }
.mp-footer__brand, .mp-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.mp-footer__name { font-family: var(--head); font-weight: 800; font-size: 40px; color: var(--brand); line-height: 1.1; }
.mp-footer__about { line-height: 1.5; max-width: 320px; color: #D9D6CB; }
.mp-footer__h { font-weight: 700; letter-spacing: 1.5px; font-size: 13px; color: var(--brand); }
.mp-footer__muted { color: #D9D6CB; }
.mp-footer a:hover { text-decoration: underline; }

/* Spodní lišta košíku (mobil) */
.mp-bar { display: none; }

/* ----------------------------------------------------- vnitřní stránky */

.mp-pagehead { background: var(--brand); }
.mp-pagehead .mp-wrap { padding-top: 48px; padding-bottom: 48px; }
.mp-pagehead h1 { font-size: 64px; line-height: 1; letter-spacing: -.5px; }
.mp-main { padding-bottom: 8px; }
.mp-shop, .mp-pagehead + .mp-main { padding-top: 40px; }
.mp-prose { background: #fff; border: 2px solid var(--line); border-radius: 28px; padding: 40px; font-size: 17px; line-height: 1.6; color: var(--soft); }
.mp-prose > :first-child { margin-top: 0; }
.mp-prose > :last-child { margin-bottom: 0; }
.mp-prose h2, .mp-prose h3, .mp-prose h4 { margin: 1.4em 0 .5em; }
.mp-prose h2 { font-size: 32px; }
.mp-prose h3 { font-size: 24px; }
.mp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mp-prose ul, .mp-prose ol { padding-left: 1.3em; }
.mp-prose table { width: 100%; border-collapse: collapse; }
.mp-prose th, .mp-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

.mp-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mp-post { background: #fff; border: 2px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mp-post h2 { font-size: 26px; }
.mp-post__meta { font-size: 14px; color: var(--muted); }
.mp-search { display: flex; gap: 10px; }
.mp-search input { flex: 1; height: 46px; padding: 0 18px; border-radius: 14px; border: 2px solid var(--brand-deep); background: var(--bg); font: inherit; }
.mp-comments { margin-top: 24px; }

/* ----------------------------------------------------------- WooCommerce */

.woocommerce-breadcrumb { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.woocommerce-breadcrumb a { text-decoration: underline; }
.woocommerce-products-header { margin-bottom: 28px; padding: 40px 56px; border-radius: 40px; background: var(--brand); }
.woocommerce-products-header__title { font-size: 56px; line-height: 1; }
.term-description { margin-top: 12px; font-size: 18px; font-weight: 600; }
.woocommerce-result-count, .woocommerce-ordering { margin: 0 0 24px; font-size: 15px; }
.woocommerce-ordering { float: right; }
.woocommerce-ordering select { height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--brand-deep); background: var(--bg); font: inherit; }

.mp .woocommerce ul.products, .mp ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; clear: both; }
.mp ul.products::before, .mp ul.products::after { display: none; }
.mp ul.products li.product { float: none; width: auto; margin: 0; padding: 0; }

/* Zavřeno: plugin doby objednávek skrývá nákup, odkazy Do košíku se mění na Detail (PHP). */
.lafka-disabled-cart-buttons .single_add_to_cart_button,
.lafka-disabled-cart-buttons .quantity { display: none; }
.lafka-closed-store-message { margin: 16px 0; padding: 14px 18px; border-radius: 16px; background: var(--cream); font-weight: 700; }

.single_add_to_cart_button, .mp .button, .mp button.button, .mp input.button, .mp .wc-block-components-button, .mp #place_order {
	display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 34px; border: 0; border-radius: 999px;
	background: var(--brand); color: var(--ink); font: 800 19px var(--body); cursor: pointer; line-height: 1;
}
.single_add_to_cart_button:hover, .mp .button:hover, .mp #place_order:hover { background: var(--brand-deep); color: var(--ink); }
.mp .button.alt, .mp #place_order { background: var(--ink); color: #fff; }
.mp .button.alt:hover, .mp #place_order:hover { background: #000; color: #fff; }

/* Hlášky a formuláře */
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 0 0 20px; padding: 14px 20px; list-style: none; border-radius: 16px; background: var(--cream); border: 2px solid var(--brand); font-weight: 700; }
.woocommerce-error { background: #FDE7E4; border-color: var(--red); }
.woocommerce-message .button, .woocommerce-info .button { float: right; height: 40px; padding: 0 20px; font-size: 15px; }
.mp input[type="text"], .mp input[type="email"], .mp input[type="tel"], .mp input[type="number"], .mp input[type="password"], .mp textarea, .mp select {
	min-height: 46px; padding: 8px 14px; border-radius: 12px; border: 2px solid var(--brand-deep); background: #fff; color: var(--ink); font: 17px var(--body); max-width: 100%;
}
.mp textarea { min-height: 100px; }
.mp label { font-weight: 700; }

/* Košík a pokladna */
table.shop_table th, table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.shop_table tr:last-child > * { border-bottom: 0; }
table.shop_table img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }

/* Můj účet */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 20px; border-radius: 999px; background: var(--cream); font-weight: 800; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }

/* Stránky z WPBakery nesmí přetéct šablonu. */
.mp-prose .vc_row { margin-left: 0; margin-right: 0; }

/* --------------------------------------------------------------- tablet */

@media (max-width: 1180px) {
	:root { --pad: 40px; }
	.mp-hero__title { font-size: 80px; }
	.mp-hero__inner { grid-template-columns: minmax(0, 1fr) 480px; column-gap: 32px; }
	.mp-hero__media { width: 480px; height: 440px; }
	.mp-hero__disc { width: 360px; height: 360px; }
	.mp-hero__img { width: 460px; height: 400px; }
	.mp-grid, .mp .woocommerce ul.products, .mp ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mp-steps { padding: 40px; }
	.mp-final__text h2 { font-size: 48px; }
	.mp-footer__grid { grid-template-columns: 1fr 1fr; }
	.mp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mp-header__inner { gap: 20px; }
	.mp-header__call { display: none; }
}

@media (max-width: 900px) {
	.mp-hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
	.mp-hero__text, .mp-zip { grid-column: 1; }
	.mp-hero__text { grid-row: 1; }
	.mp-hero__media { grid-column: 1; grid-row: 2; justify-self: center; max-width: 100%; margin: 20px 0; }
	.mp-zip { grid-row: 3; max-width: none; }
	.mp-banners { grid-template-columns: 1fr; }
	.mp-steps__list, .mp-reasons { grid-template-columns: 1fr; }
	.mp-final__box { flex-direction: column; align-items: flex-start; }
	.woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- mobil */

@media (max-width: 760px) {
	:root { --pad: 16px; }
	.mp-hide-m { display: none !important; }
	.mp-show-m { display: inline; }

	body.mp { padding-bottom: 76px; }

	.mp-strip { font-size: 13px; }
	.mp-strip__inner { min-height: 36px; justify-content: center; padding-top: 6px; padding-bottom: 6px; }
	.mp-strip__status { gap: 8px; }
	.mp-dot { width: 8px; height: 8px; }

	.mp-header__inner { height: 64px; gap: 8px; }
	.mp-header__tel { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
	.mp-logo img { height: 46px; }
	.mp-header > .mp-wrap > .mp-switch, .mp-header__call { display: none; }
	.mp-header__right { gap: 0; }
	.mp-cart { height: 44px; padding: 0 16px; font-size: 16px; gap: 8px; }
	.mp-cart svg { width: 18px; height: 18px; }

	/* hero: pořadí podle mobilního návrhu (přepínač, nadpis, text, tlačítka, fotka, ověření obce) */
	.mp-hero__inner { min-height: 0; padding: 8px 16px 36px; display: flex; flex-direction: column; gap: 18px; }
	.mp-hero__text, .mp-hero__cta { display: contents; }
	.mp-switch--hero { display: flex; order: 1; }
	.mp-switch--hero .mp-switch__item { flex: 1 1 0; }
	.mp-pill { display: none; }
	.mp-hero__title { order: 2; font-size: 60px; letter-spacing: -1px; margin-top: 8px; }
	.mp-mark { padding: 0 16px 6px; border-radius: 20px; }
	.mp-hero__lead { order: 3; font-size: 18px; max-width: none; }
	.mp-hero__cta .mp-btn { width: 100%; }
	.mp-hero__cta .mp-btn--dark { order: 4; height: 60px; font-size: 20px; }
	.mp-hero__cta .mp-btn--outline { order: 5; height: 54px; font-size: 18px; }
	.mp-hero__media { order: 6; width: 100%; height: 260px; margin: 6px 0 0; align-self: stretch; max-width: none; }
	.mp-hero__disc { display: none; }
	.mp-hero__img { width: 100%; height: 260px; border-radius: 32px; box-shadow: 0 16px 32px rgba(25, 28, 29, .25); }
	.mp-hero__badge { left: auto; right: -4px; bottom: -14px; width: 104px; height: 104px; padding: 12px; font-size: 15px; }
	.mp-zip { order: 7; margin-top: 14px; padding: 16px; border-radius: 20px; max-width: none; }
	.mp-zip__row { flex-direction: column; }
	.mp-zip input { width: 100%; flex: none; padding: 0 16px; }
	.mp-zip .mp-btn { height: 48px; }

	.mp-cats__inner { padding-top: 14px; padding-bottom: 14px; justify-content: flex-start; gap: 12px; }
	.mp-cat { flex: 0 0 82px; gap: 6px; }
	.mp-cat img { width: 62px; height: 62px; }
	.mp-cat span { font-size: 12px; line-height: 1.2; }

	.mp-banners { margin-top: 24px; gap: 12px; }
	.mp-banner { border-radius: 24px; min-height: 0; }
	.mp-banner--new { flex-direction: column; }
	.mp-banner--new img { width: 100%; height: 190px; min-height: 0; }
	.mp-banner__body { padding: 22px; gap: 12px; align-items: stretch; }
	.mp-banner__body .mp-label { align-self: flex-start; font-size: 12px; padding: 4px 12px; }
	.mp-banner--new h2 { font-size: 28px; }
	.mp-banner__body .mp-btn { height: 52px; font-size: 18px; }
	.mp-banner--tip { padding: 22px; gap: 10px; align-items: stretch; }
	.mp-banner__kicker { font-size: 12px; }
	.mp-banner--tip h3 { font-size: 26px; }
	.mp-banner--tip p { font-size: 15px; }
	.mp-banner--tip .mp-btn { height: 48px; }

	.mp-products { margin-top: 40px; gap: 18px; }
	.mp-products__head h2 { font-size: 32px; }
	.mp-products__all { height: auto; padding: 0; border: 0; background: none; font-size: 15px; text-decoration: underline; }
	.mp-products__all:hover { background: none; color: inherit; transform: none; }
	.mp-grid, .mp .woocommerce ul.products, .mp ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.mp-card { border-radius: 20px; }
	.mp-card__media, .mp-card__img { height: 120px; }
	.mp-badge { left: 10px; top: 10px; padding: 4px 10px; font-size: 11px; }
	.mp-card__body { padding: 14px; gap: 6px; }
	.mp-card__title { font-size: 17px; }
	.mp-card__desc { font-size: 13px; line-height: 1.35; -webkit-line-clamp: 2; }
	.mp-card__foot { padding-top: 10px; }
	.mp-card__price { font-size: 19px; }
	.mp-add { width: 42px; height: 42px; padding: 0; justify-content: center; }
	.mp-add__plus { font-size: 28px; }
	.mp-add__label { display: none; }
	.mp-add--choose .mp-add__label { display: none; }

	.mp-steps-wrap { margin-top: 48px; }
	.mp-steps { padding: 26px 22px; border-radius: 28px; gap: 22px; }
	.mp-steps h2 { font-size: 30px; }
	.mp-steps__list { row-gap: 22px; }
	.mp-step { gap: 14px; }
	.mp-step__n { width: 46px; height: 46px; font-size: 22px; }
	.mp-step h3 { font-size: 21px; margin-bottom: 4px; }
	.mp-step p { font-size: 15px; line-height: 1.4; }

	.mp-reasons { margin-top: 20px; gap: 12px; }
	.mp-reason { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 22px; }
	.mp-reason__icon { width: 46px; height: 46px; flex: none; }
	.mp-reason__icon svg { width: 24px; height: 24px; }
	.mp-reason h3 { font-size: 20px; margin-bottom: 4px; }
	.mp-reason p { font-size: 15px; line-height: 1.45; }

	.mp-final { margin-top: 28px; }
	.mp-final__box { padding: 28px 22px; border-radius: 28px; gap: 14px; }
	.mp-final__text { gap: 14px; }
	.mp-final__text h2 { font-size: 36px; }
	.mp-final__text > span { font-size: 15px; line-height: 1.4; }
	.mp-final__cta { width: 100%; gap: 14px; }
	.mp-final__cta .mp-btn--dark { height: 56px; font-size: 19px; }
	.mp-final__cta .mp-btn--outline { height: 52px; font-size: 17px; }

	.mp-pay { margin-top: 20px; }
	.mp-pay__box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 20px; }
	.mp-pay__title { font-size: 18px; }
	.mp-pay__chips { gap: 8px; }
	.mp-chip { padding: 8px 14px; font-size: 14px; }

	.mp-footer { margin-top: 36px; }
	.mp-footer__grid { grid-template-columns: 1fr; padding: 36px 20px 40px; row-gap: 26px; }
	.mp-footer__name { font-size: 32px; }
	.mp-footer__about { font-size: 15px; }
	.mp-footer__col { gap: 8px; }
	.mp-footer__col .mp-footer__h { font-size: 12px; }

	.mp-bar {
		display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
		background: #fff; border-top: 2px solid var(--brand); box-shadow: 0 -8px 24px rgba(25, 28, 29, .12);
	}
	.mp-bar__tel { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 3px solid var(--ink); }
	.mp-bar__cart { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--brand); font-weight: 800; font-size: 18px; }

	.mp-pagehead .mp-wrap { padding-top: 28px; padding-bottom: 28px; }
	.mp-pagehead h1 { font-size: 40px; }
	.mp-shop, .mp-pagehead + .mp-main { padding-top: 24px; }
	.mp-prose { padding: 22px; border-radius: 22px; }
	.mp-posts { grid-template-columns: 1fr; }
	.woocommerce-products-header { padding: 26px 22px; border-radius: 28px; }
	.woocommerce-products-header__title { font-size: 38px; }
	.woocommerce-ordering { float: none; }
	.woocommerce-message .button, .woocommerce-info .button { float: none; margin-top: 10px; }
}

/* Ověření obce (stránka Zóny rozvozu) */
.mp-found { background: var(--brand); padding: 2px 6px; border-radius: 6px; color: var(--ink); font-weight: 800; }
.mp-found-note { margin-bottom: 20px; padding: 14px 20px; border-radius: 16px; background: var(--cream); border: 2px solid var(--brand); font-weight: 800; color: var(--ink); }

/* ------------------------------------------------ přebití výchozích stylů WooCommerce */

body.mp ul.products li.product .mp-card__media { display: block; position: relative; height: 200px; margin: 0; }
body.mp ul.products li.product .mp-card__img { display: block; width: 100%; height: 200px; margin: 0; object-fit: cover; border-radius: 0; box-shadow: none; }
body.mp ul.products li.product .mp-card__title { padding: 0; }
body.mp ul.products li.product .mp-card__price { color: var(--ink); font-size: 26px; }
body.mp ul.products li.product .mp-card__price .amount { font-size: inherit; }
body.mp .mp-card .mp-add { margin: 0; }

body.mp .woocommerce a.button, body.mp .woocommerce button.button, body.mp .woocommerce input.button,
body.mp .woocommerce #respond input#submit, body.mp .woocommerce a.button.alt, body.mp .woocommerce button.button.alt,
body.mp .woocommerce input.button.alt, body.mp .woocommerce a.button.disabled, body.mp .woocommerce button.button:disabled,
body.mp div.product form.cart .button, body.mp .single_add_to_cart_button.button.alt {
	background: var(--brand); color: var(--ink); border-radius: 999px; height: 56px; padding: 0 34px; font: 800 19px var(--body); line-height: 1; opacity: 1;
}
body.mp .woocommerce a.button:hover, body.mp .woocommerce button.button:hover, body.mp .woocommerce input.button:hover, body.mp div.product form.cart .button:hover { background: var(--brand-deep); color: var(--ink); }
body.mp .woocommerce a.button.alt, body.mp .woocommerce button.button.alt, body.mp .woocommerce input.button.alt,
body.mp .woocommerce #place_order, body.mp .woocommerce a.checkout-button, body.mp .single_add_to_cart_button.button.alt { background: var(--ink); color: #fff; }
body.mp .woocommerce a.button.alt:hover, body.mp .woocommerce #place_order:hover, body.mp .woocommerce a.checkout-button:hover, body.mp .single_add_to_cart_button.button.alt:hover { background: #000; color: #fff; }
body.mp .woocommerce a.button.disabled, body.mp .woocommerce button.button:disabled, body.mp .woocommerce button.button.disabled { opacity: .45; cursor: not-allowed; }

@media (max-width: 900px) { body.mp .woocommerce-checkout .col2-set { grid-template-columns: 1fr; } }

/* Obsah stránek ze shortcodů WPBakery vykreslený šablonou (inc/shortcodes.php) */
.mp-row { display: flex; flex-wrap: wrap; gap: 24px 32px; margin: 0 0 24px; }
.mp-row:last-child { margin-bottom: 0; }
.mp-col { flex: 1 1 calc(var(--mp-col, 100%) - 32px); min-width: min(100%, 240px); max-width: 100%; }
.mp-text > :first-child { margin-top: 0; }
.mp-text > :last-child { margin-bottom: 0; }
.mp-text h1, .mp-text h2, .mp-text h3, .mp-text h4 { margin: 0 0 .5em; }
.mp-text strong { color: var(--ink); }
.mp-figure { margin: 0; }
.mp-figure img { display: block; width: 100%; height: auto; border-radius: 20px; }
.mp-space { height: 24px; }
.mp-sep { border: 0; border-top: 2px solid var(--line); margin: 24px 0; }
@media (max-width: 760px) { .mp-row { gap: 16px; } .mp-col { flex-basis: 100% !important; } }

/* Karty ve výpisech nesmí dědit šířku sloupců z WooCommerce. */
body.mp ul.products li.product { float: none !important; width: 100% !important; margin: 0 !important; min-width: 0; }

/* Hláška po přidání do košíku: tlačítko Zobrazit košík stejné jako košík v hlavičce */
body.mp .woocommerce-message { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
body.mp .woocommerce-message a.button.wc-forward, body.mp .woocommerce-info a.button.wc-forward {
	order: 2; float: none; display: inline-flex; align-items: center; gap: 10px; flex: none; margin: 0;
	height: 46px; padding: 0 24px 0 20px; border-radius: 999px; background: var(--ink); color: var(--brand); font: 700 16px/1 var(--body); white-space: nowrap;
}
body.mp .woocommerce-message a.button.wc-forward::before { content: ""; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F7CC5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E"); }
body.mp .woocommerce-message a.button.wc-forward:hover, body.mp .woocommerce-info a.button.wc-forward:hover { background: #000; color: var(--brand); }

/* Košík, pokladna a účet: bez vnější karty, jednotlivé bloky mají vlastní. */
.mp-plain { font-size: 17px; line-height: 1.55; color: var(--soft); }
.mp-plain > :first-child { margin-top: 0; }

/* Vlastní zaškrtávátka a přepínače (celý web) */

body.mp input[type="checkbox"], body.mp input[type="radio"] {
	-webkit-appearance: none; appearance: none;
	display: inline-grid; place-content: center; flex: none;
	width: 24px; height: 24px; min-height: 0; margin: 0; padding: 0;
	border: 2px solid var(--ink); border-radius: 8px; background: #fff;
	cursor: pointer; vertical-align: middle;
	transition: background-color .12s ease, box-shadow .12s ease;
}
body.mp input[type="radio"] { border-radius: 999px; }
body.mp input[type="checkbox"]:checked, body.mp input[type="radio"]:checked { background: var(--brand); }
body.mp input[type="checkbox"]:checked::after {
	content: ""; width: 11px; height: 6px; margin-top: -3px;
	border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg);
}
body.mp input[type="radio"]:checked::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--ink); }
body.mp input[type="checkbox"]:focus-visible, body.mp input[type="radio"]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }


@media (max-width: 380px) {
	.mp-bar { gap: 8px; padding-left: 12px; padding-right: 12px; }
	.mp-bar__cart { padding: 0 16px; font-size: 16px; }
	.mp-bar__tel { width: 48px; height: 48px; }
	.mp-bar__cart { height: 48px; }
	.woocommerce-ordering select { width: 100%; }
}

.mp-nowrap { white-space: nowrap; }
/* Hlášky WooCommerce: bez výchozí ikony a bez obrysu po zaostření skriptem */
body.mp .woocommerce-message::before, body.mp .woocommerce-info::before, body.mp .woocommerce-error::before { display: none; }
body.mp .woocommerce-message:focus, body.mp .woocommerce-info:focus, body.mp .woocommerce-error:focus, body.mp .woocommerce-message:focus-visible { outline: 0; }
@media (max-width: 760px) {
	body.mp .woocommerce-message { padding: 16px 18px; }
	body.mp .woocommerce-message a.button.wc-forward { width: 100%; justify-content: center; }
}
