.py-single {
	background: #fff;
	color: #000;
}

.py-single h1 {
	white-space: pre-line;
}

.py-single__missing {
	margin: 0;
	padding: 48px clamp(16px, 3vw, 40px);
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
}

.py-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
	gap: 22px;
	align-items: start;
	padding: 28px clamp(16px, 3vw, 40px) 72px;
}

.py-single__side {
	position: sticky;
	top: calc(var(--py-header-h) + 16px);
	z-index: 2;
	display: grid;
	gap: 16px;
}

.admin-bar .py-single__side,
.admin-bar .py-jumps {
	top: calc(var(--py-header-h) + 44px);
}

.py-frame {
	position: relative;
	border: 1px solid #000;
	background: #fff;
}

.py-single__sheet {
	padding: 18px 18px 28px;
}

.py-jumps {
	position: sticky;
	top: calc(var(--py-header-h) + 10px);
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 -18px 0;
	padding: 12px 18px 14px;
	border-bottom: 1px solid #000;
	background: #fff;
}

.py-jumps a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 12px;
	border: 1px solid #000;
	background: #fff;
	color: #000 !important;
	-webkit-text-fill-color: #000;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.py-block {
	padding-top: 28px;
	scroll-margin-top: calc(var(--py-header-h) + 86px);
}

.admin-bar .py-block {
	scroll-margin-top: calc(var(--py-header-h) + 118px);
}

.py-block h2,
.py-review-form__title {
	margin: 0 0 16px;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.5;
}

.py-block__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.py-block__bar h2 {
	margin: 0;
}

.py-block__empty {
	margin: 0;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	line-height: 1.8;
}

.py-specs {
	width: 100%;
	border: 1px solid #000;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
}

.py-specs th,
.py-specs td {
	padding: 14px 16px;
	border: 0;
	border-bottom: 1px solid #000;
	background: #fff;
	color: #000;
	text-align: right;
	vertical-align: middle;
	line-height: 1.8;
}

.py-specs tr:last-child th,
.py-specs tr:last-child td {
	border-bottom: 0;
}

.py-specs th {
	width: 28%;
	border-left: 1px solid #000;
	font-size: 14px;
	font-weight: 800;
}

.py-specs td {
	font-size: 14px;
	font-weight: 500;
}

.py-gallery {
	position: relative;
	overflow: hidden;
}

.py-gallery__track {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.py-gallery__track::-webkit-scrollbar {
	display: none;
}

.py-gallery__item {
	margin: 0;
	flex: 0 0 calc((100% - 24px) / 3);
	max-width: calc((100% - 24px) / 3);
	overflow: hidden;
	border: 1px solid #000;
	aspect-ratio: 1;
	background: #111;
	scroll-snap-align: start;
	animation: py-card-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i, 0) * 45ms);
}

.py-gallery__open {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

.py-gallery__item img,
.py-side-shot__img,
.py-proj__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: grayscale(1) contrast(1.05);
	transition: transform 0.7s ease, filter 0.45s ease;
}

.py-gallery__item:hover img,
.py-side-shot:hover .py-side-shot__img,
.py-proj:hover img {
	transform: scale(1.05);
	filter: none;
}

.py-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.py-lightbox:not([hidden]) {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.py-lightbox.is-in {
	opacity: 1;
}

.py-lightbox__veil {
	position: absolute;
	inset: 0;
	border: 0;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.88);
	background-color: rgba(0, 0, 0, 0.88);
	box-shadow: none;
	cursor: pointer;
}

.py-lightbox__figure {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: min(1100px, 92vw);
	max-height: 88vh;
}

.py-lightbox__figure img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(1100px, 92vw);
	max-height: 88vh;
	object-fit: contain;
	background: #000;
}

.py-lightbox__x,
.py-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #fff;
	background: #000;
	color: #fff;
	cursor: pointer;
}

.py-lightbox__x {
	top: 18px;
	inset-inline-end: 18px;
}

