.cps-wrapper-ae917c54 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cps-categories-nav-ae917c54 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cps-categories-list-ae917c54 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.cps-category-link-ae917c54 {
    text-decoration: none;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.cps-category-link-ae917c54:hover,
.cps-category-link-ae917c54.active {
    color: #000;
    font-weight: 600;
}

.cps-slider-outer-ae917c54 {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.cps-arrow-ae917c54 {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.cps-arrow-ae917c54:hover {
    color: #000;
}

.cps-slider-container-ae917c54 {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-grow: 1;
}

.cps-slider-track-ae917c54 {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide default scrollbar */
    scroll-behavior: smooth; /* Make automatic scrolling smooth */
}

/* Hide webkit scrollbar */
.cps-slider-track-ae917c54::-webkit-scrollbar {
    display: none;
}

.cps-slide-ae917c54 {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cps-slide-ae917c54 {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .cps-slide-ae917c54 {
        flex: 0 0 100%;
    }
    .cps-arrow-ae917c54 {
        display: none; /* Hide arrows on mobile to save space */
    }
}

.cps-product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fff;
    height: 100%;
}

.cps-product-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cps-product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.cps-product-title {
    font-size: 16px;
    margin: 0 0 10px 0;
    flex-grow: 1;
}

.cps-product-price {
    font-weight: 600;
    color: #333;
}

.cps-loading-ae917c54,
.cps-editor-placeholder {
    width: 100%;
    text-align: center;
    padding: 40px;
    color: #666;
}