
  /* 页面大包裹框：定制浅泥灰背景，营造自然柔和的高级感 */
  .custom-collection-page-wrapper {
    background-color:#FAF8F5; 
    padding: 60px 0 100px 0;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }

  .custom-collection-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
  }

  /* 顶层标题：森林深绿 */
  .custom-collection-title {
    color: #256643;
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
  }

  /* 副标题：鼠尾草灰绿 */
  .custom-collection-subtitle {
    color: #6E8275;
    font-size: 16px;
    text-align: center;
    margin: 0 0 50px 0;
  }

  /* 3列标准网格 */
  .custom-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 35px;
  }

  /* 单张产品卡片：暖白圆角，更柔和的阴影 */
  .custom-prod-card {
    background: #ffffff; 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 102, 67, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(227, 237, 230, 0.5);
  }

  .custom-prod-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(37, 102, 67, 0.08);
  }

  /* 1:1 正方形图片盒子 */
  .prod-img-box {
    width: 100%;
    padding-top: 100%; 
    position: relative;
    background-color: #ffffff;
  }

  .prod-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    padding: 24px;
    box-sizing: border-box;
  }

  /* 文字和按钮区域 */
  .prod-details-box {
    padding: 24px 24px 30px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
  }

  /* 产品名：使用暖炭灰，克制高级 */
  .prod-card-name {
    color: #454343;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 价格：品牌森林绿 */
  .prod-card-price {
    color: #256643; 
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px 0;
  }

  /* 主行动按钮：森林绿背景，悬停深绿 */
  .prod-action-btn {
    background-color: #256643; 
    color: #FAF8F5 !important;
    text-decoration: none !important;
    padding: 13px 0;
    width: 100%;
    font-weight: 700;
    font-size: 15px;
    border-radius: 12px;
    display: block;
    box-shadow: 0 4px 15px rgba(37, 102, 67, 0.15);
    transition: background-color 0.2s, box-shadow 0.2s;
  }

  .prod-action-btn:hover {
    background-color: #1B4C32;
    box-shadow: 0 6px 20px rgba(27, 76, 50, 0.2);
  }

  /* --------------------------------------------------------------------------
     磁力块多 SKU 变体选择器控制区样式
     -------------------------------------------------------------------------- */
  .magnetic-variant-selector {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    flex-wrap: wrap; 
  }

  /* 未激活变体按钮：灰色文字，浅绿细边框 */
  .mag-sku-btn {
    background-color: #ffffff;
    color: #6E8275; 
    border: 2px solid #E3EDE6;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  /* 悬浮与激活选中状态：突变为品牌森林绿 */
  .mag-sku-btn.active, .mag-sku-btn:hover {
    background-color: #256643; 
    color: #FAF8F5;
    border-color: #256643;
    box-shadow: 0 4px 10px rgba(37, 102, 67, 0.15);
  }

  /* --------------------------------------------------------------------------
     移动端自适应适配（双列排布）
     -------------------------------------------------------------------------- */
  @media (max-width: 992px) {
    .custom-products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .custom-collection-title { font-size: 32px; }
  }

  @media (max-width: 576px) {
    .custom-collection-page-wrapper { padding: 40px 0 60px 0; }
    .custom-collection-container { padding: 0 15px; }
    .custom-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } 
    .prod-img-box img { padding: 12px; }
    .prod-details-box { padding: 15px 10px 20px 10px; }
    .prod-card-name { font-size: 14px; min-height: 40px; margin-bottom: 8px; }
    .prod-card-price { font-size: 17px; margin-bottom: 12px; }
    .magnetic-variant-selector { gap: 5px; margin-bottom: 15px; }
    .mag-sku-btn { padding: 4px 10px; font-size: 11px; border-radius: 6px; }
    .prod-action-btn { padding: 10px 0; font-size: 13px; border-radius: 8px; }
  }
