/* ===== 面包屑 ===== */
.breadcrumb {
    padding: 14px 0;
    font-size: 13px;
    color: #999;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #e94560;
}

.breadcrumb span {
    margin: 0 6px;
}

/* ===== 商品详情主区域 ===== */
.detail-main {
    background-color: #fff;
    padding: 24px;
    border-radius: 4px;
    display: flex;
    gap: 40px;
}

/* 左：商品图片 */
.detail-img {
    flex-shrink: 0;
    width: 420px;
    position: relative;
    cursor: crosshair;
}

.detail-img img {
    width: 420px;
    height: 420px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* 放大镜 */
.zoom-mask {
    display: none;
    position: absolute;
    width: 140px;
    height: 140px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #ccc;
    cursor: crosshair;
    z-index: 10;
}

.zoom-big {
    display: none;
    position: absolute;
    left: 440px;
    top: 0;
    width: 420px;
    height: 420px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
    z-index: 20;
}

.zoom-big img {
    position: absolute;
    width: 1260px;
    height: 1260px;
    max-width: none;
    border: none;
}

/* 右：商品信息 */
.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 22px;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.4;
}

.detail-info .sub-title {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

/* 价格区 */
.detail-price-box {
    background-color: #f9f9f9;
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.detail-price-box .price-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.detail-price-box .price {
    font-size: 32px;
    color: #e94560;
    font-weight: bold;
}

.detail-price-box .price-old {
    font-size: 14px;
    color: #bbb;
    text-decoration: line-through;
    margin-left: 12px;
}

/* 规格参数表 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
}

.spec-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.spec-table td {
    padding: 10px 12px;
    vertical-align: top;
}

.spec-table td:first-child {
    width: 110px;
    color: #999;
    background-color: #fafafa;
    font-weight: normal;
}

.spec-table td:last-child {
    color: #333;
}

/* 数量选择 */
.qty-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #666;
}

.qty-box .qty-label {
    width: 60px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
}

.qty-btn:hover {
    border-color: #e94560;
    color: #e94560;
}

.qty-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 3px;
}

/* 按钮组 */
.detail-btns {
    display: flex;
    gap: 16px;
}

.btn-buy {
    width: 180px;
    height: 46px;
    background-color: #e94560;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-buy:hover {
    background-color: #c73652;
}

.btn-add-cart {
    width: 180px;
    height: 46px;
    background-color: #fff;
    color: #0f3460;
    font-size: 16px;
    border: 2px solid #0f3460;
    border-radius: 4px;
    cursor: pointer;
}

.btn-add-cart:hover {
    background-color: #0f3460;
    color: #fff;
}

/* ===== 商品介绍 ===== */
.detail-desc {
    background-color: #fff;
    margin-top: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.detail-desc .tab-bar {
    display: flex;
    border-bottom: 2px solid #eee;
}

.detail-desc .tab-bar span {
    padding: 14px 28px;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.detail-desc .tab-bar span.active {
    color: #e94560;
    border-bottom-color: #e94560;
    font-weight: bold;
}

.detail-desc .tab-content {
    padding: 24px;
}

.detail-desc .tab-content h3 {
    font-size: 16px;
    color: #1a1a2e;
    margin: 20px 0 10px;
    border-left: 3px solid #e94560;
    padding-left: 10px;
}

.detail-desc .tab-content h3:first-child {
    margin-top: 0;
}

.detail-desc .tab-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.detail-desc .tab-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.detail-desc .tab-content table td {
    padding: 10px 16px;
    border: 1px solid #eee;
}

.detail-desc .tab-content table td:first-child {
    width: 140px;
    background-color: #fafafa;
    color: #888;
}