:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .thumbnail-container {
    min-height: 0;
    margin-bottom: 0;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .product-description {
    padding-block: 4px 6px;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .rc-card-brand {
    margin: 0 0 2px;
    line-height: 1.3;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .product-description .product-title {
    margin: 0;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .product-description .highlighted-informations {
    position: static;
    inset: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    width: auto;
    height: auto;
    margin: auto 0 0;
    opacity: 1;
    visibility: visible;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .highlighted-informations > :is(.an_wishlist-mini, .quick-view) {
    position: static;
    inset: auto;
    transform: none;
    margin: 0;
    opacity: 1;
    visibility: visible;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .product-description .highlighted-informations :is(.an_wishlist-mini > span, .quick-view) {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
}

:is(#js-product-list, #index :where(.an_homeproducts-products)) article.product-miniature .highlighted-informations .quick-view svg {
    display: block;
    width: 16px;
    height: 16px;
    transform: none;
}

#index .an_homeproducts-products {
    margin-top: 24px !important;
}

#index .an_homeproducts-products .products:has(> article.product-miniature) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-inline: 0;
}

#index .an_homeproducts-products .products:has(> article.product-miniature)::before,
#index .an_homeproducts-products .products:has(> article.product-miniature)::after {
    display: none;
}

#index .an_homeproducts-products .products > article.product-miniature {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0 8px;
}

#index .an_homeproducts-products .products > article.product-miniature .thumbnail-container {
    flex: 1 1 0%;
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

#index .an_homeproducts-products .products > article.product-miniature .thumbnail-container-image {
    width: 100%;
    min-height: 0 !important;
}

#index .an_homeproducts-products .products > article.product-miniature .product-thumbnail {
    display: grid;
    place-items: center;
    width: 100%;
    height: auto !important;
    aspect-ratio: 1;
}

#index .an_homeproducts-products .products > article.product-miniature .product-thumbnail :is(picture, img) {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#index .an_homeproducts-products .products > article.product-miniature .product-description {
    width: 100%;
    max-width: none;
    padding: 4px 0 6px;
    text-align: left;
}

#index .an_homeproducts-products .products > article.product-miniature .product-bps-add-cart {
    min-height: 6px;
}

#index .an_homeproducts-products .products > article.product-miniature .product-title {
    margin: 0 0 4px;
}

#index .an_homeproducts-products .products > article.product-miniature .product-title a {
    display: block;
    font-size: 14px;
    line-height: 1.25;
    text-align: left;
}

@media (min-width: 768px) {
    #index .an_homeproducts-products .products:has(> article.product-miniature) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    #index .an_homeproducts-products .products > article.product-miniature {
        padding-inline: 12px;
    }
}

@media (min-width: 1200px) {
    #index .an_homeproducts-products .products:has(> article.product-miniature) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    :is(#js-product-list, #index .an_homeproducts-products) article.product-miniature {
        box-shadow: none;
    }
}

.rc-plp-sort-label,
.rc-plp-sort-icon,
.rc-plp-result-count,
.rc-plp-facets-heading,
.rc-plp-desktop-views,
#js-product-list-top .rc-plp-view-toggle {
    display: none;
}

@media (max-width: 767px) {
    .search_filters_mobile-modal:has(#search_filters .facet) .block-categories {
        display: none !important;
    }

    body#category .breadcrumb-wrapper .breadcrumb {
        padding-block: 12px;
        margin-bottom: 0;
        font-size: 12px;
    }

    body#category .breadcrumb li::after {
        content: "›";
        margin-inline: 5px;
    }

    body#category .breadcrumb li:last-child::after {
        content: none;
    }

    body#category .block-category #category-description h1 {
        margin: 0 0 12px;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.15;
    }

}

@media (max-width: 767px), (min-width: 992px) {
    body#category #subcategories :is(.subcategory-heading, .subcategory-image) {
        display: none;
    }

    body#category #subcategories .subcategories-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0;
        margin: 0;
    }

    body#category #subcategories .subcategories-list > li {
        flex: 0 1 auto;
        width: auto;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    body#category #subcategories .subcategories-list h5 {
        margin: 0;
    }

    body#category #subcategories .subcategory-name {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0 9px;
        border-radius: 4px;
        background: #f5f5f5;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        text-transform: none;
        overflow-wrap: anywhere;
    }

}

