/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    min-height: 100vh; 
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.whb-header {
    background: transparent;
    color: #fff;
    position: relative;
    z-index: 100;
}

.whb-main-header {
    width: 100%;
}

.whb-row {
    width: 100%;
    background: transparent;
}

.whb-top-bar {
    background: rgba(0, 0, 0, 0.85);
    padding: 10px 0;
    font-size: 12px;
    border-bottom: 1px solid #333;
}

.whb-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whb-top-bar-inner {
    min-height: 50px;
}

.whb-general-header {
    padding: 20px 0;
    background: rgba(26, 26, 26, 0.7) !important;
}

.whb-general-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    max-width: 400px;
    height: auto;
}

/* 导航菜单 */
.wd-header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.wd-nav {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: #fff;
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    white-space: nowrap;
}

.menu-item a:hover {
    color: #b8860b;
}

/* 社交图标 */
.wd-social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wd-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.wd-social-icon:hover {
    background: #b8860b;
    opacity: 1;
}

/* 头部文字 */
.wd-header-text {
    color: #fff;
    font-size: 13px;
}

.wd-header-text div {
    color: #ccc;
}

.whb-col-left,
.whb-col-right,
.whb-col-center {
    display: flex;
    align-items: center;
}

/* 页面包装器 */
.wd-page-wrapper {
    width: 100%;
    background: transparent;
}

.wd-page-content {
    width: 100%;
    background: transparent;
}

/* 主内容区 */
.wd-content-layout {
    padding: 0;
    background: transparent;
    min-height: 100vh;
}

.wd-content-area {
    width: 100%;
    background: transparent;
}

/* 首页英雄区域 */
.home-hero-section {
    position: relative;
    background: transparent;
    padding: 120px 40px;
    text-align: center;
    overflow: hidden;
}

.home-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    color: #fff;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-description p {
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.btn {
    display: inline-block;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #b8860b 0%, #daa520 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.6);
    opacity: 1;
}

