.buttons-nav {
	display: inline-flex;
	align-items: stretch;
	margin: 10px;
	border-radius: 3px;
	box-shadow: 1px 1px 5px #88888877;
	overflow: hidden;
}
.buttons-nav a {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 3px 15px;
	line-height: 20px;
	text-decoration: none;
	font-size: 18px;
	transition: background .2s;
}
.buttons-nav a + a {
	border-left: 1px solid #88888822;
}
.buttons-nav a:hover {
	text-decoration: none;
	background: #88888822;
}
.buttons-nav .fa-list {
	font-size: 14px;
}

.product-block {
	display: flex;
	align-items: stretch;
}
.product-block img {
	max-width: 100%;
	vertical-align: middle;
}
.product-block .gallery {
	display: flex;
	align-items: stretch;
	max-width: 75%;
}

.product-block .gallery .counter {
	display: none;
}
.product-block .gallery .counter .wrapper {
	padding: 3px 5px;
	font-size: .9em;
	background: #88888877;
}
.product-block .gallery .counter .sep {
	margin: 0 .4em;
}

.product-block .gallery .thumbs {
	flex: 0 0 100px;
	list-style: none;
	margin: 0;
	padding: 0 5px 0 0;
	overflow-y: auto;
}
.product-block .gallery .thumbs::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}
.product-block .gallery .thumbs::-webkit-scrollbar-track {
	background: #eee;
}
.product-block .gallery .thumbs::-webkit-scrollbar-thumb {
	background: #888;
}
.product-block .gallery .thumbs li {
	position: relative;
}
.product-block .gallery .thumbs .active::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border: 2px solid #888;
}
.product-block .gallery .thumbs li + li {
	margin-top: 10px;
}
.product-block .gallery .thumbs a {
	display: block;
}
.product-block .gallery .thumbs img {
	width: 100%;
	vertical-align: middle;
}

.product-block .gallery .thumbs + .preview {
	margin-left: 15px;
}
.product-block .gallery .preview {
	position: relative;
	overflow: hidden;
	user-select: none;
	flex: 1;
	max-width: 100%;
}
.product-block .gallery .preview a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	-webkit-user-drag: none;
	-webkit-tap-highlight-color: transparent;
}
.product-block .gallery .preview a.drag {
	pointer-events: none;
}
.product-block .gallery .preview a.move-left {
	animation: move-left forwards .3s;
	pointer-events: none;
}
@keyframes move-left {
	0% { transform: translateX(0)}
	100% { transform: translateX(-100%)}
}
.product-block .gallery .preview a.move-right {
	animation: move-right forwards .3s;
	pointer-events: none;
}
@keyframes move-right {
	0% { transform: translateX(-100%)}
	100% { transform: translateX(0)}
}
.product-block .gallery .preview img {
	flex: 0 0 0;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transition: .2s;
}
/* poprawka dla ff */
@-moz-document url-prefix() {
	.product-block .gallery .preview img {
		flex: 0 0 auto;
	}
}
.product-block .gallery .preview img.change {
	opacity: 0;
}

.product-block .details {
	flex: 1 1 40%;
	margin-left: 40px;
}
.product-block .details .line-sep {
	margin: 2em 0;
	border-top: 1px solid rgba(90,90,90,.3);
}
.product-block .details .line {
	margin-top: 2em;
	padding-top: 2em;
	border-top: 1px solid rgba(90,90,90,.3);
}
.product-block .details .nazwa_produktu {
	margin: 0;
	font-weight: normal;
}
.product-block .details #cena {
	margin: 1em 0;
	font-size: 1.6em;
}
.product-block .details .modul {
	margin: 2em 0;
}
.product-block .details .progiCenowe {
	border: none;
}
.product-block .details .payments {
	list-style: none;
	margin: 2em 0;
	padding: 1em 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.product-block .details .payments li {
	margin: 1em 1em 0 0;
}
.product-block .details .cart-group {
	display: flex;
	flex-direction: column;
	align-items: center;
}
#szczegolyProduktu .ilosc {
	margin: 0 2em 0 0;
}

.product-block .details .columns {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 10px 0;
}
.product-block .details .columns .column {
	width: 33.33%;
	min-width: 150px;
	padding: 2em 1em 0 0;
	box-sizing: border-box;
	overflow: hidden;
}
.product-block .details .columns .name {
	display: block;
	max-width: none;
	margin-bottom: .5em;
}
.product-block .details .columns .value {
	display: block;
	max-width: none;
}

.product-block .przyciskiIkony.line {
	padding-top: 1em;
}
.product-block .przyciskiIkony a {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin: 1em 1em 0 0;
	padding: 5px 8px;
	text-decoration: none;
	background: white;
	box-shadow: 1px 1px 5px #99999988;
	transition: .2s;
}
.product-block .przyciskiIkony a:hover {
	box-shadow: 1px 1px 2px #99999944;
}
.product-block .przyciskiIkony a::before {
	color: #888;
	font-family: 'Fontawesome';
	font-size: 16px;
}
.product-block .przyciskiIkony .zapytaj::before { content: '\f128'; }
.product-block .przyciskiIkony .przechowalnia::before { content: '\f004'; }
.product-block .przyciskiIkony .powiedz::before { content: '\f086'; }
.product-block .przyciskiIkony .informuj::before { content: '\f0e0'; }
.product-block .przyciskiIkony .wiecej::before { content: '\f129'; }
.product-block .przyciskiIkony .drukuj::before { content: '\f02f'; }

.wstazka {
	pointer-events: none;
}

@media (max-width: 1000px) {
	.product-block {
		display: block;
	}
	.product-block .gallery {
		max-width: 100%;
	}
	.product-block .details {
		margin: 2em 0 0 0;
	}
}
@media (max-width: 770px) {
	.product-block .gallery {
		height: unset;
	}
	.product-block .gallery .preview {
		max-height: 500px;
	}
}
@media (max-width: 490px) {
	body .product-block .gallery {
		height: unset;
		flex-direction: column;
	}
	.product-block .gallery .preview {
		max-height: 400px;
	}
	.product-block .gallery .preview img {
		height: 300px;
	}
	.product-block .gallery .counter {
		display: flex;
		order: 2;
		margin: .5em 0;
	}
	.product-block .gallery .thumbs {
		flex: 0 0 auto;
		display: flex;
		order: 3;
		width: 100%;
		padding: 0 0 5px 0;
	}
	.product-block .gallery .thumbs li {
		flex: 0 0 auto;
	}
	.product-block .gallery .thumbs li + li {
		margin: 0 0 0 5px;
	}
	.product-block .gallery .thumbs img {
		width: auto;
		height: 50px;
	}
	.product-block .gallery .thumbs + .preview {
		margin: 0;
	}
	.product-block .details .columns .column {
		width: 50%;
	}
}