@charset "utf-8";
/*
 * 产品详情页样式 / Product Detail Page Styles
 * 深圳市爱租网络有限公司 2016-2026 / Shenzhen iZu Network Co., Ltd. 2016-2026
 * 配合 goods.dwt 使用, 响应式断点: 1240px / 980px / 768px / 640px
 */

/* ===== 产品 Banner ===== */
.goods-banner {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b4da2 0%, #0a3d7a 50%, #08306b 100%);
    color: #fff;
    overflow: hidden;
}
.goods-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(../images/banner-pattern.png) repeat;
    opacity: .06;
    pointer-events: none;
}
.goods-banner-inner {
    position: relative;
    z-index: 1;
    padding: 40px 0;
}
.goods-banner-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,.2);
    padding: 2px 14px;
    border-radius: 20px;
}
.goods-banner h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0 10px;
    line-height: 1.3;
    color: #fff;
}
.goods-banner-desc {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}
.goods-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    padding: 4px 16px;
    background: rgba(255,255,255,.12);
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
}
.goods-cat-badge:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
}
.goods-cat-badge i {
    font-size: 13px;
}

/* ===== 主体容器 ===== */
.container-goods {
    background: var(--ent-bg);
    padding: 30px 0 60px;
}

/* ===== 产品信息头（左侧主区域） ===== */
.product-info-header {
    background: #fff;
    border: 1px solid var(--ent-line);
    border-radius: var(--ent-radius);
    padding: 28px 30px;
    margin-bottom: 24px;
}
.product-title {
    font-size: 26px;
    font-weight: 700;
    color: #1b2431;
    line-height: 1.35;
    margin: 0 0 10px;
}
.product-subtitle {
    font-size: 15px;
    color: var(--ent-sub);
    line-height: 1.7;
    margin: 0 0 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ent-line);
}

/* ===== 产品参数（左侧主区域） ===== */
.product-params {
    margin-bottom: 6px;
}
.param-block {
    margin-bottom: 10px;
}
.param-block-title {
    font-size: 16px;
    font-weight: 600;
    color: #1b2431;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ent-primary);
    display: inline-block;
}
.param-block-items {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
}
.param-item {
    display: inline-flex;
    align-items: baseline;
    font-size: 14px;
    color: #555;
    padding: 5px 20px 5px 0;
    min-width: 33%;
    box-sizing: border-box;
}
.param-item label {
    color: var(--ent-sub);
    white-space: nowrap;
}
.param-sep {
    color: #ccc;
    margin: 0 2px;
}
.param-value {
    color: #222;
}

