/*
 * HAS eshop (E variantas): parduotuvės titulinis, kategorijos, prekių kortelės,
 * paieškos skydelis header'yje. Spalvos – kaip has-shop.css.
 */

.has-eshop,
.has-cat-top,
.has-help,
.has-search-panel,
.has-sticky-buy,
body.has-product {
	--has-green: #237531;
	--has-green-dark: #1a5a26;
	--has-lime: #8ECA25;
	--has-ink: #1E2B1A;
	--has-text: #4A5248;
	--has-muted: #6B7268;
	--has-soft: #F6F9EF;
	--has-soft-line: #DCE6C8;
	--has-line: #E3E8DC;
	--has-input: #D5DAD2;
}

/* ---------- Bendri elementai ---------- */

.has-eshop {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 44px;
	color: var(--has-text);
}

.has-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 20px;
	border-radius: 8px;
	background: var(--has-green);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.has-btn:hover,
.has-btn:focus-visible {
	background: var(--has-green-dark);
	color: #fff;
}

.has-eshop a:focus-visible,
.has-eshop button:focus-visible,
.has-cat-top a:focus-visible,
.has-search-panel a:focus-visible,
.has-search-panel button:focus-visible {
	outline: 3px solid #D7E9D3;
	outline-offset: 2px;
}

/* ---------- Baneris ---------- */

.has-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 16px;
}

.has-slider {
	position: relative;
	min-height: 360px;
	border-radius: 8px;
	overflow: hidden;
}

.has-slide {
	display: none;
	min-height: 360px;
	padding: 40px 48px 72px;
	box-sizing: border-box;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: #EEF3E4;
	color: var(--has-ink);
}

.has-slide.is-active {
	display: flex;
}

.has-slide.is-dark {
	background: var(--has-ink);
	color: #fff;
}

.has-slide__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	max-width: 440px;
}

.has-slide__tag {
	font-size: 13px;
	font-weight: 800;
	color: var(--has-green);
}

.has-slide.is-dark .has-slide__tag {
	color: var(--has-lime);
}

.has-slide__title {
	margin: 0;
	font-size: 36px;
	line-height: 1.12;
	font-weight: 800;
	color: inherit;
}

.has-slide p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
}

.has-slide.is-dark .has-btn {
	background: var(--has-lime);
	color: var(--has-ink);
}

.has-slide__media {
	flex: 0 1 45%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.has-slide__media img {
	max-height: 260px;
	width: auto;
	object-fit: contain;
}

/* Taškai ir rodyklės kairėje – dešinė pusė laisva iliustracijai */
.has-slider__controls {
	position: absolute;
	z-index: 3;
	left: 48px;
	bottom: 16px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.has-slider__dots {
	display: flex;
}

.has-slider__dots button {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.has-slider__dots span {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: #C9D3BC;
	transition: width 0.2s;
}

.has-slider__dots [aria-current="true"] span {
	width: 28px;
	background: var(--has-green);
}

.has-slider.is-dark-active .has-slider__dots span {
	background: #4E5D49;
}

.has-slider.is-dark-active .has-slider__dots [aria-current="true"] span {
	background: var(--has-lime);
}

.has-slider__arrows {
	display: flex;
	gap: 8px;
}

.has-slider__arrows button {
	width: 44px;
	height: 44px;
	border: 1px solid #9DB08A;
	border-radius: 8px;
	background: transparent;
	color: var(--has-ink);
	font-size: 20px;
	cursor: pointer;
}

.has-slider.is-dark-active .has-slider__arrows button {
	border-color: #5C6E55;
	color: #fff;
}

.has-promos {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.has-promo {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 24px;
	border-radius: 8px;
	background: var(--has-soft);
	border: 1px solid var(--has-soft-line);
	color: var(--has-ink);
	text-decoration: none;
}

.has-promo.is-dark {
	background: var(--has-ink);
	border-color: var(--has-ink);
	color: #fff;
}

.has-promo__tag {
	font-size: 13px;
	font-weight: 800;
	color: var(--has-green);
}

.has-promo.is-dark .has-promo__tag {
	color: var(--has-lime);
}

.has-promo__title {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 800;
}

.has-promo__text {
	font-size: 14px;
}


/* ---------- Banerio režimai, logotipas ---------- */

.has-hero--full {
	grid-template-columns: 1fr;
}

.has-slide {
	position: relative;
	overflow: hidden;
}

.has-slide__text {
	position: relative;
	z-index: 2;
}

.has-slide__logo img {
	display: block;
	height: 28px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

/* Tamsiame fone logotipas baltas */
.has-slide.is-dark .has-slide__logo img {
	filter: brightness(0) invert(1);
}

/* Didelė iliustracija dešinėje iki kraštų */
.has-slide--large .has-slide__text {
	max-width: 44%;
}

.has-slide--large .has-slide__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 60%;
	z-index: 1;
}

.has-slide--large .has-slide__media img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
	object-position: right bottom;
}

/* Nuotrauka per visą banerį */
.has-slide__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.has-slide__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.has-slide--photo .has-slide__text {
	max-width: 44%;
}

/* ---------- Paieškos juosta ---------- */

.has-searchbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 14px 16px;
	background: var(--has-soft);
	border: 1px solid var(--has-soft-line);
	border-radius: 8px;
}

.has-eshop .has-searchbar {
	margin-top: -24px;
}

.has-searchbar__form {
	flex: 1 1 420px;
	display: flex;
	min-width: 0;
}

.has-searchbar__form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--has-input);
	border-right: 0;
	border-radius: 8px 0 0 8px;
	background: #fff;
	font-size: 15px;
}

