.mts-container {
    width: 100%;
    max-width: 100vw;
    text-align: center;
    padding: 20px 0;
    box-sizing: border-box;
    /* Removed overflow hidden here to allow nav arrows to show if needed */
}

.mts-heading {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.mts-swiper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 50px; /* Space for pagination */
    position: relative;
    overflow: hidden; /* Only swiper needs overflow hidden */
    display: block;
}

.mts-swiper .swiper-slide {
    height: auto;
    width: 100%;
    /* Removed flex to prevent breaking Swiper's size calculations */
}

/* Wrapper to center the card inside the slide */
.mts-card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px; /* Add some spacing so box shadow isn't cut off */
    box-sizing: border-box;
}

.mts-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 500px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
}

.mts-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #eee;
    flex-shrink: 0;
}

.mts-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 100%;
}

.mts-rating {
    color: #ffb400; 
    margin-bottom: 15px;
    display: flex;
    gap: 4px;
}

.mts-star {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.mts-review {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
}

.mts-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: auto 0 0 0;
}

/* Navigation */
.mts-nav-container {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
}

.mts-button-prev,
.mts-button-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    pointer-events: auto;
    transition: background 0.3s, color 0.3s;
}

.mts-button-prev:hover,
.mts-button-next:hover {
    background: #333;
    color: #fff;
}

@media (max-width: 767px) {
    .mts-nav-container {
        display: none;
    }
}

/* Pagination */
.mts-swiper .swiper-pagination {
    bottom: 5px;
}

.mts-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #aaa;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.mts-swiper .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background: #333;
    opacity: 1;
}
