/* egyeurogroup.com: CSS for site.js (replaces styles that the old jQuery plugins set inline). */

/* Home page slider (was Cycle2) */
.cycle-slider { position: relative; overflow: hidden; }
.cycle-slider > .slide-wrap { position: absolute; top: 0; left: 0; }
.cycle-slider > .cycle-sentinel { position: static; visibility: hidden; display: block; }
.cycle-slider > .cycle-prev, .cycle-slider > .cycle-next, .cycle-slider > #progress { z-index: 90; }
.cycle-tiles-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cycle-tile { position: absolute; top: 0; overflow: hidden; margin: 0; padding: 0; will-change: transform; }
.cycle-prev:focus-visible, .cycle-next:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }

/* Product grid (was Isotope): items are positioned by site.js */
#contain.isotope { position: relative; }

/* Image lightbox (was prettyPhoto, default theme) */
dialog.site-lightbox {
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    max-width: 92vw;
    max-height: 92vh;
    overflow: visible;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
dialog.site-lightbox::backdrop { background: rgba(0, 0, 0, 0.5); }
dialog.site-lightbox img { display: block; max-width: calc(92vw - 20px); max-height: calc(92vh - 60px); margin: 0 auto; }
dialog.site-lightbox .site-lightbox-close {
    display: block;
    margin: 10px 0 0 auto;
    width: 30px;
    height: 30px;
    border: 0;
    cursor: pointer;
    background: url(../images/prettyPhoto/default/sprite.png) 2px 1px no-repeat;
}
