.custom-nav {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        font-size: 2rem;
        color: #000;
        background: rgba(255, 255, 255, 0.7);
        border: none;
        border-radius: 50%;
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 1000;
    }

    .custom-nav:hover {
        background: rgba(255, 255, 255, 0.9);
    }

    .custom-prev {
        left: 5px;
    }

    .custom-next {
        right: 5px;
    }

    @media (max-width: 576px) {
        .custom-prev {
            left: 10px !important;
        }

        .custom-next {
            right: 10px !important;
        }

        .owl-carousel .item img {
            max-height: 300px !important;
        }
    }

    .owl-carousel .item img {
        max-height: 525px;
        transition: transform 0.3s ease;
    }

    .owl-carousel .item img:hover {
        transform: scale(1.02);
    }

    .owl-carousel-wrapper {
        position: relative;
        padding: 0 50px;
    }

    .sidebar-thumb-img {
    height: 150px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    transition: transform 0.3s ease;
}

    .sidebar-thumb-img:hover {
    transform: scale(1.05);
}

.sidebar-sticky {
    position: sticky;
    top: 20px;
    max-height: 800px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.sidebar-sticky .card {
    margin-bottom: 3rem;
}

.sidebar-sticky .card-body {
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .additional-images {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .additional-image {
        height: 390px;
        width: 100%;
        object-fit: contain;
        border-radius: 0.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        background-color: #f8f9fa;
    }

    .additional-image:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .btn-close {
    position: absolute;
    top: -33px;       
    right: 0;         
    border-radius: 0;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    padding: 0;
    z-index: 1100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#modalImage {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}


    @media (max-width: 991.98px) {
    .sidebar-sticky {
        position: static;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        margin-top: 2rem;
    }

    .sidebar-thumb-img {
        height: 100px;
        object-fit: cover;
        object-position: center top;
    }


        .additional-image {
            height: 3600px;
        }
    }

    @media (max-width: 767.98px) {
    .btn-close {
        top: -33px;
        right: 0;
    }
}

    @media (max-width: 576px) {
        .additional-image {
            height: 260px;
        }
    }