.has-searchbar__form input[type="search"]:focus {
	border-color: var(--has-green);
	outline: 3px solid #D7E9D3;
	outline-offset: 0;
}

.has-searchbar__form button {
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--has-ink);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.has-searchbar__help {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	line-height: 1.3;
}

.has-searchbar__help span {
	color: var(--has-muted);
}

.has-searchbar__help a {
	font-weight: 800;
	color: var(--has-ink);
}

/* ---------- Sekcijos ---------- */

.has-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.has-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.has-section__head h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	color: var(--has-ink);
}

.has-section__head a {
	font-size: 14px;
	font-weight: 700;
	color: var(--has-green);
}

.has-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 16px;
}

.has-cat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 24px 12px;
	border: 1px solid var(--has-line);
	border-radius: 8px;
	background: #fff;
	color: var(--has-ink);
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.has-cat:hover {
	border-color: var(--has-green);
	color: var(--has-ink);
}

.has-cat__img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: var(--has-soft);
	color: var(--has-green);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.has-cat__img img {
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.has-brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px;
	padding: 8px 0;
}

.has-brands a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	height: 48px;
	color: var(--has-ink);
	font-weight: 800;
	font-size: 18px;
	text-decoration: none;
}

.has-brands img {
	max-height: 36px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.8;
}

.has-brands a:hover img {
	filter: none;
	opacity: 1;
}

.has-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 20px;
	margin-top: 16px;
	padding: 12px 20px;
	background: var(--has-soft);
	border: 1px solid var(--has-soft-line);
	border-radius: 8px;
}

.has-step {
	display: flex;
	gap: 10px;
	align-items: center;
}

.has-step__n {
	flex: 0 0 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--has-green);
	color: #fff;
	font-weight: 800;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.has-step div {
	display: flex;
	flex-direction: column;
	font-size: 12.5px;
	line-height: 1.3;
}

.has-step strong {
	color: var(--has-ink);
	font-size: 14px;
}

/* ---------- Kategorijų puslapis ---------- */

.has-cat-top {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--has-line);
}

.has-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 13px;
	color: var(--has-muted);
}

.has-crumbs a {
	color: var(--has-green);
}

.has-cat-top__title {
	margin: 0;
	font-size: 32px;
	font-weight: 800;
	color: var(--has-ink);
}

.has-cat-top__desc {
	max-width: 680px;
	font-size: 15px;
	line-height: 1.5;
}

.has-cat-top__desc p {
	margin: 0;
}

.has-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.has-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--has-input);
	border-radius: 8px;
	background: #fff;
	color: var(--has-ink);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.has-chips a[aria-current="page"] {
	background: var(--has-green);
	border-color: var(--has-green);
	color: #fff;
	font-weight: 700;
}

