/* food.css - 食品行业地坪解决方案页面样式 */

/* 整体容器 */
.food_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    box-sizing: border-box;
    background: #fff;
}
.e_breadcrumb-127 {
    padding: 20px 0;
}

.e_breadcrumb-127 .p_breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    color: #666;
}
.e_breadcrumb-127 .p_breadcrumb li {
    display: inline;
}

.e_breadcrumb-127 .p_breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.e_breadcrumb-127 .p_breadcrumb a:hover {
    color: #FFA400;
}

.e_breadcrumb-127 .p_breadcrumb .active_a {
    color: #333;
}
/* 顶部 Banner 大图 */
.food_banner {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 480px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

.food_banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.food_banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.food_banner_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    color: #fff;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 主标题 */
.food_main_title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 6px;
    line-height: 1.4;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.food_main_title::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #0a9902, #087a01);
    margin: 24px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(10, 153, 2, 0.4);
}

/* 面包屑下方容器边距 */
.food_content {
    margin-top: 30px;
}

.food_subtitle {
    text-align: left;
    font-size: 16px;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 36px;
    line-height: 1.8;
    margin-left: auto;
    margin-right: auto;
}

/* 筛选条件区 */
.food_filter {
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    margin-bottom: 40px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.food_filter_title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 28px;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 16px;
}

.food_filter_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0a9902, #087a01);
    border-radius: 2px;
}

.food_filter_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    font-size: 15px;
    color: #555;
}

.food_filter_item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #fafafa;
    border-radius: 10px;
    line-height: 1.7;
    position: relative;
    transition: all 0.3s ease;
}

.food_filter_item:hover {
    background: #f0f9f0;
    box-shadow: 0 2px 8px rgba(10, 153, 2, 0.08);
}

.food_filter_item::before {
    content: attr(data-num);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0a9902 0%, #087a01 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 153, 2, 0.3);
}

.food_filter_item strong {
    color: #0a9902;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

/* 章节大区 */
.food_section {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
}

/* 章节头部 - 大图+右侧卡片布局 */
.food_section_head_wrap {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
    border-radius: 16px 16px 0px 0px;
}

.food_section_bgimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.food_section_head {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 32px 36px;
    width: 450px;
    max-width: calc(100% - 80px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.food_section_title {
    font-size: 26px;
    font-weight: 800;
    color: #0a9902;
    margin-bottom: 16px;
    letter-spacing: 1px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 14px;
}

.food_section_title::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #0a9902;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.39-1.08-.7-1.66-.94l-.38-2.65c-.03-.24-.24-.42-.48-.42h-4c-.24 0-.45.18-.48.42l-.38 2.65c-.58.24-1.14.55-1.66.94l-2.49-1c-.22-.08-.49 0-.61.22l-2 3.46c-.12.22-.07.49.12.64l2.11 1.65c-.04.32-.07.64-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.39 1.08.7 1.66.94l.38 2.65c.03.24.24.42.48.42h4c.24 0 .45-.18.48-.42l.38-2.65c.58-.24 1.14-.55 1.66-.94l2.49 1c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-7.43 2.52c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.39-1.08-.7-1.66-.94l-.38-2.65c-.03-.24-.24-.42-.48-.42h-4c-.24 0-.45.18-.48.42l-.38 2.65c-.58.24-1.14.55-1.66.94l-2.49-1c-.22-.08-.49 0-.61.22l-2 3.46c-.12.22-.07.49.12.64l2.11 1.65c-.04.32-.07.64-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.39 1.08.7 1.66.94l.38 2.65c.03.24.24.42.48.42h4c.24 0 .45-.18.48-.42l.38-2.65c.58-.24 1.14-.55 1.66-.94l2.49 1c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-7.43 2.52c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/></svg>") no-repeat center / contain;
    flex-shrink: 0;
}

.food_section_title small {
    display: none;
}

.food_section_intro {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.food_section_intro b {
    color: #0a9902;
    font-weight: 700;
}

.food_section_recommend {
    display: inline-block;
    color: #0a9902;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    padding-bottom: 4px;
    border-bottom: 2px solid #0a9902;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.food_section_recommend:hover {
    color: #087a01;
    border-color: #087a01;
    text-shadow: 0 0 8px rgba(10, 153, 2, 0.3);
}

/* 系统推荐卡片 */
.food_system_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: whitesmoke;
    padding: 10px;
}

.food_system_list .food_system_list_title {
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    border-left: 4px solid #0a9902;
    margin-bottom: 8px;
}

.food_system_card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.food_system_card:hover {
    box-shadow: 0 8px 28px rgba(10, 153, 2, 0.12);
    transform: translateY(-4px);
}

.food_system_img {
    width: 100%;
    height: 160px;
    border-radius: 0;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
}

.food_system_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.food_system_info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.food_system_name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
}

.food_system_name .tag {
    display: inline-block;
    background: #0a9902;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
    font-weight: 500;
    letter-spacing: 0;
}

.food_system_features {
    color: #666;
    line-height: 1.7;
    font-size: 13px;
    margin-bottom: 12px;
    flex: 1;
}

.food_system_features li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 2px;
}

