/* 布局样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 顶部信息条 */
.topbar { 
    background: #000; 
    color: #fff; 
    font-size: 12px; 
    line-height: 1;
}

.topbar-inner { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    height: 36px; 
    padding: 0 20px;
}

.topbar-left { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: #fff;
    flex-shrink: 0;
}

.topbar-left i {
    color: #fff;
    font-size: 14px;
}

.topbar-left span {
    color: #fff;
    font-size: 12px;
}

.topbar-center { 
    text-align: center; 
    color: #fff;
    flex: 1;
    padding: 0 20px;
}

.topbar-center span {
    color: #fff;
    font-size: 12px;
}

.topbar-right { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    flex-shrink: 0;
}

.select-group { 
    position: relative;
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    color: #fff;
    cursor: pointer;
}

.select-group label {
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    user-select: none;
    pointer-events: none;
}

.select-group label span {
    color: #fff;
    font-size: 12px;
}

.select-group label i {
    color: #fff;
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.3s;
}

.select-group:hover label i {
    transform: translateY(1px);
}

.select-group select { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0;
    font-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    z-index: 1;
}

.select-group select:focus {
    outline: none;
}

.select-group select:focus + label,
.select-group:focus-within label {
    outline: none;
}

/* 主导航区 */
.header-main-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo a { color: #111; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: 1px; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 44px; }
.main-nav ul li{gap: 44px; }
.main-nav > ul > li { position: relative; }
.main-nav a { color: #333; text-decoration: none; font-weight: 500; padding: 10px 0; display: flex; align-items: center; gap: 6px; }
.main-nav a:hover, .main-nav a.active { color: #ff6a3d; }
.main-nav .has-submenu > a .arrow { font-size: 10px; transition: transform 0.3s; }
.main-nav .has-submenu:hover > a .arrow { transform: rotate(180deg); }
.main-nav .submenu { 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
    border-radius: 6px; 
    min-width: max-content; 
    padding: 4px 0; 
    margin-top: 8px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px); 
    transition: all 0.3s; 
    z-index: 1000; 
    list-style: none; 
    gap:0;
    flex-direction: column; 
}
.main-nav .has-submenu:hover .submenu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}
.main-nav .submenu li { 
    margin: 0; 
    display: block; 
    width: 100%; 
    border-bottom: 1px solid #eee;
}
.main-nav .submenu li:last-child {
    border-bottom: none;
}
.main-nav .submenu a { 
    padding: 4px 20px; 
    display: block; 
    color: #333; 
    font-weight: 400; 
    width: 100%; 
    line-height: 2.2;
}
.main-nav .submenu a:hover { 
    background: #f5f5f5; 
    color: #ff6a3d; 
}
.header-utils { display: flex; align-items: center; gap: 10px; }
.header-search { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.header-search input { width: 220px; height: 34px; padding: 0 10px; border: none; outline: none; }
.header-search button { width: 34px; height: 34px; border: none; background: #f5f5f5; cursor: pointer; }
.header-search button:hover { background: #eee; }
.util-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 6px; text-decoration: none; position: relative; }
.util-btn:hover { background: #eee; }

/* 购物车角标 */
.cart-btn .cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #dc3545;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 0;
}

/* 联系表单浮动样式 */
.contact-form-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

/* 浮动按钮 */
.contact-float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.contact-float-btn:hover {
    background: #0f0f0f;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.contact-float-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contact-float-btn i {
    font-size: 18px;
    color: #fff;
}

.contact-float-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

/* 模态框遮罩层 */
.contact-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 9997;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.contact-form-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 联系表单模态框 */
.contact-form-modal {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 480px;
    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 60px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 9999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.contact-form-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.contact-form-wrapper {
    padding: 24px 30px 30px;
    overflow-y: auto;
    max-height: calc(100vh - 60px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.contact-form-modal-body {
    margin-top: 0;
}

.contact-form-header {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #0f0f0f;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.contact-form-subtitle {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contact-form-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    transition: all 0.3s;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.contact-form-close:hover {
    background: #f5f5f5;
    color: #000;
}

.contact-form-close:active {
    background: #eee;
    transform: scale(0.95);
}

.contact-form-close i {
    color: inherit;
}

.contact-form {
    width: 100%;
}

/* 模态框内表单样式优化 - 紧凑美观 */
.contact-form-modal-body .contact-form {
    margin-top: 0;
}

.contact-form-modal-body .form-group {
    margin-bottom: 14px;
}

.contact-form-modal-body .form-group:last-of-type {
    margin-bottom: 0;
}


.contact-form-modal-body .input-wrapper {
    padding: 0 42px;
    height: 42px;
}

.contact-form-modal-body .input-wrapper input {
    padding: 0;
    font-size: 14px;
    height: 100%;
}

.contact-form-modal-body .input-icon {
    font-size: 15px;
    left: 14px;
}

.contact-form-modal-body .textarea-wrapper {
    padding: 12px 14px;
    min-height: 90px;
}

.contact-form-modal-body .textarea-wrapper textarea {
    min-height: 90px;
    font-size: 14px;
    resize: vertical;
    line-height: 1.5;
}

.contact-form-modal-body .contact-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 600;
}

.contact-form-modal-body .form-message {
    margin-top: 10px;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    line-height: 1.4;
}

/* 保持contact页面的原有样式 - 确保不影响 */
.contact-form-section .contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form-section .contact-form .form-group label {
    display: block; /* contact页面显示label */
}

/* 保持contact页面的原有样式 */
.contact-form-section .contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0 20px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .input-wrapper:focus-within {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.contact-form .input-icon {
    color: #666;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-form .input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 14px;
    color: #0f0f0f;
    background: transparent;
    line-height: 1.5;
}

.contact-form .input-wrapper input::placeholder {
    color: #999;
}

.contact-form .textarea-wrapper {
    position: relative;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .textarea-wrapper:focus-within {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.contact-form .textarea-wrapper textarea {
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    font-size: 14px;
    color: #0f0f0f;
    background: transparent;
    line-height: 1.5;
    resize: vertical;
    font-family: inherit;
    min-height: 120px;
}

.contact-form .textarea-wrapper textarea::placeholder {
    color: #999;
}

.contact-form .contact-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    text-transform: none;
    letter-spacing: 0;
}

.contact-form .contact-submit-btn:hover {
    background: #0f0f0f;
    transform: translateY(-1px);
}

.contact-form .contact-submit-btn:active {
    transform: translateY(0);
}

.contact-form .contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-form-float {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-float-btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .contact-float-text {
        font-size: 14px;
    }
    
    .contact-form-modal {
        bottom: 20px;
        right: 20px;
        width: calc(100vw - 40px);
        max-width: 480px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .contact-form-title {
        font-size: 20px;
    }
    
    .contact-form-subtitle {
        font-size: 12px;
    }
    
    .contact-form .form-group {
        margin-bottom: 16px;
    }
    
    .contact-form .input-wrapper {
        padding: 0 50px;
    }
    
    .contact-form .input-wrapper input {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .contact-form .textarea-wrapper {
        padding: 12px;
    }
    
    .contact-form .textarea-wrapper textarea {
        min-height: 100px;
    }
    
    .contact-form .contact-submit-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-form-float {
        bottom: 15px;
        right: 15px;
    }
    
    .contact-float-btn {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        gap: 0;
    }
    
    .contact-float-text {
        display: none;
    }
    
    .contact-float-btn i {
        font-size: 20px;
    }
    
    .contact-form-modal {
        bottom: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 30px);
        border-radius: 8px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
        max-height: calc(100vh - 30px);
    }
    
    .contact-form-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .contact-form-title {
        font-size: 18px;
    }
    
    .contact-form-subtitle {
        font-size: 11px;
    }
    
    .contact-form .input-wrapper {
        padding: 0 12px;
    }
    
    .contact-form .input-wrapper input {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .contact-form .textarea-wrapper {
        padding: 12px;
    }
    
    .contact-form .textarea-wrapper textarea {
        min-height: 100px;
        font-size: 14px;
    }
    
    .contact-form .contact-submit-btn {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
    }
    
    .contact-form-close {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 20px;
    }
}

/* Footer 样式 */
.footer {
    background: #f5f5f5;
    margin-top: 40px;
}

/* FontAwesome 图标统一灰色系 */
.fas, .far, .fab {
    color: #666;
}

/* 特定区域的图标颜色覆盖 */
.topbar-left .fa-phone {
    color: #fff;
}

.topbar-right .select-group label i {
    color: #fff !important;
}

.header-utils .util-btn i {
    color: #666;
}

.header-utils .util-btn:hover i {
    color: #333;
}

.main-nav .fa-chevron-down {
    color: #666;
    font-size: 12px;
    margin-left: 5px;
}

.section-icon {
    color: #999;
}

.main-category-arrow {
    color: #999;
}

.carousel-nav i {
    color: #666;
}

.carousel-nav:hover i {
    color: #fff;
}

.newsletter-icon {
    color: #999;
}

.social-icon i {
    color: #666;
}

.social-icon:hover i {
    color: #333;
}

.contact-icon {
    color: #999;
}

.scroll-to-top i {
    color: #fff;
}

/* 订阅区块 */
.footer-newsletter {    
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-text {
    flex: 0 0 60%;
    padding: 40px;
    background: #f5f5f5;
}

.newsletter-image {
    flex: 0 0 40%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.newsletter-text h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: bold;
    color: #000;
}

.newsletter-text p {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    max-width: 500px;
}

.newsletter-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.newsletter-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    z-index: 1;
    pointer-events: none;
}

.newsletter-input-wrapper input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 40px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.newsletter-submit {
    height: 40px;
    padding: 0 24px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-submit:hover {
    background: #e55a00;
}

.newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 主要 Footer 内容 */
.footer-main {
    background: #f5f5f5;
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.footer-column h4 {
    margin: 20px 0 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

.footer-column p {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #f0f0f0;
    border-color: #999;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6600;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.footer-contact .highlight {
    color: #ff6600;
    font-weight: 500;
}

/* 底部版权栏 */
.footer-bottom {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 20px 0;
}

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

.copyright {
    font-size: 12px;
    color: #666;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-methods img {
    height: 24px;
    width: auto;
}

.scroll-to-top {
    width: 40px;
    height: 40px;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: #e55a00;
}

/* 响应式 */
@media (max-width: 768px) {
    .topbar-inner {
        padding: 0 15px;
        height: 32px;
        font-size: 11px;
    }
    
    .topbar-left {
        gap: 6px;
    }
    
    .topbar-left i {
        font-size: 12px;
    }
    
    .topbar-left span {
        font-size: 11px;
    }
    
    .topbar-center {
        padding: 0 10px;
        display: none;
    }
    
    .topbar-right {
        gap: 12px;
    }
    
    .select-group {
        gap: 4px;
    }
    
    .select-group label {
        font-size: 11px;
    }
    
    .select-group label::after {
        font-size: 9px;
    }
    
    .newsletter-content {
        flex-direction: column;
        background: #f5f5f5;
    }

    .newsletter-text {
        flex: 1;
        width: 100%;
        padding: 30px 20px;
    }

    .newsletter-image {
        flex: 1;
        width: 100%;
        min-height: 200px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter-text h2 {
        font-size: 24px;
    }

    .newsletter-text p {
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
        flex-wrap: wrap;
    }

    .payment-methods img {
        height: 20px;
    }

    /* 导航菜单手机端优化 */
    .header-main-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 15px;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        gap: 0;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 10px 0;
    }

    .main-nav > ul > li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a {
        padding: 12px 20px;
        text-align: left;
    }

    .main-nav .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        background: #f9f9f9;
        border-top: 1px solid #eee;
        display: none;
    }

    .main-nav .has-submenu.active .submenu {
        display: flex;
    }

    .main-nav .submenu a {
        padding: 10px 20px 10px 40px;
    }

    /* 手机端菜单切换按钮 */
    .mobile-menu-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: #f7f7f7;
        border: 1px solid #e5e5e5;
        border-radius: 6px;
        cursor: pointer;
        order: 2;
    }

    .mobile-menu-toggle i {
        font-size: 20px;
        color: #666;
    }

    .header-utils {
        gap: 8px;
        order: 1;
    }

    .header-search {
        display: none;
    }

    .header-search input {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .topbar-inner {
        padding: 0 10px;
        height: 30px;
        font-size: 10px;
    }
    
    .topbar-left {
        gap: 5px;
    }
    
    .topbar-left i {
        font-size: 11px;
    }
    
    .topbar-left span {
        font-size: 10px;
    }
    
    .topbar-center {
        display: none;
    }
    
    .topbar-right {
        gap: 10px;
    }
    
    .select-group {
        gap: 3px;
    }
    
    .select-group label {
        font-size: 10px;
    }
    
    .select-group label::after {
        font-size: 8px;
    }
    
    .newsletter-text {
        padding: 20px 15px;
    }

    .newsletter-text h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .newsletter-text p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 4px;
    }

    .newsletter-input-wrapper {
        border-bottom: 1px solid #ddd;
    }

    .newsletter-input-wrapper input {
        border-radius: 4px 4px 0 0;
    }

    .newsletter-submit {
        border-radius: 0 0 4px 4px;
        width: 100%;
    }

    .newsletter-image {
        min-height: 150px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom-content {
        gap: 10px;
    }

    .payment-methods {
        gap: 8px;
    }

    .payment-methods img {
        height: 18px;
    }
}

/* 会员中心布局 */
.member-center {
    display: flex;
    gap: 20px;
    padding: 20px 0;
}

.member-content {
    flex: 1;
}

/* 左侧栏样式 */
.member-sidebar {
    width: 250px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: fit-content;
}

.member-info {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.member-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.member-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 头像样式 */
.avatar {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.avatar-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
    border: 2px solid #007bff;
}

/* 导航菜单样式 */
.member-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-nav li {
    margin-bottom: 5px;
}

.member-nav a {
    display: block;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.member-nav a:hover,
.member-nav li.active a {
    background: #f8f9fa;
    color: #007bff;
    font-weight: 500;
}

/* 响应式布局 - 会员中心等 */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        margin: 0;
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .member-center {
        flex-direction: column;
    }
    
    .member-sidebar {
        width: 100%;
    }
}
