/** Shopify CDN: Minification failed

Line 2692:0 Expected "}" to go with "{"

**/
/* ==========================================
   🏛️ CSS变量系统 - 统一的设计语言
   ========================================== */
:root {
  /* 颜色系统 */
  --brand-primary: #2c5aa0;
  --brand-secondary: #4CAF50;
  --text-primary: #2d3748;
  --text-secondary: #333;
  --text-muted: #666;
  --bg-light: #f8f9fa;
  --bg-lighter: #f5f5f5;
  --border-light: #e9ecef;
  --trust-badge-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  --urgency-border: #f39c12;
  
  /* 间距系统 */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 15px;
  --space-lg: 20px;
  --space-xl: 30px;
  --space-xxl: 40px;
  
  /* 字体系统 */
  --text-xs: 10px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-xxl: 38px;
  
  /* 圆角和阴影 */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.05);
}


/* ==========================================
   📐 基础布局样式
   ========================================== */
/* 页面容器 */
.shopify-section .page-container,
.main-page-wrapper .page-container {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

html body .shopify-section .page-width .product-layout-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 面包屑导航 */
.shopify-section .breadcrumb-nav,
.main-page-wrapper .breadcrumb-nav {
  padding: 10px 0 !important;
  font-size: 14px !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
}

.shopify-section .breadcrumb-list,
.main-page-wrapper .breadcrumb-list {
  display: flex !important;
  align-items: center !important;
  font-weight: 400 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.shopify-section .breadcrumb-item,
.main-page-wrapper .breadcrumb-item {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.shopify-section .breadcrumb-item:not(:last-child)::after,
.main-page-wrapper .breadcrumb-item:not(:last-child)::after {
  content: "›" !important;
  margin: 0 6px !important;
  color: #999 !important;
  font-size: 12px !important;
  flex-shrink: 0 !important;
}

.shopify-section .breadcrumb-link,
.main-page-wrapper .breadcrumb-link {
  color: var(--text-secondary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
  font-weight: 400 !important;
}

.shopify-section .breadcrumb-home,
.main-page-wrapper .breadcrumb-home {
  color: var(--brand-secondary) !important;
  font-weight: 500 !important;
}

.shopify-section .breadcrumb-link:hover,
.main-page-wrapper .breadcrumb-link:hover {
  color: var(--brand-secondary) !important;
}

.shopify-section .breadcrumb-current,
.main-page-wrapper .breadcrumb-current {
  min-width: 0 !important;
}

.shopify-section .breadcrumb-title,
.main-page-wrapper .breadcrumb-title {
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


/* ==========================================
   🎯 三栏布局系统 + 粘性定位
   ========================================== */
.product-three-column-layout {
  
  display: flex !important;
  gap: 20px !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  margin-left: -50vw !important;
  padding: 20px 40px !important;
  background: var(--bg-light) !important;
  overflow: visible !important;
}

.product-three-column-layout .product__info-wrapper {
  width: 100% !important;
  max-width: none !important;
  flex: 2.3 !important;
  padding: 20px !important;
  background: #f9f9f9 !important;
  border-radius: var(--radius-lg) !important;
}

/* PC端粘性定位 */
@media screen and (min-width: 769px) {
  .product-column-left {
    flex: 2 !important;
    min-width: 0 !important;
 
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow: visible !important;
    align-self: flex-start !important;
  }
  
  .product-column-center {
    flex: 1.7 !important;
    min-width: 0 !important;
   
    height: fit-content !important;
    max-height: calc(100vh - 40px) !important;
    overflow: visible !important;
  }

  .product-column-left .product__media img,
  .product-column-left .media img,
  .product-column-left .image-magnify-lightbox {
  width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    
  }
  
  .product-column-left .product__media,
  .product-column-left .media {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  

}


/* ==========================================
   📱 响应式样式 (移动端+超小屏幕)
   ========================================== */
/* 移动端优化 */
@media screen and (max-width: 768px) {
  .product-three-column-layout {
    display: block !important;
    width: 100% !important;
    position: static !important;
    left: auto !important;
    margin-left: auto !important;
    padding: var(--space-md) !important;
    background: transparent !important;
  }
  
  .product-column-left,
  .product-column-center {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
   
    flex: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 0 !important;
  }
  
  .product-column-left img {
    width: 100% !important;
    height: auto !important;
    max-height: 60vh !important;
    object-fit: cover !important;
  }
  
  .trust-badge {
    width: 100% !important;
    margin-bottom: var(--space-xs) !important;
  }
  
  .urgency-content {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .urgency-item {
    min-width: auto !important;
    margin-bottom: var(--space-xs) !important;
  }
  
 
  

}



/* ==========================================
   🎨 产品信息组件
   ========================================== */
/* 品牌名样式 */
.product__text.inline-richtext.caption-with-letter-spacing {
  font-size: var(--text-xl) !important;
  font-weight: 700 !important;
  color: var(--brand-primary) !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-bottom: var(--space-sm) !important;
}

/* 产品标题 - 统一版本 */
.product__title h1 {

  font-weight: 800 !important;
  color: var(--text-primary) !important;
  line-height: 1.25 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;

}

/* 产品视频容器 */
.product-video-container {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  background: #000 !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-video-container iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}


/* ==========================================
   🛡️ 功能组件 (信任徽章+紧迫感+特性列表)
   ========================================== */
/* 信任徽章 - 统一版本 */
.trust-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: var(--space-md) 0 !important;
  padding: var(--space-md) !important;
  background: var(--trust-badge-bg) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
}

.trust-badge {
  display: flex !important;
  align-items: center !important;
  width: calc(50% - 5px) !important;
  font-size: var(--text-sm) !important;
  color: #495057 !important;
  padding: var(--space-xs) !important;
  background: white !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  box-sizing: border-box !important;
}

.trust-badge__icon {
  font-size: 16px !important;
  margin-right: var(--space-xs) !important;
  flex-shrink: 0 !important;
}

.trust-badge__icon--secure { color: var(--brand-secondary) !important; }
.trust-badge__icon--shipping { color: #007bff !important; }
.trust-badge__icon--returns { color: #6f42c1 !important; }

.trust-badge__text {
  font-weight: 600 !important;
  color: #212529 !important;
  font-size: var(--text-xs) !important;
  line-height: 1.2 !important;
}

/* 紧迫感组件 - 统一版本 */
.urgency-component {
  margin: var(--space-md) 0 !important;
  padding: var(--space-sm) !important;
  border: 1px solid #ddd !important;
  border-radius: var(--radius-md) !important;
  border-left: 3px solid var(--urgency-border) !important;
}

.urgency-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: var(--space-xs) !important;
}

.urgency-item {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 120px !important;
}

.urgency-item__icon {
  font-size: var(--text-base) !important;
  margin-right: 6px !important;
}

.urgency-item__content {
  flex: 1 !important;
}

.urgency-item__title {
  font-weight: 700 !important;
  font-size: var(--text-xs) !important;
  margin-bottom: 2px !important;
}

.urgency-item__subtitle {
  font-size: 10px !important;
}

.urgency-item--offer .urgency-item__title { color: #e74c3c !important; }
.urgency-item--offer .urgency-item__subtitle { color: #c0392b !important; }
.urgency-item--stock .urgency-item__title { color: #e67e22 !important; }
.urgency-item--stock .urgency-item__subtitle { color: #d35400 !important; }
.urgency-item--activity .urgency-item__title { color: #27ae60 !important; }
.urgency-item--activity .urgency-item__subtitle { color: #ffd700 !important; }














/* ==========================================
   🔥 东南亚心理营销优化 (信任+紧迫感强化)
   ========================================== */
/* 库存紧迫感强化 - 利用稀缺性心理 */
.stock-urgency,
.urgency-component {
  background: linear-gradient(135deg, #ff4757, #ff3742) !important;
  color: white !important;
  animation: urgency-pulse 2s infinite !important;
  border: 2px solid #fff !important;
  box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
}

.stock-urgency::before {
  content: "🔥" !important;
  position: absolute !important;
  top: 10px !important;
  right: 15px !important;
  font-size: 24px !important;
  animation: fire-flicker 1s infinite alternate !important;
}

@keyframes urgency-pulse {
  0% { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5); }
  50% { transform: scale(1.02); box-shadow: 0 8px 25px rgba(255, 71, 87, 0.7); }
  100% { transform: scale(1); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5); }
}

@keyframes fire-flicker {
  0% { opacity: 1; transform: rotate(-2deg); }
  100% { opacity: 0.8; transform: rotate(2deg); }
}

/* 紧迫感文字强化 */
.urgency-item__title {
  font-size: 16px !important;
  font-weight: 800 !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3) !important;
}

.urgency-item__subtitle {
  font-size: 14px !important;
  font-weight: 600 !important;
  opacity: 0.95 !important;
}

/* 价格锚定心理 - 突出优惠 */
.price-container {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7) !important;
  border: 3px dashed #f39c12 !important;
  padding: 20px !important;
  border-radius: 15px !important;
  margin: 20px 0 !important;
  text-align: center !important;
  position: relative !important;
}

.price-container::before {
  content: "💰 限时特价" !important;
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #f39c12 !important;
  color: white !important;
  padding: 5px 15px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* 信任徽章心理强化 */
.trust-badges {
  background: linear-gradient(135deg, #e8f5e8, #d4edda) !important;
  border: 2px solid #28a745 !important;
  position: relative !important;
}

.trust-badges::before {
  content: "✅ 品质保证" !important;
  position: absolute !important;
  top: -12px !important;
  left: 20px !important;
  background: #28a745 !important;
  color: white !important;
  padding: 4px 12px !important;
  border-radius: 15px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.trust-badge {
  border: 1px solid #28a745 !important;
  background: white !important;
  transition: all 0.3s ease !important;
}

.trust-badge:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}




/* ==========================================
   🎯 社会认同心理强化 (实时提醒+购买按钮)
   ========================================== */
/* 实时购买提醒 */
.social-proof-notification {
  position: fixed !important;
  bottom: 20px !important;
  left: 20px !important;
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  padding: 12px 16px !important;
  border-radius: 25px !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4) !important;
  z-index: 1000 !important;
  animation: slide-in-bounce 3s infinite !important;
  max-width: 280px !important;
  font-size: 13px !important;
}

@keyframes slide-in-bounce {
  0% { transform: translateX(-100%); opacity: 0; }
  10% { transform: translateX(0); opacity: 1; }
  90% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-100%); opacity: 0; }
}

/* 购买人数强化 */
.urgency-item--activity {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  padding: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.urgency-item--activity .urgency-item__title {
  font-size: 18px !important;
  color: #fff !important;
}

.urgency-item--activity .urgency-item__icon {
  font-size: 20px !important;
  animation: bounce 1s infinite !important;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  60% { transform: translateY(-3px); }
}

/* 超级购买按钮 */
.product-form__buttons {
  background: linear-gradient(135deg, #fff, #f8f9fa) !important;
  padding: 25px !important;
  border-radius: 15px !important;
  border: 3px solid #ff6b6b !important;
  margin: 25px 0 !important;
  position: relative !important;
}

.product-form__buttons::before {
  content: "🛒 立即抢购" !important;
  position: absolute !important;
  top: -15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #ff6b6b !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 25px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  animation: glow 2s infinite alternate !important;
}

@keyframes glow {
  0% { box-shadow: 0 0 10px #ff6b6b; }
  100% { box-shadow: 0 0 20px #ff6b6b, 0 0 30px #ff6b6b; }
}

.btn.product-form__cart-submit {
  width: 100% !important;
  height: 65px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
  border: none !important;
  border-radius: 15px !important;
  color: white !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.btn.product-form__cart-submit::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
  animation: shine 3s infinite !important;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn.product-form__cart-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.7) !important;
}

/* 数量选择器优化 */
.quantity {
  background: #f8f9fa !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 10px !important;
  padding: 15px !important;
  margin: 15px 0 !important;
}

.quantity__label {
  font-weight: 700 !important;
  color: #333 !important;
  font-size: 16px !important;
  margin-bottom: 10px !important;
}





/* ==========================================
   🧩 其他优化 (间距+图标+图片)
   ========================================== */
/* 间距微调 */
.product__info-container [data-shopify-app-block],
.product__info-container [class*="jdgm"],
.product__info-container [id*="jdgm"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.product__info-container [class*="jdgm"] * {
  display: inline-block !important;
}

.product__info-container .jdgm-widget {
  white-space: nowrap !important;
}

/* 头部图标颜色 (对抗Dawn默认样式) */
.header .header__icon--menu,
.header .header__icon--menu .icon,
.header .header__icon--menu svg,
.header .header__icon--menu path {
  color: #FFD700 !important;
  fill: #FFD700 !important;
  stroke: #FFD700 !important;
}

/* 多重选择器保险 */
header .header__heading .header__icon--menu,
.header__heading .header__icon--menu .icon {
  color: #FFD700 !important;
  fill: #FFD700 !important;
}

/* 悬停效果 */
.header .header__icon--menu:hover,
.header .header__icon--menu:focus {
  color: #FFED4E !important;
  fill: #FFED4E !important;
}

/* 图标风格统一 - 圆润线条 */
.header .header__icon--menu .icon,
.header .header__icon--menu svg path {
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 2px !important;
}

/* 搜索和购物车图标统一风格 */
.header .header__icon--search,
.header .header__icon--cart {
  color: #FFD700 !important;
}

.header .header__icon--search .icon,
.header .header__icon--cart .icon,
.header .header__icon--search svg path,
.header .header__icon--cart svg path {
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
  stroke-width: 2px !important;
  color: #FFD700 !important;
  fill: none !important;
  stroke: #FFD700 !important;
}

/* 图片优化 */
.product-hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  loading: lazy; /* 懒加载 */
}

.product-hero {
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  min-height: 300px; /* 预设高度避免布局跳动 */
}

.product-hero img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-hero img.loaded {
  opacity: 1;
}

/* 低网速环境优化 */
@media (max-width: 768px) and (max-resolution: 150dpi) {
  .product-hero img {
    content: url('product-image-mobile-compressed.jpg');
  }
}

@media (min-width: 769px) {
  .product-hero img {
    content: url('product-image-desktop-hd.jpg');
  }
}



/* ==========================================
   🎬 视频优化模块 (移动端适配+性能+视觉强化)
   ========================================== */

/* 🔥 基础布局与响应式适配 */
/* 视频容器基础样式 (合并重复的.video-wrapper/.video-container) */
/* 只在移动端应用视频样式 */
@media (max-width: 1023px) {
  .video-wrapper, .video-container {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 56.25% !important;
    overflow: hidden !important;
    margin: 20px 0 !important;
    background: #000 !important;
    border: 8px solid #2c2c2c !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 2px #444, inset 0 0 0 2px #666 !important;
  }
   /* 排除PC端的视频区域 */
    .video-section {
        height: auto !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 1023px) {
  .product-video-container {
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 10px 0 !important;
    
    /* 增强的银灰渐变边框 - 更亮更有质感 */
    border: 10px solid transparent !important; /* 加粗边框 */
    background-image: 
      linear-gradient(#000, #000),
      linear-gradient(135deg, 
        #ffffff 0%,     /* 纯白高光 */
        #f5f5f5 15%,    /* 亮银 */
        #e0e0e0 30%,    /* 中银 */
        #b8b8b8 45%,    /* 深银 */
        #d8d8d8 60%,    /* 回亮 */
        #f8f8f8 80%,    /* 高亮银 */
        #ffffff 100%    /* 纯白结束 */
      ) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    
    /* 强化的立体阴影效果 */
    box-shadow: 
      0 15px 40px rgba(0, 0, 0, 0.4),                    /* 主阴影 */
      0 0 0 3px rgba(255, 255, 255, 0.9),               /* 外发光 */
      0 0 0 6px rgba(200, 200, 200, 0.7),               /* 中层光晕 */
      inset 0 0 0 3px rgba(255, 255, 255, 0.8),         /* 内高光 */
      inset 0 2px 4px rgba(255, 255, 255, 0.6) !important; /* 内顶部高光 */
  }

  .product-video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: contain !important;
  }
}




/* 视频iframe样式 (合并重复定义) */
.video-wrapper iframe,
.video-container iframe,
[class*="video"] iframe,
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important; /* 移除默认边框 */
  border-radius: 8px !important; /* 整合第三步样式 */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
  
  /* 性能优化（整合懒加载和硬件加速） */
  loading: lazy !important;
  transform: translateZ(0) !important; /* 启用硬件加速 */
  will-change: transform !important;
}

/* 🖥️ 视觉增强效果 */
/* 屏幕反光与加载状态（合并重复伪元素） */
.video-wrapper::before,
.video-container::before {
  content: "视频加载中..." !important; /* 保留智能网络提示文字 */
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: rgba(255, 215, 0, 0.9) !important; /* 品牌金色背景 */
  color: #333 !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  z-index: 10 !important;
  animation: pulse 2s infinite !important; /* 脉动加载动画 */
  
  /* 叠加屏幕反光效果（不冲突，同时保留） */
  background: linear-gradient(
    135deg, 
    rgba(255,255,255,0.1) 0%, 
    transparent 50%
  ), rgba(255, 215, 0, 0.9) !important;
  pointer-events: none !important;
}

/* 脉动动画关键帧 */
@keyframes pulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
  100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
}

/* 📱 移动端特别优化（合并所有移动端样式） */
@media (max-width: 768px) {
  /* 图片基础优化 */
  img {
    image-rendering: optimizeSpeed !important;
  }
  
  /* 视频容器与iframe优化 */
  .video-wrapper,
  .video-container {
    border-width: 4px !important; /* 移动端边框变细 */
    border-radius: 6px !important;
    margin: 15px 0 !important; /* 缩减移动端间距 */
  }
  
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"] {
    min-height: 200px !important; /* 确保触摸区域足够大 */
    touch-action: manipulation !important; /* 优化触摸交互 */
  }
}

/* 👆 交互体验优化 */
/* 视频悬停提示（仅PC端生效，移动端不冲突） */
iframe[src*="youtube.com"]:hover::after,
iframe[src*="youtu.be"]:hover::after {
  content: "点击播放视频" !important;
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(0,0,0,0.8) !important;
  color: white !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  z-index: 5 !important; /* 低于加载提示层级 */
}




/* ==========================================
   🎬 视频优化模块（补充完善）
   ========================================== */
/* 视频加载完成隐藏提示 */
.video-wrapper:has(iframe[src])::before {
  display: none !important;
}

/* 视频交互增强 */
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.3),
    0 0 0 2px rgba(255, 215, 0, 0.3) !important; /* 金色光晕 */
  transition: all 0.3s ease !important;
}

/* 视频悬停/触摸效果 */
iframe[src*="youtube.com"]:hover,
iframe[src*="youtu.be"]:hover {
  transform: scale(1.02) !important;
  box-shadow: 
    0 12px 30px rgba(0,0,0,0.4),
    0 0 0 3px rgba(255, 215, 0, 0.5) !important;
}

/* 播放状态指示器 */
.video-wrapper::after {
  content: "▶" !important;
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgba(255, 215, 0, 0.9) !important;
  color: #333 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  z-index: 5 !important;
}


/* ==========================================
   📱 移动端终极优化（合并重复媒体查询）
   ========================================== */
@media (max-width: 768px) {
  /* 1. 视频交互优化 */
  iframe[src*="youtube.com"],
  iframe[src*="youtu.be"] {
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important; /* 防止长按菜单 */
  }
  
  .video-wrapper {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important; /* 移除点击高亮 */
  }

  /* 2. 布局与背景统一 */
  .product-three-column-layout {
    display: block !important;
    width: 100% !important;
    position: static !important;
    left: auto !important;
    margin-left: auto !important;
    padding: 5px !important;
    background: transparent !important;
  }
  
  .product-three-column-layout .product__info-wrapper {
    padding: 5px !important;
    margin: 0 auto !important;
    width: 98% !important;
    background: transparent !important;
    border-radius: 0 !important;
  }

  /* 3. 标题与呼吸感优化 */
  .product__title {
    font-size: 28px !important; /* 增大字体（覆盖原24px） */
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 20px 0 25px !important; /* 合并margin */
    color: #2c3e50 !important;
  }
  
  .product__subtitle {
    font-size: 18px !important; /* 增大字体（覆盖原16px） */
    color: #27ae60 !important;
    font-weight: 600 !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
  }


  
  /* 现价突出 */
  .price__sale,
  .price-item--sale,
  .price__current {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #e74c3c !important; /* 醒目红色 */
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.3) !important;
  }
  
  /* 原价对比 */
  .price__regular,
  .price__compare {
    font-size: 18px !important;
    color: #a0a0a0 !important; /* 柔和灰色 */
    text-decoration: line-through !important;
    margin-right: 10px !important;
  }
  
  /* Sale标签动画 */
  .badge--sale,
  .badge.price__badge-sale,
  .price__badge-sale {
    background: linear-gradient(45deg, #ff4757, #ff3742) !important; /* 纯正红色渐变 */
    color: white !important;
    font-weight: bold !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    animation: pulse 2s infinite !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
  }


  
  /* 各区块间距统一 */
  .price,
  .product-rating,
  .trust-badges {
    margin-bottom: 25px !important;
  }
}


@media (max-width: 768px) {
  /* 基础重置保持不变 */
  .urgency-item--stock,
  .urgency-item--offer,
  .urgency-item--activity {
    transform: none !important;
    border-left: none !important;
    border-radius: 12px !important;
    padding: 25px 25px !important;
    margin: 15px 0 !important;
    position: relative !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
  }
  
  .urgency-item--stock::after,
  .urgency-item--offer::after,
  .urgency-item--activity::after {
    display: none !important;
  }

  /* 重新排列颜色 */
  .urgency-item--stock {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
  }
  
  .urgency-item--offer {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
  }
  
  .urgency-item--activity {
    background: linear-gradient(135deg, #ff4444, #ff6666) !important;
  }

  /* 手工缝线效果 - 调整为8px距离 */
  .urgency-item--stock::before,
  .urgency-item--offer::before,
  .urgency-item--activity::before {
    content: '' !important;
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    border: 2px dashed rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px !important;
    pointer-events: none !important;
    
    /* 压痕效果 */
    box-shadow: 
      inset 0 1px 0 rgba(255,255,255,0.3),
      inset 0 -1px 0 rgba(0,0,0,0.1),
      0 0 0 1px rgba(0,0,0,0.05) !important;
  }

  /* 增强缝线的立体感 - 调整为6px距离 */
  .urgency-item--stock::after,
  .urgency-item--offer::after,
  .urgency-item--activity::after {
    content: '' !important;
    position: absolute !important;
    top: 6px !important;
    left: 6px !important;
    right: 6px !important;
    bottom: 6px !important;
    border: 1px dotted rgba(255, 255, 255, 0.4) !important;
    border-radius: 6px !important;
    pointer-events: none !important;
    display: block !important;
  }

  /* 强化文字显眼度 */
  .urgency-item--stock *,
  .urgency-item--offer *,
  .urgency-item--activity * {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
    font-weight: bold !important;
    font-size: 14px !important;
  }

  .urgency-item__title {
    font-size: 15px !important;
    font-weight: 800 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6) !important;
  }

  .urgency-item__subtitle {
    font-size: 13px !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4) !important;
  }
}




/* ==========================================
   💰 价格区域补充优化（加载顺序修复）
   ========================================== */
@media (max-width: 768px) {
  /* 价格容器位置调整：增加与上下元素间距 */
  .price {
    margin-top: 20px !important; /* 覆盖原20px */
    margin-bottom: 20px !important; /* 覆盖原20px */
  }
  
  /* Sale标签位置修正：避免遮挡原价 */
  .badge.price__badge-sale {
    position: relative !important;
    top: 8px !important;
    left: -8px !important;
  }
}




/* ========== 移动端套装选择区域 - 完全复制PC端样式 ========== */
@media (max-width: 768px) {
  
  /* 套装选择整体容器 */
  .essential-upsell-container {
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
    padding: 25px 20px !important;
    border-radius: 15px !important;
    border: 2px solid #e9ecef !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  }

  /* 套装标题 */
  .essential-upsell-title {
    font-size: 20px !important;
    font-weight: bold !important;
    color: #2c3e50 !important;
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  /* 单个产品项目 */
  [data-essential-upsell-element="product"] {
    background: white !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 15px 18px !important;
    margin: 12px 0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  [data-essential-upsell-element="product"]:hover {
    border-color: #28a745 !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.15) !important;
    transform: translateY(-2px) !important;
  }

  /* 选中状态 */
  [data-essential-upsell-element="product"].selected {
    border-color: #28a745 !important;
    background: linear-gradient(135deg, #f8fff8, #ffffff) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2) !important;
  }

  /* 复选框样式 */
  [data-essential-upsell-element="product"] input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 0 !important;
    accent-color: #28a745 !important;
    transform: scale(1.2) !important;
    flex-shrink: 0 !important;
  }

  /* 产品信息容器 */
  [data-essential-upsell-element="product-info"] {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  /* 产品标题 */
  [data-essential-upsell-element="title"] {
    font-weight: 600 !important;
    color: #2c3e50 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
  }

  /* 价格容器 */
  [data-essential-upsell-element="price-container"] {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* 原价 */
  [data-essential-upsell-element="regular-price"] {
    color: #999 !important;
    text-decoration: line-through !important;
    font-size: 13px !important;
  }

  /* 折扣价 */
  [data-essential-upsell-element="discounted-price"] {
    color: #ff4444 !important;
    font-weight: bold !important;
    font-size: 15px !important;
  }

  /* 节省金额标签 */
  [data-essential-upsell-element="savings"] {
    background: #28a745 !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: bold !important;
  }

  /* 总价显示 */
  .essential-upsell-total {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 10px !important;
    margin-top: 15px !important;
    text-align: center !important;
    font-weight: bold !important;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3) !important;
  }

  /* 总价文字 */
  .essential-upsell-total-text {
    font-size: 16px !important;
    margin-bottom: 5px !important;
  }

  /* 总价金额 */
  .essential-upsell-total-amount {
    font-size: 20px !important;
    font-weight: 800 !important;
  }
}































/* ========== 移动端购买区域 - 完全复制PC端样式 ========== */
@media (max-width: 768px) {
  
  /* 数量选择器容器 */
  .product-form__quantity,
  .quantity,
  .product-form__input--quantity,
  .quantity-selector {
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 18px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* 数量输入框 */
  .quantity__input {
    border: 2px solid #28a745 !important;
    border-radius: 6px !important;
    background: white !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    width: 50px !important;
    height: 35px !important;
    outline: none !important;
    margin: 0 2px !important;
  }

  /* 数量选择器按钮 */
  .quantity__button {
    background: #28a745 !important;
    color: white !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 6px 10px !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    height: 35px !important;
    min-width: 35px !important;
  }

  .quantity__button:hover {
    background: #20c997 !important;
  }

  /* 购买按钮区域容器 */
  .product-form__buttons {
    background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
    padding: 25px 20px !important;
    border-radius: 15px !important;
    border: 2px solid #e9ecef !important;
    margin: 20px 0 15px 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
    position: relative !important;
    text-align: center !important;
  }

  /* Add to Cart 按钮 */
  .product-form__submit.button,
  button[name="add"] {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    padding: 20px 30px !important;
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
    width: 100% !important;
  }

  .product-form__submit.button:hover,
  button[name="add"]:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(135deg, #20c997, #17a2b8) !important;
  }

  /* PayPal 按钮容器 */
  .shopify-payment-button,
  [data-shopify="payment-button"] {
    margin-top: 15px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    width: 100% !important;
  }

  /* 紧迫感标签 */
  .product-form__buttons::before {
    content: '🔥 限时优惠 - 立即抢购!' !important;
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: #ff4444 !important;
    color: white !important;
    padding: 6px 15px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    animation: urgentBlink 2s infinite !important;
  }

  /* 信任标识 */
  .product-form__buttons::after {
    content: '🛡️ 安全支付 | 💯 品质保证 | 🚚 快速发货' !important;
    display: block !important;
    text-align: center !important;
 
    font-size: 12px !important;
    color: #666 !important;
    border-top: 1px solid #eee !important;
    padding-top: 10px !important;
  }

  /* 动画效果 */
  @keyframes urgentBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
}



























/* ==========================================
   🚀 终极转化率按钮：Add to Cart（核心优化）
   ========================================== */
@media (max-width: 768px) {
  /* 主按钮样式：金色渐变+立体阴影 */
  .product-form__submit.button.button--full-width.button--secondary,
  button[name="add"].product-form__submit {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    color: #2c3e50 !important;
    border: 3px solid #FFD700 !important;
    border-radius: 15px !important;
    width: 100% !important;
    padding: 12px 24px !important;
    margin: 10px 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 
      0 8px 25px rgba(255, 215, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 10 !important;
  }
  
  /* 交互反馈：悬停+点击效果 */
  .product-form__submit.button:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 
      0 12px 35px rgba(255, 215, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    border-color: #FF8C00 !important;
  }
  
  .product-form__submit.button:active {
    transform: translateY(-1px) scale(0.98) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5) !important;
  }
  
  /* 视觉吸引：闪光动画 */
  .product-form__submit.button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
    animation: shine 4s infinite !important;
    z-index: 1 !important;
  }
  
  /* 按钮文字层级：确保在闪光动画上方 */
  .product-form__submit.button span {
    position: relative !important;
    z-index: 2 !important;
  }
  
  /* 辅助支付按钮：PayPal容器美化 */
  .shopify-payment-button {
    margin-top: 10px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }
  
  #zoid-paypal-buttons-uid_f69dca3e2d_mty6mta6mde {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  }
}

/* 闪光动画关键帧（全局可用） */
@keyframes shine {
  0% { left: -100%; }
  20% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* ==========================================
   📱 移动端补充：More Payment Options链接美化
   ========================================== */
@media (max-width: 768px) {
  /* 支付链接容器与样式 */
  .shopify-payment-button__more-options,
  #more-payment-options-link {
    color: #27ae60 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    border: 2px solid #27ae60 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    background: rgba(39, 174, 96, 0.1) !important;
    display: inline-block !important;
    margin-top: 15px !important;
    transition: all 0.2s ease !important;
  }
  
  /* 悬停交互效果 */
  .shopify-payment-button__more-options:hover,
  #more-payment-options-link:hover {
    background: rgba(39, 174, 96, 0.2) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.2) !important;
  }
  
  /* 自定义元素容器居中 */
  more-payment-options-link {
    display: block !important;
    text-align: center !important;
    margin-top: 15px !important;
  }
}


/* ==========================================
   💻 PC端Header整体现代化（769px以上）
   ========================================== */
@media (min-width: 769px) {
  /* 1. Header基础样式 */
  .header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%) !important;
    box-shadow: 0 4px 20px rgba(39, 174, 96, 0.15) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
  }
  
  .header__wrapper {
    padding: 15px 0 !important;
    position: relative !important;
  }

  /* 2. LOGO区域精密优化 */
  .header__heading-logo {
    transition: all 0.3s ease !important;
  }
  
  .header__heading-logo:hover {
    transform: scale(1.05) !important;
  }
  
  .header__heading-logo .h2 {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
  }
  
  .header__heading-logo:hover .h2 {
    transform: scale(1.08) !important;
    filter: brightness(1.1) !important;
  }
  
  .header__heading-logo img,
  .header__heading-logo svg {
    transition: all 0.4s ease !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
  }
  
  .header__heading-logo:hover img,
  .header__heading-logo:hover svg {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) brightness(1.1) !important;
    transform: rotate(2deg) !important;
  }
  
  .header__heading-logo .h2 a {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
  }
  
  .header__heading-logo:hover .h2 a {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
  }

  /* 3. 导航菜单现代化 */
  .header__menu .list-menu__item {
    margin: 0 5px !important;
  }
  
  .header__menu .list-menu__item a {
    color: white !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
  }
  
  .header__menu .list-menu__item a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }

  /* 4. 右侧功能区（搜索/账户/购物车）细胞级修补 */
  .header__icons {
    gap: 15px !important;
  }
  
  /* 搜索图标 */
  .header__search .modal__toggle,
  /* 账户图标 */
  .header__icon--account,
  /* 购物车图标 */
  .header__icon--cart,
  .header__icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  /* 悬停效果差异化 */
  .header__search .modal__toggle:hover,
  .header__icon--account:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important;
  }
  
  .header__icon--cart:hover {
    background: rgba(255, 215, 0, 0.2) !important; /* 购物车金色悬停 */
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3) !important;
  }
  
  /* 购物车数量标识 */
  .cart-count-bubble {
    background: linear-gradient(135deg, #FFD700, #FFA500) !important;
    color: #2c3e50 !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    animation: pulse 2s infinite !important;
  }

  /* 5. 右上角信息区域精细化调整 */
  .header__localization,
  .header-top-info {
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding: 8px 0 !important;
  }
  
  .header__localization > * {
    margin: 0 15px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
  }
  
  /* 信息项颜色差异化 */
  .header__localization .text-caption:first-child {
    font-weight: 600 !important;
    color: #FFD700 !important; /* 免费配送-金色突出 */
  }
  
  .header__localization .text-caption:nth-child(2),
  .header__localization .text-caption:last-child {
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }
  
  .header__localization > *:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px) !important;
  }
}


/* ==========================================
   🎨 全局动画（复用+新增）
   ========================================== */
/* 购物车数量脉动动画（新增） */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* 按钮闪光动画（之前已整理，此处仅列出确保完整性） */
@keyframes shine {
  0% { left: -100%; }
  20% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}




 

@media (min-width: 769px) {
    /* 针对性消除影响三栏布局的内边距 */
    .page-width {
        padding-left: 0 !important;
        padding-right: 0 !important;
        /* 保留上下边距，只清除左右边距 */
    }
}
@media (min-width: 769px) {
    .product-three-column-layout {
        padding: 5px 0 !important;
    }
}


@media (min-width: 769px) {
    /* 核心：固定高度500px */
    .product-column-left,
    .product-column-center {
        height: 500px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* 超强力覆盖左侧图片 */
    .product-column-left {
        position: relative !important;
        flex: 2 !important;
        min-width: 0 !important;
      margin-left:15px;
    }

    .product-column-left img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        z-index: 10 !important;
        max-width: none !important;
        max-height: none !important;
    }

    /* 中栏视频设置 */
    .product-column-center {
        flex: 1.7 !important;
        min-width: 0 !important;
      
        z-index: 998 !important;
    }

    .product-column-center iframe,
    .product-column-center video {
        width: 100% !important;
        height: 100% !important;
        flex: 1 !important;
        border: none !important;
    }

    /* 右栏设置 */
    .product-info-wrapper {
        flex: 2.3 !important;
        min-width: 0 !important;
    }

    /* 精确定位各种图片选择器 */
    .product-column-left .product__media img,
    .product-column-left .media img,
    .product-column-left .product-main-image img,
    .product-column-left img[src] {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        z-index: 10 !important;
    }

    /* 确保容器配合 */
    .product-column-left .product__media,
    .product-column-left .media,
    .product-column-left .product-main-image {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }
}


@media (min-width: 769px) {
    /* 回到老版本的原始方案 */
    .product-column-center {
        height: 500px !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* 视频完全填满容器，就像图片一样 */
    .product-column-center iframe,
    .product-column-center video {
        width: 100% !important;
        height: 100% !important;
        flex: 1 !important;
        object-fit: cover !important; /* 关键：用cover填满 */
        border: none !important;
    }
}

@media (min-width: 769px) {
    /* 1. 视频容器的关键设置 */
    .product-video-container {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16/9 !important;
        background: #000 !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* 2. 确保视频容器配合 */
    .product-column-center .product-video-container {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
    }

    /* 3. 多重iframe选择器 */
    .product-column-center .product-video-container iframe,
    .product-column-center iframe[src] {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
    }

    /* 4. 强制iframe显示 */
    .product-video-container iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}



@media (min-width: 769px) {
    /* 移除视频容器背景，让视频完全铺满 */
    .product-video-container {
        width: 100% !important;
        height: 100% !important;
        background: none !important; /* 移除黑色背景 */
        border-radius: 0 !important; /* 移除圆角，让视频完全填满 */
        display: block !important; /* 改为block */
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 强制视频完全填满，像图片一样 */
    .product-video-container iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        object-fit: cover !important; /* 关键：让视频像图片一样填满 */
    }
}





@media screen and (min-width: 750px) {
    .product__info-wrapper {
        padding: 0 !important;
    }
}



@media (min-width: 769px) {
    .product-three-column-layout .product__info-wrapper {
        padding: 5px !important; /* 或者您想要的值 */
        /* 其他样式保持不变 */
        width: 100% !important;
        max-width: none !important;
        flex: 2.3 !important;
        background: #f9f9f9 !important;
        border-radius: var(--radius-lg) !important;
    }
}



@media (min-width: 769px) {
    /* 视频容器美化 */
    .product-video-container {
        width: 100% !important;
        height: 100% !important;
        border-radius: 12px !important; /* 圆角美化 */
        overflow: hidden !important; /* 确保圆角生效 */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important; /* 阴影效果 */
        position: relative !important;
        background: #000 !important; /* 黑色背景作为加载状态 */
    }

    /* 视频iframe美化 */
    .product-video-container iframe {
        width: 100% !important;
        height: 100% !important;
        border: none !important;
        border-radius: 12px !important;
        transition: transform 0.3s ease !important; /* 悬停动画 */
    }

    /* 悬停效果 */
    .product-video-container:hover iframe {
        transform: scale(1.02) !important; /* 轻微放大 */
    }

    /* 添加播放按钮遮罩效果（可选） */
    .product-video-container::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }
}







/* === 完美图片显示方案 === */
@media screen and (min-width: 769px) {
  /* 左栏容器 - 与视频同高 */
  .product-three-column-layout .product-column-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: #f8f9fa !important;
    height: 80vh !important;
    overflow: hidden !important;
  }
  
 .product-three-column-layout .product-column-left img {
    width: auto !important;
    height: 80vh !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.product-three-column-layout .product-column-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    height: 80vh !important;
}


  /* === 消除上下留白，图片居中 === */
@media screen and (min-width: 769px) {
  /* 左栏容器 - 确保完全居中 */
  .product-three-column-layout .product-column-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    height: 80vh !important;
    padding: 0 !important;
  }
  
  /* 图片 - 智能尺寸调整 */
  .product-three-column-layout .product-column-left img {
    width: 90% !important; /* 稍微缩小，留出边距 */
    height: auto !important;
    max-height: 90% !important; /* 限制最大高度 */
    object-fit: contain !important;
    object-position: center !important;
  }
}



/* 显示Judge.me评论区域 - 新增 */
#judgeme_product_reviews,
.jdgm-widget,
.jdgm-review-widget {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}


/* 针对具体文字内容 */
*:contains("No reviews"),
*:contains("reviews") {
  display: none !important;
}


/* 精准隐藏插件标题 - 一击必中 */
div[data-essential-upsell-element="title"] {
  display: none !important;
}


[id*="judge_me_reviews_preview_badge"] {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 通用版 - 匹配所有 Essential Upsell 的 frequently bought together 区块 */
[id*="essential_upsell_frequently_bought_together_app_block"] {
  margin: 0 !important;
  padding: 0 !important;
}
  
/* 简洁版 - 清除容器边距 */
div[data-essential-upsell-element="container"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
}

/* 提高优先级的版本 */
html body #shopify-block-ATzFBU25IMzRWRUFxN__essential_upsell_frequently_bought_together_app_block_fqD4Nq {
  margin-top: -10px !important;
  transform: translateY(-10px) !important;
}

/* 绿色主题协调版 */
button[data-essential-upsell-element="add-to-cart-button"] {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
}

/* 悬停效果 */
button[data-essential-upsell-element="add-to-cart-button"]:hover {
  background: linear-gradient(135deg, #218838, #1c7430) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4) !important;
}


/* 完整解决方案 - 外框 + Sale右上角定位 */
html body #price-template--19866419495128__main {
  background: white !important;
  padding: 10px 20px 10px !important;
  border-radius: 12px !important;
  margin: 8px 0 20px 0 !important;
}

html body #price-template--19866419495128__main .price.price--large {
  background: white !important;
  border: 3px solid #ffd700 !important;
  border-radius: 12px !important;
  padding: 13px !important;

  position: relative !important;
}

/* 价格布局 */
html body #price-template--19866419495128__main .price__container {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* 原价 */
html body #price-template--19866419495128__main .price__sale s.price-item--regular {
  font-size: 18px !important;
  color: #999 !important;
  text-decoration: line-through !important;
  margin-bottom: 8px !important;
}

/* 现价 */
html body #price-template--19866419495128__main .price-item--sale {
  font-size: 32px !important;
  color: #ff4444 !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 4px rgba(255, 68, 68, 0.3) !important;
  animation: priceGlow 2s ease-in-out infinite alternate !important;
}

