.box-account.open .dropdown-menu, #currency .open .dropdown-menu {
    z-index: 1008;
    background: #ffffff;
}

.btn-currency-top {
    margin-right: 10px;
    line-height: 20px;
    padding: 0px;
    text-align: center;
    display: none;
}

.product-grid .product-thumb .image,
.container-module .product-thumb .image {
    align-items: center;
    display: flex;
    height: 210px;
    justify-content: center;
    margin-bottom: 15px;
    min-height: 0;
}

.product-grid .product-thumb .image a,
.container-module .product-thumb .image a {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.product-grid .product-thumb .image img,
.container-module .product-thumb .image img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
}

@media (min-width: 768px) {
    .product-grid .product-thumb .image,
    .container-module .product-thumb .image {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    .product-grid .product-thumb .image,
    .container-module .product-thumb .image {
        height: 300px;
    }
}

@media (min-width: 1600px) {
    .product-grid .product-thumb .image,
    .container-module .product-thumb .image {
        height: 330px;
    }
}

.position-no-owl .container-module .special .image,
.position-no-owl .container-module .bestseller .image,
.position-no-owl .container-module .latest .image,
.position-no-owl .container-module .featured .image {
    display: block;
    height: auto;
    min-height: 0;
}

#cartpopap-okno .display-products-cart tr td.image img,
#cartpopap-okno .mobilepopap-cart .image img,
.shopping-cart img,
.onepcheckout table td.image img,
.onepcheckoutcart table td.image img,
#onepcheckoutcart table td.image img {
    height: 100px;
    max-height: 100px;
    max-width: 100px;
    object-fit: contain;
    width: 100px;
}

.nsmenu-type-category-full-image .nsmenu-parent-img,
.dropdown-menu-full-image .nsmenu-parent-img {
    display: block;
    height: 72px;
    margin: 0 0 10px;
    width: 72px;
}

.nsmenu-type-category-full-image .nsmenu-parent-img img,
.dropdown-menu-full-image .nsmenu-parent-img img {
    height: 72px !important;
    max-height: 72px !important;
    max-width: 72px !important;
    object-fit: contain;
    width: 72px !important;
}

.nsmenu-type-category-full-image .nsmenu-parent-block,
.dropdown-menu-full-image .nsmenu-parent-block {
    min-height: 0;
}

@media (max-width: 768px) {
    .box-sub-cat.parts-europe-vehicle-category-list {
        display: block;
        overflow-x: visible;
    }

    .box-sub-cat.parts-europe-vehicle-category-list .item-subc {
        float: none;
        flex: 0 0 100%;
        max-width: none;
        width: 100%;
    }

    .box-sub-cat.parts-europe-vehicle-category-list .subcategory {
        margin-bottom: 12px;
    }
}

.box-sub-cat .thumbnail.subcategory {
    min-height: 104px;
    padding: 16px 18px;
}

.box-sub-cat .thumbnail.subcategory > a {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 72px;
    width: 100%;
}

.box-sub-cat .thumbnail.subcategory img {
    flex: 0 0 72px;
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    object-fit: contain;
    margin: 0;
}

.box-sub-cat .thumbnail.subcategory > a > div:first-child {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

.box-sub-cat .thumbnail.subcategory > a > div:first-child:has(img) {
    flex: 0 0 72px;
    width: 72px;
}

.box-sub-cat .thumbnail.subcategory .caption,
.box-sub-cat .thumbnail.subcategory .name-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    height: auto;
    overflow: visible;
    min-width: 0;
    min-height: 72px;
    padding: 0;
    width: auto;
}

.box-sub-cat .thumbnail.subcategory .caption,
.box-sub-cat .thumbnail.subcategory .name,
.box-sub-cat .thumbnail.subcategory .cat-name,
.box-sub-cat .thumbnail.subcategory .name-wrapper,
.box-sub-cat .thumbnail.subcategory .display-table,
.box-sub-cat .thumbnail.subcategory .display-table-cell {
    text-align: left;
}

