/**
 * 商品模块 - 公共
 */
.module-goods-container .base-nav {
    width: 100%;
    min-height: 3.4rem;
    overflow: hidden;
    position: relative;
}

.module-goods-container .base-nav .base-nav-title {
    font-size: 1.6rem;
    margin: 3rem 0px 2rem 0px;
    text-align: left;
    float: none;
    font-weight: 600;
}

.module-goods-container .base-nav .base-nav-keywords {
    display: none;
}

.module-goods-container .base-nav .base-nav-more {
    position: absolute;
    right: -0.2rem;
    top: 0.83rem;
    overflow: hidden;
}

@media only screen and (min-width: 1025px) {
    .module-goods-container .base-nav {
        text-align: left;
        margin-top: 0.9rem;
    }

    .module-goods-container .base-nav .base-nav-title {
        float: left;
        border: none;
        margin-top: 0.8rem;
        font-size: 2rem;
        font-weight: 500;
    }

    .module-goods-container .base-nav .base-nav-desc {
        display: block;
        font-size: 1.4rem;
        color: #666666;
        float: left;
        margin-top: 1.2rem;
    }

    .module-goods-container .base-nav .base-nav-keywords {
        display: block;
        position: absolute;
        right: 5rem;
        overflow: hidden;
        height: 2rem;
        top: 0.7rem;
        text-align: right;
    }

    .module-goods-container .base-nav-keywords a {
        display: inline-block;
        vertical-align: middle;
        margin: 0px 0.5rem;
    }

    .module-goods-container .base-nav .base-nav-desc {
        margin-top: 1.6rem;
    }
}

@media only screen and (max-width: 1024px) {
    .module-goods-container .base-nav {
        text-align: center;
    }
}

@media only screen and (min-width: 641px) {
    .module-goods-container .base-nav .base-nav-title {
        border: none;
        font-size: 1.8rem;
        line-height: 2.4rem;
        margin: 1.2rem 1rem 0.5rem 0;
    }

    .module-goods-container .base-nav .base-nav-desc {
        display: block;
        font-size: 1.4rem;
        color: #999999;
        line-height: 1.8rem;
        margin-bottom: 0.5rem;
    }
}

@media only screen and (max-width: 640px) {
    .module-goods-container .base-nav .base-nav-title {
        float: left;
        margin: 1rem 0 0 0;
    }

    .module-goods-container .base-nav .base-nav-desc {
        float: left;
        margin: 1.2rem 0 0 1rem;
        color: #666666;
    }
}

/**
 * 商品模块 - 九宫格
 */
.odule-goods-grid-base {
    margin-top: 0;
}

.module-goods-grid-base .item {
    margin: 0.6rem;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
}

.module-goods-grid-base .item.am-border-bottom {
    border-color: #f8f8f8;
}

.module-goods-grid-base .item.grid-border {
    border: 0.1rem solid #EEEEEE;
    border-radius: var(--border-radius);
}

.module-goods-grid-base .item .goods-info {
    padding: 1rem;
}

.module-goods-grid-base .item img {
    width: 100%;
}

.module-goods-grid-base .item .price {
    text-align: center;
    padding: 0;
}

.module-goods-grid-base .item .price strong {
    font-size: 1.8rem;
    font-weight: 500;
}

.module-goods-grid-base .item .price .original-price {
    padding-left: 0.8rem;
}

.module-goods-grid-base .item .price-content {
    padding: 0.5rem 1.4rem;
}

.module-goods-grid-base .item .item-bottom {
    min-height: 7.2rem;
}

.module-goods-grid-base .item .item-bottom .price-content {
    width: calc(100% - 7.2rem);
    padding: 0;
}

.module-goods-grid-base .item .item-bottom .am-btn {
    padding: 0.6rem 0.8rem;
}

@media only screen and (min-width: 1025px) {
    .module-goods-grid-base {
        width: calc(100% + 1.2rem);
        margin-left: -0.6rem;
    }
}

@media only screen and (max-width: 640px) {
    .module-goods-grid-base {
        margin-top: 0;
    }
}

