/* 全局主体背景黑色，文字白色 —— 不影响轮播banner */
body {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* 主体内容容器 */
.wrapper,
.container,
.content,
.main,
.section,
#main,
#content {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* 产品、新闻模块区块 */
.block,
.module,
.list-box,
.info-box,
.text-box {
    background-color: #111111 !important;
}

/* 页脚区域 */
.footer,
.foot,
.copyright,
.bottom,
.friendlink,
.links {
    background-color: #111111 !important;
}
.footer *,
.foot *,
.copyright *,
.bottom *,
.friendlink *,
.links * {
    color: #fff !important;
}

/* 导航红条保持红色不变，导航文字加大加粗白色 */
.navbar-default {
    background-color: #c8102e !important;
    border: none !important;
}
.navbar-default .nav > li > a {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.navbar-default .nav > li > a.active,
.navbar-default .nav > li > a:hover {
    color: #ffffff !important;
    background-color: rgba(0,0,0,0.15) !important;
}

/* 下拉菜单 */
.dropdown-menu {
    background:#111 !important;
}
.dropdown-menu > li > a {
    color: #ffffff !important;
    font-weight:600;
}
.dropdown-menu > li > a:hover {
    color: #c8102e !important;
    background:#222 !important;
}

/* 标题全部白色加粗 */
h1, h2, h3, h4, h5, h6,
.title,
.page-title,
.block-title {
    color: #ffffff !important;
    font-weight: 1200 !important;
    letter-spacing: 5px;
}

/* 普通正文文字 */
p, span, div, li, label, input, textarea, select {
    color: #ffffff !important;
}

/* 表单输入框样式 */
input, textarea, select {
    background-color: #222222 !important;
    border: 1px solid #444 !important;
    color: #fff !important;
}

/* 链接hover红色 */
a:hover {
    color:#c8102e !important;
}
/* 捕获页面最底部所有直接子级容器，解决白条 */
body > div:last-of-type {
    background-color: #111111 !important;
}
body > div:last-of-type * {
    color:#fff !important;
}
/* 菜品卡片外层容器：清除白色边框 */
.product_img {
    border: none !important;
    outline: none !important;
}
/* 卡片内图片清除边框 */
.product_img img {
    border: 0 !important;
    box-shadow: none !important;
}
/* 菜品下方标题文字：白色、加大加粗 */
.product_img p,
.product_img a {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}
/* 仅页脚区域样式，不会影响上方任何区块 */
footer {
    background-color: #111111 !important;
}
footer .container,
footer .row {
    background-color: #111111 !important;
}
footer p,
footer span,
footer div,
footer a {
    color: #ffffff !important;
}
/* ========== 友情链接栏 ========== */
.tags_box {
    background-color: #111111 !important;
}
.tags_box span,
.tags_box a {
    color: #ffffff !important;
}

/* ========== footer最底部版权行 ========== */
footer.hidden-xs {
    background-color: #111111 !important;
}
footer.hidden-xs > div:last-of-type,
footer.hidden-xs > p:last-of-type {
    background-color: #111111 !important;
}
footer.hidden-xs > div:last-of-type a,
footer.hidden-xs > div:last-of-type {
    color:#fff !important;
}
/* 红色搜索按钮底块整体上移 */
#search_submit {
    position: relative;
    top: 1px !important;
}
/* 面包屑导航文字（当前位置） */
.breadcrumb a,
.breadcrumb span {
    color:#fff !important;
}
/* 右侧文章列表标题 */
.list-right li a {
    color:#ffffff !important;
}
/* 左侧栏目分类文字 */
.list-left li a {
    color:#ffffff !important;
}
/* 文章列表虚线分隔线改成浅灰，不要纯白刺眼 */
.list-right li {
    border-bottom:1px dashed #444 !important;
}

/* 手机端菜品展示等比缩放（适配你模板 product_img） */
@media(max-width:767px){
    .product_list{
        width:100% !important;
        padding:0 10px !important;
    }
    .product_img{
        width:100% !important;
        float:none !important;
        margin-bottom:15px !important;
    }
    .product_img img{
        width:100% !important;
        height:auto !important;
        object-fit:cover;
    }
    .product_img h3{
        font-size:16px !important;
        text-align:center;
    }
}
/* 手机端菜品展示等比缩放，保持网页版式比例 */
@media(max-width:767px){
    /* 菜品模块整体容器自适应 */
    .product-section,
    .product-list,
    .product-item {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* 菜品图片等比缩放，不拉伸不变形 */
    .product-item img,
    .product-list img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    /* 菜品标题和说明文字随屏幕缩小 */
    .product-item h3,
    .product-item p,
    .product-title,
    .product-desc {
        font-size: 0.85em !important;
        line-height: 1.4 !important;
        padding: 5px 8px !important;
        margin: 5px 0 !important;
    }
    /* 手机端单列展示，保持间距 */
    .product-list {
        display: flex;
        flex-direction: column;
        gap: 10px !important;
        padding: 10px !important;
    }
    /* 如果是网格布局，改成手机端单列 */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media(max-width:767px){
    .product_list{
        max-width:92% !important;
        margin:0 auto !important;
        padding:0 !important;
    }
    .product_img{
        width:100% !important;
        float:none !important;
        margin:0 auto 16px auto !important;
    }
    .product_img img{
        width:100% !important;
        height:auto !important;
        object-fit:cover;
    }
    .product_img h3{
        font-size:16px !important;
        text-align:center;
        margin:8px 0;
    }
}
/* 底部版权区域：黑色背景，文字中灰色#999 */
.copy {
    background-color: #000000 !important;
    color: #999999 !important;
}
/* 底部区域里面链接文字也改成灰色 */
.copy a {
    color: #999999 !important;
}
/* 手机底部固定导航栏 深灰底色 */
.mfoot_box {
    background-color: #333333 !important;
}
/* 链接文字 */
.mfoot_box .mfoot_nav a,
.mfoot_box a#gototop {
    color: #cccccc !important;
}
/* glyphicon图标 */
.mfoot_box .glyphicon:before {
    color: #cccccc !important;
}
/* 分类按钮 */
.mfoot_box #foot_btn {
    color: #cccccc !important;
}
/* 点击按压状态统一 */
.mfoot_box .mfoot_nav a:active,
.mfoot_box a#gototop:active,
.mfoot_box #foot_btn:active {
    color: #eeeeee !important;
    background-color: #444444 !important;
}
/* 关于我们红色区块 文字全部居中优化 */
.about-text-block {
    font-size: 5px !important;
    line-height: 1.9 !important;
    color: #ffffff !important;
    text-align: center !important; /* 核心：全部居中 */
    padding: 30px 20px !important; /* 左右留白，文字不贴手机边缘 */
}
.about-text-block p {
    margin: 0 0 2px 0 !important; /* 段落上下间距 */
}
.about-text-block p:last-child {
    margin-bottom:0 !important;
}
/* 底部品牌大标题单独放大 */
.about-text-block .brand-title {
    font-size: 2px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin-top:2px !important;
}