.box-sub-cat .thumbnail.subcategory .display-table,
.box-sub-cat .thumbnail.subcategory .display-table-cell {
    display: flex;
    align-items: center;
    height: auto;
    line-height: 1.25;
    min-height: 72px;
    overflow: visible;
    text-overflow: clip;
    vertical-align: middle;
    white-space: normal;
    word-break: normal;
    width: 100%;
}

.category_description.psbt .psfl-l {
    display: none;
}

@media (max-width: 480px) {
    .box-sub-cat .thumbnail.subcategory {
        min-height: 124px;
        padding: 12px 14px;
    }

    .box-sub-cat .thumbnail.subcategory > a {
        gap: 12px;
        min-height: 80px;
    }

    .box-sub-cat .thumbnail.subcategory img {
        flex-basis: 56px;
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
    }

    .box-sub-cat .thumbnail.subcategory > a > div:first-child {
        width: auto;
    }

    .box-sub-cat .thumbnail.subcategory > a > div:first-child:has(img) {
        flex-basis: 56px;
        width: 56px;
    }

    .box-sub-cat .thumbnail.subcategory .caption,
    .box-sub-cat .thumbnail.subcategory .name-wrapper,
    .box-sub-cat .thumbnail.subcategory .display-table,
    .box-sub-cat .thumbnail.subcategory .display-table-cell {
        min-height: 80px;
    }

    .box-sub-cat .thumbnail.subcategory .name-wrapper {
        height: auto !important;
        overflow: visible !important;
    }

    .box-sub-cat .thumbnail.subcategory .display-table-cell {
        font-size: 15px;
        line-height: 1.28;
        max-height: none;
        overflow: visible;
        white-space: normal;
        word-break: normal;
    }

    .box-sub-cat .item-subc {
        flex: 0 0 58%;
        max-width: 58%;
    }
}

@media (max-width: 991px) {
    #column-left.mobile-filter-column,
    #column-left:has(.parts-europe-facet-sidebar),
    #column-left:has(#filter_auto_brand),
    #column-left:has(.afilter-group-item),
    #column-left:has(.afilter-label) {
        display: block !important;
        float: none !important;
        margin: 0 0 18px;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        width: 100% !important;
    }

    #column-left.mobile-filter-column + #content,
    #column-left:has(.parts-europe-facet-sidebar) + #content,
    #column-left:has(#filter_auto_brand) + #content,
    #column-left:has(.afilter-group-item) + #content,
    #column-left:has(.afilter-label) + #content {
        float: none !important;
        max-width: 100%;
        width: 100% !important;
    }

    #column-left .parts-europe-facet-sidebar,
    #column-left .panel.panel-default {
        margin-bottom: 16px;
    }
}

@media (max-width: 767px) {
    .shopping-cart {
        width: auto;
        min-width: 0;
    }

    .shopping-cart #cart {
        width: auto;
        min-width: 0;
    }

    .shopping-cart #cart > .btn {
        justify-content: center;
        min-width: 0;
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
        width: auto;
    }

    .shopping-cart #cart > .btn .cart-total,
    .shopping-cart #cart > .btn .text-a-icon-cart,
    .shopping-cart #cart > .btn .cart-icon-arrow {
        display: none !important;
    }

    .shopping-cart #cart > .btn .shop-bag-svg {
        flex: 0 0 auto;
    }
}

/* Brand listing */
.manufacturer-list-item .manufacturer-link {
    display: block;
    text-align: left;
}

.manufacturer-list-item .name-brand {
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.manufacturer-list-item .manufacturer-total {
    text-align: left;
}

.manufacturer-list-item .thumb-brand img {
    margin-left: 0;
    margin-right: auto;
}

.manufacturer-list-row .manufacturer-list-item {
    margin-bottom: 14px;
}
