.dropdown:hover>.dropdown-menu {
    display: block;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: middle;
}

.my-navlink {
    text-decoration: none;
}

.my-navlink:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
}

.sidebar {
    border-right: 1px solid #ddd;
    padding: 20px;
    position: sticky;
    top: 100px;
}

@media screen and (max-width:991px) {
    .sidebar {
        display: none;
    }
}

.sidebar h4 {
    margin-bottom: 20px;
}
.filter-group {
    margin-bottom: 15px;
}

.product-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.product-item {
    object-fit: contain;
}

.thumb-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
}
.thumb-img:hover, .thumb-img.active {
    border: 2px solid #007bff;
}
.btn-buy {
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}
.btn-cart {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
}
.review-box {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
}

 /* Sidebar Styling */
 .fixed-left {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1000; */
}

.card-hover{
    position: relative !important;
}

.card-hover:hover {
    position: relative !important;
    transform: scale(1.1); 
    box-shadow: 1px 1px 8px silver;
    transition: 300ms;
    z-index: 100 !important;
}

img {
    object-fit: cover;
    z-index: -3 !important;
}