/* Goods Detail Styles */

.detail-breadcrumb {
    padding: 20px 0;
    color: #999;
    font-size: 14px;
    background: #f9f9f9;
    margin-bottom: 40px;
}

.detail-breadcrumb a {
    color: #666;
}

.detail-breadcrumb a:hover {
    color: var(--accent);
}

/* Detail Top Section */
.goods-detail-top {
    display: flex;
    gap: 50px;
    margin-bottom: 60px;
}

/* Gallery */
.detail-gallery {
    width: 500px;
    flex-shrink: 0;
}

.main-image {
    width: 100%;
    height: 500px;
    border: 1px solid #eee;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
}

.thumb-list {
    display: flex;
    gap: 10px;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 1px solid #eee;
    cursor: pointer;
    padding: 5px;
}

.thumb.active, .thumb:hover {
    border-color: var(--accent);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Info */
.detail-info {
    flex: 1;
}

.product-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    font-weight: normal;
}

.product-price {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.product-price .currency {
    font-size: 20px;
}

.market-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-meta {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 30px;
}

.meta-row {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-row .label {
    color: #999;
    width: 80px;
    display: inline-block;
}

/* Actions */
.product-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.qty-control {
    display: flex;
    height: 45px;
    border: 1px solid #ddd;
}

.qty-btn {
    width: 40px;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-input {
    width: 60px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.btn-add-cart, .btn-buy-now {
    height: 45px;
    padding: 0 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.btn-buy-now {
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-buy-now:hover {
    background: var(--accent-hover-bg);
}

.social-share {
    color: #999;
    font-size: 14px;
}

.social-share a {
    color: #666;
    margin-left: 10px;
}

.social-share a:hover {
    color: var(--accent);
}

/* Content Tabs */
.goods-content-section {
    margin-bottom: 60px;
}

.content-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-item {
    padding: 15px 30px;
    font-size: 16px;
    color: #666;
    position: relative;
    bottom: -1px;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.desc-box {
    line-height: 1.8;
    color: #666;
    font-size: 15px;
}

.desc-box p {
    margin-bottom: 15px;
}

.desc-box img {
    max-width: 100%;
    margin: 20px 0;
}

/* Related Products */
.related-products {
    margin-bottom: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .goods-detail-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .detail-gallery {
        width: 100%;
    }
    
    .main-image {
        height: 300px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-group {
        width: 100%;
    }
    
    .btn-add-cart, .btn-buy-now {
        flex: 1;
    }
}
