/** Shopify CDN: Minification failed

Line 622:3 Expected "}" to go with "{"

**/

      .instagram-video-gallery {
        max-width: 1600px;
        margin: 0px auto;
        padding: 0 20px;
      }
      .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
      }
      .video-card {
        position: relative;
        cursor: pointer;
        border-radius: 12px;
        overflow: hidden;
        background: #000;
        aspect-ratio: 9/16;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      }
      .video-card video.preview {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .video-info {
        display: none; /* 没点开前不显示任何文字 */
      }

      /* Modal - 高度顶满屏幕，宽度按比例 */
      .video-modal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.95);
        z-index: 9999;
        width: 100vw;
        height: 100vh;
        overflow: hidden; /* 👈 关键 */
        touch-action: none; /* 👈 防止浏览器默认滚动 */
        align-items: center;
        justify-content: center;
      }
      .modal-content {
        position: relative;
        width: 100%;
        max-width: 750px; /* 竖屏宽度上限 */
        height: 100vh;
        background: #000;
        overflow: hidden;
        display: flex;
        flex-direction: column;
      }


      .modal-header {
        position: absolute;
        top: 50px;
        right: 16px;
        display: flex;
        gap: 5px;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;

        /* 明确去掉任何边框 */
        border: none !important;
        border-bottom: none !important;

        z-index: 20;
      }


      .btn-modal {
        width: 48px;      /* 👈 从40 → 48 */
        height: 48px;

        display: flex;
        align-items: center;
        justify-content: center;

        background: transparent !important;
        border: none;
        padding: 0;

        cursor: pointer;
      }

      .btn-modal svg {
        width: 28px;      /* 👈 从24/32 → 28（更协调） */
        height: 28px;
        stroke: white;
      }

      .btn-modal:hover svg {
        opacity: 0.7;
        transform: scale(1.15);
      }
      .modal-title {
        padding: 20px;
        color: white;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        background: none;
      }
      .modal-video-wrapper {
        flex: 1;
        position: relative;
        width: 100%;
        height: 100%;
      }
      .modal-video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 保持比例不裁切 */
      }

      .product-image {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
      }
      .product-info {
        flex: 1;
      }
      .product-title {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 4px;
      }
      .product-price {
        color: #ffd700;
        font-size: 18px;
        font-weight: 600;
      }
      .add-to-cart {
        background: #ffd700;
        color: #000;
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: bold;
        cursor: pointer;
      }


      /* PiP */
      .floating-pip {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 240px;
        height: 426px;
        background: #000;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0,0,0,0.6);
        z-index: 10000;
        cursor: pointer;
        display: none;
      }
      .floating-pip video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .pip-controls {
        position: absolute;
        bottom: 8px;
        right: 8px;
        display: flex;
        gap: 8px;
      }

      @media (max-width: 768px) {
        .modal-content { max-width: 100%; }
        .floating-pip { width: 180px; height: 320px; }
      }
      .video-card {
        position: relative;
      }

      /* 封面图在上面 */
      .video-cover {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 10;
        transition: opacity 0.3s ease;
      }

      /* 视频在下面 */
      .video-card video.preview {
        position: absolute;
        inset: 0;
        z-index: 1;
      }
      .video-card video.preview {
      position: absolute;
      inset: 0;
      z-index: 1;
      opacity: 0;              /* 👈 默认隐藏视频 */
      transition: opacity 0.3s ease;
    }
    .video-card {
      position: relative;
      overflow: hidden;
    }
    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-40%, -50%); 
      /* 👆 稍微往右偏一点，视觉更居中 */

      z-index: 20;
      pointer-events: none;
      transition: all 0.25s ease;
    }

    /* 三角放大 + 更明显 */
    .play-button svg {
      width: 72px;          /* 👈 关键：放大 */
      height: 72px;
      fill: white;
      opacity: 0.9;
      filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)); 
      /* 👆 提升对比度（非常关键） */
    }

    /* hover 消失 */
    .video-card:hover .play-button {
      opacity: 0;
      transform: translate(-40%, -50%) scale(1.2);
    }
    .video-slider-wrapper {
  position: relative;
  max-width: 1600px;
  margin: 40px auto;
}

.video-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* 隐藏滚动条 */
.video-slider::-webkit-scrollbar {
  display: none;
}

/* 卡片宽度固定（关键） */
.video-card {
  flex: 0 0 280px;
  aspect-ratio: 9/16;
}

/* 左右按钮 */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;

  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;

  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}
