/** Shopify CDN: Minification failed

Line 26:16 Unexpected "{"
Line 26:25 Expected ":"

**/
/* Health Weight Section Styles */

/* 组件专用样式 - 使用特定的命名空间避免冲突 */
.health-weight-section {
    /* 继承主题的字体设置，不指定具体字体 */
    font-family: var(--font-body-family, inherit);
    background-color: #ffffff;
    color: var(--text-color, #333333); /* 使用主题的文字颜色变量 */
    line-height: 1.6;
    position: relative;
    padding: 60px 0;
}

/* 重置组件内部元素样式 */
.health-weight-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#health-weight-{{ section.id }} .hw-main-title{
  max-width: 886px;     /* 或者 680px，看喜好 */
  margin-inline: auto; /* 居中 */
}

/* 容器 */
.health-weight-section .hw-container {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 var(--page-width-padding, 20px);
}

/* 如果使用Shopify的page-width类，确保兼容 */
.health-weight-section .hw-container.page-width {
    max-width: var(--page-width);
    padding-left: 10px;
    padding-right: 10px;
}


/* 装饰性圆形（移动端） */
.health-weight-section .hw-decoration-circle {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #2d5a3d;
    border-radius: 50%;
    display: none;
}

/* 头部区域 */
.health-weight-section .hw-header {
    text-align: center;
    margin-bottom: 60px;
}

.health-weight-section .hw-main-title {
    /* 继承主题的标题字体 */
    font-family: var(--font-heading-family, inherit);
    /* font-size 和 color 通过liquid动态设置 */
    font-weight: var(--font-heading-weight, 400);
    line-height: 1.2;
    margin-bottom: 10px;
}

.health-weight-section .hw-subtitle {
    /* 继承主题的标题字体 */
    font-family: var(--font-heading-family, inherit);
    /* font-size 和 color 通过liquid动态设置 */
    font-weight: var(--font-heading-weight, 400);
    margin-bottom: 5px;
}

.health-weight-section .hw-emphasized-text {
    /* 继承主题的标题字体 */
    font-family: var(--font-heading-family, inherit);
    /* font-size 和 color 通过liquid动态设置 */
    font-style: italic;
    display: block;
}

/* 卡片网格布局 */
.health-weight-section .hw-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 371.5px);
    gap: 0;
    margin-top: 60px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    height: 743px;
}

/* 卡片样式 */
.health-weight-section .hw-card {
    padding: 30px;
    transition: all 0.3s ease;
    cursor: default;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    margin: -1px 0 0 -1px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
}

.health-weight-section .hw-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #d0d0d0;
    position: relative;
    z-index: 1;
}

.health-weight-section .hw-card-title {
    /* font-size 和 color 通过liquid动态设置 */
    font-weight: 500;
    margin-bottom: 20px;
    font-style: normal;
    line-height: normal;
}

.health-weight-section .hw-card-description {
    /* font-size 和 color 通过liquid动态设置 */
    line-height: 1.8;
    overflow-y: auto;
    flex: 1;
    display: flex;
    align-items: center;
     font-weight: 400;
     line-height: 28px; /* 175% */
     font-style: normal;
}

/* 滚动条样式 */
.health-weight-section .hw-card-description::-webkit-scrollbar {
    width: 4px;
}

.health-weight-section .hw-card-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.health-weight-section .hw-card-description::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.health-weight-section .hw-card-description::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 平板端响应式 */
@media (max-width: 1024px) {
    .health-weight-section {
        padding: 40px 0;
    }
    
    .health-weight-section .hw-container {
        padding: 0 var(--page-width-padding, 30px);
    }
    
    /* 字体大小通过liquid动态设置 */
    
    .health-weight-section .hw-cards-grid {
        height: 743px;
    }
    
    .health-weight-section .hw-card {
        padding: 25px;
    }
    
    .health-weight-section .hw-card-title {
        margin-bottom: 18px;
    }
    
    .health-weight-section .hw-card-description {
        line-height: 1.7;
    }
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .health-weight-section {
        padding: 30px 0;
    }
    
    .health-weight-section .hw-container {
        padding: 0 var(--page-width-padding, 20px);
    }
    
    .health-weight-section .hw-decoration-circle {
        display: block;
    }
    
    .health-weight-section .hw-header {
        margin-bottom: 40px;
    }
    
    .health-weight-section .hw-main-title {
        margin-bottom: 8px;
    }
    
    .health-weight-section .hw-subtitle {
        margin-bottom: 4px;
    }
    
    /* 字体大小通过liquid动态设置 */
    
    /* 移动端2列3行布局 */
    .health-weight-section .hw-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 247.67px);
        gap: 0;
        margin-top: 40px;
        height: 743px;
    }
    
    .health-weight-section .hw-card {
        padding: 20px;
        height: 100%;
    }
    
    .health-weight-section .hw-card-title {
        margin-bottom: 15px;
    }
    
    .health-weight-section .hw-card-description {
        line-height: 1.6;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    /* 字体大小通过liquid动态设置 */
    
    .health-weight-section .hw-card {
        padding: 15px;
    }
    
    .health-weight-section .hw-card-title {
        margin-bottom: 12px;
    }
    
    .health-weight-section .hw-card-description {
        line-height: 1.5;
    }
    hw-card-title{
        font-size:20px;
    }
}

/* Shopify编辑器样式 */
.shopify-section--health-weight-management {
    position: relative;
}
