.easycatalogimg {
    display: block;
    width: 100%;
    position: relative;
    overflow: visible;
    max-width: 1280px;
    margin: 0 auto;
}

.easycatalog-grid-wrapper {
    position: relative;
}

.easycatalog-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: row nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    will-change: transform;
}

.easycatalog-grid::-webkit-scrollbar {
    display: none;
}

.easycatalog-grid .item {
    flex: 0 0 auto;
    margin: 0 5px;
    scroll-snap-align: start;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
}

.easycatalog-grid .product-image {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 125%;
    background-color: #f0f0f0;
}

.easycatalog-grid .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.easycatalog-grid .product-image img.lazyloaded:not(.lazyloaded) {
    opacity: 0;
}

.easycatalog-grid .product-image img.lazyloaded {
    opacity: 1;
}

.easycatalogimg .carousel-controls {
    position: relative;
    overflow: visible;
}

.easycatalogimg .carousel-prev,
.easycatalogimg .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 2.2vw;
    height: 2.2vw;
    min-width: 30px;
    min-height: 30px;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.easycatalogimg .carousel-prev::before,
.easycatalogimg .carousel-next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.easycatalogimg .carousel-prev::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.easycatalogimg .carousel-next::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.easycatalogimg .carousel-prev {
    left: 1%;
}

.easycatalogimg .carousel-next {
    right: 1%;
}

.easycatalogimg .carousel-controls:hover .carousel-prev,
.easycatalogimg .carousel-controls:hover .carousel-next {
    opacity: 1;
}

.easycatalogimg .indicator-lines {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.easycatalogimg .indicator-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #ccc;
    transition: background-color 0.3s;
}

.easycatalogimg .indicator-line.active {
    background-color: #000;
}

.category-button-wrapper {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1;
}

.category-button {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    line-height: 1;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.category-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.category-products.block-highlight {
    width: 100%;
    max-width: 1280px;
    overflow: visible;
    position: relative;
    margin: 0 auto;
}

.category-products.block-highlight .carousel-controls,
.category-products.block-highlight .block-content {
    overflow: visible;
    height: auto;
    position: relative;
    padding: 0;
    margin: 0;
}

.category-products.block-highlight .products-grid {
    display: flex !important;
    flex-flow: row nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    padding: 0 4px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: auto !important;
    will-change: transform;
}

.category-products.block-highlight .products-grid::-webkit-scrollbar {
    display: none;
}

.category-products.block-highlight .products-grid {
    overflow: visible;
    visibility: visible;
}

.category-products.block-highlight .products-grid:after {
    content: "";
    display: table;
    clear: both;
}

.category-products.block-highlight .products-grid li.item {
    flex: 0 0 50%;
    max-width: 50%;
    scroll-snap-align: start;
    padding: 0 4px;
    margin: 0;
    box-sizing: border-box;
    display: inline-block;
    background-color: #fff;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    overflow: hidden;
    height: auto;
}

.category-products.block-highlight .products-grid .prolabel-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.category-products.block-highlight .products-grid .item .main-info {
    font-size: 14px;
    color: #333;
}

.category-products.block-highlight .products-grid .item .main-info .price-box {
    margin-top: 5px;
    font-weight: bold;
    color: #000;
}

.category-products.block-highlight .carousel-prev,
.category-products.block-highlight .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 2.2vw;
    height: 2.2vw;
    min-width: 30px;
    min-height: 30px;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-products.block-highlight .carousel-prev::before,
.category-products.block-highlight .carousel-next::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.category-products.block-highlight .carousel-prev::before {
    transform: translate(-50%, -50%) rotate(135deg);
}

.category-products.block-highlight .carousel-next::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.category-products.block-highlight .carousel-prev {
    left: 1%;
}

.category-products.block-highlight .carousel-next {
    right: 1%;
}

.category-products.block-highlight .carousel-controls:hover .carousel-prev,
.category-products.block-highlight .carousel-controls:hover .carousel-next {
    opacity: 1;
}

.category-products.block-highlight .indicator-lines {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.category-products.block-highlight .indicator-lines .indicator-line {
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #ccc;
    margin: 0 5px;
    transition: background-color 0.3s;
}

.category-products.block-highlight .indicator-lines .indicator-line.active {
    background-color: #000;
}

.category-products.block-highlight .block-title {
    text-align: center;
    margin-bottom: 20px;
}

.category-products.block-highlight .block-title h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.category-products.block-highlight .block-title .subtitle {
    font-size: 16px;
    color: #666;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (-webkit-min-device-pixel-ratio: 1) {
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next,
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .easycatalog-grid .item {
        flex: 0 0 50%;
        max-width: 50%;
        margin: 0 5px;
    }
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next {
        display: none;
    }
    .easycatalogimg .indicator-lines {
        display: flex;
    }
    .category-products.block-highlight .products-grid li.item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 4px;
    }
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        display: none;
    }
    .category-products.block-highlight .indicator-lines {
        display: flex;
    }
}

@media (min-width: 641px) and (max-width: 1200px) {
    .easycatalog-grid .item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        margin: 0 2px;
    }
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next {
        display: none !important;
    }
    .easycatalogimg .indicator-lines {
        display: flex;
    }
    .category-products.block-highlight .products-grid {
        scroll-behavior: smooth;
    }
    .category-products.block-highlight .products-grid li.item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 0 4px;
    }
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        display: none !important;
    }
    .category-products.block-highlight .indicator-lines {
        display: flex;
    }
}

@media (min-width: 1201px) {
    .easycatalog-grid {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-flow: row nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        will-change: transform;
    }
    .easycatalog-grid:has(> .item:nth-child(3):last-child) {
        justify-content: center;
    }
    .easycatalog-grid .item {
        flex: 0 0 25%;
        max-width: 25%;
        margin: 0 2px;
    }
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next {
        display: flex;
    }
    .easycatalogimg .indicator-lines {
        display: flex;
    }
    .category-products.block-highlight .products-grid {
        scroll-behavior: smooth;
    }
    .category-products.block-highlight .products-grid li.item {
        flex: 0 0 25%;
        max-width: 25%;
        padding: 0 4px;
    }
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        display: flex;
    }
    .category-products.block-highlight .indicator-lines {
        display: flex;
    }
}

@media (min-width: 1201px) and (max-width: 1300px) {
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next {
        width: 2vw;
        height: 2vw;
        min-width: 28px;
        min-height: 28px;
    }
    .easycatalogimg .carousel-prev {
        left: 0.5%;
    }
    .easycatalogimg .carousel-next {
        right: 0.5%;
    }
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        width: 2vw;
        height: 2vw;
        min-width: 28px;
        min-height: 28px;
    }
    .category-products.block-highlight .carousel-prev {
        left: 0.5%;
    }
    .category-products.block-highlight .carousel-next {
        right: 0.5%;
    }
}

@media (min-width: 1201px) and (max-width: 1250px) {
    .easycatalogimg .carousel-prev,
    .easycatalogimg .carousel-next {
        width: 1.8vw;
        height: 1.8vw;
        min-width: 26px;
        min-height: 26px;
    }
    .easycatalogimg .carousel-prev {
        left: 0.2%;
    }
    .easycatalogimg .carousel-next {
        right: 0.2%;
    }
    .category-products.block-highlight .carousel-prev,
    .category-products.block-highlight .carousel-next {
        width: 1.8vw;
        height: 1.8vw;
        min-width: 26px;
        min-height: 26px;
    }
    .category-products.block-highlight .carousel-prev {
        left: 0.2%;
    }
    .category-products.block-highlight .carousel-next {
        right: 0.2%;
    }
}