/*
Theme Name: Lenispharm
Description: Prilagođena tema za Lenispharm d.o.o. Sadržaj stranica uređuje se u Gutenbergu (blok uređivač).
Version: 2.0
Text Domain: lenispharm
*/

:root {
	--lp-bg: #f7f6f5;
	--lp-black: #000;
	--lp-text: #1d1d1b;
	--lp-green: #008871;
	--lp-green-dark: #04302a;
	--lp-mint: #dde7e4;
	--lp-white: #fff;
	--lp-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--lp-serif: "Suisse Works", "Times New Roman", Times, serif;
	--lp-wrap: 1166px;
	--lp-pad: clamp(20px, 7.3vw, 100px);
	--lp-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 162 174'%3E%3Cpath fill='%23fff' d='M0 0H36V138H162V174H0Z'/%3E%3C/svg%3E");
	--lp-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 270'%3E%3Cpath fill='%23f7f6f5' fill-rule='evenodd' d='M0 0H195A135 135 0 0 1 195 270H0ZM0 90H183A45 45 0 0 1 183 180H0Z'/%3E%3C/svg%3E");
	--lp-motif-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 3300'%3E%3Cpath fill='%23e6f0ee' d='M119.5 0.0L79.7 122.2L322.1 201.2C356.0 212.3 374.2 248.5 363.2 282.3C352.2 316.0 316.1 334.5 282.3 323.5L39.8 244.4L-0.0 366.6L242.4 445.6C343.7 478.7 452.5 423.4 485.6 322.2C518.6 221.0 463.2 112.2 361.9 79.1ZM631.2 1113.2L481.2 1569.2L25.3 1419.3L175.2 963.3ZM272.6 993.1L379.0 945.8L759.5 776.5L712.2 670.2L331.7 839.4L297.1 761.6L284.4 733.1L237.1 626.8L189.8 520.4L142.6 414.1L36.2 461.4L83.5 567.7L130.8 674.1L178.1 780.4L225.3 886.7Z'/%3E%3C/svg%3E");
	--lp-motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 760 1570'%3E%3Cpath fill='%23e6f0ee' d='M119.5 0.0L79.7 122.2L322.1 201.2C356.0 212.3 374.2 248.5 363.2 282.3C352.2 316.0 316.1 334.5 282.3 323.5L39.8 244.4L-0.0 366.6L242.4 445.6C343.7 478.7 452.5 423.4 485.6 322.2C518.6 221.0 463.2 112.2 361.9 79.1ZM631.2 1113.2L481.2 1569.2L25.3 1419.3L175.2 963.3ZM272.6 993.1L379.0 945.8L759.5 776.5L712.2 670.2L331.7 839.4L297.1 761.6L284.4 733.1L237.1 626.8L189.8 520.4L142.6 414.1L36.2 461.4L83.5 567.7L130.8 674.1L178.1 780.4L225.3 886.7Z'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--lp-bg);
	color: var(--lp-text);
	font-family: var(--lp-sans);
	font-size: 15px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* decorative motifs must not extend the page below the footer */
#sadrzaj { overflow-x: visible; overflow-y: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

em {
	font-family: var(--lp-serif);
	font-style: italic;
	font-weight: 400;
}

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.15; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

/* ---------- Content width system ---------- */

/* Classic themes get an extra wrapper inside every Group block; take it out of the layout. */
.lp-content .wp-block-group__inner-container { display: contents; }

.lp-content { padding: 0 var(--lp-pad); }

.lp-content > *,
.lp-content > .alignfull > *,
.lp-content > .alignfull > .wp-block-group__inner-container > * {
	max-width: var(--lp-wrap);
	margin-left: auto;
	margin-right: auto;
}

.lp-content > .alignfull {
	max-width: none;
	margin-left: calc(-1 * var(--lp-pad));
	margin-right: calc(-1 * var(--lp-pad));
	padding-left: var(--lp-pad);
	padding-right: var(--lp-pad);
	position: relative;
}

.lp-content .wp-block-image { margin: 0; }
.lp-content .wp-block-image img { width: 100%; }

.lp-content .wp-block-columns { margin-bottom: 0; }

/* ---------- Header ---------- */

.lp-topbar {
	background: var(--lp-black);
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 34px;
}

.lp-topbar__icon img { width: 40px; height: 40px; object-fit: cover; }

.lp-nav ul {
	list-style: none;
	margin: 0;
	padding: 0 clamp(0px, 4vw, 90px) 0 0;
	display: flex;
	gap: clamp(28px, 8vw, 110px);
}

.lp-nav a {
	color: var(--lp-white);
	text-decoration: none;
	font-size: 17px;
	font-weight: 500;
	transition: color .2s;
}

.lp-nav a:hover,
.lp-nav .is-current a { color: var(--lp-green); }

.lp-brandbar {
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lp-brandbar img { width: 400px; max-width: 70vw; }

/* ---------- Headings ---------- */

.lp-h2 {
	font-size: 52px;
	line-height: 1.1;
	font-weight: 700;
	margin-bottom: 48px;
	letter-spacing: -0.01em;
}

.lp-h3 {
	font-size: 34px;
	line-height: 1.15;
	font-weight: 700;
	margin-top: 70px;
	margin-bottom: 32px;
}

/* ---------- Hero ---------- */

.lp-hero {
	height: 500px;
	background: var(--lp-green-dark) url("assets/img/wave.webp") center / cover no-repeat;
	color: var(--lp-white);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.lp-hero::before,
.lp-cap::before,
.lp-partner__banner::before {
	content: "";
	position: absolute;
	width: 162px;
	height: 174px;
	background: var(--lp-l) no-repeat center / contain;
	z-index: 1;
	pointer-events: none;
}

.lp-hero::before {
	left: var(--lp-pad);
	top: 231px;
}

.lp-hero::after {
	content: "";
	position: absolute;
	right: 69px;
	top: 0;
	width: 238px;
	height: 195px;
	background: var(--lp-d) no-repeat center / contain;
	pointer-events: none;
}

.lp-content .lp-hero .lp-hero__text {
	width: 100%;
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
	align-self: stretch;
	text-align: left;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 76px;
	font-size: 48px;
	line-height: 1.33;
	font-weight: 700;
	position: relative;
	z-index: 2;
}

.lp-hero__text em { font-size: 1.08em; }

/* ---------- Background pattern (LP motif from the PDF) ---------- */

.lp-brands::before,
.lp-production::before,
.lp-production::after,
.lp-about::after,
.lp-info:has(.lp-ppwr)::before {
	content: "";
	position: absolute;
	width: min(760px, 55.6vw);
	height: min(1570px, 114.9vw);
	left: calc(50% - min(100px, 7.3vw));
	background: var(--lp-motif) no-repeat center / contain;
	mix-blend-mode: multiply;
	z-index: -1;
	pointer-events: none;
}

.lp-brands::before { top: 74px; }
.lp-production::before { top: -569px; }
.lp-production::after { top: 1863px; left: calc(50% - min(415px, 30.4vw)); }
.lp-info:has(.lp-ppwr) { position: relative; }
.lp-info:has(.lp-ppwr)::before { top: 363px; }

.lp-about::after {
	width: min(389px, 28.5vw);
	height: min(804px, 58.9vw);
	left: calc(50% + min(169px, 12.4vw));
	top: 82px;
}

/* ---------- Brands ---------- */

.lp-brands { padding-top: 140px; padding-bottom: 110px; }

.lp-content .lp-brand {
	gap: 0;
	min-height: 500px;
	margin-bottom: 32px;
	background: var(--lp-white);
	align-items: stretch !important;
}

.lp-brand__photo { overflow: hidden; background: #000; }
.lp-content .lp-brand__photo .wp-block-image { height: 100%; }

.lp-content .lp-brand__photo img {
	height: 100%;
	object-fit: cover;
	transition: transform .8s ease;
}

.lp-brand:hover .lp-brand__photo img { transform: scale(1.03); }

.lp-content .lp-brand__cardcol { display: flex; }

.lp-content .lp-brand__card.wp-block-cover {
	flex: 1;
	min-height: 500px;
	padding: 0;
	align-items: flex-start;
	justify-content: flex-start;
	color: var(--lp-text);
}

.lp-brand__card .wp-block-cover__image-background { object-position: top center !important; }

.lp-content .lp-brand__card .wp-block-cover__inner-container {
	width: 100%;
	max-width: none;
	padding: 41.5% 20% 30px 23%;
	color: var(--lp-text);
}

.lp-brand__card--spin .wp-block-cover__inner-container { padding-top: 51% !important; padding-left: 20.7% !important; }
.lp-brand__card--lena .wp-block-cover__inner-container { padding-top: 51.7% !important; }

.lp-brand__card p { font-size: 15.5px; line-height: 1.3; margin: 0 0 22px; }

.lp-brand__card p:not(.lp-brand__cta)::first-letter { font-size: 1.35em; font-weight: 700; }

.lp-brand__cta a {
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, color .2s;
}

.lp-brand__cta a:hover { color: var(--lp-green); border-color: currentColor; }

/* ---------- Partner teaser ---------- */

.lp-partner { padding-top: 40px; padding-bottom: 140px; }
.lp-partner .lp-h2 { margin-bottom: 18px; }

.lp-partner__banner {
	position: relative;
	height: 372px;
	color: var(--lp-white);
	overflow: hidden;
	background: #0a7c66 url("assets/img/partner-machine.webp") center / cover no-repeat;
	background-blend-mode: multiply;
}

.lp-partner__banner::before { left: 50px; top: 145px; width: 146px; height: 160px; }

.lp-partner__text {
	position: absolute;
	left: 144px;
	top: 98px;
	margin: 0;
	font-size: 40px;
	line-height: 1.28;
	font-weight: 500;
	z-index: 2;
}

.lp-partner__banner .wp-block-buttons {
	position: absolute;
	right: 26px;
	bottom: 66px;
	margin: 0;
	z-index: 2;
}

.lp-more .wp-block-button__link {
	width: 124px;
	height: 124px;
	padding: 0;
	border-radius: 0;
	background: var(--lp-white);
	color: var(--lp-black);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 20px;
	line-height: 1.2;
	transition: background .2s, color .2s;
}

.lp-more .wp-block-button__link:hover { background: var(--lp-green); color: var(--lp-white); }

/* ---------- Green strips (section titles) ---------- */

.lp-strip {
	background: var(--lp-green-dark) url("assets/img/wave.webp") center 30% / cover no-repeat;
	color: var(--lp-white);
	min-height: 137px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	scroll-margin-top: 20px;
}

.lp-content .lp-strip h1,
.lp-content .lp-strip h2 {
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	padding: 28px 0;
	font-size: 50px;
	line-height: 1.1;
	font-weight: 700;
}

.lp-strip h1 { font-weight: 500 !important; }
.lp-strip--alt { background-position: center 70%; }
.lp-strip--alt2 { background-position: left 50%; }

/* ---------- O nama ---------- */

.lp-about { padding-bottom: 260px; min-height: 900px; position: relative; }


.lp-about > .lp-strip { margin-bottom: 58px; }

.lp-about > :not(.lp-strip) { max-width: 980px; margin-left: max(0px, calc((100% - var(--lp-wrap)) / 2)); }

.lp-about h2 {
	font-family: var(--lp-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 56px;
	line-height: 1.1;
	margin: 0 0 10px;
}

.lp-about p { font-size: 17px; line-height: 1.6; max-width: 760px; margin-bottom: 1.2em; color: #5b5b58; }
.lp-about p strong { color: var(--lp-text); font-weight: 700; }

/* ---------- Kontakt / partner ---------- */

.lp-page-title { margin-top: 30px; margin-bottom: 34px !important; }

.lp-cap {
	min-height: 670px;
	padding-top: 90px;
	padding-bottom: 300px;
	color: var(--lp-white);
	background: #0b6f5c url("assets/img/mogucnosti-bg.webp") center / cover no-repeat;
	background-blend-mode: multiply;
	overflow: hidden;
}

.lp-cap::before { left: max(var(--lp-pad), calc((100% - var(--lp-wrap)) / 2)); top: 120px; width: 146px; height: 162px; }

.lp-cap::after {
	content: "";
	position: absolute;
	right: 152px;
	top: -30px;
	width: 112px;
	height: 140px;
	background: var(--lp-d) no-repeat center / contain;
	transform: rotate(90deg);
}

.lp-cap > *,
.lp-cap > .wp-block-group__inner-container > * { position: relative; z-index: 2; }

.lp-cap__title {
	padding-left: 70px;
	font-size: 52px;
	line-height: 1.2;
	font-weight: 500;
}

.lp-cap__cols .wp-block-column:last-child { padding-top: 55px; font-size: 16px; line-height: 1.3; }
.lp-cap__lead { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.lp-cap__lead strong { font-size: 27px; }

.lp-content > .lp-video {
	position: relative;
	z-index: 3;
	max-width: 870px;
	margin: -265px auto 0 !important;
}

.lp-content .lp-video img { aspect-ratio: 870 / 492; object-fit: cover; }
.lp-content .lp-video video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; background: #000; }

.lp-production { padding-top: 90px; }

.lp-sizes { position: relative; z-index: auto !important; --lp-sizes-w: min(var(--lp-wrap), 100vw - 2 * var(--lp-pad)); }

/* The mint panel is drawn like in the PDF: a "multiply" layer, so the background shapes show through it. */
.lp-content .lp-sizes__img { position: relative; }
.lp-content .lp-sizes__img::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 60.17%;
	background: rgb(228, 240, 237);
	mix-blend-mode: multiply;
	pointer-events: none;
}
.lp-content .lp-sizes__img img { position: relative; }

.lp-content .lp-sizes__cols {
	position: absolute !important;
	inset: 0;
	display: block !important;
	margin: 0;
	z-index: 2;
}

.lp-content .lp-sizes__cols .wp-block-column {
	position: absolute;
	top: 8.3%;
	width: 23%;
	margin: 0;
}

.lp-content .lp-sizes__cols .wp-block-column:nth-child(1) { left: 7.45%; }
.lp-content .lp-sizes__cols .wp-block-column:nth-child(2) { left: 31%; }
.lp-content .lp-sizes__cols .wp-block-column:nth-child(3) { left: 60.85%; }

.lp-size-title {
	font-size: calc(var(--lp-sizes-w) * .0335);
	line-height: 1.05;
	font-weight: 700;
	margin: 0 0 .3em;
}

.lp-sizes__cols p { margin: 0; font-size: max(9px, calc(var(--lp-sizes-w) * .0112)); line-height: 1.32; }

.lp-boxes { gap: 4px !important; }
.lp-content .lp-boxes .wp-block-column:last-child { margin-left: 14px; }
.lp-content .lp-boxes .wp-block-column:not(:last-child) img { aspect-ratio: 4 / 4.3; object-fit: cover; }

.lp-note { margin-top: 22px; font-size: 14px; line-height: 1.3; }
.lp-note strong { color: var(--lp-green); }

.lp-capsules { gap: 0 !important; }
.lp-content .lp-capsules { position: relative; }
.lp-capsules .lp-note { margin-top: 0; }
/* Capsules overlap the left edge of the first bottle photo, as in the PDF */
.lp-content .lp-capsules__img {
	position: absolute;
	left: calc(22% + (78% - 24px) / 4 + 8px - 50px);
	top: 58px;
	width: 84px;
	z-index: 2;
}

.lp-bottles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.lp-bottles > :first-child,
.lp-bottles > .wp-block-group__inner-container > :first-child { grid-column: 2; }
.lp-content .lp-bottles img { aspect-ratio: 4 / 3; object-fit: cover; }

.lp-production > :last-child,
.lp-production > .wp-block-group__inner-container > :last-child { margin-bottom: 110px; }

.lp-info { padding: 46px 0 56px; font-size: 14px; line-height: 1.35; }
.lp-info > :last-child,
.lp-info > .wp-block-group__inner-container > :last-child { margin-bottom: 0; }
.lp-info a { color: var(--lp-green); }
.lp-tight { margin-bottom: 4px !important; }

.lp-cats { list-style: none; padding: 0; margin: 0; }
.lp-cats li { color: var(--lp-green); font-weight: 700; font-size: 17px; line-height: 1.3; }

.lp-ppwr { margin-top: 1.2em; }

.lp-ppwr summary {
	color: var(--lp-green);
	text-decoration: underline;
	cursor: pointer;
	list-style: none;
}

.lp-ppwr summary::-webkit-details-marker { display: none; }
.lp-ppwr summary::after { content: " +"; display: inline-block; margin-left: 4px; text-decoration: none; }
.lp-ppwr[open] summary::after { content: " –"; }
.lp-ppwr[open] summary { margin-bottom: 28px; }

.lp-ppwr h3 { color: var(--lp-green); font-size: 22px; margin: 0 0 18px; }
.lp-ppwr h4 { font-size: 16px; margin: 36px 0 18px; }

.lp-table { border-collapse: collapse; margin: 0 0 10px; }
.lp-table th { text-align: left; font-size: 16px; padding: 0 30px 2px 0; }
.lp-table td { padding: 0 30px 0 0; vertical-align: top; }

.lp-decl { max-width: 520px; gap: 30px !important; margin-top: 26px; }
.lp-decl h4 { font-size: 16px; margin-bottom: 8px; }
.lp-content .lp-decl img { box-shadow: 0 1px 3px rgba(0, 0, 0, .12); background: #fff; }

/* ---------- Contact ---------- */

.lp-contact { padding: 60px 0 120px; }
.lp-contact__grid { gap: 70px !important; }
.lp-contact h3 { font-size: 22px; margin-bottom: 14px; }

.lp-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 22px;
	position: relative;
}

.lp-form .is-full { grid-column: 1 / -1; }

.lp-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }

.lp-form input,
.lp-form textarea {
	width: 100%;
	border: 0;
	border-bottom: 1px solid var(--lp-text);
	background: transparent;
	font: inherit;
	font-size: 16px;
	padding: 8px 0;
	border-radius: 0;
	outline: none;
	transition: border-color .2s;
}

.lp-form textarea { min-height: 130px; resize: vertical; border: 1px solid var(--lp-text); padding: 10px; }
.lp-form input:focus, .lp-form textarea:focus { border-color: var(--lp-green); }
.lp-form .lp-hp { position: absolute; left: -9999px; }

.lp-consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: 13px !important; font-weight: 400 !important; }
.lp-consent input { width: auto; margin-top: 3px; }

.lp-btn {
	justify-self: start;
	background: var(--lp-black);
	color: var(--lp-white);
	border: 0;
	padding: 18px 38px;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
	transition: background .2s;
}

.lp-btn:hover { background: var(--lp-green); }
.lp-btn:disabled { opacity: .6; cursor: wait; }
.lp-alert { animation: lp-fade .3s ease; }
@keyframes lp-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.lp-alert { padding: 14px 18px; margin-bottom: 26px; font-weight: 500; }
.lp-alert--ok { background: var(--lp-mint); color: var(--lp-green-dark); }
.lp-alert--err { background: #f6dcdc; color: #7a1010; border-left: 4px solid #b42318; }

.lp-success {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 18px;
	align-items: start;
	background: rgba(221, 231, 228, .85);
	border-left: 3px solid var(--lp-green);
	color: var(--lp-text);
	padding: 26px 30px;
	outline: none;
	animation: lp-fade .4s ease;
}
.lp-success__icon { width: 34px; height: 34px; color: var(--lp-green); grid-row: 1 / span 3; margin-top: 2px; }
.lp-content .lp-success__title { font-size: 24px; line-height: 1.2; font-weight: 700; margin: 0 0 6px; color: var(--lp-text); }
.lp-success p { font-size: 15px; line-height: 1.4; margin: 0 0 12px; }
.lp-success__again {
	justify-self: start;
	background: none;
	border: 0;
	padding: 0;
	color: var(--lp-green);
	font: inherit;
	font-weight: 700;
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.lp-success__again:hover { color: var(--lp-text); }
.lp-form[hidden] { display: none; }

/* Contact Form 7 version of the same form */
.lp-form--cf7 .wpcf7-form-control-wrap { display: block; position: relative; }
.lp-form--cf7 .hidden-fields-container { display: none; }
.lp-form--cf7 input[aria-invalid="true"],
.lp-form--cf7 textarea[aria-invalid="true"] { border-color: #b42318; }
.lp-form--cf7 .wpcf7-not-valid-tip { display: block; color: #b42318; font-size: 13px; font-weight: 500; margin-top: 6px; }
.lp-form--cf7 .lp-consent { display: block !important; }
.lp-form--cf7 .lp-consent .wpcf7-list-item { display: block; margin: 0; }
.lp-form--cf7 .lp-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; margin: 0; cursor: pointer; }
.lp-form--cf7 .lp-consent input { width: auto; margin-top: 3px; }
.lp-form--cf7 .lp-submit { display: flex; align-items: center; gap: 14px; }
.lp-form.lp-form--cf7 input.lp-btn {
	width: auto;
	border: 0;
	padding: 18px 38px;
	background: var(--lp-black);
	color: var(--lp-white);
	font-weight: 700;
	cursor: pointer;
}
.lp-form.lp-form--cf7 input.lp-btn:hover { background: var(--lp-green); }
.lp-form.lp-form--cf7 input.lp-btn:disabled { opacity: .6; cursor: wait; }
.lp-form--cf7 .wpcf7-spinner { margin: 0; }
.wpcf7 form.lp-form.lp-form--cf7 .wpcf7-response-output {
	grid-column: 1 / -1;
	order: -1;
	margin: 0 0 8px;
	padding: 14px 18px;
	border: 0;
	border-left: 4px solid #b42318;
	background: #f6dcdc;
	color: #7a1010;
	font-weight: 500;
	animation: lp-fade .3s ease;
}
.wpcf7 form.lp-form.lp-form--cf7.init .wpcf7-response-output,
.wpcf7 form.lp-form.lp-form--cf7.resetting .wpcf7-response-output,
.wpcf7 form.lp-form.lp-form--cf7.submitting .wpcf7-response-output,
.wpcf7 form.lp-form.lp-form--cf7.sent .wpcf7-response-output { display: none; }
@media (max-width: 781px) {
	.lp-success { padding: 20px; column-gap: 14px; }
	.lp-success__icon { width: 28px; height: 28px; }
	.lp-content .lp-success__title { font-size: 21px; }
}

/* ---------- Footer ---------- */

.lp-footer { background: var(--lp-white); padding: 46px var(--lp-pad) 70px; }

.lp-footer__line {
	max-width: var(--lp-wrap);
	margin: 0 auto;
	border-top: 1px solid var(--lp-text);
	padding-top: 18px;
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
}

.lp-footer__line p { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	.lp-content .lp-hero .lp-hero__text { font-size: 40px; }
	.lp-brand__card p { font-size: 14px; }
	.lp-cap__cols .wp-block-column:last-child { padding-left: 70px; }
}

@media (max-width: 781px) {
	.lp-topbar { height: 72px; padding: 0 20px; }
	.lp-nav ul { gap: 30px; padding-right: 0; }
	.lp-brandbar { height: 130px; }
	.lp-hero { height: 420px; }
	.lp-content .lp-hero .lp-hero__text { font-size: 30px; padding-left: 50px; }
	.lp-hero::before { width: 90px; height: 110px; top: 190px; }
	.lp-hero::after { width: 125px; height: 102px; right: 20px; }
	.lp-h2 { font-size: 36px; margin-bottom: 30px; }
	.lp-h3 { font-size: 26px; margin-top: 50px; }
	.lp-brands { padding-top: 80px; padding-bottom: 60px; }
	.lp-brand--reverse { flex-direction: column-reverse; }
	.lp-content .lp-brand__photo img { aspect-ratio: 7 / 5; height: auto; }
	.lp-content .lp-brand__card.wp-block-cover { min-height: 0; aspect-ratio: 323 / 347; }
	.lp-brand__card p { font-size: 14px; margin-bottom: 14px; }
	.lp-partner { padding-bottom: 80px; }
	.lp-partner__banner { height: 340px; }
	.lp-partner__text { left: 60px; top: 60px; right: 20px; font-size: 26px; }
	.lp-partner__banner::before { left: 20px; top: 90px; width: 90px; height: 110px; }
	.lp-more .wp-block-button__link { width: 96px; height: 96px; font-size: 16px; }
	.lp-partner__banner .wp-block-buttons { bottom: 24px; right: 20px; }
	.lp-content .lp-strip h1, .lp-content .lp-strip h2 { font-size: 34px; }
	.lp-strip { min-height: 100px; }
	.lp-about { padding-bottom: 120px; min-height: 0; }
	.lp-about h2 { font-size: 38px; }
	.lp-cap { padding-top: 70px; padding-bottom: 190px; min-height: 0; }
	.lp-cap::before { width: 90px; height: 110px; top: 100px; }
	.lp-cap::after { display: none; }
	.lp-cap__title { font-size: 38px; padding-left: 50px; }
	.lp-cap__cols .wp-block-column:last-child { padding: 0 0 0 50px; }
	.lp-content > .lp-video { margin-top: -150px !important; }
	/* Stick sizes on mobile: one mint panel, rows separated by a thin black line (like the desktop lines),
	   text and graphic alternate sides: text|graphic, graphic|text, text|graphic */
	.lp-content .lp-sizes__cols {
		position: relative !important;
		z-index: auto !important;
		display: block !important;
		padding: 0 clamp(16px, 3.5vw, 30px);
		margin: 0 0 8px;
	}
	/* mint panel as a multiply layer (like desktop), so the background pattern shows through */
	.lp-content .lp-sizes__cols::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgb(228, 240, 237);
		mix-blend-mode: multiply;
		pointer-events: none;
	}
	.lp-content .lp-sizes__cols .wp-block-column {
		position: static;
		width: auto;
		display: grid !important;
		grid-template-columns: 1fr var(--gw);
		grid-template-rows: auto auto 1fr;
		align-items: start;
		column-gap: clamp(14px, 3vw, 28px);
		padding: clamp(18px, 3.5vw, 30px) 0;
		margin: 0;
		background: none;
	}
	.lp-content .lp-sizes__cols .wp-block-column { position: relative !important; left: 0 !important; top: 0 !important; }
	.lp-content .lp-sizes__cols .wp-block-column + .wp-block-column::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: calc(-1 * clamp(16px, 3.5vw, 30px) - 14px);
		border-top: 1px solid rgba(29, 29, 27, .55);
	}
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2)::before { left: calc(-1 * clamp(16px, 3.5vw, 30px) - 28px); right: 0; }
	.lp-content .lp-sizes__cols .wp-block-column > * { grid-column: 1; }
	.lp-content .lp-sizes__cols .wp-block-column > :first-child { grid-row: 1; }
	.lp-content .lp-sizes__cols .wp-block-column > :last-child { grid-row: 2; }
	.lp-content .lp-sizes__cols .wp-block-column::after {
		content: "";
		grid-column: 2;
		grid-row: 1 / -1;
		width: 100%;
		background-image: url("assets/img/stick-sizes-full.webp");
		background-repeat: no-repeat;
	}
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2) { grid-template-columns: var(--gw) 1fr; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2) > * { grid-column: 2; text-align: right; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2)::after { grid-column: 1; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(1) { --gw: 29.7%; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(1)::after { aspect-ratio: 0.700; background-size: 442.48% auto; background-position: 9.04% 33.33%; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2) { --gw: 37.8%; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(2)::after { aspect-ratio: 0.774; background-size: 347.22% auto; background-position: 42.98% 28%; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(3) { --gw: 52%; }
	.lp-content .lp-sizes__cols .wp-block-column:nth-child(3)::after { aspect-ratio: 0.849; background-size: 252.53% auto; background-position: 100% 15.09%; }
	.lp-size-title { font-size: clamp(26px, 5.4vw, 40px); }
	.lp-sizes__cols p { font-size: clamp(12.5px, 2.25vw, 17px); }
	/* below the cards: only the product strip from the big graphic */
	.lp-content .lp-sizes__img::before { display: none; }
	.lp-content .lp-sizes__img { background: url("assets/img/stick-band-m2.webp") center bottom / 100% 100% no-repeat; }
	.lp-content .lp-sizes__img img { aspect-ratio: 2332 / 892; object-fit: cover; object-position: 50% 100%; opacity: 0; }
	.lp-content .lp-capsules__img { display: none; }
	/* Bottles: 3 black in the first row, 4 white in the second (like desktop, just smaller) */
	.lp-bottles { grid-template-columns: repeat(12, 1fr); gap: 6px; }
	.lp-bottles > *, .lp-bottles > .wp-block-group__inner-container > * { grid-column: span 3 !important; }
	.lp-bottles > :nth-child(-n+3), .lp-bottles > .wp-block-group__inner-container > :nth-child(-n+3) { grid-column: span 4 !important; }
	.lp-capsules .lp-note { margin-bottom: 14px; }

	/* Stick boxes on mobile:  A B C  /  TEXT D */
	.lp-content > .lp-production {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 4px;
		row-gap: 0;
		grid-auto-flow: row dense;
	}
	.lp-production > *,
	.lp-production > .wp-block-group__inner-container > * { grid-column: 1 / -1; min-width: 0; margin-left: 0 !important; margin-right: 0 !important; }
	/* B, C, D come after the note; everything after the note after them */
	/* A B C / TEXT D */
	.lp-content .lp-boxes > .wp-block-column:nth-child(4) { order: 1; grid-column: 3 !important; }
	.lp-content .lp-production .lp-boxes + .lp-note ~ * { order: 2; }
	.lp-content .lp-boxes > .wp-block-column:nth-child(2) { grid-column: 2; }
	.lp-content .lp-boxes > .wp-block-column:nth-child(3) { grid-column: 3; }
	.lp-content .lp-production .lp-boxes.wp-block-columns { display: contents !important; }
	.lp-content .lp-boxes > .wp-block-column { grid-column: auto; margin: 0 0 4px !important; min-width: 0; }
	.lp-content .lp-boxes > .wp-block-column:nth-child(1) { grid-column: 1; }
	.lp-content .lp-boxes .wp-block-column img { width: 100%; height: auto !important; aspect-ratio: 4 / 4.3; object-fit: cover; }
	.lp-content .lp-production .lp-boxes + .lp-note {
		grid-column: 1 / span 2;
		align-self: center;
		margin: 0 10px 4px 0 !important;
		font-size: 14px;
		line-height: 1.4;
	}
	.lp-form { grid-template-columns: 1fr; }
	.lp-table { font-size: 13px; }
	.lp-table th, .lp-table td { padding-right: 14px; }
}

@media (max-width: 781px) and (min-resolution: 2dppx) {
	.lp-content .lp-sizes__cols .wp-block-column + .wp-block-column::before { border-top: .5px solid #1d1d1b; }
}

@media (max-width: 781px) {
	.lp-production { padding-top: 40px; }
	.lp-production .lp-h3:first-child,
	.lp-production > .wp-block-group__inner-container > .lp-h3:first-child { margin-top: 0; }

	/* background pattern on mobile: motifs along the screen edges, alternating left / right down the whole page */
	.lp-brands::before, .lp-production::before, .lp-production::after,
	.lp-about::after, .lp-info:has(.lp-ppwr)::before { display: none; }
	.lp-content { position: relative; }
	.lp-content::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: -1;
		pointer-events: none;
		mix-blend-mode: multiply;
		background-image: var(--lp-motif-tile), var(--lp-motif-tile);
		background-repeat: repeat-y, repeat-y;
		background-size: 72vw auto, 72vw auto;
		background-position: -38vw 40vw, calc(100% + 38vw) 196vw;
	}
}

/* ==========================================================================
   Kontakt 2 – modern second part
   ========================================================================== */

.lp-content > .lp-k2-section { padding-top: 96px; padding-bottom: 96px; position: relative; }
.lp-content > .lp-k2-section--white { background: var(--lp-white); }
.lp-k2-section + .lp-strip { margin-top: 0; }

.lp-k2-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lp-green);
	margin-bottom: 14px !important;
}

.lp-content .lp-k2-title { font-size: 48px; line-height: 1.08; font-weight: 700; margin: 0 0 18px; letter-spacing: -0.01em; }
.lp-k2-lead { font-size: 19px; line-height: 1.5; max-width: 640px; color: #3d3d3a; margin-bottom: 44px !important; }

.lp-k2-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6b6b67; margin-bottom: 12px !important; }

/* cards */
.lp-k2-steps, .lp-k2-cards3, .lp-k2-facts { gap: 16px !important; margin-bottom: 40px !important; align-items: stretch !important; }
.lp-k2-card {
	background: var(--lp-white);
	border: 1px solid rgba(29, 29, 27, .1);
	padding: 28px 26px 24px;
	transition: border-color .2s, transform .2s;
}
.lp-k2-section--white .lp-k2-card { background: var(--lp-bg); }
.lp-k2-card:hover { border-color: var(--lp-green); transform: translateY(-2px); }
.lp-k2-card h3 { font-size: 20px; line-height: 1.25; margin: 0 0 10px; }
.lp-k2-card p { font-size: 16px; line-height: 1.55; color: #2b2b29; margin: 0; }
.lp-k2-card--accent { border-color: var(--lp-green); border-width: 2px; }
.lp-k2-cards3 > .wp-block-column { flex-basis: 0 !important; flex-grow: 1 !important; }
.lp-content .lp-k2-step__num {
	font-family: var(--lp-serif);
	font-style: italic;
	font-size: 44px;
	line-height: 1;
	color: var(--lp-green);
	margin-bottom: 22px;
}

/* split rows */
.lp-k2-split { gap: 56px !important; margin-bottom: 40px !important; }

.lp-k2-quote { border-left: 3px solid var(--lp-green); padding-left: 28px; }
.lp-content .lp-k2-quote__text { font-family: var(--lp-serif); font-style: italic; font-size: 32px; line-height: 1.15; color: var(--lp-text); margin-bottom: 14px; }
.lp-k2-quote p:not(.lp-k2-quote__text) { font-size: 16px; line-height: 1.55; color: #3d3d3a; }

.lp-content .lp-k2-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-k2-chips li {
	font-size: 14px;
	font-weight: 500;
	color: var(--lp-green-dark);
	background: var(--lp-mint);
	padding: 9px 16px;
	border-radius: 999px;
}

/* banner: ready product */
.lp-k2-banner {
	background: var(--lp-green-dark) url("assets/img/wave.webp") center / cover no-repeat;
	color: var(--lp-white);
	padding: 40px 44px;
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 40px;
	align-items: center;
}
.lp-k2-banner > .wp-block-group__inner-container { display: contents; }
.lp-k2-banner h3 { grid-column: 1; font-size: 30px; margin: 0 0 6px; color: var(--lp-white); }
.lp-k2-banner p { grid-column: 1; margin: 0; font-size: 16px; }
.lp-content .lp-k2-banner .lp-k2-link { grid-column: 2; grid-row: 1 / span 2; }
.lp-k2-banner .lp-k2-link a { display: inline-block; background: var(--lp-white); color: var(--lp-black); padding: 16px 26px; }
.lp-k2-banner .lp-k2-link a:hover { background: var(--lp-mint); }

.lp-k2-link a { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--lp-green); transition: color .2s, background .2s; }
.lp-k2-link a:hover { color: var(--lp-text); }

/* check list */
.lp-content .lp-k2-checks { list-style: none; padding: 0; margin: 0 0 24px; }
.lp-k2-checks li {
	position: relative;
	padding: 2px 0 22px 44px;
	margin-bottom: 22px;
	border-bottom: 1px solid rgba(29, 29, 27, .12);
	font-size: 16px;
	line-height: 1.55;
	color: #3d3d3a;
}
.lp-k2-checks li { color: var(--lp-text) !important; font-size: 17px !important; }
.lp-k2-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--lp-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23008871' stroke-width='2.4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.lp-k2-note { background: var(--lp-bg); padding: 16px 20px; font-size: 15px; border-left: 3px solid var(--lp-green); }

/* badges on material cards */
.lp-content .lp-k2-badge {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 5px 10px;
	margin-bottom: 18px !important;
	background: rgba(29, 29, 27, .06);
	color: #555;
}
.lp-content .lp-k2-badge--on { background: var(--lp-green); color: var(--lp-white); }

/* 2030 alert */
.lp-k2-alert {
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 28px;
	align-items: center;
	background: var(--lp-mint);
	padding: 26px 30px;
	margin-bottom: 18px;
}
.lp-k2-alert > .wp-block-group__inner-container { display: contents; }
.lp-content .lp-k2-alert__year { font-size: 44px; font-weight: 700; color: var(--lp-green); margin: 0; line-height: 1; }
.lp-k2-alert p:not(.lp-k2-alert__year) { margin: 0; font-size: 16px; line-height: 1.5; }

.lp-k2-details { background: var(--lp-white); border: 1px solid rgba(29, 29, 27, .1); padding: 20px 26px; font-size: 15px; line-height: 1.5; }
.lp-k2-details summary { font-weight: 700; }

/* declarations (text cards) */
.lp-k2-decl { gap: 16px !important; align-items: stretch !important; }
.lp-k2-reqcard:hover { transform: none; }
.lp-content .lp-k2-reqcard h3 { font-size: 20px; margin-bottom: 12px; }
.lp-content .lp-k2-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 5px 10px;
	background: var(--lp-mint);
	color: var(--lp-green-dark);
	margin-bottom: 18px !important;
}
.lp-content .lp-k2-tag--warm { background: #f4ecdc; color: #5c4416; }
.lp-content .lp-k2-reqs__intro { font-size: 13px !important; font-style: italic; color: #6b6b67 !important; margin-bottom: 8px !important; }
.lp-content .lp-k2-reqs { list-style: none; padding: 0; margin: 0; }
.lp-k2-reqs li {
	position: relative;
	padding: 8px 0 8px 28px;
	border-top: 1px solid rgba(29, 29, 27, .08);
	font-size: 14px;
	line-height: 1.4;
	color: #3d3d3a;
}
.lp-k2-reqs li:first-child { border-top: 0; }
.lp-k2-reqs li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%23008871' stroke-width='1.4'/%3E%3Cpath d='M4.8 8.3l2.2 2.2 4.2-4.6' fill='none' stroke='%23008871' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat;
}
.lp-k2-reqs--plus li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%238a6a2a' stroke-width='1.4'/%3E%3Cpath d='M8 4.5v7M4.5 8h7' stroke='%238a6a2a' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* facts */
.lp-k2-fact { border-top: 2px solid var(--lp-green); padding-top: 20px; }
.lp-content .lp-k2-fact__big { font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--lp-text); margin-bottom: 10px; }
.lp-k2-fact p:not(.lp-k2-fact__big) { font-size: 16px; line-height: 1.55; color: #3d3d3a; margin: 0; }
.lp-k2-fact p strong { display: block; font-size: 19px; line-height: 1.3; color: var(--lp-text); margin-bottom: 6px; }

.lp-k2-case { background: var(--lp-white); padding: 34px 38px; border-left: 3px solid var(--lp-green); max-width: 860px; }
.lp-k2-case p { font-size: 16px; line-height: 1.6; }
.lp-k2-case p:last-child { margin-bottom: 0; }

/* background pattern in the new sections (desktop) */
.lp-k2-section::before {
	content: "";
	position: absolute;
	width: min(560px, 41vw);
	height: min(1157px, 85vw);
	right: -6vw;
	top: 40px;
	background: var(--lp-motif) no-repeat center / contain;
	mix-blend-mode: multiply;
	z-index: -1;
	pointer-events: none;
}
.lp-k2-section--white::before { display: none; }
.lp-k2-section { isolation: auto; }

@media (max-width: 781px) {
	.lp-content > .lp-k2-section { padding-top: 60px; padding-bottom: 60px; }
	.lp-k2-section::before { display: none; }
	.lp-content .lp-k2-title { font-size: 34px; }
	.lp-k2-lead { font-size: 17px; margin-bottom: 30px !important; }
	.lp-k2-steps, .lp-k2-facts { flex-wrap: wrap !important; }
	.lp-k2-steps > .wp-block-column, .lp-k2-facts > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
	.lp-k2-split { gap: 32px !important; }
	.lp-content .lp-k2-quote__text { font-size: 28px; }
	.lp-k2-banner { grid-template-columns: 1fr; padding: 30px 24px; }
	.lp-content .lp-k2-banner .lp-k2-link { grid-column: 1; grid-row: auto; margin-top: 20px; }
	.lp-k2-banner h3 { font-size: 24px; }
	.lp-k2-alert { grid-template-columns: 1fr; row-gap: 10px; padding: 22px; }
	.lp-content .lp-k2-alert__year { font-size: 36px; }
	.lp-k2-case { padding: 24px 22px; }
	.lp-k2-card { padding: 22px 20px; }
	.lp-content .lp-k2-step__num { font-size: 36px; margin-bottom: 14px; }
	.lp-content .lp-k2-fact__big { font-size: 26px; }
}
@media (max-width: 480px) {
	.lp-k2-steps > .wp-block-column, .lp-k2-facts > .wp-block-column { flex-basis: 100% !important; }
}

/* ==========================================================================
   Mobile fixes – Početna: brand cards & partner banner
   ========================================================================== */
@media (max-width: 1300px) {
	/* brand cards: background shows only the logo area on top, text flows below on white */
	.lp-content .lp-brand__card.wp-block-cover {
		aspect-ratio: auto !important;
		min-height: 0 !important;
		background: var(--lp-white);
		display: block;
		overflow: hidden;
	}
	.lp-content .lp-brand__card .wp-block-cover__image-background {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		width: 100%;
		height: auto;
		object-fit: cover;
		object-position: top center !important;
	}
	.lp-content .lp-brand__card--redovita .wp-block-cover__image-background { aspect-ratio: 323 / 148; }
	.lp-content .lp-brand__card--spin .wp-block-cover__image-background { aspect-ratio: 323 / 172; }
	.lp-content .lp-brand__card--lena .wp-block-cover__image-background { aspect-ratio: 323 / 172; }
	.lp-content .lp-brand__card .wp-block-cover__inner-container,
	.lp-content .lp-brand__card--spin .wp-block-cover__inner-container,
	.lp-content .lp-brand__card--lena .wp-block-cover__inner-container {
		position: relative;
		padding: 46% 9% 30px !important;
	}
	.lp-content .lp-brand__card--spin .wp-block-cover__inner-container,
	.lp-content .lp-brand__card--lena .wp-block-cover__inner-container { padding-top: 54% !important; }
	.lp-brand__card p { font-size: 15px; line-height: 1.45; margin-bottom: 16px; }
	.lp-brand__card p.lp-brand__cta { margin-bottom: 0; }

	/* partner banner: flowing layout instead of absolute positions */
	.lp-partner__banner {
		height: auto !important;
		padding: 40px 22px 22px 22px !important;
		display: flex;
		flex-direction: column;
	}
	/* white L stays bottom-left, like on desktop */
	.lp-partner__banner::before { left: 22px; top: auto; bottom: 22px; width: 62px; height: 68px; }
	.lp-content .lp-partner__text {
		position: static !important;
		font-size: 24px !important;
		line-height: 1.3;
		margin: 0 0 26px !important;
		max-width: none;
	}
	.lp-content .lp-partner__banner .wp-block-buttons {
		position: static !important;
		align-self: flex-end;
		margin: 0 !important;
	}
}

@media (max-width: 1300px) {
	/* Redovita: the plant decoration sits right under the logo (like the shaker next to the Spin logo) */
	.lp-content .lp-brand__card--redovita.wp-block-cover { display: flex !important; flex-direction: column; }
	.lp-content .lp-brand__card--redovita .wp-block-cover__inner-container { order: 2; padding-top: 4% !important; }
	.lp-content .lp-brand__card--redovita::after {
		content: "";
		order: 1;
		display: block;
		position: relative;
		width: 100%;
		margin-top: 38%;
		aspect-ratio: 970 / 193;
		background: url("assets/img/card-redovita.webp") no-repeat;
		background-size: 100% auto;
		background-position: 0 93.9%;
	}
}

@media (max-width: 1300px) {
	/* partner banner: L wraps the text (left side + foot under the last line), like on desktop */
	.lp-partner__banner::before { display: none; }
	.lp-content .lp-partner__text {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		right: auto !important;
		margin-left: 46px !important;
		margin-bottom: 44px !important;
	}
	.lp-content .lp-partner__text::before {
		content: "";
		position: absolute;
		left: -46px;
		top: 20px;
		bottom: -34px;
		width: 72px;
		border-left: 18px solid var(--lp-white);
		border-bottom: 18px solid var(--lp-white);
	}
	.lp-partner__banner { padding-left: 26px !important; }
}

.lp-k2-decl .lp-k2-label { margin-bottom: 4px !important; }
@media (max-width: 781px) { .lp-k2-facts > .wp-block-column { flex-basis: 100% !important; } .lp-k2-cards3 > .wp-block-column { flex-basis: 100% !important; } }

/* ---------- Kontakt page: company details + form ---------- */
.lp-kontakt-page > .lp-strip { margin-bottom: 0; }
.lp-content > .lp-kontakt { padding-top: 70px; padding-bottom: 120px; }
.lp-content .lp-kinfo__name { font-size: 30px; line-height: 1.15; font-weight: 700; margin: 0 0 14px; }
.lp-kinfo p { font-size: 15.5px; line-height: 1.6; color: #5b5b58; margin: 0 0 28px; }
.lp-content .lp-kinfo h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--lp-text); }
.lp-kinfo a { color: var(--lp-green); text-decoration: none; font-weight: 500; white-space: nowrap; }
.lp-kinfo a:hover { text-decoration: underline; }
.lp-kinfo .lp-kinfo__company { padding-bottom: 28px; border-bottom: 1px solid rgba(29, 29, 27, .15); }
.lp-content .lp-kform__title { font-size: 40px; line-height: 1.1; font-weight: 700; margin: 0 0 30px; }
@media (max-width: 781px) {
	.lp-content > .lp-kontakt { padding-top: 44px; padding-bottom: 70px; }
	.lp-content .lp-kinfo__name { font-size: 24px; }
	.lp-kinfo p { font-size: 15px; }
	.lp-content .lp-kform__title { font-size: 30px; }
}

/* Ugovorna proizvodnja – declarations as text cards */
.lp-content .lp-decl--text { max-width: 980px; gap: 30px !important; align-items: stretch !important; }
.lp-decl--text > .wp-block-column { display: flex; flex-direction: column; }
.lp-decl--text > .wp-block-column > .wp-block-group,
.lp-decl--text > .wp-block-column > .wp-block-group__inner-container > .wp-block-group { flex: 1; }
.lp-decl--text .lp-k2-card { background: var(--lp-white); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.05); }
.lp-decl--text h4 { font-size: 20px; margin: 0 0 12px; }
.lp-decl--text .lp-k2-card h3 { font-size: 18px; font-weight: 600; }

/* Ugovorna proizvodnja – declaration cards styled like the original graphics */
.lp-content .lp-decl--text { max-width: 1040px; }
.lp-decl--text .lp-k2-card {
	padding: 14px 16px 12px;
	border: 1px solid #ececea;
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.lp-decl--text .lp-k2-card:hover { border-color: #ececea; }
.lp-content .lp-decl--text .lp-k2-card h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 19px;
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 14px;
	color: #1d1d1b;
}
.lp-decl--text .lp-k2-card h3::before {
	content: "";
	flex: 0 0 24px;
	height: 24px;
	background: no-repeat center / contain;
}
/* apple */
.lp-decl--text > .wp-block-column:first-child .lp-k2-card h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b78c4' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7.5c-1.4-1.1-3.2-1.4-4.7-.8C5 7.6 4 10.1 4.5 13c.6 3.6 3 7 5 7 1 0 1.5-.5 2.5-.5s1.5.5 2.5.5c2 0 4.4-3.4 5-7 .5-2.9-.5-5.4-2.8-6.3-1.5-.6-3.3-.3-4.7.8z'/%3E%3Cpath d='M12 7.5c0-2 1-3.6 2.8-4.5'/%3E%3C/svg%3E");
}
/* pill */
.lp-decl--text > .wp-block-column:last-child .lp-k2-card h3::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1b' stroke-width='1.7' stroke-linecap='round'%3E%3Crect x='2.2' y='8' width='19.6' height='8' rx='4' transform='rotate(-45 12 12)'/%3E%3Cpath d='M9.2 9.2l5.6 5.6'/%3E%3C/svg%3E");
}
.lp-content .lp-decl--text .lp-k2-tag {
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 16px !important;
	background: #dfe8f4;
	color: #3d5c84;
}
.lp-content .lp-decl--text .lp-k2-tag--warm { background: #f3ebdc; color: #5f4b2b; }
.lp-content .lp-decl--text .lp-k2-reqs__intro { font-size: 14px !important; color: #555 !important; margin-bottom: 10px !important; }
.lp-decl--text .lp-k2-reqs li {
	border-top: 0;
	padding: 4px 0 4px 28px;
	font-size: 15px;
	line-height: 1.35;
	color: #2a2a28;
}
.lp-decl--text .lp-k2-reqs li::before { top: 6px; width: 17px; height: 17px; }
.lp-decl--text .lp-k2-reqs:not(.lp-k2-reqs--plus) li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.8' fill='none' stroke='%233a7a5e' stroke-width='1.3'/%3E%3Cpath d='M5 8.2l2 2 4-4.3' fill='none' stroke='%233a7a5e' stroke-width='1.4'/%3E%3C/svg%3E");
}
.lp-decl--text .lp-k2-reqs--plus li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.8' fill='none' stroke='%235e4a2e' stroke-width='1.3'/%3E%3Cpath d='M8 5v6M5 8h6' stroke='%235e4a2e' stroke-width='1.4'/%3E%3C/svg%3E");
}
.lp-decl--text h4 { font-size: 22px; }

/* Ugovorna proizvodnja – more readable text blocks */
.lp-info p { font-size: 16px; line-height: 1.65; margin: 0 0 14px; max-width: none; color: #3a3a37; }
.lp-info p strong { color: var(--lp-text); font-weight: 700; }
.lp-info .lp-cats { margin-top: 6px; }

/* Certificate copies */
.lp-certs__title { margin-top: 26px !important; }
.lp-content .lp-certs { gap: 18px !important; max-width: 720px; margin-top: 4px; }
.lp-content .lp-cert img { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 8px 22px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.lp-content .lp-cert a:hover img { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(0,0,0,.1), 0 14px 30px rgba(0,0,0,.1); }
@media (max-width: 781px) {
	.lp-content .lp-certs.wp-block-columns { flex-wrap: nowrap !important; gap: 10px !important; }
	.lp-content .lp-certs > .wp-block-column { flex-basis: 0 !important; flex-grow: 1; }
}

/* TÜV NORD seals */
.lp-content .lp-tuv { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 10px; }
.lp-content .lp-tuv > .wp-block-group__inner-container { display: contents; }
.lp-content .lp-tuv .lp-tuv__seal { margin: 0; width: 110px; }
.lp-content .lp-tuv .lp-tuv__seal img { width: 110px; height: 110px; }
@media (max-width: 781px) {
	.lp-content .lp-tuv { gap: 14px; }
	.lp-content .lp-tuv .lp-tuv__seal, .lp-content .lp-tuv .lp-tuv__seal img { width: 84px; height: 84px; }
}

/* "Kopije certifikata" toggle */
.lp-certs-toggle { margin-top: 18px; }
.lp-certs-toggle[open] summary { margin-bottom: 8px; }
.lp-certs-toggle .lp-tuv { margin-top: 18px; }

/* Lightbox (certificates) */
.lp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(10, 20, 18, .88);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 70px;
	animation: lp-fade .2s ease;
}
.lp-lightbox[hidden] { display: none; }
.lp-lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 10px 40px rgba(0,0,0,.4); background: #fff; }
.lp-lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; opacity: .85; transition: opacity .2s; }
.lp-lightbox button:hover { opacity: 1; }
.lp-lightbox__close { top: 14px; right: 22px; font-size: 44px; }
.lp-lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 10px; }
.lp-lightbox__prev { left: 12px; }
.lp-lightbox__next { right: 12px; }
@media (max-width: 781px) {
	.lp-lightbox { padding: 60px 12px; }
	.lp-lightbox__nav { top: auto; bottom: 6px; transform: none; font-size: 48px; }
	.lp-lightbox__prev { left: 30%; }
	.lp-lightbox__next { right: 30%; }
}
.lp-content .lp-cert a { cursor: zoom-in; }
.lp-content .lp-tuv img { cursor: zoom-in; transition: transform .2s; }
.lp-content .lp-tuv img:hover { transform: scale(1.05); }
.lp-lightbox.is-seal .lp-lightbox__img { background: none; box-shadow: none; width: min(520px, 80vw); height: auto; }