@media (max-width: 767px) {
    #js-product-list-top.rc-plp-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        padding: 12px 0;
        border-block: 1px solid #dedede;
    }

    #js-product-list-top.rc-plp-toolbar::before,
    #js-product-list-top.rc-plp-toolbar::after {
        display: none;
    }

    #js-product-list-top.rc-plp-toolbar:has(.rc-plp-view-toggle) {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    #js-product-list-top.rc-plp-toolbar :is(.filters-toggler-block, .collection-view) {
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    #js-product-list-top.rc-plp-toolbar .filters-toggler-block {
        grid-column: 1;
        grid-row: 1;
    }

    #js-product-list-top.rc-plp-toolbar .sort-by-row {
        display: grid;
        gap: 8px;
        width: 100%;
    }

    #js-product-list-top.rc-plp-toolbar .sort-by-row:has(.filter-button) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #js-product-list-top.rc-plp-toolbar .collection-view {
        grid-column: 2;
        grid-row: 1;
    }

    #js-product-list-top.rc-plp-toolbar :is(.products-sort-order, .filter-button) {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    #js-product-list-top.rc-plp-toolbar :is(.select-title, #search_filter_toggler, .rc-plp-view-toggle) {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 0 9px;
        border: 1px solid #dedede;
        border-radius: 4px;
        background: #fff;
        color: #171717;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        text-transform: none;
    }

    #js-product-list-top.rc-plp-toolbar :is(.select-title, #search_filter_toggler, .rc-plp-view-toggle):focus-visible {
        outline: 2px solid #171717;
        outline-offset: 2px;
    }

    #js-product-list-top.rc-plp-toolbar .select-title {
        justify-content: flex-start;
        text-align: left;
    }

    #js-product-list-top.rc-plp-toolbar .select-title > i {
        flex: 0 0 auto;
        margin-left: auto;
    }

    #js-product-list-top.rc-plp-toolbar .products-sort-order .dropdown-menu {
        min-width: min(230px, calc(100vw - 30px));
    }

    #js-product-list-top.rc-plp-toolbar .rc-plp-sort-original {
        display: none;
    }

    #js-product-list-top.rc-plp-toolbar .rc-plp-sort-label {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #js-product-list-top.rc-plp-toolbar .rc-plp-sort-icon {
        display: inline-block;
    }

    #js-product-list-top.rc-plp-toolbar :is(.select-title, #search_filter_toggler, .rc-plp-view-toggle) .material-icons {
        flex-shrink: 0;
        font-size: 18px;
    }

    #js-product-list-top.rc-plp-toolbar #search_filter_toggler {
        border-color: #d5e500;
        background: #d5e500;
    }

    #js-product-list-top.rc-plp-toolbar .collection-view:has(.rc-plp-view-toggle) .collection-view-btn {
        display: none;
    }

    #js-product-list-top.rc-plp-toolbar .rc-plp-view-toggle {
        width: 44px;
        padding: 0;
    }

    #js-product-list-top.rc-plp-toolbar .rc-plp-view-toggle[aria-pressed="true"] {
        background: #f5f5f5;
    }

    #products:has(.rc-plp-view-toggle[aria-pressed="true"]) #js-product-list article.product-miniature {
        flex-basis: 100%;
        max-width: 100%;
    }

    #products:has(.rc-plp-view-toggle[aria-pressed="true"]) #js-product-list .thumbnail-container {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #products:has(.rc-plp-view-toggle[aria-pressed="true"]) #js-product-list .thumbnail-container > :is(.thumbnail-container-image, .product-thumbnail) {
        flex: 0 0 42%;
        min-width: 0;
    }

    #products:has(.rc-plp-view-toggle[aria-pressed="true"]) #js-product-list .product-thumbnail img {
        display: block;
        width: 100%;
        height: auto;
    }

    #products:has(.rc-plp-view-toggle[aria-pressed="true"]) #js-product-list .thumbnail-container > .product-description {
        flex: 1 1 0;
        min-width: 0;
    }
}

