:root {
    --gold: #C9A96E;
    --dark-bg: #1a1a1a;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 60px;
}

/* 导航栏样式 */
.navbar-custom {
    background-color: var(--dark-bg) !important;
    transition: transform 0.4s ease-in-out;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-brand {
    font-weight: 300 !important;
}

.navbar_button {
    transition: all 0.3s;
}

.navbar_button:hover {
    transform: scale(1.1);
}

.bg-gold {
    background-color: var(--gold) !important;
}

/* 字体类 */
.DM {
    font-family: 'DM Sans', sans-serif;
}

.SA {
    font-family: "BBH Sans Bogle", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* Card */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.product-image {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    font-weight: 300;
    letter-spacing: 1px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.price-tag {
    color: var(--gold);
    font-weight: 500;
}

/* 英雄区域样式 */
.me-section {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.me-title {
    font-weight: 300;
    letter-spacing: 0.8rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.me-subtitle {
    letter-spacing: 0.3rem;
    opacity: 0.9;
}

/* 分类筛选样式 */
.category-filter {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.category-btn {
    border: none;
    background: transparent;
    color: #666;
    font-weight: 300;
    letter-spacing: 1px;
    padding: 8px 20px;
    margin: 0 5px;
    transition: all 0.3s;
    position: relative;
}

.category-btn:hover,
.category-btn.active {
    color: #000;
}

.category-btn.active:after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

/* 促销区域样式 */
.promo-section {
    height: 45rem;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1559056199-641a0ac8b55e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.promo-title {
    font-weight: 300;
    letter-spacing: 0.5rem;
}

.discount-number {
    letter-spacing: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* 页脚样式 */
.footer-contact i {
    width: 20px;
}

/* 加载和动画样式 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.flag {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.flag.show {
    opacity: 1;
    transform: translateY(0);
}