/* Daigų pasaulis – bendra išvaizda Blocksy temoje (pagal buvusią Fiorello išvaizdą). */

/* ---------- Puslapio pavadinimo juosta (kategorijos, parduotuvė) ---------- */
[data-prefix][data-prefix] .hero-section[data-type="type-2"] {
	background-color: #fafaf9;
	--container-padding: 26px 0; /* live vaiko tema: juosta prisitaiko prie teksto, 26 px viršuje ir apačioje */
	--min-height: 0px;
}

[data-prefix="woo_categories"][data-prefix] .hero-section .page-title,
[data-prefix="search"][data-prefix] .hero-section .page-title {
	--theme-font-size: 42px;
	--theme-line-height: 1.2;
}

.hero-section .page-title {
	--theme-font-size: 42px;
	--theme-font-weight: 700;
	--theme-heading-color: #0e0e0e;
}

.hero-section .ct-breadcrumbs {
	--theme-font-size: 15px;
	--theme-font-weight: 400;
	--theme-text-transform: none;
	color: #6d6a6a;
}

.hero-section .ct-breadcrumbs a {
	color: #6d6a6a;
}

.hero-section .ct-breadcrumbs a:hover {
	color: var(--theme-palette-color-1);
}

/* Paprasti puslapiai (Fiorello: juosta 26px viršuje/apačioje, h1 42px, turinys 32px žemiau, apačioje be tarpo). */
[data-prefix="single_page"][data-prefix] .hero-section[data-type="type-2"] {
	--container-padding: 26px 0;
	--min-height: 0px;
}

[data-prefix="single_page"][data-prefix] .hero-section .page-title {
	--theme-font-size: 42px;
	--theme-line-height: 1.2;
}

[data-prefix="single_page"] #main > :is(.ct-container, .ct-container-full)[data-vertical-spacing] {
	padding-top: 32px;
	padding-bottom: 0;
}

/* „Rodoma 15 rezultatų“ – įprastu šriftu, kaip anksčiau. */
body .woo-listing-top .woocommerce-result-count {
	--theme-font-size: 15px;
	--theme-font-weight: 400;
	--theme-text-transform: none;
	--theme-letter-spacing: 0;
}

/* Fiorello antraštės juosta 18px tarpais iki 768px (planšetė ir telefonas). */
@media (max-width: 768px) {
	[data-prefix][data-prefix] .hero-section[data-type="type-2"] {
		--container-padding: 18px 16px;
		--min-height: 0px;
	}
}

@media (max-width: 689.98px) {

	.hero-section .page-title {
		--theme-font-size: 26px;
	}

	.hero-section .ct-breadcrumbs {
		--theme-font-size: 15px; /* live telefone irgi 15 px / 24 px */
		--theme-line-height: 24px;
	}
}

/* ---------- Prekių plytelės ---------- */
[data-products] {
	--grid-columns-gap: 30px;
}

[data-products] .product {
	text-align: center;
	position: relative;
}

[data-products] .product figure {
	margin-bottom: 14px;
}

[data-products] .product .ct-media-container,
[data-products] .product .ct-media-container img {
	border-radius: 6px;
}

[data-products] .woocommerce-loop-product__title {
	font-size: 17px;
	font-weight: 500;
	line-height: 1.35;
	color: #1b1b1b;
	margin-bottom: 8px;
}

[data-products] .woocommerce-loop-product__title a {
	color: inherit;
}

[data-products] .price {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: baseline;
	gap: 6px;
	font-size: 15px;
	font-weight: 700;
	color: #1b1b1b;
}

/* Sena kaina pirma, nauja po jos – kaip anksčiau. */
[data-products] .price del {
	order: 0;
	color: #1b1b1b;
	font-size: inherit;
	font-weight: 700;
	opacity: 1;
}

[data-products] .price ins {
	order: 1;
	text-decoration: none;
}

