.wd-gallery-zoom-icon {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.wd-gallery-zoom-icon:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wd-gallery-zoom-icon svg {
    width: 22px;
    height: 22px;
    stroke: #333;
    stroke-width: 2;
    fill: none;
}

.wd-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.wd-gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wd-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wd-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.wd-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100001;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.wd-modal-close:hover {
    background: #fff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wd-modal-close svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2.5;
}

.wd-modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100001;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.wd-modal-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.wd-modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.wd-modal-prev {
    left: 20px;
}

.wd-modal-next {
    right: 20px;
}

.wd-modal-nav svg {
    width: 24px;
    height: 24px;
    stroke: #333;
    stroke-width: 2.5;
    fill: none;
}

.wd-modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .wd-gallery-zoom-icon {
        width: 40px;
        height: 40px;
        bottom: 12px;
        left: 12px;
    }
    
    .wd-gallery-zoom-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .wd-modal-close,
    .wd-modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .wd-modal-close {
        top: 15px;
        right: 15px;
    }
    
    .wd-modal-prev {
        left: 15px;
    }
    
    .wd-modal-next {
        right: 15px;
    }
    
    .wd-modal-counter {
        bottom: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }
}
