/** Shopify CDN: Minification failed

Line 16:0 Unexpected "{"
Line 16:1 Unexpected "{"
Line 16:3 Expected identifier but found "'split-collection.css'"
Line 18:0 Unexpected "<"
Line 21:5 Expected identifier but found "%"
Line 21:34 Expected identifier but found "%"
Line 22:4 Unexpected "<"
Line 23:7 Expected identifier but found "%"
Line 24:8 Unexpected "{"
Line 24:9 Unexpected "{"
... and 66 more hidden warnings

**/
{{ 'split-collection.css' | asset_url | stylesheet_tag }}

<section class="split-collection">
  <div class="split-collection__inner">

    {%- comment -%} 左侧图片 {%- endcomment -%}
    <div class="split-collection__image-wrap">
      {%- if section.settings.image != blank -%}
        {{ section.settings.image | image_url: width: 800 | image_tag: class: 'split-collection__image', loading: 'lazy' }}
      {%- else -%}
        {{ 'lifestyle-1' | placeholder_svg_tag: 'split-collection__image placeholder-svg' }}
      {%- endif -%}
    </div>

    {%- comment -%} 右侧产品区 {%- endcomment -%}
    <div class="split-collection__products-wrap">
      <div class="split-collection__header">
        {%- if section.settings.title != blank -%}
          <h2 class="split-collection__title">{{ section.settings.title }}</h2>
        {%- endif -%}
        {%- if section.settings.collection != blank -%}
          <a href="{{ section.settings.collection.url }}" class="split-collection__view-all">
            {{ section.settings.button_label | default: 'View all' }}
          </a>
        {%- endif -%}
      </div>

      <div class="split-collection__grid">
        {%- assign collection = section.settings.collection -%}
        {%- assign product_limit = section.settings.products_to_show -%}
        {%- if collection != blank -%}
          {%- for product in collection.products limit: product_limit -%}
            <a href="{{ product.url }}" class="split-collection__card">
              <div class="split-collection__card-image-wrap">
                {%- if product.featured_image -%}
                  {{ product.featured_image | image_url: width: 400 | image_tag: class: 'split-collection__card-image', loading: 'lazy', alt: product.title }}
                {%- else -%}
                  {{ 'product-1' | placeholder_svg_tag: 'split-collection__card-image placeholder-svg' }}
                {%- endif -%}
              </div>
              <div class="split-collection__card-info">
                <p class="split-collection__card-title">{{ product.title }}</p>
                <p class="split-collection__card-price">{{ product.price | money }}</p>
              </div>
            </a>
          {%- endfor -%}
        {%- else -%}
          {%- for i in (1..4) -%}
            <div class="split-collection__card">
              <div class="split-collection__card-image-wrap">
                {{ 'product-' | append: i | placeholder_svg_tag: 'split-collection__card-image placeholder-svg' }}
              </div>
              <div class="split-collection__card-info">
                <p class="split-collection__card-title">Example product</p>
                <p class="split-collection__card-price">$19.99</p>
              </div>
            </div>
          {%- endfor -%}
        {%- endif -%}
      </div>
    </div>

  </div>
</section>

<style>
  .split-collection {
    padding: 40px 20px;
  }
  .split-collection__inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
  }
  .split-collection__image-wrap {
    width: 40%;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    position: sticky;
    top: 20px;
  }
  .split-collection__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .split-collection__products-wrap {
    flex: 1;
  }
  .split-collection__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .split-collection__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
  }
  .split-collection__view-all {
    font-size: 0.9rem;
    text-decoration: underline;
    color: inherit;
  }
  .split-collection__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .split-collection__card {
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease;
  }
  .split-collection__card:hover {
    transform: translateY(-4px);
  }
  .split-collection__card-image-wrap {
    overflow: hidden;
    aspect-ratio: 1/1;
  }
  .split-collection__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
  }
  .split-collection__card:hover .split-collection__card-image {
    transform: scale(1.05);
  }
  .split-collection__card-info {
    padding: 12px;
