[data-role='search-first-step-popup'] .js-search-category-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

[data-role='search-first-step-popup'] .js-search-category-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@media (max-width: 767px) {
    [data-role='search-first-step-popup'] .js-search-category-slider {
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

[data-role='search-first-step-popup'] .js-search-category-visual {
    height: 120px;
}

@media (max-width: 479px) {
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
    [data-role='search-first-step-popup'] .js-search-category-slide {
        padding: 0.25rem 0.5rem;
    }
    [data-role='search-first-step-popup'] .js-search-category-slide-no-image .js-search-category-visual {
        min-height: 0;
        padding: 0;
        background: transparent;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        flex: 0 0 calc((100% - 1rem) / 2) !important;
        width: calc((100% - 1rem) / 2) !important;
        min-width: calc((100% - 1rem) / 2) !important;
        max-width: calc((100% - 1rem) / 2) !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        flex: 0 0 calc((100% - 2rem) / 3) !important;
        width: calc((100% - 2rem) / 3) !important;
        min-width: calc((100% - 2rem) / 3) !important;
        max-width: calc((100% - 2rem) / 3) !important;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        flex: 0 0 calc((100% - 4.5rem) / 4) !important;
        width: calc((100% - 4.5rem) / 4) !important;
        min-width: calc((100% - 4.5rem) / 4) !important;
        max-width: calc((100% - 4.5rem) / 4) !important;
    }
}
@media (min-width: 1280px) {
    [data-role='search-first-step-popup'] .js-search-category-slide,
    [data-role='search-first-step-popup'] .js-search-category-filler {
        flex: 0 0 calc((100% - 6rem) / 5) !important;
        width: calc((100% - 6rem) / 5) !important;
        min-width: calc((100% - 6rem) / 5) !important;
        max-width: calc((100% - 6rem) / 5) !important;
    }
}

@media (max-width: 479px) {
    [data-role='search-first-step-popup'] {
        overflow-x: hidden;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel .glider-contain {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel .carousel-nav {
        padding-top: 0.5rem;
        padding-bottom: 0;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel .glider-dots {
        max-width: 10rem;
        overflow: hidden;
    }
    [data-role='search-first-step-popup'] .glider-slide .hidden.sm\:flex {
        display: flex !important;
    }
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-content-type='row'] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .glider {
    overflow-y: visible !important;
    padding-bottom: 8px !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .glider-track {
    padding-bottom: 8px !important;
    align-items: stretch !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .glider-slide {
    align-self: stretch !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .card {
    padding: 0 !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-height-size {
    min-height: 0 !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-item-photo {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px !important;
    overflow: hidden;
    box-sizing: border-box !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-item-photo picture {
    display: block;
    width: 100%;
    line-height: 0;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-image-photo {
    display: block !important;
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 4px;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel.simple-only .product-image-photo {
    height: 200px !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-info {
    padding: 0.5rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .swatch-opt,
[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-role='swatch-option-type-block'],
[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-item-actions {
    display: none !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .addto-cart-btn,
[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-addto='cart'] {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-size: 0.875rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .flex-wrap.items-center.justify-center {
    padding-top: 0.5rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .flex.flex-col.justify-end {
    margin-top: auto !important;
    height: auto !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-info > div:first-child {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-item-link,
[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-item-name,
[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-name {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .old-price .price,
[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-price-type='oldPrice'] .price {
    font-size: 1rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .old-price,
[data-role='search-first-step-popup'] .search-first-step-product-carousel .old-price .price-label,
[data-role='search-first-step-popup'] .search-first-step-product-carousel .old-price .price,
[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-price-type='oldPrice'] .price {
    font-size: 1rem !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 1px;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .final-price .price,
[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-price-type='finalPrice'] .price,
[data-role='search-first-step-popup'] .search-first-step-product-carousel .reduced-price .price {
    font-size: 1.25rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel [data-role='glider-content'] {
    display: block !important;
    gap: 0.5rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .flex.items-end.justify-center {
    padding-top: 0.25rem !important;
}

[data-role='search-first-step-popup'] .search-first-step-product-carousel .product-info > div:nth-child(2) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


@media (max-width: 767px) {
    [data-role='search-first-step-popup'] {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    [data-role='search-first-step-popup']::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel [data-role='glider-content'] {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel [data-role='glider-content']::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    [data-role='search-first-step-popup'] .search-first-step-product-carousel .glider-slide {
        scroll-snap-align: start;
    }
}

[data-role='search-first-step-popup'] > .grid {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1024px) {
    [data-role='search-first-step-popup'] > .grid {
        grid-template-columns: 260px minmax(0, 1fr);
    }
    [data-role='search-first-step-popup'] > .grid > div:first-child {
        grid-row: span 2 / span 2;
    }
}

[data-role='search-first-step-popup'] .popular-terms-title,
[data-role='search-first-step-popup'] .search-popup-heading {
    color: #009999;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 767px) {
    #search_autocomplete .js-autocomplete-category-slider {
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    #search_autocomplete .js-search-category-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

#search_autocomplete .search-popup-heading {
    color: #009999;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

#search_autocomplete .js-autocomplete-category-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#search_autocomplete .js-autocomplete-category-slider::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

#search_autocomplete .reduced-price {
    font-size: 18px;
    font-weight: normal;
}

body .page-wrapper #header #search-content #search_autocomplete .old-price {
    font-size: 14px;
}

body .page-wrapper #header #search-content #search_autocomplete .old-price .price-container .price {
    font-size: 14px;
}

body .page-wrapper #header #search-content #search_autocomplete .price-label {
    display: none;
}
