/*
Theme Name: Zanray
Theme URI: http://example.com/zanray
Author: Your Name
Author URI: http://example.com
Description: A custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme
Text Domain: zanray
*/

/* 解决iOS Safari视口高度问题 */
:root {
    --vh: 1vh;
    --swiper-theme-color: #333;
    /* 设置 Swiper 主题色为深灰色 */
}

/* ===== 通用样式（适用于所有设备） ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header {
    position: absolute;
    top: 0;
    margin-top: 30px;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swiper {
    width: 50%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.mySwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    width: 250px !important;
    height: 350px !important;
    padding: 20px;
    background-size: 90% auto;
    background-repeat: no-repeat;
}

.page-template-standard .swiper {
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-template-standard .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    width: 250px !important;
    height: 350px !important;
    padding: 20px;
    background-size: 90% auto;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

.sub_title {
    width: 500px;
    height: 90px;
    background: rgba(198, 0, 11, 0.65);
    position: relative;
    left: 0;
    margin: 100px 0 50px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.subtitle {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    text-align: right;
    display: block;
    padding-right: 4rem;
    margin: 0;
    line-height: 1;
}

.main-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    left: 0;
    top: 0;
}

.banner-item.active {
    opacity: 1;
    z-index: 2;
}

.banner-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
}

.banner-caption {
    position: absolute;
    top: 40vh;
    left: 10vw;
    border-radius: 5px;
    text-align: center;
    z-index: 30;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    max-width: 80%;
}

.banner-text {
    position: absolute;
    top: 58vh;
    /* 在 banner-caption 下方 40px */
    left: 10vw;
    /* 与 banner-caption 左对齐 */
    z-index: 40;
    border-radius: 5px;
    font-weight: 300;
}

.banner-text-part1 {
    color: #ff0000;
    font-size: 1.8rem;
    display: block;
}

.banner-text-part2 {
    color: #ffffff;
    font-size: 1.6rem;
}

.banner-text-part2 {
    font-size: 1.2rem;
}

.section {
    padding: 50px 0;
}

.partners .subject {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px auto;

}

.footer {
    background-color: #0d0d0d;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.logo {
    margin-left: 30px;
    /* 确保Logo不被顶部遮挡 */
    display: flex;
    align-items: center;
}

.logo img {
    width: 200px;
    height: auto;
    /* 确保高度自动调整 */
    display: block;
}

/* 语言切换器基础样式 */
#translate select {
    color: #fff;
    cursor: pointer;
}

/* 语言选择器容器样式 */
.language-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.language-selector .language-icon {
    margin-right: 5px;
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.language-selector #translate {
    display: inline-block;
    vertical-align: middle;
}

/* 菜单遮罩层 */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* 页脚样式 */
.footer-menu {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #0d0d0d;
    max-width: 90%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
}

.footer-nav>li {
    flex: 1;
    margin: 0 10px;
    text-align: left;
}

.footer-nav>li>a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-nav>li>a:hover {
    color: #ccc;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 0.8rem;
}

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

.footer-nav ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: #ccc;
}

.tel {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 5px 0;
    font-size: 2rem;
    font-weight: 900;
}

.tel:hover {
    color: #990000;
    transform: scale(1.05);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    color: #fff;
}

.footer-qr {
    text-align: center;
    margin-top: 20px;
}

.footer-qr img {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
}

.footer-bottom p {
    margin: 10px 0;
    clear: both;
    width: 100%;
}

/* 针对特定的二级菜单使用两列 */
#menu-topmenu .sub-menu-10 {
    width: 400px !important;
    column-count: 2 !important;
}

.footer .sub-menu-151 {
    min-width: 220px;
    column-count: 2 !important;
}

/* 默认隐藏汉堡菜单按钮 */
.mobile-menu-toggle {
    display: none;
}

/* ===== 桌面端样式 (宽度 > 1024px) ===== */
@media screen and (min-width: 1025px) {

    /* 桌面导航布局 */
    header {
        position: absolute;
        top: 0;
        margin-top: 30px;
        left: 0;
        width: 100%;
        color: #fff;
        text-align: center;
        z-index: 9999999999;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar {
        display: flex;
        align-items: center;
        width: 100%;
    }

    .logo {
        margin-left: 30px;
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 200px;
    }

    /* 桌面菜单样式 */
    .nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        font-size: 0.9rem !important;
        margin-left: auto;
    }

    .nav-menu li {
        position: relative;
        margin-right: 20px;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .nav-menu li a:hover,
    .nav-menu li a:focus {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* 桌面端子菜单 */
    .nav-menu li ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        background-color: rgba(0, 0, 0, 0.6);
        list-style: none;
        padding: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        column-count: 1;
        column-gap: 20px;
    }

    .nav-menu li:hover ul {
        display: block;
    }

    .nav-menu li ul li {
        margin: 0;
    }

    .nav-menu li ul li a {
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .nav-menu li ul li a:hover,
    .nav-menu li ul li a:focus {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* 桌面端语言选择器 */
    #translate {
        position: relative;
        z-index: 1001;
        display: flex;
        align-items: center;
        margin: 10px 15px;
    }

    .navbar #translate {
        position: static;
        padding: 0;
        display: flex;
        align-items: center;
    }

    #translate select {
        background-color: rgba(0, 0, 0, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 5px 25px 5px 10px;
        border-radius: 4px;
        font-size: 0.85rem;
    }

    #translate select:hover {
        background-color: rgba(0, 0, 0, 0.8);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

/* ===== 移动设备样式 (宽度 ≤ 1024px) ===== */
@media screen and (max-width: 1024px) {

    /* 基础样式调整 */
    body {
        font-size: 1rem;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 头部布局调整 */
    header {
        margin-top: 10px;
        flex-direction: column;
    }

    .logo {
        margin-bottom: 10px;
        z-index: 1001;
        margin-left: 20px;
    }

    .logo img {
        max-width: 80%;
    }

    /* 移动菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        line-height: 35px;
        text-align: center;
        background-color: #990000;
        border-radius: 4px;
        z-index: 100000;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: #cc0000;
    }

    /* 侧边抽屉式菜单容器 */
    .navbar {
        position: fixed;
        top: 0;
        right: -600px;
        /* 初始位置在屏幕外 */
        width: 600px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 99999;
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        padding-top: 60px;
        display: flex;
        flex-direction: column;
    }

    /* 当菜单激活时显示 */
    .navbar.mobile-active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    /* 菜单项样式 */
    .nav-menu {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 99999;
        flex-direction: column;
    }

    .nav-menu li {
        display: block;
        margin: 0;
        padding: 0;
        text-align: left;
        position: relative;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 15px 20px;
        display: block;
        font-weight: bold;
        font-size: 16px;
        color: #fff;
        position: relative;
        z-index: 99999;
        text-decoration: none;
    }

    /* 子菜单样式 */
    .nav-menu li ul {
        position: static;
        width: 100%;
        display: none;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin: 0;
        padding: 0;
        transform: none;
        left: auto;
        column-count: 1;
        z-index: 99999;
    }

    /* 子菜单箭头标识 */
    .nav-menu li.menu-item-has-children>a {
        position: relative;
    }

    .nav-menu li.menu-item-has-children>a::after {
        content: "+";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: bold;
    }

    .nav-menu li.menu-item-has-children.open>a::after {
        content: "-";
    }

    /* 打开的子菜单样式 */
    .nav-menu li.menu-item-has-children.open>ul {
        display: block;
    }

    .nav-menu li ul li:last-child {
        border-bottom: none;
    }

    .nav-menu li ul li a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
        font-weight: normal;
        color: #e0e0e0;
    }

    /* 语言选择器移动版样式 */
    .language-selector {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        order: -1;
        /* 确保在导航菜单上方显示 */
    }

    #translate {
        position: static;
        display: inline-block;
        margin: 0;
        padding: 0;
        width: auto;
        border-bottom: none;
        order: 2 !important;
        /* 确保在图标后面显示 */
    }

    .language-selector .language-icon {
        margin-left: 20px;
        height: 18px;
        width: auto;
        order: 1;
        /* 确保在translate前面显示 */
    }

    #translate select {
        background-color: transparent;
        border: none;
        padding: 15px 20px;
        font-weight: bold;
        font-size: 16px;
        color: #fff;
        text-align: left;
        border-radius: 0;
        width: auto;
        max-width: calc(100% - 20px);
    }

    #translate select:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* ===== 特小屏幕设备额外样式 (宽度 ≤ 576px) ===== */
@media screen and (max-width: 576px) {
    .logo img {
        max-width: 70%;
    }

    .footer-nav {
        flex-direction: column;
    }

    .footer-nav>li {
        margin: 10px 0;
    }
}

.banner-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 占满父容器的宽度 */
    height: 100%;
    /* 占满父容器的高度 */
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    gap: 20px;
    z-index: 10;
    /* 确保在最上层 */
}

.banner-icon {
    position: absolute;
    width: 100vw;
    /* 设置宽度为窗口宽度 */
    height: auto;
    /* 保持宽高比 */
    opacity: 0.5;
    /* 设置透明度为0.5 */
}

.banner-icon.left {
    left: 0;
    /* 确保与窗口左边对齐 */
    top: 0;
    /* 从顶部开始 */
    height: 100vh;
    /* 设置高度为视口高度的100% */
    width: auto;
    /* 宽度等比例缩放 */
}

.banner-icon.bottom {
    bottom: 0;
    /* 靠底部显示 */
    left: 0;
    /* 从左边开始 */
    height: auto;
    /* 保持宽高比 */
    opacity: 0.1;
    /* 设置透明度为0.3 */
}

.banner-icon.right {
    right: 0;
    /* 靠右显示 */
    bottom: 0;
    /* 靠底部显示 */
    width: auto;
    /* 保持原始宽度 */
    height: auto;
    /* 保持原始高度 */
}

.caption-part1 {
    margin-right: 1rem;
    color: #fff;
    font-size: 5rem;
    /* 放大200% */
    font-weight: 900;
    /* 使用最粗的字体 */
    /* 设置"防护"的字体大小和颜色 */
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    /* 添加白色描边 */
    line-height: 4rem;
    display: inline-block;
    /* 确保是内联块级元素 */
}