.py-lightbox__nav--prev {
	inset-inline-start: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.py-lightbox__nav--next {
	inset-inline-end: 18px;
	top: 50%;
	transform: translateY(-50%);
}

.py-lightbox__x svg,
.py-lightbox__nav svg {
	width: 18px;
	height: 18px;
}

.py-desc {
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 2;
	text-align: right;
}

.py-desc > *:first-child {
	margin-top: 0;
}

.py-desc > *:last-child {
	margin-bottom: 0;
}

.py-desc img {
	max-width: 100%;
	height: auto;
	border: 1px solid #000;
}

.py-rail__nav {
	display: flex;
	gap: 8px;
}

.py-rail__nav button {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	cursor: pointer;
}

.py-rail__nav svg {
	width: 16px;
	height: 16px;
}

.py-rail__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.py-rail__track::-webkit-scrollbar {
	display: none;
}

.py-rail__track > .py-pcard,
.py-rail__track > .py-proj {
	flex: 0 0 calc(33.333% - 11px);
	min-width: 210px;
	scroll-snap-align: start;
}

.py-proj {
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: #000 !important;
	-webkit-text-fill-color: #000;
	text-decoration: none;
	animation: py-card-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i, 0) * 50ms);
}

.py-proj__shot {
	display: block;
	overflow: hidden;
	border: 1px solid #000;
	aspect-ratio: 16 / 10;
	background: #111;
}

.py-proj__fallback,
.py-side-shot__fallback {
	display: flex;
	align-items: flex-end;
	width: 100%;
	height: 100%;
	padding: 14px;
	box-sizing: border-box;
	color: #fff;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-weight: 700;
}

.py-proj strong {
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.py-side-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 48px;
	gap: 10px;
	align-items: stretch;
}

.py-side-tools {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.py-tool {
	display: grid;
	place-items: center;
	width: 48px;
	min-height: 0;
	padding: 0;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	cursor: pointer;
}

.py-tool svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
}

.py-tool.is-on svg path {
	fill: currentColor;
}

.py-tool:disabled,
.py-tool:disabled:hover,
.py-tool:disabled:focus {
	background: #fff;
	color: #000;
	opacity: 0.35;
	cursor: not-allowed;
}

.py-side-shot {
	overflow: visible;
	aspect-ratio: 1;
	min-height: 0;
}

.py-side-shot__img,
.py-side-shot__fallback {
	width: 100%;
	height: 100%;
}

.py-side-shot__img {
	aspect-ratio: 1;
}

.py-side-card {
	display: grid;
	gap: 12px;
	padding: 16px;
}

.py-side-card__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #000;
}

.py-side-card__pair > div {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.py-side-card__row {
	display: grid;
	gap: 6px;
	padding-bottom: 12px;
	border-bottom: 1px solid #000;
}

.py-side-card__pair span,
.py-side-card__pair p,
.py-side-card__pair button,
.py-side-card__row span,
.py-side-card__row p,
.py-side-card__row button,
.py-side-card__phone,
.py-side-card__order {
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
}

.py-side-card__pair span,
.py-side-card__row span {
	font-size: 12px;
	font-weight: 700;
}

.py-side-card__pair p,
.py-side-card__row p {
	margin: 0;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.7;
}

.py-side-card__pair button,
.py-side-card__row button {
	justify-self: start;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.py-side-card__pair button:hover,
.py-side-card__pair button:focus-visible,
.py-side-card__row button:hover,
.py-side-card__row button:focus-visible {
	text-decoration: underline;
}

.py-pop__card.is-wide {
	width: min(880px, 100%);
}

.py-video video,
.py-video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	background: #000;
}

.py-share__link {
	display: flex;
	gap: 8px;
	margin-bottom: 16px;
}

.py-share__link input {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	font-family: "Poppins", Tahoma, sans-serif;
	font-size: 13px;
}

.py-share__link button,
.py-share__nets a,
.py-share__nets button {
	display: grid;
	place-items: center;
	border: 1px solid #000;
	background: #fff;
	color: #000;
	cursor: pointer;
	text-decoration: none;
}

.py-share__link button {
	min-width: 64px;
	padding: 0 12px;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-weight: 800;
}

.py-share__nets {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.py-share__nets a,
.py-share__nets button {
	width: 42px;
	height: 42px;
	padding: 0;
}

.py-share__nets svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
}

.py-share__nets svg .is-fill {
	fill: currentColor;
	stroke: none;
}

.py-side-card__phone,
.py-side-card__order {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #000;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
	text-decoration: none;
}

.py-side-card__phone {
	background: #fff;
	color: #000 !important;
	-webkit-text-fill-color: #000;
}

.py-side-card__phone svg {
	width: 18px;
	height: 18px;
}

.py-side-card__order {
	background: #000;
	color: #fff !important;
	-webkit-text-fill-color: #fff;
}

.py-reviews {
	display: grid;
	gap: 12px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.py-reviews__item {
	padding: 14px;
	border: 1px solid #000;
}

.py-reviews__top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
}

.py-reviews__top time {
	font-size: 12px;
}

.py-reviews__text {
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	line-height: 1.9;
}

.py-reviews__text p {
	margin: 0;
}

.py-stars {
	display: inline-flex;
	gap: 4px;
	margin-bottom: 8px;
}

.py-stars i {
	width: 10px;
	height: 10px;
	border: 1px solid #000;
	background: #fff;
}

.py-stars i.is-on {
	background: #000;
}

.py-review-form,
.comment-respond {
	display: grid;
	gap: 10px;
}

.py-rate {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
}

.py-rate legend {
	width: 100%;
	margin-bottom: 4px;
	padding: 0;
	font-weight: 800;
}

.py-rate label,
.py-review-form label,
.comment-form-author,
.comment-form-email {
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 13px;
	font-weight: 700;
}

.py-review-form label,
.comment-respond label {
	display: grid;
	gap: 6px;
}

.py-review-form input[type="text"],
.py-review-form input[type="email"],
.py-review-form textarea,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
	width: 100%;
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #000;
	border-radius: 0;
	background: #fff;
	color: #000;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-size: 14px;
	box-sizing: border-box;
}

