.banner-section img {
    object-fit: contain;
    aspect-ratio: 1/1;
}

.product-item img {
    object-fit: contain;
    aspect-ratio: 1/1;
}

.product-item_category a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-compare-image img {
    object-fit: contain;
    aspect-ratio: 1/1;
    max-width: 300px;
}

.z-index-9999 {
    z-index: 9999;
}

.category-background {
    background-color: #fff;
}

.category-menu {
    max-height: 600px;
    overflow-y: scroll;
}

.category-link {
    border: none;
    outline: none;
    background-color: transparent;
}

a.nav-link.best-deals-nav-link:hover,
a.nav-link.bestsellers-nav-link:hover {
    background-color: #26589D;
    color: #fff !important;
}

/* Yalnız active olan elementlər üçün mavi rəng */
a.nav-link.bestsellers-nav-link.active,
a.nav-link.best-deals-nav-link.active {
    background-color: #26589D !important;
    color: #fff !important;
}

/* Top 20 üçün xüsusi stil */
a.nav-link.best-deals-nav-link.active.btn,
a.nav-link.bestsellers-nav-link.active.btn {
    background-color: #26589D !important;
    border-color: #26589D !important;
    color: #fff !important;
}

/* Kateqoriyalar üçün xüsusi stil */
a.nav-link.best-deals-nav-link.active:not(.btn),
a.nav-link.bestsellers-nav-link.active:not(.btn) {
    background-color: #26589D !important;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* Inactive elementlər üçün default stil */
a.nav-link.best-deals-nav-link:not(.active),
a.nav-link.bestsellers-nav-link:not(.active) {
    background-color: transparent !important;
    color: #6c757d !important;
    border: 1px solid transparent !important;
}

/* Active olmayan elementlər üçün hover effekti */
a.nav-link.best-deals-nav-link:not(.active):hover,
a.nav-link.bestsellers-nav-link:not(.active):hover {
    background-color: #e9ecef !important;
    color: #495057 !important;
}

.nav_dropdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}