/* Nuolaidos žyma – žalia, apvaliais kampais. */
.woocommerce .onsale,
[data-products] .onsale {
	top: 12px;
	left: 12px;
	right: auto;
	background: #7fb11d;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	border-radius: 10px;
	padding: 4px 12px;
	min-height: 0;
	line-height: 1.4;
}

/* „Į krepšelį“ – švelnus žalsvas, kapsulės formos. */
[data-products] .ct-woo-card-actions {
	justify-content: center;
}

[data-products] .product .button {
	--theme-button-min-height: 40px;
	--theme-button-background-initial-color: #f4f6ee;
	--theme-button-background-hover-color: #43573c;
	--theme-button-text-initial-color: #43573c;
	--theme-button-text-hover-color: #fff;
	--theme-button-border: 1px solid #65795a;
	--theme-button-border-radius: 999px;
	background: #f4f6ee;
	color: #43573c;
	border: 1px solid #65795a;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	padding: 0 18px;
	min-height: 40px;
	width: auto;
	min-width: 110px;
	box-shadow: none;
}

[data-products] .product .button:hover {
	background: #43573c;
	color: #fff;
	border-color: #43573c;
}

@media (max-width: 689.98px) {
	[data-products] {
		--grid-columns-gap: 14px;
	}

	[data-products] .woocommerce-loop-product__title {
		font-size: 15px;
	}
}

/* ---------- Poraštė (kaip Fiorello) ---------- */
.ct-footer {
	background: #fefaf3;
}

[data-footer][data-footer] .ct-footer [data-row="middle"] {
	--container-spacing: 73px;
	background: #fefaf3;
}

[data-footer] .ct-footer [data-row="middle"] > .ct-container {
	--grid-template-columns: repeat(4, 1fr);
}

/* Fiorello: viršuje 73px, apačioje 73px + stulpelių eilutės 9px likutis. */
@media (min-width: 681px) {
	[data-footer][data-footer] .ct-footer [data-row="middle"] > .ct-container {
		padding-block: 73px;
	}
}

[data-footer][data-footer] .ct-footer [data-row="bottom"] {
	background: #fefaf3;
}

.ct-footer [data-row="bottom"] > .ct-container {
	border-top: 1px solid #ece6db;
	padding-block: 26px 17px;
}

.ct-footer .widget-title {
	--theme-font-size: 14px;
	margin-bottom: 23px !important;
	--theme-font-weight: 500;
	--theme-letter-spacing: 1.4px;
	--theme-text-transform: uppercase;
	--theme-heading-color: #000;
	margin-bottom: 23px;
	font-size: 14px;
	line-height: 21px;
}

.ct-footer .ct-widget,
.ct-footer .ct-widget p,
.ct-footer .ct-widget a {
	font-size: 14px;
	line-height: 1.6;
	color: #666666;
}

/* Address and phone have distinct, at least 24 px touch areas. */
.ct-footer .widget_text a {
    display: inline-block;
    min-height: 24px;
    line-height: 24px;
}

.ct-footer .ct-widget a:hover {
	color: var(--theme-palette-color-1);
}

.ct-footer .widget_nav_menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ct-footer .widget_nav_menu li {
	margin-bottom: 4px; /* Fiorello: 24px eilutė + 3px tarpas ≈ 28px žingsnis */
}

.ct-footer .widget_nav_menu li:last-child {
	margin-bottom: 1px; /* Fiorello paskutiniam punktui palieka 1px */
}

/* Fiorello: pastraipos poraštėje 14px, tarp jų 20px. */
.ct-footer .ct-widget p {
	margin: 0 0 20px;
}

/* Paskutinės pastraipos 20 px apačioje lieka (Fiorello stulpelis jį įskaičiuoja). */

.ct-footer [data-row="bottom"] p {
	font-size: 12px;
	color: #666666;
	text-align: center;
	margin: 0;
}