/* ===== 分享区域（左侧主区域产品参数下方） ===== */
.gd-main .product-share-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 4px;
    border-top: 1px solid #f0f0f0;
    margin-top: 6px;
    position: relative;
}
.gd-main .product-share-left .share-label {
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.gd-main .product-share-left .share-label i {
    font-size: 14px;
    color: #aaa;
}
.gd-main .product-share-left .share-icons {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.gd-main .product-share-left .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    transition: all .2s ease;
    position: relative;
}
.gd-main .product-share-left .share-icon:hover {
    transform: scale(1.15);
    opacity: 0.9;
    color: #fff;
}
.gd-main .product-share-left .si-weibo { background: #e6162d; }
.gd-main .product-share-left .si-qq { background: #12b7f5; }
.gd-main .product-share-left .si-weixin { background: #07c160; }
.gd-main .product-share-left .si-facebook { background: #1877f2; }
.gd-main .product-share-left .si-twitter { background: #1da1f2; }
.gd-main .product-share-left .si-linkedin { background: #0a66c2; }
.gd-main .product-share-left .si-link { background: #999; font-size: 13px; }
.gd-main .product-share-left .si-link:hover { background: #666; }
.gd-main .product-share-left .share-weixin-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    padding: 16px;
    text-align: center;
    margin-top: 4px;
}
.gd-main .product-share-left .share-weixin-popup .swp-close {
    position: absolute;
    top: 4px;
    right: 8px;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.gd-main .product-share-left .share-weixin-popup .swp-close:hover { color: #333; }
.gd-main .product-share-left .share-weixin-popup .swp-qr { margin: 4px 0 8px; }
.gd-main .product-share-left .share-weixin-popup .swp-tip {
    font-size: 11px;
    color: #999;
    line-height: 1.4;
}

/* ===== 促销倒计时 ===== */
.activity-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px;
}
.activity-type {
    font-size: 13px;
    color: #d9363e;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.activity-type i { font-size: 14px; }
.sk-time-cd {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sk-cd-tit {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}
.cd-time {
    display: flex;
    align-items: center;
    gap: 2px;
}
.cd-time .days,
.cd-time .hours,
.cd-time .minutes,
.cd-time .seconds {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    background: #333;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    padding: 0 4px;
}
.cd-time .split {
    color: #333;
    font-weight: 700;
    font-size: 14px;
    padding: 0 1px;
}

/* ===== 温馨提示摘要 ===== */
.summary-basic-info {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e0e0e0;
}
.si-tit {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.si-warp {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
}
.si-warp p {
    margin: 4px 0;
    padding-left: 0;
}

/* ===== Tab 内容区域 ===== */
/* 注意：style.css 中 .gd-main .gm-* 已有详细定义，此处仅补充缺漏 */
.gm-f-item[style*="display:none"] {
    display: none !important;
}

/* ===== 遮罩弹窗（覆盖 goods_fitting.css 中的绝对定位） ===== */
.tm-dl-overlay-hidden {
    display: none !important;
}

/* ===== 侧边栏已有样式补全（来自 enterprise.css 未覆盖的部分） ===== */
/* 产品名称单行显示 */
.gd-sidebar .product-wrap .name {
    font-size: 20px;
    font-weight: 700;
    color: #1b2431;
    line-height: 1.35;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   响应式断点
   ============================================================ */

/* 小桌面 992-1240px */
@media (max-width: 1240px) {
    .goods-banner h1 { font-size: 28px; }
    .gd-sidebar {
        width: 360px;
    }
    .gd-main .product-info-header .product-title { font-size: 22px; }
    .goods-detail-layout { gap: 20px; }
}

/* 平板 768-991px */
@media (max-width: 980px) {
    .goods-banner { min-height: 200px; }
    .goods-banner-inner { padding: 30px 0; }
    .goods-banner h1 { font-size: 24px; }
    .goods-banner-desc { font-size: 14px; }
    .goods-detail-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .gd-sidebar {
        width: 100%;
        position: static;
    }
    .gd-main .product-info-header .product-title { font-size: 20px; }
    .gd-main .product-info-header { padding: 20px; }
    .gd-main .g-m-detail { padding: 20px; }
    .gd-main .gm-tab li { margin: 0 24px 0 0; padding: 0 2px 12px; font-size: 14px; }
    .gd-main .gm-floors .gm-f-item { padding-top: 20px; }
    .gd-main .product-params .param-item { min-width: 50%; }
    .gd-main .recommend-grid { grid-template-columns: repeat(3, 1fr); }
    .gd-main .gm-f-details table td,
    .gd-main .gm-f-details table th { padding: 8px 10px; font-size: 12px; }
}

/* 手机 640-767px */
@media (max-width: 768px) {
    .container-goods { padding: 20px 0 40px; }
    .goods-banner { min-height: 160px; }
    .goods-banner-inner { padding: 24px 0; }
    .goods-banner h1 { font-size: 20px; }
    .goods-banner-desc { font-size: 13px; }
    .goods-cat-badge { font-size: 12px; padding: 3px 12px; }
    .gd-main .product-info-header .product-title { font-size: 18px; }
    .gd-main .product-info-header .product-subtitle { font-size: 14px; }
    .gd-sidebar { width: 100%; position: static; }
    .gd-main .product-params .param-item { min-width: 100%; }
    .gd-main .g-m-detail { padding: 16px; }
    .gd-main .gm-tabbox .gm-tab { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; gap: 0; }
    .gd-main .gm-tab li { margin: 0 20px 0 0; padding: 0 0 10px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
    .gd-main .gm-floors .gm-f-item { padding-top: 16px; }
    /* === Tab内容自适应 === */
    .gd-main .recommend-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gd-main .recommend-item { padding: 8px 6px; }
    .gd-main .recommend-item .rc-name { font-size: 12px; min-height: 32px; }
    .gd-main .gm-f-details { font-size: 13px; line-height: 1.8; }
    .gd-main .gm-f-details h1 { font-size: 18px; }
    .gd-main .gm-f-details h2 { font-size: 16px; }
    .gd-main .gm-f-details h3 { font-size: 15px; }
    .gd-main .gm-f-details h4 { font-size: 14px; }
    .gd-main .gm-f-details table td,
    .gd-main .gm-f-details table th { padding: 6px 8px; font-size: 12px; }
    .gd-main .gm-f-download .goods-download-section li { flex-wrap: wrap; gap: 10px; }
    .gd-main .gm-f-download .goods-download-section li .dl-action { width: 100%; flex-direction: row; justify-content: flex-end; padding-top: 4px; }
    .gd-main .gm-f-details .art-tag { padding: 4px 12px; font-size: 11px; }
}

/* 小手机 <640px */
@media (max-width: 640px) {
    .goods-banner { min-height: 140px; }
    .goods-banner h1 { font-size: 18px; }
    .goods-banner-label { font-size: 11px; }
    .gd-main .product-info-header { padding: 16px; }
    .gd-main .product-info-header .product-title { font-size: 16px; }
    .product-params { font-size: 13px; }
    .cd-time .days, .cd-time .hours, .cd-time .minutes, .cd-time .seconds {
        min-width: 22px; height: 22px; font-size: 11px; padding: 0 3px;
    }
    .gd-main .gm-f-details { font-size: 12px; line-height: 1.7; }
    .gd-main .gm-f-details h1 { font-size: 16px; }
    .gd-main .gm-f-details h2 { font-size: 15px; }
    .gd-main .gm-f-details h3 { font-size: 14px; }
    .gd-main .gm-f-details table td,
    .gd-main .gm-f-details table th { padding: 4px 6px; font-size: 11px; }
}
