/** Shopify CDN: Minification failed

Line 8:4 Unexpected "<"
Line 320:2 Unexpected "<"

**/

    <style>
    #instagram-reels-slider {
      content-visibility: auto;
      contain-intrinsic-size: 800px;
    }

    * { box-sizing: border-box; }

    .reels-slider-wrapper {
      position: relative;
      width: 95%;
      max-width: 1200px;
      margin: auto;
      overflow: hidden;
      padding: 40px 0;
    }

    /* ✅ Section Title */
    .reels-slider-title {
      text-align: center;
      font-size: 26px;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.3;
    }

    .reels-slider-title span {
      color: #0084db;
    }

    .reels-slider-flex {
      display: flex;
      gap: 1.5rem;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding-bottom: 20px;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }

    .reels-slider-flex::-webkit-scrollbar {
      height: 4px;
      background: #f0f0f0;
    }

    .reels-slider-flex::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 2px;
    }

    .reel-card {
      scroll-snap-align: start;
      flex: 0 0 90%;
      margin-top: 1rem;
      max-width: 350px;
      border-radius: 15px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.15);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: #fff;
      position: relative;
    }

    .reel-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 14px;
      border-bottom: 1px solid #e5e5e5;
    }

    .reel-profile {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .reel-profile img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      object-fit: cover;
    }

    .reel-username {
      font-size: 14px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 4px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .reel-verified svg {
      width: 1em;
      height: 1em;
      min-width: 12px;
      min-height: 12px;
      flex-shrink: 0;
    }

    .subtext {
      font-size: 11px;
      color: #8e8e8e;
      margin-top: -2px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .view-profile-btn {
      background: #0095f6;
      color: white;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 12px;
      text-decoration: none;
      font-weight: bold;
      white-space: nowrap;
      flex-shrink: 0;
      transition: background-color 0.2s ease;
    }

    .view-profile-btn:hover {
      background-color: #007acc;
    }

    /* ✅ Reel Media Container */
    .reel-media {
      position: relative;
      background: #000;
      width: 100%;
      height: 420px;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    }

    .reel-media video {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      /* background: #000; */
    }

    /* ✅ Play Button */
    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(255, 255, 255, 0.95);
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: transform 0.2s ease, opacity 0.2s ease;
      z-index: 2;
      opacity: 0;
      pointer-events: none;
    }

    .reel-card:hover .play-btn,
    .reel-media:focus-within .play-btn {
      opacity: 1;
      pointer-events: auto;
    }

    .play-btn svg {
      width: 24px;
      height: 24px;
      fill: #000;
      transition: transform 0.2s ease;
    }

    .play-btn--paused svg {
      transform: translateX(1px);
    }

    .play-btn--playing svg {
      transform: translateX(0);
    }

    .play-btn:hover {
      transform: translate(-50%, -50%) scale(1.05);
    }

    /* Hide button on mobile for touch-friendly video controls */
    @media (max-width: 768px) {
      .play-btn {
        display: none;
      }

      .reel-media video {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
      }
      .view-profile-btn {
        display: none;
      }
    }

    .bottom-bar {
      text-align: center;
      padding: 12px 0;
      font-size: 13px;
      border-top: 1px solid #e5e5e5;
    }

    .bottom-bar a {
      color: #0095f6;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.2s;
    }

    .bottom-bar a:hover {
      color: #007acc;
    }

    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 255, 255, 0.9);
      color: #333;
      border: 1px solid #ddd;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      transition: background-color 0.2s ease, opacity 0.2s ease;
      opacity: 0;
    }

    .reels-slider-wrapper:hover .arrow {
      opacity: 1;
    }

    .arrow:not([disabled]):hover {
      background-color: #fff;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .arrow:disabled {
      opacity: 0.3;
      cursor: not-allowed;
    }

    .arrow.left { left: 10px; }
    .arrow.right { right: 10px; }

    /* ✅ Limit to 3 reels - Responsive styles */
    .reel-card.limit-3 {
      flex: 0 0 calc(33.333% - 1rem) !important;
      max-width: calc(33.333% - 1rem) !important;
    }

    @media (min-width: 1000px) {
      .reel-card:not(.limit-3) { 
        flex: 0 0 calc(33.333% - 1rem); 
      }
    }

    @media (min-width: 700px) and (max-width: 999px) {
      .reel-card:not(.limit-3) { 
        flex: 0 0 calc(50% - 0.75rem); 
      }
      .arrow { opacity: 0.7; }
    }

    @media (max-width: 768px) {
      .arrow { display: none; }
      .reel-card:not(.limit-3) { flex: 0 0 85%; }
      .reel-card.limit-3 { 
        flex: 0 0 85% !important;
        max-width: 85% !important;
      }
      .view-profile-btn { display: none; }
    }

    /* ✅ Message when more than 3 reels exist */
    .reels-limit-message {
      text-align: center;
      margin-top: 20px;
      padding: 15px;
      background: #f9f9f9;
      border-radius: 8px;
      font-size: 14px;
      color: #666;
      display: none;
    }
    
    .reels-limit-message.visible {
      display: block;
    }
  </style>