@media (max-width: 1024px) {
	[data-footer] .ct-footer [data-row="middle"] > .ct-container {
		--grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 680px) {
	[data-footer] .ct-footer [data-row="middle"] {
		--container-spacing: 40px;
		text-align: center;
	}

	[data-footer] .ct-footer [data-row="middle"] > .ct-container {
		--grid-template-columns: 1fr;
	}
}

/* Norų sąrašas: puslapis rodomas per visą plotį (WPBakery), todėl kortelių sąrašą apribojame
   iki įprasto turinio pločio, kaip Fiorello. */
.ct-container-full .entry-content:has(> .qwfw-shortcode) {
	width: var(--theme-container-edge-spacing, 90vw);
	max-width: var(--theme-normal-container-max-width, 1290px);
	margin-inline: auto;
}

/* Fiorello „Full Width“ puslapiai (titulinis, kontaktai, „Verslui“) */
.dp-pilnas-plotis #main > .ct-container{width:100%;max-width:none;padding:0}
.dp-pilnas-plotis[data-prefix] #main > .ct-container[data-vertical-spacing]{padding-top:0;padding-bottom:0}

/* Bazinė tipografija kaip Fiorello: pastraipos 16px, nuorodos antraštėse – antraštės spalvos */
p{font-size:16px;line-height:1.6em}
/* WPBakery turinys (dp-fiorello-turinys vietoj Blocksy is-layout-constrained): tarpai kaip Fiorello.
   :where() – kad bet kuri DP klasės taisyklė vis tiek nugalėtų. */
:where(.dp-fiorello-turinys) :is(h1,h2,h3,h4,h5,h6),:where(.dp-fiorello-turinys) p{margin:20px 0}
.wpb_row,.wpb_content_element,ul.wpb_thumbnails-fluid>li,.last_toggle_el_margin,.wpb_button{margin-bottom:0!important}
:is(h1,h2,h3,h4,h5,h6) a:not([class*="button"]){color:inherit}
:is(h1,h2,h3,h4,h5,h6) a:not([class*="button"]):hover{color:var(--theme-palette-color-1)}

/* Antraščių spalvos kaip Fiorello (h1 #0e0e0e, h2–h5 #2b2b2b, h6 #1b1b1b) */
:root {
	--theme-heading-1-color: #0e0e0e;
	--theme-heading-2-color: #2b2b2b;
	--theme-heading-3-color: #2b2b2b;
	--theme-heading-4-color: #2b2b2b;
	--theme-heading-5-color: #2b2b2b;
	--theme-heading-6-color: #1b1b1b;
}

/* Formų etiketės: Fiorello be apatinio tarpo (Blocksy duoda .5em). */
.wpcf7 label {
	margin-bottom: 0;
}

/* Citatos kaip Fiorello (modules.css): Lora, kursyvas, plona linija kairėje. DP blokai savo citatas perrašo. */
blockquote {
	margin: 20px 0;
	padding: 0 0 0 26px;
	color: #4b4747;
	font-family: "Lora", serif;
	font-size: 22px;
	font-style: italic;
	line-height: 1.634em;
	quotes: none;
	border: 0;
	border-left: 3px solid rgba(127, 177, 29, .12);
}

/* Tinklaraščio įrašai. 40px viršuje duoda DP Blogas (.single-post .mkdf-content), tada nuoroda
   „← Visi naudingi patarimai“ ir 32px iki turinio (Fiorello .mkdf-container-inner). */
[data-prefix="single_blog_post"] #main > .ct-container[data-vertical-spacing] {
	padding-top: 0;
	padding-bottom: 0;
}

[data-prefix="single_blog_post"] #main > .ct-container > article {
	padding-top: 32px;
}

/* Fiorello bazinės sąrašų ir lentelių taisyklės (modules.css + jos „reset“ be įtraukos) turinyje.
   :where() – kad DP blokų taisyklės (.dp-...) vis tiek nugalėtų. */
:where(.entry-content) :is(ul, ol) {
	list-style-position: inside;
	margin: 15px 0;
	padding: 0;
}

