
.vesna-gallery-container { display: flex; flex-direction: row; gap: 20px; position: relative; } .vesna-main-gallery { width: calc(100% - 100px); margin-left: auto; } .vesna-main-gallery .vesna-swiper { max-height: 491px; border: 1px solid #f8f8f8; } .vesna-thumbs-gallery { width: 80px; flex-direction: column; align-items: center; transition: opacity 0.3s; align-self: center; justify-content: center; } .vesna-thumbs-gallery.initializing { visibility: hidden; opacity: 0; } .vesna-thumbs-gallery.initialized { visibility: visible; opacity: 1; gap: 5px; } .vesna-thumbs-nav { width: 70px; height: 24px; min-height: unset; font-size: unset; display: flex; justify-content: center; align-items: center; cursor: pointer; background-color: rgba(255, 255, 255, 0.8); border-radius: 3px; transition: background-color 0.3s; } .vesna-thumbs-nav:hover { background-color: rgba(255, 255, 255, 1); } .vesna-thumbs-nav svg { width: 15px; height: 15px; stroke: #333; } .vesna-thumbs-nav-down svg { transform: rotate(180deg); } .vesna-thumbs-container { display: flex; flex-direction: column; overflow: hidden; justify-content: center; } .vesna-thumbs-gallery .swiper { width: 80px; display: flex; align-items: center; overflow: hidden !important; } .vesna-thumbs-gallery .swiper-wrapper { align-items: center; justify-content: center !important; flex-direction: column !important; gap: 10px; } .vesna-swiper .swiper-slide { text-align: center; } .vesna-swiper .swiper-slide img { max-width: 100%; height: auto; display: block; margin: 0 auto; } .vesna-main-gallery .swiper-slide img { height: 491px; object-fit: contain; padding: 60px; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna-thumbs-gallery .swiper-slide { cursor: pointer; width: 80px !important; height: 80px !important; border: 1px solid #333; overflow: hidden; transition: all 0.25s ease; background-color: white; flex-shrink: 0 !important; } .vesna-thumbs-gallery .swiper-slide-thumb-active { opacity: 1; border-color: #333 !important; z-index: 2; position: relative; } .vesna-thumbs-gallery .swiper-slide:hover:not(.swiper-slide-thumb-active) { border-color: #999; } .vesna-main-gallery .product-labels { flex-direction: row; gap: 8px; top: 0 !important; inset-inline-start: unset !important; z-index: 10; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna-main-gallery .product-label+.product-label { transform: none !important; } .vesna-thumbs-gallery .swiper-slide img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; padding: 5px; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna-swiper .swiper-button-next, .vesna-swiper .swiper-button-prev { display: none; } .vesna-gallery-container:hover .vesna-swiper .swiper-button-next, .vesna-gallery-container:hover .vesna-swiper .swiper-button-prev { opacity: 1; } .vesna-swiper .swiper-button-next:hover, .vesna-swiper .swiper-button-prev:hover { background: rgba(255, 255, 255, 0.95); } .vesna-navigation-zones { position: absolute; width: 100%; height: 100%; top: 0; left: 0; z-index: 9; display: flex; pointer-events: none; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna-zone { height: 100%; pointer-events: auto; } .vesna-zone-left { width: 20%; cursor: url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAzNSAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTMgMTkuMiA0IDEwLjIyIDEzIDEuMk00IDEwLjJoMjkiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMS41Ii8+PC9zdmc+'), auto; } .vesna-zone-middle { width: 60%; cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNCcgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0Jz48ZyBmaWxsPSclMjMxNDE0MTQnIGZpbGwtcnVsZT0nbm9uemVybyc+PHBhdGggZD0nTTEyIDIzYzYuMDc1IDAgMTEtNC45MjUgMTEtMTFTMTguMDc1IDEgMTIgMSAxIDUuOTI1IDEgMTJzNC45MjUgMTEgMTEgMTF6bTAgMUM1LjM3MyAyNCAwIDE4LjYyNyAwIDEyUzUuMzczIDAgMTIgMHMxMiA1LjM3MyAxMiAxMi01LjM3MyAxMi0xMiAxMnonLz48cGF0aCBkPSdNMTEuNSA2LjVhLjUuNSAwIDAgMSAxIDB2MTFhLjUuNSAwIDAgMS0xIDB6Jy8+PHBhdGggZD0nTTYuNSAxMi41YS41LjUgMCAwIDEgMC0xaDExYS41LjUgMCAwIDEgMCAxeicvPjwvZz48L3N2Zz4=") 12 12, auto; } .vesna-zone-right { width: 20%; cursor: url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAzNSAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJtMjIgMSA5IDguOThMMjIgMTlNMzEgMTBIMiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4='), auto; } .vesna-main-gallery .swiper-slide { cursor: default !important; } @media (max-width: 768px) { .vesna-main-gallery .swiper-wrapper { margin-bottom: 35px; } .vesna_modal__img { max-height: 90% !important; } .vesna-swiper-pagination { will-change: auto; contain: layout; } .vesna-main-gallery .swiper-slide img { height: auto; max-height: 350px; width: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna-main-gallery .vesna-swiper { max-height: 400px; box-sizing: border-box; } .vesna-swiper .swiper-slide { position: relative; width: 100% !important; height: 0 !important; padding-bottom: 100% !important; overflow: hidden; box-sizing: border-box; } .vesna-swiper .swiper-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; object-fit: contain; transform: translateZ(0); } .vesna-thumbs-gallery { display: none !important; } .vesna-main-gallery { width: 100% !important; margin-left: 0 !important; } .vesna-main-gallery .swiper-button-next, .vesna-main-gallery .swiper-button-prev { display: none !important; } .vesna-main-gallery .swiper-slide { cursor: pointer !important; } @supports (aspect-ratio: 1/1) { .vesna-swiper .swiper-slide { aspect-ratio: 1/1; height: auto !important; padding-bottom: 0 !important; } } } @media (min-width: 769px) { .vesna-main-gallery .swiper-pagination { display: none !important; } .vesna-swiper-pagination { display: none !important; } .vesna-thumbs-gallery { display: flex; } } .vesna_modal { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; background-color: #fff; transition: opacity 0.3s ease; overflow-y: auto; overflow-x: hidden; opacity: 0; visibility: hidden; scroll-behavior: auto; } .vesna_modal--open { opacity: 1; visibility: visible; } .vesna_modal__header { position: sticky; top: 0; gap: 10px; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 1rem; border-bottom: 1px solid #f5f5f0; background-color: #fff; -webkit-backface-visibility: hidden; } .vesna_modal__title { font-size: 1.25rem; font-weight: 400; color: #242424; } .vesna_modal__close { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; min-width: 2.5rem; min-height: 2.5rem; transition: background-color 0.2s ease; padding: 0 !important; border: none !important; border-radius: 50% !important; background-color: #d9d9d9 !important; color: #000 !important; cursor: pointer !important; z-index: 15 !important; } .vesna_modal__close:hover { background-color: #e5e5e0 !important; } .vesna_modal__close:active { transform: translateY(1px); } .vesna_modal__close svg { width: 20px; height: 20px; display: block; } .vesna_modal__content { flex: 1; padding: 2rem; display: flex; justify-content: center; position: relative; -webkit-overflow-scrolling: touch; } .vesna_modal__thumbnails { position: fixed; top: 50%; transform: translateY(-50%); -webkit-transform: translateY(-50%); display: flex; flex-direction: column; gap: 5px; width: 6rem; max-height: 70vh; overflow-y: visible; padding: 1rem 0; left: calc(50% - 765px - 50px); z-index: 5; align-items: center; will-change: transform; -webkit-backface-visibility: hidden; } .vesna_modal__thumb-nav { width: 70px; height: 24px; min-height: unset; display: flex; justify-content: center; align-items: center; cursor: pointer; background-color: rgba(255, 255, 255, 0.8); border-radius: 3px; transition: background-color 0.3s; } .vesna_modal__thumb-nav:hover { background-color: rgba(255, 255, 255, 1); } .vesna_modal__thumb-nav svg { width: 15px; height: 15px; stroke: #333; } .vesna_modal__thumb-nav-down svg { transform: rotate(180deg); } .vesna_modal__thumb-container { display: flex; flex-direction: column; max-height: 320px; overflow: hidden; gap: 10px; } .vesna_modal__thumb { position: relative; width: 80px !important; height: 80px !important; overflow: hidden; border: 1px solid #333; background-color: #fff; transition: all 0.25s ease; cursor: pointer; opacity: 0.7; } .vesna_modal__thumb--active { opacity: 1; border-color: #333; } .vesna_modal__thumb-img { width: 100%; height: 100%; object-fit: contain; padding: 5px; user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent; } .vesna_modal__images { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; max-width: 1200px; width: 100%; } .vesna_modal__image { position: relative; width: 100%; margin-bottom: 4rem; margin-top: 4rem; transition: opacity 0.2s ease; scroll-margin-top: 4rem; } .vesna_modal__image:first-child { margin-top: 1rem; } .vesna_modal__image:last-child { margin-bottom: 4rem; } .vesna_modal__image-container { position: relative; max-width: 1200px; width: 100%; height: 0; padding-bottom: calc(740 / 1200 * 100%); background-color: white; display: flex; justify-content: center; align-items: center; box-sizing: border-box; overflow: hidden; padding-top: 40px; padding-left: 40px; padding-right: 40px; } @supports (aspect-ratio: 1200/740) { .vesna_modal__image-container { height: auto; padding-bottom: 40px; aspect-ratio: 1200/740; } } .vesna_modal__img { position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; max-width: calc(100% - 80px); max-height: calc(100% - 80px); width: auto; height: auto; object-fit: contain; transform: translateZ(0); } @media (min-width: 1921px) { .vesna_modal__thumbnails { left: calc(50% - 600px - 70px); } .vesna_modal__image-container { max-width: 90%; margin: 0 auto; } } @media (max-width: 1600px) { .vesna_modal__thumbnails { left: 2rem; } .vesna_modal__content { padding-left: 7rem; } .vesna_modal__image-container { max-width: 95%; } } @media (max-width: 1200px) { .vesna_modal__image-container { max-width: 100%; } .vesna_modal__content { padding: 1.5rem; padding-left: 8rem; } .vesna_modal__image { margin-bottom: 3rem; margin-top: 3rem; } } @media (max-width: 992px) { .vesna_modal__thumbnails { display: none; } .vesna_modal__image-container { padding-top: 30px; padding-left: 30px; padding-right: 30px; padding-bottom: calc(740 / 1200 * 100% - 30px); } @supports (aspect-ratio: 1200/740) { .vesna_modal__image-container { padding-bottom: 30px; } } .vesna_modal__img { max-width: calc(100% - 60px); max-height: calc(100% - 60px); } .vesna_modal__content { padding: 1.5rem; } } @media (max-width: 576px) { .vesna_modal__content { padding: 0.75rem; } .vesna_modal__image-container { padding-top: 0; padding-left: 0; padding-right: 0; padding-bottom: 100% !important; } @supports (aspect-ratio: 1/1) { .vesna_modal__image-container { aspect-ratio: 1/1; height: auto !important; padding-bottom: 0 !important; } } .vesna_modal__img { max-width: 90%; max-height: 90%; } .vesna_modal__close { width: 2rem; height: 2rem; min-width: 2rem; min-height: 2rem; } .vesna_modal__close svg { width: 16px; height: 16px; } .vesna_modal__image { margin-bottom: 1.5rem; margin-top: 1.5rem; } } @media (max-width: 360px) { .vesna_modal__header { padding: 0.5rem; } .vesna_modal__title { font-size: 1rem; } .vesna_modal__close { width: 1.75rem; height: 1.75rem; } .vesna_modal__content { padding: 0.5rem; } .vesna_modal__image { margin-bottom: 1rem; margin-top: 1rem; } .vesna_modal__image-container { padding-top: 5px; padding-left: 5px; padding-right: 5px; padding-bottom: 100% !important; } @supports (aspect-ratio: 1/1) { .vesna_modal__image-container { aspect-ratio: 1/1; padding-bottom: 0 !important; } } .vesna_modal__img { max-width: calc(100% - 10px); max-height: calc(100% - 10px); } } .vesna-swiper-pagination { position: absolute; bottom: 10px; left: 20px; text-align: left; height: 30px; display: none; align-items: center; justify-content: space-evenly; overflow: hidden; background: rgba(0, 0, 0, 0.1); border-radius: 25px; backdrop-filter: blur(10px); z-index: 100; min-width: 95px; padding: 0 15px; left: 50%; transform: translateX(-50%); will-change: auto; contain: layout style; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .pagination-track { position: relative; height: 40px; display: flex; align-items: center; transition: transform 0.2s ease; max-width: 70px; overflow: hidden; width: 70px; will-change: auto; contain: layout; } .vesna-swiper-pagination .swiper-pagination-bullet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 11px; font-weight: bold; transition: all 0.15s ease-out; backdrop-filter: blur(5px); opacity: 0.8; border: 1px solid rgba(255, 255, 255, 0.2); will-change: transform, opacity; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); } .vesna-swiper-pagination .swiper-pagination-bullet-active { background: rgba(0, 0, 0, 0.9) !important; } @media not all and (min-resolution:.001dpcm) { @supports (-webkit-appearance:none) { @media (max-width: 768px) { .vesna-swiper .swiper-slide { height: 0 !important; padding-bottom: 100% !important; } .vesna_modal__image-container { height: 0 !important; padding-bottom: 100% !important; } .vesna_modal__img, .vesna-swiper .swiper-slide img { -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-mask-image: -webkit-radial-gradient(white, black); } } .vesna_modal__content { height: auto; min-height: 100%; } .vesna_modal__img { -webkit-mask-image: -webkit-radial-gradient(white, black); } } } @media (max-width: 375px) { .vesna-swiper-pagination { bottom: 8px; } } .vesna-main-gallery, .vesna-main-gallery .swiper-wrapper, .vesna_modal__image-container, .vesna_modal__images { -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }