/* .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
} */

.single-products .back-btn,
.single-products .help-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-products .back-btn svg,
.single-products .help-btn svg {
    width: 24px;
    height: 24px;
}

.single-products .download-link {
    color: #000;
    text-decoration: underline;
    font-size: 14px;
}

.single-products .hero-section {
    background: #f4d03f;
    border-radius: 0;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.single-products .hero-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto 30px;
    display: block;
}

.single-products .get-started-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 80px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 1px;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.single-products .get-started-btn:hover {
    opacity: 0.9;
}

.single-products .handedness-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
}

.single-products .check-btn {
    background: #0e7490;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.single-products .check-btn svg {
    width: 16px;
    height: 16px;
}

.single-products .check-btn:hover {
    background: #0c627a;
}

.single-products .course-content {
    /* background: #fff; */
    border-radius: 0;
}

/* .accordion-item {
    border-bottom: 1px solid #e5e7eb;
} */

/* .accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    transition: background 0.2s;
} */

/* .accordion-header:hover {
    background: #f9fafb;
} */

.single-products .accordion-number {
    font-size: 18px;
}

.single-products .accordion-title {
    flex: 1;
}

.single-products .accordion-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

/* .accordion-item.active .accordion-icon {
    transform: rotate(180deg);
} */

.single-products .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.single-products .accordion-item.active .accordion-content {
    max-height: 1000px;
}

/* .video-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.video-item:hover {
    background: #f9fafb;
} */

.single-products .play-btn {
    background: #0e7490;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}

.single-products .play-btn:hover {
    background: #0c627a;
}

.single-products .play-btn svg {
    width: 20px;
    height: 20px;
}

/* .video-info {
    flex: 1;
} */

.single-products .video-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 2px;
}

.single-products .video-status {
    font-size: 13px;
    color: #6b7280;
}

.single-products .video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.single-products .video-modal-content-inner{
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9; */
    background: #000000;
}
.single-products .video-modal.active {
    display: flex;
}

.single-products .video-modal-content {
    position: relative;
    width: 100%;
    max-width: 29rem;
    /* background: linear-gradient(180deg, #d4b830 0%, #d4b830 35%, #000 35%, #000 100%); */
    border-radius: 0;
    overflow: hidden;
    height: calc(100vh - 2rem) !important;
    margin: 0 auto;
    /* padding: 0 15px; */
    max-height: 900px;
}
/*.single-products .video-modal-space{
    padding: 0 10px;
    width: 100%;
    overflow: hidden;
}*/

.single-products .story-progress-container {
    display: flex;
    gap: 4px;
    padding: 0;
    background: transparent;
    min-height: 12px;
}

.single-products .story-progress-container:empty {
    display: none;
}

.single-products .story-progress-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.single-products .story-progress-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.05s linear;
}

.single-products .story-progress-bar.completed .story-progress-fill {
    width: 100%;
}

.single-products .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 10px;
    background: transparent;
}

.single-products .video-header h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 4px 5px;
    border-radius: 2px;
}

.single-products .close-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-products .close-btn svg {
    width: 24px;
    height: 24px;
}

.single-products .video-player {
    position: relative;
    /* aspect-ratio: 16/9; */
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    overflow: hidden;
    /* padding-top: 177.77%; */
    width: 100%;
    height: calc(100% - 119px);
}

.single-products #video-iframe {
    border: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.5);
    object-fit: cover;
}

.single-products .video-click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px;
    cursor: pointer;
    z-index: 5;
}

.single-products .video-click-overlay:active {
    background: rgba(0, 0, 0, 0.05);
}

.single-products .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px 15px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.single-products .video-play-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.single-products .video-play-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.single-products .video-play-btn:active {
    transform: scale(0.95);
}

.single-products .video-play-btn svg {
    width: 20px;
    height: 20px;
}

.single-products .video-timeline-container {
    flex: 1;
    padding: 8px 0;
}

.single-products .video-timeline {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.single-products .video-timeline-fill {
    height: 100%;
    background: #fff;
    width: 0%;
    transition: width 0.05s linear;
    border-radius: 50px;
}

.single-products .video-time {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    min-width: 45px;
    text-align: right;
}

.single-products .cc-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.single-products .cc-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.single-products .cc-btn.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.8);
}

.single-products .video-navigation {
    background: #000;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.single-products .nav-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.single-products .nav-btn:hover:not(:disabled) {
    opacity: 0.7;
}

.single-products .nav-btn:active:not(:disabled) {
    transform: scale(0.9);
}

.single-products .nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.single-products .nav-btn svg {
    width: 28px;
    height: 28px;
}

.single-products .nav-btn.hidden {
    visibility: hidden;
}

.single-products .video-reset-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
    padding: 0 20px;
}

.single-products .video-reset-overlay.show {
    display: flex;
}

.single-products .reset-btn {
    background: #0e7490;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(14, 116, 144, 0.3);
    width: 100%;
}

.single-products .reset-btn:hover {
    background: #0c627a;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 116, 144, 0.4);
}

.single-products .reset-btn:active {
    transform: translateY(0);
}

.single-products .reset-btn svg {
    width: 20px;
    height: 20px;
}
.single-products .reset-btn span{
    font-size: 0;
}
@media (max-width: 640px) {
    .single-products .accordion-header {
        font-size: 16px;
    }
    .single-products .video-title {
        font-size: 14px;
    }
}

/* Unmute overlay */
.single-products .unmute-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
    align-items: center;
    justify-content: center;
    z-index: 12;
    padding: 0 20px;
    display: none;
}

.single-products .unmute-overlay.show {
    display: flex !important;
}

.single-products .unmute-btn {
    background: #0e7490;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(14, 116, 144, 0.3);
}

.single-products .unmute-btn:hover {
    background: #0c627a;
    transform: translateY(-1px);
}

.single-products .unmute-btn:active {
    transform: translateY(0);
}

.single-products .unmute-btn svg {
    width: 20px;
    height: 20px;
}




/* Add these styles for dragging functionality */
.single-products .video-timeline {
    cursor: pointer;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    overflow: visible;
}
.single-products .video-timeline.dragging {
    cursor: grabbing !important;
}
.single-products .video-timeline:hover .video-timeline-fill {
    background: #1e90ff;
}
.single-products .video-timeline.dragging .video-timeline-fill {
    background: #1e90ff;
}
.single-products .video-timeline-fill {
    position: relative;
    transition: width 0.1s linear, background-color 0.2s ease;
}
.single-products .video-timeline-fill::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%) scale(1);
    transition: transform 0.2s ease, background-color 0.2s ease;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.single-products .video-timeline:hover .video-timeline-fill::after,
.single-products .video-timeline.dragging .video-timeline-fill::after {
    transform: translateY(-50%) scale(1);
    background: #0e7490;
}
.single-products .video-time {
    transition: opacity 0.2s ease;
}
.single-products .video-timeline.dragging ~ .video-time {
    opacity: 0.8;
}
.single-products .video-controls {
    pointer-events: auto;
}
.single-products .video-timeline-container {
    pointer-events: auto;
}