/* Sale标签 - 右上角绝对定位 */
html body #price-template--19866419495128__main .badge.price__badge-sale {
  background: linear-gradient(135deg, #ff4444, #ff6666) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: bold !important;
  padding: 8px 15px !important;
  border-radius: 25px !important;
  position: absolute !important;
  top: 15px !important;
  right: 168px !important;
  animation: pulse 2s infinite !important;
  box-shadow: 0 3px 10px rgba(255, 68, 68, 0.4) !important;
  z-index: 10 !important;
}

/* 动画效果 */
@keyframes priceGlow {
  0% { 
    color: #ff4444 !important;
    text-shadow: 0 2px 4px rgba(255, 68, 68, 0.3) !important;
  }
  100% { 
    color: #ff2222 !important;
    text-shadow: 0 2px 8px rgba(255, 34, 34, 0.5) !important;
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}







  /* 库存紧迫感 - 红色警告 */
.urgency-item--stock {
  background: linear-gradient(135deg, #ff4444, #ff6666) !important;
  color: white !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  margin: 10px 0 !important;
  box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3) !important;
  animation: stockPulse 2s infinite !important;
  border: 2px solid #ff2222 !important;
}

.urgency-item--stock .urgency-item__title {
  font-weight: bold !important;
  font-size: 16px !important;
  color: white !important;
}

.urgency-item--stock .urgency-item__subtitle {
  font-size: 14px !important;
  color: rgba(255,255,255,0.9) !important;
}

/* 限时优惠 - 橙色渐变 */
.urgency-item--offer {
  background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
  color: white !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  margin: 10px 0 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3) !important;
  animation: stockPulse 5s infinite !important;
}

