/*
 * Estetikos studija - dizaino atnaujinimas (v2)
 * Visos taisyklės galioja tik tada, kai <html> turi klasę "es-v2".
 * Taisyklė formoms: mygtukai - pilnai apvalūs, nuotraukų plytelės - 10px, laukai - 8px.
 */

html.es-v2 {
	--es-ink: #232221;
	--es-ink-strong: #0f0f0e;
	--es-text: #55534f;
	--es-muted: #8b8985;
	--es-line: #e6e5e2;
	--es-surface: #f5f5f3;
	--es-radius: 10px;
	--es-ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Antraštė (header) ---------- */

@media (min-width: 1200px) {
	html.es-v2 .page-header {
		--minimog-branding-size: 104px;
	}

	html.es-v2 .page-header .menu--primary > ul {
		white-space: nowrap;
	}

	html.es-v2 .page-header .menu--primary > ul > li > a {
		padding-left: 13px;
		padding-right: 13px;
		font-size: 15px;
		letter-spacing: .01em;
	}

	html.es-v2 .page-header .menu--primary > ul > li:first-child > a {
		padding-left: 0;
	}
}

/* ---------- Mygtukai: viena sistema ---------- */

html.es-v2 .elementor-button,
html.es-v2 .tm-button.style-flat,
html.es-v2 .tm-button.style-border,
html.es-v2 a.button,
html.es-v2 button.button,
html.es-v2 input.button,
html.es-v2 .shop-load-more-button,
html.es-v2 .pwb-apply-filter,
html.es-v2 .wpcf7-submit,
html.es-v2 .single_add_to_cart_button {
	border-radius: 999px !important;
	box-shadow: none !important;
	font-weight: 500;
	letter-spacing: .01em;
	transition: background-color .25s var(--es-ease), color .25s var(--es-ease), border-color .25s var(--es-ease), transform .25s var(--es-ease);
}

html.es-v2 .elementor-button,
html.es-v2 .wpcf7-submit,
html.es-v2 .pwb-apply-filter {
	background-color: var(--es-ink) !important;
	color: #fff !important;
	border: 1px solid var(--es-ink) !important;
	min-height: 48px;
	padding: 0 30px !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px !important;
	line-height: 1.2;
}

html.es-v2 .elementor-button:hover,
html.es-v2 .wpcf7-submit:hover,
html.es-v2 .pwb-apply-filter:hover {
	background-color: var(--es-ink-strong) !important;
	border-color: var(--es-ink-strong) !important;
	transform: translateY(-1px);
}

html.es-v2 .elementor-button:active,
html.es-v2 .shop-load-more-button:active,
html.es-v2 .pwb-apply-filter:active,
html.es-v2 a.button:active,
html.es-v2 button.button:active {
	transform: translateY(0) scale(.985);
}

/* „Rodyti daugiau“ - antrinis (kontūrinis) mygtukas */
html.es-v2 .shop-load-more-button {
	background: transparent !important;
	color: var(--es-ink) !important;
	border: 1px solid var(--es-ink) !important;
	min-height: 48px;
	padding: 0 38px !important;
	font-size: 15px;
}

html.es-v2 .shop-load-more-button:hover {
	background: var(--es-ink) !important;
	color: #fff !important;
}

/* ---------- Prekių kortelės ---------- */

html.es-v2 .product.type-product .product-thumbnail {
	background: var(--es-surface);
	border-radius: var(--es-radius);
	overflow: hidden;
}

html.es-v2 .product.type-product .product-thumbnail .product-main-image img,
html.es-v2 .product.type-product .product-thumbnail .product-hover-image img {
	mix-blend-mode: multiply;
	transition: transform .7s var(--es-ease);
}

html.es-v2 .product.type-product:hover .product-thumbnail .product-main-image img {
	transform: scale(1.035);
}

html.es-v2 .woocommerce-loop-product__title {
	text-transform: none !important;
	font-size: 15px;
	line-height: 1.45 !important;
	font-weight: 500;
	margin-top: 2px;
}

html.es-v2 .woocommerce-loop-product__title a {
	color: var(--es-ink);
}

html.es-v2 .product.type-product .price del,
html.es-v2 .product.type-product .price del .amount {
	color: var(--es-muted);
	font-weight: 400;
}

html.es-v2 .product.type-product .price ins {
	text-decoration: none;
}

html.es-v2 .product.type-product .price ins .amount {
	font-weight: 600;
}

html.es-v2 .product-badges .onsale {
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 5px 10px;
	height: auto;
	line-height: 1.2;
}

/* ---------- Parduotuvė: šoninė juosta ---------- */

/* Kategorijų sąrašas paliktas toks, kokį susikūrė svetainės savininkės (jokių stiliaus pakeitimų). */

/* Dubliuotas prekių ženklų filtras: paliekamas tik vienas */
html.es-v2 .page-sidebar .widget_filter_by_brand:has(~ .widget_filter_by_brand) {
	display: none;
}

html.es-v2 .pwb-filter-products ul {
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
}

html.es-v2 .pwb-filter-products label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 15px;
	color: var(--es-text);
	cursor: pointer;
}

html.es-v2 .pwb-filter-products input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: var(--es-ink);
}

html.es-v2 .pwb-apply-filter {
	min-height: 42px;
	padding: 0 22px !important;
	font-size: 14px !important;
}

