/** Shopify CDN: Minification failed

Line 16:0 Unexpected "{"
Line 16:1 Unexpected "{"
Line 16:2 Unexpected "-"
Line 16:68 Unterminated string token
Line 20:4 Unexpected "{"
Line 20:6 Expected identifier but found "'collection-grid-enhancements.css'"
Line 21:3 Unexpected "{"
Line 21:4 Unexpected "{"
Line 21:6 Expected identifier but found "'collection-grid-enhancements.js'"
Line 22:3 Unexpected "="
... and 2 more hidden warnings

**/
{{- '/* ============================================================
   COLLECTION PAGE: Image Slider + Quick Add to Cart
   Add this file as: assets/collection-grid-enhancements.css
   Then in theme.liquid (before </head>) add:
   {{ 'collection-grid-enhancements.css' | asset_url | stylesheet_tag }}
   {{ 'collection-grid-enhancements.js' | asset_url | script_tag }}
   ============================================================ */' -}}

/* ─── Image Slider Arrows ─────────────────────────────────── */
.grid-product__image-mask--slider {
  position: relative;
  overflow: hidden;
}

.grid-product__slider-arrow {
  display: none; /* hidden by default, shown on hover */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.2s ease, transform 0.15s ease;
  padding: 0;
  line-height: 1;
}

.grid-product__slider-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
  color: #111;
  pointer-events: none;
}

.grid-product__slider-arrow--prev {
  left: 8px;
}

.grid-product__slider-arrow--next {
  right: 8px;
}

.grid-product__slider-arrow:hover {
  background: rgba(255,255,255,1);
}

/* Show arrows on card hover (desktop only) */
@media only screen and (min-width: 769px) {
  .grid-product__content:hover .grid-product__slider-arrow {
    display: flex;
  }
}

/* Always show on touch (mobile) */
@media only screen and (max-width: 768px) {
  .grid-product__slider-arrow {
    display: flex;
    width: 26px;
    height: 26px;
  }
}

/* ─── Slide visibility ───────────────────────────────────── */
.grid-product__slide {
  display: none;
}

.grid-product__slide--active {
  display: block;
}

/* For natural (non-fixed-ratio) images, position slides on top of each other */
.grid-product__image-mask--slider .image-wrap.grid-product__slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
}

.grid-product__image-mask--slider .image-wrap.grid-product__slide--active {
  display: block;
  position: relative; /* first slide holds height */
}

/* ─── Dot Indicators ─────────────────────────────────────── */
.grid-product__slider-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.grid-product__content:hover .grid-product__slider-dots {
  opacity: 1;
}

.grid-product__slider-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  display: block;
  transition: background 0.2s ease, transform 0.2s ease;
}

.grid-product__slider-dot--active {
  background: #fff;
  transform: scale(1.35);
}

/* ─── Quick Add to Cart Button ───────────────────────────── */
.grid-product__quick-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease;
  text-decoration: none;
  color: #111;
}

.grid-product__quick-add svg {
  pointer-events: none;
}

.grid-product__content:hover .grid-product__quick-add {
  opacity: 1;
  transform: translateY(0);
}

.grid-product__quick-add:hover {
  background: #111;
  color: #fff;
}

/* Loading state */
.grid-product__quick-add--loading {
  pointer-events: none;
}

.grid-product__quick-add--loading svg {
  display: none;
}

.grid-product__quick-add--loading::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid #ccc;
  border-top-color: #111;
  border-radius: 50%;
  animation: qaSpinner 0.6s linear infinite;
}

.grid-product__quick-add--success {
  background: #111;
  color: #fff;
  pointer-events: none;
}

@keyframes qaSpinner {
  to { transform: rotate(360deg); }
}

/* Hide on touch devices - they can use the quick add modal or product page */
@media only screen and (max-width: 768px) {
  .supports-touch .grid-product__quick-add {
    display: none;
  }
}