:where(.entry-content) :is(ul, ol) :is(ul, ol) {
	margin: 0;
	padding: 0 0 0 15px;
}

:where(.entry-content) table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	vertical-align: middle;
}

:where(.entry-content) table th {
	padding: 5px 7px;
	text-align: center;
}

:where(.entry-content) table td {
	padding: 5px 10px;
	text-align: center;
}

/* Fiorello lentelių rėmeliai: tik eilutėms (Blocksy rėmelį deda kiekvienam langeliui). */
html table,
html th,
html td {
	border: 0;
}

html table tbody tr,
html table thead tr {
	border: 1px solid #e8e8e8;
}

html table tbody th {
	border-right: 1px solid #e8e8e8;
}

/* Naršymo kelio skirtukas „/“ su tarpais kaip Fiorello („&nbsp; / &nbsp;“). */
html .ct-breadcrumbs[data-source] .ct-separator {
	margin-inline: 0;
	font-size: 0;
	line-height: 0;
	vertical-align: baseline;
}

/* Tas pats tekstas kaip Fiorello „&nbsp; / &nbsp;“ – plotis tas pats, o po „/“ lieka lūžio vieta. */
html .ct-breadcrumbs[data-source] .ct-separator::before {
	content: "\00a0  / \00a0"; /* po \00a0 pirmas tarpas užbaigia kaitos seką */
	font-size: 15px;
	line-height: 24px;
}

/* Kategorijos juosta: naršymo kelias 30 px po pavadinimu (live: h1 168–218, kelias 248). */
[data-prefix="woo_categories"] .hero-section[data-type="type-2"] .ct-breadcrumbs {
	margin-top: 30px;
}

/* Šoninė juosta prasideda 11 px žemiau turinio (live – Fiorello skirtuko valdiklis viršuje). */
.mkdf-sidebar-holder > aside.mkdf-sidebar {
	margin-top: 11px;
}

/* Šoninės juostos prekių eilutės – Fiorello eilutės aukštis. */
aside.mkdf-sidebar .product_list_widget li {
	gap: 0;
	line-height: 24px;
}

/* Parduotuvės puslapyje live rodo tik pavadinimą, be naršymo kelio. */
.post-type-archive-product .hero-section[data-type="type-2"] .ct-breadcrumbs {
	display: none;
}

/* 404 (Fiorello): turinys ekrano viduryje (live centras ~477 px), plotis 60 %, be poraštės. */
.error404 .ct-footer {
	display: none;
}

.dp-404 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 142px);
	padding-bottom: 88px;
	width: 60%;
	margin: 0 auto;
	text-align: center;
}

.dp-404 .mkdf-404-title {
	margin: 0 0 20px; /* flex – paraštės nesusilieja, todėl tik apačioje (kaip susilieję 20 px) */
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	color: #0e0e0e;
}

.dp-404 .mkdf-404-subtitle {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.35;
	color: #2b2b2b;
}

.dp-404 .mkdf-404-text {
	margin: 0;
	font-size: 16px;
	color: #6d6a6a;
}

@media (max-width: 1024px) {
	.dp-404 {
		width: 90%;
		min-height: calc(100vh - 70px);
		padding-bottom: 40px;
	}
}

/* Telefone pavadinimas 28 px (Fiorello style_dynamic_responsive). */
@media (max-width: 680px) {
	[data-prefix="woo_categories"][data-prefix] .hero-section .page-title,
	[data-prefix="search"][data-prefix] .hero-section .page-title,
	[data-prefix="single_page"][data-prefix] .hero-section .page-title {
		--theme-font-size: 28px;
	}
}

/* Telefone ir planšetėje <main> (.mkdf-content) gauna DP šoninius tarpus (--dp-tarpas) – pilka pavadinimo juosta
   turi likti per visą plotį, kaip Fiorello (ten ji buvo už .mkdf-content ribų). */