/* FAQ区域 */
.faq-section {
    position: relative;
    background: transparent;
    padding: 80px 40px;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.faq-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.faq-subtitle {
    font-size: 16px;
    color: #ccc;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.faq-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: rgba(37, 37, 37, 0.6);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #b8860b;
    backdrop-filter: blur(5px);
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
    display: block;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    user-select: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '−';
}

.faq-question:hover {
    color: #b8860b;
}

.faq-answer {
    color: #ccc;
    font-size: 15px;
    line-height: 1.8;
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    display: block;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 12px;
    display: block;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* 页脚 */
.wd-footer {
    background: rgba(26, 26, 26, 0.85);
    color: #fff;
    padding: 20px 0 10px;
    border-top: 1px solid #333;
}

.main-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    width: 100%;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.footer-column {
    display: block;
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 2px solid #b8860b;
    padding-bottom: 6px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-link-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link-group li {
    margin-bottom: 8px;
}

.footer-link-group a {
    color: #ccc;
    font-size: 14px;
}

.footer-link-group a:hover {
    color: #b8860b;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
}

.contact-list .icon {
    font-size: 18px;
}

.contact-list a {
    color: #ccc;
}

.contact-list a:hover {
    color: #b8860b;
}

.wd-copyrights {
    background: #000;
    text-align: center;
    padding: 12px 0;
    margin-top: 15px;
    border-top: 1px solid #333;
}

.copyright-text {
    color: #999;
    font-size: 13px;
}

/* 返回顶部 */
.scrollToTop {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #b8860b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.scrollToTop::before {
    content: "↑";
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.scrollToTop:hover {
    background: #daa520;
}

/* 底部工具栏 */
.wd-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    z-index: 999;
    border-top: 1px solid #333;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.wd-toolbar-item {
    text-align: center;
    color: #fff;
    flex: 1;
}

.wd-toolbar-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #ccc;
    font-size: 12px;
}

.wd-toolbar-item a:hover {
    color: #b8860b;
}

.wd-toolbar-icon img {
    width: 24px;
    height: 24px;
}

.wd-toolbar-label {
    font-size: 11px;
}

/* 移动端隐藏类 */
.whb-hidden-lg {
    display: none !important;
}

.whb-visible-lg {
    display: flex !important;
}

/* 汉堡菜单图标 */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 25px;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 移动端侧边栏菜单 */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 90%;
    max-width: 400px;
    height: 100%;
    background: #1a1a1a;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.mobile-nav-sidebar.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
    background: #000;
}

.mobile-nav-logo img {
    max-width: 120px;
    height: auto;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mobile-nav-close:hover {
    color: #b8860b;
}

.mobile-nav-menu {
    padding: 15px !important;
}

.mobile-nav-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #333 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-nav-menu li:last-child {
    border-bottom: none !important;
}

.mobile-nav-menu li a {
    display: block !important;
    padding: 15px 20px !important;
    color: #fff !important;
    font-size: 15px !important;
    text-decoration: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: background 0.3s ease !important;
}

.mobile-nav-menu li a:hover,
.mobile-nav-menu li a:active {
    background: #252525 !important;
    color: #b8860b !important;
}

.mobile-nav-menu li.has-submenu {
    position: relative;
}

.mobile-nav-menu .submenu-toggle {
    display: none !important;
}

/* 防止滚动 */
body.mobile-menu-open {
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .wd-nav {
        gap: 3px;
    }
    
    .menu-item a {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .faq-title {
        font-size: 36px;
    }
    
    .btn {
        padding: 15px 40px;
        font-size: 18px;
    }
    
    .site-logo img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .whb-visible-lg {
        display: none !important;
    }
    
    .whb-hidden-lg {
        display: flex !important;
    }
    
    .whb-general-header {
        padding: 15px 0;
    }
    
    .whb-general-header-inner {
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }
    
    .whb-mobile-left {
        order: 1;
        flex-shrink: 0;
    }
    
    .whb-mobile-center {
        order: 2;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    
    .whb-col-left,
    .whb-col-center {
        display: none !important;
    }
    
    .wd-nav {
        display: none;
    }
    
    .site-logo img {
        max-width: 140px !important;
    }
    
    .mobile-nav-sidebar {
        width: 85%;
        max-width: 300px;
        left: -100%;
    }
    
    .footer-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .home-hero-section,
    .faq-section {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .faq-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .hero-buttons {
        gap: 6px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        padding: 10px 8px;
        font-size: 12px;
        width: calc(33.333% - 4px);
        flex: 0 0 auto;
        box-sizing: border-box;
        white-space: nowrap;
        line-height: 1.4;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .faq-item {
        padding: 20px;
    }
    
    .faq-question {
        font-size: 16px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .whb-top-bar {
        font-size: 11px;
        padding: 8px 0;
    }
    
    .wd-header-text div {
        font-size: 10px;
        gap: 8px !important;
        flex-wrap: wrap;
    }
    
    .wd-social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .wd-toolbar {
        padding: 10px 0;
    }
    
    .wd-content-layout {
        padding-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .btn {
        padding: 10px 10px;
        font-size: 15px;
    }
    
    .wd-social-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* 产品网格布局 */
.wd-products-element {
    width: 100%;
    padding: 0 15px;
}

.wd-grid-g {
    display: grid;
    grid-template-columns: repeat(var(--wd-col-lg, 4), 1fr);
    gap: var(--wd-gap-lg, 20px);
    width: 100%;
}

.products.wd-products.wd-grid-g {
    display: grid !important;
    grid-template-columns: repeat(var(--wd-col-lg, 4), 1fr) !important;
    gap: var(--wd-gap-lg, 20px) !important;
    width: 100% !important;
}

.wd-product.wd-col {
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.product-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.product-element-top {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.product-image-link {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-image-link img {
    width: 100%;
    height: auto;
    display: block;
}

.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-product:hover .hover-img {
    opacity: 1;
}

.wd-buttons {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.wd-add-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wd-product:hover .wd-add-btn {
    opacity: 1;
}

.wd-entities-title {
    font-size: 14px;
    margin: 10px 0;
    line-height: 1.4;
}

.wd-entities-title a {
    color: #333;
    text-decoration: none;
}

.wd-entities-title a:hover {
    color: #b8860b;
}

.wd-product-cats {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-md, 2), 1fr);
    }
    
    .products.wd-products.wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-md, 2), 1fr) !important;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-sm, 2), 1fr);
        gap: var(--wd-gap-sm, 10px);
    }
    
    .products.wd-products.wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-sm, 2), 1fr) !important;
        gap: var(--wd-gap-sm, 10px) !important;
    }
    
    .wd-product.wd-col {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-sm, 2), 1fr);
        gap: var(--wd-gap-sm, 10px);
    }
    
    .products.wd-products.wd-grid-g {
        grid-template-columns: repeat(var(--wd-col-sm, 2), 1fr) !important;
        gap: var(--wd-gap-sm, 10px) !important;
    }
    
    .wd-product.wd-col {
        width: 100% !important;
    }
}

