.dtc-image-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.dtc-image-modal-overlay.is--active{opacity:1;visibility:visible}.dtc-image-modal-container{background:#fff;border-radius:0;padding:40px;display:flex;flex-direction:column;align-items:center;gap:24px;width:1024px;max-width:90vw;max-height:90vh;position:relative;transform:scale(.95);transition:transform .3s ease;overflow:visible}.dtc-image-modal-overlay.is--active .dtc-image-modal-container{transform:scale(1)}.dtc-image-modal-close{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:32px;background:#0003;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease;z-index:10}.dtc-image-modal-close:hover{background:#0006}.dtc-image-modal-close svg{width:16px;height:16px;fill:#fff}.dtc-image-modal-main{width:864px;height:864px;max-width:864px;max-height:calc(90vh - 220px);position:relative;overflow:visible;border-radius:8px;flex-shrink:1}.dtc-image-modal-main-inner{width:100%;height:100%;overflow:hidden;border-radius:8px;position:relative}.dtc-image-modal-main-inner img{width:100%;height:100%;object-fit:cover;display:block}.dtc-image-modal-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:32px;background:#0003;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease;z-index:5}.dtc-image-modal-nav:hover{background:#0006}.dtc-image-modal-nav svg{width:8px;height:16px}.dtc-image-modal-nav svg path{stroke:#fff;stroke-width:2}.dtc-image-modal-nav.is--prev{left:16px}.dtc-image-modal-nav.is--next{right:16px}.dtc-image-modal-thumbnails{display:flex;align-items:center;gap:16px;padding:8px 4px}.dtc-image-modal-thumbnails-wrapper{overflow-x:auto;max-width:100%;flex-shrink:0;scrollbar-width:none;-webkit-overflow-scrolling:touch}.dtc-image-modal-thumbnails-wrapper::-webkit-scrollbar{display:none}.dtc-image-modal-thumb{width:130px;height:130px;border-radius:4px;border:2px solid #EEEEEE;box-sizing:border-box;overflow:hidden;cursor:pointer;transition:border-color .2s ease;flex-shrink:0;background-clip:padding-box}.dtc-image-modal-thumb:hover,.dtc-image-modal-thumb.is--selected{border-color:#1b8c91}.dtc-image-modal-thumb img{width:100%;height:100%;object-fit:cover;display:block}@media screen and (max-width:1024px){.dtc-image-modal-container{width:768px;max-width:90vw;max-height:90vh;padding:32px;gap:20px;overflow:visible}.dtc-image-modal-main{width:640px;height:640px;max-width:640px;max-height:calc(90vh - 200px);flex-shrink:1}.dtc-image-modal-close{top:12px;right:12px;width:40px;height:40px;border-radius:28px}.dtc-image-modal-close svg{width:14px;height:14px}.dtc-image-modal-nav{width:40px;height:40px;border-radius:28px}.dtc-image-modal-nav svg{width:7px;height:14px}.dtc-image-modal-nav.is--prev{left:12px}.dtc-image-modal-nav.is--next{right:12px}.dtc-image-modal-thumb{width:100px;height:100px}.dtc-image-modal-thumbnails{gap:12px}}@media screen and (max-width:480px){.dtc-image-modal-overlay{align-items:flex-end}.dtc-image-modal-container{width:100%;max-width:100%;max-height:75vh;padding:12px;gap:8px;border-radius:16px 16px 0 0;transform:translateY(100%)}.dtc-image-modal-overlay.is--active .dtc-image-modal-container{transform:translateY(0)}.dtc-image-modal-main{width:100%;max-width:100%;height:auto;max-height:calc(75vh - 120px);aspect-ratio:1;border-radius:4px}.dtc-image-modal-close{top:8px;right:8px;width:36px;height:36px;border-radius:24px}.dtc-image-modal-close svg{width:12px;height:12px}.dtc-image-modal-nav{width:36px;height:36px;border-radius:24px}.dtc-image-modal-nav svg{width:7px;height:14px}.dtc-image-modal-nav svg path{stroke-width:1.5}.dtc-image-modal-nav.is--prev{left:8px}.dtc-image-modal-nav.is--next{right:8px}.dtc-image-modal-thumb{width:60px;height:60px;border-radius:4px}.dtc-image-modal-thumbnails{gap:6px;padding:6px 4px}}.dtc-image-modal-loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:40px;height:40px;border:3px solid rgba(27,140,145,.2);border-top-color:#1b8c91;border-radius:50%;z-index:2;animation:dtc-modal-spin .8s linear infinite}@keyframes dtc-modal-spin{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}
/*# sourceMappingURL=/cdn/shop/t/58/assets/dtc-image-modal.css.map */