@media (max-width: 1024px) {
	#main.mkdf-content > .hero-section {
		margin-left: calc(-1 * var(--dp-tarpas, 0px));
		margin-right: calc(-1 * var(--dp-tarpas, 0px));
	}
}

/* Telefone šoninius tarpus duoda tik <main> (DP --dp-tarpas, kaip Fiorello .mkdf-content) – Blocksy konteinerių
   savas plotis (~88–90vw) juos padvigubintų. */
@media (max-width: 1024px) {
	#main.mkdf-content > [class*="ct-container"],
	#main.mkdf-content > [class*="ct-container"] > article,
	#main.mkdf-content .is-width-constrained {
		width: 100%;
		max-width: none;
		margin-inline: 0;
	}

	#main.mkdf-content > .hero-section .entry-header {
		width: auto;
	}
}

/* Fiorello iki 1024 px po turiniu rodė tuščią šoninės juostos bloką (aside 60 px apačioje; įrašuose iki 768 px – 30 px).
   D.U.K. turi savo šoninę juostą – jo neliečiame. */
@media (max-width: 1024px) {
	body.page:not(.page-id-799) #main > [class*="ct-container"] {
		margin-bottom: 60px; /* paraštė, ne padding – kad nesimaišytų su puslapio „Content padding“ */
	}
}

/* Įrašas: Fiorello tarpas tarp įrašo ir apatinės „← Visi naudingi patarimai“ – article 30 + .mkdf-blog-holder 40
   (+ tuščia šoninė juosta 60 iki 1024 px); iki 768 px vaiko tema juos sumažino iki 15 + 20 + 30. */
body.single-post #main > [class*="ct-container"] > article {
	margin-bottom: 70px;
}

@media (max-width: 1024px) {
	body.single-post #main > [class*="ct-container"] > article {
		margin-bottom: 130px;
	}
}

@media (max-width: 768px) {
	body.single-post #main > [class*="ct-container"] > article {
		margin-bottom: 65px;
	}
}

/* Fiorello body: 15px / 24px – eilutės aukštis fiksuotas, todėl smulkesnis tekstas paveldi 24px (Blocksy – santykinis 1.6). */
html:root {
	--theme-line-height: 24px; /* html:root – kad nugalėtų vėliau įkeliamą Blocksy :root */
}

/* Fiorello neturėjo bendro „border-box“ – DP blokai rašyti „content-box“ elementams (plotis + vidiniai tarpai).
   Blocksy visiems elementams uždeda border-box, todėl turinio srityje grąžiname content-box.
   :where() – nulinis specifiškumas: bet kuri DP / Fiorello taisyklė su savu box-sizing vis tiek laimi.
   Formos laukai, mygtukai ir Blocksy elementai (ct-*, pavadinimo juosta) lieka border-box. */
