/* UNV-IP.LT pataisymai (2026). Kraunamas paskutinis, po style.css. */

/* Prekių kortelės: vienodas aukštis, aiškesnis pavadinimas */
.men-pro-item {
	border-radius: 4px;
	transition: box-shadow .2s ease;
}
.men-pro-item:hover {
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}
.item-info-product h4,
.item-info-product h4 a {
	line-height: 1.4;
}
.men-thumb-item img {
	object-fit: contain;
}

/* Slaiderio skaidrė su prekėmis dešinėje: tekstas kairėje */
.carousel .item.unv-hero {
	background-position: right center !important;
}
/* tamsus perėjimas kairėje, kad tekstas visada būtų ant tamsaus fono */
.carousel .item.unv-hero::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: linear-gradient(90deg, rgba(12, 12, 14, .92) 0%, rgba(12, 12, 14, .75) 35%, rgba(12, 12, 14, 0) 55%);
}
.carousel .item.unv-hero .container {
	position: relative;
	z-index: 1;
}
.carousel .item.unv-hero .carousel-caption {
	text-align: left;
	left: auto;
	right: auto;
	max-width: 40%;
	margin-left: 90px !important; /* kad neužlįstų po kaire rodykle */
}
.carousel .item.unv-hero .carousel-caption h3 {
	letter-spacing: 4px !important;
	font-size: 2.2em !important;
	line-height: 1.25;
}
.carousel .item.unv-hero .carousel-caption p {
	letter-spacing: 2px !important;
	line-height: 1.6;
}

/* Kategorijų medis: kairėje lygiuotas tekstas */
.css-treeview {
	text-align: left;
}
.css-treeview label,
.css-treeview a {
	white-space: normal;
}

/* ---------- Telefonai ---------- */
@media (max-width: 767px) {
	/* Viršutinė juosta kompaktiškesnė */
	.header ul li {
		font-size: 12px;
		padding: 6px 4px;
	}
	/* Paieška ir logotipas mažiau užima vietos */
	.header-bot {
		padding: 10px 0 6px;
	}
	.header-bot .header-middle {
		margin-bottom: 6px;
	}
	.logo_agile {
		padding: 4px 0 0;
	}
	.logo_agile img {
		max-height: 46px;
		width: auto;
	}

	/* Kategorijų medis per visą plotį */
	.products-left .css-treeview {
		width: 100%;
		float: none;
	}

	/* Telefone prekių skaidrė: tekstas centre, prekės už jo pritemdytos */
	.carousel .item.unv-hero {
		background-position: 80% center !important;
	}
	.carousel .item.unv-hero::before {
		background: rgba(12, 12, 14, .55);
	}
	.carousel .item.unv-hero .carousel-caption {
		text-align: center;
		max-width: none;
		margin-left: 0 !important;
	}

	/* Slaiderio tekstas telefone */
	.carousel-caption h3 {
		font-size: 22px;
		letter-spacing: 2px;
	}
	.carousel-caption p {
		font-size: 13px;
		letter-spacing: 1px;
	}

	/* Prekės aprašymas telefone neišlenda už ekrano */
	.single-right-left img,
	.product-desc img,
	.single-pro img {
		max-width: 100%;
		height: auto;
	}
	.single-right-left table,
	.single-pro table {
		display: block;
		overflow-x: auto;
	}
}