.has-help {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	margin-top: 28px;
	padding: 12px 20px;
	background: var(--has-soft);
	border: 1px solid var(--has-soft-line);
	border-radius: 8px;
}

.has-help h2 {
	margin: 0 0 2px;
	font-size: 16px;
	font-weight: 800;
	color: var(--has-ink);
}

.has-help p {
	margin: 0;
	font-size: 13px;
}

.has-help p a {
	color: var(--has-green);
	font-weight: 700;
}

/* Kaip header'io „Susisiekite“ */
.has-help .has-btn {
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 700;
	background: #2E8B3C;
}

.has-help .has-btn:hover,
.has-help .has-btn:focus-visible {
	background: var(--has-green);
}

/* ---------- Sąrašų puslapiai: be Blocksy hero; po permatomu header'iu – tarpas ---------- */

body.has-list .hero-section {
	display: none;
}

body.has-list:has(#header [data-transparent]) #main,
body.has-product:has(#header [data-transparent]) #main {
	padding-top: var(--header-height, 0px);
}

/* Blocksy turinio viršutinis tarpas – mažesnis, nes po header'iu jau yra tarpas */
body.has-list #main > [data-vertical-spacing],
body.has-product #main > [data-vertical-spacing] {
	padding-top: 24px !important;
}

body.has-shop-home:has(#header [data-transparent]) .has-eshop {
	padding-top: calc(var(--header-height, 0px) + 20px);
}

body.has-list .has-cat-top {
	margin-top: 8px;
}

/* ---------- Prekių kortelė v2 (titulinis, sąrašai, panašios prekės) ----------
 * Be rėmelio: nuotrauka šviesiame kvadrate, gamintojas, pavadinimas,
 * savybės, kaina ir apvalus krepšelio mygtukas vienoje eilutėje.
 */

.has-eshop ul.products li.product,
body.has-list ul.products li.product,
body.has-product ul.products li.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas:
		"img img"
		"brand brand"
		"title title"
		"spec spec"
		"price btn";
	align-content: start;
	column-gap: 8px;
	border: 0;
	background: transparent;
	padding: 0;
}

.has-eshop ul.products li.product > *,
body.has-list ul.products li.product > *,
body.has-product ul.products li.product > * {
	margin: 0;
}

.has-eshop ul.products li.product figure,
body.has-list ul.products li.product figure,
body.has-product ul.products li.product figure {
	grid-area: img;
	position: relative;
	margin: 0 0 12px;
}

.has-eshop ul.products li.product figure .ct-media-container,
body.has-list ul.products li.product figure .ct-media-container,
body.has-product ul.products li.product figure .ct-media-container {
	display: block;
	aspect-ratio: 1 / 1 !important;
	border-radius: 12px;
	background: #F4F6F1;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}

.has-eshop ul.products li.product figure img,
body.has-list ul.products li.product figure img,
body.has-product ul.products li.product figure img {
	width: 100%;
	height: 100% !important;
	object-fit: contain !important;
	padding: 16px;
	box-sizing: border-box;
	mix-blend-mode: multiply;
}

.has-eshop ul.products li.product:hover figure .ct-media-container,
body.has-list ul.products li.product:hover figure .ct-media-container,
body.has-product ul.products li.product:hover figure .ct-media-container {
	box-shadow: 0 10px 24px rgba(30, 43, 26, 0.12);
	transform: translateY(-3px);
}

.has-eshop ul.products .onsale,
body.has-list ul.products .onsale,
body.has-product ul.products .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 4px 8px;
	border-radius: 6px;
	background: #fff;
	color: #237531;
	font-size: 11px;
	font-weight: 700;
}

.has-card-brand {
	grid-area: brand;
	padding: 0 2px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #6B7268;
}

.has-eshop ul.products .woocommerce-loop-product__title,
body.has-list ul.products .woocommerce-loop-product__title,
body.has-product ul.products .woocommerce-loop-product__title {
	grid-area: title;
	margin-top: 3px !important;
	padding: 0 2px;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 700;
}

