.custom-product-carousel {
    max-width: 100%;
    margin: auto;
    overflow: visible;
    display: flex;
    background-color: #FFF !important;
    padding: 0px 60px !important;
}

.slick-initialized .slick-slide {
    padding: 16px 24px;
}

.custom-product-carousel .carousel-slide-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    margin: auto;
}


.custom-product-carousel .carousel-left {
    width: 250px;
    height: 250px; 
    position: relative;
    flex-shrink: 0;
}

.custom-product-carousel .carousel-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-product-carousel .carousel-right {
    width: calc(100% - 250px - 30px);
    padding: 30px;
    background: #F9FCFF;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.custom-product-carousel .slick-dots li {
    margin: 0;
    font-size: 24px !important;
    cursor: pointer;
}

.slick-track {
    display: flex !important;
    align-items: center !important;
}

.custom-product-carousel .slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    position: absolute;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 50%;
    bottom: 12px;
    left: 50%;
    color: #C6C6C6 !important;
}

.custom-product-carousel .slick-dots .slick-active {
    color: #6C1E74;
}

.custom-product-carousel .slick-dots li button {
    display: none !important;
}

.custom-product-carousel .entry-content ol, .custom-product-carousel .entry-content ul {
    margin: 0 !important;
}

.custom-product-carousel .carousel-right .course-feat-heading {
    font-size: 28px;
    margin-bottom: 16px;
}

.custom-product-carousel .carousel-right .course-feat-desc {
    font-size: 24px;
    color: #666;
    margin-bottom: 24px;
}

.custom-product-carousel .slick-arrow {
    top: 50%;
    position: absolute;
    border-radius: 100% !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    color: #602375 !important;
    padding: 0 !important;
    font-size: 60px !important;
    min-height: 0 !important;
    font-weight: 500 !important;
    line-height: 0 !important;
}

.custom-product-carousel .slick-arrow:hover {
    box-shadow: none !important;
}

.custom-product-carousel .slick-prev {
    left: 30px;
}

.custom-product-carousel .slick-next {
    right: 30px;
}

.custom-product-carousel .view_course_btn {
    color: #6C1E74 !important;
    font-size: 14px !important;
}

.custom-product-carousel .view-course-btn {
    color: #6C1E74 !important;
    font-size: 14px !important;
}

.custom-product-carousel .slick-prev, .slick-next {
    font-size: 30px;
    z-index: 10;
    color: #0073aa;
}

.custom-product-carousel .slick-dots {
    text-align: center;
}

.custom-product-carousel .slick-dots li button:before {
    color: #0073aa;
}

.custom-product-carousel .course-featured-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6C1E74;
}

.custom-product-carousel .carousel-slide-wrapper {
    gap: 30px !important;
}

.buy-now-container {
    display: none !important;
}

.buy-now-container h4 {
    font-size: 20px !important;
    margin-bottom: 0px !important;
    display: none !important;
}

.buy-now-container p {
    font-size: 14px !important;
    margin-bottom: 0px !important;
    display: none !important;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.slick-slide.slick-cloned {
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Ensure only active slide is focusable */
.slick-slide:not(.slick-active) [tabindex="0"] {
    visibility: hidden;
    position: absolute;
}

@media (max-width: 768px) {
    .custom-product-carousel {
        padding: 0px !important;
    }

    .custom-product-carousel .carousel-slide-wrapper {
        flex-direction: column;
        gap: 20px !important;
        align-items: center; /* Center items horizontally */
    }

    .custom-product-carousel .carousel-left {
        width: 250px;
        height: 250px;
        position: relative;
        margin: 0 auto; /* Center the container */
    }

    .custom-product-carousel .carousel-left img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .custom-product-carousel .carousel-right {
        width: 100%;
        height: auto;
        padding: 20px !important;
        display: block;
        text-align: center; /* Center text content */
    }

    .custom-product-carousel .carousel-right .course-feat-heading {
        font-size: 20px !important;
        margin-bottom: 12px;
    }
    
    .custom-product-carousel .carousel-right .course-feat-desc {
        font-size: 18px !important;
        color: #666;
        margin-bottom: 20px;
    }

    .custom-product-carousel .slick-dots {
        bottom: 0;
        margin-top: 20px !important;
    }
}