/* 筛选区域样式 */
.filters-area {
    margin-bottom: 20px;
    padding: 0 15px;
}

.wd-pf-categories {
    position: relative;
    display: inline-block;
}

.wd-pf-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.wd-pf-title .title-text {
    font-weight: bold;
}

.wd-pf-results {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wd-pf-results .selected-value {
    padding: 6px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd-pf-results .selected-value:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 下拉菜单 */
.wd-pf-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 200px;
    max-height: 400px;
    overflow-y: auto;
}

/* 桌面端 - 鼠标悬停显示 */
@media (min-width: 769px) {
    .wd-pf-categories:hover .wd-pf-dropdown {
        display: block;
    }
}

/* 手机端 - 点击显示 */
@media (max-width: 768px) {
    .wd-pf-categories.active .wd-pf-dropdown {
        display: block;
    }
    
    .wd-pf-title {
        cursor: pointer;
    }
}

.wd-scroll-content {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.wd-scroll-content li {
    padding: 8px 15px;
}

.wd-scroll-content li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.wd-scroll-content li a:hover {
    color: #b8860b;
    background: #f5f5f5;
}

.wd-scroll-content li.wd-active a {
    color: #b8860b;
    font-weight: bold;
}

/* 分类页面标题样式 */
.wd-page-title .wd-title-wrapp {
    text-align: center;
}

.wd-page-title .entry-title.title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 768px) {
    .wd-page-title .entry-title.title {
        font-size: 24px;
    }
}

/* 分页样式 */
.wd-loop-footer.products-footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    justify-content: center;
}

.woocommerce-pagination .page-numbers {
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
}

.woocommerce-pagination .page-numbers:hover {
    color: #b8860b;
}

.woocommerce-pagination .page-numbers.current {
    color: #b8860b;
    font-weight: bold;
}

@media (max-width: 768px) {
    .woocommerce-pagination .page-numbers {
        padding: 6px 10px;
    }
}

/* 商店工具栏样式 */
.shop-loop-head {
    padding: 0 15px;
    margin-bottom: 20px;
}

.wd-shop-tools {
    color: #fff;
}

.wd-shop-tools a,
.wd-shop-tools .orderby,
.wd-shop-tools .per-page-title,
.wd-breadcrumbs a,
.wd-breadcrumbs span,
.woocommerce-result-count {
    color: #fff;
}

.wd-shop-tools a:hover,
.wd-breadcrumbs a:hover {
    color: #b8860b;
}

.per-page-variation.current-variation,
.shop-view.current-variation {
    color: #b8860b;
}

.orderby {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
}

.orderby option {
    background: #333;
    color: #fff;
}
