/** Shopify CDN: Minification failed

Line 46:12 Expected ":"
Line 96:0 Unexpected "{"

**/
/* ==========================================================================
   Assets / mt-minimog-category-hero
   ========================================================================== */

.mt-theme-section {
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* 1. PC端：最大宽度调整为 1440px */
.mt-theme-section__inner {
  max-width: 1920px; 
  margin: 0 auto;
  padding: 0 20px;
}

.mt-theme-main-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #000;
}

/* 2. PC端：网格容器，允许换行 */
.mt-theme-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* 超出自动换到第二行 */
  justify-content: center; /* 【核心修改】卡片不足6个时，或者第二行的余数，都会整体居中！ */
}

/* 3. PC端：每个卡片占比 (一行 6 个) */
.mt-theme-card {
  /* 公式：100% / 6 = 16.666%，减去 24px 间距的平摊值 (24 * 5 / 6 = 20) */
  flex: 0 0 calc(16.666% - 20px); 
  display: flex;
  flex-direction: column;
  gap：20px,20px;
  align-items: center; /* 居中对齐所有元素 */
  text-align: center; /* 文本强制居中 */
}

/* =========================================
   六边形图片容器
   ========================================= */
.mt-theme-card__hexagon {
  --hex-size: 360px;

  width: var(--hex-size);
  height: var(--hex-size);

  clip-path: polygon(
    25% 0%, 
    75% 0%, 
    100% 50%, 
    75% 100%, 
    25% 100%, 
    0% 50%
  );

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  margin: 0 auto 40px;
  
  background-color: #f5f5f5;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.minimog-category-hero__desc {
  font-size: 18px;
  color: #777;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.mt-theme-card__hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

{
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.mt-theme-card:hover .mt-theme-card__hexagon img {
  transform: scale(1.08);
}

/* =========================================
   文字描述与双链接样式 
   ========================================= */
.mt-theme-card__title {
  font-size: 18px; 
  font-weight: 700;
  color: #111;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.mt-theme-card__desc {
  font-size: 14px; 
  color: #333;
  line-height: 1.5;
  margin: 0 0 20px 0;
  flex-grow: 1;
  width: 100%;
}

.mt-theme-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px; 
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mt-theme-card__link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.mt-theme-card__link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.mt-theme-card__icon {
  width: 10px;
  height: 10px;
  margin-left: 4px;
  margin-top: 2px;
}

/* ==========================================================================
   响应式：平板端 (一行展示 3 个或 4 个会更好看，避免太挤)
   ========================================================================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .mt-theme-card {
    flex: 0 0 calc(33.333% - 16px); /* 平板上一行 3 个 */
  }
}

/* ==========================================================================
   响应式：移动端 (强制一行横向滑动)
   ========================================================================== */
@media (max-width: 768px) {
  .mt-theme-section__inner {
    padding: 0 16px;
  }
  
  .mt-theme-main-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
  
  .mt-theme-list {
    flex-wrap: nowrap; /* 移动端禁止换行 */
    overflow-x: auto;  /* 开启横向滚动 */
    gap: 16px; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none;
    justify-content: flex-start; /* 【核心修改】移动端必须重置为靠左，否则居中会导致横向滑动吃掉左侧的内容 */
  }
  
  .mt-theme-list::-webkit-scrollbar {
    display: none;
  }
  
  .mt-theme-card {
    flex: 0 0 75%; /* 手机端每个卡片占屏幕宽度的 75%，右侧露出一小部分提示滑动 */
    scroll-snap-align: start;
  }

  .mt-theme-card__hexagon {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
  }
  
  .mt-theme-card__title {
    font-size: 20px;
  }
  
  .mt-theme-card__desc {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .mt-theme-card__links {
    gap: 16px;
  }
}