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

:root {
    --primary-gold: #d4af37;
    --dark-gold: #b8941f;
    --light-gold: #f1e5ac;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #aaaaaa;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.gold-text {
    color: var(--primary-gold);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background-color: rgba(10, 10, 10, 0.95);
    color: var(--text-light);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    color: var(--primary-gold);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    position: relative;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    padding: 8px 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-gold);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--primary-gold);
}

nav ul li a:hover:after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-actions a {
    color: var(--text-light);
    margin-left: 20px;
    font-size: 18px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: var(--primary-gold);
}

/* 轮播图样式 */
.carousel-section {
    position: relative;
    margin-bottom: 80px;
}

.carousel {
    position: relative;
    height: 650px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.carousel-slides {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.1) 100%);
    z-index: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 100px;
    left: 80px;
    z-index: 2;
    max-width: 550px;
}

.slide-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.slide-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-gold);
    color: #1a1a1a;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.slide-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.carousel-controls {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 3;
    display: flex;
    align-items: center;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.carousel-indicator.active {
    background: var(--primary-gold);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 26, 26, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.carousel-arrow:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-gold);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

/* 商品展示区样式 */
.products-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--primary-gold);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.search-container {
    position: relative;
    width: 500px;
}

.search-container input {
    width: 100%;
    padding: 16px 25px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 16px;
    color: var(--text-light);
    transition: all 0.3s;
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.search-container button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--primary-gold);
    color: #1a1a1a;
    border: none;
    padding: 11px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.search-container button:hover {
    background: var(--dark-gold);
}

/* 品牌分类 */
.brands-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.brand-btn {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.brand-btn:hover, .brand-btn.active {
    background: var(--primary-gold);
    color: #1a1a1a;
    border-color: var(--primary-gold);
}

/* 产品网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.product-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 45px 60px rgba(0, 0, 0, 1);
}

.product-card:hover:before {
    opacity: 1;
}

.product-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 105%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover .product-img img {
    transform: scale(1.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-gold);
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 10px;
    position: relative;
    z-index: 2;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 2px;
    font-weight: 600;
    white-space: wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-info p {
    color: var(--text-gray);
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 1.4;
    height: 36px;
	white-space: wrap;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 2px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 0;
    transition: color 0.3s;
	
}

.product-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.product-link:hover {
    color: var(--primary-gold);
}

.product-link:hover i {
    transform: translateX(5px);
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination a.active {
    background: var(--primary-gold);
    color: #1a1a1a;
    border: 1px solid var(--primary-gold);
}

.pagination a:hover:not(.active) {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 制作工艺展示 */
.craftsmanship {
    padding: 80px 0;
    background: rgba(26, 26, 26, 0.5);
    margin-top: 50px;
}

.craftsmanship-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.craft-step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
    position: relative;
}

.craft-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10px;
    width: 50%;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-gold);
    font-size: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.step-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.step-desc {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.5;
}

/* 页脚样式 */
footer {
    background: #0a0a0a;
    color: var(--text-light);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--primary-gold);
    margin-bottom: 25px;
    font-size: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-column p, .footer-column a {
    color: var(--text-gray);
    margin-bottom: 12px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.6;
}

.footer-column a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-gold);
    color: #1a1a1a;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 14px;
}

/* 产品筛选动画 */
.products-grid {
    transition: all 0.3s ease;
}

.product-card {
    transition: all 0.3s ease;
}

.no-products-message {
    animation: fadeIn 0.5s ease;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.no-products-message i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-products-message h3 {
    margin-bottom: 10px;
    color: var(--text-light);
}

.reset-filter-btn {
    margin-top: 20px;
    background: var(--primary-gold);
    color: #1a1a1a;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.reset-filter-btn:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 品牌按钮激活状态增强 */
.brand-btn.active {
    background: var(--primary-gold);
    color: #1a1a1a;
    border-color: var(--primary-gold);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .carousel {
        height: 500px;
    }
    
    .slide-content {
        left: 50px;
        bottom: 80px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .craftsmanship-steps {
        flex-wrap: wrap;
    }
    
    .craft-step {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }
    
    .craft-step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px 10px;
    }
    
    .carousel {
        height: 400px;
    }
    
    .slide-content {
        left: 30px;
        bottom: 60px;
        max-width: 80%;
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .search-container {
        width: 90%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .craft-step {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
}