@media (min-width: 768px) {
    #header #amegamenu {
        position: relative;
    }

    #header #amegamenu .rc-mega-item {
        position: static;
    }

    #header #amegamenu .rc-mega-item > .rc-mega-panel {
        left: 50% !important;
        right: auto;
        max-width: calc(100vw - 30px);
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {
    body#category .breadcrumb-wrapper .breadcrumb {
        padding-block: 12px;
        margin-bottom: 0;
        font-size: 13px;
    }

    body#category .block-category #category-description h1 {
        margin: 0 0 12px;
        font-size: 34px;
        font-weight: 700;
        line-height: 1.12;
    }

    body#category #subcategories {
        margin-bottom: 14px;
    }

    body#category #subcategories .subcategory-name {
        min-height: 40px;
        padding-inline: 12px;
    }

    body#category #left-column:has(#search_filters .facet) .block-categories {
        display: none;
    }

    body#category #left-column #search_filters:has(.facet) {
        padding-inline-end: 18px;
        border-inline-end: 1px solid #dedede;
    }

    body#category #search_filters .rc-plp-facets-heading {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 10px;
        padding: 0;
        font-size: 18px;
        font-weight: 700;
        text-transform: none;
    }

    body#category #search_filters .rc-plp-facets-heading .material-icons {
        font-size: 18px;
    }

    body#category #search_filters .facet-title {
        font-weight: 700;
        text-transform: none;
    }

    body#category #js-product-list-top.rc-plp-toolbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content max-content;
        align-items: center;
        gap: 8px;
        margin: 0 0 16px;
        padding: 12px 0;
        border-block: 1px solid #dedede;
    }

    body#category #js-product-list-top.rc-plp-toolbar::before,
    body#category #js-product-list-top.rc-plp-toolbar::after {
        display: none;
    }

    body#category #js-product-list-top .rc-plp-result-count {
        display: block;
        grid-column: 1;
        grid-row: 1;
        margin: 0;
        color: #555;
        font-size: 14px;
    }

    body#category #js-product-list-top.rc-plp-toolbar > :is(.filters-toggler-block, .collection-view) {
        grid-row: 1;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    body#category #js-product-list-top.rc-plp-toolbar > .filters-toggler-block {
        grid-column: 2;
    }

    body#category #js-product-list-top.rc-plp-toolbar > .collection-view {
        grid-column: 3;
    }

    body#category #js-product-list-top.rc-plp-toolbar :is(.sort-by, .rc-plp-sort-original) {
        display: none;
    }

    body#category #js-product-list-top.rc-plp-toolbar .select-title {
        display: flex;
        align-items: center;
        gap: 8px;
        width: clamp(120px, 13vw, 178px);
        min-height: 42px;
        padding: 0 10px;
        border: 1px solid #dedede;
        border-radius: 4px;
        background: #fff;
        color: #171717;
        text-align: left;
    }

    body#category #js-product-list-top.rc-plp-toolbar .rc-plp-sort-icon {
        display: inline-block;
        flex: 0 0 auto;
        font-size: 18px;
    }

    body#category #js-product-list-top.rc-plp-toolbar .rc-plp-sort-label {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body#category #js-product-list-top.rc-plp-toolbar .select-title > i {
        flex: 0 0 auto;
        margin-inline-start: auto;
    }

    body#category #js-product-list-top .collection-view:has(.rc-plp-desktop-views) .collection-view-btn {
        display: none;
    }

    body#category #js-product-list-top .rc-plp-desktop-views {
        display: flex;
        border: 1px solid #dedede;
        border-radius: 4px;
    }

    body#category #js-product-list-top .rc-plp-desktop-views button {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        background: #fff;
        color: #171717;
    }

    body#category #js-product-list-top .rc-plp-desktop-views button:first-child {
        border-radius: 3px 0 0 3px;
    }

    body#category #js-product-list-top .rc-plp-desktop-views button:last-child {
        border-radius: 0 3px 3px 0;
    }

    body#category #js-product-list-top .rc-plp-desktop-views .material-icons {
        font-size: 18px;
    }

    body#category #js-product-list-top .rc-plp-desktop-views button[aria-pressed="true"] {
        background: #d5e500;
    }

    body#category #js-product-list-top :is(.select-title, .rc-plp-desktop-views button):focus-visible {
        position: relative;
        z-index: 1;
        outline: 2px solid #171717;
        outline-offset: 2px;
    }
}
