/* Mesec popusta — isolated. Only loads on Template: Mesec popusta.
   Desktop values from Figma node 4150:3004. */

/* Logo only: hide green promo bar + main nav + cart/search (same pattern as other landings). */
.page-template-page-template-mesec-popusta .header-actions,
.page-template-page-template-mesec-popusta #main-menu,
.page-template-page-template-mesec-popusta .navbar-right-container {
	display: none !important;
}

.mesec-popusta {
	--mp-green: #90b249;
	--mp-green-mid: #89a886;
	--mp-green-deep: #1d7615;
	--mp-blue: #55799c;
	--mp-gold: #d09400;
	--mp-gold-btn: #b9870c;
	--mp-dark: #3d3d3d;
	--mp-muted: #434343;
	--mp-sage: #ecf0e6;
	--mp-cream: #f7f2ee;
	--mp-sky: #e5eff6;
	--mp-white: #ffffff;
	--mp-font-display: "MADE Mirage", "Cormorant", Georgia, serif;
	--mp-font-serif: "Cormorant", Georgia, serif;
	--mp-font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--mp-max: 1230px;
	box-sizing: border-box;
	color: #000;
	font-family: var(--mp-font-sans);
	overflow-x: hidden;
	width: 100%;
}

.mesec-popusta *,
.mesec-popusta *::before,
.mesec-popusta *::after {
	box-sizing: border-box;
}

.mesec-popusta img {
	display: block;
	max-width: 100%;
	height: auto;
}

.mesec-popusta p,
.mesec-popusta h1,
.mesec-popusta h2,
.mesec-popusta h3,
.mesec-popusta h4,
.mesec-popusta blockquote,
.mesec-popusta figcaption {
	margin: 0;
}

.mesec-popusta a {
	text-decoration: none;
	color: inherit;
}

.mesec-popusta .mp-wrap {
	margin: 0 auto;
	max-width: var(--mp-max);
	padding: 0 20px;
	width: 100%;
}

@media (min-width: 1270px) {
	.mesec-popusta .mp-wrap {
		padding-left: 0;
		padding-right: 0;
	}
}

