/**
 * Ürün fotoğrafı tam ekran açılır. Üst çubuk yok, yalnızca kapatma.
 */

.pswp {
	position: fixed !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	height: 100dvh !important;
	background: #000;
}

.pswp__bg {
	background: #000 !important;
}

.pswp__top-bar,
.pswp__caption {
	background: transparent !important;
	box-shadow: none;
}

.pswp__top-bar {
	height: 0;
	overflow: visible;
}

.pswp__counter,
.pswp__button--zoom,
.pswp__button--fs,
.pswp__button--share,
.pswp__caption {
	display: none !important;
}

.pswp__ui--idle .pswp__button--close,
.pswp__ui--hidden .pswp__button--close {
	opacity: 1 !important;
}

button.pswp__button--close {
	position: fixed;
	top: calc(16px + env(safe-area-inset-top));
	right: 16px;
	z-index: 1600;
	width: 44px;
	height: 44px;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16) !important;
	background-image: none !important;
	backdrop-filter: blur(12px);
	box-shadow: none !important;
}

button.pswp__button--close::before,
button.pswp__button--close::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 21px;
	width: 20px;
	height: 1.5px;
	background: #fff;
}

button.pswp__button--close::before {
	transform: rotate(45deg);
}

button.pswp__button--close::after {
	transform: rotate(-45deg);
}

.pswp__img {
	object-fit: contain;
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
	background: rgba(255, 255, 255, 0.16) !important;
	border-radius: 999px;
	width: 44px !important;
	height: 44px !important;
	margin-top: -22px;
}

@media (max-width: 980px) {
	.pswp__button--arrow--left,
	.pswp__button--arrow--right {
		display: none !important;
	}
}