.modal-video {
  transition: opacity 0.4s ease;
  opacity: 1;
}
.video-with-side-btns {
  position: relative;
  width: 100%;
  max-width: 720px;           /* 根据你的设计调整最大宽度 */
  margin: 0 auto;             /* 整体居中 */
  aspect-ratio: 9 / 16;       /* 竖视频常用比例，横屏可改 16/9 */
}

.modal-video-wrapper {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.side-controls {
  position: absolute;
  right: 16px;                /* 距离视频右边界的距离，可调 12px~24px */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 28px;                  /* 按钮垂直间距 */
  z-index: 20;
}

.side-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.side-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: scale(1.12);
}

.side-btn:active {
  transform: scale(0.95);
}

/* 小屏幕适配 */
@media (max-width: 640px) {
  .side-controls {
    right: 10px;
    gap: 32px;
  }
  .side-btn {
    width: 58px;
    height: 58px;
  }
}
@media (max-width: 749px) {
  .video-modal {
    z-index: 10000000000000000000;
  }
}
/* 📱 手机端优化 */
@media (max-width: 768px) {

  .video-slider {
    padding-left: 0px;   /* 左边露一点 */
    padding-right:0px;
  }

  .video-card {
    flex: 0 0 65%;   /* 👈 核心：一屏1.5个 */
    max-width: 70%;
  }

  .video-slider {
    gap: 12px;
  }

  /* 按钮稍微小一点 */
  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}
.floating-pip {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 240px;
  height: 426px;

  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);

  z-index: 21474839999647; /* 👈 最高层 */
}

/* 📱 手机端缩小 */
@media (max-width: 768px) {
  .floating-pip {
    width: 100px;   /* 👈 关键：变小 */
    height: 250px;
    bottom: 16px;
    right: 12px;
    border-radius: 12px;
  }
  .modal-title {
    height:60px;

  }
}
.floating-pip {
  position: fixed !important;
  bottom: 20px;
  right: 20px;

  width: 140px;
  height: 250px;

  z-index: 2147483647 !important;

  isolation: isolate;
}
#MainContent,
.shopify-section {
  transform: none !important;
}
@media (max-width: 768px) {
  .modal-title {
    padding-top: 20px !important; /* 👈 从大值改小 */
  }
}
@media (max-width: 768px) {
  .video-with-side-btns {
    max-height: 100vh;
  }

  .modal-video {
    object-fit: cover;
    background: #000;
  }

  .modal-content {
    justify-content: center;
  }
}
/* 📦 整个底部区域 */
.product-recommend-slider {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;

  padding: 0 12px;
  z-index: 30;

  overflow: hidden;
}

/* 横向滑动 */
.product-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.product-list::-webkit-scrollbar {
  display: none;
}

/* 🧱 卡片 */
.product-card {
  flex: 0 0 auto;
  width: 260px;

  display: flex;
  align-items: center;
  gap: 10px;

  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 10px;

  box-shadow: 0 4px 20px rgba(0,0,0,0.2);

  scroll-snap-align: start;
}

/* 图片 */
.product-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* 文本 */
.product-info {
  flex: 1;
}

.product-info .title {
  font-size: 13px;
  font-weight: 600;
  color: #000;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .price {
  font-size: 14px;
  font-weight: bold;
  margin-top: 4px;
}
.add-to-cart-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.add-to-cart-btn:hover {
  background: #333;
  transform: scale(1.1);
}
/* 右箭头 */
.product-card .arrow {
  font-size: 20px;
  color: #666;
}
.video-with-side-btns {
  position: relative;
  flex: 1;
  height: 100%;
}

.modal-video-wrapper {
  position: absolute;
  inset: 0;
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-recommend-slider .product-list {
  display: flex;            /* 使用 flex 布局 */
  justify-content: center;  /* 水平居中 */
  align-items: center;      /* 垂直居中（可选，如果你希望图片和文字居中对齐） */
}
[id^="jarallax-container"] {
  pointer-events: none !important;
}
.bee-popup-container {
  position: fixed !important;
  inset: 0;
  z-index: 99999999999999999999999999 !important;
}

.product-card:hover::after {
  opacity: 1;
  transform: translateY(-3px);
}

.product-card::after:hover {
  background: #ffd700;
  color: #000;
}

/* 小屏幕优化 */
@media (max-width: 768px) {
  .product-card::after {
    font-size: 12px;
    padding: 6px 12px;
    bottom: 10px;
    right: 10px;
  }
}
@media (max-width: 768px) {
  .instagram-video-gallery,
  .video-slider-wrapper,
  .video-slider {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }

  .video-slider {
    gap: 10px;
  }