/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "微软雅黑", "宋体", sans-serif;
}
a {
    text-decoration: none;
    color: #333;
}
ul, ol {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* 导航栏样式（固定顶部，自适应） */
.nav {
    width: 100%;
    height: 60px;
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.nav-list {
    display: flex;
    height: 100%;
}
.nav-list > li {
    position: relative;
    height: 100%;
    margin: 0 15px;
}
.nav-list > li > a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 5px;
}
.nav-list > li > a:hover {
    color: #ff9500; /* 辅助色，突出选中/ hover状态 */
}
/* 下拉菜单样式 */
.nav-dropdown {
    position: absolute;
    top: 60px;
    left: 0;
    width: 180px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
}
.nav-list > li:hover .nav-dropdown {
    display: block;
}
.nav-dropdown > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}
.nav-dropdown > li > a:hover {
    background-color: #f5f5f5;
    color: #ff9500;
}
/* 移动端汉堡菜单 */
.nav-hamburger {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}
/* 品类分类样式（卡片式，自适应） */
.category-container {
    padding: 80px 0 40px; /* 避开固定导航栏 */
}
.category-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: bold;
}
.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.category-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.category-card .icon {
    font-size: 40px;
    color: #d4af37; /* 金色，贴合奢侈品、黄金品类 */
    margin-bottom: 15px;
}
.category-card .name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.category-card .item {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff9500;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn:hover {
    background-color: #e68900;
}
/* 底部样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}
.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer-info {
    width: 300px;
    margin-bottom: 30px;
}
.footer-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.footer-info p {
    font-size: 14px;
    line-height: 1.8;
}
/* 响应式适配（手机端：768px以下） */
@media (max-width: 768px) {
    /* 导航栏适配 */
    .nav-list {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #333;
        flex-direction: column;
        transition: all 0.3s ease;
    }
    .nav-list.show {
        left: 0;
    }
    .nav-list > li {
        margin: 0;
        border-bottom: 1px solid #444;
    }
    .nav-list > li > a {
        padding: 0 20px;
    }
    /* 下拉菜单适配手机端 */
    .nav-dropdown {
        position: static;
        width: 100%;
        background-color: #444;
        box-shadow: none;
    }
    .nav-dropdown > li > a {
        color: #fff;
        padding: 12px 30px;
    }
    .nav-dropdown > li > a:hover {
        background-color: #555;
        color: #ff9500;
    }
    .nav-hamburger {
        display: block;
    }
    /* 品类分类适配手机端 */
    .category-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    /* 底部适配 */
    .footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-info {
        width: 100%;
    }
}
/* 平板端适配（768px-992px） */
@media (min-width: 769px) and (max-width: 992px) {
    .category-list {
        grid-template-columns: repeat(2, 1fr);
    }
}