
/* header: cover full viewport width (incl. scrollbar) when pc_fixed */
.header{width:100vw}

/* PC 导航新增「我们的服务」后共 8 项：1600px 以下收紧左右间距，避免与左侧 Logo / 右侧语言切换贴边 */
@media (max-width:1600px){
    .header .navbar .pc_menu .pc_menu_right>li{margin-left:1%;margin-right:1%}
}

/* gztaitang.com catalog visual language applied to hotel theme search (list) + goods (detail) pages */
:root{
    --gz-red:#541c1e;
    --gz-red-dark:#3f1416;
    --gz-green:#128348;
    --gz-title:#333333;
    --gz-body:#666666;
    --gz-muted:#999999;
    --gz-line:#dddddd;
    --gz-line-soft:#eeeeee;
}

/* ============ Product list (search) ============ */
.b2b-search-page .module-goods-grid-base ul{list-style:none;margin:0;padding:0}
.b2b-search-page .module-goods-grid-base ul>li{padding:0!important}
.b2b-search-page .module-goods-grid-base .item{
    display:block;height:100%;padding:0!important;overflow:hidden;
    background:#fff;border:1px solid #eee;border-radius:2px;
    box-shadow:none!important;transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.b2b-search-page .module-goods-grid-base .item:hover{
    border-color:rgba(84,28,30,.45);box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-3px);
}
.b2b-search-page .module-goods-grid-base .goods-info{display:block;overflow:hidden;background:#f7f7f7}
.b2b-search-page .module-goods-grid-base .goods-images{
    display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:0!important;
    transition:transform .6s cubic-bezier(.64,.02,.29,.97), filter .5s ease;filter:saturate(.96);
}
.b2b-search-page .module-goods-grid-base .item:hover .goods-images{transform:scale(1.06);filter:saturate(1)}
.b2b-search-page .module-goods-grid-base .item .goods-base-info,
.b2b-search-page .module-goods-grid-base .item .goods-info-bottom,
.b2b-search-page .module-goods-grid-base .item .info{padding:12px 14px 14px}
.b2b-search-page .module-goods-grid-base .goods-title a{color:var(--gz-title);font-size:14px;line-height:1.55;font-weight:400;transition:color .3s ease}
.b2b-search-page .module-goods-grid-base .item:hover .goods-title a{color:var(--gz-red)}
.b2b-search-page .module-goods-grid-base .price,
.b2b-search-page .module-goods-grid-base .price strong,
.b2b-search-page .module-goods-grid-base .goods-price{color:var(--gz-red);font-weight:700}
.b2b-search-page .module-goods-grid-base .price .unit{color:var(--gz-muted);font-weight:400}
.b2b-search-page .module-goods-grid-base .original-price{color:#bbb;text-decoration:line-through;font-weight:400}
/* list layout */
.b2b-search-page .module-goods-list-base .item{background:#fff;border:1px solid #eee;border-radius:2px;box-shadow:none!important}
.b2b-search-page .module-goods-list-base .item:hover{border-color:rgba(84,28,30,.45);box-shadow:0 8px 24px rgba(0,0,0,.08)!important}
.b2b-search-page .module-goods-list-base .goods-title a{color:var(--gz-title)}
.b2b-search-page .module-goods-list-base .goods-title a:hover{color:var(--gz-red)}

/* ============ Product detail (goods) ============ */
.b2b-product-detail{font-family:"Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;color:var(--gz-body)}
.b2b-product-detail .item-inform{
    display:flex;flex-wrap:wrap;align-items:flex-start;gap:4% 3%;padding:24px 0 8px;
    background:#fff;border:0;box-shadow:none;border-radius:0;
}
.b2b-product-detail .item-inform .clearfix-left{width:48%;min-width:0}
.b2b-product-detail .item-inform .clearfix-right{width:46%;min-width:0;flex:1}
.b2b-product-detail .item-inform .detail-title{color:var(--gz-title);font-size:28px;line-height:1.35;font-weight:400;margin:0 0 22px}
.b2b-product-detail .item-inform .detail-title::after{content:"";display:block;width:46px;height:2px;margin-top:14px;background:var(--gz-red)}
.b2b-product-detail .items.goods-price{color:var(--gz-red);font-size:24px;font-weight:700;line-height:1.2}
.b2b-product-detail .items.goods-price .goods-original-price{color:#bbb;font-size:14px;font-weight:400;text-decoration:line-through}
.b2b-product-detail .item-inform .goods-base-spec,
.b2b-product-detail .item-inform .goods-spec-list,
.b2b-product-detail .item-inform .items{color:var(--gz-body)}
.b2b-product-detail .item-inform .items .name{color:var(--gz-muted)}
/* gztaitang pill buttons */
.b2b-product-detail .item-inform .buy-nav,
.b2b-product-detail .item-inform .buy-bar,
.b2b-product-detail .item-inform .operate-nav{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:24px}
.b2b-product-detail .item-inform .am-btn-primary.buy-submit,
.b2b-product-detail .item-inform .am-btn-primary{
    display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:44px;
    padding:0 28px;border:1px solid var(--gz-red)!important;border-radius:22px!important;
    background:var(--gz-red)!important;color:#fff!important;font-size:14px;font-weight:400;
    box-shadow:none!important;transition:background .3s ease,border-color .3s ease;
}
.b2b-product-detail .item-inform .am-btn-primary:hover{background:var(--gz-red-dark)!important;border-color:var(--gz-red-dark)!important}
.b2b-product-detail .item-inform .am-btn-secondary.cart-submit{
    display:inline-flex;align-items:center;justify-content:center;min-width:150px;height:44px;
    padding:0 28px;border:1px solid var(--gz-red)!important;border-radius:22px!important;
    background:transparent!important;color:var(--gz-red)!important;font-size:14px;font-weight:400;
    box-shadow:none!important;transition:background .3s ease,color .3s ease;
}
.b2b-product-detail .item-inform .am-btn-secondary.cart-submit:hover{background:var(--gz-red)!important;color:#fff!important}
/* gallery */
.b2b-product-detail .clearfix-left .tb-thumb li,
.b2b-product-detail .clearfix-left .am-slider-carousel li{border:1px solid var(--gz-line)!important}
.b2b-product-detail .clearfix-left .am-slider .am-active,
.b2b-product-detail .clearfix-left .tb-thumb .am-active{border-color:var(--gz-red)!important}
.b2b-product-detail .clearfix-left img{object-fit:contain}
/* description */
.b2b-product-detail .detail-content{margin-top:28px;padding:24px 0;border-top:1px solid var(--gz-line)}
.b2b-product-detail .detail-content .detail-content-title,
.b2b-product-detail .detail-content h1,
.b2b-product-detail .detail-content h2{position:relative;color:var(--gz-title);font-size:20px;font-weight:400;padding-left:26px}
.b2b-product-detail .detail-content .detail-content-title::before,
.b2b-product-detail .detail-content h1::before,
.b2b-product-detail .detail-content h2::before{content:"";position:absolute;left:0;top:50%;width:14px;height:14px;transform:translateY(-50%);background:var(--gz-red)}
.b2b-product-detail .detail-content img{max-width:100%}

/* ============ Article list (news list) ============ */
.article-content .article-right .am-list-news-bd ul.category-content-list{margin:0;padding:0}
.article-content .article-right ul.category-content-list li.am-list-item-dated{
    display:flex;align-items:center;gap:4%;padding:20px 0 26px;margin-bottom:26px;
    border:0!important;border-bottom:1px solid var(--gz-line)!important;transition:border-color .4s ease;
}
.article-content .article-right ul.category-content-list li.am-list-item-dated:hover{border-bottom-color:var(--gz-red)!important}
.article-content .article-right .category-content-list .am-list-item-hd{
    display:flex;align-items:center;gap:4%;flex:1;min-width:0;color:inherit;
}
.article-content .article-right .category-content-list .article-cover,
.article-content .article-right .category-content-list .article-cover-describe{
    width:22%;min-width:22%;aspect-ratio:3/2;object-fit:cover;border-radius:0!important;
    transition:transform .6s cubic-bezier(.64,.02,.29,.97);
}
.article-content .article-right .category-content-list li:hover .article-cover,
.article-content .article-right .category-content-list li:hover .article-cover-describe{transform:scale(1.06)}
.article-content .article-right .category-content-list .am-list-item-hd>span,
.article-content .article-right .category-content-list .article-base-info p:first-child{
    color:var(--gz-title);font-size:18px;font-weight:400;line-height:1.5;
    overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
    transition:color .4s ease;
}
.article-content .article-right .category-content-list li:hover .am-list-item-hd>span,
.article-content .article-right .category-content-list li:hover .article-base-info p:first-child{color:var(--gz-red)}
.article-content .article-right .category-content-list .article-base-info p:last-child{color:var(--gz-muted);font-size:14px;line-height:1.7}
.article-content .article-right .category-content-list .am-list-date{color:var(--gz-muted);font-size:13px;white-space:nowrap}
/* 列表项：描述区占满封面右侧剩余宽度 */
.article-content .article-right .category-content-list .am-list-item-hd>.am-nbfc{width:100%;min-width:0}
.article-content .article-right .category-content-list .article-base-info{float:none;width:auto;min-width:0;overflow:hidden}
/* 标题行给右上角日期让位，正文保持整行宽度 */
.article-content .article-right .category-content-list .article-base-info p:first-child{padding-right:8rem}
/* 列表项：窄屏时日期下移，标题/摘要恢复整行宽度 */
@media (max-width:767px){
    .article-content .article-right ul.category-content-list li.am-list-item-dated{display:block;padding:16px 0 18px}
    .article-content .article-right .category-content-list .am-list-date{position:static;display:block;margin-top:6px;text-align:left}
    .article-content .article-right .category-content-list .article-base-info p:first-child{padding-right:0}
}
.article-content .article-right .article-header h1.am-article-title{
    position:relative;color:var(--gz-title);font-size:26px;font-weight:400;padding-bottom:16px;
}
.article-content .article-right .article-header h1.am-article-title::after{
    content:"";position:absolute;left:50%;bottom:0;width:44px;height:2px;transform:translateX(-50%);background:var(--gz-red);
}

/* ============ Article detail (news detail) ============ */
.article-content .article-right .article-header h1.am-article-title{font-size:28px;line-height:1.4;color:#000;text-align:center}
.article-content .article-right .article-header .am-article-meta{color:var(--gz-body);font-size:12px;text-align:center;margin-top:8px}
.article-content .article-right .am-article.richtext{color:var(--gz-title);font-size:15px;line-height:1.9}
.article-content .article-right .am-article.richtext img{max-width:100%;height:auto}
.article-content .article-right .am-article.richtext p{color:var(--gz-title);line-height:1.9}
.article-content .article-right .last-next-data a{color:var(--gz-title);transition:color .3s ease}
.article-content .article-right .last-next-data a:hover{color:var(--gz-red)}
.article-content .article-right .last-next-data .text-tips{color:var(--gz-muted)}
.article-content .article-right .am-divider-default{border-color:var(--gz-line)}

/* ============ Search page chrome (filters / sort / pagination) ============ */
.b2b-search-page .map-base-tips strong{color:var(--gz-red)!important}
.b2b-search-page .search-map .am-tabs-nav li.am-active a{color:var(--gz-red);border-color:var(--gz-red)}
.b2b-search-page .sort-nav a.active,
.b2b-search-page .map-order-by a.active{color:var(--gz-red)}
.b2b-search-page .pagination li.am-active a{background:var(--gz-red)!important;border-color:var(--gz-red)!important}
.b2b-search-page .search-nav-list a:hover{color:var(--gz-red)}

/* ============================================================
   内容列宽度对齐 header / footer
   - header：logo 左内缩 12.5%，即 75% 居中带宽
   - footer：.footer .content / .footer_bottom .bottom 使用 75% / ≤1400:85% / ≤1200:95%
   让各页面正文容器复用同一套带宽；超宽屏与 .footer 的 1920 上限对齐（75%×1920=1440）
   说明：统一前缀 body 以覆盖 common.css 中遗留的 storefront shell 规则
   ============================================================ */
:root{
    --gz-content-width:75%;
    --gz-content-max:1440px;
}
@media (max-width:1400px){
    :root{--gz-content-width:85%;}
}
@media (max-width:1200px){
    :root{--gz-content-width:95%;}
}

body .b2b-search-page > .b2b-catalog-inner,          /* 商品列表 */
body main.category-list-container,                    /* 商品分类 */
body .system-goods-detail > .am-container,            /* 商品详情：详情信息 + 图文详情 */
body .cart-content > .am-container,                   /* 购物车 */
body .article-content,                                /* 文章列表 / 详情 */
body .user-main,                                      /* 用户中心 / 安全 / 订单 / 售后 / 收货地址 */
body .user-forgetpwd-container,
body .user-login-container > .am-container,
body .user-register-container > .am-container,
body:not(.index-design-index) > .am-container:not(#goods-category){  /* 下单、协议等页面正文容器 */
    box-sizing:border-box;
    width:var(--gz-content-width);
    max-width:var(--gz-content-max);
    margin-right:auto;
    margin-left:auto;
}

/* 面包屑：与内容列同宽（并覆盖遗留的 3vw 内边距） */
body .breadcrumb-data > .am-container{
    box-sizing:border-box;
    width:var(--gz-content-width);
    max-width:var(--gz-content-max);
    margin-right:auto;
    margin-left:auto;
    padding-right:0;
    padding-left:0;
}

/* ============================================================
   商品详情页（goods）· 视觉统一 + 推荐位下沉
   1) 令牌收敛：goods.css 遗留的橙色强调色（--goods-accent #f97316）统一到品牌色
   2) 卡片语言：详情 / 推荐区与商品列表一致（白底 + 1px 细边 + 2px 圆角 + 无投影）
   3) 详情 tabs 占满整行（原左侧 20%「看一看」窄栏已移除）
   4) 「看一看 / 猜你喜欢」移动到商品详情下方，作为整宽推荐区块
   ============================================================ */

/* ---- 1. 令牌收敛 ---- */
.b2b-product-detail{
    --goods-accent:var(--gz-red);
    --goods-accent-hover:var(--gz-red-dark);
    --goods-ink:var(--gz-title);
    --goods-text:var(--gz-body);
    --goods-muted:var(--gz-muted);
    --goods-line:var(--gz-line);
    --goods-soft:#f6f6f6;
    --goods-warm:#fbf8f6;
    --goods-surface:#ffffff;
    --goods-radius:2px;
}

/* ---- 2. 卡片语言（对齐商品列表卡片） ---- */
.b2b-product-detail .item-inform,
.b2b-product-detail .introduce,
.b2b-product-detail .goods-recommend{
    border:1px solid var(--gz-line-soft);
    border-radius:2px;
    background:#fff;
    box-shadow:none;
}
.b2b-product-detail .item-inform{padding:26px 26px 16px;}
/* ---- 2b. 字号标定 ---- */
/* 说明：common.css / goods.css 里的 B2B、PetBulkHub 组件按 1rem=10px 设计，
   本主题 1rem=16px，直接沿用会整体放大近一倍；这里把详情页字号拉回品牌层级 */
.b2b-product-detail .simple-desc{font-size:16px;line-height:1.7;}
.b2b-product-detail .tb-detail-price-content .goods-sale-price .goods-sale-price-value{font-size:32px;font-weight:700;}
.b2b-product-detail .b2b-goods-inquiry-copy strong{font-size:16px;}
.b2b-product-detail .b2b-goods-inquiry-copy span{font-size:13px;line-height:1.6;}
/* 遗留的橙色描边（价格块 / 询单块）改为中性细边 */
.b2b-product-detail .tb-detail-panel-base .tb-detail-panel-top-price-content,
.b2b-product-detail .b2b-goods-inquiry{border-color:var(--gz-line);}

/* ---- 3. 详情 tabs 占满整行 ---- */
.b2b-product-detail .introduce-main,
.b2b-product-detail .introduce-main.no-left-goods{float:none;width:100%;}
.b2b-product-detail .introduce{margin-top:20px;padding:0;}
.b2b-product-detail .introduce-main ul.am-tabs-nav.am-nav.am-nav-tabs{
    min-height:54px;
    padding-right:0;
    border:0;
    border-bottom:1px solid var(--gz-line-soft);
    border-radius:0;
    background:#fff;
}
.b2b-product-detail .introduce-main .am-nav-tabs > li > a{
    position:relative;
    height:54px;
    padding:0 26px;
    color:var(--gz-body);
    font-size:15px;
    font-weight:400;
    line-height:54px;
}
.b2b-product-detail .introduce-main .am-nav-tabs > li > a:hover{color:var(--gz-red);background:transparent;}
.b2b-product-detail .introduce-main .am-nav-tabs > li.am-active > a{color:var(--gz-title);font-weight:500;background:transparent;}
.b2b-product-detail .introduce-main .am-nav-tabs > li.am-active > a::after{
    content:"";
    position:absolute;
    left:26px;
    right:26px;
    bottom:-1px;
    height:2px;
    background:var(--gz-red);
}
.b2b-product-detail .introduce-main .am-tabs-bd{border:0;padding:28px 30px 36px;}

/* 购买按钮行：立即购买 / 加入购物车 / 发送简报（发送简报排在加入购物车之后） */
.b2b-product-detail .item-inform .buy-nav .buy-submit-container{
    display:flex;
    width:auto;
    height:auto;
    padding:0;
    border-top:0;
    line-height:normal;
}
.b2b-product-detail .item-inform .buy-nav .buy-submit-container .am-btn{
    flex:1 1 0;
    width:auto !important;
    min-width:110px;
    padding:0 20px;
    white-space:nowrap;
}
.b2b-product-detail .item-inform .buy-nav .buy-submit-container .am-btn:not(:last-child){margin-right:12px;}
.b2b-product-detail .item-inform .buy-nav > .b2b-goods-inquiry-btn{
    flex:0 1 auto;
    min-width:0;
    height:44px;
    min-height:44px;
    margin:0;
    padding:0 22px;
    font-size:13px;
    white-space:nowrap;
}
/* 询单按钮（发送简报）：品牌胶囊按钮 */
.b2b-product-detail .b2b-goods-inquiry-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    height:44px;
    min-height:44px;
    padding:0 28px;
    border:1px solid var(--gz-red) !important;
    border-radius:22px !important;
    background:var(--gz-red) !important;
    color:#fff !important;
    font-size:14px;
    font-weight:400;
    box-shadow:none !important;
    transition:background .3s ease,border-color .3s ease;
}
.b2b-product-detail .b2b-goods-inquiry-btn:hover{background:var(--gz-red-dark) !important;border-color:var(--gz-red-dark) !important;}
/* 详情 tab 栏内重复的「加入购物车」按钮：隐藏（购买行已有加入购物车） */
.b2b-product-detail .introduce-main .buy-submit-top{display:none !important;}

/* ---- 4. 详情下方推荐位：看一看 / 猜你喜欢 ---- */
.b2b-product-detail .goods-recommend{margin-top:20px;padding:30px 30px 34px;}
.b2b-product-detail .goods-recommend-head{
    display:flex;
    align-items:center;
    gap:12px;
    margin:0 0 24px;
    padding:0 0 18px;
    border-bottom:1px solid var(--gz-line-soft);
}
.b2b-product-detail .goods-recommend-title{
    position:relative;
    margin:0;
    padding-left:20px;
    color:var(--gz-title);
    font-size:20px;
    font-weight:400;
    line-height:1.3;
}
.b2b-product-detail .goods-recommend-title::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:10px;
    height:10px;
    transform:translateY(-50%);
    background:var(--gz-red);
}
.b2b-product-detail .goods-recommend-body .module-goods-grid-base{width:100%;margin:0;}
.b2b-product-detail .goods-recommend-body ul{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    list-style:none;
    margin:0;
    padding:0;
}
.b2b-product-detail .goods-recommend-body ul > li{float:none;width:auto;padding:0;}
/* ul 自带 clearfix 伪元素，在 grid 布局下会占据首/末单元格，这里关闭 */
.b2b-product-detail .goods-recommend-body ul::before,
.b2b-product-detail .goods-recommend-body ul::after{content:none;display:none;}
.b2b-product-detail .goods-recommend-body .item{
    display:block;
    height:100%;
    margin:0;
    padding:0 !important;
    overflow:hidden;
    border:1px solid var(--gz-line-soft);
    border-radius:2px;
    background:#fff;
    box-shadow:none;
    transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease;
}
.b2b-product-detail .goods-recommend-body .item:hover{
    border-color:rgba(84,28,30,.45);
    box-shadow:0 8px 24px rgba(0,0,0,.08);
    transform:translateY(-3px);
}
.b2b-product-detail .goods-recommend-body .item .goods-info{display:block;overflow:hidden;padding:0;background:#f7f7f7;}
.b2b-product-detail .goods-recommend-body .item .goods-images{
    display:block;
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:0 !important;
    transition:transform .6s cubic-bezier(.64,.02,.29,.97),filter .5s ease;
    filter:saturate(.96);
}
.b2b-product-detail .goods-recommend-body .item:hover .goods-images{transform:scale(1.06);filter:saturate(1);}
.b2b-product-detail .goods-recommend-body .item .price-content{padding:14px 14px 16px;}
.b2b-product-detail .goods-recommend-body .item .price{margin:0;padding:0;text-align:left;font-size:16px;}
.b2b-product-detail .goods-recommend-body .item .price strong{color:var(--gz-red);font-size:18px;font-weight:700;}
.b2b-product-detail .goods-recommend-body .item .price .unit{color:var(--gz-muted);font-weight:400;}
.b2b-product-detail .goods-recommend-body .item .original-price{color:#bbb;font-size:13px;font-weight:400;text-decoration:line-through;}
.b2b-product-detail .goods-recommend-body .item .goods-title{margin:8px 0 0;}
.b2b-product-detail .goods-recommend-body .item .goods-title a{color:var(--gz-title);font-size:14px;font-weight:400;line-height:1.55;transition:color .3s ease;}
.b2b-product-detail .goods-recommend-body .item:hover .goods-title a{color:var(--gz-red);}

/* 购买行：窄屏把按钮拆成两行，发送简报完整占一行并排在加入购物车之后 */
@media only screen and (max-width:640px){
    .b2b-product-detail{padding-bottom:11rem;}
    .b2b-product-detail .buy-nav{flex-wrap:wrap;padding:0;}
    .b2b-product-detail .buy-nav .buy-submit-container{
        flex:1 1 0;
        width:auto;
        min-width:0;
        padding:0 6px;
    }
    .b2b-product-detail .buy-nav .buy-submit-container .am-btn{
        height:40px;
        line-height:40px;
        padding:0 8px;
        border-radius:20px;
        font-size:12px;
    }
    .b2b-product-detail .item-inform .buy-nav > .b2b-goods-inquiry-btn{
        flex:1 1 100%;
        order:9;
        height:40px;
        min-height:40px;
        margin:6px 10px 8px;
        padding:0 12px;
        border-radius:20px;
        font-size:12px;
    }
}
/* ---- 5. 响应式（推荐位栅格与商品列表页保持一致：≥768 四列，<768 两列） ---- */
@media only screen and (max-width:1024px){
    .b2b-product-detail .item-inform{padding:22px;}
    .b2b-product-detail .introduce-main .am-tabs-bd{padding:22px;}
    .b2b-product-detail .goods-recommend{padding:22px 20px 26px;}
}
@media only screen and (max-width:767px){
    .b2b-product-detail .item-inform{margin-top:10px;padding:20px 16px;}
    .b2b-product-detail .introduce-main .am-tabs-bd{padding:18px 14px 22px;}
    .b2b-product-detail .introduce-main .am-nav-tabs > li > a{padding:0 16px;font-size:14px;}
    .b2b-product-detail .introduce-main .am-nav-tabs > li.am-active > a::after{left:16px;right:16px;}
    .b2b-product-detail .goods-recommend{margin-top:10px;padding:18px 14px 22px;}
    .b2b-product-detail .goods-recommend-head{margin-bottom:16px;padding-bottom:14px;}
    .b2b-product-detail .goods-recommend-title{padding-left:16px;font-size:18px;}
    .b2b-product-detail .goods-recommend-body ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
    .b2b-product-detail .goods-recommend-body .item .price-content{padding:12px 12px 14px;}
    .b2b-product-detail .goods-recommend-body .item .price strong{font-size:17px;}
}

/* ============================================================
   商品详情 · 细节调整
   1) 图册缩略图：与 data-am-flexslider(itemWidth:60,itemMargin:5) 对齐
      （主题 1rem=16px，原来 6rem 被放大到 102px，与轮播参数不符 → 轨道 1200% 宽度、翻阅空白）
   2) 隐藏 销量 / 手机购买，价格面板收紧
   3) 收藏：移到购买行下方、右对齐
   4) 图文详情图片 100% 宽
   5) 详情标题（商品名 H1）：与面包屑、简介重复，隐藏
   ============================================================ */

/* ---- 1. 图册缩略图 ---- */
.b2b-product-detail .tb-thumb{
    height:auto;
    margin-top:12px !important;
    padding:0;
    overflow:visible;
    box-shadow:none;
}
.b2b-product-detail .tb-thumb .am-viewport{overflow:visible !important;}
.b2b-product-detail .tb-thumb ul.am-slides{
    display:flex !important;
    flex-wrap:wrap;
    justify-content:flex-start;
    width:auto !important;
    gap:6px;
    transform:none !important;
    transition:none !important;
}
.b2b-product-detail .tb-thumb ul.am-slides li{
    flex:0 0 auto;
    float:none;
    width:60px !important;
    height:60px;
    margin:0 !important;
    padding:1px;
    overflow:hidden;
    border:1px solid var(--gz-line-soft);
    border-radius:2px;
    background:#fff;
    cursor:pointer;
}
.b2b-product-detail .tb-thumb ul.am-slides li img{
    display:block;
    width:100% !important;
    height:100%;
    border-radius:0;
    object-fit:contain;
}
.b2b-product-detail .tb-thumb ul.am-slides .tb-selected{
    border-color:var(--gz-red);
    box-shadow:0 0 0 1px var(--gz-red);
}
/* 缩略图改为横向滚动，隐藏 flexslider 的方向箭头 */
.b2b-product-detail .tb-thumb .am-slider-control,
.b2b-product-detail .tb-thumb .am-direction-nav,
.b2b-product-detail .tb-thumb .am-flex-prev,
.b2b-product-detail .tb-thumb .am-flex-next{display:none !important;}

/* ---- 2. 销量 / 手机购买 ---- */
.b2b-product-detail .tb-detail-panel-top-price-content .sales-volume,
.b2b-product-detail .tb-detail-panel-top-price-content .goods-qrcode{display:none !important;}
.b2b-product-detail .tb-detail-panel-base .tb-detail-panel-top-price-content{
    min-height:auto;
    padding:22px 26px 24px;
}

/* ---- 3. 收藏：购买行下方、右对齐 ---- */
.b2b-product-detail .item-inform .buy-nav > .b2b-goods-favor-row{
    flex:0 0 100%;
    display:flex;
    justify-content:flex-end;
    margin:6px 0 0;
}
.b2b-product-detail .item-inform .buy-nav > .b2b-goods-favor-row .common-goods-favor-submit-event{
    position:static;
    display:inline-flex;
    align-items:center;
    gap:6px;
    float:none;
    width:auto;
    height:auto;
    line-height:1.4;
    margin:0;
    padding:0;
    color:var(--gz-body);
    font-size:13px;
    line-height:1.4;
    cursor:pointer;
    transition:color .3s ease;
}
.b2b-product-detail .item-inform .buy-nav > .b2b-goods-favor-row .common-goods-favor-submit-event:hover,
.b2b-product-detail .item-inform .buy-nav > .b2b-goods-favor-row .common-goods-favor-submit-event.am-active{
    color:var(--gz-red);
}
/* 相册底部收藏已移出，容器不再占位 */
.b2b-product-detail .item-inform .photo-bottom{min-height:0;padding:0;}

/* ---- 4. 图文详情图片 100% 宽 ---- */
.b2b-product-detail .content-web img,
.b2b-product-detail .content-photo img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto;
    margin:0 auto;
}

/* ---- 5. 商品标题（H1）：保留显示（只从面包屑导航里去掉商品名） ---- */

/* ============================================================
   商品详情 · 本轮调整
   1) 隐藏库存显示（数量行 / 规格弹窗）
   2) 图文详情直接接入商品基本信息卡，中间无边距、无缝
   3) 商品图册整块补上下内边距
   ============================================================ */

/* ---- 1. 库存显示 ---- */
.b2b-product-detail .stock-tips{display:none !important;}

/* ---- 2. 详情接入基本信息模块（两张卡拼成一张，中间无边距） ---- */
.b2b-product-detail .item-inform{
    margin-bottom:0;
    border-bottom:0;
    border-radius:2px 2px 0 0;
}
.b2b-product-detail .introduce{
    margin-top:0;
    border-top:0;
    border-radius:0 0 2px 2px;
}

/* ---- 3. 商品图册：整块上下内边距 + 宽度占基本信息模块的一半 ---- */
/* am-container 的 clearfix 伪元素在 flex 布局里会占一个格位并多出一个 3% gap，一并关掉 */
.b2b-product-detail .item-inform::before,
.b2b-product-detail .item-inform::after{content:none;display:none;}
.b2b-product-detail .item-inform .clearfix-left{
    flex:0 0 50%;
    width:50%;
    max-width:none;
    padding:18px 0;
}

/* ---- 6. 详情页签导航整行：删除（内容面板保留，详情内容直接接在基本信息下方）
   注意：若以后再开启「商品评价」页签，需要把这条隐藏去掉，否则无法切换 ---- */
.b2b-product-detail .introduce-main ul.am-tabs-nav.am-nav.am-nav-tabs{display:none !important;}
/* 页签隐藏后，sticky 占位块一并收起，避免留下一条空白 */
.b2b-product-detail .introduce-main .am-sticky-placeholder{height:0 !important;margin:0 !important;}

/* ==========================================================================
   全站字号统一（Type scale：12 / 13 / 14 / 16 / 18 / 28）
   --------------------------------------------------------------------------
   起因：主题部分样式按 10px 根字号书写 rem，而本站 html 根字号为 16px，
   导致同一层级的文字大小不一（面包屑链接 22.4px、页脚链接 15px/50px 行高、
   文章正文被内联 Arial 16px 覆盖等）。此处统一用 px 声明并按层级归类：
     28 页面主标题 / 18 区块与列表标题 / 16 导航与正文
     14 正文链接（面包屑、页脚、分页）/ 13 次要信息 / 12 极小信息
   ========================================================================== */

/* —— 面包屑：链接与同级文字统一 14px（原链接 1.4rem = 22.4px）—— */
.breadcrumb-data .am-breadcrumb,
.breadcrumb-data .am-breadcrumb > li,
.breadcrumb-data .am-breadcrumb > li > a {
    font-size: 14px;
    line-height: 1.6;
}

/* —— 文章正文：16px / 1.9，与全站正文层级一致 —— */
/* 核心样式表里有 .richtext { font-family: sans-serif !important }，会让正文与外层字体不一致 */
.article-content .article-right .am-article.richtext {
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif !important;
}
.article-content .article-right .am-article.richtext {
    font-size: 16px;
    line-height: 1.9;   /* 与主题段落规则一致 */
}

/* —— 分页：与 14px 正文行高一致（原 19.2px 行高）—— */
.article-content .article-right .am-pagination li a {
    font-size: 14px;
    line-height: 1.5;
}

/* —— 页脚：组标题 18px / 链接 14px（原链接 15px、行高 50px 过散）—— */
.footer .content .top .right ul > li > a {
    font-size: 18px;
    line-height: 1.5;
}
.footer .content .top .right ul > li ol li a {
    font-size: 14px;
    line-height: 26px;
}

/* —— 侧栏标题：对齐 16px 一级字号（原 15px）—— */
.article-sidebar .am-panel-title {
    font-size: 16px;
    line-height: 1.5;
}

/* —— 站点 Logo 已改为后台配置（「网站设置 → 电脑端/手机端 Logo」），上传图比例与原图不同：
      这里限制最大尺寸，避免 logo 变宽后挤压导航或撑破移动端菜单。原 logo 为 180×55，按 110px 导航高
      计算 40% ≈ 44px，故此处的 max-height 与原视觉尺寸一致。 —— */
.header .navbar .pc_menu .pc_logo a img {
    max-height: 44px;
    max-width: 190px;
    width: auto;
    object-fit: contain;
}
.m_nav .logo img {
    max-width: 220px;
    object-fit: contain;
}

/* ==========================================================================
   商品详情 · 基本信息图册（2026 改版：宽屏右竖排 / 窄屏下横排）
   --------------------------------------------------------------------------
   背景：商品主图为 1:1（如 1200×1200），旧主题主图容器固定高 35.8rem(358px)，
         与放大后的列宽不成比例；缩略图此前挤在主图下方一行。
   本次：
     布局   ≥1201px：主图正方形 + 缩略图竖排在主图右侧（高度跟随主图，超出可滚动）
            641~1200px：缩略图移到主图下方横排（横向滚动，不挤压主图）
            ≤640px：主题切换为手机版相册（photo_h5），本区块随 .clearfix-left 一起隐藏
     配比   左右栏 52% / 45%（列间距 3%），两侧视觉宽度更接近，模块更协调
     交互   缩略图切换仍由 goods.js 的 #thumblist li img mouseover 处理，纯 CSS 改版不影响
     载具   模板已移除 data-am-flexslider（不再需要轮播 JS，滚动交给原生滚动）
   ========================================================================== */
/* 列宽沿用主题原配比 48% / 46%（3% 列间距）；显式写 flex 以覆盖 goods.css
   min-width:1025px 里的 flex:0 0 40% / max-width:48rem。
   注意：flex-wrap:wrap 的换行判定用的是 flex-basis，因此左右两栏都必须给出
   百分比 basis，否则右栏会按内容宽度计算而被挤到下一行。 */
.b2b-product-detail .item-inform .clearfix-left {
    flex: 0 0 48%;
    width: 48%;
    max-width: none;
    min-width: 0;
}
.b2b-product-detail .item-inform .clearfix-right {
    flex: 1 1 46%;
    width: 46%;
    min-width: 0;
}

/* ---- 图册容器：主图 + 缩略图列 ---- */
.b2b-product-detail .item-inform .clearfix-left .box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 14px;
    /* 关键：不要用 stretch —— 否则行高会被右侧缩略图内容撑高，
       主图再按 aspect-ratio 反推宽度，会溢出列宽并把右栏挤到下一行 */
    align-items: start;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-booth {
    grid-column: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    align-self: start;
    max-height: 720px;
    padding: 0;
    border: 1px solid var(--gz-line-soft);
    border-radius: var(--flat-radius, 2px);
    background: #fff;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-booth img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    background: #fff;
}

/* ---- 缩略图：宽屏时在主图右侧竖排，高度跟随主图并可滚动 ---- */
/* 宽屏：缩略图列绝对定位在主图右侧，高度严格等于主图（top/bottom:0），内容超出滚动。
   这样右列内容高度既不会撑高行高，也不会反过来经 aspect-ratio 撑大主图宽度。 */
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 84px;
    min-height: 0;
    margin: 0 !important;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: thin;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb .am-viewport { overflow: visible !important; }
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    width: auto !important;
    margin: 0 !important;
    transform: none !important;
    transition: none !important;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides li {
    flex: 0 0 auto;
    float: none;
    width: 74px !important;
    height: 74px;
    margin: 0 !important;
    padding: 1px;
    overflow: hidden;
    border: 1px solid var(--gz-line-soft);
    border-radius: var(--flat-radius, 2px);
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides li:hover {
    border-color: #cbb6a5;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides li img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border-radius: var(--flat-radius, 2px);
    background: #fff;
    object-fit: contain;
}
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides li.tb-selected {
    border-color: var(--gz-red);
    box-shadow: 0 0 0 1px var(--gz-red);
}
/* 细滚动条（仅缩略图轨道） */
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb::-webkit-scrollbar { width: 6px; height: 6px; }
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb::-webkit-scrollbar-thumb { background: #e3d8d0; border-radius: 3px; }
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb::-webkit-scrollbar-track { background: transparent; }
/* flexslider 遗留的方向箭头 / 圆点（若存在）一律隐藏 */
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb .am-direction-nav,
.b2b-product-detail .item-inform .clearfix-left .box .tb-thumb .am-control-nav { display: none !important; }

/* ---- ≤1200px：左右栏恢复 48% / 46%，缩略图移到主图下方横排 ---- */
@media only screen and (max-width: 1200px) {
    /* ≤1200px：列宽与基础规则一致（48% / 46%），仅调整缩略图排布 */
    .b2b-product-detail .item-inform .clearfix-left { flex: 0 0 48%; width: 48%; }
    .b2b-product-detail .item-inform .clearfix-right { flex: 1 1 46%; width: 46%; }
    .b2b-product-detail .item-inform .clearfix-left .box {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .b2b-product-detail .item-inform .clearfix-left .box .tb-booth { grid-column: 1; }
    .b2b-product-detail .item-inform .clearfix-left .box .tb-thumb {
        position: static;
        grid-column: 1;
        width: auto;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }
    .b2b-product-detail .item-inform .clearfix-left .box .tb-thumb ul.am-slides {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}