.py-review-form textarea,
.comment-respond textarea {
	min-height: 120px;
	resize: vertical;
}

.py-review-form .form-submit,
.comment-respond .form-submit {
	margin: 4px 0 0;
}

.py-review-form .form-submit input,
.comment-respond .form-submit input {
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-family: "Ray", "Poppins", Tahoma, sans-serif;
	font-weight: 800;
	cursor: pointer;
}

body.punchyab .py-tool:hover:not(:disabled),
body.punchyab .py-tool:focus-visible:not(:disabled),
body.punchyab .py-tool.is-on,
body.punchyab .py-share__nets a:hover,
body.punchyab .py-share__nets button:hover,
body.punchyab .py-share__link button:hover,
body.punchyab .py-jumps a:hover,
body.punchyab .py-jumps a:focus-visible,
body.punchyab .py-jumps a.is-on,
body.punchyab .py-rail__nav button:hover,
body.punchyab .py-rail__nav button:focus,
body.punchyab .py-rail__nav button:focus-visible,
body.punchyab .py-rail__nav button:active,
body.punchyab .py-side-card__phone:hover,
body.punchyab .py-side-card__phone:focus-visible {
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border-color: #000 !important;
	box-shadow: none !important;
}

body.punchyab .py-lightbox__veil,
body.punchyab .py-lightbox__veil:hover,
body.punchyab .py-lightbox__veil:focus,
body.punchyab .py-lightbox__veil:focus-visible,
body.punchyab .py-lightbox__veil:active {
	background: rgba(0, 0, 0, 0.88) !important;
	background-color: rgba(0, 0, 0, 0.88) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: transparent !important;
}

body.punchyab .py-lightbox__x,
body.punchyab .py-lightbox__x:hover,
body.punchyab .py-lightbox__x:focus,
body.punchyab .py-lightbox__x:focus-visible,
body.punchyab .py-lightbox__x:active,
body.punchyab .py-lightbox__nav,
body.punchyab .py-lightbox__nav:hover,
body.punchyab .py-lightbox__nav:focus,
body.punchyab .py-lightbox__nav:focus-visible,
body.punchyab .py-lightbox__nav:active {
	background: #000 !important;
	background-color: #000 !important;
	background-image: none !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

body.punchyab .py-gallery__open,
body.punchyab .py-gallery__open:hover,
body.punchyab .py-gallery__open:focus,
body.punchyab .py-gallery__open:focus-visible,
body.punchyab .py-gallery__open:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: inherit !important;
}

