/** Shopify CDN: Minification failed

Line 39:11 Expected identifier but found whitespace
Line 39:13 Unexpected "{"
Line 39:22 Expected ":"
Line 39:56 Unexpected "{"
Line 39:65 Expected ":"

**/

  .square-category-section {
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
    background-size: cover;
    background-position: center center;
  }

  .square-category-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }

  .square-category-item {
    flex: 0 0 auto;
    text-align: center;
    width: 160px;
  }

  .square-image {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    border: {{ section.settings.border_size }}px solid {{ section.settings.border_color }};
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
  }

  /* Hover effect on container (shrink) */
  .square-category-item:hover .square-image {
    transform: scale(0.95);
  }

  .square-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease; /* smooth zoom */
  }

  /* Hover effect on image (zoom in) */
  .square-category-item:hover .square-image img {
    transform: scale(1.2);
  }

  .square-title {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
  }

  .square-category-item a {
    text-decoration: none;
  }

@media (max-width: 767px) {
  .square-category-section {
    padding-right: 0px !important;
    padding: 20px 15px;
  }
  .square-category-container {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-right: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar */
  .square-category-container::-webkit-scrollbar {
    display: none;
  }
  .square-category-container {
    -ms-overflow-style: none;  /* IE + Edge */
    scrollbar-width: none;     /* Firefox */
  }

  .square-category-item {
    scroll-snap-align: start;
    width: 160px;
  }

  .square-image {
    width: 160px;
    height: 160px;
    border-radius: 16px;
  }

  .square-title {
    font-size: 14px;
    max-width: 160px;
  }
}

