/** Shopify CDN: Minification failed

Line 23:12 Expected identifier but found whitespace
Line 23:14 Expected identifier but found "%"
Line 23:43 Unexpected "1200px"
Line 23:50 Expected identifier but found "%"
Line 23:59 Unexpected "100%"
Line 23:64 Expected identifier but found "%"

**/


/* CSS from section stylesheet tags */
/* =======================
   SECTION
======================= */
.reels-wrapper {
  padding: 40px 0;
  overflow: hidden;
}

.reels-container {
  max-width: {% if layout == 'container' %}1200px{% else %}100%{% endif %};
  margin: auto;
  padding: 0 24px;
}

/* =======================
   SLIDER
======================= */
.reels-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.reels-slider:active { cursor: grabbing; }
.reels-slider::-webkit-scrollbar { display: none; }

/* =======================
   REEL ITEM
======================= */
.reel-item {
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  background: #000;
}

/* Desktop */
.reel-item {
  width: calc(100% / {{ d_count }}.5);
}

/* Tablet */
@media (max-width: 1023px) {
  .reel-item {
    width: calc(100% / {{ t_count }}.5);
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .reel-item {
    width: calc(100% / {{ t_count }}.3);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .reel-item {
    width: calc(100% / 1.25); /* 1 full + partial next */
    max-height: 70vh;        /* reduce height */
  }
}

/* =======================
   VIDEO
======================= */
.reel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none; /* remove browser play icon */
}

/* =======================
   MODAL
======================= */
.reel-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.reel-modal video {
  max-height: 85vh;
  max-width: 90vw;
  aspect-ratio: 9/16;
  border-radius: 14px;
}

.reel-close,
.reel-prev,
.reel-next {
  position: absolute;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  user-select: none;
}

.reel-close { top: 20px; right: 30px; }
.reel-prev { left: 30px; }
.reel-next { right: 30px; }