/* 前台公共样式 */
body {
    background: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

a {
    color: #1890ff;
    text-decoration: none;
}

a:hover {
    color: #40a9ff;
    text-decoration: none;
}

.navbar {
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
}

.navbar-nav > li > a {
    font-size: 14px;
}

.panel {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.panel-heading {
    font-weight: 500;
}

.thumbnail {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.footer {
    padding: 30px 0;
    margin-top: 40px;
    background: #fff;
    border-top: 1px solid #e8e8e8;
}

.footer p {
    margin: 0;
    color: #999;
    font-size: 13px;
}

/* 产品中心 */
.product-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

.product-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-size: 20px;
    color: #ff4d4f;
    font-weight: bold;
}

.product-price small {
    font-size: 12px;
    color: #999;
    font-weight: normal;
}

/* 轮播图 */
.carousel-inner > .item {
    height: 300px;
    background: #000;
}

.carousel-inner > .item > img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* 公告列表 */
.announcement-item {
    padding: 15px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.announcement-time {
    color: #999;
    font-size: 12px;
}

/* 授权验证提示 */
.auth-check-success {
    text-align: center;
    padding: 40px 20px;
}

.auth-check-success .check-icon {
    font-size: 80px;
    color: #52c41a;
    margin-bottom: 20px;
}

.auth-check-fail {
    text-align: center;
    padding: 40px 20px;
}

.auth-check-fail .check-icon {
    font-size: 80px;
    color: #ff4d4f;
    margin-bottom: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-inner > .item {
        height: 180px;
    }
    
    .carousel-inner > .item > img {
        height: 180px;
    }
}
