/* RJ Video Slider - Frontend Styles */

/* Video Swiper Styles */
.rjvs-swiper {
    margin-top: var(--rjvs-margin-top, 50px);
}

.rjvs-card {
    position: relative;
}

.rjvs-details {
    position: relative;
}

.rjvs-video-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--rjvs-radius, 10px);
    background: #000;
}

.rjvs-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient overlay */
.rjvs-has-gradient .rjvs-video-wrap::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Icons */
.rjvs-icons {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 1;
}

.rjvs-icons a {
    background: var(--rjvs-icon-bg, rgba(255, 255, 255, 0.9));
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 50%;
    align-items: center;
    width: 36px;
    height: 36px;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.rjvs-icons a:hover {
    background: var(--rjvs-icon-hover, #3e4096);
    transform: scale(1.1);
}

.rjvs-icons a:hover svg path {
    fill: #fff;
}

/* Shop Button */
.rjvs-btn-wrap {
    display: block;
    width: 100%;
}

.rjvs-btn-wrap a.rjvs-shop-button {
    display: block;
    padding: 8px 15px;
}

.rjvs-btn-wrap a.rjvs-shop-button:hover {
    color: var(--rjvs-btn-color, #fff);
    opacity: 0.85;
}

.rjvs-shop-button {
    margin: 10px auto;
    padding: 8px 15px;
    text-decoration: none;
    background-color: var(--rjvs-btn-bg, #3e4096);
    color: var(--rjvs-btn-color, #ffffff);
    border-radius: 0.4rem;
    box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1), 0 0.33rem 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

/* Fullscreen Overlay */
.rjvs-fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999999;
}

.rjvs-fullscreen-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rjvs-fullscreen-overlay video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rjvs-fullscreen-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rjvs-fullscreen-close:hover {
    background: rgba(255,255,255,0.4);
}

.rjvs-fullscreen-close svg {
    width: 24px;
    height: 24px;
}

/* Mute/Unmute icon toggle */
.rjvs-mute-btn .rjvs-unmute-icon,
.rjvs-mute-btn.unmuted .rjvs-mute-icon {
    display: none;
}

.rjvs-mute-btn.unmuted .rjvs-unmute-icon {
    display: block;
}

/* Pagination */
.rjvs-pagination {
    position: unset;
}

/* Responsive */
@media screen and (max-width: 600px) {
    .rjvs-details {
        padding: 10px;
    }
}
