.pcr-2bc3a0c1-container {
    width: 100%;
}

.pcr-2bc3a0c1-wrapper {
    display: flex;
    flex-wrap: wrap; /* Changed from nowrap to wrap so it stretches across the screen evenly */
    justify-content: space-between; /* Distribute items evenly to align with grids below */
    align-items: flex-start;
    padding-bottom: 15px;
}

.pcr-2bc3a0c1-item {
    flex: 1 1 150px; /* Let items grow and shrink, filling all available horizontal space */
    max-width: 220px; /* Optional cap to match normal grid columns */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.pcr-2bc3a0c1-item:hover {
    transform: translateY(-2px);
}

.pcr-2bc3a0c1-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.pcr-2bc3a0c1-item.shape-circle .pcr-2bc3a0c1-image-wrap {
    border-radius: 50%;
}

.pcr-2bc3a0c1-item.shape-rounded .pcr-2bc3a0c1-image-wrap {
    border-radius: 12px;
}

.pcr-2bc3a0c1-item.shape-square .pcr-2bc3a0c1-image-wrap {
    border-radius: 0;
}

.pcr-2bc3a0c1-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pcr-2bc3a0c1-title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .pcr-2bc3a0c1-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    .pcr-2bc3a0c1-wrapper {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 15px !important; /* ensure spacing */
    }
    .pcr-2bc3a0c1-item {
        flex: 0 0 115px; /* Increased from 90px to 115px for larger images on mobile view */
        scroll-snap-align: start;
    }
}
