.product-video-download-wrapper {
    position: relative;
    display: inline-block;
    margin: 5px;
    max-width: 400px;
    width: 100%;
}

.product-video-download-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-video-download-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(21, 138, 190, 0.9);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    overflow: hidden;
}

.product-video-download-wrapper:hover .product-video-download-icon {
    opacity: 1;
}

.product-video-download-icon:hover {
    background: rgba(21, 138, 190, 1);
    transform: scale(1.1);
}

.product-video-download-icon.is-downloading {
    opacity: 1;
    pointer-events: none;
    transform: scale(1);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(21, 138, 190, 0.95);
}

.product-video-download-icon svg {
    width: 22px;
    height: 22px;
}

.product-video-download-icon .download-percent {
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.product-video-download-progress {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 30px;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 999px;
    overflow: hidden;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.product-video-download-progress.is-active {
    opacity: 1;
}

.product-video-download-progress-bar {
    width: 0%;
    height: 100%;
    background: rgba(21, 138, 190, 1);
    transition: width 0.15s ease;
}

.product-video-download-progress-text {
    position: absolute;
    inset: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

@media (max-width: 768px) {
    .product-video-download-icon {
        opacity: 0.85;
        width: 40px;
        height: 40px;
    }

    .product-video-download-icon svg {
        width: 20px;
        height: 20px;
    }

    .product-video-download-icon.is-downloading {
        width: 54px;
        height: 54px;
    }
}