.has-eshop ul.products .woocommerce-loop-product__title a,
body.has-list ul.products .woocommerce-loop-product__title a,
body.has-product ul.products .woocommerce-loop-product__title a {
	color: #1E2B1A;
}

.has-card-spec {
	grid-area: spec;
	margin-top: 3px !important;
	padding: 0 2px;
	font-size: 13px;
	line-height: 1.35;
	color: #6B7268;
}

.has-eshop ul.products .price,
body.has-list ul.products .price,
body.has-product ul.products .price {
	grid-area: price;
	align-self: center;
	margin-top: 10px !important;
	padding: 0 2px;
	font-size: 19px;
	font-weight: 800;
	color: #1E2B1A;
}

/* Kategorija kortelėje nerodoma (kaip makete) */
.has-eshop ul.products .entry-meta,
body.has-list ul.products .entry-meta,
body.has-product ul.products .entry-meta {
	display: none;
}

.has-eshop ul.products .ct-woo-card-actions,
body.has-list ul.products .ct-woo-card-actions,
body.has-product ul.products .ct-woo-card-actions {
	grid-area: btn;
	align-self: center;
	margin-top: 10px !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	position: static !important;
}

/* Apvalus krepšelio mygtukas: ikona fone (Blocksy ::before slepia), tekstas lieka ekrano skaitytuvams */
.has-eshop ul.products .ct-woo-card-actions .button,
body.has-list ul.products .ct-woo-card-actions .button,
body.has-product ul.products .ct-woo-card-actions .button {
	position: relative;
	width: 44px;
	min-width: 0;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border-radius: 50%;
	background: #237531 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.5a1.5 1.5 0 001.5 1.2h8.6a1.5 1.5 0 001.5-1.1L21 8H6.2'/%3E%3Ccircle cx='9.5' cy='20' r='1.3'/%3E%3Ccircle cx='17.5' cy='20' r='1.3'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
	color: transparent;
	font-size: 0;
	overflow: hidden;
}

.has-eshop ul.products .ct-woo-card-actions .button:hover,
body.has-list ul.products .ct-woo-card-actions .button:hover,
body.has-product ul.products .ct-woo-card-actions .button:hover {
	background-color: #1a5a26;
}

.has-eshop ul.products .ct-woo-card-actions .button.loading,
body.has-list ul.products .ct-woo-card-actions .button.loading,
body.has-product ul.products .ct-woo-card-actions .button.loading {
	opacity: 0.5;
}

/* „Peržiūrėti krepšelį“ po pridėjimo – krepšelio skaičius header'yje parodo tą patį */
.has-eshop ul.products .added_to_cart,
body.has-list ul.products .added_to_cart,
body.has-product ul.products .added_to_cart {
	display: none !important;
}

/* „(su PVM)“ – smulkiai */
.has-eshop .price .woocommerce-price-suffix,
body.has-list .price .woocommerce-price-suffix,
body.has-product .price .woocommerce-price-suffix {
	font-size: 11px;
	font-weight: 500;
	color: #8A9386;
}

/* ---------- Prekės puslapis ---------- */

body.has-product .ct-breadcrumbs {
	display: none;
}

.has-crumbs--product {
	margin-top: 0;
	margin-bottom: 24px;
}

body.has-product .has-help {
	margin-top: 48px;
}

body.has-product .product-entry-wrapper {
	column-gap: 56px;
}

body.has-product .woocommerce-product-gallery .ct-media-container {
	aspect-ratio: 1 / 1 !important;
	border-radius: 16px;
	background: #F4F6F1;
	overflow: hidden;
}

body.has-product .woocommerce-product-gallery .ct-media-container img {
	width: 100%;
	height: 100% !important;
	object-fit: contain !important;
	padding: 24px;
	box-sizing: border-box;
	mix-blend-mode: multiply;
}

body.has-product .woocommerce-product-gallery [class*="pills"] img,
body.has-product .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: 10px;
	background: #F4F6F1;
	object-fit: contain;
}