.caption-part2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    line-height: 4rem;
    /* 设置较细的字体 */
    /* 设置"无处不在"的字体大小和颜色 */
    display: inline-block;
    /* 确保是内联块级元素 */
    white-space: normal;
    /* 允许文本换行 */
}

.custom-section {
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* 宽度 100%，高度自动 */
    background-position: top center;
    /* 贴顶显示，水平居中 */
    background-repeat: no-repeat;
    /* 不重复显示 */
}

#section5 {
    margin: 2rem auto;
}

#section1 {
    height: 200%;
    z-index: 10;
    /* 设置第一个 section 的高度 */
}

.combined-sections {
    background-size: cover;
    /* 宽度 100%，高度自动 */
    background-position: top center;
    /* 贴顶显示，水平居中 */
    background-repeat: no-repeat;
    /* 不重复显示 */
}

.content {

    z-index: 9999;
    color: #333333;
    text-align: center;
}

#section1 .contents {
    text-align: left;
}

#section1 .content p {
    margin: 1rem auto;
}

.content p {
    width: 80%;
    margin: 0 auto;
}

.aboutus_bg {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 2rem;
}

.content h2 {
    color: #cc0000;
    /* 设置标题颜色 */
    font-size: 1.3rem;
    /* 调整字体大小 */
}

#section4 h2 {
    color: #ffffff;
}

#section2 {
    height: 1100px;
}

#section2 .content {
    position: relative;
    top: 150px;
    /*top: 750px;
    /* 根据需要调整 */
}

.brand-philosophy p {
    text-align: center;
    margin: 1rem auto;
}

.section3 {
    position: relative;
    background-color: rgba(255, 255, 255, 0.5);
    /* 设置背景为 50% 透明度 */
    background-blend-mode: overlay;
    /* 确保背景图和颜色混合 */
}

#section3 .content {
    top: 60%;
    /* 根据需要调整 */
}

#section4 .content {
    background: rgba(0, 0, 0, 0.6);
    margin: 50px auto;
    padding: 50px 0;
}

#section5 .content {
    padding-bottom: 60px;
    /* 根据需要调整 */
}

.content-columns {
    display: flex;
    justify-content: space-between;
    gap: 0;
    /* 去掉间距 */
    width: 100%;
}

.column {
    flex: 0 0 30%;
    color: #333333;
    /* 设置字体颜色 */
    text-align: left;
    /* 左右对齐 */
}

.spacer1 {
    flex: 0 0 17%;
    /* 两侧空白占 20% */
}

.spacer2 {
    flex: 0 0 6%;
    /* 两侧空白占 20% */
}

.brand-philosophy {
    margin-top: 50px;
    width: 80%;
    /* 设置宽度为窗口宽度的 50% */
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    color: #333333;
}

.brand-philosophy .title {
    font-size: 1.1rem;
    text-align: center;
    font-weight: 900;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}

.page-template-aboutus .year {
    width: 50%;
    display: flex;
    flex-direction: column;
    font-weight: 900;
    font-size: 1.5rem;
    line-height: 1.3rem;
    color: #cc0000;
    text-align: right !important;
    padding: 0 5px;
    height: 70px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    justify-content: center;
}

.description {
    color: #333333;
    font-size: 0.9rem;
    width: 50%;
    text-align: left;
    padding: 0 5px;
    border-left: 1px solid #cc0000;
    min-height: 70px;
    display: flex;
    align-items: center;
    line-height: 1rem;
}

.event:nth-child(even) .description {
    text-align: right;
    border-right: 1px solid #cc0000;
    border-left: none;
    justify-content: flex-end;
    /* 贴近中心线 */
}

.event:nth-child(even) .year {
    order: 2;
    text-align: left !important;
}

.news-list {
    padding: 30px 0px;
    background-color: #f9f9f9;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1000px;
    /* 设置宽度 */
    height: 347px;
    /* 设置高度 */
    margin: 0 auto;
    margin-bottom: 80px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-item .date {
    flex: 0 0 33%;
    text-align: right;
    padding-right: 10px;
}

.news-item .date .year {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 6rem;
    /* 设置年份字体大小 */
    font-weight: bold;
    /* 设置年份字体加粗 */
    color: #ffffff;
    /* 设置年份颜色 */
}

.news-item .date .day {
    font-weight: lighter;
    font-size: 3rem;
    /* 设置日期字体大小 */
    color: #ffffff;
    /* 设置日期颜色 */
}

.news-item .date span {
    display: block;
}

.news-item .content {
    flex: 0 0 64%;
    text-align: left;
    padding-left: 20px;
}

.news-item .content h2 {
    display: block;
    width: 95%;
    margin: 0 0 10px;
    font-size: 24px;
    color: #ffffff;
}

.news-item .content p {
    margin: 0;
    color: #aaa;
}

.news-item a {
    color: #0073aa;
    text-decoration: none;
}

.latest-news {
    background-color: #b30000;
    /* 背景颜色 */
    padding: 40px 20px;
    color: #fff;
}

.post-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-item {
    background-color: #fff;
    color: #000;
    overflow: hidden;
    width: 24%;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
}

.post-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    /* 调整斜角大小 */
    border-color: transparent transparent #b30000 transparent;
    /* 红色斜角 */
}

.post-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    /* 使其成为正方形 */
    background-size: cover;
    background-position: center;
    position: relative;
}

.post-content {
    padding: 15px;
    position: relative;
    min-height: 120px;
    /* 最小高度而不是固定高度，以适应各种内容 */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    /* 确保padding不影响总高度 */
}

.post-content .title {
    text-align: left;
    font-size: 1rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 限制为3行 */
    -webkit-box-orient: vertical;
    margin-bottom: 25px;
    /* 为日期腾出空间 */
}

.post-date {
    font-size: 0.9em;
    color: #999999;
    position: absolute;
    bottom: 15px;
    right: 15px;
    margin-top: 0;
    text-align: right;
    background-color: #fff;
    /* 添加背景色，防止文字遮挡 */
    padding: 2px 0 0 5px;
    /* 稍微增加内边距 */
}

.more-link {
    text-align: center;
    margin-top: 20px;
}

.more-link a {
    color: #fff;
    text-decoration: none;
    margin: 40px auto;
    display: block;
}

.posts {
    width: 80%;
    margin: 0 auto;
}

.latest-news .subject {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    width: 100%;
    margin: 20px auto;
}

.partner-container {
    padding: 20px 0px;
    background-color: #f5f5f5;
    height: auto;
    /* 自动适应内容高度 */
    overflow: hidden;
    /* 隐藏溢出 */
    position: relative;
}

.cart-container {
    padding: 20px;
    background-color: #0a0a0a;
    background-repeat: no-repeat;
    height: auto;
    /* 自动适应内容高度 */
    overflow: hidden;
    /* 隐藏溢出 */
    position: relative;
}

.partner-section {
    width: 1000px;
    margin: 60px auto;
    z-index: 2;
    /* 确保在背景之上 */
    position: relative;
}

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

.partner-text {
    flex: 1;
    margin-right: 20px;
}

.partner-text h2 {
    font-size: 1.2rem;
    font-weight: 900;
    color: #003366;
}

.partner-content img {
    width: 50%;
    flex-shrink: 0;
}

.partner-content p {
    max-width: 600px;
    color: #666666;
    font-size: 0.9rem;
}

.partner-bg {
    background: rgba(255, 255, 255, .7);
    width: 65%;
    height: 100%;
    position: absolute;
    top: 230px;
    /* 从顶部开始 */
    left: 0;
    z-index: 1;
    /* 确保在底层 */
}

.aftersale-container {
    position: relative;
    height: 1850px;
    padding: 20px 0px;
    background-color: #f5f5f5;
    overflow: hidden;
    background-position: top;
    /* 确保背景居中显示 */
}

.aftersale-services {
    width: 450px;
    margin: 0 auto;
    color: #999999;
    /* 居中对齐 */
}

.repair-service {
    padding-left: 90px;
    border-radius: 5px;
    margin-top: 730px;
}

.repair-service h2 {
    color: #990000;
    font-size: 2.6rem;
    border-left: 6px solid #990000;
    line-height: 2.6rem;
    padding-left: 10px;
}

.cleaning-service {
    border-radius: 5px;
    margin-top: 200px;
}

.cleaning-service h2 {
    color: #0066cc;
    font-size: 3rem;
    text-align: right;
    border-right: 6px solid #0066cc;
    font-size: 2.6rem;
    line-height: 2.6rem;
    padding-right: 10px;
}

.emergency-service {
    margin-top: 180px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.emergency-service h2 {
    border-left: 6px solid #ff9900;
    color: #ff9900;
    font-size: 3rem;
    font-size: 2.6rem;
    line-height: 2.6rem;
    padding-left: 10px;
}

/* FAQ 页面样式 */
.faq-container {
    margin: 0 auto;
    padding: 20px 0px;
    background-position: top;
    background-repeat: no-repeat;
    background-color: #000000;
}

.faq-section {
    width: 90%;
    margin: 20px auto;
}

.faq-section h2 {
    margin: 30px 0;
    border-left: 5px solid #990000;
    padding-left: 10px;
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    margin: 10px 0;
    padding: 20px;
    background-color: #cccccc;
    color: #333333;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    /* 为伪元素定位 */
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    /* 调整斜角大小 */
    border-color: transparent transparent #e74c3c transparent;
    /* 默认红色斜角 */
}

.faq-question:hover {
    background-color: #c0392b;
    color: #fff;
    transform: translateY(-2px);
}

.faq-question:hover::after {
    border-color: transparent transparent #fff transparent;
    /* 悬停时变为白色斜角 */
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #f7f7f7;
    color: #333;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.faq-answer.open {
    display: block;
    max-height: 500px;
    opacity: 1;
}

.white-bg {
    background-color: #fff;
    width: 1000px;
    margin: 359px auto 30px;
    padding: 20px 0px;
}

.nav-menu .menu-item-has-children.open>.sub-menu {
    display: block;
}

.nav-menu .menu-item-has-children>.sub-menu {
    display: none;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 20);
    /* 10个logo，每个200px宽 */
    flex-shrink: 0;
    /* 防止flex项目被压缩 */
}