:where(#main.mkdf-content) :where(*:not(input, select, textarea, button, [class^="ct-"], [class*=" ct-"], .hero-section, .hero-section *)),
:where(#main.mkdf-content) :where(*:not(input, select, textarea, button, [class^="ct-"], [class*=" ct-"], .hero-section, .hero-section *))::before,
:where(#main.mkdf-content) :where(*:not(input, select, textarea, button, [class^="ct-"], [class*=" ct-"], .hero-section, .hero-section *))::after {
	box-sizing: content-box;
}

/* Poraštė telefone kaip Fiorello: 73 px viršuje ir apačioje, tarp stulpelių 30 px; apatinė eilutė 48 px / 39 px. */
@media (max-width: 680px) {
	[data-footer][data-footer] .ct-footer [data-row="middle"] > .ct-container {
		padding-block: 73px;
		row-gap: 30px;
	}

	.ct-footer [data-row="bottom"] > .ct-container {
		padding-block: 48px 39px;
	}
}

/* Fiorello bazinės paraštės visame turinyje (p 20px 0, ul/ol 15px 0). Specifiškumas kaip Blocksy „p“ – DP klasės laimi. */
:where(#main.mkdf-content) p {
	margin: 20px 0;
}

:where(#main.mkdf-content) :is(ul, ol) {
	margin: 15px 0;
}

/* Ne WPBakery puslapiai (Blocksy .ct-container-full + data-content="normal"): turinys Fiorello tinklelio pločio (1300). */
@media (min-width: 1025px) {
	body.page #main > .ct-container-full[data-content="normal"] > article,
	body.single-post #main > .ct-container-full[data-content="normal"] > article {
		width: var(--theme-container-width);
		max-width: var(--theme-normal-container-max-width);
		margin-inline: auto;
	}
}

/* Fiorello atsakomieji antraščių dydžiai (style_dynamic_responsive.css). Kintamasis, kad klasių taisyklės (hero ir pan.) liktų viršesnės. */
@media (min-width: 681px) and (max-width: 1024px) {
	body h2 { --theme-font-size: 24px; }
	body h3 { --theme-font-size: 19px; }
}

@media (max-width: 680px) {
	body h1 { --theme-font-size: 28px; }
	body h2 { --theme-font-size: 20px; }
	body h3 { --theme-font-size: 20px; }
	body h4 { --theme-font-size: 22px; }
	body h5 { --theme-font-size: 18px; }
}

/* Fiorello varnelės ir radijo mygtukai – naršyklės išvaizdos. Blocksy juos perpiešia (appearance:none, 16px, žalia);
   selektoriai – tie patys kaip Blocksy main.min.css, tik su „html“ priekyje. */
html .comment-form input[type=checkbox],
html #ship-to-different-address-checkbox,
html .woocommerce-form__input[type=checkbox],
html .woocommerce-form__label-for-checkbox input[type=checkbox],
html .woocommerce-input-wrapper input[type=checkbox],
html #payment .payment_box input[type=checkbox],
html .forminator-ui[data-design=none] .forminator-checkbox input[type=checkbox],
html .wpforms-container:not(.wpforms-container-full) input[type=checkbox],
html .ff-inherit-theme-style input[type=checkbox],
html .wc_payment_method>input[type=radio],
html .woocommerce-shipping-methods input[type=radio],
html .payment_box input[type=radio],
html .mp-ticket-payments input[type=radio],
html .forminator-ui[data-design=none] .forminator-radio input[type=radio],
html .wpforms-container:not(.wpforms-container-full) input[type=radio],
html .ff-inherit-theme-style input[type=radio] {
	-webkit-appearance: auto;
	appearance: auto;
	position: static;
	top: auto;
	min-width: 0;
	width: auto;
	height: auto;
	border-radius: 0 !important;
}

/* Fiorello etiketės: be tarpo apačioje, šriftas paveldimas (Blocksy – 15px ir 0,5em). */
label {
	margin: 0;
	font-size: inherit;
}

/* Fiorello „mkdf-grid-1300“ konteinerio pločiai: fiksuoti laiptai kompiuteryje (Blocksy – 90vw).
   Iki 1024px Fiorello vaiko tema naudoja 90 %, kaip ir Blocksy, todėl ten nekeičiama. */
@media (min-width: 1025px) {
	html:root {
		--theme-container-width-base: 950px;
	}
}

@media (min-width: 1201px) {
	html:root {
		--theme-container-width-base: 1100px;
	}
}

@media (min-width: 1400px) {
	html:root {
		--theme-container-width-base: 1300px;
	}
}

/* Poraštės stulpeliai kaip Fiorello: tarpas 30px; planšetėje tinklelis 768 / 600px, telefone – visas plotis be 14px kraštų. */
[data-footer][data-footer] .ct-footer [data-row="middle"] > .ct-container {
	column-gap: 30px;
}

@media (min-width: 1000px) and (max-width: 1024px) {
	[data-footer] .ct-footer [data-row="middle"] > .ct-container {
		--grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 1024px) {
	[data-footer] .ct-footer [data-row] > .ct-container {
		width: 768px;
		max-width: 100%;
	}
}

@media (max-width: 768px) {
	[data-footer] .ct-footer [data-row] > .ct-container {
		width: 600px;
	}
}

@media (max-width: 680px) {
	[data-footer] .ct-footer [data-row] > .ct-container {
		width: calc(100% - 28px);
	}

	[data-footer] .ct-footer [data-row="middle"] > .ct-container {
		--grid-template-columns: 1fr;
	}
}

/* Planšetėje (681–1024) Fiorello poraštė: tarp eilučių 35px, apatinė eilutė kaip telefone (48 / 39px). */
@media (min-width: 681px) and (max-width: 1024px) {
	[data-footer][data-footer] .ct-footer [data-row="middle"] > .ct-container {
		row-gap: 35px;
	}
}

@media (max-width: 1024px) {
	.ct-footer [data-row="bottom"] > .ct-container {
		padding-block: 48px 39px;
	}
}

/* Blocksy mygtukų „švytėjimas“ (::before su blur) – Fiorello jo neturėjo. dp krepšelio mygtukų ikona
   naudoja tą patį ::before (display:block !important), todėl jai nuimami blur, z-index ir inset. */
html:root {
	--theme-button-shadow: none;
}

html :is(.button, .ct-button, .added_to_cart, [type="submit"], .wp-element-button, button[class*="ajax"])::before,
html .woocommerce :is(button.button, a.button)::before {
	filter: none;
	z-index: auto; /* Blocksy -1: flex mygtuke ikona nuslysdavo po užvedimo fonu */
	inset: auto;
}

/* Naršymo kelio punktai – inline-flex su bazine linija pailgindavo eilutę 1px; Fiorello eilutė lygiai 24px. */
html .ct-breadcrumbs[data-source] > span {
	vertical-align: top;
	display: inline; /* Fiorello kelias lūžta kaip tekstas – ilgas punktas skyla eilutės gale, o ne keliamas visas */
}

html .ct-breadcrumbs[data-source] > span > :is(a, span) {
	display: inline;
}

/* Pavadinimo juosta kaip Fiorello: kompiuteryje pavadinimas per visą plotį (Blocksy – siauras 750px konteineris);
   iki 1024px puslapiuose – turinio plotis (90 %), Woo puslapiuose – 22px kraštai. */
[data-prefix][data-prefix] .hero-section > .entry-header {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

@media (max-width: 1024px) {
	body:is([data-prefix="single_page"], [data-prefix="product"]) #main.mkdf-content > .hero-section > .entry-header {
		width: 90%;
		margin-inline: auto;
		padding-inline: 0;
	}

	:is([data-prefix="woo_categories"], [data-prefix="search"])[data-prefix] .hero-section > .entry-header {
		padding-inline: 22px;
	}
}

/* Fiorello paveikslėliai – naršyklės bazinė linija (Blocksy visiems img uždeda vertical-align: middle). */
img {
	vertical-align: baseline;
}

/* Paveikslėlių parašai kaip Fiorello – lygiuojami kaip tekstas (Blocksy .entry-content figcaption centruoja). */
html .entry-content figcaption {
	text-align: inherit;
}

/* Fiorello slinkimas be animacijos. Blocksy html „scroll-behavior: smooth“ paversdavo DP užsakymo puslapio
   slinkties atstatymą (pristatymo būdo keitimas telefone) animacija – ekranas šoktelėdavo ir grįždavo. */
html:root {
	scroll-behavior: auto;
}


/* Pasirinktas pristatymo ir mokėjimo būdas – svetainės žalia spalva. */
body.woocommerce-checkout input[type="radio"] {
    accent-color: #7fb11d;
}

/* Santrauka lieka viršuje; laukų paaiškinimai išlaikomi ekrano skaitytuvams. */
body.woocommerce-checkout form.checkout .checkout-inline-error-message {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
body.woocommerce-checkout form.checkout input[aria-invalid="true"],
body.woocommerce-checkout form.checkout textarea[aria-invalid="true"],
body.woocommerce-checkout form.checkout select[aria-invalid="true"],
body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid .input-text,
body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid select,
body.woocommerce-checkout form.checkout .form-row:has([aria-invalid="true"]) .select2-selection,
body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid .select2-selection {
    border-color: #dc2626 !important;
}

body.woocommerce-checkout form.checkout input[aria-invalid="true"]:focus,
body.woocommerce-checkout form.checkout textarea[aria-invalid="true"]:focus,
body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid .input-text:focus {
    outline-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .14) !important;
}


/* 2026-11-13: approved contrast improvement; existing spacing, sizes and weights stay unchanged. */
#header .ct-menu-link[aria-current="page"] { color: #5a7f15 !important; }
.woocommerce-result-count { color: #767676 !important; }
.widget_product_categories li:not(.current-cat):not(.current-cat-parent) > a { color: #767676 !important; }

/* 24 px target, with unchanged 18 px flow slot and identical visible chevron coordinates. */
.widget_product_categories .dp-sca-toggle { width: 24px !important; height: 24px !important; margin: 3px -6px -3px 0 !important; }
.widget_product_categories .dp-sca-toggle-icon { position: relative; left: -3px !important; }

/* Native H2 semantics with the existing Fiorello H6 appearance. */
h2.mkdf-product-list-title { font-weight: 500; color: #1b1b1b; }
.mkdf-widget-title-holder > h2.mkdf-widget-title { font: 600 18px/1.3 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #1b1b1b; margin: 0; }

/* 2026-11-13: category H2 labels inherit the exact deployed H6 responsive rules. */
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product .mkdf-pl-text-wrapper .mkdf-product-list-title,
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title {
    margin:0 !important;
    padding:0 !important;
}
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
    margin:0 !important;
    padding:0 !important;
    display:block !important;
}
@media (max-width:480px) {
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title,
  .tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
      
      
      white-space:normal !important;
      display:block !important;
      margin:0 auto !important;
      padding-top:0 !important;
      text-align:center !important;
      max-width:100% !important;
      word-break:normal !important;
      overflow-wrap:anywhere !important;
  }
}
@media (max-width:480px) {
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
    display:block !important;
    max-width:72px !important;
    margin:0 auto !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    
  }
}
@media (min-width:481px) and (max-width:900px) {
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
    display:block !important;
    max-width:82px !important;
    margin:0 auto !important;
    white-space:normal !important;
    word-break:normal !important;
    overflow-wrap:normal !important;
    
  }
}
@media (min-width:481px) and (max-width:767px) {
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title,
  .tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
      
      
      white-space:normal !important;
      display:block !important;
      margin:0 auto !important;
      padding-top:0 !important;
      text-align:center !important;
      max-width:100% !important;
      word-break:normal !important;
      overflow-wrap:anywhere !important;
  }
}
@media (min-width:768px) and (max-width:1024px) {
.tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title,
  .tax-product_cat .mkdf-pl-main-holder ul.products.categories.columns-5 li.product h2.mkdf-product-list-title a {
      
      
      white-space:normal !important;
      display:block !important;
      margin:0 auto !important;
      padding-top:0 !important;
      text-align:center !important;
      max-width:100% !important;
      word-break:normal !important;
      overflow-wrap:anywhere !important;
  }
}
@media (max-width: 767px) {
body.tax-product_cat .mkdf-pl-main-holder > ul.products.categories.columns-5 > li.product h2.mkdf-product-list-title a {
    text-wrap: balance !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Approved darker palette applied to seasonal reminder and empty-state text. */
body.tax-product_cat .dp-cat-notice-card__reminder { background: #5a7f15 !important; border-color: #5a7f15 !important; }
body.tax-product_cat .dp-cat-notice-card__reminder:is(:hover, :focus) { background: #496a10 !important; border-color: #496a10 !important; }
body.tax-product_cat .dp-wc-empty-state__content p { color: #606954 !important; }
