/** Shopify CDN: Minification failed

Line 128:0 Unexpected "<"
Line 130:5 Expected identifier but found "%"
Line 131:6 Unexpected "<"
Line 135:9 Expected identifier but found "%"
Line 136:10 Unexpected "<"
Line 136:26 Unexpected "{"
Line 136:35 Expected ":"
Line 136:62 Unexpected "<"
Line 137:9 Expected identifier but found "%"
Line 138:8 Unexpected "{"
... and 13 more hidden warnings

**/
.collection-grid-item {
  position: relative;
  width: 100%;
  transform: scale(1);
  transition: transform .2s ease-in-out;
}

.collection-grid-item .product-card__image-wrapper {
  position: absolute;
}

.collection-grid-item .product-card__image-wrapper .media {
  box-shadow: 0 1px 3px #00000080;
}

.collection-grid-item .product-card__information {
  position: relative;
}

.collection-grid-item .product-card__empty-image {
  position: absolute;
  width: 100%;
}

.collection-grid-item__title-wrapper {
  padding: 1.5rem 0.75rem;
}

.collection-grid-item__title {
  font-family: var(--font-family);
  font-style: var(--font-style);
  font-weight: var(--font-weight);
  color: rgb(var(--color-foreground));
  --font-heading-size: calc(var(--font-scale) * 1.125rem);
  text-align: center;
  width: 100%;
  margin: 0;
}

.collection-grid .collection-grid-item__title {
  text-transform: initial;
}

.collection-grid.uppercase .collection-grid-item__title {
  text-transform: uppercase;
}

.custom__item .collection-grid-item {
  margin-bottom: 0;
}

.collection-grid__view-all .btn {
  display: inline-block;
}

@media screen and (min-width: 767px) {
  .grid--4-col-tablet .collection-grid-item__title {
    font-size: calc(var(--font-heading-scale) * 1.1875rem);
  }
}

@media only screen and (max-width: 1024px)  {
  .collection-grid-item__title {
    --font-heading-size: calc(var(--font-heading-scale) * 1rem);
  }
}

@media only screen and (max-width: 767px) {
  .collection-grid-item__title-wrapper {
    padding: 1.25rem 0.75rem;
  }

  .collection-grid-item__title {
    --font-heading-size: calc(var(--font-heading-scale) * 0.875rem);
  }

  .collection-grid .collection-grid-item {
    max-width: 240px;
    margin: auto;
  }
}

.collection-list-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    margin-bottom: 20px; /* Optional: Space below the scrollable section */
}

.collection-list {
    display: flex;
    flex-wrap: nowrap;
}

.collection-item {
    flex: 0 0 auto; /* Prevent items from wrapping */
    margin-right: 15px; /* Space between items */
    width: calc(100% - 15px); /* Adjust width to show part of the next item */
    scroll-snap-align: start; /* Optional: Align items when scrolling stops */
}

.collection-item:last-child {
    margin-right: 0; /* Remove margin on the last item */
}
.collection-list-wrapper {
    scroll-snap-type: x mandatory;
}

.collection-item {
    scroll-snap-align: start;
}
<div class="section-{{ section.id }}-padding section-collection-list">
  <div class="page-width">
    {% if section.settings.title != blank or section.settings.subheading != blank %}
      <div
        class="section__header {{ section.settings.color_text }}"
        style="--font-section-scale: {{ section.settings.font_size | divided_by: 100.0 }};"
      >
        {% if section.settings.title != blank %}
          <h2 class="h1">{{ section.settings.title | escape }}</h2>
        {% endif %}
        {% if section.settings.subheading != blank %}
          <p>{{ section.settings.subheading | escape }}</p>
        {% endif %}
      </div>
    {% endif %}

    <!-- New wrapper for horizontal scrolling -->
    <div class="collection-list-wrapper">
      <div class="collection-list">
        {% for block in section.blocks %}
          <div class="collection-item grid__item">
            <!-- Collection content here -->
          </div>
        {% endfor %}
      </div>
    </div>
    <!-- End new wrapper -->
  </div>
</div>
.section-collection-list-with-images .collection-list-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
    margin: 0 auto;
}

.section-collection-list-with-images .collection-list {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between items */
    padding: 10px 0; /* Add some padding for spacing */
}

.section-collection-list-with-images .collection-item {
    flex: 0 0 auto; /* Prevent wrapping */
    width: 80px; /* Smaller width for more items in a row */
    text-align: center;
    position: relative;
}

.section-collection-list-with-images .collection-item__image {
    width: 100%; /* Ensure image takes up full width of the item */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image is contained within the bounds */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.section-collection-list-with-images .collection-item__link:hover .collection-item__image {
    transform: scale(1.05); /* Slight zoom on hover */
}
