/* Estilos do produto */
.product-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.swiper {
    width: 100%;
    height: 400px !important;
    margin: 0 !important;
}

.swiper-wrapper {
    height: 100% !important;
    align-items: center;
}

.swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.x23f_product_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    padding: 0;
}

/* Thumbnails */
.x23f_thumb_swiper {
    height: 60px !important;
    margin-top: 10px !important;
    padding: 0 !important;
}

.x23f_thumb_item {
    width: 60px !important;
    height: 60px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.x23f_thumb_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: #000 !important;
    background: rgba(255, 255, 255, 0.8);
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    --swiper-navigation-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.95);
}

/* Fix extra spaces */
.swiper::after,
.swiper-wrapper::after,
.swiper-slide::after {
    display: none !important;
}

/* Remove any margin/padding that might cause spacing */
.swiper,
.swiper-wrapper,
.swiper-slide,
.product-container * {
    box-sizing: border-box;
}

/* Ensure container height is respected */
.swiper-container-vertical > .swiper-wrapper {
    height: 100% !important;
}