/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* ==========================================================================
   Design tokens — the single source of truth for layout spacing.
   Use these instead of literal px / clamp() values in layout rules (page and section
   padding, gutters, grid gaps). Component-internal padding (buttons, cells) stays literal.
   ========================================================================== */
:root {
	/* fixed scale */
	--sp-4: 4px;
	--sp-8: 8px;
	--sp-12: 12px;
	--sp-16: 16px;
	--sp-24: 24px;
	--sp-32: 32px;
	--sp-40: 40px;
	--sp-48: 48px;

	/* fluid layout */
	--maxw: 1200px;                          /* content width */
	--gutter: clamp(16px, 4vw, 40px);        /* left/right page padding */
	--page-top: clamp(32px, 5vw, 64px);      /* space above the first block of a page */
	--section-y: clamp(56px, 8vw, 112px);    /* space above / below a major section */
	--section-y-sm: clamp(40px, 6vw, 72px);  /* lighter section break (lists, CTA bands) */
	--section-gap: clamp(32px, 5vw, 72px);   /* column gap between side-by-side blocks */
	--section-gap-lg: clamp(40px, 6vw, 96px);/* column gap for text-heavy two-column layouts */
}

/* ==========================================================================
   Shared page shell — every custom template adds `mp-page` to its <main class="site-main">.
   Resets GeneratePress' container padding/sidebar so the template controls its own spacing.
   ========================================================================== */
.site-content:has(.mp-page) { padding: 0 !important; max-width: none !important; display: block; }
#content:has(.mp-page) { max-width: none !important; }
.content-area:has(.mp-page) { width: 100% !important; max-width: var(--maxw); margin: 0 auto !important; }
.mp-page.site-main { margin: 0 !important; }
.site-content:has(.mp-page) > .widget-area { display: none; }
body:has(.mp-page) { overflow-x: clip; } /* full-bleed bands use 100vw, which includes the scrollbar */

