.lookbook-carousel {
    max-width: 900px;
    margin: 40px auto;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.carousel-main {
    position: relative;
    width: 100%;
    height: clamp(300px, 65vh, 650px);
    min-height: 300px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s ease-out 0.5s both;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.carousel-image.visible {
    opacity: 1;
}



.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: rgba(255, 0, 0, 0.7);
}

.carousel-prev {
    left: -60px;
    animation: slideInLeft 0.8s ease-out 0.9s both;
}

.carousel-next {
    right: -60px;
    animation: slideInRight 0.8s ease-out 0.9s both;
}

.carousel-counter {
    display: none;
}

.carousel-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.thumb-item {
    width: 90px;
    height: 110px;
    overflow: hidden;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    animation: fadeIn 0.6s ease-out backwards;
}

.thumb-item:nth-child(1) { animation-delay: 1.1s; }
.thumb-item:nth-child(2) { animation-delay: 1.15s; }
.thumb-item:nth-child(3) { animation-delay: 1.2s; }
.thumb-item:nth-child(4) { animation-delay: 1.25s; }
.thumb-item:nth-child(5) { animation-delay: 1.3s; }
.thumb-item:nth-child(6) { animation-delay: 1.35s; }
.thumb-item:nth-child(7) { animation-delay: 1.4s; }
.thumb-item:nth-child(8) { animation-delay: 1.45s; }
.thumb-item:nth-child(9) { animation-delay: 1.5s; }
.thumb-item:nth-child(10) { animation-delay: 1.55s; }
.thumb-item:nth-child(11) { animation-delay: 1.6s; }

.thumb-item:hover {
    border-color: #ff0000;
    transform: translateY(-3px);
}

.thumb-item.active {
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lookbook-note {
    text-align: center;
    margin: 40px 0;
    font-size: 11px;
    letter-spacing: 2px;
    color: #555;
    line-height: 1.8;
    animation: fadeIn 0.8s ease-out 1.5s both;
}

.lookbook-note .red-text {
    animation: none;
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .carousel-prev {
        left: -40px;
    }

    .carousel-next {
        right: -40px;
    }

    .thumb-item {
        width: 70px;
        height: 85px;
    }
}

@media (max-width: 480px) {
    .lookbook-carousel {
        margin: 20px auto;
    }

    .carousel-main {
        height: clamp(220px, 45vh, 400px);
        min-height: 220px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }

    .carousel-prev {
        left: -30px;
    }

    .carousel-next {
        right: -30px;
    }

    .thumb-item {
        width: 55px;
        height: 70px;
    }
}

@media (max-width: 360px) {
    .lookbook-carousel {
        margin: 15px auto;
    }

    .carousel-main {
        height: clamp(180px, 40vh, 300px);
        min-height: 180px;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }

    .carousel-prev {
        left: -25px;
    }

    .carousel-next {
        right: -25px;
    }

    .thumb-item {
        width: 45px;
        height: 58px;
    }

    .carousel-thumbs {
        gap: 6px;
    }
}

@media (min-width: 1400px) {
    .lookbook-carousel {
        max-width: 1100px;
    }

    .carousel-main {
        height: clamp(400px, 70vh, 750px);
        min-height: 400px;
    }
}