.food_system_features li::before {
    content: "•";
    color: #0a9902;
    position: absolute;
    left: 2px;
    top: 0;
    font-weight: 700;
}

.food_system_features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.food_system_btn {
    display: block;
    background: linear-gradient(135deg, #0a9902 0%, #087a01 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(10, 153, 2, 0.3);
}

.food_system_btn:hover {
    background: linear-gradient(135deg, #087a01 0%, #087a01 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 153, 2, 0.5);
}

/* 大图展示模块 */
.food_showcase {
    margin: 60px 0;
    text-align: center;
}

.food_showcase_title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
}

.food_showcase_title::after {
    content: "";
    display: block;
    width: 100%;
    height: 4px;
    background: #0a9902;
    margin: 14px auto 0;
    border-radius: 2px;
}

.food_showcase_desc {
    color: #555;
    line-height: 1.9;
    max-width: 1000px;
    margin: 0 auto 40px;
    font-size: 15px;
    text-align: left;
    background: #fff;
    padding: 24px 28px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border-left: 4px solid #0a9902;
}

.food_showcase_img {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.food_showcase_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 表单模块 */
.food_form_section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    margin: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.food_form_section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(10, 153, 2, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(10, 153, 2, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.food_form_title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a9902;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.food_form_subtitle {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.food_form_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 800px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.food_form_label {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(10, 153, 2, 0.3);
    border-radius: 6px;
    padding: 12px 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
}

.food_form_label:hover {
    background: rgba(10, 153, 2, 0.15);
    border-color: #0a9902;
}

.food_form_label input {
    margin-right: 6px;
    accent-color: #0a9902;
}

.food_form_submit {
    background: linear-gradient(135deg, #0a9902 0%, #087a01 100%);
    color: #fff;
    border: none;
    padding: 14px 60px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(10, 153, 2, 0.4);
    position: relative;
    z-index: 1;
}

.food_form_submit:hover {
    background: linear-gradient(135deg, #087a01 0%, #087a01 100%);
    box-shadow: 0 6px 22px rgba(10, 153, 2, 0.6);
    transform: translateY(-2px);
}

.food_form_phone {
    margin-top: 24px;
    color: #aaa;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.food_form_phone b {
    color: #0a9902;
    font-size: 22px;
    margin-left: 8px;
    letter-spacing: 1px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .food_banner { height: 360px; }
    .food_main_title { font-size: 30px; }
    .food_filter_grid { grid-template-columns: repeat(2, 1fr); }
    .food_system_card { flex-direction: column; }
    .food_system_img { flex: 0 0 auto; width: 100%; height: 200px; }
    .food_form_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .food_filter{padding: 10px}
    .food_filter_item{
        padding: 10px;font-size: 12px;}
    .food_wrap { padding: 20px 15px; }
    .food_system_list{ grid-template-columns:repeat(2, 1fr);}
    .food_banner { height: 260px;margin-top: 70px }
    .food_main_title { font-size: 24px; letter-spacing: 2px; }
    .food_main_title::after { width: 200px; }
    .food_section_title { font-size: 22px; }
    .food_filter_grid { grid-template-columns: 1fr; }
    .food_form_section { padding: 30px 20px; }
    .food_form_title { font-size: 20px; }
    .food_form_grid { grid-template-columns: 1fr 1fr; }
    .food_form_submit { padding: 12px 40px; font-size: 14px; }
}

@media (max-width: 480px) {
    .food_filter_item{padding: 10px}
    .food_wrap { padding: 20px 15px; }
    .food_banner { height: 260px;margin-top: 70px }
    .food_main_title { font-size: 20px; }
    .food_section_title { font-size: 18px; }
    .food_form_grid { grid-template-columns: 1fr; }
    .food_form_phone b { font-size: 18px; }
}