.logo-track img {
    width: 200px;
    height: auto;
    margin: 0 20px;
    object-fit: contain;
    flex-shrink: 0;
    /* 防止图片被压缩 */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 10));
        /* 移动一半的距离，因为我们重复了logo */
    }
}

.standard-content {
    display: flex;
    flex-direction: column;
    padding: 20px 0px;
}

.content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
}

.contact-info {
    flex: 0 0 100%;
    padding: 0 20px;
    color: #ffffff;
    text-align: center;
}

.cart-info {
    flex: 0 0 100%;
    padding: 0 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.cart-info a,
.cart-info a:hover,
.cart-info a:active,
.cart-info a:visited {
    color: #c0392b;
    text-decoration: none;
}

.page-content {
    padding: 30px;
    color: #333333;
    line-height: 1.6;
}

.contact-form {
    display: none;
}

.swiper-navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.product-showcase {
    width: 750px;
    max-width: 100%;
    z-index: 10;
    position: relative;
}

.product-swiper {
    overflow: hidden;
    padding: 10px 0;
    width: 100%;
    position: relative;
}

.product-swiper .swiper-button-prev,
.product-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #990000;
    transition: background 0.3s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 24px;
}

.contact-form {
    width: 1000px;
    background-color: rgba(255, 255, 255, 0.2);
    /* 白色透明底 */
    margin: 0 auto;
    /* 居中对齐 */
    padding: 20px;
    /* 内边距 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    /* 阴影效果 */
    color: #ffffff;
    /* 设置字体颜色为白色 */
}

.contact-form p {
    margin-left: 10px;
}

.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.8);
    /* 黑色半透明遮罩 */
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* 占窗口80%的宽度 */
    height: 60%;
    /* 占窗口80%的高度 */
    overflow-y: auto;
    position: relative;
    z-index: 99999999;
}

.close {
    color: #aaa;
    float: right;
    font-size: 3rem;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.productcat {
    background-position: center top;
    min-height: 800px;
    position: relative;
    padding: 20px 10px;
    justify-content: center;
    align-items: center;
}

.product-showcase .swiper-slide {
    width: 350px;
    padding: 0;
}

.productcat-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 150px auto 100px;
}

.page-title {
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.producthead {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 812px;
    overflow: hidden;
    mask-image: url('assets/images/producthead.png');
    mask-size: cover;
    /* 或contain、100% 100%等 */
    mask-repeat: no-repeat;
    mask-position: center;

    /* 为了兼容Webkit内核浏览器，如Chrome和Safari */
    -webkit-mask-image: url('assets/images/producthead.png');
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.producthead-img {
    margin-left: -500px;
    position: absolute;
    z-index: 999;
    margin-top: 150px;
}

.producthead-img2 {
    width: 2000px;
    opacity: 0.2;
    position: absolute;
    left: -500px;
    top: -15%;
    filter: grayscale(100%);
}

.product-card {
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: 100%;
    margin: 0;
    transition: transform 0.3s ease;
}

.product-card a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 卡片悬停效果 */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 375px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 15px;
    justify-content: center;
    align-items: center;
}

.product-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
    height: 3rem;
    /* 设置固定高度，预留两行空间 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-model {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0;
    text-align: center;
    font-style: italic;
    height: 2.4rem;
    /* 设置固定高度，预留两行空间 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-details-link {
    display: none;
}

.no-products {
    width: 50%;
    margin: 500px auto 380px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.product-images-swiper {
    width: 514px;
    height: 977px;
    position: relative;
    top: 314px;
    /* 使用 vw 单位，根据实际效果微调数值 */
    overflow: hidden;
    mask-image: url('assets/images/productslide.png');
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: center;

    -webkit-mask-image: url('assets/images/productslide.png');
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    background-color: transparent;
}

.product-images-swiper .swiper {
    padding-top: 80px;
}

.product-images-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-menu li:hover ul {
    display: block;
}

.nav-menu li ul li {
    margin: 0;
}

