.mktk-product-carousel-section {
    margin: 60px 0;
    padding: 0 20px 40px 20px;
    overflow-x: hidden;
    max-width: 100%;
}

.mktk-carousel-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.mktk-product-carousel-container {
    max-width: 1200px;
    margin: 10px auto;
    position: relative;
    padding: 20px 50px 30px 50px;
}

.mktk-product-carousel {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    padding: 45px 0;
}

.mktk-carousel-track {
    display: flex;
    min-height: 400px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.mktk-carousel-slide {
    flex: 0 0 80%;
    min-height: 400px;
    padding: 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.mktk-slide-content {
    width: 100%;
    min-height: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.85);
    opacity: 0.3;
    box-sizing: border-box;
}

.mktk-carousel-slide.active .mktk-slide-content {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mktk-slide-text {
    flex: 1;
    padding-left: 40px;
    min-width: 0;
}

.mktk-slide-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    word-wrap: break-word;
}

.mktk-slide-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    word-wrap: break-word;
}

.mktk-slide-description p:last-child {
    margin-bottom: 0;
}

.mktk-slide-image {
    flex: 1;
    max-width: 400px;
    max-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.mktk-slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    height: auto;
    width: auto;
}

.mktk-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #f0f0f0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
    color: #333;
    user-select: none;
}

.mktk-carousel-nav:hover {
    border-color: #ddd;
    background: #f9f9f9;
    transform: translateY(-50%) scale(1.1);
}

.mktk-carousel-nav:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.mktk-carousel-nav.prev {
    left: 20px;
}

.mktk-carousel-nav.next {
    right: 20px;
}

.mktk-carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.mktk-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    user-select: none;
}

.mktk-indicator:hover {
    background: #999;
}

.mktk-indicator:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.mktk-indicator.active {
    background: #333;
    transform: scale(1.2);
}

/* Single slide layout */
.mktk-product-carousel[data-single-slide="true"] .mktk-carousel-track {
    justify-content: center;
}

.mktk-product-carousel[data-single-slide="true"] .mktk-carousel-slide {
    flex: 0 0 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .mktk-product-carousel-container {
        padding: 20px 30px 30px 30px;
    }
    
    .mktk-product-carousel {
        min-height: 350px;
    }
    
    .mktk-carousel-track {
        min-height: 350px;
    }
    
    .mktk-carousel-slide {
        flex: 0 0 95%;
        min-height: 350px;
    }
    
    .mktk-slide-content {
        padding: 30px;
        min-height: 300px;
    }

    .mktk-slide-title {
        font-size: 24px;
    }
    
    .mktk-slide-image {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .mktk-product-carousel-section {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .mktk-carousel-title {
        font-size: 24px !important;
        margin-bottom: 30px;
    }
    
    .mktk-product-carousel-container {
        max-width: none;
        padding: 20px 50px 30px 50px;
        overflow: visible;
    }

    .mktk-product-carousel {
        height: auto;
        min-height: 320px;
        overflow: visible;
    }

    .mktk-slide-content {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        min-height: auto;
    }
    
    .mktk-slide-image {
        order: -1;
        margin-bottom: 15px;
        max-width: 100%;
        height: 180px;
    }

    .mktk-slide-text {
        padding-left: 0;
        margin-bottom: 0;
    }

    .mktk-carousel-nav {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .mktk-carousel-nav.prev {
        left: 0px;
    }

    .mktk-carousel-nav.next {
        right: 0px;
    }
}

@media (max-width: 480px) {
    .mktk-product-carousel-section {
        margin: 30px 0;
        padding: 0 10px;
    }
    
    .mktk-product-carousel-container {
        padding: 15px 45px 25px 45px;
    }

    .mktk-carousel-slide {
        flex: 0 0 95%;
        padding: 0;
    }

    .mktk-slide-content {
        padding: 15px;
    }
    
    .mktk-carousel-title {
        font-size: 20px !important;
        margin-bottom: 20px;
    }

    .mktk-slide-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .mktk-slide-description {
        font-size: 14px;
        line-height: 1.4;
    }

    .mktk-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .mktk-carousel-nav.prev {
        left: 0px;
    }

    .mktk-carousel-nav.next {
        right: 0px;
    }
    
    .mktk-slide-image {
        height: 150px;
    }
} 