/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --gold: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8860b;
    --white: #ffffff;
    --text-light: #e0e0e0;
    --text-medium: #c0c0c0;
    --text-dark: #808080;
    --gray-light: #f8f9fa;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-black);
    overflow-x: hidden;
    /* 自定义页面滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.6) rgba(26, 26, 26, 0.3);
}

/* 页面主滚动条样式 */
body::-webkit-scrollbar {
    width: 12px;
    background: rgba(26, 26, 26, 0.8);
}

body::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.8) 0%, 
        rgba(212, 175, 55, 0.6) 50%, 
        rgba(212, 175, 55, 0.4) 100%);
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 26, 0.8);
    transition: all 0.3s ease;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 1) 0%, 
        rgba(212, 175, 55, 0.8) 50%, 
        rgba(212, 175, 55, 0.6) 100%);
}

body::-webkit-scrollbar-thumb:active {
    background: var(--gold);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    padding: 10px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo svg {
    width: 70px;
    height: 70px;
    transition: var(--transition);
}

.nav-logo svg:hover {
    transform: scale(1.1);
}

.nav-logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-right: auto;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    font-size: 15px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 主横幅 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px 0 20px;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.hero-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    gap: 80px;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-description {
    margin-bottom: 40px;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.hero-image.no-image {
    background: linear-gradient(45deg, var(--secondary-black), var(--primary-black));
    border: 2px solid var(--gold);
    border-radius: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image.no-image::before {
    content: "🎱";
    font-size: 80px;
    color: var(--gold);
    opacity: 0.3;
}

/* 主横幅品牌展示区 */
.hero-brands {
    flex: 0.8;
    padding: 70px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 650px;
    position: relative;
    z-index: 5;
    margin-top: 40px;
}

.hero-brands-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.hero-brands-header h3 {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1001;
    padding-top: 30px;
    margin-top: 20px;
}

.hero-brands-subtitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 1000px;
}

.hero-brands-header p {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
}

.hero-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    max-width: 1000px;
    width: 100%;
}

.hero-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 130px;
    min-width: 200px;
    text-align: center;
}

.hero-brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.hero-brand-card:hover::before {
    left: 100%;
}

.hero-brand-card:hover {
    transform: translateY(-3px);
    border-color: #d4af37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.hero-brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}

.hero-brand-logo svg {
    transition: all 0.3s ease;
}

.hero-brand-card:hover .hero-brand-logo svg {
    transform: scale(1.15);
}

.hero-brand-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
    overflow: visible;
    width: 100%;
}

.hero-brand-info h4 {
    color: #cccccc;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    overflow: visible;
    text-align: center;
    max-width: 100%;
}

/* 移除原来的简短介绍样式，因为我们不再显示它 */

/* 添加悬浮描述的样式 */
.hero-brand-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none; /* 避免覆盖点击 */
}

.hero-brand-description p {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.5;
    text-align: center;
    margin: 0;
    max-width: 100%;
    word-wrap: break-word;
}

.hero-brand-card:hover .hero-brand-info h4 {
    color: #d4af37;
}

/* 悬浮时不再显示描述，仅放大logo */
.hero-brand-card:hover .hero-brand-description {
    opacity: 0;
    visibility: hidden;
}

.hero-brands-more {
    flex-shrink: 0;
    margin-left: 20px;
    margin-right: -50px;
    z-index: 15;
}

.hero-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #d4af37;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-more-btn:hover {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: translateY(-1px);
}

.hero-more-btn svg {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
}

.hero-more-btn:hover svg {
    transform: translateX(2px);
}

/* 响应式设计 - 主横幅品牌区 */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        gap: 40px;
        max-width: 100%;
    }
    
    .hero-content {
        flex: none;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-brands {
        flex: none;
        min-height: 600px;
        padding: 60px 20px 20px 20px;
        width: 100%;
        margin-top: 30px;
    }
    
    .hero-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 800px;
    }
    
    .hero-brand-card {
        padding: 15px;
        gap: 10px;
        min-height: 120px;
        min-width: 180px;
    }
    
    .hero-brand-logo {
        width: 55px;
        height: 55px;
    }
    
    .hero-brand-logo svg {
        width: 55px;
        height: 55px;
    }
    
    .hero-brand-info h4 {
        font-size: 0.95rem;
        line-height: 1.1;
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
        text-align: center;
        max-width: 100%;
    }
    
    /* 移动端的描述样式调整 */
    .hero-brand-description {
        padding: 15px;
    }
    
    .hero-brand-description p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .hero-brands-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-container {
        gap: 30px;
        padding: 0 15px;
    }
    
    .hero-brands {
        min-height: 500px;
        padding: 80px 15px 15px 15px;
        margin-top: 40px;
    }
    
    .hero-brands-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
        max-width: 500px;
    }
    
    .hero-brand-card {
        padding: 15px;
        gap: 10px;
        min-height: 110px;
        min-width: 280px;
    }
    
    .hero-brand-logo {
        width: 50px;
        height: 50px;
    }
    
    .hero-brand-logo svg {
        width: 50px;
        height: 50px;
    }
    
    .hero-brand-info h4 {
        font-size: 0.95rem;
        line-height: 1.1;
        white-space: normal;
        word-wrap: break-word;
        overflow: visible;
        text-align: center;
        max-width: 100%;
    }
    
    /* 移动端的描述样式调整 */
    .hero-brand-description {
        padding: 15px;
    }
    
    .hero-brand-description p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .hero-brands-header h3 {
        font-size: 1.3rem;
    }
}

