.woo-product-carousel {
    text-align: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100% !important;
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.carousel-header h2 {
    font-weight: 700;
}

.carousel-controls {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    align-items: stretch;
    justify-content: center;
}

.carousel-controls button {
    border: none;
    background: #00a2ff;
    color: #000;
    padding: 18px 32px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.carousel-controls button:disabled {
    background: #3b3b3b;
    cursor: not-allowed;
}
.carousel-controls button:disabled svg, .carousel-controls button:disabled svg path{
    fill:#8c8e91;
}

.carousel-wrapper {
    position: relative;
}

.featured-img{
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(/wp-content/uploads/2025/02/webinar-C_K4yuGh-scaled.webp);
    background-color: #000000;
    background-repeat: no-repeat;
    background-size: 420px 420px;
    background-position: calc(100% + 220px) -170px;
    height: 50%;
    transition: height 0.3s ease-in-out;
}

.carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    white-space: nowrap;
    width: 100%;
    margin-top: 16px;
}

.product-item {
    flex: 0 0 auto;
    width: 250px;
    text-align: left;
    border: 2px solid #00a2ff;
    background: transparent;
    border-radius: 8px;
    box-shadow: 0 -20px 40px #fff3 inset;
    display: inline-block;
    margin-right: 32px;
    transition: width 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.product-info {
    padding: 10px;
}

.product-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-heading h3{
    font-weight: 600;
}

p.product-description {
    font-size: 18px;
    height: 100px;
}

.product-item.active {
    width: 99%;
}

.product-image {
    max-width: 100%;
    width: auto;
    padding: 10px;
    transition: transform 0.3s ease-in-out;
    height: 60%;
}

.product-item:hover .product-image {
    transform: scale(0.9);
}

.cta-button {
    position: absolute;
    bottom: -80px;
    background: #0073aa;
    color: #fff;
    text-align: center;
    padding: 10px 30px;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #0073aa;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background: transparent;
    color: #0073aa;
}

.product-item:hover .cta-button {
    display: block;
    bottom: 10px;
}

.product-item:hover .featured-img {
    height: 45%;
}

@media screen and (min-width: 768px) {
    .carousel-controls {
        position: absolute;
        bottom: calc(100% + 40px);
        right: 0;
    }
    .product-item.active {
        width: 50%;
        max-height: 530px;
    }
    .carousel-content {
        margin-top: 28px;
    }
    .woo-product-carousel {
        padding: 20px;
    }
}