* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    max-width: 414px;
    margin: 0 auto;
    padding-bottom: 70px;
}

/* 顶部导航 */
.top-nav {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    max-width: 414px;
    margin: 0 auto;
}

.nav-left, .nav-right {
    width: 60px;
}

.back-btn {
    color: #d4af37;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.logo-center {
    font-size: 18px;
    font-weight: bold;
    color: #d4af37;
    white-space: nowrap;
}

.share-btn {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 14px;
    cursor: pointer;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 414px;
    margin: 0 auto;
    padding: 4px;
}

/* 卖家信息 */
.seller-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.seller-info {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.seller-status {
    font-size: 12px;
    color: #999;
    margin-left: 20px;
}

.seller-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.seller-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.seller-meta {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.follow-btn {
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1a1a2e;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

/* 价格区域 */
.price-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-symbol {
    font-size: 20px;
    color: #ff4d4f;
    font-weight: bold;
}

.price-value {
    font-size: 32px;
    color: #ff4d4f;
    font-weight: bold;
}

.free-shipping {
    background: #ff4d4f;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
}

.want-count,
.view-count {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}

.want-count::after {
    content: '|';
    margin-left: 12px;
    color: #ddd;
}

/* 商品信息 */
.product-info-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    background: #fff9e6;
    color: #d4af37;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.product-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 商品图片 */
.product-images-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.main-image-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumb-list::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
}

.thumb-item.active {
    border-color: #d4af37;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 互动按钮 */
.action-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
}

.action-btn.like-btn {
    color: #ff4d4f;
}

.action-icon {
    font-size: 18px;
}

/* 评论区 */
.comment-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.comment-count {
    font-size: 13px;
    color: #999;
}

.comment-list {
    margin-bottom: 15px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-user {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.seller-tag {
    background: #d4af37;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    margin-left: 4px;
}

.comment-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.comment-time {
    font-size: 12px;
    color: #999;
}

.comment-input-bar {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.comment-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.send-btn {
    background: #d4af37;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* 卖家其它藏品 */
.seller-products-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.view-more {
    font-size: 13px;
    color: #d4af37;
    text-decoration: none;
}

.seller-products-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.seller-products-grid::-webkit-scrollbar {
    display: none;
}

.product-card-small {
    flex: 0 0 120px;
    text-decoration: none;
    color: inherit;
}

.product-img-small {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.product-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-title-small {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.product-price-small {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: bold;
}

/* 保荐人信息 */
.sponsor-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.sponsor-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.sponsor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.sponsor-info {
    flex: 1;
}

.sponsor-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sponsor-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.sponsor-title {
    font-size: 13px;
    color: #d4af37;
}

.sponsor-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* 瀑布流 */
.waterfall-section {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.waterfall-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.waterfall-item {
    text-decoration: none;
    color: inherit;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.waterfall-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.waterfall-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.waterfall-info {
    padding: 10px;
}

.waterfall-title {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 4px;
}

.waterfall-price {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: bold;
    margin-bottom: 4px;
}

.waterfall-seller {
    font-size: 12px;
    color: #999;
}

/* 底部操作栏 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 414px;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    gap: 10px;
}

.bottom-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.bottom-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.bottom-text {
    font-size: 11px;
}

.buy-now-btn {
    flex: 1;
    background: #f0f0f0;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.chat-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.chat-icon {
    font-size: 16px;
}

.chat-text {
    font-size: 14px;
}