/* 按钮样式 */
.btn-primary, .btn-secondary, .btn-product {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: var(--primary-black);
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.btn-product {
    background: var(--secondary-black);
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 20px;
    font-size: 14px;
}

.btn-product:hover {
    background: var(--gold);
    color: var(--primary-black);
}

/* 区域标题 */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-light);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 产品系列 */
.products {
    padding: 120px 0;
    background: var(--secondary-black);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    background: linear-gradient(135deg, var(--primary-black), rgba(26, 26, 26, 0.8));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--gold);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-image.no-image {
    background: linear-gradient(135deg, var(--secondary-black), rgba(212, 175, 55, 0.1));
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image.no-image::before {
    content: "🎯";
    font-size: 60px;
    color: var(--gold);
    opacity: 0.4;
}

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.product-info p {
    color: var(--gray-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-features span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
}

/* 定制服务 */
.custom-section {
    padding: 120px 0;
    background: var(--primary-black);
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.custom-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.custom-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.custom-process {
    margin-bottom: 40px;
}

.process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: var(--primary-black);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--gray-light);
}

.custom-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.custom-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
}

.btn-large {
    font-size: 1.1rem;
    padding: 18px 32px;
    font-weight: 600;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-large:hover::before {
    left: 100%;
}

/* 工艺大师 */
.masters {
    padding: 120px 0;
    background: var(--secondary-black);
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

.master-card {
    background: linear-gradient(135deg, var(--primary-black), rgba(26, 26, 26, 0.8));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.master-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.master-image {
    height: 300px;
    overflow: hidden;
}

.master-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.master-info {
    padding: 30px;
}

.master-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.master-title {
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 5px;
}

.master-experience {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.master-description {
    color: var(--gray-light);
    line-height: 1.6;
}

/* 品牌展示区 */
.brands-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.brands-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.brands-section .section-title {
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-weight: 700;
}

.brands-section .section-subtitle {
    color: #cccccc;
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.brand-card:hover::before {
    left: 100%;
}

.brand-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.brand-logo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.brand-logo svg {
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo svg {
    transform: scale(1.1);
}

.brand-info h3 {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-info h3 {
    color: #ffffff;
}

.brand-info p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.brand-card:hover .brand-info p {
    color: #ffffff;
}

.brands-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
}

.btn-more svg {
    transition: transform 0.3s ease;
}

.btn-more:hover svg {
    transform: translateX(3px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .brand-card {
        padding: 20px;
    }
    
    .brands-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-card {
        padding: 15px;
    }
    
    .brand-logo {
        height: 80px;
    }
}

/* 品牌详情模态框样式 */
.brand-detail-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.brand-detail-modal[style*="block"] {
    opacity: 1;
}

.brand-detail-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    max-width: 700px;
    width: 95%;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    margin: 5vh auto;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.brand-detail-modal[style*="block"] .brand-detail-content {
    transform: scale(1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 弹框头部样式 */
.brand-detail-header {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    padding: 18px 30px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.brand-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

.brand-logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.brand-logo-mini {
    flex-shrink: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.brand-title-section {
    flex: 1;
    min-width: 0;
}

.brand-modal-title {
    color: #1a1a1a;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 3px 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.brand-modal-subtitle {
    color: rgba(26, 26, 26, 0.8);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.3;
}

.modal-close-btn {
    background: rgba(26, 26, 26, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    background: rgba(26, 26, 26, 0.2);
    transform: rotate(90deg);
}

/* 弹框主体样式 */
.brand-detail-body {
    padding: 35px;
    color: #ffffff;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 rgba(255, 255, 255, 0.1);
}

.brand-detail-body::-webkit-scrollbar {
    width: 6px;
}

.brand-detail-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.brand-detail-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37, #b8941f);
    border-radius: 3px;
}

.brand-introduction {
    margin-bottom: 35px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
}

.title-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.brand-full-description {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
    text-align: justify;
}

/* 品牌特色区域 */
.brand-features-section {
    margin-bottom: 35px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-item:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.feature-item:hover::before {
    left: 100%;
}

.feature-bullet {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.feature-text {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

/* 详情卡片网格 */
.brand-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}

.detail-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.detail-icon {
    font-size: 2.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    flex-shrink: 0;
}

.detail-info h4 {
    color: #d4af37;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.detail-info p {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
}

/* 联系按钮样式 */
.brand-actions {
    text-align: center;
    padding: 20px 0;
}

.btn-contact-modern {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #d4af37 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 50px;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-contact-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-contact-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.btn-contact-modern:hover::before {
    left: 100%;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-contact-modern:hover .btn-icon {
    transform: scale(1.1);
}

.btn-text {
    font-weight: 600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .brand-detail-content {
        width: 98%;
        margin: 2vh auto;
        max-height: 90vh;
    }
    
    .brand-detail-header {
        padding: 15px 25px;
    }
    
    .brand-logo-section {
        gap: 15px;
    }
    
    .brand-modal-title {
        font-size: 1.4rem;
    }
    
    .brand-modal-subtitle {
        font-size: 0.85rem;
    }
    
    .brand-detail-body {
        padding: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .brand-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .brand-detail-header {
        padding: 12px 20px;
    }
    
    .brand-logo-section {
        gap: 12px;
    }
    
    .brand-modal-title {
        font-size: 1.2rem;
    }
    
    .brand-detail-body {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .modal-close-btn {
        width: 35px;
        height: 35px;
    }
}

.brand-detail-description h4,
.brand-detail-features h4 {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 8px;
}

.brand-detail-description p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.brand-detail-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.brand-detail-features li {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    color: #d4af37;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.brand-detail-features li:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.brand-detail-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.spec-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.95rem;
}

.spec-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
}

.brand-detail-content .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.brand-detail-content .modal-footer button {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-detail-content .modal-footer .btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    border: none;
}

.brand-detail-content .modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.brand-detail-content .modal-footer .btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.brand-detail-content .modal-footer .btn-secondary:hover {
    background: #d4af37;
    color: #1a1a1a;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .brand-detail-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 90vh;
    }
    
    .brand-detail-content .modal-header {
        padding: 15px 20px;
    }
    
    .brand-detail-content .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .brand-detail-content .modal-body {
        padding: 20px;
    }
    
    .brand-detail-features ul {
        grid-template-columns: 1fr;
    }
    
    .brand-detail-specs {
        grid-template-columns: 1fr;
    }
    
    .brand-detail-content .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .brand-detail-content .modal-footer button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-detail-content {
        width: 98%;
        margin: 1vh auto;
    }
    
    .brand-detail-content .modal-header {
        padding: 12px 15px;
    }
    
    .brand-detail-content .modal-body {
        padding: 15px;
    }
    
    .brand-detail-info {
        gap: 20px;
    }
}

/* 品牌展示页面样式 */
.page-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23d4af37" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    pointer-events: none;
}

.page-title {
    color: #d4af37;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    color: #cccccc;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 品牌筛选 */
.brand-filter {
    background: #1a1a1a;
    padding: 30px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: #cccccc;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

.filter-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    border-color: #d4af37;
}

/* 品牌展示区 */
.brands-showcase {
    padding: 80px 0;
    background: #0f0f0f;
}

.brands-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.brand-card-extended {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-card-extended::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.brand-card-extended:hover::before {
    left: 100%;
}

.brand-card-extended:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.brand-logo-large {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.brand-logo-large svg {
    transition: all 0.3s ease;
}

.brand-card-extended:hover .brand-logo-large svg {
    transform: scale(1.1);
}

.brand-info-extended {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.brand-info-extended h3 {
    color: #d4af37;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.brand-card-extended:hover .brand-info-extended h3 {
    color: #ffffff;
}

.brand-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card-extended:hover .brand-description {
    color: #ffffff;
}

.brand-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    min-height: 40px;
    align-items: center;
}

.feature-tag {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.brand-card-extended:hover .feature-tag {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
}

.brand-price {
    color: #d4af37;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.btn-brand-detail {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-brand-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
}

/* 品牌合作 */
.brand-cooperation {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

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

.cooperation-feature {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cooperation-feature:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cooperation-feature h3 {
    color: #d4af37;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cooperation-feature p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* 联系咨询 */
.brand-consultation {
    padding: 80px 0;
    background: #0f0f0f;
    text-align: center;
}

.consultation-content h2 {
    color: #d4af37;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-content p {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 50px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .brands-grid-extended {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .brand-card-extended {
        padding: 30px;
        min-height: 450px;
    }
    
    .filter-controls {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cooperation-features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .consultation-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 90px 0 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .brand-card-extended {
        padding: 20px;
        min-height: 400px;
    }
    
    .brand-logo-large {
        height: 120px;
    }
    
    .brand-info-extended h3 {
        font-size: 1.5rem;
    }
    
    .consultation-content h2 {
        font-size: 2rem;
    }
}

/* 作品展示 */
.gallery {
    padding: 120px 0;
    background: var(--primary-black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    color: var(--gray-light);
}

/* 关于我们 */
.about {
    padding: 120px 0;
    background: var(--secondary-black);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.about-intro {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--gray-light);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* 联系我们 */
.contact {
    padding: 120px 0;
    background: var(--primary-black);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3, .contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-label {
    color: var(--gold);
    font-weight: 500;
    min-width: 80px;
    flex-shrink: 0;
}

.contact-item span:last-child {
    color: var(--gray-light);
}

.contact-form {
    background: linear-gradient(135deg, var(--secondary-black), rgba(26, 26, 26, 0.8));
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-medium);
}

/* 页脚 */
.footer {
    background: var(--primary-black);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-section h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.footer-section p {
    color: var(--gray-light);
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold);
}

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

.social-links a {
    color: var(--gold);
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid var(--gold);
    border-radius: 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-black);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--gray-medium);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        border-top: 1px solid var(--gold);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        text-align: center;
        padding: 120px 20px 50px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .custom-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .custom-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-large {
        min-width: auto;
        width: 100%;
    }
    
    .masters-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* 购物车样式 */
.nav-cart {
    display: flex;
    align-items: center;
}

.cart-button {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.cart-button:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--primary-black);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-cart {
    background: linear-gradient(135deg, var(--secondary-black), var(--primary-black));
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--secondary-black);
    margin: 5% auto;
    border: 2px solid var(--gold);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

/* 自定义滚动条样式 - 适用于所有弹框 */
.modal-content,
.listing-modal,
.my-listings-modal,
.order-modal,
.order-detail-modal,
.cue-3d-modal-content,
.payment-modal-content {
    /* Firefox 滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.6) rgba(26, 26, 26, 0.3);
}

.modal-content::-webkit-scrollbar,
.listing-modal::-webkit-scrollbar,
.my-listings-modal::-webkit-scrollbar,
.order-modal::-webkit-scrollbar,
.order-detail-modal::-webkit-scrollbar,
.cue-3d-modal-content::-webkit-scrollbar,
.payment-modal-content::-webkit-scrollbar {
    width: 8px;
    background: rgba(26, 26, 26, 0.3);
}

.modal-content::-webkit-scrollbar-track,
.listing-modal::-webkit-scrollbar-track,
.my-listings-modal::-webkit-scrollbar-track,
.order-modal::-webkit-scrollbar-track,
.order-detail-modal::-webkit-scrollbar-track,
.cue-3d-modal-content::-webkit-scrollbar-track,
.payment-modal-content::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb,
.listing-modal::-webkit-scrollbar-thumb,
.my-listings-modal::-webkit-scrollbar-thumb,
.order-modal::-webkit-scrollbar-thumb,
.order-detail-modal::-webkit-scrollbar-thumb,
.cue-3d-modal-content::-webkit-scrollbar-thumb,
.payment-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.8) 0%, 
        rgba(212, 175, 55, 0.6) 50%, 
        rgba(212, 175, 55, 0.4) 100%);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.listing-modal::-webkit-scrollbar-thumb:hover,
.my-listings-modal::-webkit-scrollbar-thumb:hover,
.order-modal::-webkit-scrollbar-thumb:hover,
.order-detail-modal::-webkit-scrollbar-thumb:hover,
.cue-3d-modal-content::-webkit-scrollbar-thumb:hover,
.payment-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 1) 0%, 
        rgba(212, 175, 55, 0.8) 50%, 
        rgba(212, 175, 55, 0.6) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.modal-content::-webkit-scrollbar-thumb:active,
.listing-modal::-webkit-scrollbar-thumb:active,
.my-listings-modal::-webkit-scrollbar-thumb:active,
.order-modal::-webkit-scrollbar-thumb:active,
.order-detail-modal::-webkit-scrollbar-thumb:active,
.cue-3d-modal-content::-webkit-scrollbar-thumb:active,
.payment-modal-content::-webkit-scrollbar-thumb:active {
    background: var(--gold);
}

/* 隐藏滚动条的选项（如果需要完全隐藏） */
.scrollbar-hidden {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none; /* Webkit browsers */
}

/* 统一下拉框样式 - 适用于所有弹框 */
.modal-content select,
.listing-modal select,
.my-listings-modal select,
.order-modal select,
.order-detail-modal select,
.my-listings-filters select,
.order-filters select,
.form-group select,
#myListingsStatus,
#orderStatusFilter,
#orderTypeFilter,
.filter-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--secondary-black);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 12px 16px;
    padding-right: 40px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    min-width: 140px;
}

.modal-content select:hover,
.listing-modal select:hover,
.my-listings-modal select:hover,
.order-modal select:hover,
.order-detail-modal select:hover,
.my-listings-filters select:hover,
.order-filters select:hover,
.form-group select:hover,
#myListingsStatus:hover,
#orderStatusFilter:hover,
#orderTypeFilter:hover,
.filter-group select:hover {
    border-color: var(--gold-light);
    background-color: rgba(26, 26, 26, 0.8);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

.modal-content select:focus,
.listing-modal select:focus,
.my-listings-modal select:focus,
.order-modal select:focus,
.order-detail-modal select:focus,
.my-listings-filters select:focus,
.order-filters select:focus,
.form-group select:focus,
#myListingsStatus:focus,
#orderStatusFilter:focus,
#orderTypeFilter:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
    background-color: rgba(26, 26, 26, 0.9);
}

.modal-content select:active,
.listing-modal select:active,
.my-listings-modal select:active,
.order-modal select:active,
.order-detail-modal select:active,
.my-listings-filters select:active,
.order-filters select:active,
.form-group select:active,
#myListingsStatus:active,
#orderStatusFilter:active,
#orderTypeFilter:active,
.filter-group select:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* 下拉框选项样式（部分浏览器支持） */
.modal-content select option,
.listing-modal select option,
.my-listings-modal select option,
.order-modal select option,
.order-detail-modal select option,
.my-listings-filters select option,
.order-filters select option,
.form-group select option,
#myListingsStatus option,
#orderStatusFilter option,
#orderTypeFilter option,
.filter-group select option {
    background: var(--secondary-black);
    color: var(--text-light);
    padding: 8px 12px;
    border: none;
}

/* 特殊下拉框容器样式 */
.my-listings-filters {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.order-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    flex-wrap: wrap;
}

/* 筛选器区域样式优化 */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 140px;
}

.filter-group label {
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 禁用状态样式 */
.modal-content select:disabled,
.listing-modal select:disabled,
.my-listings-modal select:disabled,
.order-modal select:disabled,
.order-detail-modal select:disabled,
.my-listings-filters select:disabled,
.order-filters select:disabled,
.form-group select:disabled,
.filter-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(26, 26, 26, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .modal-content select,
    .listing-modal select,
    .my-listings-modal select,
    .order-modal select,
    .order-detail-modal select,
    .my-listings-filters select,
    .order-filters select,
    .form-group select,
    .filter-group select {
        padding: 10px 14px;
        padding-right: 36px;
        font-size: 14px;
        min-width: 120px;
    }

    .order-filters {
        flex-direction: column;
        gap: 12px;
    }

    .filter-group {
        min-width: 100%;
    }
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
    padding: 20px;
    border-bottom: 1px solid var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 13px 13px 0 0;
}

.modal-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 24px;
}

.close {
    color: var(--gold);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #e6c547;
}

.modal-body {
    padding: 20px;
    color: var(--white);
}

/* 购物车样式 */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info h4 {
    color: var(--gold);
    margin: 0 0 5px 0;
}

.cart-item-info p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--gold);
    border-radius: 5px;
}

.quantity-btn {
    background: none;
    border: none;
    color: var(--gold);
    padding: 5px 10px;
    cursor: pointer;
    font-size: 16px;
}

.quantity-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.quantity-input {
    background: none;
    border: none;
    color: var(--text-light);
    text-align: center;
    width: 50px;
    padding: 5px;
}

.remove-btn {
    background: none;
    border: 1px solid #ff4444;
    color: #ff4444;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.remove-btn:hover {
    background: #ff4444;
    color: white;
}

.cart-total {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: var(--text-light);
}

.total-final {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 10px;
    margin-top: 15px;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* 结算页面样式 */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.checkout-section input,
.checkout-section select,
.checkout-section textarea {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
}

.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.checkout-section textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 80px;
}

/* 地址选择区域样式 */
.address-selection-area {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
}

.address-selection-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.address-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
}

.address-option input[type="radio"] {
    accent-color: var(--gold);
}

.btn-link {
    background: none;
    border: none;
    color: var(--gold);
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

.btn-link:hover {
    color: #fff;
}

.saved-address-list {
    max-height: 200px;
    overflow-y: auto;
}

.loading-addresses {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
    font-style: italic;
}

.checkout-address-item {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-address-item:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.checkout-address-item.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.checkout-address-item .address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.checkout-address-item .contact-info {
    color: var(--gold);
    font-weight: 500;
    font-size: 14px;
}

.checkout-address-item .default-tag {
    background: var(--gold);
    color: var(--primary-black);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

.checkout-address-item .address-detail {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.4;
}

.no-saved-addresses {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
    font-style: italic;
}

.no-saved-addresses .btn-secondary {
    margin-top: 10px;
}

/* 支付方式样式 */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-method {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-method:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.payment-method.selected {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-light);
}

.payment-icon {
    font-size: 24px;
}

/* 订单摘要样式 */
.order-summary {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.order-summary h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 18px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.checkout-item:last-child {
    border-bottom: none;
}

.summary-totals {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    color: var(--text-light);
}

.summary-total {
    font-size: 18px;
    font-weight: bold;
    color: var(--gold);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 10px;
    margin-top: 15px;
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* 支付页面样式 */
.payment-content {
    text-align: center;
    padding: 20px;
}

.payment-qr {
    margin: 20px 0;
}

.payment-qr img {
    width: 200px;
    height: 200px;
    border: 2px solid var(--gold);
    border-radius: 10px;
}

.payment-form {
    text-align: left;
}

.payment-form input {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    font-size: 14px;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--gold);
}

/* 成功页面样式 */
.success-content {
    text-align: center;
    padding: 20px;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.success-content h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 24px;
}

.order-info {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.order-info p {
    margin: 10px 0;
    display: flex;
    justify-content: space-between;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1400px;
    }
    
    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero {
        padding: 0 40px;
    }
}

/* 支付功能响应式设计 */
@media (max-width: 768px) {
    .nav-cart {
        margin-left: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-actions,
    .success-actions {
        flex-direction: column;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

/* 定制球杆图片展示样式 */
.cue-preview-section {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.preview-section-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.cue-image-container {
    position: relative;
}

.cue-image-viewer {
    position: relative;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    cursor: grab;
}

.cue-image-viewer:active {
    cursor: grabbing;
}

.cue-image-content {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#custom-cue-svg {
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.image-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.control-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.control-btn:active {
    transform: scale(0.95);
}

.cue-image-tips {
    margin-top: 15px;
    text-align: center;
}

.cue-image-tips p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* 球杆图片展示响应式设计 */
@media (max-width: 768px) {
    .cue-preview-section {
        padding: 20px;
    }
    
    .cue-image-content {
        height: 200px;
    }
    
    .image-controls {
        top: 10px;
        right: 10px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
} 

/* 用户认证相关样式 */
.auth-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.auth-btn {
    padding: 8px 16px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    background: transparent;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
}

.auth-btn:hover {
    background: var(--gold);
    color: var(--primary-black);
}

.login-btn {
    background: transparent;
}

.register-btn {
    background: var(--gold);
    color: var(--primary-black);
}

.register-btn:hover {
    background: var(--gold-light);
}

.user-menu {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--gold);
    border-radius: 20px;
    background: var(--gold);
    color: var(--primary-black);
    cursor: pointer;
    transition: var(--transition);
}

.user-info:hover {
    background: var(--gold-light);
}

.username {
    font-weight: 500;
    font-size: 14px;
}

.dropdown-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-dropdown-container {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
}

.user-dropdown {
    position: absolute;
    top: 8px;
    right: 0;
    background: var(--secondary-black);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s ease;
}

.user-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.user-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.user-dropdown a:hover {
    background: var(--gold);
    color: var(--primary-black);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 4px;
    background: var(--secondary-black);
    color: var(--text-light);
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.btn-full {
    width: 100%;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.modal-footer p {
    margin: 0;
    color: var(--text-light);
}

.modal-footer a {
    color: var(--gold);
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* 订单管理相关样式 */
.order-modal {
    max-width: 1000px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.order-detail-modal {
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.order-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--secondary-black);
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.order-filters select {
    padding: 8px 12px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    background: var(--secondary-black);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
}

.order-filters select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.order-filters select option {
    background: var(--secondary-black);
    color: var(--white);
    padding: 8px;
}

.order-list {
    min-height: 400px;
}

.loading {
    text-align: center;
    padding: 50px;
    color: var(--white);
    font-size: 16px;
}

.order-item {
    background: var(--secondary-black);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.order-item:hover {
    border-color: var(--gold);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.order-info h4 {
    margin: 0 0 5px 0;
    color: var(--gold);
    font-size: 16px;
}

.order-info p {
    margin: 0;
    color: var(--white);
    font-size: 14px;
}

.order-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-pending {
    background: #f39c12;
    color: white;
}

.status-pending_confirmation {
    background: #e67e22;
    color: white;
}

.status-confirmed {
    background: #27ae60;
    color: white;
}

.status-processing {
    background: #3498db;
    color: white;
}

.status-shipped {
    background: #9b59b6;
    color: white;
}

.status-delivered {
    background: #2ecc71;
    color: white;
}

.status-cancelled {
    background: #e74c3c;
    color: white;
}

.payment-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.payment-pending {
    background: #f39c12;
    color: white;
}

.payment-paid {
    background: #27ae60;
    color: white;
}

.payment-failed {
    background: #e74c3c;
    color: white;
}

.payment-refunded {
    background: #95a5a6;
    color: white;
}

/* 统一订单状态样式 */
.cancelled {
    background: #e74c3c;
    color: white;
}

.refunded {
    background: #95a5a6;
    color: white;
}

.payment-failed {
    background: #e74c3c;
    color: white;
}

.pending-payment {
    background: #f39c12;
    color: white;
}

.pending-confirm {
    background: #e67e22;
    color: white;
}

.pending-ship {
    background: #3498db;
    color: white;
}

.shipped {
    background: #9b59b6;
    color: white;
}

.completed {
    background: #2ecc71;
    color: white;
}

.paid {
    background: #27ae60;
    color: white;
}

.pending {
    background: #f39c12;
    color: white;
}

.order-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-outline {
    padding: 8px 16px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--primary-black);
}

.btn-danger {
    border-color: #e74c3c;
    color: #e74c3c;
}

.btn-danger:hover {
    background: #e74c3c;
    color: white;
}

.btn-success {
    border-color: #27ae60;
    color: #27ae60;
}

.btn-success:hover {
    background: #27ae60;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 20px;
}

.pagination button {
    padding: 8px 12px;
    border: 2px solid var(--gold);
    background: var(--secondary-black);
    color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination button:hover {
    border-color: var(--gold);
    background: var(--gold);
    color: var(--primary-black);
}

.pagination button.active {
    background: var(--gold);
    color: var(--primary-black);
    border-color: var(--gold);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button:disabled:hover {
    background: var(--secondary-black);
    color: var(--white);
    border-color: var(--gold);
}

.order-detail-content {
    padding: 20px;
}

.detail-section {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--secondary-black);
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.detail-section h4 {
    margin: 0 0 15px 0;
    color: var(--gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 10px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-weight: 500;
    color: var(--white);
    font-size: 14px;
}

.detail-value {
    color: var(--white);
    font-size: 14px;
}

.custom-details {
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.custom-details h5 {
    margin: 0 0 10px 0;
    color: var(--gold);
    font-size: 16px;
}

.custom-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option .label {
    font-weight: 500;
    color: var(--white);
}

.custom-option .value {
    color: var(--gold);
    font-weight: 600;
}

.order-items {
    list-style: none;
    padding: 0;
}

.order-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.order-items li:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
    color: var(--white);
}

.item-quantity {
    color: var(--white);
}

.item-price {
    color: var(--gold);
    font-weight: 600;
}

.no-orders {
    text-align: center;
    padding: 50px;
    color: var(--white);
}

.no-orders h4 {
    margin: 0 0 10px 0;
    color: var(--gold);
    font-size: 18px;
}

.no-orders p {
    margin: 0;
    color: var(--white);
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .order-modal,
    .order-detail-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .order-filters {
        flex-direction: column;
        gap: 10px;
    }
    
    .order-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-status {
        align-items: flex-start;
    }
    
    .order-actions {
        flex-wrap: wrap;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
} 

/* 微信二维码弹框样式 */
.wechat-modal {
    max-width: 400px;
    text-align: center;
}

.wechat-content {
    padding: 20px;
}

.wechat-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.wechat-content h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 20px;
}

.wechat-content p {
    color: var(--text-medium);
    margin-bottom: 30px;
    font-size: 14px;
}

.wechat-qr-container {
    position: relative;
    margin: 30px auto;
    width: 200px;
    height: 200px;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-code-inner {
    width: 180px;
    height: 180px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 4px;
    padding: 10px;
}

.qr-module {
    background: #000000;
    border-radius: 2px;
    animation: qrPulse 2s ease-in-out infinite;
}

.qr-module:nth-child(odd) {
    animation-delay: 0.1s;
}

.qr-module:nth-child(even) {
    animation-delay: 0.3s;
}

.qr-module:nth-child(5n) {
    animation-delay: 0.5s;
}

@keyframes qrPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.wechat-logo {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--primary-black);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.wechat-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.wechat-info p {
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.wechat-info p strong {
    color: var(--gold);
}

.wechat-tip {
    margin-top: 15px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    font-size: 13px;
    color: var(--text-medium);
}

.wechat-modal .modal-header {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wechat-modal .modal-header h3 {
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wechat-modal .modal-header h3::before {
    content: '💬';
    font-size: 20px;
}

/* 微信弹框动画 */
.wechat-modal {
    animation: wechatModalAppear 0.3s ease-out;
}

@keyframes wechatModalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 480px) {
    .wechat-modal {
        max-width: 90%;
        margin: 20px auto;
    }
    
    .wechat-qr-container {
        width: 160px;
        height: 160px;
    }
    
    .qr-code-placeholder {
        width: 160px;
        height: 160px;
    }
    
    .qr-code-inner {
        width: 140px;
        height: 140px;
    }
    
    .wechat-content {
        padding: 15px;
    }
    
    .wechat-info {
        padding: 15px;
    }
} 

/* 语言切换按钮样式 */
.nav-language {
    display: flex;
    align-items: center;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 2px solid var(--gold);
    border-radius: 25px;
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.language-btn:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.language-text {
    font-size: 14px;
    font-weight: 500;
}

.language-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-btn:hover .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-black);
    border: 2px solid var(--gold);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 120px;
    width: max-content;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 13px;
    margin: 4px;
    white-space: nowrap;
    min-width: 100px;
}

.language-option:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateX(5px);
}

.language-flag {
    font-size: 16px;
}

.language-option span:last-child {
    font-size: 14px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-language {
        display: none;
    }
    
    /* 移动端可以在汉堡菜单中添加语言切换 */
    .mobile-language-switch {
        display: block;
        padding: 12px 20px;
        border-top: 1px solid var(--gold);
        margin-top: 10px;
    }
    
    .mobile-language-switch .language-option {
        padding: 8px 0;
        margin: 0;
        border-radius: 0;
        justify-content: center;
    }
}

/* 导航栏布局调整 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-cart {
    display: flex;
    align-items: center;
    margin-right: 20px;
}



/* 确保导航栏元素正确对齐 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 1024px) {
    .nav-language {
        margin-right: 15px;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .nav-language {
        display: none;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .auth-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* ============= 收货地址管理样式 ============= */

.address-manage-modal .modal-content {
    width: 90%;
    max-width: 700px;
    margin: 3% auto;
}

.address-manage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.address-manage-header h3 {
    color: var(--gold);
    margin: 0;
    font-size: 20px;
}

.address-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
    min-height: 100px;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    background: var(--secondary-black);
    transition: all 0.3s ease;
    position: relative;
}

.address-item:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.address-info {
    flex: 1;
    margin-right: 20px;
    color: var(--text-light);
}

.address-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.contact-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 16px;
}

.contact-phone {
    color: var(--text-medium);
    font-size: 14px;
}

.default-tag {
    background: var(--gold);
    color: var(--primary-black);
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.address-detail {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
}

.address-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 120px;
}

.address-actions .btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
}

.address-actions .btn-sm {
    padding: 6px 10px;
    font-size: 11px;
}

.address-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.address-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.address-actions .btn-danger {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
}

.address-actions .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.no-addresses {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-medium);
    background: rgba(26, 26, 26, 0.3);
    border-radius: 8px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
}

.no-addresses h4 {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 18px;
}

.no-addresses p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

/* 添加地址模态框样式 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--primary-black);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    transform: scale(1.2);
}

/* 模态框通用样式增强 */
.modal-body {
    padding: 25px;
    background: var(--secondary-black);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: var(--secondary-black);
}

.modal-footer .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    color: white;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.modal-footer .btn-primary {
    background: var(--gold);
    color: var(--primary-black);
}

.modal-footer .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-medium);
    font-size: 16px;
}

.loading:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .address-manage-modal .modal-content {
        width: 95%;
        margin: 2% auto;
    }

    .address-item {
        flex-direction: column;
        gap: 15px;
    }

    .address-info {
        margin-right: 0;
    }

    .address-actions {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        min-width: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .address-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }

    .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .address-actions {
        flex-direction: column;
    }

    .address-actions .btn {
        width: 100%;
    }
} 