.magnifier-view {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.magnifier-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    z-index: 100000;
    background: transparent;
}

.magnifier-modal img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.magnifier-close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 35px;
    text-align: center;
    z-index: 100001;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.magnifier-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.thumbnail_box {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    position: relative;
    width: 100%;
}

.thumbnail_box::-webkit-scrollbar {
    display: none;
}

.thumbnail_box ul {
    display: inline-flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.thumbnail_box li {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail_box img {
    max-width: 100%;
    height: auto;
    display: block;
}

.magnifier-btn span {
    z-index: 999;
    position: relative;
}

.magnifier-btn svg {
    width: 20px;
    height: 20px;
} 