body.has-product .summary {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

body.has-product .summary > * {
	margin: 0 !important;
}

.has-pp-brand {
	order: 1;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #237531;
}

body.has-product .summary .product_title {
	order: 2;
	margin-top: -8px !important;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 800;
	color: #1E2B1A;
}

.has-pp-sku {
	order: 3;
	margin-top: -8px !important;
	font-size: 13px;
	color: #8A9386;
}

body.has-product .summary .woocommerce-product-details__short-description {
	order: 4;
	font-size: 15px;
	line-height: 1.55;
}

body.has-product .summary .woocommerce-product-details__short-description ul {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.has-product .summary .woocommerce-product-details__short-description li {
	position: relative;
	padding-left: 28px;
	font-size: 14px;
	line-height: 1.45;
	color: #1E2B1A;
}

body.has-product .summary .woocommerce-product-details__short-description li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	background: #237531;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Kaina + pirkimas – vienas šviesus blokas */
body.has-product .summary > .price {
	order: 5;
	margin-top: 6px !important;
	padding: 20px 20px 0;
	border-radius: 16px 16px 0 0;
	background: #F6F9EF;
	font-size: 30px;
	font-weight: 800;
	color: #1E2B1A;
}

body.has-product .summary .ct-product-add-to-cart {
	order: 6;
	margin-top: -14px !important;
	padding: 14px 20px 20px;
	border-radius: 0 0 16px 16px;
	background: #F6F9EF;
}

body.has-product .summary .ct-product-add-to-cart .stock {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 700;
	color: #237531;
}

body.has-product .summary .ct-product-add-to-cart .quantity {
	border: 1px solid #DCE6C8;
	border-radius: 10px;
	background: #fff;
}

body.has-product .summary .single_add_to_cart_button {
	min-height: 52px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 800;
}

body.has-product .summary .ct-product-divider,
body.has-product .summary .product_meta {
	display: none;
}

.has-pp-trust {
	list-style: none;
	margin: 18px 0 0;
	padding: 16px 0 0;
	border-top: 1px solid #DCE6C8;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.has-pp-trust li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12.5px;
	color: #6B7268;
}

.has-pp-trust strong {
	font-size: 13.5px;
	color: #1E2B1A;
}

.has-pp-info {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
	margin-top: 64px;
	clear: both;
}

.has-pp-info h2 {
	margin: 0 0 12px;
	font-size: 22px;
	font-weight: 800;
	color: #1E2B1A;
}

.has-pp-desc {
	font-size: 15px;
	line-height: 1.65;
}

/* Aprašymo antraštės: Blocksy jas globaliai daro baltas (tamsioms sekcijoms) */
.has-pp-desc h1,
.has-pp-desc h2,
.has-pp-desc h3,
.has-pp-desc h4,
.has-pp-desc h5,
.has-pp-desc h6 {
	margin: 24px 0 8px;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 800;
	color: #1E2B1A;
}

/* Pati „Aprašymas“ antraštė */
.has-pp-desc > h2:first-child {
	margin: 0 0 12px;
	font-size: 22px;
}

.has-pp-desc p {
	margin: 0 0 12px;
}

.has-pp-desc p:empty {
	display: none;
}

/* Specifikacijos: lengvas sąrašas vietoj tinklelio */
.has-pp-specs table.woocommerce-product-attributes {
	width: 100%;
	margin: 0;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent;
}

.has-pp-specs table.woocommerce-product-attributes tr {
	background: transparent !important;
}

.has-pp-specs table.woocommerce-product-attributes th,
.has-pp-specs table.woocommerce-product-attributes td {
	padding: 11px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid #E3E8DC !important;
	background: transparent !important;
	font-size: 14px;
	text-align: left;
	vertical-align: top;
}

.has-pp-specs table.woocommerce-product-attributes th {
	width: 45%;
	font-weight: 500;
	color: #6B7268;
}

.has-pp-specs table.woocommerce-product-attributes td {
	font-weight: 600;
	color: #1E2B1A;
}

.has-pp-specs table.woocommerce-product-attributes td p {
	margin: 0;
}

.has-pp-specs table.woocommerce-product-attributes td a {
	color: #1E2B1A;
	text-decoration: none;
}

body.has-product .related.products,
body.has-product .up-sells {
	margin-top: 64px;
}

body.has-product .related.products > h2,
body.has-product .up-sells > h2 {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 800;
	color: #1E2B1A;
	text-align: left;
}

.has-sticky-buy {
	display: none;
}

/* ---------- Paieškos skydelis header'yje ---------- */

.has-search-panel {
	position: absolute;
	z-index: 1000;
	width: 420px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: #fff;
	border: 1px solid var(--has-soft-line);
	border-radius: 8px;
	box-shadow: 0 16px 32px rgba(30, 43, 26, 0.16);
	color: var(--has-text);
}

.has-search-panel[hidden] {
	display: none;
}

.has-search-panel form {
	display: flex;
	gap: 8px;
	margin: 0;
}

.has-search-panel input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--has-green);
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
}