.urgency-item--offer .urgency-item__title {
  font-weight: bold !important;
  font-size: 16px !important;
  color: white !important;
}

.urgency-item--offer .urgency-item__subtitle {
  font-size: 14px !important;
  color: rgba(255,255,255,0.9) !important;
}

/* 社会证明 - 绿色信任感 */
.urgency-item--activity {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  padding: 15px 20px !important;
  border-radius: 10px !important;
  margin: 10px 0 !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
  animation: activityPulse 4s infinite !important;
}

.urgency-item--activity .urgency-item__title {
  font-weight: bold !important;
  font-size: 16px !important;
  color: white !important;
}

.urgency-item--activity .urgency-item__subtitle {
  font-size: 14px !important;
  color: rgba(255,255,255,0.9) !important;
}

/* 图标样式 */
.urgency-item__icon {
  font-size: 20px !important;
  margin-right: 10px !important;
}

/* 动画效果 */
@keyframes stockPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes offerGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5); }
}

@keyframes activityPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .urgency-item--stock,
  .urgency-item--offer,
  .urgency-item--activity {
    padding: 12px 15px !important;
  }
  
  .urgency-item__title {
    font-size: 14px !important;
  }
  
  .urgency-item__subtitle {
    font-size: 12px !important;
  }
}



/* 测试1：简单雕刻线装饰 */
.urgency-item__content {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.urgency-item__content::before,
.urgency-item__content::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent) !important;
  margin: 0 15px !important;
}

  


