/* centred content column with the standard gutter */
.mp-wrap { max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Woo flow pages (cart, checkout, thank-you) share one wrapper: same top/bottom spacing as the custom templates */
.woocommerce-cart .inside-article,
.woocommerce-checkout .inside-article,
.woocommerce-order-received .inside-article { padding-left: 0; padding-right: 0; }
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content,
.woocommerce-order-received .site-content { padding-top: var(--page-top); padding-bottom: var(--section-y); }
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-order-received .entry-content { margin-top: 0; border-top: 0; padding-top: 0; }
.woocommerce-cart .entry-content::before,
.woocommerce-checkout .entry-content::before { display: none; }


/* ==========================================================================
   Košarica (cart)  — design: Mala Prazarna Kosarica.dc.html
   ========================================================================== */
.woocommerce-cart .entry-title {
	font-family: 'Anton', sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	font-size: clamp(48px, 7vw, 96px);
	line-height: .92;
	letter-spacing: .005em;
	margin: 0 0 32px;
}

.mp-cart { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; display: flex; flex-wrap: wrap; gap: var(--sp-40) var(--page-top); align-items: flex-start; }
.mp-cart__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-cart__meta { text-align: right; font-size: 13px; margin-bottom: -12px; }

/* free-shipping bar */
.mp-cart__ship { display: flex; flex-direction: column; gap: var(--sp-12); border: 2px solid #000; padding: 16px 20px; }
.mp-cart__ship-msg { font-size: 15px; font-weight: 800; }
.mp-cart__ship-bar { height: 8px; border: 2px solid #000; }
.mp-cart__ship-bar > div { height: 100%; background: #000; }

/* items: table restyled as a list */
.mp-cart table.shop_table,
.mp-cart table.shop_table tbody,
.mp-cart table.shop_table tr,
.mp-cart table.shop_table td { display: block; border: 0; padding: 0; margin: 0; background: none; }
.mp-cart table.shop_table { border-top: 2px solid #000; width: 100%; }
.mp-cart table.shop_table thead { display: none; }
.mp-cart tr.cart_item {
	display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-12) var(--sp-24);
	padding: 20px 0; border-bottom: 2px solid #000;
}
.mp-cart tr.cart_item td::before { display: none !important; content: none !important; }
.mp-cart td.product-thumbnail { order: 1; flex: 0 0 96px; border: 2px solid #000; aspect-ratio: 1/1; }
.mp-cart td.product-thumbnail a,
.mp-cart td.product-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mp-cart td.product-name { order: 2; flex: 1 1 200px; min-width: 0; display: flex !important; flex-direction: column; gap: var(--sp-4); text-align: left; font-size: 20px; font-weight: 800; line-height: 1.2; }
.mp-cart td.product-name a { color: #000; text-decoration: none; }
.mp-cart td.product-name a:hover { text-decoration: underline; }
.mp-cart .mp-label,
.mp-cart .mp-label a { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.mp-cart td.product-name dl.variation { margin: 0; font-size: 14px; font-weight: 500; display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.mp-cart td.product-name dl.variation dt { font-weight: 500; float: none; }
.mp-cart td.product-name dl.variation dd { margin: 0; font-weight: 800; }
.mp-cart td.product-name dl.variation p { margin: 0; }
.mp-cart .product-remove { display: block; margin-top: 4px; }
.mp-cart td.product-price { display: none !important; }
.mp-cart td.product-quantity { order: 4; }
.mp-cart td.product-subtotal { order: 5; flex: 0 0 90px; text-align: right; font-size: 18px; font-weight: 800; }
.mp-cart a.remove {
	display: inline-block; width: auto; height: auto; border-radius: 0; background: none !important;
	color: #000 !important; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: underline;
}
.mp-cart a.remove:hover { background: none; color: #000 !important; text-decoration: none; }

/* quantity stepper */
.mp-cart .quantity.mp-qty { display: flex; border: 2px solid #000; height: 44px; }
.mp-cart .mp-qty__btn { font: inherit; font-size: 18px; font-weight: 700; width: 40px; background: #fff; color: #000; border: 0; border-radius: 0; padding: 0; cursor: pointer; }
.mp-cart .mp-qty__btn:hover { background: #000; color: #fff; }
.mp-cart .mp-qty input.qty { width: 44px; border: 0; border-left: 2px solid #000; border-right: 2px solid #000; border-radius: 0; text-align: center; font-weight: 800; padding: 0; -moz-appearance: textfield; background: #fff; color: #000; }
.mp-cart .mp-qty input.qty::-webkit-outer-spin-button,
.mp-cart .mp-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* update button: only needed without JS */
.mp-cart td.actions { display: block; padding: 16px 0 0; text-align: left; }
.js .mp-cart td.actions { display: none; }
.mp-cart tr:not(.cart_item) { display: block; }

.mp-cart__back { align-self: flex-start; font-weight: 800; font-size: 15px; color: #000; text-decoration: none; border-bottom: 2px solid #000; }
.mp-cart__back:hover { text-decoration: none; }

/* summary */
.mp-cart .cart-collaterals { flex: 1 1 320px; max-width: 440px; width: 100%; position: sticky; top: 92px; border: 2px solid #000; float: none; }
.mp-cart .cart-collaterals .cart_totals { float: none; width: 100%; padding: 0; margin: 0; }
.mp-cart .cart_totals h2 { margin: 0; background: #000; color: #fff; padding: 12px 20px; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }
.mp-cart .cart_totals table.shop_table { border: 0; padding: 20px 20px 0; display: flex; flex-direction: column; gap: var(--sp-16); font-size: 16px; }
.mp-cart .cart_totals table.shop_table tbody { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-cart .cart_totals table.shop_table tr { display: flex; justify-content: space-between; gap: var(--sp-16); align-items: baseline; }
.mp-cart .cart_totals table.shop_table th,
.mp-cart .cart_totals table.shop_table td { display: block; padding: 0; border: 0; background: none; font-weight: 500; text-align: left; }
.mp-cart .cart_totals table.shop_table td { font-weight: 800; text-align: right; }
.mp-cart .cart_totals table.shop_table td::before { display: none; content: none; }
.mp-cart .cart_totals ul#shipping_method { list-style: none; margin: 0; padding: 0; text-align: right; }
.mp-cart .cart_totals tr.order-total { border-top: 2px solid #000; padding-top: 14px; }
.mp-cart .cart_totals tr.order-total th { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.mp-cart .cart_totals tr.order-total td { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 36px; line-height: 1; }
.mp-cart .cart_totals tr.order-total td small { font-family: 'Hanken Grotesk', sans-serif; font-size: 12px; display: block; font-weight: 500; }

.mp-coupon { padding: 20px 20px 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.mp-coupon label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.mp-coupon__row { display: flex; }
.mp-coupon input.input-text { flex: 1; min-width: 0; font-family: 'IBM Plex Mono', monospace; font-size: 15px; padding: 12px; border: 2px solid #000; border-right: 0; border-radius: 0; outline: 0; text-transform: uppercase; background: #fff; color: #000; }
.mp-coupon .button { font-weight: 800; font-size: 14px; text-transform: uppercase; padding: 0 16px; cursor: pointer; }
.mp-vat-note { margin: 12px 20px 0; font-size: 13px; color: #555; }
.mp-cart .wc-proceed-to-checkout { padding: 16px 20px 20px; }
.mp-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex; justify-content: space-between; margin: 0; padding: 17px 20px;
	font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em;
}

/* empty cart */
.mp-cart-empty { border: 2px solid #000; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: var(--sp-24); align-items: flex-start; font-family: 'Hanken Grotesk', system-ui, sans-serif; }
.mp-cart-empty__msg { font-size: 22px; font-weight: 800; }
.mp-btn { padding: 15px 26px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }

/* notices (coupon applied, item removed…) */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info { border: 2px solid #000; border-radius: 0; background: #fff; color: #000; font-weight: 700; }

/* cart: specificity fixes after first stage check */
.mp-cart table.shop_table tr.cart_item { display: flex; }
.mp-cart table.shop_table td.product-thumbnail { flex: 0 0 96px; width: 96px; }
.mp-cart table.shop_table td.product-name { display: flex; }
.mp-cart table.shop_table td.product-price { display: none; }
.woocommerce .mp-cart .wc-proceed-to-checkout a.checkout-button.button.alt { font-size: 16px; }
.mp-cart .cart_totals a.shipping-calculator-button { color: #000; }
.mp-cart .cart_totals table.shop_table td::before { display: none !important; }
.mp-cart tr.cart_item td.product-subtotal { text-align: right; }
.mp-cart .cart_totals table.shop_table tr.order-total td .includes_tax { font-size: 12px; font-weight: 500; font-family: 'Hanken Grotesk', sans-serif; }

/* cart: stepper uses GeneratePress' .minus / .plus buttons */
.mp-cart td.product-quantity .quantity { display: flex; border: 2px solid #000; height: 44px; margin: 0; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { display: grid; place-items: center; width: 40px; font-size: 18px; font-weight: 700; color: #000; background: #fff; border: 0; text-decoration: none; cursor: pointer; }
.mp-cart td.product-quantity .quantity .minus:hover,
.mp-cart td.product-quantity .quantity .plus:hover { background: #000; color: #fff; }
.mp-cart td.product-quantity .quantity input.qty { width: 44px; height: auto; border: 0; border-left: 2px solid #000; border-right: 2px solid #000; border-radius: 0; text-align: center; font-weight: 800; padding: 0; -moz-appearance: textfield; background: #fff; color: #000; }
.mp-cart td.product-quantity .quantity input.qty::-webkit-outer-spin-button,
.mp-cart td.product-quantity .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mp-cart table.shop_table td { background: none !important; }
.mp-cart .product-remove a.remove { width: auto !important; height: auto !important; border: 0; border-radius: 0; font-size: 13px; line-height: 1.4; text-align: left; }
.mp-cart table.shop_table td.product-name { flex: 1 1 160px; }

/* cart: round 3 */
.mp-cart table.shop_table td,
.mp-cart table.shop_table th { border: 0 !important; }
.mp-cart .product-remove a.remove { border: 0 !important; box-shadow: none; padding: 0; display: inline; }
.mp-cart .mp-label { display: block; line-height: 1.3; }
.mp-cart .mp-label a { line-height: 1.3; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { border: 0 !important; box-shadow: none; padding: 0; height: 100%; }
.mp-js .mp-cart td.actions { display: none; }
.mp-cart td.product-quantity,
.mp-cart td.product-subtotal { align-self: center; }

/* cart: round 4 */
.mp-cart table.shop_table tr.cart_item { border-bottom: 2px solid #000; }
.mp-cart .product-remove a.remove { text-decoration: underline; font-weight: 700; color: #000 !important; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; border-bottom: 0 !important; outline: 0; }
.mp-cart td.product-quantity .quantity::before,
.mp-cart td.product-quantity .quantity::after { display: none; }
@media (max-width: 599px) {
	.mp-cart table.shop_table td.product-subtotal { flex: 1 1 auto; }
	.mp-cart .cart-collaterals { position: static; max-width: none; }
}

/* cart: stepper alignment */
.mp-cart td.product-quantity .quantity { align-items: stretch; box-sizing: border-box; }
.mp-cart td.product-quantity .quantity input.qty { height: 100% !important; min-height: 0; margin: 0; box-sizing: border-box; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { width: 40px; margin: 0; line-height: 1; }
.mp-cart .woocommerce-cart-form { display: flex; flex-direction: column; gap: var(--sp-24); }

/* cart: page spacing (design: section padding) and no theme rule under the title */
.woocommerce-cart .entry-title { margin-bottom: 32px; }
.woocommerce-cart .entry-header { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* cart: round 5 (feedback) */
/* image frame */
.mp-cart table.shop_table td.product-thumbnail { border: 2px solid #000 !important; background: #fff !important; padding: 0; overflow: hidden; }
.mp-cart table.shop_table td.product-thumbnail a { display: block; width: 100%; height: 100%; }
.mp-cart table.shop_table td.product-thumbnail img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; }

/* stepper: square 40px cells */
.mp-cart td.product-quantity .quantity { display: flex !important; align-items: stretch; height: 44px; width: auto; border: 2px solid #000; background: #fff; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { display: grid !important; place-items: center; flex: 0 0 40px; width: 40px !important; height: 40px !important; min-width: 0; margin: 0; padding: 0; background: #fff !important; color: #000 !important; border: 0 !important; border-radius: 0; font-size: 18px; font-weight: 700; line-height: 1; text-decoration: none; transition: background .15s, color .15s; }
.mp-cart td.product-quantity .quantity .minus:hover,
.mp-cart td.product-quantity .quantity .plus:hover { background: #000 !important; color: #fff !important; }
.mp-cart td.product-quantity .quantity input.qty { flex: 0 0 36px; width: 36px !important; height: 40px !important; }

/* totals */
.mp-cart .cart_totals tr.mp-coupon-row { display: block; }
.mp-cart .cart_totals tr.mp-coupon-row td { display: block; width: 100%; text-align: left; font-weight: 500; }
.mp-coupon { padding: 6px 0 0; }
.mp-cart .cart_totals tr.order-total td .includes_tax { display: none; }
.mp-coupon input.input-text { height: auto; }
.mp-cart .mp-coupon__row { align-items: stretch; }
.mp-cart td.product-quantity .quantity .minus,
.mp-cart td.product-quantity .quantity .plus { min-height: 0 !important; max-height: 40px !important; height: 40px !important; box-sizing: border-box; align-self: center; line-height: 40px !important; }
.mp-cart td.product-quantity .quantity input.qty { min-height: 0 !important; box-sizing: border-box; border-top: 0 !important; border-bottom: 0 !important; }

/* cart: empty-state CTAs */
.mp-cart-empty__actions { display: flex; gap: var(--sp-12); flex-wrap: wrap; }

/* cart: mobile (WooCommerce's responsive table hides the thumbnail and right-aligns cells below 768px) */
@media (max-width: 768px) {
	.mp-cart { gap: var(--sp-32); }
	.mp-cart__main { flex: 1 1 100%; }
	.mp-cart table.shop_table tr.cart_item { gap: var(--sp-16) var(--sp-16); padding: 16px 0; align-items: flex-start; }
	.mp-cart table.shop_table td.product-thumbnail { display: block !important; flex: 0 0 88px; width: 88px; height: 88px; aspect-ratio: 1 / 1; }
	.mp-cart table.shop_table td.product-name { flex: 1 1 0; min-width: 0; width: auto; text-align: left !important; font-size: 18px; }
	.mp-cart table.shop_table td.product-quantity { flex: 0 0 auto; width: auto; padding: 0; text-align: left !important; align-self: center; }
	.mp-cart table.shop_table td.product-subtotal { flex: 1 1 auto; width: auto; padding: 0; text-align: right !important; align-self: center; }
	.mp-cart .cart-collaterals { flex: 1 1 100%; max-width: none; position: static; }
	.woocommerce-cart .entry-title { font-size: clamp(40px, 14vw, 64px); margin-bottom: 24px; }
	.mp-cart-empty { padding: 28px 20px; }
}
@media (max-width: 768px) {
	.mp-cart table.shop_table td.product-name { flex: 1 1 calc(100% - 104px); }
	.mp-cart table.shop_table td.product-quantity { margin-left: 0; }
}
@media (max-width: 768px) {
	.mp-cart .cart_totals table.shop_table th { flex: 0 0 auto; white-space: nowrap; }
	.mp-cart .cart_totals table.shop_table td { text-align: right !important; flex: 1 1 auto; }
	.mp-cart .cart_totals tr.mp-coupon-row td { text-align: left !important; }
	.mp-cart .cart_totals tr.mp-coupon-row label { display: block; text-align: left; }
	.mp-cart .cart_totals tr.order-total td { text-align: right !important; }
}

/* cart: empty state — same look as the KAVA / OPREMA tabs on the shop pages */
.mp-cart-empty { border: 0; padding: 0; gap: 0; display: block; max-width: none; }
.mp-cart-empty__msg { max-width: 36em; margin: 0 0 24px; font-size: 17px; line-height: 1.5; font-weight: 400; color: #000; }
.mp-cta-pair { display: inline-flex; flex-wrap: wrap; border: 2px solid #000; }
.mp-cta-pair a.mp-cta { display: flex; align-items: baseline; padding: 14px 28px; background: #fff; color: #000; font: 400 26px/1 'Anton', sans-serif; text-transform: uppercase; text-decoration: none; }
.mp-cta-pair a.mp-cta + a.mp-cta { border-left: 2px solid #000; }
.mp-cta-pair a.mp-cta:hover,
.mp-cta-pair a.mp-cta.is-active { background: #000; color: #fff; }
.mp-cta-pair a.mp-cta.is-active:hover { background: #fff; color: #000; }
@media (max-width: 767px) {
	.mp-cart-empty { padding: 0; }
	.mp-cta-pair a.mp-cta { padding: 12px 16px; font-size: 20px; }
}
.mp-cta-pair a.mp-cta { gap: var(--sp-8); }
.mp-cta-pair a.mp-cta small { font: 400 12px 'IBM Plex Mono', monospace; }


/* ==========================================================================
   Blagajna (checkout) — design: Mala Prazarna Blagajna.dc.html
   ========================================================================== */
.woocommerce-checkout .entry-title {
	font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase;
	font-size: clamp(48px, 7vw, 96px); line-height: .92; letter-spacing: .005em; margin: 0 0 32px;
}
.woocommerce-checkout .entry-header { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

.woocommerce-checkout .woocommerce { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-mono { font-family: 'IBM Plex Mono', monospace; }

/* notices + coupon toggle */
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error {
	border: 2px solid #000; border-radius: 0; background: #fff; color: #000; font-weight: 700; margin: 0 0 24px; padding: 14px 18px; list-style: none;
}
.woocommerce-checkout .woocommerce-info a,
.woocommerce-checkout .woocommerce-error a { color: #000; text-decoration: underline; }
.woocommerce-checkout .woocommerce-error li { margin: 0; }
.woocommerce-checkout form.checkout_coupon { border: 2px solid #000; border-radius: 0; padding: 18px 20px; margin: 0 0 24px; display: flex; gap: 0; flex-wrap: wrap; }
.woocommerce-checkout form.checkout_coupon p { margin: 0; float: none; width: auto; padding: 0; }
.woocommerce-checkout form.checkout_coupon p:first-child { width: 100%; margin-bottom: 12px; }
.woocommerce-checkout form.checkout_coupon .form-row-first { flex: 1; min-width: 0; }
.woocommerce-checkout form.checkout_coupon .form-row-last { flex: 0 0 auto; }
.woocommerce-checkout form.checkout_coupon input.input-text { font: 500 15px 'IBM Plex Mono', monospace; text-transform: uppercase; padding: 12px; border: 2px solid #000; border-right: 0; border-radius: 0; width: 100%; box-sizing: border-box; background: #fff; color: #000; height: 100%; }
.woocommerce-checkout form.checkout_coupon button.button { height: 100%; font-weight: 800; font-size: 14px; text-transform: uppercase; padding: 0 18px; }

/* layout */
.mp-co { display: flex; flex-wrap: wrap; gap: var(--sp-40) var(--page-top); align-items: flex-start; }
.mp-co__main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-40); float: none; width: auto; }
.mp-co__sec { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-co__head { display: flex; gap: var(--sp-16); align-items: baseline; border-bottom: 2px solid #000; padding-bottom: 10px; }
.mp-co__head span { font-size: 13px; }
.mp-co__head h2 { margin: 0; font: 400 30px/1 'Anton', sans-serif; text-transform: uppercase; }

/* fields */
.mp-co .form-row { margin: 0; padding: 0; float: none; width: auto; display: flex; flex-direction: column; gap: var(--sp-8); }
.mp-co .form-row label { font-size: 14px; font-weight: 800; margin: 0; line-height: 1.3; }
.mp-co .form-row label .optional { font-weight: 500; color: #555; }
.mp-co .form-row label .required { color: #000; text-decoration: none; border: 0; }
.mp-co .woocommerce-input-wrapper { display: block; width: 100%; }
.mp-co input.input-text,
.mp-co textarea,
.mp-co select,
.mp-co .select2-container--default .select2-selection--single {
	font: inherit; font-size: 16px; padding: 14px; border: 2px solid #000; border-radius: 0; background: #fff; color: #000;
	width: 100%; box-sizing: border-box; outline: none; box-shadow: none; height: auto; line-height: 1.3;
}
.mp-co .select2-container--default .select2-selection--single { padding: 0; height: 52px; display: flex; align-items: center; }
.mp-co .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0 14px; line-height: 1.3; color: #000; font-size: 16px; }
.mp-co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; right: 6px; }
.mp-co input.input-text:focus,
.mp-co textarea:focus,
.mp-co select:focus { outline: 3px solid #000; outline-offset: -6px; }
.mp-co input::placeholder,
.mp-co textarea::placeholder { color: #777; }
.mp-co textarea { resize: vertical; min-height: 84px; }
.mp-co .form-row.woocommerce-invalid input.input-text,
.mp-co .form-row.woocommerce-invalid select,
.mp-co .form-row.woocommerce-invalid .select2-selection { border: 2px solid #000; outline: 3px solid #000; outline-offset: -6px; }
.mp-co .form-row.woocommerce-validated input.input-text { border-color: #000; }
.mp-co__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-16); }
.mp-co__fields .form-row-wide { grid-column: 1 / -1; }
.mp-co .form-row.mp-hidden { display: none; }
.mp-co .form-row.validate-required > label .required::after { content: ''; }
.mp-co .woocommerce-form__label-for-checkbox,
.mp-co label.checkbox { display: flex; gap: var(--sp-12); align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.45; cursor: pointer; }
.mp-co input[type=checkbox] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #000; flex: 0 0 auto; }
.mp-co #billing_eu_vat_number_valid_vat_but_not_exempted_field { grid-column: 1 / -1; }
.mp-co .woocommerce-additional-fields { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-co .woocommerce-additional-fields h3 { display: none; }

/* selectable rows: shipping + payment */
.mp-shipping__list,
.mp-co ul.wc_payment_methods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 0; }
.mp-shipping__list li,
.mp-co ul.wc_payment_methods > li { margin: -2px 0 0; padding: 0; position: relative; list-style: none; border: 2px solid #000; background: #fff; color: #000; }
.mp-shipping__list li:first-child,
.mp-co ul.wc_payment_methods > li:first-child { margin-top: 0; }
.mp-shipping__list input[type=radio],
.mp-co ul.wc_payment_methods input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.mp-shipping__list label,
.mp-co ul.wc_payment_methods > li > label { display: flex; gap: var(--sp-16); align-items: center; padding: 16px; margin: 0; cursor: pointer; font-size: 16px; font-weight: 800; line-height: 1.3; }
.mp-shipping__label { flex: 1; font-weight: 800; }
.mp-shipping__price { white-space: nowrap; }
.mp-shipping__none { margin: 0; font-weight: 700; border: 2px solid #000; padding: 14px 16px; }
.mp-radio,
.mp-co ul.wc_payment_methods > li > label::before { content: ''; flex: 0 0 18px; width: 18px; height: 18px; box-sizing: border-box; border: 2px solid currentColor; background: radial-gradient(circle at center, transparent 0 0); display: block; }
.mp-co ul.wc_payment_methods > li > label img { margin-left: auto; max-height: 24px; width: auto; }
.mp-shipping__list li:has(input:checked),
.mp-co ul.wc_payment_methods > li:has(> input:checked) { background: #000; color: #fff; }
.mp-shipping__list li:has(input:checked) .mp-radio,
.mp-co ul.wc_payment_methods > li:has(> input:checked) > label::before { background: radial-gradient(circle at center, #fff 0 4px, transparent 4.5px); }
.mp-co ul.wc_payment_methods > li:has(> input:checked) > label::before { background: radial-gradient(circle at center, #fff 0 4px, transparent 4.5px); }
.mp-co ul.wc_payment_methods > li .payment_box { background: #fff; color: #000; border-top: 2px solid #000; margin: 0; padding: 16px; font-size: 14px; border-radius: 0; }
.mp-co ul.wc_payment_methods > li .payment_box::before { display: none; }
.mp-co ul.wc_payment_methods > li .payment_box p:last-child { margin-bottom: 0; }
.mp-co ul.wc_payment_methods > li.woocommerce-info,
.mp-co ul.wc_payment_methods > li.woocommerce-notice { background: #fff; color: #000; font-weight: 700; padding: 14px 16px; }
.mp-co ul.wc_payment_methods > li.woocommerce-info::before,
.mp-co ul.wc_payment_methods > li.woocommerce-notice::before { display: none; }
.mp-co #payment { background: none; border-radius: 0; }

/* summary box */
.mp-co__aside { flex: 1 1 320px; max-width: 440px; width: 100%; position: sticky; top: 92px; border: 2px solid #000; float: none; }
.mp-co__aside-head { background: #000; color: #fff; padding: 12px 20px; font: 400 22px/1.3 'Anton', sans-serif; text-transform: uppercase; letter-spacing: .02em; display: flex; justify-content: space-between; align-items: baseline; }
.mp-co__aside-head a { color: #fff; font: 700 13px 'Hanken Grotesk', sans-serif; text-transform: none; letter-spacing: 0; text-decoration: underline; }
.mp-co__aside-body { padding: 20px; display: flex; flex-direction: column; gap: var(--sp-16); font-size: 15px; }
.mp-co__aside #order_review { padding: 0; margin: 0; width: auto; float: none; }
.mp-co__lines { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-co__items { display: flex; flex-direction: column; gap: var(--sp-12); border-bottom: 2px solid #000; padding-bottom: 14px; }
.mp-co__item { display: flex; justify-content: space-between; gap: var(--sp-12); }
.mp-co__item-name { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.mp-co__item-name strong,
.mp-co__item-total { font-weight: 800; }
.mp-co__item-total { white-space: nowrap; }
.mp-co__item-name dl.variation { margin: 0; font-size: 13px; color: #555; display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.mp-co__item-name dl.variation dt { float: none; font-weight: 500; }
.mp-co__item-name dl.variation dd { margin: 0; }
.mp-co__item-name dl.variation p { margin: 0; }
.mp-co__row { display: flex; justify-content: space-between; gap: var(--sp-16); align-items: baseline; }
.mp-co__row strong { font-weight: 800; text-align: right; }
.mp-co__total { border-top: 2px solid #000; padding-top: 14px; }
.mp-co__total > span:first-child { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.mp-co__total-amount { font: 400 36px/1 'Anton', sans-serif; text-align: right; }
.mp-co__total-amount strong { font-weight: 400; }
.mp-co__total-amount small { display: none; }
.mp-co .mp-co__lines a.woocommerce-remove-coupon { color: #000; text-decoration: underline; font-size: 13px; }

/* terms + submit */
.mp-place-order { display: flex; flex-direction: column; gap: var(--sp-16); margin: 0; padding: 0; }
.mp-place-order .woocommerce-terms-and-conditions-wrapper { display: flex; flex-direction: column; gap: var(--sp-16); font-size: 14px; line-height: 1.45; }
.mp-place-order .woocommerce-privacy-policy-text p { margin: 0; font-size: 13px; color: #555; }
.mp-place-order .woocommerce-privacy-policy-text a,
.mp-place-order .woocommerce-terms-and-conditions-checkbox-text a { color: #000; text-decoration: underline; }
.mp-place-order .woocommerce-terms-and-conditions { border: 2px solid #000; padding: 12px; }
.mp-place-order .form-row { padding: 0; margin: 0; }
.mp-place-order__btn,
.woocommerce .mp-place-order button#place_order {
	display: flex; justify-content: space-between; align-items: baseline; width: 100%; margin: 0; padding: 17px 20px;
	font: 800 16px 'Hanken Grotesk', sans-serif; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.mp-place-order__total small, .mp-place-order__total .includes_tax { display: none; }

@media (max-width: 768px) {
	.mp-co { gap: var(--sp-32); }
	.mp-co__main { flex: 1 1 100%; gap: var(--sp-32); }
	.mp-co__aside { flex: 1 1 100%; max-width: none; position: static; }
	.mp-co__fields { grid-template-columns: 1fr; }
	.mp-co__fields .form-row-first,
	.mp-co__fields .form-row-last { grid-column: 1 / -1; }
	.woocommerce-checkout .entry-title { font-size: clamp(40px, 14vw, 64px); margin-bottom: 24px; }
}
.mp-co::before, .mp-co::after { display: none; }
.woocommerce .mp-co .form-row.form-row-first,
.woocommerce .mp-co .form-row.form-row-last,
.woocommerce .mp-co .form-row.form-row-wide { width: auto; float: none; }
.woocommerce form.checkout.mp-co::before,
.woocommerce form.checkout.mp-co::after,
.woocommerce-page form.checkout.mp-co::before,
.woocommerce-page form.checkout.mp-co::after { display: none !important; content: none !important; }
.mp-co__fields #billing_postcode_field { grid-column: 1 / 2; }
.mp-co__fields #billing_city_field { grid-column: 2 / 3; }
@media (max-width: 768px) {
	.mp-co__fields #billing_postcode_field,
	.mp-co__fields #billing_city_field { grid-column: 1 / -1; }
}
.woocommerce form.mp-co .form-row { padding: 0; margin: 0; }
.mp-radio,
.mp-co ul.wc_payment_methods > li > label::before { border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.mp-shipping__list li:has(input:checked) .mp-radio,
.mp-co ul.wc_payment_methods > li:has(> input:checked) > label::before { background: #fff !important; box-shadow: inset 0 0 0 3px #000 !important; }
.mp-co ul.wc_payment_methods > li { background: #fff !important; color: #000; }
.mp-co ul.wc_payment_methods > li:has(> input:checked) { background: #000 !important; color: #fff; }
.mp-co ul.wc_payment_methods > li .payment_box { background: #fff !important; color: #000 !important; }
.mp-co ul.wc_payment_methods > li .payment_box * { color: #000; }
.mp-co ul.wc_payment_methods > li > label { display: flex !important; }
.mp-co ul.wc_payment_methods > li > label .about_paypal { display: none; }
.mp-co ul.wc_payment_methods > li > label { background: transparent !important; }
.mp-co ul.wc_payment_methods > li .payment_box { margin: 0 !important; }

/* Blagajna: order received */
.woocommerce-order-received .entry-title { display: none; }
.woocommerce-order-received .woocommerce { font-family: 'Hanken Grotesk', system-ui, sans-serif; color: #000; }
.woocommerce-order-received .entry-header { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.mp-thanks__hero { max-width: 880px; display: flex; flex-direction: column; gap: var(--sp-24); padding: 0; }
.mp-thanks__no { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.mp-thanks__title { margin: 0; font: 400 clamp(48px, 8vw, 112px)/.92 'Anton', sans-serif; text-transform: uppercase; letter-spacing: .005em; }
.mp-thanks__text { margin: 0; font-size: 19px; line-height: 1.6; max-width: 32em; }
.mp-thanks__text strong { font-weight: 800; }
.mp-thanks__actions { display: flex; gap: var(--sp-12); flex-wrap: wrap; }
.mp-thanks .woocommerce-order-details,
.mp-thanks .woocommerce-customer-details { margin-top: 32px; }
.mp-thanks h2.woocommerce-order-details__title,
.mp-thanks h2.woocommerce-column__title { font: 400 30px/1 'Anton', sans-serif; text-transform: uppercase; border-bottom: 2px solid #000; padding-bottom: 10px; }
.mp-thanks table.shop_table { border: 2px solid #000; border-radius: 0; border-collapse: collapse; }
.mp-thanks table.shop_table th,
.mp-thanks table.shop_table td { border: 0; border-bottom: 2px solid #000; background: none; }
.mp-thanks a { color: #000; }
.mp-thanks address { border: 2px solid #000; border-radius: 0; padding: 16px; }

/* ---- Blagajna round 2: design update (coupon in summary, newsletter in contact), real field styling ---- */
.woocommerce form.mp-co .form-row input.input-text,
.woocommerce form.mp-co .form-row input[type=text],
.woocommerce form.mp-co .form-row input[type=email],
.woocommerce form.mp-co .form-row input[type=tel],
.woocommerce form.mp-co .form-row textarea,
.woocommerce form.mp-co .form-row select,
.woocommerce form.mp-co .select2-container .select2-selection--single {
	border: 2px solid #000 !important; border-radius: 0 !important; background: #fff !important; color: #000;
	font: 500 16px/1.3 'Hanken Grotesk', system-ui, sans-serif; padding: 14px !important; box-shadow: none !important; height: auto; min-height: 0;
}
.woocommerce form.mp-co .select2-container .select2-selection--single { padding: 0 !important; height: 52px; }
.woocommerce form.mp-co .form-row select { appearance: none; -webkit-appearance: none; padding-right: 44px !important;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center !important; }
.woocommerce form.mp-co .form-row input:focus,
.woocommerce form.mp-co .form-row textarea:focus,
.woocommerce form.mp-co .form-row select:focus { outline: 3px solid #000 !important; outline-offset: -6px; border-color: #000 !important; }
.woocommerce form.mp-co .form-row label { font: 800 14px/1.3 'Hanken Grotesk', system-ui, sans-serif; color: #000; }
.woocommerce form.mp-co .form-row label abbr.required { color: #000; text-decoration: none; border: 0; }
.woocommerce form.mp-co .form-row.woocommerce-invalid input.input-text,
.woocommerce form.mp-co .form-row.woocommerce-invalid select { outline: 3px solid #000 !important; outline-offset: -6px; }
.woocommerce form.mp-co .form-row .optional { font-weight: 500; color: #555; }

/* checkboxes: black, square, 18px like the design */
.woocommerce form.mp-co input[type=checkbox],
.woocommerce form.mp-co input[type=checkbox].input-checkbox {
	appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0 !important; padding: 0;
	border: 2px solid #000; border-radius: 0; background: #fff; display: inline-grid; place-content: center; cursor: pointer;
}
.woocommerce form.mp-co input[type=checkbox]::before { content: ''; width: 8px; height: 8px; background: #000; transform: scale(0); }
.woocommerce form.mp-co input[type=checkbox]:checked::before { transform: scale(1); }
.woocommerce form.mp-co input[type=checkbox]:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.woocommerce form.mp-co label.checkbox,
.woocommerce form.mp-co .woocommerce-form__label-for-checkbox { display: flex !important; flex-direction: row; gap: var(--sp-12); align-items: flex-start; font: 500 14px/1.45 'Hanken Grotesk', sans-serif; }
.woocommerce form.mp-co .woocommerce-form__label-for-checkbox span { font-weight: 500; }
.woocommerce form.mp-co .woocommerce-form__label-for-checkbox .required { display: none; }

/* shipping row: name + description */
.mp-shipping__text { flex: 1; display: flex; flex-direction: column; gap: var(--sp-4); }
.mp-shipping__sub { font-size: 14px; font-weight: 500; }

/* coupon in summary */
.mp-co-coupon { display: flex; flex-direction: column; gap: var(--sp-8); border-top: 2px solid #000; padding-top: 14px; }
.mp-co-coupon > label { font: 800 14px 'Hanken Grotesk', sans-serif; margin: 0; }
.mp-co-coupon__row { display: flex; gap: var(--sp-8); }
.woocommerce form.mp-co input.mp-co-coupon__input { flex: 1; min-width: 0; width: auto; padding: 12px !important; text-transform: uppercase; font: 500 16px 'Hanken Grotesk', sans-serif; border: 2px solid #000 !important; border-radius: 0 !important; background: #fff !important; color: #000; box-shadow: none !important; }
.woocommerce form.mp-co button.mp-co-coupon__btn { font: 800 14px 'Hanken Grotesk', sans-serif; text-transform: uppercase; letter-spacing: .04em; padding: 0 16px; cursor: pointer; }
.mp-co-coupon.is-busy { opacity: .6; pointer-events: none; }
.mp-co-coupon__err { font-size: 13px; font-weight: 700; }
.mp-co-coupon__err:empty { display: none; }
.mp-co__total { margin-top: 0; }

/* payment box placeholder/notices inside form */
.woocommerce form.mp-co .woocommerce-privacy-policy-text { font-size: 13px; color: #555; }
.woocommerce form.mp-co .woocommerce-form__label-for-checkbox .optional,
.woocommerce form.mp-co label.checkbox .optional,
.woocommerce form.mp-co #ws_opt_in_field .optional { display: none; }

/* payment radios: style the real input as the square indicator (no pseudo-element) */
.mp-co ul.wc_payment_methods > li > label::before { display: none !important; content: none !important; }
.woocommerce form.mp-co ul.wc_payment_methods > li > input[type=radio] {
	appearance: none; -webkit-appearance: none; position: absolute; opacity: 1; pointer-events: auto; cursor: pointer;
	left: 16px; top: 17px; width: 18px; height: 18px; margin: 0; padding: 0; box-sizing: border-box;
	border: 2px solid currentColor; border-radius: 0; background: transparent; box-shadow: none; z-index: 1;
}
.woocommerce form.mp-co ul.wc_payment_methods > li > input[type=radio]::before,
.woocommerce form.mp-co ul.wc_payment_methods > li > input[type=radio]::after { display: none; content: none; }
.woocommerce form.mp-co ul.wc_payment_methods > li > input[type=radio]:checked { background: #fff; box-shadow: inset 0 0 0 3px #000; border-color: #fff; }
.woocommerce form.mp-co ul.wc_payment_methods > li > label { padding-left: 48px !important; min-height: 52px; align-items: center; }
.woocommerce form.mp-co ul.wc_payment_methods > li .payment_box { border-radius: 0 !important; }
.woocommerce form.mp-co ul.wc_payment_methods > li > input[type=radio] { clip: auto !important; clip-path: none !important; overflow: visible; }
.woocommerce form.mp-co ul.wc_payment_methods > li,
.woocommerce form.mp-co .mp-shipping__list li { margin: -2px 0 0 !important; }
.woocommerce form.mp-co ul.wc_payment_methods > li:first-child,
.woocommerce form.mp-co .mp-shipping__list li:first-child { margin-top: 0 !important; }


/* ==========================================================================
   Izdelek (single product) — design: Mala Prazarna Product.dc.html
   ========================================================================== */
/* Side padding is owned by the product page (design: clamp(16px,4vw,40px)); GeneratePress' own
   mobile padding is lopsided (20px / 30px), so neutralise it and pad the article symmetrically. */
.single-product .site-content { padding-left: 0 !important; padding-right: 0 !important; }
.single-product .site-main,
.single-product .content-area { margin-left: 0 !important; margin-right: 0 !important; }
.single-product .inside-article { padding: 0 var(--gutter); }
.single-product .site-main > .woocommerce-notices-wrapper { margin-bottom: 16px; }

.mp-product { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; padding-top: 24px; }
.mp-product .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-product .mp-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mp-product a { color: #000; }

.mp-crumbs { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-bottom: 24px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mp-crumbs a { color: #555; text-decoration: none; }
.mp-crumbs a:hover { text-decoration: underline; }
.mp-crumbs__current { color: #000; }

.mp-product__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: var(--section-gap); align-items: start; padding-bottom: var(--section-y); }

/* gallery */
.mp-gallery { display: flex; flex-direction: column; gap: var(--sp-12); min-width: 0; }
.mp-gallery__main { position: relative; aspect-ratio: 1/1; border: 2px solid #000; overflow: hidden; background: #fff; }
.mp-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-gallery__main .onsale { position: absolute; top: 12px; left: 12px; right: auto; z-index: 1; margin: 0; min-height: 0; min-width: 0; line-height: 1.4; border-radius: 0; background: #000; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; }
.mp-gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-8); }
.mp-gallery__thumb { padding: 0; aspect-ratio: 1/1; border: 2px solid #ddd; border-radius: 0; background: #fff; cursor: pointer; overflow: hidden; opacity: .7; }
.mp-gallery__thumb:hover { opacity: 1; background: #fff; }
.mp-gallery__thumb.is-active { border-color: #000; opacity: 1; }
.mp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* buy box */
.mp-buy { display: flex; flex-direction: column; gap: var(--sp-24); min-width: 0; }
/* side-by-side layout: whichever column is shorter follows the scroll until the row ends */
@media (min-width: 1024px) {
	.mp-gallery, .mp-buy { position: sticky; top: 92px; }
}
.mp-buy__head { display: flex; flex-direction: column; gap: var(--sp-12); }
.mp-buy__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 6vw, 84px); line-height: .95; letter-spacing: .005em; }
.mp-buy__title.is-long { font-size: clamp(36px, 4.2vw, 56px); line-height: 1; }
.mp-buy__notes { font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.3; }
.mp-buy__short { font-size: 17px; line-height: 1.55; color: #333; max-width: 32em; }
.mp-buy__short p { margin: 0 0 .6em; }
.mp-buy__short p:last-child { margin: 0; }
.mp-buy__short a { text-decoration: underline; }

/* add to cart form */
.woocommerce div.product .mp-buy__form form.cart,
.mp-buy__form form.cart { margin: 0 !important; display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-buy__form .variations_form { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-buy__form table.variations,
.mp-buy__form table.variations tbody,
.mp-buy__form table.variations tr,
.mp-buy__form table.variations td,
.mp-buy__form table.variations th { display: block; border: 0; padding: 0; margin: 0; background: none; width: 100%; }
.woocommerce div.product .mp-buy__form table.variations { border-top: 2px solid #000; padding-top: 20px; margin: 0 !important; }
.mp-buy__form table.variations th.label { display: none; }
.mp-buy__form table.variations select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mp-buy__form .reset_variations { display: none !important; }
.mp-pills__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mp-pills__head .mp-mono { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.mp-pills__guide { font-size: 13px; font-weight: 700; border-bottom: 2px solid #000; text-decoration: none; }
.mp-pills { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.mp-pill { font-family: inherit; font: inherit; font-size: 14px; font-weight: 700; padding: 10px 14px; border: 2px solid #000; border-radius: 0; background: #fff; color: #000; cursor: pointer; }
.mp-pill:hover { background: #eee; color: #000; }
.mp-pill.is-active, .mp-pill.is-active:hover { background: #000; color: #fff; }

.mp-buy__form .single_variation_wrap { display: flex; flex-direction: column; gap: var(--sp-12); }
.mp-buy__form .woocommerce-variation-price,
.mp-buy__form .woocommerce-variation-description { display: none; }
.mp-buy__form .woocommerce-variation-availability { font-size: 14px; font-weight: 700; }
.mp-buy__form .woocommerce-variation-add-to-cart,
.woocommerce div.product .mp-buy__form form.cart:not(.variations_form),
.mp-buy__form form.cart:not(.variations_form) { display: flex; flex-direction: row; gap: var(--sp-12); align-items: stretch; flex-wrap: wrap; }
.mp-buy__form form.cart, .mp-buy__form .woocommerce-variation-add-to-cart { justify-content: flex-start; text-align: left; }
.woocommerce div.product .mp-buy__form .quantity { margin: 0 !important; }
/* clearfix pseudo-elements would become empty flex items (extra gap) */
.mp-buy__form form.cart::before, .mp-buy__form form.cart::after,
.mp-buy__form .woocommerce-variation-add-to-cart::before, .mp-buy__form .woocommerce-variation-add-to-cart::after { display: none !important; content: none !important; }
.mp-buy__form .quantity { display: flex; align-items: stretch; margin: 0; border: 2px solid #000; }
.mp-buy__form .quantity .minus,
.mp-buy__form .quantity .plus { display: grid; place-items: center; width: 48px; font-size: 20px; font-weight: 700; color: #000; background: #fff; text-decoration: none; cursor: pointer; margin: 0; border: 0; }
.mp-buy__form .quantity .minus:hover,
.mp-buy__form .quantity .plus:hover { background: #000; color: #fff; }
.mp-buy__form .quantity .minus { font-size: 0; }
.mp-buy__form .quantity .minus::before { content: '\2013'; font-size: 20px; }
.mp-buy__form .quantity input.qty { font-family: inherit; width: 52px; min-height: 0; height: auto; margin: 0; padding: 0; border: 0; border-left: 2px solid #000; border-right: 2px solid #000; border-radius: 0; text-align: center; font-size: 17px; font-weight: 800; background: #fff; color: #000; -moz-appearance: textfield; }
.mp-buy__form .quantity input.qty::-webkit-outer-spin-button,
.mp-buy__form .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mp-buy__form .single_add_to_cart_button.button.alt { font-family: inherit; flex: 1; min-width: 220px; display: flex !important; justify-content: space-between; gap: var(--sp-16); margin: 0; padding: 17px 24px; font-size: 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; line-height: 1.4; cursor: pointer; }
.mp-buy__form .single_add_to_cart_button.button.alt.disabled,
.mp-buy__form .single_add_to_cart_button.button.alt:disabled { opacity: .35; cursor: not-allowed; }
.mp-buy__form .woocommerce-variation { display: contents; } /* wrapper must not become a flex item (its fill-in on selection caused a 12px jump) */
.mp-buy__form .woocommerce-variation-availability:empty,
.mp-buy__form .reset_variations_alert { display: none; }

/* free shipping bar */
.mp-ship { display: flex; flex-direction: column; gap: var(--sp-8); }
.mp-ship__msg { font-size: 14px; font-weight: 700; }
.mp-ship__bar { height: 8px; border: 2px solid #000; background: #fff; }
.mp-ship__bar > div { height: 100%; background: #000; width: 0; }

/* quick facts */
.mp-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid #000; }
.mp-facts__item { display: flex; flex-direction: column; gap: var(--sp-4); padding: 12px 12px 12px 0; border-bottom: 2px solid #000; }
.mp-facts__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mp-facts dt { font-size: 11px; letter-spacing: .06em; }
.mp-facts dd { margin: 0; font-size: 15px; font-weight: 700; }

/* full-bleed dividers above the description and related sections */
.mp-story::before, .mp-related::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; margin-left: -50vw; border-top: 2px solid #000; }
.single-product { overflow-x: clip; } /* 100vw includes the scrollbar; clip (not hidden) keeps sticky working */

/* description columns */
.mp-story { position: relative; padding: var(--section-y) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--section-gap); }
.mp-story__col { display: flex; flex-direction: column; gap: var(--sp-16); min-width: 0; }
.mp-story__title, .mp-related__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); letter-spacing: .005em; line-height: .98; }
.mp-story__body { font-size: 17px; line-height: 1.65; color: #333; max-width: 36em; text-wrap: pretty; }
.mp-story__body p { margin: 0 0 1em; }
.mp-story__body p:last-child { margin-bottom: 0; }
.mp-story__body a { text-decoration: underline; }
.mp-story__body h2, .mp-story__body h3 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: 1; margin: 1.4em 0 .5em; color: #000; }
.mp-story__body h2 { font-size: 28px; }
.mp-story__body h3 { font-size: 22px; }

/* related */
.mp-related { position: relative; padding: var(--section-y) 0; }
.mp-related__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-24); flex-wrap: wrap; margin-bottom: 40px; }
.mp-related__title { font-size: clamp(36px, 4.5vw, 56px); }
.mp-related__all { font-weight: 700; font-size: 15px; border-bottom: 2px solid currentColor; padding-bottom: 2px; text-decoration: none; }
.mp-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-40) var(--sp-24); }
.mp-card { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-card__img { position: relative; display: block; aspect-ratio: 1/1; border: 2px solid #000; background: #fff; overflow: hidden; }
.mp-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-card__badge { position: absolute; top: 12px; left: 12px; background: #000; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; }
.mp-card__body { display: flex; flex-direction: column; gap: var(--sp-8); }
.mp-card__name { font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; }
.mp-card__name:hover { text-decoration: underline; }
.mp-card__notes { font-size: 15px; }
.mp-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-12); padding-top: 12px; border-top: 2px solid #000; }
.mp-card__price { font-size: 17px; font-weight: 700; }
.mp-card__btn, .mp-product a.mp-card__btn { font-size: 14px; font-weight: 700; padding: 9px 18px; }



/* ==========================================================================
   Vodnik (post archive) — design: Mala Prazarna Vodnik.dc.html
   Template: page-vodnik.php
   ========================================================================== */

.mp-vodnik { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-vodnik .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-vodnik a { color: #000; text-decoration: none; }
.mp-vodnik__head,
.mp-vodnik__featured,
.mp-vodnik__list { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.mp-vodnik__head { padding-top: var(--page-top); display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-vodnik .mp-crumbs { margin: 0; }
.mp-vodnik .mp-crumbs a { color: #555; }
.mp-vodnik .mp-crumbs a:hover { text-decoration: underline; }
.mp-vodnik__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: .005em; }
.mp-vodnik__lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: #333; max-width: 40em; text-wrap: pretty; }

/* featured */
.mp-vodnik__featured { padding-top: var(--page-top); }
.mp-feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); border: 2px solid #000; }
.mp-vodnik a.mp-feat:hover { text-decoration: none; }
/* stretch to the full card height; the ::before keeps a 3:2 minimum (e.g. when the card stacks on mobile) */
.mp-feat__img::before { content: ''; display: block; padding-top: 66.667%; }
.mp-feat__img { position: relative; align-self: stretch; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); border-right: 2px solid #000; overflow: hidden; }
.mp-feat__img img, .mp-row__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-vodnik__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #555; }
.mp-feat__body { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-24); padding: clamp(24px, 3vw, 40px); }
.mp-vodnik__meta { display: flex; flex-wrap: wrap; gap: var(--sp-12); align-items: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.mp-vodnik__tag { background: #000; color: #fff; padding: 3px 8px; }
.mp-vodnik__date { color: #555; }
.mp-feat__text { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-feat__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 52px); line-height: .98; letter-spacing: .005em; text-wrap: balance; }
.mp-feat__ex { margin: 0; font-size: 17px; line-height: 1.55; color: #333; max-width: 32em; }
.mp-feat__cta { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }

/* list */
.mp-vodnik__list { padding-top: var(--section-y-sm); padding-bottom: var(--section-y); }
.mp-filters { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding-bottom: 16px; border-bottom: 2px solid #000; }
.mp-vodnik a.mp-filter { display: flex; gap: var(--sp-8); align-items: baseline; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 8px 14px; border: 2px solid #000; background: #fff; color: #000; }
.mp-vodnik a.mp-filter:hover { background: #eee; text-decoration: none; }
.mp-vodnik a.mp-filter.is-active, .mp-vodnik a.mp-filter.is-active:hover { background: #000; color: #fff; }
.mp-filter .mp-mono { font-size: 11px; }
.mp-posts { display: flex; flex-direction: column; }
.mp-vodnik a.mp-row { display: flex; flex-wrap: wrap; gap: var(--sp-16) var(--sp-32); align-items: center; padding: 24px 0; border-bottom: 2px solid #000; }
.mp-vodnik a.mp-row:hover { background: #f4f4f4; text-decoration: none; }
.mp-row__meta { flex: 0 0 120px; display: flex; flex-direction: column; gap: var(--sp-4); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.mp-row__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: var(--sp-8); min-width: 0; }
.mp-row__title { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.mp-row__ex { font-size: 15px; line-height: 1.55; color: #333; max-width: 46em; }
.mp-row__img { position: relative; flex: 0 0 160px; aspect-ratio: 3/2; border: 2px solid #000; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); overflow: hidden; }

.mp-pager { display: flex; flex-wrap: wrap; gap: var(--sp-8); margin-top: 32px; }
.mp-pager .page-numbers { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 8px 14px; border: 2px solid #000; background: #fff; color: #000; }
.mp-pager a.page-numbers:hover { background: #eee; }
.mp-pager .page-numbers.current { background: #000; color: #fff; }

/* shop CTA band (full bleed) */
/* the page sits in GeneratePress' 1200px container, so the black band is painted full-bleed with a pseudo-element */
.mp-vodnik__cta { position: relative; color: #fff; }
.mp-vodnik__cta::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: #000; }
.mp-vodnik__cta-in { position: relative; }
.mp-vodnik__cta-in { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y-sm) var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-24); flex-wrap: wrap; }
.mp-vodnik__cta h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; color: #fff; font-size: clamp(32px, 4.5vw, 56px); line-height: .98; letter-spacing: .005em; }
.mp-vodnik .mp-vodnik__cta a { padding: 15px 26px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }


/* ==========================================================================
   Članek (single post) — design: Mala Prazarna Clanek.dc.html
   Template: single.php
   ========================================================================== */

.mp-article { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-article .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-article a { color: #000; text-decoration: none; }
.mp-article a:hover { text-decoration: underline; }
.mp-article .mp-crumbs { display: flex; gap: var(--sp-8); flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #555; margin: 0; }
.mp-article .mp-crumbs a { color: #555; }
.mp-article .mp-crumbs__current { color: #000; }

.mp-article__head,
.mp-article__hero,
.mp-article__body { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.mp-article__head { padding-top: var(--page-top); display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-article__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6.5vw, 96px); line-height: .95; letter-spacing: .005em; max-width: 15ch; text-wrap: balance; }
.mp-article__meta { display: flex; gap: var(--sp-12) var(--sp-24); flex-wrap: wrap; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; border-top: 2px solid #000; border-bottom: 2px solid #000; padding: 12px 0; }
.mp-article__meta span + span { color: #555; }

.mp-article__hero { padding-top: var(--page-top); }
.mp-article__hero-in { position: relative; aspect-ratio: 16 / 9; border: 2px solid #000; overflow: hidden; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); }
.mp-article__hero-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.mp-article__body { padding-top: var(--section-y-sm); padding-bottom: var(--section-y); display: flex; flex-wrap: wrap-reverse; gap: var(--sp-48) var(--section-gap-lg); align-items: flex-end; } /* wrap-reverse flips the cross axis: flex-end = top */
.mp-article__content { flex: 1 1 560px; min-width: 0; max-width: 720px; font-size: 18px; line-height: 1.7; color: #1a1a1a; }
.mp-article__content > * { margin-top: 0; margin-bottom: 22px; }
.mp-article__content > :last-child { margin-bottom: 0; }
.mp-article__content p { margin-bottom: 22px; }
.mp-article__content > p:first-child { font-size: clamp(20px, 2vw, 23px); line-height: 1.55; font-weight: 600; color: #000; text-wrap: pretty; }
.mp-article__content strong { font-weight: 800; }
.mp-article__content a { border-bottom: 2px solid #000; }
.mp-article__content a:hover { text-decoration: none; background: #eee; }
.mp-article__content h2,
.mp-article__content h3 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; color: #000; line-height: 1; letter-spacing: .005em; }
.mp-article__content h2 { font-size: clamp(28px, 3vw, 38px); margin: 40px 0 22px; }
.mp-article__content h3 { font-size: clamp(22px, 2.2vw, 28px); margin: 32px 0 14px; }
.mp-article__content > h2:first-child { margin-top: 0; }

/* lists as ruled rows, like the design's tables */
.mp-article__content ul,
.mp-article__content ol { list-style: none; padding: 0; margin: 0 0 22px; border-top: 2px solid #000; font-size: 16px; line-height: 1.5; }
.mp-article__content ol { counter-reset: mp-li; }
.mp-article__content li { padding: 12px 0; border-bottom: 2px solid #000; margin: 0; }
.mp-article__content ol li { counter-increment: mp-li; display: flex; gap: var(--sp-16); }
.mp-article__content ol li::before { content: counter(mp-li, decimal-leading-zero); font-family: 'Anton', sans-serif; font-size: 20px; line-height: 1.2; }

.mp-article__content blockquote { margin: 0 0 22px; border: 2px solid #000; padding: 16px 20px; font-size: 16px; line-height: 1.6; }
.mp-article__content blockquote p { margin: 0; }
.mp-article__content figure { margin: 0 0 22px; }
.mp-article__content img { max-width: 100%; height: auto; }
.mp-article__content table { width: 100%; border-collapse: collapse; font-size: 16px; border-top: 2px solid #000; }
.mp-article__content th, .mp-article__content td { text-align: left; padding: 12px 8px 12px 0; border: 0; border-bottom: 2px solid #000; }

/* sidebar */
.mp-article__side { flex: 1 1 300px; max-width: 400px; position: sticky; top: 92px; display: flex; flex-direction: column; gap: var(--sp-16); }
/* stacked layout (sidebar wraps above the text): don't stick, it would cover the content */
@media (max-width: 1040px) { .mp-article__side { position: static; max-width: none; flex-basis: 100%; } }
.mp-card { border: 2px solid #000; }
.mp-card__head { background: #000; color: #fff; padding: 12px 16px; font-family: 'Anton', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.mp-card__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-card__cell { padding: 14px 16px; border-bottom: 2px solid #000; display: flex; flex-direction: column; gap: var(--sp-4); }
.mp-card__cell:nth-child(odd) { border-right: 2px solid #000; }
.mp-card__cell:nth-last-child(-n+2):nth-child(odd):nth-last-child(2),
.mp-card__cell:last-child { border-bottom: 0; }
.mp-card__cell:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
.mp-card__cell .mp-mono { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.mp-card__cell strong { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 26px; line-height: 1.1; }
.mp-article a.mp-side-btn { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-12); padding: 14px 16px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }

/* prev / next — the top rule is painted full-bleed (container is 1200px) */
.mp-article__nav::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; margin-left: -50vw; border-top: 2px solid #000; }
.mp-article__nav { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.mp-article__nav-item { display: flex; flex-direction: column; gap: var(--sp-12); padding: clamp(28px, 4vw, 48px) var(--gutter); }
.mp-article__nav-item .mp-mono { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.mp-article__nav-item strong { font-size: clamp(20px, 2vw, 26px); font-weight: 800; line-height: 1.2; }
.mp-article__nav-item--next { border-left: 2px solid #000; text-align: right; }
@media (max-width: 700px) { .mp-article__nav-item--next { border-left: 0; border-top: 2px solid #000; } }


/* ==========================================================================
   O nas (about) — design: Mala Prazarna O nas.dc.html
   Template: page-o-nas.php
   ========================================================================== */

.mp-onas { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-onas .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-onas a { text-decoration: none; }
.mp-onas p { margin: 0; }
.mp-onas ul { list-style: none; margin: 0; padding: 0; }
.mp-onas .mp-crumbs { margin: 0; }
.mp-onas .mp-crumbs a { color: #555; }
.mp-onas .mp-crumbs a:hover { text-decoration: underline; }

.mp-onas__intro, .mp-onas__hero, .mp-onas__sec { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mp-onas__intro { padding-top: var(--page-top); display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-onas__title { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(56px, 9vw, 132px); line-height: .92; letter-spacing: .005em; }
.mp-onas__lead { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; font-weight: 700; max-width: 30em; text-wrap: pretty; }

.mp-onas__hero { padding-top: var(--page-top); }
.mp-onas__ph { position: relative; aspect-ratio: 3/2; max-height: 720px; width: 100%; border: 2px solid #000; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); overflow: hidden; }
.mp-onas__ph img, .mp-onas__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.mp-onas__sec { padding-top: var(--section-y); }
.mp-onas__sec--last { padding-bottom: var(--section-y); }
.mp-onas__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: var(--sp-24) var(--section-gap-lg); border-top: 2px solid #000; padding-top: 24px; }
.mp-onas__grid--top { align-items: start; gap: var(--sp-32) var(--section-gap-lg); }
.mp-onas__side { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-onas__h { display: flex; gap: var(--sp-16); align-items: baseline; }
.mp-onas__h .mp-mono { font-size: 13px; }
.mp-onas__h h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; color: #000; font-size: clamp(32px, 4vw, 52px); line-height: .98; letter-spacing: .005em; }
.mp-onas__copy { display: flex; flex-direction: column; gap: var(--sp-24); font-size: 18px; line-height: 1.65; color: #1a1a1a; }
.mp-onas__copy-p { font-size: 18px; line-height: 1.65; color: #1a1a1a; }
.mp-onas strong { font-weight: 800; }

.mp-onas__partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 2px solid #000; border-left: 2px solid #000; }
.mp-onas__partners li { padding: 16px; border-right: 2px solid #000; border-bottom: 2px solid #000; font-weight: 800; font-size: 16px; line-height: 1.65; }

.mp-onas__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border: 2px solid #000; }
.mp-onas__step { padding: 24px; display: flex; flex-direction: column; gap: var(--sp-12); }
.mp-onas__step:first-child { border-right: 2px solid #000; }
.mp-onas__step p { font-size: 16px; line-height: 1.6; }
.mp-onas__step--dark { background: #000; color: #fff; }
.mp-onas__label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #555; }
.mp-onas__step--dark .mp-onas__label { color: #bbb; }
.mp-onas__machine { font-family: 'Anton', sans-serif; font-size: 36px; text-transform: uppercase; line-height: 1; }

.mp-onas__awards { border-top: 2px solid #000; align-self: start; }
.mp-onas__awards li { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--sp-16); align-items: baseline; padding: 16px 0; border-bottom: 2px solid #000; }
.mp-onas__year { font-size: 13px; color: #555; }
.mp-onas__award { font-size: 18px; font-weight: 800; }
.mp-onas__place { font-family: 'Anton', sans-serif; font-size: 28px; line-height: 1; }

.mp-onas__portrait { position: relative; aspect-ratio: 4/5; border: 2px solid #000; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); overflow: hidden; }
.mp-onas__portrait img { object-position: center top; }

/* black band, full bleed (the page sits in GeneratePress' container) */
.mp-onas__visit { position: relative; color: #fff; }
.mp-onas__visit::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: #000; }
.mp-onas__visit-in { position: relative; max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: var(--sp-32) var(--section-gap-lg); align-items: end; }
.mp-onas__visit-head { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-onas__kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #bbb; }
.mp-onas__visit h2 { margin: 0; font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; color: #fff; font-size: clamp(36px, 5vw, 64px); line-height: .95; letter-spacing: .005em; }
.mp-onas__visit-copy { display: flex; flex-direction: column; gap: var(--sp-24); font-size: 17px; line-height: 1.65; color: #ddd; }
.mp-onas__visit-copy strong { color: #fff; }
.mp-onas__btns { display: flex; gap: var(--sp-12); flex-wrap: wrap; padding-top: 8px; }
.mp-onas a.mp-onas__btn { padding: 15px 26px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }

/* Kavarna (page-kavarna.php) reuses the O nas styles above */
.mp-onas__rows { border-top: 2px solid #000; align-self: start; }
.mp-onas__rows li { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: var(--sp-8) var(--sp-16); align-items: baseline; padding: 16px 0; border-bottom: 2px solid #000; }
.mp-onas__rowk { font-size: 18px; font-weight: 800; }
.mp-onas__rowv { font-size: 16px; line-height: 1.55; color: #1a1a1a; }
.mp-onas__info { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-8) var(--sp-24); margin: 0; font-size: 15px; border-top: 2px solid #fff; padding-top: 20px; }
.mp-onas__info dt { color: #999; }
.mp-onas__info dd { margin: 0; font-size: 13px; color: #fff; }
.mp-onas__info dd a { color: #fff; font-size: 15px; }

/* Kavarna menu */
.mp-onas__menu { display: flex; flex-direction: column; gap: var(--sp-40); }
.mp-onas__mhead { display: flex; justify-content: space-between; gap: var(--sp-16); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #555; padding-bottom: 10px; }
.mp-onas__mhead > span:first-child { color: #000; }
.mp-onas__menu ul { border-top: 2px solid #000; }
.mp-onas__menu li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-16); padding: 14px 0; border-bottom: 2px solid #000; }
.mp-onas__mname { font-size: 18px; font-weight: 800; }
.mp-onas__mprices { display: flex; font-size: 14px; flex: 0 0 auto; }
.mp-onas__mprices > span { display: block; width: 72px; text-align: right; }
.mp-onas__menu li:has(.mp-onas__mprices > span:only-child) .mp-onas__mprices > span { width: auto; }


/* ==========================================================================
   Domov (home) — design: Mala Prazarna Home.dc.html
   Template: front-page.php
   ========================================================================== */
.mp-home { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-home .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-home a { color: #000; text-decoration: none; }
.mp-home p, .mp-home h1, .mp-home h2 { margin: 0; }
.mp-home__h2 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 4.5vw, 56px); line-height: .98; letter-spacing: .005em; }
.mp-home__label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #555; }

/* hero */
.mp-home__hero { padding-top: var(--page-top); padding-bottom: var(--section-y-sm); }
.mp-home__hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--section-gap); align-items: center; }
.mp-home__hero-copy { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-home__eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.mp-home__title { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.5vw, 72px); line-height: .95; letter-spacing: .005em; text-wrap: balance; }
.mp-home__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: #333; max-width: 30em; text-wrap: pretty; }
.mp-home__btns { display: flex; flex-wrap: wrap; gap: var(--sp-12); }
.mp-home a.mp-home__btn { padding: 15px 26px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.mp-home__ph { position: relative; aspect-ratio: 1/1; max-height: 520px; width: 100%; border: 2px solid #000; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); overflow: hidden; }
.mp-home__ph img, .mp-home__cafe-ph img, .mp-home__guide-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* facts strip: rules painted full-bleed (container is --maxw) */
.mp-home__facts { position: relative; }
.mp-home__facts::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; border-top: 2px solid #000; border-bottom: 2px solid #000; pointer-events: none; }
.mp-home__facts-in { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-16) var(--sp-32); padding-top: var(--sp-24); padding-bottom: var(--sp-24); font-size: 15px; color: #333; }
.mp-home__fact { display: flex; gap: var(--sp-12); align-items: baseline; }
.mp-home__fact .mp-mono { font-size: 12px; color: #000; }
/* desktop: left / centre / right across the strip (stacked and left-aligned on narrow screens) */
@media (min-width: 761px) {
	.mp-home__fact:nth-child(2) { justify-content: center; }
	.mp-home__fact:nth-child(3) { justify-content: flex-end; }
}

/* sections */
.mp-home__sec { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.mp-home__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-24); flex-wrap: wrap; margin-bottom: var(--sp-40); }
.mp-home a.mp-home__more { font-weight: 700; font-size: 15px; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.mp-home a.mp-home__more:hover { background: #eee; }

/* coffee cards (inner pieces reuse .mp-card__*) */
.mp-home__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--sp-40) var(--sp-24); }

/* café band, full bleed */
.mp-home__cafe { position: relative; color: #fff; }
.mp-home__cafe::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: #000; }
.mp-home__cafe-in { position: relative; padding-top: var(--section-y); padding-bottom: var(--section-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: var(--section-gap); align-items: center; }
.mp-home__cafe-ph { position: relative; aspect-ratio: 3/2; border: 2px solid #fff; background: repeating-linear-gradient(135deg, #000 0 6px, #262626 6px 8px); overflow: hidden; }
.mp-home__cafe-copy { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-home__kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #bbb; }
.mp-home__cafe .mp-home__h2 { color: #fff; }
.mp-home__cafe-lead { font-size: 18px; line-height: 1.6; color: #ccc; max-width: 32em; }
.mp-home__info { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-8) var(--sp-24); margin: 0; font-size: 15px; border-top: 2px solid #fff; padding-top: var(--sp-24); }
.mp-home__info dt { color: #999; }
.mp-home__info dd { margin: 0; font-size: 13px; color: #fff; }
.mp-home__info dd a { color: #fff; font-size: 15px; }

/* guides */
.mp-home__guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--sp-32) var(--sp-24); }
.mp-home__guide { display: flex; flex-direction: column; gap: var(--sp-16); }
.mp-home__guide-img { position: relative; aspect-ratio: 16/10; border: 2px solid #000; background: repeating-linear-gradient(135deg, #fff 0 6px, #e4e4e4 6px 8px); overflow: hidden; }
.mp-home__guide-title { font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-wrap: pretty; }
.mp-home__guide:hover .mp-home__guide-title { text-decoration: underline; }


/* ==========================================================================
   Buttons — one colour system for every custom template.
   Two looks, each flipping on hover:
     light  white fill, black text + border   ->  hover: black fill, white text
     solid  black fill, white text + border   ->  hover: white fill, black text + border
   On black bands the same two looks are drawn in white (see "on dark bands").
   Colours live ONLY here; per-button rules above set size / layout / typography.
   ========================================================================== */
/* light */
.mp-btn--outline, .mp-thanks a.mp-btn--outline,
.mp-card__btn, .mp-product a.mp-card__btn, .mp-home a.mp-card__btn,
.mp-home a.mp-home__btn:not(.mp-home__btn--solid),
.mp-article a.mp-side-btn:not(.mp-side-btn--solid),
.woocommerce form.mp-co button.mp-co-coupon__btn {
	--btn-bg: #fff; --btn-fg: #000; --btn-bd: #000; --btn-hbg: #000; --btn-hfg: #fff; --btn-hbd: #000;
}
/* solid */
.mp-btn:not(.mp-btn--outline), .mp-thanks a.mp-btn:not(.mp-btn--outline),
.mp-coupon .button, .mp-cart .mp-coupon button.button,
.mp-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .mp-cart .wc-proceed-to-checkout a.checkout-button.button.alt,
.woocommerce-checkout form.checkout_coupon button.button,
.mp-place-order__btn, .woocommerce .mp-place-order button#place_order,
.mp-buy__form .single_add_to_cart_button.button.alt,
.mp-home a.mp-home__btn--solid, .mp-onas a.mp-onas__btn--solid, .mp-article a.mp-side-btn--solid {
	--btn-bg: #000; --btn-fg: #fff; --btn-bd: #000; --btn-hbg: #fff; --btn-hfg: #000; --btn-hbd: #000;
}
/* on dark bands: ghost = black fill / white text + border */
.mp-onas a.mp-onas__btn--ghost,
.mp-home__cafe a.mp-home__btn:not(.mp-home__btn--solid) {
	--btn-bg: #000; --btn-fg: #fff; --btn-bd: #fff; --btn-hbg: #fff; --btn-hfg: #000; --btn-hbd: #fff;
}
/* on dark bands: white fill / black text, border in white so it still reads when it flips to black */
.mp-onas a.mp-onas__btn:not(.mp-onas__btn--ghost):not(.mp-onas__btn--solid),
.mp-vodnik .mp-vodnik__cta a,
.mp-home__cafe a.mp-home__btn--solid {
	--btn-bg: #fff; --btn-fg: #000; --btn-bd: #fff; --btn-hbg: #000; --btn-hfg: #fff; --btn-hbd: #fff;
}

/* apply (one place, all variants) */
.mp-btn, .mp-btn--outline, .mp-card__btn, .mp-coupon .button,
.mp-cart .wc-proceed-to-checkout a.checkout-button, .woocommerce-checkout form.checkout_coupon button.button,
.mp-place-order__btn, .woocommerce .mp-place-order button#place_order,
.mp-buy__form .single_add_to_cart_button.button.alt, .woocommerce form.mp-co button.mp-co-coupon__btn,
.mp-home a.mp-home__btn, .mp-onas a.mp-onas__btn, .mp-article a.mp-side-btn, .mp-vodnik .mp-vodnik__cta a {
	background: var(--btn-bg) !important; color: var(--btn-fg) !important;
	border: 2px solid var(--btn-bd) !important; border-radius: 0;
	text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.mp-btn:hover, .mp-btn--outline:hover, .mp-card__btn:hover, .mp-coupon .button:hover,
.mp-cart .wc-proceed-to-checkout a.checkout-button:hover, .woocommerce-checkout form.checkout_coupon button.button:hover,
.mp-place-order__btn:hover, .woocommerce .mp-place-order button#place_order:hover,
.mp-buy__form .single_add_to_cart_button.button.alt:hover:not(.disabled), .woocommerce form.mp-co button.mp-co-coupon__btn:hover,
.mp-home a.mp-home__btn:hover, .mp-onas a.mp-onas__btn:hover, .mp-article a.mp-side-btn:hover, .mp-vodnik .mp-vodnik__cta a:hover {
	background: var(--btn-hbg) !important; color: var(--btn-hfg) !important; border-color: var(--btn-hbd) !important; text-decoration: none;
}


/* ==========================================================================
   Product card — shared by home, shop archive and "Podobni izdelki" (mp_product_card() in functions.php)
   ========================================================================== */
.mp-pcard { display: flex; flex-direction: column; gap: var(--sp-16); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-pcard a { color: #000; text-decoration: none; }
.mp-pcard a.mp-card__name:hover { text-decoration: underline; }
.mp-pcard__label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #555; }


/* ==========================================================================
   Shop archive (shop + product categories) — design: Mala Prazarna Shop.dc.html
   Template: woocommerce/archive-product.php
   ========================================================================== */
.mp-shop { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-shop .mp-mono { font-family: 'IBM Plex Mono', monospace; }
.mp-shop a { color: #000; text-decoration: none; }
.mp-shop p, .mp-shop h1, .mp-shop h2, .mp-shop ul { margin: 0; }
.mp-shop .mp-crumbs { margin: 0; }
.mp-shop .mp-crumbs a { color: #555; }
.mp-shop .mp-crumbs a:hover { text-decoration: underline; }

.mp-shop__head { padding-top: var(--page-top); display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-shop__title { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(48px, 7vw, 96px); line-height: .95; letter-spacing: .005em; text-wrap: balance; }
.mp-shop__intro { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: #333; max-width: 36em; text-wrap: pretty; }

/* toolbar: category tabs on a ruled line, sort chips on the right */
.mp-shop__bar { padding-top: var(--sp-40); }
.mp-shop__barrow { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-24); flex-wrap: wrap; border-bottom: 2px solid #000; }
.mp-shop__tabs { display: flex; }
.mp-shop a.mp-shop__tab { display: flex; gap: var(--sp-12); align-items: baseline; font-family: 'Anton', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; padding: 12px 22px 10px; border: 2px solid #000; border-bottom: 0; margin-right: -2px; background: #fff; color: #000; }
.mp-shop a.mp-shop__tab .mp-mono { font-size: 12px; }
.mp-shop a.mp-shop__tab:hover { background: #eee; }
.mp-shop a.mp-shop__tab.is-active, .mp-shop a.mp-shop__tab.is-active:hover { background: #000; color: #fff; }
.mp-shop__sort { display: flex; flex-wrap: wrap; gap: var(--sp-8); align-items: center; padding-bottom: var(--sp-12); font-size: 13px; }
.mp-shop__sortlabel { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #555; margin-right: var(--sp-4); }
.mp-shop__subs { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding-top: var(--sp-16); }
.mp-shop a.mp-shop__chip { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 8px 14px; border: 2px solid #000; background: #fff; color: #000; }
.mp-shop a.mp-shop__chip--sm { font-size: 13px; text-transform: none; letter-spacing: 0; padding: 6px 10px; }
.mp-shop a.mp-shop__chip:hover { background: #eee; }
.mp-shop a.mp-shop__chip.is-active, .mp-shop a.mp-shop__chip.is-active:hover { background: #000; color: #fff; }

/* grid */
.mp-shop__grid { padding-top: var(--sp-32); padding-bottom: var(--section-y); }
.mp-shop__count { font-size: 12px; color: #555; margin-bottom: var(--sp-24); }
.mp-shop__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: var(--sp-40) var(--sp-24); }
@media (max-width: 599px) {
	.mp-home__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-32) var(--sp-12); }
	.mp-home__products .mp-card { gap: var(--sp-12); }
	.mp-home__products .mp-card__name { font-size: 16px; }
	.mp-home__products .mp-card__notes { font-size: 13px; }
	.mp-home__products .mp-card__foot { flex-wrap: wrap; gap: var(--sp-8); }
	.mp-home__products .mp-card__price { font-size: 15px; }
	.mp-home__products .mp-card__btn { font-size: 13px; padding: 8px 12px; }
	.mp-shop__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-32) var(--sp-12); }
	.mp-shop__products .mp-card { gap: var(--sp-12); }
	.mp-shop__products .mp-card__name { font-size: 16px; }
	.mp-shop__products .mp-card__notes { font-size: 13px; }
	.mp-shop__products .mp-card__foot { flex-wrap: wrap; gap: var(--sp-8); }
	.mp-shop__products .mp-card__price { font-size: 15px; }
	.mp-shop__products .mp-card__btn { font-size: 13px; padding: 8px 12px; }
}
.mp-shop__empty { font-size: 18px; }

/* buying guide + FAQ, rule painted full-bleed */
.mp-shop__info { position: relative; }
.mp-shop__info::before { content: ''; position: absolute; top: 0; left: 50%; width: 100vw; margin-left: -50vw; border-top: 2px solid #000; }
.mp-shop__info-in { padding-top: var(--section-y); padding-bottom: var(--section-y); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--section-gap-lg); }
.mp-shop__col { display: flex; flex-direction: column; gap: var(--sp-24); }
.mp-shop__h2 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: .98; letter-spacing: .005em; }
.mp-shop__rows { list-style: none; padding: 0; border-top: 2px solid #000; }
.mp-shop__rows li { display: grid; grid-template-columns: 150px 1fr; gap: var(--sp-16); padding: 14px 0; border-bottom: 2px solid #000; font-size: 16px; line-height: 1.5; }
.mp-shop__rows strong { font-weight: 800; }
.mp-shop__note { font-size: 16px; line-height: 1.6; color: #333; }
.mp-shop__note a { font-weight: 700; border-bottom: 2px solid #000; }
.mp-shop__faqs { border-top: 2px solid #000; }
.mp-shop__faq { border-bottom: 2px solid #000; }
.mp-shop__faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-16); padding: var(--sp-16) 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 800; }
.mp-shop__faq summary::-webkit-details-marker { display: none; }
.mp-shop__faq summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; font-size: 18px; font-weight: 500; }
.mp-shop__faq[open] summary::after { content: '–'; }
.mp-shop__faq p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: #333; max-width: 38em; }

/* ==========================================================================
   Besedilo — text-only pages (pogoji, zasebnost, kazalo). Template: page-besedilo.php
   ========================================================================== */
.mp-text { max-width: 720px; margin: 0 auto !important; padding: var(--section-y-sm) var(--gutter) var(--section-y); font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 500; color: #000; }
.mp-text .mp-crumbs { font-size: 12px; }
.mp-text__title { margin: 0 0 var(--sp-12); font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 6vw, 72px); line-height: .95; letter-spacing: .005em; color: #000; }
.mp-text__date { margin: 0 0 var(--sp-48); font-size: 13px; color: #555; }
.mp-text__body { display: flex; flex-direction: column; gap: var(--sp-12); font-size: 17px; line-height: 1.7; color: #1a1a1a; }
.mp-text__body > * { margin: 0; }
.mp-text__body h2 { margin-top: var(--sp-24); border-top: 2px solid #000; padding-top: 20px; font-family: inherit; font-size: 20px; font-weight: 800; line-height: 1.3; color: #000; }
.mp-text__body h2:first-child { margin-top: 0; }
.mp-text__body h3 { margin-top: var(--sp-8); font-family: inherit; font-size: 17px; font-weight: 800; color: #000; }
.mp-text__body ul, .mp-text__body ol { padding-left: 1.4em; display: flex; flex-direction: column; gap: var(--sp-4); }
.mp-text__body a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.mp-text__body a:hover { text-decoration-thickness: 2px; }
.mp-text__body table { border-collapse: collapse; width: 100%; font-size: 15px; }
.mp-text__body th, .mp-text__body td { border: 2px solid #000; padding: 8px 12px; text-align: left; }

/* sitemap shortcode */
.mp-sitemap { display: flex; flex-direction: column; gap: var(--sp-12); }
.mp-sitemap h2 { margin-top: var(--sp-24); }
.mp-sitemap ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-8); }
.mp-sitemap ul ul { padding-left: var(--sp-24); margin-top: var(--sp-8); }

/* Header: the (empty) header widget area reserved 20px, pulling the cart box in from the content edge */
.site-header .header-widget { margin-left: 0; }

/* Main navbar: same #eee hover highlight as .mp-home__more, but only behind the words (links are 14px-padded, full header height) */
.main-navigation .main-nav ul li > a:hover,
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.sfHover > a {
	background: linear-gradient(#eee, #eee) center / calc(100% - 28px) 1.6em no-repeat;
	color: #000;
}

/* Mobile menu: links carry 14px side padding (for the desktop hover highlight), pushing the text in from the logo / content edge. Zero it (GP's inline rule is #site-navigation-specific, hence the ID) so the items align left with the logo. */
@media (max-width: 768px) {
	#site-navigation .main-nav ul li.menu-item > a { padding-left: 0; padding-right: 0; }
	#site-navigation .main-nav ul li.menu-item > a:hover,
	#site-navigation .main-nav ul li.menu-item:hover > a,
	#site-navigation .main-nav ul li.menu-item.sfHover > a { background-size: 100% 1.6em; }
}

/* Header cart box: whole-box #eee hover highlight */
.main-navigation .menu-bar-items .menu-bar-item > a.cart-contents:hover { background: #eee; color: #000; }

/* AJAX add to cart: status line under the button / card foot */
.mp-add-msg { margin-top: var(--sp-2, 8px); font-size: 14px; font-weight: 600; }
.mp-add-msg a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.mp-add-msg.is-error { color: #b00020; }
.mp-ajax-add.is-loading, .single_add_to_cart_button.is-loading { opacity: .6; pointer-events: none; }


/* ==========================================================================
   Cookie consent (Pressidium Cookie Consent / orestbida CookieConsent v2)
   Plugin sets colours inline + via has-background classes, hence !important.
   ========================================================================== */
#cc--main, #cc--main * { font-family: 'Hanken Grotesk', system-ui, sans-serif; }

#cc--main #cm {
	background: #fff !important; color: #000 !important;
	border: 2px solid #000; border-radius: 0 !important; box-shadow: none !important;
	max-width: 400px; padding: 0;
}
#cc--main #c-inr-i { padding: var(--sp-24) !important; }
#cc--main #c-ttl {
	color: #000 !important; font: 400 28px/1 'Anton', sans-serif !important;
	text-transform: uppercase; letter-spacing: .005em; margin: 0 0 var(--sp-12);
}
#cc--main #c-txt { color: #000 !important; font-size: 15px; font-weight: 500; line-height: 1.5; }
#cc--main #c-txt a, #cc--main #c-txt button {
	color: #000 !important; font-weight: 700; text-decoration: underline; border-bottom: 0 !important;
}

/* buttons: primary = black, secondary = outlined */
#cc--main .c-bn {
	border-radius: 0 !important; border: 2px solid #000 !important; box-shadow: none !important;
	font: 400 18px/1 'Anton', sans-serif !important; text-transform: uppercase; letter-spacing: .02em;
	padding: 14px 16px !important; transition: none;
}
#cc--main #c-bns { gap: 0; margin: 0; padding: 0; border-top: 2px solid #000; }
#cc--main #c-bns .c-bn, #cc--main #s-bns .c-bn, #cc--main #s-cnt .c-bn { font-family: 'Anton', sans-serif !important; font-weight: 400 !important; }
#cc--main .c-bn { background: #000 !important; color: #fff !important; }
#cc--main .c-bn.c_link { background: #fff !important; color: #000 !important; }
#cc--main .c-bn:hover { background: #fff !important; color: #000 !important; }
#cc--main .c-bn.c_link:hover { background: #000 !important; color: #fff !important; }
#cc--main #c-bns .c-bn { border: 0 !important; }
#cc--main #c-bns .c-bn + .c-bn { margin: 0; border-left: 2px solid #000 !important; }
#cc--main .c-bn:focus-visible { outline: 3px solid #000; outline-offset: 2px; }

/* settings modal */
#cc--main #s-inr, #cc--main #s-hdr, #cc--main #s-bns, #cc--main .c-bl, #cc--main #s-cnt {
	background: #fff !important; color: #000 !important; border-color: #000 !important;
}
#cc--main #s-inr { border: 2px solid #000; border-radius: 0 !important; box-shadow: none !important; }
#cc--main #s-ttl { font: 400 28px/1 'Anton', sans-serif !important; text-transform: uppercase; color: #000 !important; }
#cc--main .c-bl, #cc--main .c-bl.expand { border: 0; border-bottom: 2px solid #000 !important; border-radius: 0 !important; }
#cc--main .c-bl .b-tl, #cc--main .c-bl .b-tl * { color: #000 !important; font-weight: 800; background: transparent !important; }
#cc--main .c-bl .p, #cc--main .c-bl .desc { color: #000 !important; font-size: 14px; }
#cc--main #s-bns .c-bn { padding: 12px 16px !important; }
#cc--main #s-c-bn { background: transparent !important; color: #000 !important; border: 0 !important; }
#cc--main #cs-ov, #cc--main #cm-ov { background: rgba(0,0,0,.6) !important; }

@media (max-width: 767px) {
	#cc--main #cm { max-width: none; }
	#cc--main #c-inr-i { padding: var(--sp-16) !important; }
	#cc--main #c-ttl { font-size: 24px; }
}

/* settings modal: toggles, icons, footer buttons */
#cc--main .b-tg .c-tgl { border: 0 !important; background: transparent !important; }
#cc--main .b-tg .c-tg { background: #fff !important; border: 2px solid #000 !important; border-radius: 0 !important; box-shadow: none !important; }
#cc--main .b-tg .c-tg:after { width: 14px !important; height: 14px !important; left: 3px !important; top: 3px !important; background: #000 !important; border-radius: 0 !important; box-shadow: none !important; }
#cc--main .b-tg .c-tgl:checked ~ .c-tg { background: #000 !important; }
#cc--main .b-tg .c-tgl:checked ~ .c-tg:after { background: #fff !important; transform: translateX(30px) !important; }
#cc--main .b-tg .c-tg.c-ro { opacity: .45; }
#cc--main .b-tg .off-i:before, #cc--main .b-tg .off-i:after { background: #000 !important; }
#cc--main .b-tg .on-i:before { border-color: #fff !important; }
#cc--main .b-tl.exp:before, #cc--main .b-tl.exp:after { border-color: #000 !important; }
#cc--main #s-c-bn:before, #cc--main #s-c-bn:after { background: #000 !important; }
#cc--main #s-c-bn:hover { background: transparent !important; }
#cc--main #s-bns { border-top: 2px solid #000; padding: var(--sp-16) var(--gutter, 28px); display: flex; justify-content: space-between; gap: var(--sp-12); }
#cc--main #s-bns .bns-t { display: flex; gap: 0; }
#cc--main #s-bns .c-bn { border: 2px solid #000 !important; margin: 0; }
#cc--main #s-bns .bns-t .c-bn + .c-bn { margin-left: -2px; }
#cc--main #s-rall-bn, #cc--main #s-sv-bn { background: #fff !important; color: #000 !important; }
#cc--main #s-rall-bn:hover, #cc--main #s-sv-bn:hover { background: #000 !important; color: #fff !important; }
#cc--main #s-all-bn:hover { background: #fff !important; color: #000 !important; }

@media (max-width: 767px) {
	#cc--main #s-bns { flex-direction: column; align-items: stretch; height: auto; padding: var(--sp-12) var(--sp-16); gap: var(--sp-8); }
	#cc--main #s-bns .bns-t { width: 100%; height: auto; }
	#cc--main #s-bns .bns-t .c-bn { flex: 1 1 0; }
	#cc--main #s-bns .c-bn { width: 100%; height: auto; min-height: 0; padding: 12px 8px !important; font-size: 16px !important; white-space: nowrap; }
	#cc--main #s-bns .bns-t .c-bn { width: auto; }
}

@media (max-width: 767px) {
	#cc--main #cm { padding: 0 !important; }
	#cc--main #c-inr { padding: 0 !important; width: 100% !important; max-width: none !important; }
	#cc--main #c-bns { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; flex-direction: row; border-top: 2px solid #000; }
	#cc--main #c-bns .c-bn { flex: 1 1 0; width: auto !important; margin: 0 !important; padding: 14px 8px !important; white-space: nowrap; }
	#cc--main #c-bns .c-bn + .c-bn { border-top: 0 !important; border-left: 2px solid #000 !important; }
}

/* Language switcher (WPML) — matches the header of "Mala Prazarna Home.dc.html": mono 12px #555, 16px before the cart.
   Current language is black (the design has no state); see mp_lang_switcher() in functions.php */
.mp-lang { display: inline-flex; align-items: center; font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: #555; }
.mp-lang__item { color: #555; text-decoration: none; }
a.mp-lang__item:hover { color: #000; background: #eee; }
.mp-lang__item.is-current { color: #000; }
.mp-lang__sep { margin: 0 1ch; }
.main-navigation .menu-bar-items .mp-lang-bar-item { display: inline-flex; align-items: center; margin-right: var(--sp-16, 16px); }
/* GeneratePress' nav link styles (font, size, spacing, padding) must not leak into the switcher link */
#site-navigation .mp-lang a.mp-lang__item { font: inherit; letter-spacing: inherit; text-transform: none; line-height: inherit; padding: 0; color: #555; background: none; }
#site-navigation .mp-lang a.mp-lang__item:hover { color: #000; background: #eee; }

/* Language switcher placement: desktop = menu bar before the cart; mobile (GP breakpoint 768px) = last item in the dropdown */
.main-navigation .main-nav ul li.mp-lang-menu-item { display: none; }
@media (max-width: 768px) {
	.main-navigation .menu-bar-items .mp-lang-bar-item { display: none; }
	.main-navigation .main-nav ul li.mp-lang-menu-item { display: block; padding: 14px 0; }
	.main-navigation .main-nav ul li.mp-lang-menu-item .mp-lang { font-size: 13px; }
}
