/* ==========================================================================
   Iris — pravne stranice (body.iris-legal) i 404 ([iris_404])
   ========================================================================== */

/* ---------- Pravne stranice ---------- */
/* Elementor: container > Heading (naslov) + Text Editor (tekst). Sadržaj se ne menja, samo izgled. */

body.iris-legal { background: #FFFFFF; }

body.iris-legal { overflow-x: clip; }

body.iris-legal .elementor > .e-con:first-child {
	padding-top: 0 !important;
	margin-top: 0 !important;
	--padding-top: 0px;
	--padding-bottom: 96px;
	--padding-left: 20px;
	--padding-right: 20px;
	--gap: 0px;
}

body.iris-legal .elementor-widget-heading {
	position: relative;
	z-index: 0;
	width: 100% !important;
	margin: 0 0 56px !important;
	padding: 72px 0 56px;
	text-align: center;
}

/* Krem traka preko cele širine ekrana, iza naslova */
body.iris-legal .elementor-widget-heading::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	background: #F1EEE6;
}

body.iris-legal .elementor-widget-heading .elementor-heading-title {
	max-width: 760px;
	margin: 0 auto;
	font-family: 'Montserrat', sans-serif !important;
	font-size: clamp(30px, 4vw, 46px) !important;
	font-weight: 600 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.015em;
	color: #0C291D !important;
}

body.iris-legal .elementor-widget-heading .elementor-heading-title::before {
	content: "Iris Naturals";
	display: block;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #BC9756;
}

body.iris-legal .elementor-widget-text-editor {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 15.5px !important;
	line-height: 1.8 !important;
	color: rgba(28, 26, 22, 0.78) !important;
}

body.iris-legal .elementor-widget-text-editor * {
	font-family: inherit !important;
	font-style: normal !important;
}

body.iris-legal .elementor-widget-text-editor p { margin: 0 0 16px; }

/* Naslovi sekcija su u tekstu napisani kao podebljan pasus */
body.iris-legal .elementor-widget-text-editor p:has(> b:only-child),
body.iris-legal .elementor-widget-text-editor p:has(> strong:only-child) {
	margin: 40px 0 12px;
	padding-top: 24px;
	border-top: 1px solid rgba(12, 41, 29, 0.1);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #0C291D;
}

body.iris-legal .elementor-widget-text-editor p:first-child:has(> b:only-child),
body.iris-legal .elementor-widget-text-editor p:first-child:has(> strong:only-child) { margin-top: 0; padding-top: 0; border-top: 0; }

body.iris-legal .elementor-widget-text-editor b,
body.iris-legal .elementor-widget-text-editor strong { font-weight: 600 !important; color: #0C291D; }

body.iris-legal .elementor-widget-text-editor span[style*="font-weight: 400"] { font-weight: inherit !important; }

body.iris-legal .elementor-widget-text-editor a {
	color: #0C291D !important;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #BC9756;
	text-underline-offset: 3px;
}

body.iris-legal .elementor-widget-text-editor a:hover { color: #BC9756 !important; }

body.iris-legal .elementor-widget-text-editor ul,
body.iris-legal .elementor-widget-text-editor ol { margin: 0 0 16px; padding-left: 22px; }
body.iris-legal .elementor-widget-text-editor li { margin: 0 0 6px; }

@media (max-width: 767px) {
	body.iris-legal .elementor-widget-heading { padding: 48px 0 40px; margin-bottom: 36px !important; }
	body.iris-legal .elementor-widget-text-editor { font-size: 15px !important; }
}

/* ---------- 404 ---------- */

body.iris-404-page .e-con:has(> .elementor-widget-shortcode .iris-404),
body.iris-404-page .e-con:has(> .e-con-inner > .elementor-widget-shortcode .iris-404) {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--content-width: 100%;
	padding: 0;
	background: none;
}

body.iris-404-page .e-con:has(> .e-con-inner > .elementor-widget-shortcode .iris-404) > .e-con-inner { max-width: none; padding: 0; }
body.iris-404-page .elementor-widget-shortcode:has(.iris-404) { width: 100%; max-width: 100%; margin: 0; }

.i404-hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 88px;
	background: var(--h-stone);
	text-align: center;
}

.iris-home .i404-code {
	margin: 0 0 4px;
	font-size: clamp(96px, 16vw, 180px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	color: rgba(12, 41, 29, 0.08);
}

.iris-home .i404-title { font-size: clamp(30px, 4vw, 46px); margin: 0 auto 16px; max-width: 720px; }
.iris-home .i404-text { max-width: 520px; margin: 0 auto 32px; font-size: 17px; color: var(--h-muted); }
.i404-actions { justify-content: center; }

.i404-products { background: #FFFFFF; }

@media (max-width: 600px) {
	.i404-hero { padding: 64px 0 56px; }
	.i404-actions { flex-direction: column; align-items: stretch; }
}
