/* 基础修复 */
body {
    padding-top: 60px !important;
    margin: 0 !important;
    font-family: 'Playfair Display', serif;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        padding-top: 55px !important;
    }
    body.mys_header_menu-open,
    body.mys_header_search-open {
        overflow: hidden;
    }
}

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

/* 主头部样式 */
.mys_header_top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: 60px;
}

.mys_header_top-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 容器 */
.mys_header_header-container {
    max-width: 1300px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* 汉堡菜单 */
.mys_header_hamburger-menu {
    display: none;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mys_header_hamburger-menu span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 主导航 - 增加PC版固定菜单样式 */
.mys_header_main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
    flex: 1;
}

/* 新增加的固定菜单项样式 */
.mys_header_fixed-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 10px;
}

/* 原有导航链接和按钮样式保持不变 */
.mys_header_main-nav a,
.mys_header_nav-item button,
.mys_header_fixed-nav-item button {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 6px 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mys_header_main-nav a::after,
.mys_header_nav-item button::after,
.mys_header_fixed-nav-item button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #8B7355;
    transition: width 0.3s ease;
}

.mys_header_main-nav a:hover,
.mys_header_nav-item button:hover,
.mys_header_fixed-nav-item button:hover {
    color: #8B7355;
}

.mys_header_main-nav a:hover::after,
.mys_header_nav-item button:hover::after,
.mys_header_fixed-nav-item button:hover::after {
    width: 100%;
}

/* 分类下拉菜单 - 为新增加的固定菜单项也添加相同的下拉样式 */
.mys_header_nav-item,
.mys_header_fixed-nav-item {
    position: relative;
}

.mys_header_mega-menu,
.mys_header_fixed-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 850px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mys_header_nav-item:hover .mys_header_mega-menu,
.mys_header_nav-item:hover .mys_header_fixed-mega-menu
 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mys_header_mega-container,
.mys_header_fixed-mega-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mys_header_mega-col,
.mys_header_fixed-mega-col {
    display: flex;
    flex-direction: column;
}

.mys_header_mega-title,
.mys_header_fixed-mega-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    text-decoration: none !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.mys_header_mega-col img,
.mys_header_fixed-mega-col img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.mys_header_mega-col > div,
.mys_header_fixed-mega-col > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mys_header_mega-col a,
.mys_header_fixed-mega-col a {
    font-size: 13px;
    color: #666;
    padding: 5px 0;
}

.mys_header_fixed-mega-col a:hover {
    color: #8B7355;
}

/* LOGO区域 */
.mys_header_logo-area {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mys_header_brand-text {
    text-decoration: none;
    display: inline-block;
    line-height: 1.2;
}

.mys_header_brand-name {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    white-space: nowrap;
}

.mys_header_brand-reg {
    font-size: 17px;
    vertical-align: super;
    margin-left: 1px;
}

.mys_header_brand-name .luxury {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #8B7355;
    margin-left: 5px;
    text-transform: uppercase;
}

/* 移动端专用LOGO（隐藏LUXURY） */
.mys_header_mobile-logo {
    display: none;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    letter-spacing: 1.5px;
    text-decoration: none;
    line-height: 1.2;
}

/* 右侧区域 */
.mys_header_header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

/* 图标按钮 */
.mys_header_search-icon,
.mys_header_user-icon,
.mys_header_cart-icon {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 34px;
    height: 34px;
    text-decoration: none;
}

.mys_header_search-icon:hover,
.mys_header_user-icon:hover,
.mys_header_cart-icon:hover {
    background: rgba(139, 115, 85, 0.1);
}

.mys_header_cart-icon {
    position: relative;
}

.mys_header_cart-icon svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2;
}

/* 购物车计数 */
.mys_header_cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #8B7355;
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0 3px;
    line-height: 1;
}

/* 移动端右侧图标区域 */
.mys_header_mobile-right-icons {
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.mys_header_mobile-search-icon,
.mys_header_mobile-cart-icon {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    text-decoration: none;
}

.mys_header_mobile-cart-icon {
    position: relative;
}

.mys_header_mobile-cart-icon svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2;
}

