/** Shopify CDN: Minification failed

Line 184:38 Unexpected "{"
Line 184:47 Expected ":"
Line 185:14 Expected identifier but found whitespace
Line 185:16 Unexpected "{"
Line 185:25 Expected ":"
Line 185:51 Expected ":"
Line 186:17 Expected identifier but found whitespace
Line 186:19 Unexpected "{"
Line 186:28 Expected ":"
Line 186:57 Expected ":"

**/


/* CSS from section stylesheet tags */
/* --- 通用基础样式 --- */
.custom-grid__item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.custom-grid__image {
  overflow: hidden;
  position: relative;
  display: flex; 
  align-items: center; 
  justify-content: center;
}
.custom-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: var(--object-fit, contain);
  display: block;
}
.custom-grid__content {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.custom-grid__content h3 { margin: 0 0.5rem 0.5rem; }
.custom-grid__content p { margin: 0; line-height: 1.4; }
.custom-grid__image .desktop-img { display: block; }
.custom-grid__image .mobile-img { display: none; }

/* --- 桌面端布局 --- */
@media (min-width: 769px) {
  .custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr; /* 关键：保证行高统一 */
    gap: 20px;
  }
  .custom-grid__item:nth-child(1) { grid-column: 1 / 3; }

  /* 小模块：正方形比例 */
  .custom-grid__item:not(:first-child) .custom-grid__image {
    aspect-ratio: 1 / 1;
  }

  /* 第一块大模块：横跨两列，用 2:1 比例 */
  .custom-grid__item:first-child .custom-grid__image {
    aspect-ratio: 2 / 1;
  }

  .custom-grid__image {
    padding: 1.25rem;
  }
  
  .custom-grid__content {
    padding: 0 1.25rem 1.25rem;
  }

  .custom-grid__content h3 {
    font-size: var(--desktop-font-size);
    height: 2.5rem; /* 固定标题高度 */
    display: flex;
    align-items: center;
    justify-content: var(--align-items, center);
  }
  .custom-grid__content p {
    font-size: 0.875rem;
    color: #555;
    height: 3rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }
  .custom-grid__content p::-webkit-scrollbar { width: 4px; }
  .custom-grid__content p::-webkit-scrollbar-track { background: transparent; }
  .custom-grid__content p::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 4px; }
}

/* --- 手机版布局 --- */
@media (max-width: 768px) {
  .custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 0.75rem;
  }
  .custom-grid__item,
  .custom-grid__item:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .custom-grid__item:first-child { grid-column: span 2 !important; }
  .custom-grid__image {
    padding: 0.625rem;
    aspect-ratio: 1 / 1;
  }
  .custom-grid__item:first-child .custom-grid__image { aspect-ratio: 16 / 9; }
  .custom-grid__content {
    padding: 0 0.625rem 0.625rem;
  }
  .custom-grid__content h3 {
    font-size: var(--mobile-font-size) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .custom-grid__content p {
    font-size: 0.75rem;
    color: #555;
    max-height: 3.25rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
  }
  .custom-grid__content p::-webkit-scrollbar { width: 4px; }
  .custom-grid__content p::-webkit-scrollbar-track { background: transparent; }
  .custom-grid__content p::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 4px; }
  .custom-grid__image .desktop-img { display: none; }
  .custom-grid__image .mobile-img { display: block; }
}
.footer-top {
  padding: 40px 0;
}
.footer-top__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-top__left {
  flex: 1 1 250px;
}
.footer-top__right {
  display: flex;
  flex: 2 1 500px;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-menu h4 {
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li {
  margin-bottom: 8px;
}
.footer-contact {
  margin: 6px 0;
}
.footer-social a {
  margin-right: 12px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .footer-top__grid {
    flex-direction: column;
  }
  .footer-top__right {
    flex-direction: column;
    gap: 20px;
  }
}
.video-with-products-section.section-{{ section.id }}-padding {
  padding-top: {{ section.settings.padding_top }}px;
  padding-bottom: {{ section.settings.padding_bottom }}px;
}

.video-with-products-section .title-wrapper-with-link {
  margin-bottom: 1.5rem;
}

.video-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media screen and (min-width: 750px) {
  .video-products-grid {
    grid-template-columns: 7fr 3fr;
    gap: 3rem;
    align-items: stretch; /* 保持 stretch，让左右两列强制等高 */
  }
}

.video-products-grid__video-wrapper,
.video-products-grid__products-wrapper {
  display: flex;
  flex-direction: column;
}

.video-container {
  width: 100%;
  overflow: hidden;
  border-radius: var(--media-border-radius);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
}

.video-products-grid__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.video-placeholder {
  width: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(var(--color-foreground), 0.04);
  border: 1px dashed rgba(var(--color-foreground), 0.1);
  border-radius: var(--media-border-radius);
}

.video-products-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 移动端两列 */
  gap: 1.5rem;
}

/* --- 桌面端样式覆盖 --- */
@media screen and (min-width: 750px) {
  .video-products-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 2rem;
  }
  
  .video-products-list__item {
    flex: 1 1 0; /* 让产品项平分高度 */
    display: flex;
    flex-direction: column;
    min-height: 0; /* 关键！允许 flex item 收缩 */
  }
  
  .video-products-list__item .card-wrapper,
  .video-products-list__item .card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* 核心修正：强制覆盖产品卡片内部样式 */
  .video-products-list__item .card__inner {
    flex-grow: 1; /* 让图片容器占据所有可用垂直空间 */
    padding-bottom: 0 !important; /* 强制移除用于维持宽高比的 padding */
    min-height: 0; /* 允许自身收缩 */
  }

  .video-products-list__item .card__media {
    height: 100%; /* 媒体区域撑满其容器 */
  }
  
  .video-products-list__item .card__media .media,
  .video-products-list__item .card__media .media img {
    height: 100%;
    width: 100%;
    object-fit: contain; /* 保证图片自适应，不变形 */
  }

  .video-products-list__item .card__content {
    flex-shrink: 0; /* 不允许文字内容区域被压缩 */
  }
}