/* 套餐产品卡片优化 */
.bundle-product-item {
  background: white !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 15px !important;
  margin: 8px 0 !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.bundle-product-item:hover {
  border-color: #28a745 !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* 价格区域强化 */
.bundle-price {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.bundle-current-price {
  font-size: 18px !important;
  font-weight: bold !important;
  color: #ff4444 !important;
}

.bundle-original-price {
  font-size: 14px !important;
  color: #999 !important;
  text-decoration: line-through !important;
}

/* 节省标签 */
.bundle-savings {
  background: #ff4444 !important;
  color: white !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;
  font-size: 12px !important;
  font-weight: bold !important;
}




/* 套餐产品卡片整体美化 */
[data-essential-upsell-element="product"] {
  background: white !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 15px !important;
  margin: 10px 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

[data-essential-upsell-element="product"]:hover {
  border-color: #28a745 !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.15) !important;
  transform: translateY(-3px) !important;
}

/* 产品标题美化 */
[data-essential-upsell-element="title"] {
  font-weight: 600 !important;
  color: #2c3e50 !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}

/* 价格区域美化 */
[data-essential-upsell-element="regular-price"] {
  color: #999 !important;
  text-decoration: line-through !important;
  font-size: 14px !important;
  margin-right: 8px !important;
}

[data-essential-upsell-element="discounted-price"] {
  color: #ff4444 !important;
  font-weight: bold !important;
  font-size: 16px !important;
}

/* 图片容器美化 */
[data-essential-upsell-element="image-container"] {
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-right: 12px !important;
}

/* 复选框美化 */
[data-essential-upsell-element="product"] input[type="checkbox"] {
  transform: scale(1.2) !important;
  margin-right: 10px !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
  [data-essential-upsell-element="product"] {
    padding: 12px !important;
  }
  
  [data-essential-upsell-element="title"] {
    font-size: 14px !important;
  }
}



/* ========== PC端数量选择器白色背景框 ========== */
.product-form__quantity,
.quantity-wrapper {
  background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  position: relative !important;
}

/* 如果上面的选择器不生效，用更通用的 */
.quantity,
.product-form__input--quantity,
.quantity-selector {
  background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 18px !important;
  margin: 20px 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  position: relative !important;
  
  /* 内部数量选择器样式调整 */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  max-width: none !important;
  min-width: auto !important;
}

/* 内部的数量选择器重新调整 */
.quantity .quantity__input,
.quantity .quantity__button {
  margin: 0 2px !important;
}

/* 数量输入框保持原样 */
.quantity__input {
  border: 2px solid #28a745 !important;
  border-radius: 6px !important;
  background: white !important;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  width: 50px !important;
  height: 35px !important;
  outline: none !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}

/* 数量选择器按钮保持原样 */
.quantity__button {
  background: #28a745 !important;
  color: white !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: bold !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  height: 35px !important;
  min-width: 35px !important;
  flex-shrink: 0 !important;
}

.quantity__button:hover {
  background: #20c997 !important;
}

/* ========== 其他样式保持不变 ========== */
.product-form__submit.button,
button[name="add"] {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: white !important;
  font-size: 18px !important;
  font-weight: bold !important;
  padding: 20px 30px !important;
  border-radius: 12px !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 15px !important;
  width: 100% !important;
}

.product-form__submit.button:hover,
button[name="add"]:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
  background: linear-gradient(135deg, #20c997, #17a2b8) !important;
}

.shopify-payment-button,
[data-shopify="payment-button"] {
  margin-top: 15px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
  width: 100% !important;
}

.product-form__buttons {
  background: linear-gradient(135deg, #f8f9fa, #ffffff) !important;
  padding: 25px 20px !important;
  border-radius: 15px !important;
  border: 2px solid #e9ecef !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  position: relative !important;
  text-align: center !important;
  margin: 20px 0 !important;
}

.product-form__buttons::before {
  content: '🔥 限时优惠 - 立即抢购!' !important;
  position: absolute !important;
  top: -12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #ff4444 !important;
  color: white !important;
  padding: 6px 15px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: bold !important;
  animation: urgentBlink 2s infinite !important;
}

@keyframes urgentBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.product-form__buttons::after {
  content: '🛡️ 安全支付 | 💯 品质保证 | 🚚 快速发货' !important;
  display: block !important;
  text-align: center !important;
  margin-top: 15px !important;
  font-size: 12px !important;
  color: #666 !important;
  border-top: 1px solid #eee !important;
  padding-top: 10px !important;
}

/* ========== 移动端保持原有样式 ========== */
@media (max-width: 768px) {
  .product-form__quantity {
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 18px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
  }
}