/**
 * 商品模块 - 左图右文列表
 */
.odule-goods-list-base .item {
    margin: 0.6rem;
    overflow: hidden;
    position: relative;
    background: #FFFFFF;
}

.module-goods-list-base li {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0.6rem;
}

.module-goods-list-base .item {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;
}

.module-goods-list-base .item .goods-info {
    width: 14rem;
    height: 14rem;
    border-radius: var(--border-radius);
}

.module-goods-list-base .item .goods-info img {
    width: 100%;
}

.module-goods-list-base .item .item-content {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.module-goods-list-base .item .item-content .base-content {
    font-size: 1.4rem;
}

.module-goods-list-base .item .item-content .base-content .detail-content {
    color: #999999;
    margin-top: 1.2rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.8rem;
    height: 1.8rem;
    white-space: initial !important;
}

.module-goods-list-base .item .item-content .bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.module-goods-list-base .item .item-content .bottom-content .price-content .price {
    font-size: 1.8rem;
}

.module-goods-list-base .item .item-content .bottom-content .goods-cart {
    position: relative;
    top: 0.3rem;
    font-size: 2.6rem;
}

@media only screen and (max-width: 1024px) {
    .module-goods-list-base .item .item-content .bottom-content .goods-cart {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 640px) {
    .module-goods-list-base {
        width: 100%;
        margin-left: 0;
    }

    .module-goods-list-base .item {
        padding: 0.6rem;
    }

    .module-goods-list-base .item .item-content {
        padding-left: 0.6rem;
    }

    .module-goods-list-base .item .item-content .bottom-content .price-content {
        flex-flow: column;
        gap: 0;
        min-width: 13rem;
        align-items: baseline;
    }

    .module-goods-list-base .item .item-content .bottom-content .price-content>span {
        margin-left: 0.4rem;
        position: relative;
        font-size: 1.2rem;
    }

    .module-goods-list-base .item .item-content .bottom-content .price-content .price {
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 1025px) {
    .module-goods-list-base {
        width: calc(100% + 1.2rem);
        margin-left: -0.6rem;
    }
}

@media only screen and (min-width: 1600px) {
    .module-goods-list-base .item .goods-info {
        width: 16rem;
        height: 16rem;
    }
}

/**
 * 商品组合模块mini - 左图右文列表
 */
.module-goods-list-mini ul li .item {
    height: 6.5rem;
    position: relative;
    overflow: hidden;
}
.module-goods-list-mini ul li .item .goods-images {
    width: 6.5rem;
    max-height: 6.5rem;
}
.module-goods-list-mini ul li .item .goods-base-right {
    width: calc(100% - 7rem);
}







/**
 * 商品模块 - 滚动轮播整体样式
 */
.odule-goods-slider-base.am-slider-default {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.module-goods-slider-base .am-control-nav>li>a.am-active {
    background-color: var(--color-main);
}

.module-goods-slider-base .am-control-nav>li>a {
    width: 0.8rem;
    background: #EEEEEE;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.module-goods-slider-base ul .am-text-truncate {
    text-align: center;
}

.module-goods-slider-base ul .am-text-truncate strong,
.module-goods-slider-base ul .am-text-truncate strong span {
    font-size: 1.8rem;
}

.module-goods-slider-base ul .am-text-truncate span.am-text-truncate {
    margin-left: 0.8rem;
    color: #999999;
}

.module-goods-slider-base.am-slider-default .am-control-nav {
    display: none;
}

.module-goods-slider-base .am-viewport {
    border-color: #fff;
    border-style: solid;
    border-width: 2rem;
    border-radius: var(--border-radius);
}

.module-goods-slider-base ul.am-slides>li {
    box-shadow: none;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.module-goods-slider-base ul.am-slides>li:not(:first-of-type)::after {
    content: '';
    width: 0.1rem;
    height: 11.4rem;
    opacity: 1;
    border-right: 0.1rem solid #F5F5F5;
    position: absolute;
    left: -1.3rem;
    top: 7.3rem;
    border-radius: 1rem;
}

.module-goods-slider-base .am-slider-default {
    box-shadow: none;
    border-radius: var(--border-radius);
    margin: 0.6rem 0;
}

.module-goods-slider-base .am-slider-default .am-control-nav {
    bottom: 1rem;
}

/**
 * 商品模块 - 滚动轮播块样式
 */
.module-goods-slider-piece .am-slider {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.module-goods-slider-piece .am-viewport .am-slides>li {
    overflow: hidden;
    background-color: #FFFFFF;
}

.module-goods-slider-piece .am-viewport .am-slides>li p {
    text-align: center;
}

.module-goods-slider-piece .am-viewport .am-slides>li p a {
    text-align: left;
}

.module-goods-slider-piece li .goods-title {
    max-height: 4rem;
    overflow: hidden;
    margin: 1rem 1.2rem;
}

.module-goods-slider-piece .price strong {
    color: var(--color-price);
    font-weight: 500;
    font-size: 1.8rem;
    margin-right: 1rem;
}

.module-goods-slider-piece .original-price {
    color: #999;
    text-decoration: line-through;
}

.module-goods-slider-piece .am-direction-nav a:before {
    font-size: 3.6rem !important;
    color: #e9e9e9;
}

/**
 * 组合模块 - 滚动轮播块样式
 */
.module-goods-slider-binding .am-slider-default {
    box-shadow: none;
    border-radius: var(--border-radius);
    margin: 0.6rem 0;
}
.module-goods-slider-binding .am-slider {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.module-goods-slider-binding .am-slider li .join {
    position: absolute;
    left: -4rem;
    top: calc(50% - 1.5rem);
    color: #CCCCCC;
    font-size: 2.4rem;
}
.module-goods-slider-binding .am-slider li .content-item {
    position: relative;
    border: 0.1rem solid #EEEEEE;
    overflow: hidden;
}
.module-goods-slider-binding .am-slider li .content-item img {
    -webkit-transition: transform .3s ease-in;
    -moz-transition: transform .3s ease-in;
    -ms-transition: transform .3s ease-in;
    -o-transition: transform .3s ease-in;
    transition: transform .3s ease-in;
}
.module-goods-slider-binding .am-slider li .content-item img:hover {
    transform: scale(1.03);
    -moz-transform: scale(1.03);
    -webkit-transform: scale(1.03);
    -o-transform: scale(1.03);
    -ms-transform: scale(1.03);
}
.module-goods-slider-binding .am-slider li .content-item-title {
    margin-top: 1rem;
}
.module-goods-slider-binding .am-slider li .content-item-bottom {
    height: 2rem;
    margin-top: 0.6rem;
}
.module-goods-slider-binding .am-slider li .content-item-bottom p.price {
    width: calc(100% - 2.4rem);
    padding-left: 0.6rem;
    font-size: 1.6rem;
    line-height: 1.8rem;
}
.module-goods-slider-binding .am-slider li .content-item-bottom .item-cart-submit i{
    color: var(--color-main);
    font-size: 2.4rem;
    line-height: 1.8rem;
}
.module-goods-slider-binding .am-slider li .content-item-bottom .item-cart-submit:hover {
    color: #c00;
}
/* ============================================================
   中电恒达复刻 · 全局页脚（旧站栏目风格）
   ============================================================ */
.zd-footer2 {
    background: #f5f5f5;
    border-top: 2px solid #c00;
    margin-top: 25px;
    padding: 0;
}
.zd-footer2 .zd-footer-cols {
    width: 1200px;
    margin: 0 auto;
    padding: 22px 0 18px;
    overflow: hidden;
}
.zd-footer2 .zd-footer-cols dl {
    float: left;
    width: 20%;
    margin: 0;
    padding: 0 24px;
    box-sizing: border-box;
    border-left: 1px dashed #ddd;
    min-height: 120px;
}
.zd-footer2 .zd-footer-cols dl:first-child {
    border-left: 0;
    padding-left: 8px;
}
.zd-footer2 dt {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'microsoft yahei';
}
.zd-footer2 dd {
    margin: 0 0 7px;
    font-size: 12px;
    line-height: 1.5;
}
.zd-footer2 dd a {
    color: #666;
    text-decoration: none;
}
.zd-footer2 dd a:hover {
    color: #e4393c;
    text-decoration: underline;
}
.zd-footer-filing {
    background: #fff;
    border-top: 1px solid #e0e0e0;
}
.zd-footer-filing .AllWrap {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 12px 0;
    color: #999;
    font-size: 12px;
    line-height: 1.8;
}
.zd-footer-filing p {
    margin: 0;
}
.zd-footer-filing a {
    color: #999;
}
.zd-footer-filing a:hover {
    color: #e4393c;
}

/* ============================================================
   商品详情页 · 旧站风格复刻
   ============================================================ */
/* 容器统一 1200px */
body.index-goods-index .am-container,
body.index-goods-index .item-inform,
body.index-goods-index .introduce {
    width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}
/* 主信息面板：白底细边框 */
body.index-goods-index .item-inform {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    box-sizing: border-box;
}
/* 商品标题 */
body.index-goods-index .tb-detail-hd .detail-title {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.6;
    font-family: 'microsoft yahei';
}
/* 价格区：旧站橙红价 */
body.index-goods-index .tb-detail-price-content .goods-sale-price-value,
body.index-goods-index .goods-price b,
body.index-goods-index .goods-price .symbol {
    color: #f60;
    font-weight: 700;
}
body.index-goods-index .goods-sale-price .symbol {
    font-size: 16px;
}
body.index-goods-index .goods-sale-price-value {
    font-size: 26px;
    font-family: Tahoma, Verdana, Arial;
}
body.index-goods-index .goods-price dt {
    color: #999;
}
/* 市场价划线 */
body.index-goods-index .goods-original-price,
body.index-goods-index .goods-market-price {
    color: #a4a4a4;
}
/* 购买按钮：旧站橙红双色 */
body.index-goods-index .buy-submit-container .buy-submit {
    background: #ff6c00;
    border: 1px solid #ff6c00;
    color: #fff;
    font-size: 16px;
    width: 150px;
    height: 44px;
}
body.index-goods-index .buy-submit-container .buy-submit:hover,
body.index-goods-index .buy-submit-container .buy-submit:focus {
    background: #f65e00;
    color: #fff;
}
body.index-goods-index .buy-submit-container .cart-submit {
    background: #e4393c;
    border: 1px solid #e4393c;
    color: #fff;
    font-size: 16px;
    width: 150px;
    height: 44px;
}
body.index-goods-index .buy-submit-container .cart-submit:hover,
body.index-goods-index .buy-submit-container .cart-submit:focus {
    background: #d32f32;
    color: #fff;
}
/* 主图与缩略图边框 */
body.index-goods-index .tb-booth {
    border: 1px solid #e5e5e5;
    background: #fff;
}
body.index-goods-index .tb-thumb li img {
    border: 1px solid #eee;
}
body.index-goods-index .tb-thumb li.tb-selected img {
    border: 2px solid #e4393c;
}
/* 下方详情 Tab：旧站红色下划线 */
body.index-goods-index .am-nav-tabs > li > a {
    color: #666;
}
body.index-goods-index .am-nav-tabs > li.am-active > a,
body.index-goods-index .am-nav-tabs > li.am-active > a:hover {
    color: #c00;
    border-top: 2px solid #c00;
}
/* 详情正文图片自适应居中 */
body.index-goods-index .detail-content .richtext img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* 顶部滑动图区 */
body.index-goods-index .scoll {
    border: 1px solid #e5e5e5;
    background: #fff;
}

/* ============================================================
   详情页排版精修 v2（旧站白底点线风格）
   ============================================================ */
/* 价格面板：去掉米黄底图，白底 + 底部点线（旧站 goodsprops 风格） */
body.index-goods-index .tb-detail-panel-base .tb-detail-panel-top-price-content {
    background: #ffffff none !important;
    background-image: none !important;
    padding: 5px 0 8px !important;
    border-bottom: 1px dotted #a6a6a6;
    border-radius: 0;
    min-height: 0 !important;
}
/* 售价行：旧站大橙字 */
body.index-goods-index .tb-detail-price-content .goods-sale-price dt {
    color: #999;
    font-weight: 400;
}
body.index-goods-index .tb-detail-price-content .goods-sale-price .goods-sale-price-value {
    color: #f60;
    font-size: 28px;
    font-family: Tahoma, Verdana, Arial;
}
body.index-goods-index .tb-detail-price-content .goods-sale-price .symbol {
    color: #f60;
    font-size: 18px;
}
/* 销量 / 手机购买：收进面板右下角一行 */
body.index-goods-index .tb-detail-panel-top-price-content .sales-volume {
    position: absolute;
    right: 8rem;
    bottom: 1.2rem;
}
body.index-goods-index .tb-detail-panel-top-price-content .goods-qrcode {
    bottom: 1rem;
    right: 0.5rem;
}
/* 标题区：黑字大标题 + 灰色副标题，细线分隔 */
body.index-goods-index .tb-detail-hd {
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
body.index-goods-index .tb-detail-hd h1.detail-title {
    font-size: 18px;
    color: #000;
    line-height: 1.5;
    margin: 0;
    font-weight: 700;
    font-family: 'microsoft yahei';
}
body.index-goods-index .tb-detail-hd .simple-desc {
    color: #999;
    font-size: 12px;
    margin: 6px 0 0;
}
/* 主图框 */
body.index-goods-index .tb-booth {
    border: 1px solid #e5e5e5;
    background: #fff;
}
/* 规格弹层按钮 */
body.index-goods-index .btn-op .confirm {
    background: #e4393c;
    border-color: #e4393c;
    color: #fff;
}
body.index-goods-index .btn-op .confirm:hover {
    background: #d32f32;
    color: #fff;
}
/* 数量行与按钮区间距 */
body.index-goods-index .buy-submit-container {
    margin-top: 14px;
}
/* 下方 Tab：贴紧主面板 */
body.index-goods-index .introduce {
    margin-top: 15px !important;
}

/* 购买按钮文字垂直居中微调 */
body.index-goods-index .buy-submit-container .buy-submit,
body.index-goods-index .buy-submit-container .cart-submit {
    line-height: 42px;
    padding: 0;
    text-align: center;
}

/* ============================================================
   全站头部容器约束（老站 AllWrap 规则，内页原先缺失导致头部不居中）
   ============================================================ */
.AllWrap { width: 1200px; margin: 0 auto; }
.AllWrap.headerInfo { height: 160px; position: relative; z-index: 99; }
.headerInfo .qbspfl { position: absolute; left: 25px; top: 128px; margin: 0; padding: 0; z-index: 99; }
.headerInfo .qbspfl div { margin: 0; padding: 0; }
.headerInfo .qbspfl a { color: #fff; font-weight: bold; font-size: 14px; font-family: "microsoft yahei"; }
.headerInfo .qbspfl a:hover { color: #ff0; text-decoration: none; }

/* 顶部灰色小导航条：文字缩小（老站12px小字风格） */
.header-top .menu-hd,
.header-top .menu-hd a,
.header-top .menu-hd em,
.header-top .menu-hd span,
.header-top .menu-hd i {
    font-size: 12px !important;
}
.header-top .menu-hd .iconfont {
    font-size: 13px !important;
}
.header-top .top-nav-right .menu-hd {
    padding: 0 10px;
}

/* 详情正文图片无缝拼接：去掉图片后的<br/>产生的空行裂缝 */
body.index-goods-index .content-web.richtext img + br { display: none; }
body.index-goods-index .content-web.richtext img {
    display: block;
    margin: 0 auto;
    vertical-align: top;
}

/* ===== 购物车条文字缩小防溢出（20261027） ===== */
.headerInfo .cartbar .cart-container { font-size: 11px !important; line-height: 26px !important; white-space: nowrap; }
