.carousel-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.carousel-mini-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    max-width: 100%;
}
.carousel-mini-image {
    width: 40px;
    height: 60px;
    object-fit: cover;
    margin: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}
.carousel-mini-image.active {
    border-color: #007bff;
}
.carousel-main-image-container {
    position: relative;
    width: 100%;
    height: calc(100% - 100px);
    min-height: 300px;
    overflow: hidden;
}
.carousel-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}
.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
}
.carousel-prev-btn {
    left: 10px;
}
.carousel-next-btn {
    right: 10px;
}
.carousel-full-page-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    z-index: 10;
}
.carousel-full-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}
.carousel-full-page .carousel-main-image-container {
    height: calc(100% - 120px);
}

@media (max-width: 768px) {
    .carousel-mini-image {
        width: 30px;
        height: 45px;
    }
    .carousel-main-image-container {
        height: calc(100% - 80px);
    }
    .carousel-nav-button {
        padding: 5px;
        font-size: 14px;
    }
}