.has-search-panel input[type="search"]:focus {
	outline: 3px solid #D7E9D3;
	outline-offset: 0;
}

.has-search-panel__close {
	width: 46px;
	height: 46px;
	border: 1px solid var(--has-input);
	border-radius: 8px;
	background: #fff;
	color: var(--has-ink);
	font-size: 20px;
	cursor: pointer;
}

.has-search-panel__status {
	font-size: 13px;
	color: var(--has-muted);
}

.has-search-panel__status:empty {
	display: none;
}

.has-search-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.has-search-panel li a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	border-radius: 8px;
	color: var(--has-ink);
	text-decoration: none;
}

.has-search-panel li a:hover,
.has-search-panel li a:focus-visible {
	background: var(--has-soft);
}

.has-search-panel li img,
.has-search-panel li .has-sp-noimg {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	border: 1px solid var(--has-line);
	background: #F5F7F2;
	object-fit: contain;
}

.has-sp-name {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

.has-sp-price {
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.has-search-panel__all {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-top: 1px solid var(--has-line);
	font-size: 14px;
	font-weight: 700;
	color: var(--has-green);
}

.has-search-panel__all[hidden] {
	display: none;
}

[data-has-search-open="true"] {
	background: var(--has-green, #237531);
	border-radius: 8px;
}

/* ---------- Planšetė ir telefonas ---------- */

@media (max-width: 999px) {
	.has-hero {
		grid-template-columns: 1fr;
	}

	.has-promos {
		flex-direction: row;
	}
}

@media (max-width: 689px) {
	.has-eshop {
		padding: 14px 16px 32px;
		gap: 28px;
	}

	.has-eshop .has-searchbar {
		margin-top: -12px;
	}

	/* Visos skaidrės vienodo, kompaktiško aukščio – baneris nešokinėja */
	.has-slider,
	.has-slide {
		height: 400px;
		min-height: 0;
	}

	/* Telefone tekstas – daugiausia 2 eilutės */
	.has-slide p {
		font-size: 13.5px;
		line-height: 1.4;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.has-slide {
		flex-direction: column;
		align-items: stretch;
		padding: 22px 20px 52px;
	}

	.has-slide__text {
		align-items: stretch;
	}

	.has-slide__title {
		font-size: 26px;
	}

	.has-slide p {
		font-size: 14px;
	}

	.has-slide__media img {
		max-height: 110px;
	}

	.has-slider__controls {
		left: 0;
		right: 0;
		bottom: 8px;
		justify-content: center;
	}

	.has-slide--large .has-slide__text,
	.has-slide--photo .has-slide__text {
		max-width: none;
	}

	.has-slide--large {
		padding-bottom: 0;
	}

	.has-slide--large .has-slide__media {
		position: relative;
		width: auto;
		height: 130px;
		margin: 4px -20px 36px 0;
	}

	.has-slide--photo {
		justify-content: flex-start;
	}

	.has-slide__logo img {
		height: 24px;
	}

	.has-slider__arrows {
		display: none;
	}

	.has-promos {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.has-promo {
		padding: 14px;
	}

	.has-promo__title {
		font-size: 15px;
	}

	.has-promo__tag,
	.has-promo__text {
		font-size: 12px;
	}

	.has-searchbar {
		flex-direction: column;
		align-items: stretch;
		padding: 12px;
	}

	.has-searchbar__form {
		flex-basis: auto;
	}

	.has-searchbar__help {
		flex-direction: row;
		gap: 6px;
	}

	.has-section__head h2 {
		font-size: 19px;
	}

	.has-cats {
		display: flex;
		overflow-x: auto;
		gap: 6px;
		margin: 0 -16px;
		padding: 2px 16px 6px;
	}

	.has-cat {
		flex: 0 0 96px;
		padding: 0;
		border: 0;
		gap: 8px;
		font-size: 12.5px;
		line-height: 1.25;
	}

	.has-cat__img {
		width: 72px;
		height: 72px;
		border: 1px solid var(--has-soft-line);
	}

	.has-brands {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 8px;
	}

	.has-brands a {
		flex: 1 1 0;
		min-width: 0;
		height: 40px;
		font-size: 14px;
	}

	.has-brands img {
		max-height: 24px;
		max-width: 100%;
	}

	.has-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 12px;
	}

	.has-help {
		padding: 12px;
	}

	.has-help .has-btn {
		width: 100%;
	}

	/* Telefone – 2 prekės eilutėje, kortelė v2 */
	.has-eshop ul.products[data-products],
	body.has-list ul.products[data-products],
	body.has-product ul.products[data-products] {
		--shop-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 10px;
	}

	.has-eshop ul.products figure img,
	body.has-list ul.products figure img,
	body.has-product ul.products figure img {
		padding: 10px;
	}

	.has-card-spec {
		display: none;
	}

	/* Siauroje kortelėje „(su PVM)“ laužydavo kainą į dvi eilutes */
	.has-eshop ul.products .price .woocommerce-price-suffix,
	body.has-list ul.products .price .woocommerce-price-suffix,
	body.has-product ul.products .price .woocommerce-price-suffix {
		display: none;
	}

	.has-eshop ul.products .woocommerce-loop-product__title,
	body.has-list ul.products .woocommerce-loop-product__title,
	body.has-product ul.products .woocommerce-loop-product__title {
		font-size: 13px;
	}

	.has-eshop ul.products .price,
	body.has-list ul.products .price,
	body.has-product ul.products .price {
		font-size: 16px;
	}

	.has-eshop ul.products .ct-woo-card-actions .button,
	body.has-list ul.products .ct-woo-card-actions .button,
	body.has-product ul.products .ct-woo-card-actions .button {
		width: 40px;
		height: 40px;
		min-height: 40px;
	}

	/* Prekės puslapis */
	body.has-product .woocommerce-product-gallery .ct-media-container {
		border-radius: 0;
		margin: 0 -16px;
	}

	body.has-product .summary .product_title {
		font-size: 22px;
	}

	body.has-product .summary > .price {
		font-size: 26px;
	}

	.has-pp-trust {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.has-pp-info {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 36px;
	}

	.has-pp-specs {
		order: -1;
	}

	.has-pp-info h2,
	.has-pp-desc > h2:first-child,
	body.has-product .related.products > h2 {
		font-size: 18px;
	}

	body.has-product {
		padding-bottom: 76px;
	}

	/* Blocksy telefone slepia „Panašios prekės“ – rodome, 2 eilutėje */
	body.has-product .related.products.ct-hidden-sm {
		display: block !important;
	}

	.has-sticky-buy:not([hidden]) {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid #E3E8DC;
		box-shadow: 0 -6px 16px rgba(30, 43, 26, 0.08);
	}

	.has-sticky-buy__price {
		font-size: 18px;
		font-weight: 800;
		color: #1E2B1A;
		line-height: 1.2;
	}

	.has-sticky-buy .has-btn {
		flex: 1;
		min-height: 50px;
		border: 0;
		border-radius: 10px;
		font-size: 16px;
		cursor: pointer;
	}

	.has-cat-top__title {
		font-size: 24px;
	}

	.has-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
	}

	.has-chips a {
		flex: 0 0 auto;
	}

	.has-search-panel {
		left: 0 !important;
		right: 0;
		width: 100%;
		max-width: 100%;
		border-radius: 0;
		border-width: 0 0 1px;
		padding: 14px 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.has-slider__dots span {
		transition: none;
	}
}