.nav-menu li ul li a {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav-menu li ul li a:hover,
.nav-menu li ul li a:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

.current-category-name {
    width: 90%;
    margin: 180px 0 160px;
}

.current-category-name h2 {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    display: inline-block;
}

/* 产品详情页样式 */
.product-detail-container {
    background-position: center top;
    min-height: 800px;
    padding: 40px 20px;
    position: relative;
}

.product-detail-wrapper {
    margin: 0 auto;
    padding: 30px;
}

.back-to-category {
    margin-bottom: 20px;
}

.back-to-category a {
    display: inline-flex;
    align-items: center;
    color: #990000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-category a:hover {
    color: #cc0000;
}

.product-detail-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.product-detail-title {
    margin-top: 100px;
    font-size: 1.8rem;
    font-weight: bolder;
    margin-bottom: 5px;
    color: #fff;
    z-index: 999;
    position: relative;
}

.product-detail-model {
    font-size: 2rem;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #fff;
    margin-bottom: 5px;
}

.product-detail-category {
    font-size: 16px;
    color: #990000;
    margin-top: 5px;
    font-weight: bold;
}

.product-detail-content {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
    height: 700px;
}

.product-detail-images {
    flex: 0 0 45%;
}

.product-main-image {
    margin-bottom: 20px;
    text-align: center;
}

.product-main-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    border-radius: 5px;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-thumbnail {
    flex: 0 0 calc(25% - 10px);
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.gallery-thumbnail.active {
    border-color: #990000;
}

.gallery-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info {
    flex: 0 0 calc(55% - 30px);
}

.product-description,
.product-parameters,
.technical-specifications {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.product-description h2,
.product-parameters h2,
.technical-specifications h2,
.size-chart h2,
.related-products h2,
.add-to-cart-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.description-content,
.specs-content {
    line-height: 1.6;
    color: #333;
}

.parameters-table,
.size-chart,
.size-chart table {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    width: 100%;
}

.parameters-table th,
.parameters-table td,
.size-chart td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #353d40;
    color: #fff;
    background-color: #535d5f;
}

.size-chart td {
    text-align: center;
}

.parameters-table tr:hover {
    background-color: #f9f9f9;
}

.parameters-table th {
    width: 30%;
    font-weight: 600;
    color: #fff;
    background-color: #3d4548;
}

.size-chart th {
    padding: 12px 15px;
    font-weight: 600;
    color: #fff;
    background-color: #3d4548;
    border: 1px solid #353d40;
}

.related-products {
    margin-top: 40px;
}

.related-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.related-product-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.related-product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-product-image {
    height: 200px;
    overflow: hidden;
}

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

.related-product-info {
    padding: 15px;
}

.related-product-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
    text-align: center;
}

.related-product-model {
    font-size: 14px;
    color: #666;
    text-align: center;
    font-style: italic;
}

/* 响应式设计 */
@media only screen and (max-width: 768px) {
    .product-detail-content {
        flex-direction: column;
    }

    .product-detail-images,
    .product-detail-info {
        flex: 0 0 100%;
    }

    .gallery-thumbnail {
        flex: 0 0 calc(33.333% - 10px);
    }

    .related-product-card {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .parameters-table th {
        width: 40%;
    }

    .sub_title {
        width: 90%;
    }

    .subtitle {
        font-size: 1.4rem;
        text-align: left;
        padding-left: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .product-images-swiper {
        width: 100%;
        height: auto;
        background-image: none;
    }

    .product-images-swiper .swiper {
        padding-top: 0;
    }

}

/* 响应式设计 - 移动设备自适应 */
@media only screen and (max-width: 768px) {

    /* 基本样式调整 */
    body {
        font-size: 1rem;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }

    /* 新闻列表移动端适配 */
    .news-list {
        padding: 20px 15px;
        background-size: cover;
        background-position: center;
    }

    .news-item {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        min-height: 200px;
        margin: 0 auto 30px auto;
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
        background-image: none !important;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    .news-item:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .news-item .date {
        flex: none;
        width: 100%;
        text-align: center;
        padding: 15px 0;
        margin-bottom: 15px;
        background-color: #cc0000;
        border-radius: 8px;
    }

    .news-item .date .year {
        font-size: 2.5rem;
        margin-right: 10px;
        display: inline-block;
        color: #ffffff;
    }

    .news-item .date .day {
        font-size: 1.5rem;
        display: inline-block;
        color: #ffffff;
    }

    .news-item .content {
        flex: none;
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .news-item .content h2 {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
        width: 100%;
        color: #333333;
    }

    .news-item .content p {
        font-size: 14px;
        line-height: 1.5;
        color: #666666;
    }

    /* 分页导航移动端适配 */
    .pagination {
        margin: 20px 0;
        gap: 20px;
    }

    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

/* 小屏幕移动设备适配 (480px以下) */
@media only screen and (max-width: 480px) {
    .news-list {
        padding: 15px 10px;
    }

    .news-item {
        padding: 15px;
        min-height: 180px;
        margin-bottom: 25px;
        background-image: none !important;
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }

    .news-item:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

    .news-item .date {
        padding: 10px 0;
        margin-bottom: 10px;
        background-color: #cc0000;
        border-radius: 8px;
    }

    .news-item .date .year {
        font-size: 2rem;
        margin-right: 8px;
        color: #ffffff;
    }

    .news-item .date .day {
        font-size: 1.2rem;
        color: #ffffff;
    }

    .news-item .content {
        text-align: left;
    }

    .news-item .content h2 {
        font-size: 16px;
        margin-bottom: 8px;
        color: #333333;
    }

    .news-item .content p {
        font-size: 13px;
        color: #666666;
    }

    .pagination {
        gap: 15px;
    }

    .nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    /* 强制防止水平滚动 */
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* 修复标准模板的水平滚动问题 */
    .page-template-standard {
        overflow-x: hidden;
        width: 100%;
    }

    /* Banner高度调整 */
    .main-banner {
        height: 100vh;
        /* 标准浏览器 */
        height: calc(var(--vh, 1vh) * 100);
        /* 修复iOS Safari */
        min-height: 500px;
        /* 确保有最小高度 */
        position: relative;
        display: block !important;
        /* 强制显示 */
        z-index: 1;
        /* 确保在正确的层级 */
    }

    .banner-item {
        height: 100%;
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
    }

    .banner-item.active {
        opacity: 1;
        z-index: 2;
    }

    .page-template-standard .swiper {
        width: 100%;
        padding: 20px 0;
        max-width: 100vw;
    }

    .page-template-standard .content,
    .page-template-standard .standard-content,
    .page-template-standard .content-wrapper {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* 头部导航调整 */
    header {
        margin-top: 10px;
        flex-direction: column;
    }

    .logo {
        margin-bottom: 10px;
        z-index: 1001;
    }

    .logo img {
        max-width: 80%;
        height: auto;
    }

    /* 移动菜单按钮 */
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        line-height: 35px;
        text-align: center;
        background-color: #990000;
        border-radius: 4px;
        z-index: 100000;
        /* 确保按钮在最顶层 */
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle:hover {
        background-color: #cc0000;
    }

    /* 侧边抽屉式菜单容器 */
    .navbar {
        position: fixed;
        top: 0;
        right: -280px;
        /* 初始位置在屏幕外 */
        width: 280px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 99999;
        /* 增加z-index确保在最上层 */
        transition: right 0.3s ease-in-out;
        overflow-y: auto;
        padding-top: 60px;
        display: flex;
        flex-direction: column;
    }

    /* 当菜单激活时显示 */
    .navbar.mobile-active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    /* 菜单项样式 */
    .nav-menu {
        display: block;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-menu li {
        display: block;
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        padding: 15px 20px;
        display: block;
        font-weight: bold;
        font-size: 16px;
        color: #fff;
    }

    .nav-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    /* 子菜单样式 */
    .nav-menu li ul {
        position: static;
        width: 100%;
        display: none;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin: 0;
        padding: 0;
        transform: none;
        left: auto;
        column-count: 1;
    }

    .nav-menu li.menu-item-has-children>a {
        position: relative;
    }

    .nav-menu li.menu-item-has-children>a::after {
        content: "+";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        font-weight: bold;
    }

    .nav-menu li.menu-item-has-children.open>a::after {
        content: "-";
    }

    .nav-menu li.menu-item-has-children.open>ul {
        display: block;
    }

    .nav-menu li ul li:last-child {
        border-bottom: none;
    }

    .nav-menu li ul li a {
        padding: 12px 20px 12px 35px;
        font-size: 14px;
        font-weight: normal;
        color: #e0e0e0;
    }

    #menu-topmenu .sub-menu-10 {
        width: 100% !important;
    }

    /* 确保其他样式仍然有效 */
    .section {
        padding: 30px 15px;
    }

    .white-bg {
        width: 90%;
        padding: 15px;
    }

    .content-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .contact-info,
    .cart-info,
    .contact-form {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .contact-form {
        width: 100%;
    }

    .caption-part1 {
        font-size: 4rem;
        line-height: 5rem;
        /* 调整行高 */
        margin-right: 1rem;
    }

    .caption-part2 {
        font-size: 2rem;
        /* 减少间距 */
        margin-top: 0.5rem;
        /* 添加上边距，在窄屏幕上可能会换行 */
    }

    .banner-caption {
        max-width: 90%;
        /* 在移动设备上增加宽度 */
        left: 10vw;
        /* 调整左边距 */
        right: 5%;
        /* 确保右边有足够空间 */
        flex-direction: column;
        /* 在非常窄的屏幕上，改为纵向排列 */
        align-items: flex-start;
        /* 左对齐 */
    }

    .banner-text-part1 {
        font-size: 1.2rem;
    }

    .banner-text-part2 {
        font-size: 1rem;
        letter-spacing: 0rem;
    }

    /* 自适应轮播 */
    .swiper {
        width: 100%;
        padding: 20px 0;
    }

    .mySwiper .swiper-slide {
        width: 200px !important;
        height: 280px !important;
    }

    /* 合作伙伴区域优化 */
    .partner-container {
        flex-direction: column;
        padding: 30px 0px;
        background-size: cover;
        background-position: center;
    }

    .partner-section {
        width: 100%;
        margin: 20% 0 20%;
    }

    .partner-content {
        flex-direction: column;
        margin-bottom: 25px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .partner-text {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        order: 2;
    }

    .partner-text h2 {
        font-size: 1.3rem;
        margin: 15px 0;
        text-align: center;
        color: #990000;
    }

    .partner-content img {
        width: 90%;
        margin: 0 auto 15px;
        display: block;
        border-radius: 5px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
        order: 1;
        margin-top: -20%;
    }

    .partner-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        padding: 0 5px;
    }

    .partner-bg {
        display: none;
        /* 在移动端隐藏背景层 */
    }

    .aftersale-container {
        background-image: url('assets/images/aftersalebg2.jpg');
        /* 移动端背景图 */
        background-size: auto;
        /* 确保背景图能够完全覆盖容器 */
        height: auto;
        background-position: top left;
    }

    .aftersale-services {
        width: 90%;
    }

    .repair-service,
    .cleaning-service,
    .emergency-service {
        margin-left: 0px;
        padding-left: 0px;
    }

    .repair-service {
        margin-top: 500px;
    }

    .cleaning-service {
        margin-top: 150px;
    }

    .emergency-service {
        margin-top: 180px;
        padding-bottom: 100px;
    }

    .repair-service h2,
    .cleaning-service h2,
    .emergency-service h2 {
        font-size: 1.5rem;
        line-height: 2rem;
        text-align: right;
        width: 100%;
        border-left: 0px;
        padding-right: 10px;
        padding-left: 0px;
    }

    .repair-service h2 {
        border-right: 6px solid #990000;
    }

    .cleaning-service h2 {
        border-right: 6px solid #0066cc;
    }

    .emergency-service h2 {
        border-right: 6px solid #ff9900;
    }

    .aftersale-services .pp {
        width: 60%;
        position: relative;
        right: 0px;
        margin-left: auto;
        text-align: justify;
    }

    .modal-content {
        width: 80%;
    }

    .column {
        flex: 0 0 45%;
        color: #333333;
        /* 设置字体颜色 */
        text-align: justify;
        /* 左右对齐 */
    }

    .spacer1 {
        flex: 0 0 4%;
        /* 两侧空白占 20% */
    }

    .spacer2 {
        flex: 0 0 1%;
        /* 两侧空白占 20% */
    }

    .page-template-aboutus .content-columns p {
        width: 90%;
        text-align: left;
    }

    .brand-philosophy {
        width: 90%;
    }

    .footer-menu {
        display: none;
    }

    /* 首页帖子区域调整 */
    .posts {
        width: 100% !important;
    }

    .post-item {
        width: 100% !important;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        overflow: hidden;
    }

    .post-image {
        width: 40% !important;
        padding-bottom: 0 !important;
        height: 120px;
    }

    .post-content {
        width: 60%;
        padding: 10px;
        display: flex;
        flex-direction: column;
        min-height: 120px;
        /* 使用最小高度而不是固定高度 */
        position: relative;
        box-sizing: border-box;
    }

    .post-content .title {
        font-size: 0.95rem;
        line-height: 1.3;
        font-weight: bold;
        -webkit-line-clamp: 2;
        /* 移动设备限制为2行 */
        margin-bottom: 20px;
        /* 为日期腾出空间 */
    }

    .post-date {
        font-size: 0.8rem;
        bottom: 10px;
        right: 10px;
        background-color: #fff;
        padding: 2px 0 0 5px;
    }

    .post-grid {
        flex-direction: column;
        gap: 15px;
    }

    .combined-sections {
        background-size: auto 100%;
    }

    .product-showcase {
        width: 250px;
    }

    .size-chart table {
        min-width: 768px;
        margin-left: auto;
        margin-right: auto;
        border-collapse: collapse;
        width: 100%;
    }

    .size-chart-move {
        width: 100%;
        overflow-x: scroll;
    }
}

/* 平板设备自适应 */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .white-bg {
        width: 90%;
    }

    .content-wrapper {
        width: 90%;
    }

    .contact-form {
        width: 90%;
    }

    .modal-content {
        width: 70%;
    }

    /* Banner高度调整 */
    .main-banner {
        height: 100vh;
    }

    .banner-item {
        height: 100%;
        /* 确保banner-item高度与main-banner一致 */
    }
}

/* 平板设备竖屏状态适配 */
@media only screen and (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {

    /* 头部导航调整 */
    header {
        margin-top: 10px;
        flex-direction: column;
    }

    .logo {
        margin-bottom: 10px;
    }

    /* 首页帖子区域调整 */
    .posts {
        width: 90% !important;
        margin: 0 auto;
    }

    .post-item {
        width: 30% !important;
    }

    /* 调整帖子之间的间距，确保三个帖子能正常排列 */
    .post-grid {
        gap: 3%;
    }

    .nav-menu li.menu-item-has-children.open {
        background-color: transparent;
        /* 移除菜单项的背景色 */
    }

    .nav-menu li.menu-item-has-children.open>a {
        background-color: #990000;
        /* 将深红色背景应用到链接上 */
    }

    /* 重置特定子菜单的宽度 */
    #menu-topmenu .sub-menu-10 {
        width: 100% !important;
        /* 覆盖桌面端的固定宽度 */
        column-count: 2 !important;
        /* 在平板竖屏模式使用单列显示 */
    }

    /* Banner高度调整 */
    .main-banner {
        height: 100vh;
    }

    .banner-item {
        height: 100%;
        /* 确保banner-item高度与main-banner一致 */
    }

    /* 新闻项目样式调整 */
    .news-item .date {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .news-item .date .year {
        margin-right: 10px;
    }

    .news-item .date .day {
        margin-top: 0;
    }
}

/* 分页导航样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    gap: 40px;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #990000;
    text-decoration: none;
    color: #990000;
    font-size: 28px;
    font-weight: bold;
}

.nav-arrow:hover {
    background: #990000;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.nav-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    border-color: #cccccc;
    background: rgba(255, 255, 255, 0.7);
    color: #cccccc;
}

.woocommerce {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== 我的账户页面样式 ===== */

/* 我的账户页面专用样式 */
.myaccount-container {
    padding: 20px 0px;
    background-color: #0a0a0a;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    height: auto;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
}

.myaccount-info {
    flex: 0 0 100%;
    padding: 0 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

/* 强制左右布局 - 使用CSS Grid */
.myaccount-info .woocommerce {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px;
    display: grid !important;
    grid-gap: 30px !important;
    align-items: start !important;
}

/* 登录页面特殊处理 - 一列显示 */
.myaccount-info .woocommerce #customer_login,
.myaccount-info .woocommerce .u-columns {
    display: block !important;
    grid-template-columns: 1fr !important;
    grid-gap: 0 !important;
}

/* 强制覆盖WooCommerce默认的两列布局 */
.myaccount-info .woocommerce #customer_login .u-columns,
.myaccount-info .woocommerce #customer_login .u-column1,
.myaccount-info .woocommerce #customer_login .u-column2 {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 0 30px 0 !important;
    clear: both !important;
}

/* 确保登录表单容器也是单列 */
.myaccount-info .woocommerce .u-columns .u-column1 .woocommerce-form,
.myaccount-info .woocommerce .u-columns .u-column2 .woocommerce-form {
    margin: 0 auto !important;
}

/* 额外强制规则 - 针对所有可能的WooCommerce登录页面元素 */
.myaccount-info .woocommerce #customer_login *,
.myaccount-info .woocommerce .u-columns * {
    float: none !important;
    clear: both !important;
}

/* 确保登录页面容器本身也是单列 */
.myaccount-info .woocommerce #customer_login {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* 登录页面内的列容器也强制单列 */
.myaccount-info .woocommerce .u-columns .u-column1,
.myaccount-info .woocommerce .u-columns .u-column2 {
    width: 100% !important;
    float: none !important;
    display: block !important;
    margin: 0 0 30px 0 !important;
}

/* 导航栏样式 */
.myaccount-info .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    background: linear-gradient(135deg, #c0392b, #990000);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    position: sticky;
    top: 20px;
    height: fit-content;
}

.myaccount-info .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.myaccount-info .woocommerce-MyAccount-navigation li {
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: block !important;
    float: none !important;
    width: 100% !important;
}

.myaccount-info .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.myaccount-info .woocommerce-MyAccount-navigation a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    font-weight: 600 !important;
    border: 2px solid transparent !important;
    text-align: left !important;
    font-size: 16px !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.myaccount-info .woocommerce-MyAccount-navigation a:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.myaccount-info .woocommerce-MyAccount-navigation .is-active a {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* 内容区域样式 */
.myaccount-info .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e0e0e0 !important;
    min-height: 500px !important;
    float: none !important;
    width: inherit !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: inherit !important;
}

/* 重置所有可能的浮动 */
.myaccount-info .woocommerce * {
    float: none !important;
}

/* 表单样式美化 */
.myaccount-info .woocommerce form {
    max-width: 100% !important;
    margin: 0 auto !important;
}

.myaccount-info .woocommerce form .form-row {
    margin-bottom: 20px !important;
}

.myaccount-info .woocommerce form label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333333 !important;
}

.myaccount-info .woocommerce form input[type="text"],
.myaccount-info .woocommerce form input[type="email"],
.myaccount-info .woocommerce form input[type="password"],
.myaccount-info .woocommerce form input[type="tel"],
.myaccount-info .woocommerce form textarea,
.myaccount-info .woocommerce form select {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.myaccount-info .woocommerce form input[type="text"]:focus,
.myaccount-info .woocommerce form input[type="email"]:focus,
.myaccount-info .woocommerce form input[type="password"]:focus,
.myaccount-info .woocommerce form input[type="tel"]:focus,
.myaccount-info .woocommerce form textarea:focus,
.myaccount-info .woocommerce form select:focus {
    border-color: #c0392b !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1) !important;
}

/* 按钮样式美化 */
.myaccount-info .woocommerce .button,
.myaccount-info .woocommerce input[type="submit"] {
    background: linear-gradient(135deg, #c0392b, #990000) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3) !important;
}

.myaccount-info .woocommerce .button:hover,
.myaccount-info .woocommerce input[type="submit"]:hover {
    background: linear-gradient(135deg, #990000, #c0392b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4) !important;
}

/* 表格样式美化 */
.myaccount-info .woocommerce table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 20px 0 !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.myaccount-info .woocommerce table th {
    background: linear-gradient(135deg, #c0392b, #990000) !important;
    color: #ffffff !important;
    padding: 15px !important;
    text-align: left !important;
    font-weight: 600 !important;
}

.myaccount-info .woocommerce table td {
    padding: 15px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.myaccount-info .woocommerce table tr:hover {
    background-color: #f8f9fa !important;
}

/* 消息样式美化 */
.myaccount-info .woocommerce-message,
.myaccount-info .woocommerce-info,
.myaccount-info .woocommerce-error {
    padding: 15px 20px !important;
    margin: 20px 0 !important;
    border-radius: 6px !important;
    border-left: 4px solid !important;
}

.myaccount-info .woocommerce-message {
    background: #d4edda !important;
    border-color: #28a745 !important;
    color: #155724 !important;
}

.myaccount-info .woocommerce-info {
    background: #d1ecf1 !important;
    border-color: #17a2b8 !important;
    color: #0c5460 !important;
}

.myaccount-info .woocommerce-error {
    background: #f8d7da !important;
    border-color: #dc3545 !important;
    color: #721c24 !important;
}

/* 我的账户页面响应式设计 */
@media screen and (max-width: 1024px) {
    .myaccount-info .woocommerce {
        grid-template-columns: 1fr !important;
        grid-gap: 20px !important;
    }

    .myaccount-info .woocommerce-MyAccount-navigation {
        grid-column: 1 !important;
        position: static !important;
    }

    .myaccount-info .woocommerce-MyAccount-content {
        grid-column: 1 !important;
    }

    .myaccount-info .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }

    .myaccount-info .woocommerce-MyAccount-navigation li {
        border-bottom: none !important;
        margin: 0 !important;
        width: auto !important;
    }

    .myaccount-info .woocommerce-MyAccount-navigation a {
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 768px) {
    .myaccount-info .woocommerce-MyAccount-navigation ul {
        flex-direction: column !important;
        gap: 5px !important;
    }

    .myaccount-info .woocommerce-MyAccount-navigation a {
        text-align: center !important;
        padding: 15px 20px !important;
    }

    .myaccount-info .woocommerce {
        padding: 20px 15px !important;
    }

    .myaccount-info .woocommerce-MyAccount-content {
        padding: 20px 15px !important;
    }

    .myaccount-info .woocommerce table {
        font-size: 14px !important;
    }

    .myaccount-info .woocommerce table th,
    .myaccount-info .woocommerce table td {
        padding: 10px !important;
    }
}

@media screen and (max-width: 480px) {
    .myaccount-info .woocommerce table {
        font-size: 14px !important;
    }

    .myaccount-info .woocommerce form {
        padding: 15px !important;
    }
}

/* WooCommerce地址页面header冲突修复 */
.myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address-title h3,
.myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address h3 {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    color: #333333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: left !important;
    display: block !important;
    z-index: auto !important;
    background: none !important;
    border: none !important;
    clip-path: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    flex: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* 确保WooCommerce地址页面的header不受主题header样式影响 */
.myaccount-info .woocommerce .woocommerce-Addresses,
.myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address,
.myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address-title {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    text-align: left !important;
    z-index: auto !important;
    display: block !important;
    background: none !important;
    border: none !important;
    clip-path: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    flex: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

/* 地址信息显示区域样式 */
.myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address {
    margin-bottom: 30px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px solid #e0e0e0 !important;
}

/* 地址内容样式 */
.myaccount-info .woocommerce .woocommerce-Addresses address {
    margin: 0 0 15px 0 !important;
    font-style: normal !important;
    line-height: 1.6 !important;
    color: #666666 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 编辑地址链接样式 */
.myaccount-info .woocommerce .woocommerce-Addresses .edit {
    background: linear-gradient(135deg, #c0392b, #990000) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 2px 10px rgba(192, 57, 43, 0.3) !important;
    text-align: center !important;
    min-width: 80px !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    margin: 0 !important;
    z-index: auto !important;
    transform: none !important;
    flex: none !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.myaccount-info .woocommerce .woocommerce-Addresses .edit:hover {
    background: linear-gradient(135deg, #990000, #c0392b) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4) !important;
}

/* 地址字段样式 */
.myaccount-info .woocommerce .woocommerce-address-fields {
    margin-top: 20px !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper {
    margin-bottom: 20px !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper .form-row {
    margin-bottom: 15px !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    text-align: left !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper input,
.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper select,
.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper input:focus,
.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper select:focus,
.myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper textarea:focus {
    border-color: #c0392b !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1) !important;
}

/* 保存地址按钮 */
.myaccount-info .woocommerce .woocommerce-address-fields .button {
    background: linear-gradient(135deg, #c0392b, #990000) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3) !important;
    margin-top: 10px !important;
    text-align: center !important;
    width: auto !important;
    min-width: 120px !important;
}

.myaccount-info .woocommerce .woocommerce-address-fields .button:hover {
    background: linear-gradient(135deg, #990000, #c0392b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4) !important;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }

    .myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address-title h3,
    .myaccount-info .woocommerce .woocommerce-Addresses .woocommerce-Address h3 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .myaccount-info .woocommerce .woocommerce-Addresses address {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }

    .myaccount-info .woocommerce .woocommerce-Addresses .edit {
        padding: 6px 15px !important;
        font-size: 13px !important;
        min-width: 70px !important;
    }

    .myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper input,
    .myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper select,
    .myaccount-info .woocommerce .woocommerce-address-fields__field-wrapper textarea {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
}

/* WooCommerce订单表格订单号链接白色文字 */
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a,
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:link,
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:visited,
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:hover,
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:active,
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* 确保悬停时也保持白色 */
.myaccount-info .woocommerce .woocommerce-orders-table__cell-order-number a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* WooCommerce表格产品名称链接红色字体 */
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a,
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:link,
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:visited,
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:hover,
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:active,
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:focus {
    color: #c0392b !important;
    text-decoration: none !important;
}

/* 确保悬停时也保持红色 */
.myaccount-info .woocommerce .woocommerce-table__product-name.product-name a:hover {
    color: #c0392b !important;
    text-decoration: underline !important;
}

.woocommerce a.button.alt {
    background-color: #c0392b !important;
}

.myaccount-info .woocommerce .woocommerce-MyAccount-content a,
.myaccount-info .woocommerce .woocommerce-MyAccount-content a:link,
.myaccount-info .woocommerce .woocommerce-MyAccount-content a:visited,
.myaccount-info .woocommerce .woocommerce-MyAccount-content a:hover,
.myaccount-info .woocommerce .woocommerce-MyAccount-content a:active,
.myaccount-info .woocommerce .woocommerce-MyAccount-content a:focus {
    color: #c0392b;
    text-decoration: none !important;
}

/* 微信支付二维码浮层美化样式 */
.rs-confirm-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.8) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rs-modal {
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 600px !important;
    overflow: hidden !important;
    position: relative !important;
    margin: 20px !important;
    display: flex !important;
    flex-direction: column !important;
}

.rs-modal__header {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
    color: #fff !important;
    padding: 20px 24px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

.rs-modal__content {
    padding: 40px 24px !important;
    text-align: center !important;
    background: #fff !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

.rs-modal__content #js-wprs-wc-wechatpay {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.rs-modal__content #js-wprs-wc-wechatpay canvas {
    border: 2px solid #f0f0f0 !important;
    border-radius: 8px !important;
    padding: 10px !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    max-width: 256px !important;
    height: auto !important;
}

.rs-modal__footer {
    background: #f8f9fa !important;
    padding: 20px 24px !important;
    border-top: 1px solid #e9ecef !important;
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
    position: relative !important;
    width: auto !important;
    bottom: auto !important;
    flex-shrink: 0 !important;
    z-index: 1 !important;
}

.rs-modal__footer .button {
    padding: 12px 24px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 100px !important;
    margin: 0 !important;
}

.rs-modal__footer .button.alt {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%) !important;
    color: #fff !important;
}

.rs-modal__footer .button.alt:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3) !important;
}

.rs-modal__footer .button:not(.alt) {
    background: #6c757d !important;
    color: #fff !important;
}

.rs-modal__footer .button:not(.alt):hover {
    background: #5a6268 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3) !important;
}

/* 移动端适配，仅针对浮层 */
@media screen and (max-width: 768px) {
    .rs-modal {
        width: 95% !important;
        margin: 10px !important;
        max-height: 80vh !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .rs-modal__header {
        padding: 16px 20px !important;
        font-size: 16px !important;
    }

    .rs-modal__content {
        padding: 30px 20px !important;
        min-height: 150px !important;
    }

    .rs-modal__footer {
        padding: 16px 20px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .rs-modal__footer .button {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* 查看购物车按钮样式统一 */
.woocommerce a.added_to_cart,
.woocommerce a.added_to_cart.wc-forward,
a.added_to_cart,
a.added_to_cart.wc-forward {
    background: linear-gradient(135deg, #c0392b, #990000) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3) !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
}

.woocommerce a.added_to_cart:hover,
.woocommerce a.added_to_cart.wc-forward:hover,
a.added_to_cart:hover,
a.added_to_cart.wc-forward:hover {
    background: linear-gradient(135deg, #990000, #c0392b) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4) !important;
    text-decoration: none !important;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {

    .woocommerce a.added_to_cart,
    .woocommerce a.added_to_cart.wc-forward,
    a.added_to_cart,
    a.added_to_cart.wc-forward {
        font-size: 12px !important;
        padding: 8px 16px !important;
        margin-left: 5px !important;
    }
}

@media screen and (max-width: 480px) {

    .woocommerce a.added_to_cart,
    .woocommerce a.added_to_cart.wc-forward,
    a.added_to_cart,
    a.added_to_cart.wc-forward {
        font-size: 100% !important;
        padding: 6px 12px !important;
        margin-left: 3px !important;
        margin-top: 5px !important;
        display: block !important;
        width: 50% !important;
        text-align: center !important;
    }
}

/* ===== 良证图标和浮层样式 ===== */
.license-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.license-modal {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.license-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10000;
}

.license-close:hover {
    color: #333;
}

.license-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.liangzheng-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* ===== WooCommerce Shop 页面美化样式 ===== */

/* 产品标题样式 */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 10px 0;
    line-height: 1.4;
    text-align: center;
    transition: color 0.3s ease;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
    color: #b30000;
}

/* 产品价格样式 */
.woocommerce ul.products li.product .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #b30000;
    text-align: center;
    margin: 15px 0;
    display: block;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .price:hover {
    color: #990000;
    transform: scale(1.05);
}

/* 价格中的删除线和插入样式 */
.woocommerce ul.products li.product .price del {
    color: #999;
    font-size: 0.9em;
    opacity: 0.8;
    text-decoration: line-through;
}

.woocommerce ul.products li.product .price ins {
    color: #b30000;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1em;
    margin-left: 5px;
}

/* 产品类型和添加到购物车按钮样式 */
.woocommerce ul.products li.product .product_type_simple,
.woocommerce ul.products li.product .ajax_add_to_cart {
    background: linear-gradient(135deg, #b30000 0%, #990000 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    margin: 10px auto;
    display: block;
    width: fit-content;
    text-decoration: none;
    text-align: center;
}

.woocommerce ul.products li.product .product_type_simple::before,
.woocommerce ul.products li.product .ajax_add_to_cart::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;
}

.woocommerce ul.products li.product .product_type_simple:hover,
.woocommerce ul.products li.product .ajax_add_to_cart:hover {
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 0, 0, 0.4);
}

.woocommerce ul.products li.product .product_type_simple:hover::before,
.woocommerce ul.products li.product .ajax_add_to_cart:hover::before {
    left: 100%;
}

.woocommerce ul.products li.product .product_type_simple:active,
.woocommerce ul.products li.product .ajax_add_to_cart:active {
    transform: translateY(0);
}

/* 已添加到购物车按钮样式 */
.woocommerce ul.products li.product .added_to_cart {
    background: #4CAF50;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
    margin: 5px auto;
    display: block;
    width: fit-content;
    text-decoration: none;
    text-align: center;
}

.woocommerce ul.products li.product .added_to_cart:hover {
    background: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* 结果计数样式 */
.woocommerce-result-count {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #b30000;
    display: inline-block;
}

/* 排序选择器样式 */
.woocommerce-ordering {
    margin: 20px 0;
}

.woocommerce-ordering select,
.woocommerce-ordering .orderby {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 12px 40px 12px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    min-width: 200px;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering .orderby:hover {
    border-color: #b30000;
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.2);
}

.woocommerce-ordering select:focus,
.woocommerce-ordering .orderby:focus {
    outline: none;
    border-color: #b30000;
    box-shadow: 0 0 0 3px rgba(179, 0, 0, 0.2);
}

.woocommerce-ordering label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    font-size: 14px;
}

/* 商店页面布局优化 */
.woocommerce .woocommerce-ordering {
    float: right;
    margin-bottom: 20px;
}

.woocommerce .woocommerce-result-count {
    float: left;
    margin-bottom: 20px;
}

/* 清除浮动 */
.woocommerce-ordering::after,
.woocommerce-result-count::after {
    content: "";
    display: table;
    clear: both;
}

.productcat-wrapper .woocommerce {
    padding: 20px;
}

/* WooCommerce 分页样式 */
.woocommerce nav.woocommerce-pagination {
    text-align: center;
    margin: 40px 0;
    padding: 20px 0;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    box-sizing: border-box;
}

/* 当前页面样式 */
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #b30000 0%, #990000 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(179, 0, 0, 0.3);
    transform: scale(1.05);
}

/* 普通链接悬停效果 */
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: linear-gradient(135deg, #b30000 0%, #990000 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
}

/* 上一页/下一页链接样式 */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    padding: 10px 18px;
    font-weight: 600;
    background: #f8f9fa;
    border: 2px solid #ddd;
}

.woocommerce nav.woocommerce-pagination ul li a.prev:hover,
.woocommerce nav.woocommerce-pagination ul li a.next:hover {
    background: linear-gradient(135deg, #b30000 0%, #990000 100%);
    border-color: #b30000;
    color: #fff;
}

/* 禁用状态 */
.woocommerce nav.woocommerce-pagination ul li span.prev,
.woocommerce nav.woocommerce-pagination ul li span.next {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f1f1;
    color: #999;
}

/* 点击效果 */
.woocommerce nav.woocommerce-pagination ul li a:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(179, 0, 0, 0.2);
}

/* 省略号样式 */
.woocommerce nav.woocommerce-pagination ul li span.dots {
    background: none;
    color: #999;
    font-weight: normal;
    cursor: default;
}

.woocommerce nav.woocommerce-pagination ul li span.dots:hover {
    background: none;
    color: #999;
    transform: none;
}

/* 响应式设计 */
@media (max-width: 768px) {

    .woocommerce .woocommerce-ordering,
    .woocommerce .woocommerce-result-count {
        float: none;
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .woocommerce-ordering select,
    .woocommerce-ordering .orderby {
        width: 100%;
        max-width: 300px;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 1rem;
        min-height: 2.4rem;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1.1rem;
        margin: 10px 0;
    }

    .woocommerce ul.products li.product .product_type_simple,
    .woocommerce ul.products li.product .ajax_add_to_cart {
        padding: 10px 16px;
        font-size: 12px;
    }

    /* 移动设备分页样式 */
    .woocommerce nav.woocommerce-pagination ul {
        gap: 4px;
        padding: 8px 12px;
        flex-wrap: wrap;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        padding: 8px 12px;
        min-width: 35px;
        font-size: 13px;
    }

    .woocommerce nav.woocommerce-pagination ul li a.prev,
    .woocommerce nav.woocommerce-pagination ul li a.next {
        padding: 8px 12px;
        font-size: 12px;
    }

    .woocommerce nav.woocommerce-pagination {
        margin: 20px 0;
        padding: 10px 0;
    }
}

/* 产品网格布局样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card {
    height: 100%;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 0;
    padding-bottom: 133.33%;
    /* 4/3 = 133.33% 实现3:4的宽高比 */
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    line-height: 1.3;
}

.product-model {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.pagination-wrapper {
    text-align: center;
    margin: 40px 0;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.pagination-wrapper .page-numbers li {
    margin: 0;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
    display: block;
    padding: 10px 15px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .product-image {
        padding-bottom: 133.33%;
        /* 保持3:4宽高比 */
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-image {
        padding-bottom: 133.33%;
        /* 保持3:4宽高比 */
    }
}

/* ===== 购物车模块样式 ===== */

/* 购物车模块容器 */
.product-add-to-cart-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.add-to-cart-container {
    margin: 0 auto;
}

.add-to-cart-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #c6000b, #ff6b6b);
    border-radius: 2px;
}

.add-to-cart-form-wrapper {
    background: #3d4548;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* WooCommerce表单样式覆盖 */
.add-to-cart-form-wrapper .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.add-to-cart-form-wrapper .quantity {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.add-to-cart-form-wrapper .quantity input {
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    width: 100px !important;
    min-width: 100px !important;
    text-align: center;
    outline: none;
}

.add-to-cart-form-wrapper .quantity input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 2px #c6000b;
}

.add-to-cart-form-wrapper .quantity .qty {
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    width: 100px !important;
    min-width: 100px !important;
    text-align: center;
    outline: none;
}

.add-to-cart-form-wrapper .quantity .qty:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 2px #c6000b;
}

/* 加入购物车按钮 */
.add-to-cart-form-wrapper .single_add_to_cart_button {
    background: linear-gradient(135deg, #c6000b, #ff4757) !important;
    color: #ffffff !important;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(198, 0, 11, 0.3);
    min-width: 150px;
    min-height: 50px;
}

.add-to-cart-form-wrapper .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #a50009, #e63946);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 0, 11, 0.4);
}

.add-to-cart-form-wrapper .single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(198, 0, 11, 0.3);
}

.add-to-cart-form-wrapper .single_add_to_cart_button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 变体选择器样式 */
.add-to-cart-form-wrapper .variations {
    margin-bottom: 20px;
    border-collapse: collapse;
    width: 100%;
}

.add-to-cart-form-wrapper .variations tr {
    display: table-row;
    vertical-align: middle;
    height: auto;
    min-height: 60px;
}

.add-to-cart-form-wrapper .variations td {
    padding: 15px 0;
    vertical-align: middle !important;
    text-align: center;
    display: table-cell;
    height: auto;
}

.add-to-cart-form-wrapper .variations th {
    padding: 15px 0;
    vertical-align: middle !important;
    text-align: center;
    display: table-cell;
    height: auto;
}

.add-to-cart-form-wrapper .variations label {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 8px;
    display: block;
    text-align: center;
    vertical-align: middle !important;
    line-height: 1.4;
    height: auto;
    min-height: 1.4em;
}

.add-to-cart-form-wrapper .variations select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    font-size: 16px;
    background: #ffffff;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.add-to-cart-form-wrapper .variations select:focus {
    border-color: #c6000b;
    box-shadow: 0 0 0 3px rgba(198, 0, 11, 0.2);
    outline: none;
}

.product_title {
    color: #fff;
}

/* 价格显示 */
.add-to-cart-form-wrapper .price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.add-to-cart-form-wrapper .price del {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-right: 10px;
}

.add-to-cart-form-wrapper .price ins {
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 库存状态 */
.add-to-cart-form-wrapper .stock {
    text-align: center;
    margin-bottom: 15px;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    color: #ffffff;
}

.add-to-cart-form-wrapper .in-stock {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.add-to-cart-form-wrapper .out-of-stock {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 消息样式 */
.add-to-cart-form-wrapper .woocommerce-message,
.add-to-cart-form-wrapper .woocommerce-error,
.add-to-cart-form-wrapper .woocommerce-info {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}

.add-to-cart-form-wrapper .woocommerce-message {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.add-to-cart-form-wrapper .woocommerce-error {
    background: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(220, 53, 69, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.add-to-cart-form-wrapper .woocommerce-info {
    background: rgba(13, 202, 240, 0.2);
    color: #0dcaf0;
    border: 1px solid rgba(13, 202, 240, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .product-add-to-cart-section {
        margin: 20px 0;
        padding: 20px;
    }

    .add-to-cart-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .add-to-cart-form-wrapper {
        padding: 20px;
    }

    .add-to-cart-form-wrapper .woocommerce-variation-add-to-cart {
        flex-direction: column;
        align-items: stretch;
    }

    .add-to-cart-form-wrapper .quantity {
        justify-content: center;
        margin-bottom: 15px;
    }

    .add-to-cart-form-wrapper .single_add_to_cart_button {
        width: 100%;
        padding: 15px 20px;
    }

    .add-to-cart-form-wrapper .price {
        font-size: 20px;
    }

    /* 响应式垂直居中对齐 */
    .add-to-cart-form-wrapper .variations td,
    .add-to-cart-form-wrapper .variations th {
        padding: 10px 0;
        vertical-align: middle !important;
    }

    .add-to-cart-form-wrapper .variations label {
        font-size: 16px;
        line-height: 1.3;
        min-height: 1.3em;
        vertical-align: middle !important;
    }
}

@media screen and (max-width: 480px) {
    .product-add-to-cart-section {
        padding: 15px;
    }

    .add-to-cart-form-wrapper {
        padding: 15px;
    }

    .add-to-cart-title {
        font-size: 1.3rem;
    }

    .add-to-cart-form-wrapper .variations select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .add-to-cart-form-wrapper .quantity input,
    .add-to-cart-form-wrapper .quantity .qty {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* 小屏幕垂直居中对齐 */
    .add-to-cart-form-wrapper .variations td,
    .add-to-cart-form-wrapper .variations th {
        padding: 8px 0;
        vertical-align: middle !important;
    }

    .add-to-cart-form-wrapper .variations label {
        font-size: 14px;
        line-height: 1.2;
        min-height: 1.2em;
        vertical-align: middle !important;
    }
}

/* 动画效果 */
.product-add-to-cart-section {
    margin: 350px auto 40px auto;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 加载状态 */
.add-to-cart-form-wrapper .single_add_to_cart_button.loading {
    position: relative;
    color: transparent;
}

.add-to-cart-form-wrapper .single_add_to_cart_button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== 缺货留空区域样式 ===== */
.product-out-of-stock-spacer {
    height: 300px;
}

/* ===== Checkout页面自定义样式 ===== */

/* WooCommerce隐私政策文本增强样式 */
.woocommerce-privacy-policy-text {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    transition: all 0.3s ease;
}

.woocommerce-privacy-policy-text:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
}

.woocommerce-privacy-policy-text.privacy-policy-enhanced {
    position: relative;
}

.woocommerce-privacy-policy-text input[type="checkbox"] {
    margin-top: 3px !important;
    transform: scale(1.2);
}

.woocommerce-privacy-policy-text label {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #495057 !important;
    cursor: pointer;
    margin: 0 !important;
}

.woocommerce-privacy-policy-link {
    color: #007cba !important;
    text-decoration: underline !important;
    font-weight: 500;
}

.woocommerce-privacy-policy-link:hover {
    color: #005a87 !important;
    text-decoration: none !important;
}

/* 开票勾选框样式 */
.invoice-checkbox-field {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

.invoice-checkbox-field:hover {
    background: #e9ecef !important;
    border-color: #adb5bd !important;
}

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

.invoice-checkbox-field label {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #495057 !important;
    cursor: pointer;
    margin: 0 !important;
}

/* 发票信息字段样式 */
#invoice-fields {
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

#invoice-fields h3 {
    margin: 0 0 15px 0 !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #007cba;
    padding-bottom: 8px;
}

#invoice-fields .form-row {
    margin-bottom: 15px !important;
}

#invoice-fields .form-row label {
    font-weight: 500 !important;
    color: #495057 !important;
    margin-bottom: 5px !important;
    display: block;
}

#invoice-fields .form-row input {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease;
}

#invoice-fields .form-row input:focus {
    outline: none !important;
    border-color: #007cba !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2) !important;
}

#invoice-fields .form-row.focused input {
    border-color: #007cba !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2) !important;
}

/* 错误提示样式 */
.woocommerce-error {
    background: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    margin: 10px 0 !important;
}

/* 成功提示样式 */
.woocommerce-message {
    background: #d4edda !important;
    border: 1px solid #c3e6cb !important;
    color: #155724 !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    margin: 10px 0 !important;
}

/* 响应式样式 */
@media screen and (max-width: 768px) {
    .woocommerce-privacy-policy-text {
        padding: 12px !important;
        margin: 15px 0 !important;
    }

    .woocommerce-privacy-policy-text label {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .invoice-checkbox-field {
        padding: 12px !important;
        margin: 15px 0 !important;
    }

    .invoice-checkbox-field label {
        font-size: 15px !important;
    }

    #invoice-fields {
        padding: 15px !important;
        margin: 15px 0 !important;
    }

    #invoice-fields h3 {
        font-size: 16px !important;
    }

    #invoice-fields .form-row input {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
}

@media screen and (max-width: 480px) {
    .woocommerce-privacy-policy-text {
        padding: 10px !important;
        margin: 10px 0 !important;
    }

    .woocommerce-privacy-policy-text label {
        font-size: 12px !important;
    }

    .invoice-checkbox-field {
        padding: 10px !important;
        margin: 10px 0 !important;
    }

    .invoice-checkbox-field label {
        font-size: 14px !important;
    }

    #invoice-fields {
        padding: 12px !important;
        margin: 10px 0 !important;
    }

    #invoice-fields h3 {
        font-size: 15px !important;
    }
}

/* 动画效果 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

#invoice-fields.slideDown {
    animation: slideDown 0.3s ease-out;
}

#invoice-fields.slideUp {
    animation: slideUp 0.3s ease-out;
}

/* 加载状态样式 */
.checkout-loading {
    opacity: 0.6;
    pointer-events: none;
}

.checkout-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 隐藏WooCommerce条款和条件部分 */
.woocommerce-terms-and-conditions-wrapper {
    display: none !important;
}

/* 隐藏条款和条件复选框 */
.woocommerce-form__label-for-checkbox.checkbox {
    display: none !important;
}

/* 隐藏条款和条件文本 */
.woocommerce-terms-and-conditions-checkbox-text {
    display: none !important;
}

/* 隐藏条款和条件页面内容 */
.woocommerce-terms-and-conditions {
    display: none !important;
}

/* 隐藏条款和条件链接 */
.woocommerce-terms-and-conditions-link {
    display: none !important;
}

/* 美化 reset_variations 按钮样式 */
.reset_variations {
    display: inline-block !important;
    margin-left: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    color: #6c757d !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.reset_variations::before {
    content: "🔄" !important;
    margin-right: 6px !important;
    font-size: 12px !important;
    opacity: 0.7 !important;
}

.reset_variations:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%) !important;
    color: #495057 !important;
    border-color: #adb5bd !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-1px) !important;
}

.reset_variations:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.reset_variations:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.25) !important;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .reset_variations {
        margin-left: 8px !important;
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

    .reset_variations::before {
        font-size: 11px !important;
        margin-right: 4px !important;
    }
}

@media screen and (max-width: 480px) {
    .reset_variations {
        margin-left: 6px !important;
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    .reset_variations::before {
        font-size: 10px !important;
        margin-right: 3px !important;
    }
}

/* 购物车底部区域布局 */
.cart-bottom-section {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

/* 购物车配送政策样式 */
.cart-shipping-policy {
    flex: 1;
    padding: 20px;
    text-align: left;
}

.cart-collaterals {
    flex: 1;
}

/* 覆盖cart_totals的宽度设置 */
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
}

.cart-shipping-policy h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
}

.cart-shipping-policy p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    text-align: left;
}

.cart-shipping-policy p:last-child {
    margin-bottom: 0;
}

.cart-shipping-policy div {
    text-align: left;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .cart-bottom-section {
        flex-direction: column;
        gap: 20px;
    }

    .cart-collaterals {
        flex: none;
        width: 100%;
    }

    .cart-shipping-policy {
        padding: 15px;
    }

    .cart-shipping-policy h3 {
        font-size: 16px;
    }

    .cart-shipping-policy p {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .cart-bottom-section {
        gap: 15px;
    }

    .cart-shipping-policy {
        padding: 12px;
    }

    .cart-shipping-policy h3 {
        font-size: 15px;
    }

    .cart-shipping-policy p {
        font-size: 12px;
    }
}

/* ========================================
   职位详情页面美化样式
   ======================================== */

/* 职位详情页面主容器 */
.awsm-job-main {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px 0;
}

.awsm-job-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* 职位详情页面头部 */
.awsm-job-head {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.awsm-job-head::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.awsm-job-head h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0 0 15px 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.awsm-job-expiration-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

/* 职位内容区域 */
.awsm-job-content {
    padding: 40px 30px;
    background: #fff;
}

.awsm-job-entry-content {
    line-height: 1.8;
    color: #333;
    font-size: 16px;
}

.awsm-job-entry-content h1,
.awsm-job-entry-content h2,
.awsm-job-entry-content h3,
.awsm-job-entry-content h4,
.awsm-job-entry-content h5,
.awsm-job-entry-content h6 {
    color: #c0392b;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.awsm-job-entry-content h1 {
    font-size: 28px;
    border-bottom: 3px solid #c0392b;
    padding-bottom: 10px;
}

.awsm-job-entry-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #c0392b;
    padding-bottom: 8px;
}

.awsm-job-entry-content h3 {
    font-size: 20px;
    border-bottom: 1px solid #c0392b;
    padding-bottom: 5px;
}

.awsm-job-entry-content p {
    margin-bottom: 15px;
    color: #555;
}

.awsm-job-entry-content ul,
.awsm-job-entry-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.awsm-job-entry-content li {
    margin-bottom: 8px;
    color: #555;
}

.awsm-job-entry-content strong {
    color: #c0392b;
    font-weight: 600;
}

.awsm-job-entry-content a {
    color: #c0392b;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.awsm-job-entry-content a:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

/* 职位规格信息 */
.awsm_job_spec_above_content,
.awsm_job_spec_below_content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 5px solid #c0392b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.awsm-job-specifications-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.awsm-job-specifications-section h3 {
    color: #c0392b;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c0392b;
    grid-column: 1 / -1;
}

.awsm-job-specifications-section .awsm-job-specification-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.awsm-job-specifications-section .awsm-job-specification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.awsm-job-specifications-section .awsm-job-specification-item .awsm-job-specification-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}

.awsm-job-specifications-section .awsm-job-specification-item .awsm-job-specification-value {
    color: #c0392b;
    font-weight: 500;
    font-size: 15px;
}

.awsm-job-specifications-section .awsm-job-specification-item .awsm-job-specification-value a {
    color: #c0392b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.awsm-job-specifications-section .awsm-job-specification-item .awsm-job-specification-value a:hover {
    color: #e74c3c;
}

/* 申请表单区域 */
.awsm-job-form {
    background: #fff;
    padding: 40px 30px;
    border-top: 1px solid #e9ecef;
}

.awsm-job-form-inner {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.awsm-job-form-inner h2 {
    color: #c0392b;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #c0392b;
    position: relative;
}

.awsm-job-form-inner h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e74c3c;
}

/* 表单字段样式 */
.awsm-job-form-group {
    margin-bottom: 25px;
}

.awsm-job-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.awsm-job-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    color: #495057;
}

.awsm-job-form-control:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.awsm-job-form-control.awsm-job-form-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.awsm-job-form-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* 文件上传字段 */
.awsm-form-file-control {
    padding: 10px 15px;
    background: #fff;
    border: 2px dashed #c0392b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.awsm-form-file-control:hover {
    border-color: #e74c3c;
    background: rgba(192, 57, 43, 0.05);
}

.awsm-form-file-control::-webkit-file-upload-button {
    background: #c0392b;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.awsm-form-file-control::-webkit-file-upload-button:hover {
    background: #e74c3c;
}

/* 复选框样式 */
.awsm-job-inline-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.awsm-job-inline-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c0392b;
}

.awsm-job-inline-group label {
    margin-bottom: 0;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
}

/* 提交按钮 */
.awsm-application-submit-btn {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.awsm-application-submit-btn:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

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

/* 消息提示 */
.awsm-application-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
}

.awsm-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.awsm-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.awsm-default-message {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 过期消息 */
.awsm-expired-message {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.awsm-expired-message p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

/* reCAPTCHA 样式 */
.awsm-job-g-recaptcha-group {
    margin: 20px 0;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .awsm-job-head {
        padding: 30px 20px;
    }

    .awsm-job-head h1 {
        font-size: 2em;
    }

    .awsm-job-content,
    .awsm-job-form {
        padding: 30px 20px;
    }

    .awsm-job-form-inner {
        padding: 25px;
    }

    .awsm-job-specifications-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .awsm_job_spec_above_content,
    .awsm_job_spec_below_content {
        padding: 20px;
    }

    .awsm-application-submit-btn {
        width: 100%;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .awsm-job-head {
        padding: 25px 15px;
    }

    .awsm-job-head h1 {
        font-size: 1.8em;
    }

    .awsm-job-content,
    .awsm-job-form {
        padding: 25px 15px;
    }

    .awsm-job-form-inner {
        padding: 20px;
    }

    .awsm-job-form-inner h2 {
        font-size: 20px;
    }

    .awsm-job-form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    .awsm-application-submit-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ========================================
   职位申请浮层样式
   ======================================== */

/* 申请浮层样式 */
.application-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -80%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 25px;
}

/* 表单样式 */
.application-form {
    margin: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-text {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #6c757d;
}

/* 复选框样式 */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c0392b;
    margin-top: 2px;
}

.checkbox-label a {
    color: #c0392b;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.form-actions {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.submit-btn {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

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

/* 消息样式 */
.application-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 500;
}

.application-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.application-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 申请按钮样式 */
.job-apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    border: none;
    cursor: pointer;
}

.job-apply-btn:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        max-width: none;
        top: 40%;
        max-height: 80vh;
    }

    .modal-body {
        padding: 15px;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-header h3 {
        font-size: 18px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ========================================
   职位列表页面样式
   ======================================== */

/* 职位列表容器 */
.jobs-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* 职位卡片 */
.job-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.job-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 职位头部 */
.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.job-header:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%);
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    margin-right: 15px;
}

.job-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-icon {
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.job-card.active .toggle-icon {
    transform: rotate(45deg);
}

/* 职位详情 */
.job-details {
    display: none;
    padding: 25px;
    background: #fff;
}

.job-card.active .job-details {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 职位元信息 */
.job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #c0392b;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
}

.meta-value {
    color: #c0392b;
    font-weight: 500;
    background: rgba(192, 57, 43, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* 职位描述 */
.job-description {
    margin: 25px 0;
}

.job-description h4 {
    color: #c0392b;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c0392b;
    position: relative;
}

.job-description h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #e74c3c;
}

.job-content {
    line-height: 1.8;
    color: #495057;
    font-size: 15px;
}

.job-content p {
    margin-bottom: 12px;
}

.job-content ul,
.job-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

.job-content li {
    margin-bottom: 8px;
}

/* 申请按钮 */
.job-apply-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* 无职位信息 */
.no-jobs {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.no-jobs h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 24px;
}

.no-jobs p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
}

/* 职位列表响应式设计 */
@media (max-width: 768px) {
    .job-header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .job-title {
        font-size: 16px;
        margin-right: 0;
    }

    .job-details {
        padding: 20px;
    }

    .job-meta {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 15px;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .meta-label {
        min-width: auto;
    }
}

/* ========================================
   职位申请浮层样式
   ======================================== */