.mys_header_mobile-cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #8B7355;
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 0 3px;
    line-height: 1;
}

/* 用户下拉 */
.mys_header_user-dropdown {
    position: relative;
}

.mys_header_user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 160px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 8px 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mys_header_user-dropdown:hover .mys_header_user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mys_header_user-dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.mys_header_user-dropdown-menu a:hover {
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
}

/* 语言选择 */
.mys_header_top-header select {
    padding: 6px 14px 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 13px;
    color: #333;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* 移动端菜单 */
.mys_header_mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 1100;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.mys_header_mobile-menu.active {
    left: 0;
}

.mys_header_mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border-bottom: 1px solid #eee;
    height: 60px;
}

.mys_header_mobile-menu-header h3 {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.mys_header_close-menu {
    background: none;
    border: none;
    font-size: 26px;
    color: #333;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mys_header_close-menu:hover {
    transform: rotate(90deg);
}

.mys_header_mobile-nav {
    padding: 18px;
}

.mys_header_mobile-nav a,
.mys_header_mobile-category-toggle,
.mys_header_mobile-fixed-toggle {
    display: block;
    padding: 14px 0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.mys_header_mobile-nav a:hover,
.mys_header_mobile-category-toggle:hover,
.mys_header_mobile-fixed-toggle:hover {
    color: #8B7355;
}

.mys_header_mobile-category-toggle::after,
.mys_header_mobile-fixed-toggle::after {
    content: '›';
    position: absolute;
    right: 0;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.mys_header_mobile-category-toggle.active::after,
.mys_header_mobile-fixed-toggle.active::after {
    transform: rotate(90deg);
}

.mys_header_mobile-categories,
.mys_header_mobile-fixed-categories {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mys_header_mobile-categories.active,
.mys_header_mobile-fixed-categories.active {
    max-height: 500px;
}

.mys_header_mobile-category-item,
.mys_header_mobile-fixed-item {
    padding: 10px 0 10px 18px;
    border-bottom: 1px solid #f5f5f5;
}

.mys_header_mobile-category-title,
.mys_header_mobile-fixed-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mys_header_mobile-category-title:hover,
.mys_header_mobile-fixed-title:hover {
    color: #8B7355;
}

.mys_header_mobile-category-img,
.mys_header_mobile-fixed-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 5px;
    margin: 6px 0;
    transition: transform 0.3s ease;
}

.mys_header_mobile-category-img:hover,
.mys_header_mobile-fixed-img:hover {
    transform: scale(1.02);
}

.mys_header_mobile-category-children,
.mys_header_mobile-fixed-children {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mys_header_mobile-category-children a,
.mys_header_mobile-fixed-children a {
    padding: 7px 0;
    border: none;
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
}

.mys_header_mobile-category-children a:hover,
.mys_header_mobile-fixed-children a:hover {
    color: #8B7355;
}

/* 移动端工具区域 - 已移除搜索和购物车按钮 */
.mys_header_mobile-tools {
    padding: 18px;
    border-top: 1px solid #f5f5f5;
    margin-top: 10px;
}

.mys_header_mobile-tools-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mys_header_mobile-tools-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mys_header_mobile-user-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 34px;
    height: 34px;
}

.mys_header_mobile-user-btn:hover {
    background: rgba(139, 115, 85, 0.1);
}

.mys_header_mobile-lang-form {
    flex: 1;
    max-width: 110px;
}

.mys_header_mobile-lang-form select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 13px;
    color: #333;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L2 4h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

/* 搜索弹窗 - 优化动画性能 */
.mys_header_search-modal-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1200;
    animation: mys_header_maskFadeIn 0.3s ease;
    will-change: opacity;
}

@keyframes mys_header_maskFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mys_header_search-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 550px;
    background: white;
    border-radius: 14px;
    padding: 35px;
    z-index: 1201;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: mys_header_modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

@keyframes mys_header_modalSlideUp {
    0% {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.mys_header_search-modal.active {
    transform: translate(-50%, -50%) scale(1);
}

.mys_header_search-modal h3 {
    font-size: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}

.mys_header_search-modal form {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
}

.mys_header_search-modal input {
    flex: 1;
    padding: 14px 22px;
    border: 2px solid #e0e0e0;
    border-radius: 45px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.mys_header_search-modal input:focus {
    outline: none;
    border-color: #8B7355;
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.mys_header_search-modal button[type="submit"] {
    padding: 14px 28px;
    background: #8B7355;
    color: white;
    border: none;
    border-radius: 45px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.mys_header_search-modal button[type="submit"]:hover {
    background: #7a6243;
    transform: translateY(-1px);
}

.mys_header_close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1;
}

.mys_header_close-btn:hover {
    color: #333;
    background: rgba(0, 0, 0, 0.05);
}

.mys_header_hot-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.mys_header_hot-keywords a {
    padding: 6px 14px;
    background: rgba(139, 115, 85, 0.1);
    color: #8B7355;
    text-decoration: none;
    border-radius: 18px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.mys_header_hot-keywords a:hover {
    background: rgba(139, 115, 85, 0.2);
    transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mys_header_mega-container,
    .mys_header_fixed-mega-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mys_header_mega-menu,
    .mys_header_fixed-mega-menu {
        width: 700px;
    }
}

@media (max-width: 992px) {
    .mys_header_mega-menu,
    .mys_header_fixed-mega-menu {
        width: 600px;
        padding: 20px;
    }
    
    .mys_header_main-nav {
        gap: 25px;
    }
    
    .mys_header_fixed-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mys_header_hamburger-menu {
        display: flex;
    }
    
    .mys_header_main-nav,
    .mys_header_header-right,
    .mys_header_fixed-nav {
        display: none;
    }
    
    .mys_header_mobile-right-icons {
        display: flex;
    }
    
    /* 移动端LOGO布局 */
    .mys_header_logo-area {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        width: auto;
        margin-left: 0;
    }
    
    /* 隐藏PC端LOGO，显示移动端简化版 */
    .mys_header_brand-name .luxury {
        display: none;
    }
    
    .mys_header_brand-name {
        font-size: 20px;
        letter-spacing: 1.5px;
    }
    
    .mys_header_mega-menu,
    .mys_header_fixed-mega-menu {
        display: none;
    }
    
    .mys_header_header-container {
        padding: 0 15px;
        height: 55px;
    }
    
    .mys_header_top-header {
        height: 55px;
    }
    
    /* 调整移动端布局结构 */
    .mys_header_header-container {
        justify-content: space-between;
    }
    
    .mys_header_mobile-right-icons {
        order: 3;
    }
    
    .mys_header_logo-area {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mys_header_hamburger-menu {
        order: 1;
    }
    
    .mys_header_search-modal {
        padding: 25px 20px;
        width: 95%;
    }
    
    .mys_header_search-modal h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .mys_header_search-modal form {
        flex-direction: column;
        gap: 12px;
    }
    
    .mys_header_search-modal input {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .mys_header_search-modal button[type="submit"] {
        width: 100%;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .mys_header_header-container {
        padding: 0 12px;
    }
    
    .mys_header_brand-name {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .mys_header_mobile-menu {
        width: 100%;
        max-width: 100%;
    }
    
    .mys_header_mobile-tools-inner {
        flex-direction: column;
        align-items: stretch;
    }
    
    .mys_header_mobile-tools-left {
        justify-content: space-between;
    }
    
    .mys_header_mobile-lang-form {
        max-width: 100%;
        margin-top: 8px;
    }
    
    .mys_header_search-modal {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .mys_header_search-modal h3 {
        font-size: 18px;
    }
    
    .mys_header_hot-keywords {
        gap: 8px;
    }
    
    .mys_header_hot-keywords a {
        font-size: 12px;
        padding: 5px 10px;
    }
}