.title {
    font-size: 35px;
    font-weight: 300;
    color: #88654C;
    text-align: center;
    margin-bottom: 50px;
}

.wood-texture-carousel {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: visible; /* 允許按鈕超出 */
}

.carousel-wrapper {
    max-width: 1290px; /* 6 個項目：6 * (205px + 10px) */
    overflow: hidden; /* 限制可視範圍 */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    width: auto; /* 動態調整 */
    overflow: visible;
}

.carousel-item {
    flex: 0 0 205px;
    position: relative;
    margin-right: 10px;
    box-sizing: border-box;
}

.wood-texture-carousel .carousel-item .wood-texture-image {
    width: 205px !important;
    height: 350px !important;
    object-fit: cover !important;
}

.carousel-item .description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    text-align: center;
    font-size: 14px;
}

.carousel-controls {
    position: absolute;
    top: 60%;
    width: 100%;
    transform: translateY(-50%);
}

.carousel-controls button {
    background: #88654c;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1000;
}

.carousel-controls .prev-slide {
    left: -25px;
}

.carousel-controls .next-slide {
    right: -30px;
}

@media (max-width: 1024px) {
    .wood-texture-carousel {
        width: 860px; /* 4 個項目：4 * (205px + 10px) */
    }

    .carousel-item {
        flex: 0 0 205px;
    }
}

@media (max-width: 767px) {
    .carousel-wrapper {
        width: 100% !important; /* 2 個項目：2 * (205px + 10px) */
    }

    .carousel-item {
        flex: 0 0 205px;
    }

    .carousel-controls {
        display: none; /* 手機端隱藏按鈕 */
    }
}
/* 自定義 Lightbox 樣式（可選） */
.lb-image {
    border: 5px solid white;
}

.lb-data .lb-caption {
    font-size: 16px;
    line-height: 1.5;
}

.lb-data .lb-details {
    color: #ddd;
}