.filter-dropdown {
    position: relative;
    display: inline-block;
    /* width: 100%; */
    width: 400px;
}

.filter-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050 !important;
    min-width: 100%;
    padding: 0.5rem 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    /* max-height: calc(100vh - 10px); */
    overflow-y: auto;
    transition: max-height 0.2s ease-in-out;
    /* max-height: none; */
}

.filter-dropdown-menu.show {
    display: block;
}

.filter-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.75rem;
    color: #212529;
    background-color: transparent;
    border-bottom: 2px dashed #f1f1f1 !important;
}

.filter-dropdown-menu .form-check {
    padding-left: 0px !important;
}

.filter-dropdown-menu .btn-check-label {
    padding: 5px 10px;
    font-size: 14px;
    /* color: var(--bs-dark); */
    border-color: #b7cac8;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
}

.filter-dropdown-menu .form-check-input:checked + .btn-check-label {
    color: var(--bs-primary);
    font-weight: 500;
    background-color: rgba(var(--bs-rgb-primary), 0.1);
    border-color: rgba(var(--bs-rgb-primary), 0.3);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-rgb-primary), 0.2);
}

.filter-dropdown-menu .form-check-input {
    display: none;
}

.filter-dropdown-menu .checkbox-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-apply-btn {
    position: sticky;
    bottom: 0;
    left: 0;
    background: white;
    border-top: 1px solid #eee;
    padding: 10px;
    z-index: 10;
}

.premium-badge,
.featured-badge,
.ads-week-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 4px 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-block;
    border-radius: 6px;
}

.premium-badge {
    background: linear-gradient(135deg, #e6a63b, #f4be55);
}

.featured-badge {
    background: linear-gradient(135deg, #336ee4, #609be4);
}

.ads-week-badge {
    background: linear-gradient(135deg, #259f94, #134e4a);
}

.list-share {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 1;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.like-btn.liked i {
    color: red;
}

.like-btn i {
    color: #eff2f1;
}

.list-share a {
    padding-right: 8px;
    color: #eff2f1;
    transition: color 0.3s ease;
}

.list-share a:hover {
    color: var(--bs-primary, #0d6efd);
}

.list-share i {
    font-size: 20px;
}

.list-img {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 8px;
    border-radius: 6px;
}

.list-img i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #eff2f1;
    filter: drop-shadow(0 2px 4px rgba(var(--bs-rgb-primary), 0.5));
}

.list-img p {
    margin: 0;
    font-size: 14px;
    color: #eff2f1;
}

/* .list-img:hover i,
                .list-img:hover p {
                    color: var(--bs-primary);
                } */

.custom-nav {
    color: #eff2f1;
    border: none;
    width: 25px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    transition: all 0.3s ease;
}

.carousel-control-prev.custom-nav {
    left: 8px;
}

.carousel-control-next.custom-nav {
    right: 8px;
}

.custom-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-wrapper .custom-nav {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-wrapper:hover .custom-nav {
    opacity: 1;
    pointer-events: auto;
}

.trend-item2 {
    height: 100%;
    position: relative;
}

.carousel,
.carousel-inner,
.carousel-item {
    height: 100%;
}

.bg-slide {
    height: 100%;
    width: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.verified {
    height: 24px;
    top: 10px;
    left: 10px;
    position: absolute;
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
}

.user-verified {
    filter: drop-shadow(0 2px 4px #49adf4);
}

.business-verified {
    filter: drop-shadow(0 2px 4px #57a438);
}

.trusted-verified {
    filter: drop-shadow(0 2px 4px #b733f6);
}

.verified p {
    font-size: 10px;
    letter-spacing: 1px;
}

.trusted-verified p {
    color: #b733f6 !important;
}

.business-verified p {
    color: #57a438 !important;
}

.user-verified p {
    color: #49adf4 !important;
}

.verified img {
    width: 14px;
    height: 14px;
}

/* #toggleColorView,
#toggleMemoryView,
#toggleDamageView,
#toggleVersionView,
#toggleStorageView {
    padding: 5px 10px;
    font-size: 14px;
    color: var(--bs-primary);
    background-color: var(--bs-white);
    text-align: right !important;
    border-color: #B7CAC8;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
    height: 35px;
}


#toggleColorView:hover,
#toggleMemoryView:hover,
#toggleDamageView:hover,
#toggleVersionView:hover,
#toggleStorageView:hover {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-rgb-primary), 0.1);
    border-color: rgba(var(--bs-rgb-primary), 0.3);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-rgb-primary), 0.2);
} */

.toggleFilter {
    padding: 5px 10px;
    font-size: 14px;
    color: var(--bs-primary);
    background-color: var(--bs-white);
    text-align: right !important;
    border-color: #b7cac8;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
    height: 35px;
}

.toggleFilter:hover {
    color: var(--bs-primary);
    background-color: rgba(var(--bs-rgb-primary), 0.1);
    border-color: rgba(var(--bs-rgb-primary), 0.3);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-rgb-primary), 0.2);
}

@media (max-width: 575.5px) {
    .product-list-head {
        margin: 1rem 0 2rem 0 !important;
    }
}

@media (min-width: 768px) {
    .product-list-head {
        margin: 4rem 0 !important;
    }
}

.featured-meta li {
    font-size: 0.95rem;
}

@media (max-width: 576px) {
    .featured-meta {
        gap: 0.75rem;
    }

    /* .featured-meta li {
        font-size: 0.9rem;
    } */
}

.no-ads-card .img-wrap {
    width: 100%;
    height: 350px;
    margin-bottom: 0.8rem;
}

.no-ads-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 576px) {
    .no-ads-card .img-wrap {
        height: 250px;
    }
}
