/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.wp-zoomable-img {
	cursor: zoom-in !important;
}

.wp-image-zoom-overlay {
	position: fixed !important;
	inset: 0 !important;
	z-index: 2147483647 !important;
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 30px !important;
	box-sizing: border-box !important;
	background: rgba(20, 22, 24, 0.88) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.wp-image-zoom-overlay.is-active {
	display: flex !important;
}

.wp-image-zoom-overlay[aria-hidden="true"] {
	pointer-events: none;
}

.image-zoom-open {
	overflow: hidden;
}

.wp-image-zoom-full {
	max-width: 88vw !important;
	max-height: 88vh !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	cursor: zoom-out !important;
	opacity: 0;
	transform: scale(0.985);
	will-change: opacity, transform;
	transition: opacity 0.28s ease, transform 0.28s ease, filter 0.28s ease;
	animation: azzaZoomIn 0.32s ease forwards;
}

.wp-image-zoom-full:not(.is-loaded) {
	opacity: 0;
	transform: scale(0.985);
}

.wp-image-zoom-full.is-loaded {
	opacity: 1;
	transform: scale(1);
}

.wp-image-zoom-full.is-locally-zoomed {
	transform: scale(1.85) !important;
	cursor: zoom-out !important;
}

.wp-image-zoom-counter {
	position: absolute;
	top: 24px;
	left: 28px;
	z-index: 2147483647;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.04em;
	opacity: 0.85;
}

.wp-image-zoom-close {
	position: absolute;
	top: 20px;
	right: 24px;
	z-index: 2147483647;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.wp-image-zoom-close::before,
.wp-image-zoom-close::after {
	content: "";
	position: absolute;
	top: 20px;
	left: 8px;
	width: 26px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}

.wp-image-zoom-close::before {
	transform: rotate(45deg);
}

.wp-image-zoom-close::after {
	transform: rotate(-45deg);
}

.wp-image-zoom-close:hover {
	opacity: 0.7;
}

.wp-image-zoom-arrow {
	position: absolute;
	top: 50%;
	z-index: 2147483647;
	width: 56px;
	height: 56px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.28);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	font-size: 0;
	line-height: 1;
	transform: translateY(-50%);
	transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, opacity 0.22s ease;
}

.wp-image-zoom-arrow::before {
	display: block;
	font-size: 46px;
	font-weight: 300;
	line-height: 1;
	margin-top: -4px;
}

.wp-image-zoom-prev {
	left: 32px;
}

.wp-image-zoom-prev::before {
	content: "‹";
	margin-left: -3px;
}

.wp-image-zoom-next {
	right: 32px;
}

.wp-image-zoom-next::before {
	content: "›";
	margin-right: -3px;
}

.wp-image-zoom-arrow:hover {
	background: rgba(0, 0, 0, 0.48);
	border-color: rgba(255, 255, 255, 0.65);
	transform: translateY(-50%) scale(1.06);
}

.wp-image-zoom-close:focus-visible,
.wp-image-zoom-arrow:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.85);
	outline-offset: 4px;
}

@keyframes azzaZoomIn {
	from {
		opacity: 0;
		transform: scale(0.985);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@media (max-width: 768px) {
	.wp-image-zoom-overlay {
		padding: 18px !important;
	}

	.wp-image-zoom-full {
		max-width: 94vw !important;
		max-height: 86vh !important;
	}

	.wp-image-zoom-arrow {
		width: 44px;
		height: 44px;
	}

	.wp-image-zoom-arrow::before {
		font-size: 36px;
		margin-top: -3px;
	}

	.wp-image-zoom-prev {
		left: 12px;
	}

	.wp-image-zoom-next {
		right: 12px;
	}
}