/* Rezultatų skaičius ir rikiavimas */
html.es-v2 .archive-result-count p {
	color: var(--es-muted);
	font-size: 15px;
}

/* Mobilus filtrų mygtukas: nebedengia prekių pavadinimų */
@media (max-width: 991px) {
	html.es-v2 .btn-open-off-sidebar-mobile.btn-open-sidebar1 {
		top: auto !important;
		bottom: 78px !important;
		left: 14px !important;
		right: auto !important;
		transform: none !important;
		writing-mode: horizontal-tb !important;
		width: auto !important;
		height: 40px !important;
		padding: 0 18px !important;
		border-radius: 999px !important;
		background: var(--es-ink) !important;
		color: #fff !important;
		font-size: 14px !important;
		font-weight: 500;
		display: inline-flex !important;
		align-items: center;
		box-shadow: 0 6px 18px rgba(35, 34, 33, .18);
	}
}

/* ---------- Pradinis puslapis (Elementor puslapis ID 28) ---------- */

/* Tuščia vieta po pagrindine skaidrių juosta */
html.es-v2 .elementor-28 .elementor-element-9e3c8d5,
html.es-v2 .elementor-28 .elementor-element-9e3c8d5 > .elementor-container {
	min-height: 0 !important;
	height: auto !important;
}

html.es-v2 .elementor-28 .elementor-element-9e3c8d5 {
	margin-bottom: 28px;
}

/* „Geriausi pasiūlymai“ - tas pats plotis kaip kitų sekcijų */
html.es-v2 .elementor-28 .elementor-element-01f4a96 > .elementor-container {
	max-width: 1270px !important;
	margin-left: auto;
	margin-right: auto;
}

/* Sekcijų antraštės */
html.es-v2 .elementor-28 .elementor-widget-heading h2.elementor-heading-title {
	letter-spacing: -.012em;
}

/* Mažosios antraštės virš / po pavadinimų - vienodos */
html.es-v2 .elementor-28 .elementor-element-193c18c .elementor-heading-title,
html.es-v2 .elementor-28 .elementor-element-0700377 .elementor-heading-title,
html.es-v2 .elementor-28 .elementor-element-20b1afc .elementor-heading-title,
html.es-v2 .elementor-28 .elementor-element-beca521 .elementor-heading-title,
html.es-v2 .elementor-28 .elementor-element-405d282 .elementor-heading-title {
	font-size: 13px !important;
	font-weight: 500;
	letter-spacing: .16em !important;
	text-transform: uppercase;
	color: var(--es-muted) !important;
}

/* HIFU juosta: tekstas ryškesnis ant nuotraukos */
html.es-v2 .elementor-28 .elementor-element-22434c63 {
	box-shadow: inset 0 0 0 2000px rgba(20, 18, 16, .34);
}

/* Mokymų blokas: mažiau tuščio pilko ploto apačioje */
html.es-v2 .elementor-28 .elementor-element-107b62f5 {
	padding-bottom: 64px !important;
}

/* MaqPro blokas: antraštė lygiuojama kaip ir tekstas, mažoji antraštė - virš jos */
html.es-v2 .elementor-28 .elementor-element-53583d3,
html.es-v2 .elementor-28 .elementor-element-53583d3 .elementor-heading-title {
	text-align: left !important;
}

html.es-v2 .elementor-28 .elementor-element-20b1afc {
	order: -1;
	margin-bottom: 10px;
}

html.es-v2 .elementor-28 .elementor-element-cabf5d5 {
	margin-top: 72px;
}

/* MeDioStar blokas: tekstas nebelimpa prie kairio krašto, mygtukas lygiuojamas su tekstu */
@media (min-width: 1025px) {
	html.es-v2 .elementor-28 .elementor-element-405d282,
	html.es-v2 .elementor-28 .elementor-element-a5fc16b,
	html.es-v2 .elementor-28 .elementor-element-8de318d,
	html.es-v2 .elementor-28 .elementor-element-edd7e5c {
		padding-left: max(0px, calc((100vw - 1200px) / 2));
	}
}

html.es-v2 .elementor-28 .elementor-element-a5fc16b {
	margin-top: 10px;
}

html.es-v2 .elementor-28 .elementor-element-0bfa6aa .elementor-spacer-inner {
	height: 26px !important;
}

html.es-v2 .elementor-28 .elementor-element-edd7e5c,
html.es-v2 .elementor-28 .elementor-element-edd7e5c .elementor-button-wrapper {
	text-align: left !important;
}

/* ---------- Judesys ---------- */

@media (prefers-reduced-motion: reduce) {
	html.es-v2 *,
	html.es-v2 *::before,
	html.es-v2 *::after {
		transition-duration: .01ms !important;
	}

	html.es-v2 .product.type-product:hover .product-thumbnail .product-main-image img {
		transform: none;
	}
}

/* ---------- Paveikslėliai rodomi iškart, nelaukiant temos skriptų ---------- */

html.es-v2 m-image img {
	opacity: 1 !important;
	animation: none !important;
}

/* ---------- Papildomi tarpai pradiniame puslapyje ---------- */

html.es-v2 .elementor-28 .elementor-element-1c2130f {
	margin-top: 56px;
}

html.es-v2 .elementor-28 .elementor-element-8de318d {
	margin-top: 12px;
}
