/*
StudioFabryka.pl
2025-10-27
*/

:root {
	--primary-color: hsl(28 80% 52%);
}

.text-primary {
	color: var(--primary-color);
}

.card[x-data] {
	cursor: pointer;

	&:hover,
	&:focus {
		& .card-img-top img {
			transform: scale(1.1);
		}
	}
}

.polecane .card {
	border: 1px solid white;
	background-color: hsl(0 0% 100% / .1);
}

.polecane .card-body {
	background-color: transparent;
}

.card-img-top {
	overflow: hidden;
	display: block;
	width: 100%;
	padding: 1rem 1rem 0;

	& img {
		aspect-ratio: 4/3;
		object-fit: contain;
		transition: transform 600ms cubic-bezier(0.165, 0.84, 0.44, 1);
	}
}

.tabela-skladniki {
	width: 100%;
	border-collapse: separate;
	border-spacing: 3px;
}

.tabela-skladniki td {
	color: #212121;
}

.tabela-skladniki th {
	background-color: #f18c00;
	/* pomarańczowy nagłówek */
	color: white;
	text-align: left;
	padding: .75rem;
	font-weight: bold;
}

.tabela-skladniki td {
	padding: .75rem;
}

.tabela-skladniki tbody tr:nth-child(even) {
	background-color: #FCE6D3;
}

.tabela-skladniki tbody tr:nth-child(odd) {
	background-color: #FDF2E3;
}

/* MARK: pliki do pobrania */

.download-link {
	padding: 1rem 0;
	color: white;
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);

		& img {
			transform: translateY(0);
		}
	}

	&+.download-link {
		border-top: 1px solid hsl(0 0% 100% / .2);
	}

	& img {
		transform: translateY(-2px);
		transition: transform 200ms;
	}
}

.download-link-extension {
	color: var(--primary-color);
}






@media (max-width: 991px) {
	.polecane .col-lg-3+.col-lg-3 {
		margin-top: 5.5rem;
	}

	.zadzwon {
		width: 100%;
		justify-content: center;
	}

	.download-link span {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;

		& small {margin: 0.5rem 0 0 0 !important;}
	}

	.download-link img {display: none !important;}
}