body.punchyab .py-rail__nav button,
body.punchyab .py-rail__nav button:visited {
	background: #fff !important;
	background-color: #fff !important;
	background-image: none !important;
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.punchyab .py-single .py-pcard__order,
body.punchyab .py-single .py-pcard__order:hover,
body.punchyab .py-single .py-pcard__order:focus,
body.punchyab .py-side-card__order,
body.punchyab .py-side-card__order:hover,
body.punchyab .py-side-card__order:focus,
body.punchyab .py-review-form .form-submit input,
body.punchyab .py-review-form .form-submit input:hover,
body.punchyab .comment-respond .form-submit input,
body.punchyab .comment-respond .form-submit input:hover {
	background: #000 !important;
	background-color: #000 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border-color: #000 !important;
}

body.punchyab .py-side-card__pair a,
body.punchyab .py-side-card__pair a:hover,
body.punchyab .py-side-card__pair button,
body.punchyab .py-side-card__row a,
body.punchyab .py-side-card__row a:hover,
body.punchyab .py-side-card__row button,
body.punchyab .py-side-card__row button:hover,
body.punchyab .py-proj,
body.punchyab .py-proj:hover {
	color: #000 !important;
	-webkit-text-fill-color: #000 !important;
	background: transparent !important;
	text-decoration: none !important;
}

html.py-lightbox-open,
html.py-lightbox-open body {
	overflow: hidden;
}

@media (max-width: 1100px) {
	.py-gallery__item {
		flex-basis: calc((100% - 12px) / 2);
		max-width: calc((100% - 12px) / 2);
	}
	.py-rail__track > .py-pcard,
	.py-rail__track > .py-proj { flex-basis: calc(50% - 8px); }
}

@media (max-width: 980px) {
	.py-single__layout {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
	.py-single__main,
	.py-single__side,
	.py-single__sheet,
	.py-side-top,
	.py-side-shot,
	.py-side-card,
	.py-rail,
	.py-rail__track {
		min-width: 0;
		max-width: 100%;
	}
	.py-single__side {
		position: static;
		order: -1;
	}
}

@media (max-width: 700px) {
	.py-single {
		overflow-x: hidden;
		max-width: 100%;
	}

	.py-single__layout {
		padding: 14px 14px 40px;
		gap: 14px;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	.py-single__sheet {
		padding: 12px;
		max-width: 100%;
		box-sizing: border-box;
	}

	.py-jumps {
		flex-wrap: nowrap;
		overflow-x: auto;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 0;
		padding: 10px 0 12px;
		box-sizing: border-box;
		-webkit-overflow-scrolling: touch;
	}

	.py-jumps a {
		flex: 0 0 auto;
		min-height: 34px;
		padding: 0 10px;
		font-size: 12px;
	}

	.py-block {
		padding-top: 20px;
		max-width: 100%;
	}

	.py-block h2,
	.py-review-form__title {
		font-size: 17px;
	}

	.py-specs th,
	.py-specs td {
		padding: 10px 12px;
		font-size: 13px;
		line-height: 1.6;
	}

	.py-specs th {
		width: 36%;
	}

	.py-gallery__track {
		gap: 8px;
	}

	.py-gallery__item {
		flex-basis: 86%;
		max-width: 86%;
	}

	.py-rail__track > .py-pcard,
	.py-rail__track > .py-proj {
		min-width: 0;
		max-width: 78%;
		flex-basis: 78%;
	}

	.py-side-card {
		padding: 12px;
		gap: 10px;
	}

	.py-side-card__pair {
		gap: 8px;
		padding-bottom: 10px;
	}

	.py-side-card__pair p,
	.py-side-card__row p,
	.py-side-card__pair button,
	.py-side-card__row button {
		font-size: 13px;
		overflow-wrap: anywhere;
	}

	.py-side-card__phone,
	.py-side-card__order {
		min-height: 40px;
		font-size: 13px;
	}

	.py-desc {
		font-size: 14px;
		line-height: 1.85;
	}

	.py-desc,
	.py-desc p,
	.py-sheet__body,
	.py-sheet__lead,
	.py-sheet h3 {
		overflow-wrap: anywhere;
	}

	.py-side-shot {
		overflow: hidden;
		max-width: 100%;
		aspect-ratio: 1;
		background: #111;
	}

	.py-side-shot__img,
	.py-side-shot img,
	.py-gallery__item img,
	.py-gallery__open img {
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		object-fit: cover !important;
		object-position: center !important;
	}

	.py-lightbox {
		padding: 12px;
	}

	.py-lightbox__nav--prev {
		inset-inline-start: 8px;
	}

	.py-lightbox__nav--next {
		inset-inline-end: 8px;
	}

	.py-side-top,
	.py-tools {
		max-width: 100%;
	}

	.py-review-form input,
	.py-review-form textarea,
	.comment-respond input,
	.comment-respond textarea {
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}
}

@media (max-width: 782px) {
	.admin-bar .py-single__side { top: calc(var(--py-header-h) + 16px); }
	.admin-bar .py-jumps { top: calc(var(--py-header-h) + 10px); }
}

@media (prefers-reduced-motion: reduce) {
	.py-gallery__item,
	.py-proj,
	.py-gallery__item img,
	.py-side-shot__img,
	.py-proj__shot img { animation: none; transition: none; }
}
