﻿#shopify-section-template--27231271387452__recently-viewed-products:has(recently-viewed-products:empty) {
    display: none; /* Hide the whole section if it does not have any products to show */
  }

  #shopify-section-template--27231271387452__recently-viewed-products {
    --product-list-items-per-row: 2;
    --product-list-horizontal-spacing-factor: 1;
    --product-list-vertical-spacing-factor: 1;
  }

  @media screen and (min-width: 700px) {
    #shopify-section-template--27231271387452__recently-viewed-products {
      --product-list-items-per-row: 4;
    }
  }