.image-zoom-on-hover-container {
position: relative;
display: inline-block;
}
.image-zoom-on-hover-container img {
cursor: zoom-in;
transition: opacity 0.2s ease;
}
.image-zoom-on-hover-container img:hover {
opacity: 0.9;
}
.image-zoom-on-hover-container .zoom-indicator {
position: absolute;
top: 10px;
right: 10px;
width: 32px;
height: 32px;
background: rgba(0, 0, 0, 0.7);
border-radius: 50%;
display: none;
align-items: center;
justify-content: center;
pointer-events: none;
z-index: 100;
transition: opacity 0.2s ease;
}
.image-zoom-on-hover-container:hover .zoom-indicator {
display: flex;
}
.image-zoom-on-hover-container .zoom-indicator svg {
width: 16px;
height: 16px;
fill: white;
}
.image-zoom-on-hover-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
cursor: zoom-out;
transition: background-color 0.3s ease;
}
.image-zoom-on-hover-overlay.active {
display: flex;
}
.image-zoom-on-hover-overlay img {
cursor: zoom-out;
border-radius: 8px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.image-zoom-on-hover-close {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
background: rgba(0, 0, 0, 0.6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10000;
}
.image-zoom-on-hover-close svg {
width: 20px;
height: 20px;
fill: white;
}
@media (max-width: 768px) {
.image-zoom-on-hover-container .zoom-indicator {
width: 28px;
height: 28px;
top: 8px;
right: 8px;
}
.image-zoom-on-hover-container .zoom-indicator svg {
width: 14px;
height: 14px;
}
.image-zoom-on-hover-close {
top: 10px;
right: 10px;
width: 35px;
height: 35px;
}
} .izoh-nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 48px;
height: 48px;
background: rgba(0, 0, 0, 0.55);
border: none;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10000;
transition: background 0.2s ease;
pointer-events: all;
padding: 0;
}
.izoh-nav-btn:hover {
background: rgba(0, 0, 0, 0.80);
}
.izoh-nav-btn svg {
width: 24px;
height: 24px;
fill: white;
pointer-events: none;
}
.izoh-nav-prev {
left: 20px;
}
.izoh-nav-next {
right: 20px;
} .izoh-counter {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.55);
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-size: 14px;
line-height: 1;
padding: 6px 14px;
border-radius: 20px;
white-space: nowrap;
z-index: 10000;
pointer-events: none;
} @media (max-width: 768px) {
.izoh-nav-btn {
width: 38px;
height: 38px;
}
.izoh-nav-btn svg {
width: 20px;
height: 20px;
}
.izoh-nav-prev {
left: 10px;
}
.izoh-nav-next {
right: 10px;
}
.izoh-counter {
font-size: 12px;
bottom: 14px;
padding: 5px 11px;
}
}
.izoh-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}