@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-slide-up {
    animation: fadeSlideUp 1s ease-out;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 1s ease-in-out;
}

.fade-slide-up,
.zoom-in,
.bounce-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
    will-change: opacity, transform;
}

.show.fade-slide-up {
    opacity: 1;
    transform: translateY(0);
}

.show.zoom-in {
    transform: scale(1);
}

.show.bounce-in {
    transform: scale(1);
}

.show {
    opacity: 1;
    transform: none;
}
/* hiệu ứng trượt lên */
.fade-slide-up {
    animation: fadeSlideUp 1s ease-out forwards;   
}

/* hiệu ứng zoom */
.zoom-in {
    animation: zoomIn 1s ease-in-out forwards;    
}

/* hiệu ứng bounce */
.bounce-in {
    animation: bounceIn 1s ease forwards;         
}

@keyframes thumbWiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(2deg);
    }

    75% {
        transform: rotate(-2deg);
    }
}

.thumb-img:hover {
    animation: thumbWiggle 0.3s ease-in-out infinite;
    z-index: 10;
}


@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 1s ease;
}

.card-img-top {
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}


.hover-effect {
    position: relative;
    z-index: 1;
}

.hover-effect:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    transition: .3s;
}

#prevBtn,
#nextBtn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 5;
}

#prevBtn:hover,
#nextBtn:hover {
    background-color: #f8f9fa;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #ced4da;
    color: #0d6efd;
}

#productCarousel {
    overflow: hidden;
    position: relative;
}

.product-slide-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.product-slide {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Sản phẩm tương tự */
.related-products-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 10px;
}

.related-products-slider {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.related-products-slider::-webkit-scrollbar {
    display: none;
}

.related-card {
    flex: 0 0 auto;
    width: 250px;
}

.scroll-btn {
    position: absolute;
    top: 35%;
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.scroll-btn:hover {
    background-color: #f0f0f0;
}

.scroll-btn.left {
    left: -10px;
}

.scroll-btn.right {
    right: -10px;
}


