/** Shopify CDN: Minification failed

Line 22:6 Expected identifier but found whitespace
Line 22:8 Unexpected "{"
Line 22:17 Expected ":"
Line 22:46 Expected ":"

**/


/* CSS from section stylesheet tags */
.custom-collection-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

/* The wrapper uses native scrolling on touch devices for smooth momentum */
.slider-wrapper {
  display: flex;
  gap: {{ section.settings.slider_padding }}px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
}
.slider-wrapper::-webkit-scrollbar { display: none; }

.slider-item {
  flex: 0 0 calc(100% / 4); /* desktop default: 4 items */
  box-sizing: border-box;
  text-align: center;
  min-width: 0;
}
.slider-item a { text-decoration: none; color: inherit; display: block; }
.slider-item img {
  width: 100%;
  height: auto;
  cursor: pointer;
  object-fit: cover;
  display: block;
}
.slider-item img.square { aspect-ratio: 1/1; }
.slider-item img.portrait { aspect-ratio: 3/4; }
.slider-item img.landscape { aspect-ratio: 4/3; }
.slider-item h3 {
  text-decoration: none;
  margin-top: 8px;
  line-height: 1.3;
  overflow: visible;
  white-space: normal;
}

/* Arrows */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 8px 10px;
  cursor: pointer;
  z-index: 1; /* Reduced from 20 to ensure arrows stay below header/menu layers */
  border-radius: 4px;
}
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

/* Desktop: show pointer cursor and allow dragging via pointer events (JS) */
.slider-wrapper.dragging { cursor: grabbing; }

/* Mobile: 2 items visible */
@media (max-width: 768px) {
  .custom-collection-slider { max-width: 100% !important; }
  .slider-item { flex: 0 0 calc(100% / 2); }
}