/**
 * VeniDesign Toolkit — kafelki typów podłóg ([vdt_category_tiles])
 * Fotograficzne kafelki z hover-zoomem zdjęcia (przybliżenie do podłogi).
 */

.vdt-hct {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	font-family: Inter, system-ui, sans-serif;
}
@media (max-width: 900px) {
	.vdt-hct { grid-template-columns: 1fr; gap: 16px; }
}

.vdt-hct__tile {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	text-decoration: none;
	isolation: isolate;
}
@media (max-width: 900px) {
	.vdt-hct__tile { aspect-ratio: 16 / 10; }
}
.vdt-hct__tile:focus-visible { outline: 2px solid #f98d00; outline-offset: 2px; }

.vdt-hct__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.22, .61, .36, 1);
	will-change: transform;
}
.vdt-hct__tile:hover .vdt-hct__img,
.vdt-hct__tile:focus-visible .vdt-hct__img {
	transform: scale(1.09);
}
@media (prefers-reduced-motion: reduce) {
	.vdt-hct__img { transition: none; }
	.vdt-hct__tile:hover .vdt-hct__img,
	.vdt-hct__tile:focus-visible .vdt-hct__img { transform: none; }
}

/* Scrim — czytelność białego tekstu na jasnych podłogach */
.vdt-hct__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 24, 17, 0) 48%, rgba(17, 24, 17, .62) 100%);
	pointer-events: none;
}

.vdt-hct__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 22px 24px;
	color: #fff;
}
.vdt-hct__title {
	font-size: clamp(19px, 1.8vw, 24px);
	font-weight: 700;
	line-height: 1.15;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}
.vdt-hct__sub {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, .88);
}
.vdt-hct__cta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 10px;
	font-size: 13.5px;
	font-weight: 700;
}
.vdt-hct__cta svg { transition: transform .3s; }
.vdt-hct__tile:hover .vdt-hct__cta svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
	.vdt-hct__cta svg, .vdt-hct__tile:hover .vdt-hct__cta svg { transition: none; transform: none; }
}

/* Mobile (makieta): tylko tytuł */
@media (max-width: 639px) {
	.vdt-hct__sub, .vdt-hct__cta { display: none; }
	.vdt-hct__body { padding: 16px 18px; }
}