/* Buttons — Figma: Inter Medium 13 / 150% / 0.24em, h40, radius 35 */
.mesec-popusta .mp-btn {
	align-items: center;
	border: 0;
	border-radius: 35px;
	display: inline-flex;
	font-family: var(--mp-font-sans);
	font-size: 13px;
	font-weight: 600;
	height: 40px;
	justify-content: center;
	letter-spacing: 0.24em;
	line-height: 1.5;
	min-width: 155px;
	padding: 8px 20px;
	text-transform: uppercase;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.mesec-popusta .mp-btn:hover {
	opacity: 0.88;
}

.mesec-popusta .mp-btn--green {
	background: var(--mp-green-mid);
	border: 1px solid var(--mp-green-mid);
	color: var(--mp-white);
}

/* Nav CTAs: outline, themed per card (Figma 4150:3126 / 3128) */
.mesec-popusta .mp-btn--outline-green {
	background: transparent;
	border: 1px solid var(--mp-green-mid);
	color: var(--mp-dark);
	min-width: 263px;
}

.mesec-popusta .mp-btn--outline-blue {
	background: transparent;
	border: 1px solid var(--mp-blue);
	color: var(--mp-blue);
	min-width: 263px;
}

/* Program CTAs only: gold fill + white text (Figma 4150:3124) */
.mesec-popusta .mp-btn--gold-white {
	background: var(--mp-gold-btn);
	border: 1px solid var(--mp-gold-btn);
	color: var(--mp-white);
}

/* Paket CTA: gray (Figma 4150:3186) */
.mesec-popusta .mp-btn--gray {
	background: #7b7b7b;
	border: 1px solid #7b7b7b;
	color: var(--mp-white);
}

/* Pojedinačni CTA: blue (Figma 4150:3214) */
.mesec-popusta .mp-btn--blue {
	background: #5b82a7;
	border: 1px solid #5b82a7;
	color: var(--mp-white);
}

/* White page strip between colored bands (Figma ~32px) */
.mesec-popusta .mp-gap {
	background: var(--mp-white);
	height: 32px;
	width: 100%;
}

/* Hero — 1440×536; copy at x210 y123 */
.mesec-popusta .mp-hero {
	position: relative;
	min-height: 536px;
	display: flex;
	align-items: flex-start;
	color: var(--mp-dark);
}

.mesec-popusta .mp-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.mesec-popusta .mp-hero__media picture {
	display: block;
	height: 100%;
	width: 100%;
}

.mesec-popusta .mp-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.mesec-popusta .mp-hero__inner {
	position: relative;
	z-index: 1;
	padding: 123px 0 80px;
	margin-left: max(20px, calc((100% - var(--mp-max)) / 2 + 105px));
	max-width: 599px;
	width: calc(100% - 40px);
}

.mesec-popusta .mp-hero__kicker {
	color: var(--mp-dark);
	font-family: var(--mp-font-sans);
	font-size: 21px;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.5;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.mesec-popusta .mp-hero__title {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 62px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 62px;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.mesec-popusta .mp-hero__discount {
	color: var(--mp-green);
	font-family: var(--mp-font-display);
	font-size: 120px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 70px;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.mesec-popusta .mp-hero__sub {
	color: #000;
	font-family: var(--mp-font-serif);
	font-size: 36px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.25;
}

/* Intro — y616, 28/36 Cormorant Italic, w1015 */
.mesec-popusta .mp-intro {
	padding: 80px 0 83px;
	background: var(--mp-white);
}

.mesec-popusta .mp-intro__text {
	color: #000;
	font-family: var(--mp-font-serif);
	font-size: 28px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 36px;
	margin: 0 auto;
	max-width: 1015px;
	text-align: center;
}

/* Nav cards — 600×386, gap 18, pad 56/49/52
   num 15/1.25/0.16em; title 38/1/0.01em; disc 70/70;
   desc meals 17/28/0.01em; desc supps 17/22/0.01em; btn gold */
.mesec-popusta .mp-nav-cards {
	padding: 0 0 80px;
	background: var(--mp-white);
}

.mesec-popusta .mp-nav-cards__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr 1fr;
	max-width: 1218px;
	margin: 0 auto;
}

.mesec-popusta .mp-nav-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 386px;
	padding: 56px 49px 52px;
}

.mesec-popusta .mp-nav-card--meals {
	background: var(--mp-sage);
}

.mesec-popusta .mp-nav-card--supps {
	background: var(--mp-sky);
}

.mesec-popusta .mp-nav-card__num {
	color: var(--mp-dark);
	font-family: var(--mp-font-sans);
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.25;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.mesec-popusta .mp-nav-card__title {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 38px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	margin-bottom: 16px;
	max-width: 501px;
	text-transform: uppercase;
}

.mesec-popusta .mp-nav-card--meals .mp-nav-card__discount {
	color: var(--mp-green);
}

.mesec-popusta .mp-nav-card--supps .mp-nav-card__discount {
	color: var(--mp-blue);
}

.mesec-popusta .mp-nav-card__discount {
	font-family: var(--mp-font-display);
	font-size: 70px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 70px;
	margin-bottom: 24px;
	text-transform: uppercase;
}

.mesec-popusta .mp-nav-card__desc {
	color: #000;
	font-family: var(--mp-font-sans);
	font-size: 17px;
	font-weight: 300;
	letter-spacing: 0.01em;
	margin-bottom: 16px;
	max-width: 501px;
	width: 100%;
}

.mesec-popusta .mp-nav-card--meals .mp-nav-card__desc {
	line-height: 28px;
}

.mesec-popusta .mp-nav-card--supps .mp-nav-card__desc {
	line-height: 22px;
}

.mesec-popusta .mp-nav-card .mp-btn {
	margin-top: auto;
}

/* Chapter — num 50 Cormorant Italic; title 60 MADE; lead 20/1.5 Inter Light */
.mesec-popusta .mp-chapter {
	padding: 40px 0 48px;
	background: var(--mp-white);
	text-align: center;
}

.mesec-popusta .mp-chapter__num {
	font-family: var(--mp-font-serif);
	font-size: 50px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 36px;
	margin-bottom: 32px;
}

.mesec-popusta .mp-chapter__num--green {
	color: var(--mp-green);
}

.mesec-popusta .mp-chapter__num--blue {
	color: var(--mp-blue);
}

.mesec-popusta .mp-chapter__title {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 60px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	margin-bottom: 25px;
	text-transform: uppercase;
}

.mesec-popusta .mp-chapter__lead {
	color: #000;
	font-family: var(--mp-font-sans);
	font-size: 20px;
	font-weight: 300;
	letter-spacing: 0.01em;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 1015px;
}

/* Bands */
.mesec-popusta .mp-band {
	position: relative;
	padding: 96px 0;
	overflow: hidden;
}

.mesec-popusta .mp-band--posni {
	background: var(--mp-sage);
}

.mesec-popusta .mp-band--programi {
	background: var(--mp-cream);
}

.mesec-popusta .mp-band--obroci {
	background: var(--mp-sage);
}

.mesec-popusta .mp-band--paket {
	background: #f2f2f2;
}

.mesec-popusta .mp-band--single {
	background: #f3f7fa;
	padding-bottom: 40px;
}

.mesec-popusta .mp-band--single .mp-card__title {
    min-height: 70px;
    margin-bottom: 5px;
}

.mesec-popusta .mp-band--posni .mp-band__bg,
.mesec-popusta .mp-band--posni .mp-band__decor {
    display: none;
}

/* Band decor/bg: Figma sizes — NOT full-section cover */
.mesec-popusta .mp-band__bg,
.mesec-popusta .mp-band__decor {
	pointer-events: none;
	position: absolute;
	overflow: hidden;
}

.mesec-popusta .mp-band__bg img,
.mesec-popusta .mp-band__decor img {
	display: block;
	max-width: none;
}

/*
 * Programi decor 4150:3007: 692×465 at x917.5 on 1440 canvas.
 * Right edge overflows by ~169px; band overflow:hidden matches Figma crop.
 * Inner image 669×446 at +22 / -100 inside the mask.
 */
.mesec-popusta .mp-band--programi .mp-band__decor {
	top: 0;
	right: -169px;
	width: 692px;
	height: 465px;
}

.mesec-popusta .mp-band--programi .mp-band__decor img {
	position: absolute;
	left: 22px;
	top: -100px;
	width: 669px;
	height: 446px;
	object-fit: cover;
	object-position: center;
}

.mesec-popusta .mp-band--obroci .mp-badge {
    background: #90B249;
}

/*
 * Obroci bg: salad strip 876×292 at x717 (4150:3014), not full band.
 * Overflows ~153px past 1440.
 */
.mesec-popusta .mp-band--obroci .mp-band__bg {
    top: 0;
    right: 0;
    width: 100%;
    height: 290px;
    opacity: 1;
}

.mesec-popusta .mp-band--obroci .mp-band__bg img {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: 100%;
    object-fit: cover;
}

/* Adrenal display 471×235 at x893, y+24 (4150:3157) — above feature, not under it */
.mesec-popusta .mp-band--adrenal {
	background: #F5F8F1;
	padding-top: 101px;
	padding-bottom: 96px;
}

.mesec-popusta .mp-band--adrenal .mp-band__bg {
	top: 24px;
	right: 76px;
	width: 471px;
	height: 235px;
	opacity: 1;
	z-index: 0;
	-webkit-mask-image: radial-gradient(130% 110% at 55% 45%, #000 52%, transparent 78%);
	mask-image: radial-gradient(130% 110% at 55% 45%, #000 52%, transparent 78%);
}

.mesec-popusta .mp-band--adrenal .mp-band__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mesec-popusta .mp-band--adrenal .mp-band__head {
	position: relative;
	z-index: 1;
	margin-bottom: 120px;
	min-height: 83px;
}

.mesec-popusta .mp-band--adrenal .mp-feature {
	position: relative;
	z-index: 1;
}

/* Paket banner 1437×383 at top of section (4150:3180) */
.mesec-popusta .mp-band--paket .mp-band__bg {
	top: 0;
	right: 0;
}

.mesec-popusta .mp-band--paket .mp-band__bg img {
	height: 100%;
}

/* Pojedinačni crop 506×320 at x934 (4150:3202) */
.mesec-popusta .mp-band--single .mp-band__bg {
	top: 0;
	right: 0;
	width: 506px;
	max-width: 40%;
	height: 320px;
	opacity: 1;
}

.mesec-popusta .mp-band--single .mp-band__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: left center;
}

/*
 * Posni/programi: pct AND cards share left edge x≈208
 *   (wrap@105 + padding 103). Cards stay start-aligned.
 * Obroci/adrenal/paket/single: cards at x105, head pct at x209
 *   → only the head is indented (+104).
 */
@media (min-width: 1270px) {
	.mesec-popusta .mp-band--posni .mp-wrap,
	.mesec-popusta .mp-band--programi .mp-wrap {
		padding-left: 103px;
	}

	.mesec-popusta .mp-band--posni .mp-cards--2,
	.mesec-popusta .mp-band--programi .mp-cards--2 {
		justify-content: start;
		margin-left: 0;
	}

	.mesec-popusta .mp-band--obroci .mp-band__head,
	.mesec-popusta .mp-band--adrenal .mp-band__head,
	.mesec-popusta .mp-band--paket .mp-band__head,
	.mesec-popusta .mp-band--single .mp-band__head {
		padding-left: 104px;
	}
}

.mesec-popusta .mp-band .mp-wrap {
	position: relative;
	z-index: 1;
}

.mesec-popusta .mp-band__head {
	align-items: center;
	display: flex;
	gap: 15px;
	margin-bottom: 56px;
}

.mesec-popusta .mp-band__head--split {
	align-items: flex-start;
	gap: 74px;
}

.mesec-popusta .mp-band--adrenal .mp-band__head--split {
	align-items: center;
}

.mesec-popusta .mp-band__pct {
	font-family: var(--mp-font-display);
	font-size: 120px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 70px;
	text-transform: uppercase;
	flex: 0 0 auto;
	width: 303px;
}

.mesec-popusta .mp-band__pct--green {
	color: var(--mp-green);
}

.mesec-popusta .mp-band__pct--gold {
	color: var(--mp-gold);
}

.mesec-popusta .mp-band__pct--blue {
	color: var(--mp-blue);
}

.mesec-popusta .mp-band__pct--stone {
	color: #6e6d6c;
}

/* Paket / pojedinačni: -% aligns with PAKET+sub only; note hangs below */
.mesec-popusta .mp-band--paket .mp-band__head,
.mesec-popusta .mp-band--single .mp-band__head {
	align-items: flex-start;
}

.mesec-popusta .mp-band--paket .mp-band__pct,
.mesec-popusta .mp-band--single .mp-band__pct {
	align-items: center;
	display: flex;
	height: 82px;
	line-height: 70px;
}

.mesec-popusta .mp-band__title {
	font-family: var(--mp-font-display);
	font-size: 36px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.25;
	text-transform: uppercase;
}

.mesec-popusta .mp-band__title--inline {
	font-family: var(--mp-font-serif);
	font-size: 42px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 42px;
	max-width: 326px;
	text-transform: none;
}

.mesec-popusta .mp-band__italic {
	font-family: var(--mp-font-serif);
	font-size: 32px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 42px;
	margin-top: 8px;
}

.mesec-popusta .mp-band--programi .mp-band__italic {
	line-height: 50px;
	margin-top: 6px;
}

.mesec-popusta .mp-band__note {
	font-family: var(--mp-font-sans);
	font-size: 15px;
	font-weight: 300;
	letter-spacing: 0.01em;
	line-height: 28px;
	margin-top: 2px;
}

.mesec-popusta .mp-band__note--green,
.mesec-popusta .mp-band__note--serif {
	font-family: var(--mp-font-serif);
	font-size: 23px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.2;
	margin-top: 8px;
}

.mesec-popusta .mp-band__note--green {
	color: var(--mp-green-deep);
}

.mesec-popusta .mp-band__sub {
	font-family: var(--mp-font-serif);
	font-size: 42px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 50px;
	margin-top: 6px;
}

/* Cards — 2col 497 gap 30; 3col 390 gap 30 */
.mesec-popusta .mp-cards {
	display: grid;
	gap: 30px;
}

.mesec-popusta .mp-cards--2 {
	grid-template-columns: repeat(2, minmax(0, 497px));
	justify-content: start;
	gap: 30px;
}

.mesec-popusta .mp-cards--3 {
	grid-template-columns: repeat(3, minmax(0, 390px));
	justify-content: space-between;
}

.mesec-popusta .mp-card {
	background: var(--mp-white);
	box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	min-height: 587px;
	overflow: hidden;
	width: 100%;
}

.mesec-popusta .mp-card--compact {
	background: transparent;
	box-shadow: none;
	min-height: 0;
	overflow: visible;
}

.mesec-popusta .mp-card__media {
	position: relative;
	background: #f4f4f4;
	height: 267px;
	overflow: hidden;
	flex: 0 0 auto;
}

/* Program media: white so PNG white edges blend (Figma) */
.mesec-popusta .mp-card__media--program {
	align-items: center;
	display: flex;
	justify-content: center;
	background: var(--mp-white);
	padding: 24px;
}

.mesec-popusta .mp-card__media--program img {
	max-height: 220px;
	width: auto;
	margin: 0 auto;
	height: auto;
	object-fit: contain;
}

/* Obroci: white photo tile + shadow; body sits on sage band */
.mesec-popusta .mp-card--compact .mp-card__media {
	height: 390px;
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 40px 28px;
	background: var(--mp-white);
	box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.1);
}

.mesec-popusta .mp-card--compact .mp-card__media img {
	max-height: 236px;
	width: auto;
	margin: 0 auto;
	height: auto;
	object-fit: contain;
}

.mesec-popusta .mp-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Program mockups stay contained (must beat the cover rule above) */
.mesec-popusta .mp-card__media--program img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 220px;
	object-fit: contain;
}

.mesec-popusta .mp-badge {
	position: absolute;
	top: 24px;
	right: 24px;
	background: var(--mp-green-mid);
	border-radius: 999px;
	color: var(--mp-white);
	font-family: var(--mp-font-sans);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	min-width: 60px;
	height: 27px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
}

/* Program cards: gold discount chip (Figma ~#deb54f) */
.mesec-popusta .mp-badge--gold {
	background: #c9a24a;
	color: var(--mp-white);
}

.mesec-popusta .mp-badge--gray {
	background: #7b7b7b;
	color: var(--mp-white);
}

.mesec-popusta .mp-badge--blue {
	background: #5b82a7;
	color: var(--mp-white);
}

.mesec-popusta .mp-feature > .mp-badge {
	top: 32px;
	right: 32px;
	z-index: 2;
}

.mesec-popusta .mp-card__body {
	padding: 32px 48px 48px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.mesec-popusta .mp-card__cat {
	font-family: var(--mp-font-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.25;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.mesec-popusta .mp-card--compact .mp-card__cat {
	font-size: 14px;
}

.mesec-popusta .mp-card__title {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 32px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.mesec-popusta .mp-card__title-accent {
	color: var(--mp-green);
	text-transform: uppercase;
}

.mesec-popusta .mp-card__title-accent--gold {
	color: var(--mp-gold);
}

.mesec-popusta .mp-card--program .mp-card__title {
	line-height: 1;
	min-height: 64px;
	text-transform: uppercase;
}

.mesec-popusta .mp-card--compact .mp-card__title {
	font-size: 28px;
	line-height: 1.25;
	text-transform: none;
}

.mesec-popusta .mp-band--adrenal .mp-badge {
    background: #90B249;
}

.mesec-popusta .mp-card__desc {
	font-family: var(--mp-font-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 18px;
	margin-bottom: 24px;
}

.mesec-popusta .mp-card__prices {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: baseline;
	margin-bottom: 16px;
}

.mesec-popusta .mp-price {
	font-family: var(--mp-font-sans);
	font-size: 20px;
	letter-spacing: 0.16em;
	line-height: 1.25;
}

.mesec-popusta .mp-price--old {
	color: var(--mp-muted);
	text-decoration: line-through;
	font-weight: 400;
}

.mesec-popusta .mp-price--new {
	color: var(--mp-green-mid);
	font-weight: 700;
}

.mesec-popusta .mp-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #c5d6a1;
	border-radius: 999px;
	color: #000;
	font-family: var(--mp-font-sans);
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 18px;
	min-width: 92px;
	height: 21px;
	padding: 0 10px;
	margin-bottom: 24px;
	width: fit-content;
}

/* Program save chip: warm/taupe (Figma ~#cfb8a0) */
.mesec-popusta .mp-save--warm {
	background: #FFCF9E99;
	color: #000;
}

.mesec-popusta .mp-save--lime {
	background: #d2e5ab;
	color: #000;
}

.mesec-popusta .mp-save--gray {
	background: #e0e0e0;
	color: #000;
}

.mesec-popusta .mp-save--sky {
	background: #cde8ed;
	color: #000;
}

.mesec-popusta .mp-card__ship {
	font-family: var(--mp-font-sans);
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.01em;
	line-height: 16px;
	margin-top: 12px;
}

.mesec-popusta .mp-card .mp-btn {
	margin-top: auto;
	align-self: flex-start;
	width: auto;
	max-width: 155px;
}

.mesec-popusta .mp-nav-card .mp-btn--outline-green,
.mesec-popusta .mp-nav-card .mp-btn--outline-blue {
	width: auto;
	max-width: none;
}

.mesec-popusta .mp-card--program .mp-card__media--program {
	background: var(--mp-white);
}

.mesec-popusta .mp-card--compact .mp-card__body {
	padding: 24px 0 0;
}

/* Feature — 1230×416 / 1230×425 */
.mesec-popusta .mp-feature {
	background: var(--mp-white);
	box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.1);
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 0;
	min-height: 416px;
	overflow: hidden;
	position: relative;
}

.mesec-popusta .mp-band--paket .mp-feature {
	min-height: 425px;
}

.mesec-popusta .mp-feature__media {
	position: relative;
	background: var(--mp-white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 24px;
}

.mesec-popusta .mp-feature__media img {
	max-height: 310px;
	width: auto;
}

/* Adrenal: 3 overlapping boxes (Figma 4150:3166–3170) */
.mesec-popusta .mp-feature__media--stack {
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
	overflow: hidden;
}

.mesec-popusta .mp-stack {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 416px;
}

.mesec-popusta .mp-feature__media--stack .mp-stack__item {
	position: absolute;
	width: 274px;
	max-width: 274px;
	height: auto;
	max-height: none;
}

.mesec-popusta .mp-stack__item--1 {
	left: 163px;
	top: 53px;
	z-index: 2;
}

.mesec-popusta .mp-stack__item--2 {
	left: 105px;
	top: 98px;
	z-index: 1;
}

.mesec-popusta .mp-stack__item--3 {
	left: 221px;
	top: 143px;
	z-index: 3;
}

.mesec-popusta .mp-feature__body {
	padding: 72px 80px 72px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.mesec-popusta .mp-feature .mp-btn {
	width: auto;
	min-width: 155px;
	max-width: 155px;
	align-self: flex-start;
}

.mesec-popusta .mp-feature__title {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 50px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	margin: 10px 0 24px;
	max-width: 595px;
	text-transform: uppercase;
}

.mesec-popusta .mp-feature__title-accent {
	color: #90b249;
	text-transform: uppercase;
}

.mesec-popusta .mp-feature__title--paket {
	font-size: 28px;
	line-height: 37px;
}

.mesec-popusta .mp-feature__title--paket .mp-feature__title-line {
	display: block;
}

.mesec-popusta .mp-feature__title--paket .mp-feature__title-accent {
	text-transform: none;
}

.mesec-popusta .mp-feature .mp-card__cat {
	font-size: 14px;
}

/* Quote — light top + olive band #e8ecdb, Tatjana cutout (Figma 4150:3250–3255) */
.mesec-popusta .mp-quote {
	position: relative;
	background: #f3f7fa;
	overflow: hidden;
	min-height: 450px;
}

.mesec-popusta .mp-quote__bottom {
	position: absolute;
	inset: auto 0 0 0;
	height: 318px;
	background: #e8ecdb;
}

.mesec-popusta .mp-quote__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 510px 319px;
	gap: 0;
	align-items: end;
	justify-content: center;
	min-height: 450px;
}

.mesec-popusta .mp-quote__card {
	background: var(--mp-white);
	border-radius: 17px;
	box-shadow: 1px 2px 40px rgba(0, 0, 0, 0.1);
	padding: 55px 43px;
	margin: 0 0 100px;
	position: relative;
	z-index: 2;
	width: 510px;
	min-height: 264px;
	text-align: center;
}

.mesec-popusta .mp-quote__text {
	color: var(--mp-dark);
	font-family: var(--mp-font-display);
	font-size: 28px;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 34px;
	margin: 0 auto 18px;
	max-width: 423px;
	text-align: center;
}

.mesec-popusta .mp-quote__author {
	font-family: var(--mp-font-serif);
	font-size: 28px;
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: center;
}

.mesec-popusta .mp-quote__photo {
	position: relative;
	z-index: 2;
	margin-bottom: 0;
}

.mesec-popusta .mp-quote__photo img {
	width: 319px;
	height: auto;
	margin-left: -24px;
	object-fit: contain;
}

/* ========== Tablet ≤1024 ========== */
@media (max-width: 1024px) {
	.mesec-popusta .mp-wrap {
		/*max-width: 668px;*/
		padding: 0 50px;
	}
	
	.mesec-popusta .mp-quote__bottom {
        height: 200px;
    }
	
	.mesec-popusta .mp-intro {
        padding: 55px 0;
    }

	.mesec-popusta .mp-card__media--program {
        padding: 20px 55px 0;
    }

	.mesec-popusta .mp-hero {
		min-height: 516px;
	}

	/*
	 * Tablet hero (4150:3266): woman on the right + bela šlajfna with
	 * soft fade. hero.jpg is white|fridge|woman — center crops fridge;
	 * shift right, then CSS panel replaces baked white lost by the crop.
	 */
	.mesec-popusta .mp-hero__media img {
		object-position: 92% 38%;
	}

	.mesec-popusta .mp-hero__media::after {
		background: linear-gradient(
			90deg,
			#fff 0%,
			#fff 40%,
			rgba(255, 255, 255, 0.96) 50%,
			rgba(255, 255, 255, 0.6) 60%,
			rgba(255, 255, 255, 0) 74%
		);
		content: "";
		inset: 0;
		pointer-events: none;
		position: absolute;
		z-index: 1;
	}

	.mesec-popusta .mp-hero__inner {
		margin-left: 50px;
		max-width: 340px;
		padding-top: 150px;
		text-align: center;
		z-index: 2;
	}

	.mesec-popusta .mp-hero__title {
		font-size: 48px;
		line-height: 1.05;
	}

	.mesec-popusta .mp-hero__discount {
		font-size: 80px;
		line-height: 0.85;
	}

	.mesec-popusta .mp-hero__sub {
		font-size: 28px;
	}

	.mesec-popusta .mp-intro__text {
		font-size: 24px;
        line-height: 28px;
        margin: 0;
        text-align: center;
	}

	.mesec-popusta .mp-nav-cards__grid {
		max-width: none;
		gap: 30px;
	}

	.mesec-popusta .mp-nav-card {
		min-height: 387px;
		padding: 28px;
	}
	
	.mesec-popusta .mp-nav-cards {
        padding: 0 0 16px;
    }

	.mesec-popusta .mp-nav-card__title {
		font-size: 30px;
		margin-bottom: 0;
	}

	.mesec-popusta .mp-nav-card__discount {
		font-size: 48px;
		line-height: 1;
	}

	.mesec-popusta .mp-nav-card__desc {
		line-height: 22px !important;
	}

	.mesec-popusta .mp-nav-card .mp-btn--outline-green,
	.mesec-popusta .mp-nav-card .mp-btn--outline-blue {
		min-width: 100%;
		width: 100%;
	}

	.mesec-popusta .mp-chapter__title {
		font-size: 50px;
	}

	.mesec-popusta .mp-band {
		padding: 72px 0;
	}

	.mesec-popusta .mp-band__head,
	.mesec-popusta .mp-band__head--split,
	.mesec-popusta .mp-band--adrenal .mp-band__head--split {
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		margin-bottom: 40px;
		padding-left: 0;
	}

	.mesec-popusta .mp-band__pct {
		font-size: 80px;
		line-height: 0.9;
		width: auto;
	}

	.mesec-popusta .mp-band__title {
		font-size: 28px;
	}

	.mesec-popusta .mp-band__italic,
	.mesec-popusta .mp-band__sub {
		font-size: 24px;
		line-height: 1.3;
	}

	/*
	 * KEEP THESE VISIBLE on tablet (Figma 4150:3266).
	 * Do not set .mp-band__decor { display:none } here.
	 */
	.mesec-popusta .mp-band--posni .mp-band__decor {
		display: block;
		height: 280px;
		left: auto;
		max-width: none;
		right: 0;
		top: 0;
		width: 48%;
		z-index: 0;
	}

	.mesec-popusta .mp-band--posni .mp-band__decor img {
		height: 100%;
		left: 0;
		object-fit: cover;
		object-position: left center;
		position: absolute;
		top: 0;
		width: 100%;
	}

	.mesec-popusta .mp-band--posni .mp-wrap {
		z-index: 1;
	}

	.mesec-popusta .mp-band--programi .mp-band__decor {
		display: block;
		height: 386px;
		max-width: 75%;
		right: -101px;
		top: 0;
		width: 574px;
		z-index: 0;
	}

	.mesec-popusta .mp-band--programi .mp-band__decor img {
		height: 370px;
		left: 45px;
		object-fit: cover;
		position: absolute;
		top: -62px;
		width: 555px;
	}

	.mesec-popusta .mp-band--programi .mp-wrap {
		z-index: 1;
	}

	/*
	 * Figma 4150:3271 frame is x151.5 / 819×273, but the fill is empty sage
	 * until bowls (~42% of canvas). New asset has bowls at its left edge, so
	 * start the box further right to keep text on section sage.
	 */
	.mesec-popusta .mp-band--obroci .mp-band__bg {
		height: 273px;
		left: 320px;
		opacity: 1;
		right: auto;
		top: 0;
		width: 560px;
	}

	.mesec-popusta .mp-band--obroci .mp-band__bg img {
		object-fit: cover;
		object-position: center center;
	}

	.mesec-popusta .mp-band--adrenal .mp-band__bg {
		height: 232px;
		max-width: 60%;
		right: 0;
		top: 30px;
		width: 464px;
	}

	.mesec-popusta .mp-band--adrenal .mp-band__head {
		margin-bottom: 56px;
		min-height: 0;
	}

	.mesec-popusta .mp-band--paket .mp-band__bg {
		height: 305px;
	}

	.mesec-popusta .mp-band--single .mp-band__bg {
		height: 320px;
		max-width: 66%;
		right: 0;
		width: 506px;
	}

	.mesec-popusta .mp-cards--2,
	.mesec-popusta .mp-cards--3 {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
		justify-content: stretch;
	}

	.mesec-popusta .mp-cards--3 {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}

	.mesec-popusta .mp-card {
		min-height: 0;
	}

	.mesec-popusta .mp-card__media {
		height: auto;
		max-height: 175px;
		/*aspect-ratio: 319 / 171;*/
	}
	
	.mesec-popusta .mp-card__media--program img {
        object-fit: contain;
        height: 100%;
    }
    
    .mesec-popusta .mp-card--compact .mp-card__cat {
        font-size: 12px;
    }

	.mesec-popusta .mp-card--compact .mp-card__media {
		height: auto;
		aspect-ratio: 1 / 1;
	}

	.mesec-popusta .mp-card__body {
		padding: 20px 55px 55px;
	}
	
	.mesec-popusta .mp-card__prices {
        gap: 10px;
        margin-bottom: 10px;
        flex-direction: column;
    }

	.mesec-popusta .mp-card--compact .mp-card__title {
		min-height: 0;
		font-size: 24px;
	}

	.mesec-popusta .mp-price {
		font-size: 17px;
	}

	/* Adrenal feature stays split (Figma 4150:3413 = 668×372); paket stacks */
	.mesec-popusta .mp-feature {
		grid-template-columns: 234px 1fr;
		min-height: 372px;
	}

	.mesec-popusta .mp-band--paket .mp-feature {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mesec-popusta .mp-feature__media {
		padding: 48px 8px 0;
	}
	
	.mesec-popusta .mp-band--paket .mp-feature__body {
        padding: 5px 55px 55px;
    }

    .mesec-popusta .mp-band--paket .mp-feature .mp-card__prices {
        flex-direction: row;
        gap: 16px;
    }
    
    .mesec-popusta .mp-band--paket .mp-feature .mp-price--new {
        color: var(--mp-green-mid);
    }
    
    .mesec-popusta .mp-band--single .mp-badge {
        top: 16px;
        right: 17px;
        font-size: 12px;
        min-width: 46px;
    }
    
    .mesec-popusta .mp-band--single .mp-card__title {
        font-size: 20px;
    }
    
    .mesec-popusta .mp-band--single {
        padding-bottom: 0;
    }
    
	.mesec-popusta .mp-feature__media img {
		max-height: 205px;
	}

	.mesec-popusta .mp-feature__body {
		padding: 36px 32px 36px 20px;
	}

	.mesec-popusta .mp-feature__title {
		font-size: 28px;
		line-height: 1.05;
		margin: 8px 0 18px;
		max-width: 319px;
	}

	.mesec-popusta .mp-feature__title--paket {
		font-size: 24px;
		line-height: 1.3;
		max-width: none;
	}

	.mesec-popusta .mp-feature .mp-card__prices {
		flex-direction: column;
		gap: 2px;
		margin-bottom: 12px;
	}

	.mesec-popusta .mp-feature .mp-price {
		font-size: 16px;
		letter-spacing: 0.08em;
	}

	.mesec-popusta .mp-feature .mp-price--new {
		color: var(--mp-dark);
		font-weight: 700;
	}

	.mesec-popusta .mp-feature .mp-save {
		margin-bottom: 18px;
	}

	.mesec-popusta .mp-feature .mp-btn {
		min-width: 148px;
		max-width: 148px;
	}

	.mesec-popusta .mp-quote__inner {
		grid-template-columns: 1fr 221px;
		max-width: 668px;
		padding: 0 50px;
	}

	.mesec-popusta .mp-quote__card {
		padding: 40px 28px;
		margin-bottom: 60px;
		width: auto;
		min-height: 0;
	}

	.mesec-popusta .mp-quote__text {
		font-size: 22px;
		line-height: 30px;
	}

	.mesec-popusta .mp-quote__photo img {
		width: 221px;
		margin-left: 0;
	}
}

/* ========== Mobile ≤767 ========== */
@media (max-width: 767px) {
	.mesec-popusta .mp-wrap {
		max-width: 100%;
		padding: 0 20px;
	}
	
    .mesec-popusta .mp-band--adrenal .mp-feature__title {
        font-size: 32px;
    }
	
	.mesec-popusta .mp-band--paket .mp-band__note {
	    font-size: 19px;
	}
	
    .mesec-popusta .mp-card--compact .mp-card__media {
        max-height: unset;
    }
	
	.mesec-popusta .mp-feature__title--paket .mp-feature__title-line + .mp-feature__title-line {
		margin-top: 24px;
	}

	/*
	 * Mobile hero: hero-mobile.jpg already has the top fade.
	 * Image fills the section; copy sits over that baked white area.
	 */
	.mesec-popusta .mp-hero {
		aspect-ratio: 563 / 720;
		background: none;
		min-height: 0;
	}

	.mesec-popusta .mp-hero__media {
		inset: 0;
		position: absolute;
	}

	.mesec-popusta .mp-hero__media picture,
	.mesec-popusta .mp-hero__media img {
		height: 100%;
		object-fit: cover;
		object-position: center top;
		width: 100%;
	}

	.mesec-popusta .mp-hero__media::after {
		content: none;
		display: none;
	}

	.mesec-popusta .mp-hero__inner {
		margin: 0 auto;
		max-width: 100%;
		padding: 85px 24px 0;
		text-align: left;
		width: 100%;
		z-index: 2;
	}

	.mesec-popusta .mp-hero__kicker {
		font-size: 15px;
		letter-spacing: 0.14em;
		margin-bottom: 2px;
		font-weight: 600;
	}

	.mesec-popusta .mp-hero__title {
		font-size: 30px;
		line-height: 1.05;
		margin-bottom: 5px;
	}

	.mesec-popusta .mp-hero__discount {
		font-size: 70px;
		line-height: 0.9;
		margin-bottom: 0;
	}

	.mesec-popusta .mp-hero__sub {
		font-size: 22px;
	}

	.mesec-popusta .mp-intro {
		padding: 48px 0 40px;
	}
	
	.mesec-popusta .mp-band--programi .mp-band__head,
	.mesec-popusta .mp-band--paket .mp-band__head, 
	.mesec-popusta .mp-band--single .mp-band__head,
	.mesec-popusta .mp-band--adrenal .mp-band__head{
        flex-direction: row;
    }
    
    .mesec-popusta .mp-band--programi .mp-band__italic {
        line-height: 22px;
    }
    
    .mesec-popusta .mp-band__sub {
        margin-top: 0;
    }
    
    .mesec-popusta .mp-band__note--green, 
    .mesec-popusta .mp-band__note--serif {
        margin-top: 0;
    }

	.mesec-popusta .mp-intro__text {
		font-size: 21px;
		line-height: 25px;
		text-align: left;
	}

	.mesec-popusta .mp-nav-cards__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.mesec-popusta .mp-nav-card {
		min-height: 0;
		padding: 32px 24px;
	}

	.mesec-popusta .mp-nav-card__title {
		font-size: 28px;
	}

	.mesec-popusta .mp-nav-card__discount {
		font-size: 48px;
		margin-bottom: 16px;
	}

	.mesec-popusta .mp-nav-card__desc {
		font-size: 15px;
		line-height: 22px;
	}

	.mesec-popusta .mp-nav-card .mp-btn--outline-green,
	.mesec-popusta .mp-nav-card .mp-btn--outline-blue {
		min-width: 100%;
		width: 100%;
	}

	.mesec-popusta .mp-chapter {
		padding: 24px 0 32px;
	}

	.mesec-popusta .mp-chapter__num {
		margin-bottom: 16px;
	}

	.mesec-popusta .mp-chapter__title {
		font-size: 42px;
	}

	.mesec-popusta .mp-chapter__lead {
		font-size: 17px;
	}

	.mesec-popusta .mp-band {
		padding: 48px 0;
	}

	.mesec-popusta .mp-band__bg {
		display: none;
	}

	/*
	 * Obroci mobile (Figma): "-10% SVI OBROCI" in one centered row,
	 * italic/note full-width below; compact cards centered.
	 */
	.mesec-popusta .mp-band--obroci .mp-band__head {
		align-items: baseline;
		column-gap: 12px;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 0;
		text-align: center;
	}

	.mesec-popusta .mp-band--obroci .mp-band__copy {
		display: contents;
	}

	.mesec-popusta .mp-band--obroci .mp-band__pct {
		font-size: 48px;
		line-height: 1;
	}

	.mesec-popusta .mp-band--obroci .mp-band__title {
		font-size: 28px;
		line-height: 1.1;
	}

	.mesec-popusta .mp-band--obroci .mp-band__italic,
	.mesec-popusta .mp-band--obroci .mp-band__note {
		flex: 0 0 100%;
		text-align: center;
	}

	.mesec-popusta .mp-band--obroci .mp-band__italic {
		font-size: 22px;
	}

	.mesec-popusta .mp-band--obroci {
		padding: 56px 0;
	}

	.mesec-popusta .mp-band--obroci .mp-wrap {
		padding-left: 40px;
		padding-right: 40px;
	}

	/*
	 * Cards narrower than the band: do not use padding on width:100% —
	 * that grows the box sideways. Shrink width, then center.
	 */
	.mesec-popusta .mp-band--obroci .mp-cards--3 {
		margin-left: auto;
		margin-right: auto;
		width: calc(100% - 100px);
	}

	.mesec-popusta .mp-band--obroci .mp-card--compact .mp-card__media {
		aspect-ratio: 1;
		height: auto;
		padding: 28px 24px;
		max-height: unset;
	}

	.mesec-popusta .mp-band--obroci .mp-card--compact .mp-card__media img {
		max-height: 220px;
	}

	.mesec-popusta .mp-band--obroci .mp-card--compact .mp-card__body {
		align-items: flex-start;
		padding: 24px 20px 8px;
		text-align: left;
	}

	.mesec-popusta .mp-band--obroci .mp-card--compact .mp-card__prices {
		justify-content: center;
	}

	.mesec-popusta .mp-band--obroci .mp-card--compact .mp-btn {
		max-width: none;
		min-width: 150px;
		width: auto;
	}

	.mesec-popusta .mp-band__pct {
		font-size: 64px;
		width: auto;
	}

	.mesec-popusta .mp-band__title {
		font-size: 24px;
	}

	.mesec-popusta .mp-band__title--inline {
		font-size: 23px;
		line-height: 1.2;
	}

	.mesec-popusta .mp-band__italic {
		font-size: 22px;
	}

	.mesec-popusta .mp-cards--2,
	.mesec-popusta .mp-cards--3 {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.mesec-popusta .mp-card--compact .mp-card__title {
		min-height: 0;
		font-size: 24px;
	}

	.mesec-popusta .mp-price {
		font-size: 16px;
	}

	.mesec-popusta .mp-band--posni .mp-band__decor,
	.mesec-popusta .mp-band--programi .mp-band__decor {
		display: none;
	}

	.mesec-popusta .mp-btn {
		width: 100%;
	}

	.mesec-popusta .mp-feature,
	.mesec-popusta .mp-band--paket .mp-feature {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.mesec-popusta .mp-feature__media {
		padding: 36px 36px 0;
	}

	.mesec-popusta .mp-feature__media img {
		max-height: 240px;
	}

	.mesec-popusta .mp-feature__body {
		padding: 28px 55px 55px;
	}

	.mesec-popusta .mp-feature__title {
		font-size: 22px;
		line-height: 1;
		max-width: none;
	}

	.mesec-popusta .mp-feature .mp-card__prices {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 12px;
	}

	.mesec-popusta .mp-feature .mp-price--new {
		color: var(--mp-green-mid);
	}

	.mesec-popusta .mp-feature .mp-btn {
		min-width: 100%;
		max-width: 100%;
		width: 100%;
	}

	/*
	 * Quote mobile (Figma): light-blue top + sage bottom.
	 * Tatjana flush right, in front of the quote card.
	 */
	.mesec-popusta .mp-quote {
		background: #f3f7fa;
		min-height: 390px;
		overflow: hidden;
		padding-top: 36px;
	}

	.mesec-popusta .mp-quote__inner {
		display: block;
		margin: 0;
		max-width: none;
		min-height: 355px;
		padding: 0 0 0 16px;
		position: relative;
		width: 100%;
	}

	.mesec-popusta .mp-quote__card {
		margin: 0 0 100px;
		min-height: 0;
		padding: 36px 24px 40px;
		position: relative;
		width: min(280px, calc(100% - 100px));
		z-index: 1;
	}

	.mesec-popusta .mp-quote__text {
		font-size: 22px;
		line-height: 28px;
		margin-bottom: 16px;
		max-width: none;
	}

	.mesec-popusta .mp-quote__author {
		font-size: 24px;
	}

	.mesec-popusta .mp-quote__photo {
		bottom: 0;
		line-height: 0;
		margin: 0;
		position: absolute;
		right: 0;
		z-index: 2;
	}

	.mesec-popusta .mp-quote__photo img {
		display: block;
		margin: 0;
		max-width: none;
		width: 155px;
	}

	.mesec-popusta .mp-quote__bottom {
		height: 58%;
		min-height: 240px;
	}
}
