/* 页面横幅样式 */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 茶具介绍样式 */
.teaware-intro {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 筛选按钮样式 */
.teaware-filter {
    text-align: center;
    margin: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid #4a6741;
    background: none;
    color: #4a6741;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4a6741;
    color: #fff;
}

/* 茶具网格布局 */
.teaware-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* 茶具项目样式 */
.teaware-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.teaware-item:hover {
    transform: translateY(-5px);
}

.teaware-image {
    position: relative;
    overflow: hidden;
}

.teaware-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 103, 65, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.teaware-item:hover .image-overlay {
    opacity: 1;
}

.view-details {
    color: #fff;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 20px;
}

.teaware-info {
    padding: 1.5rem;
}

.teaware-info h3 {
    color: #4a6741;
    margin-bottom: 0.5rem;
}

.teaware-info .brief {
    color: #666;
    margin-bottom: 1rem;
}

.details {
    display: none;
}

.details h4 {
    color: #4a6741;
    margin: 1rem 0 0.5rem;
}

.details ul {
    list-style: none;
    padding-left: 1rem;
}

.details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.details li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a6741;
}

/* 弹窗样式 */
.teaware-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #4a6741;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .teaware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .teaware-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 