/* ==========================================================================
   VelaWear — Light Men & Women Apparel Template (Template 35)
   Design: Pale boutique wash with dusty periwinkle + soft rose accents,
           floating rounded cards, refined soft corners, gentle tonal shadows
   Markup: Shopify-style site div hierarchy (#page / #masthead / #main / #colophon)
   Fonts: Jost (headings) + Inter (body)
   CSS Prefix: wear35-
   ========================================================================== */

:root {
    --wear35-primary: #7E8FB0;        /* Dusty periwinkle blue */
    --wear35-primary-light: #ABB8D4;
    --wear35-primary-dark: #62728F;
    --wear35-accent: #DF9A8C;         /* Soft dusty rose */
    --wear35-accent-dark: #C97F70;
    --wear35-accent-light: #F1C6BC;
    --wear35-cream: #FBFAF9;          /* Warm fashion white */
    --wear35-sage: #9CA9C4;           /* Muted periwinkle */
    --wear35-sage-light: #F2F4F9;     /* Pale lavender wash */
    --wear35-sand: #EFF1F6;           /* Light mist wash */
    --wear35-text: #33303F;           /* Deep plum charcoal */
    --wear35-text-muted: #75708A;     /* Muted mauve gray */
    --wear35-white: #ffffff;
    --wear35-gold: #D8AE7C;           /* Soft champagne gold */
    --wear35-border: #DEE1EC;         /* Pale periwinkle border */
    --wear35-border-light: #ECEEF4;
    --wear35-success: #6FA287;
    --wear35-danger: #CF776B;
    --wear35-sale: #D46F61;           /* Soft rose-red for sale tags */
    --wear35-radius: 12px;
    --wear35-radius-lg: 20px;
    --wear35-radius-xl: 28px;
    --wear35-font-heading: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --wear35-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --wear35-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wear35-shadow-sm: 0 2px 10px rgba(70, 80, 120, 0.06);
    --wear35-shadow-md: 0 8px 26px rgba(70, 80, 120, 0.10);
    --wear35-shadow-lg: 0 16px 44px rgba(70, 80, 120, 0.13);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--wear35-font-body);
    color: var(--wear35-text);
    background-color: var(--wear35-cream);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: visible;
}

/* ==========================================================================
   Layout Container
   ========================================================================== */

.wear35-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .wear35-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .wear35-container {
        padding: 0 16px;
    }
}

.wear35-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wear35-main {
    flex: 1;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */

.wear35-announcement-bar {
    background: linear-gradient(90deg, var(--wear35-sage-light) 0%, #F3F5FA 50%, var(--wear35-sage-light) 100%);
    color: var(--wear35-primary-dark);
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    overflow: hidden;
    border-bottom: 1px solid var(--wear35-border-light);
}

.wear35-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    letter-spacing: 0.3px;
}

.wear35-announcement-content i {
    color: var(--wear35-accent-dark);
}

.wear35-announcement-divider {
    color: rgba(126, 143, 176, 0.35);
}

/* ==========================================================================
   Header
   ========================================================================== */

.wear35-header {
    background-color: var(--wear35-white);
    border-bottom: 1px solid var(--wear35-border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    overflow: visible;
    isolation: isolate;
}

.wear35-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
}

@media (max-width: 768px) {
    .wear35-header-inner {
        padding: 14px 20px;
    }
}

.wear35-header-left,
.wear35-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wear35-icon-btn {
    background: none;
    border: none;
    font-size: 19px;
    color: var(--wear35-primary);
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color var(--wear35-transition), color var(--wear35-transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wear35-icon-btn:hover {
    background-color: var(--wear35-sage-light);
    color: var(--wear35-primary-dark);
}

.wear35-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background-color: var(--wear35-accent);
    color: var(--wear35-white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Logo — elegant serif with lotus accent */
.wear35-logo {
    font-family: var(--wear35-font-heading);
    font-size: 30px;
    font-weight: 600;
    color: var(--wear35-primary);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wear35-logo a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wear35-logo-mark {
    color: var(--wear35-accent);
    font-size: 22px;
}

@media (max-width: 480px) {
    .wear35-logo {
        font-size: 24px;
    }
    .wear35-logo-mark {
        font-size: 18px;
    }
}

/* Search Box */
.wear35-search-box {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--wear35-white);
    padding: 24px 32px;
    border-bottom: 1px solid var(--wear35-border-light);
    display: none;
    z-index: 90;
    box-shadow: var(--wear35-shadow-md);
}

.wear35-search-box.active {
    display: block;
}

.wear35-search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--wear35-border);
    border-radius: var(--wear35-radius);
    padding: 10px 18px;
    transition: border-color var(--wear35-transition);
}

.wear35-search-form:focus-within {
    border-color: var(--wear35-sage);
}

.wear35-search-form i {
    color: var(--wear35-text-muted);
}

.wear35-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: var(--wear35-font-body);
    background: transparent;
    color: var(--wear35-text);
}

.wear35-search-close {
    background: none;
    border: none;
    color: var(--wear35-text-muted);
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
}

/* ==========================================================================
   Desktop Compact Nav (inside sticky header — visible after scroll)
   ========================================================================== */

/* 调整header内部布局：左右两端固定，中间logo+d-nav，避免space-between分散对齐 */
.wear35-wrapper .wear35-header-inner {
    justify-content: flex-start;
    gap: 18px;
    max-width: 1400px;
    margin: 0 auto;
}
.wear35-wrapper .wear35-header-left  { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.wear35-wrapper .wear35-logo        { flex: 0 1 auto; margin-right: auto; } /* logo靠近左侧 */
.wear35-wrapper .wear35-header-right { flex: 0 0 auto; order: 4; }

/* 汉堡按钮：仅 <1024px 显示（桌面主导航内联在 header 中央） */
.wear35-wrapper .wear35-mobile-toggle { display: inline-flex; }

/* 内嵌桌面端紧凑导航（默认隐藏 — 仅≥1024px显示） */
.wear35-wrapper .wear35-d-nav {
    display: none;
    align-items: center;
    overflow: visible;
    position: relative;
    z-index: 5;
    flex: 1 1 auto;
    justify-content: center;
    order: 3;
    margin-left: 0;
    margin-right: 0;
}
@media (min-width: 1024px) {
    .wear35-wrapper .wear35-mobile-toggle {
        display: none;
    }
    .wear35-wrapper .wear35-d-nav {
        display: flex;
    }
    /* ≥1024px时：logo不再推到最左，而是和d-nav一起居中 */
    .wear35-wrapper .wear35-logo {
        margin-right: 0;
        order: 2;
    }
    .wear35-wrapper .wear35-header-left {
        order: 1;
        margin-right: auto; /* 推到最左 */
    }
    .wear35-wrapper .wear35-header-right {
        order: 4;
        margin-left: auto; /* 推到最右 */
    }
    .wear35-wrapper .wear35-d-nav {
        order: 3;
        flex: 0 1 auto;
    }
}
@media (min-width: 1200px) {
    /* 大屏幕：让d-nav和header-left的视觉宽度均衡 */
    .wear35-wrapper .wear35-d-nav {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.wear35-wrapper .wear35-d-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    position: relative;
}

/* 紧凑版导航链接样式：比wear35-nav小，嵌入到header 88px高度内 */
.wear35-wrapper .wear35-d-nav-list > .wear35-nav-item > .wear35-nav-link {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.3;
    min-height: 36px;
    white-space: nowrap;
}

.wear35-wrapper .wear35-d-nav-list > .wear35-nav-item > .wear35-nav-link::after {
    /* 紧凑版底部高亮线高度降低，不遮挡其他元素 */
    bottom: 0;
    height: 2px;
}

/* 内嵌导航的下拉：top精确对齐至<header>底部（当前li has-children position:relative，距离其底部calc(100%+？)
   但因为li高度小，直接相对li底部定位即可，和wear35-nav下拉完全一致 — 所以用默认的 calc(100% - 2px) 就好。
   但需要保证：header的overflow是visible（已设置），z-index足够高（header z-index=100，wear35-dropdown z-index=99999 ✅）
*/
/* 如果用户滚动header紧凑时，下拉和hero或其他内容重叠时，因header有z-index:100，下拉有99999，所以下拉始终在上层 ✅ */

/* ==========================================================================
   Navigation (page-top full-width wear35-nav bar — desktop: hidden, mobile: shown)
   Desktop uses the compact .wear35-d-nav inside sticky header, so hide the below duplicate.
   Mobile (<1024px) shows wear35-nav as the primary horizontal nav, since d-nav is hidden on mobile.
   ========================================================================== */

.wear35-nav {
    background-color: var(--wear35-white);
    border-bottom: 1px solid var(--wear35-border-light);
    position: relative;
    z-index: 200;
    overflow: visible;
    /*
      所有屏幕统一隐藏下方完整版横向导航条：
      - 桌面端≥1024px：用sticky header内嵌的 .wear35-d-nav（紧凑版）
      - 平板/手机端<1024px：用 header 左侧汉堡菜单按钮唤起 .wear35-mobile-menu 侧滑菜单
    */
    display: none;
}

.wear35-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    overflow: visible;
}

.wear35-nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 14px 0;
    overflow: visible;
    scrollbar-width: none;
    width: 100%;
}

.wear35-nav-list::-webkit-scrollbar {
    display: none;
}

.wear35-nav-link {
    text-decoration: none;
    color: var(--wear35-text);
    font-weight: 500;
    font-size: 14px;
    transition: color var(--wear35-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    position: relative;
}

.wear35-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--wear35-accent);
    transition: width var(--wear35-transition);
    border-radius: 1px;
}

.wear35-nav-link:hover::after,
.wear35-nav-item.current .wear35-nav-link::after {
    width: 100%;
}

.wear35-nav-link:hover {
    color: var(--wear35-accent);
}

.wear35-nav-item.current .wear35-nav-link {
    color: var(--wear35-accent);
}

.wear35-nav-item.has-children {
    position: relative;
}

.wear35-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    margin-top: 0;
    background-color: var(--wear35-white);
    border: 1px solid var(--wear35-border-light);
    border-radius: var(--wear35-radius-lg);
    box-shadow: var(--wear35-shadow-lg);
    min-width: 220px;
    display: none !important;
    z-index: 99999;
    padding: 8px;
    pointer-events: auto;
}

.wear35-nav-item.has-children:hover > .wear35-dropdown,
.wear35-nav-item.has-children:focus-within > .wear35-dropdown {
    display: block !important;
}

.wear35-wrapper .wear35-dropdown a.wear35-dropdown-item,
.wear35-wrapper .wear35-dropdown a.wear35-dropdown-item:link,
.wear35-wrapper .wear35-dropdown a.wear35-dropdown-item:visited,
.wear35-wrapper .wear35-dropdown-submenu > a.wear35-dropdown-subitem,
.wear35-wrapper .wear35-dropdown-submenu > a.wear35-dropdown-subitem:link,
.wear35-wrapper .wear35-dropdown-submenu > a.wear35-dropdown-subitem:visited {
    padding: 12px 16px;
    color: var(--wear35-text);
    text-decoration: none;
    display: block;
    transition: background-color var(--wear35-transition), color var(--wear35-transition);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--wear35-radius);
}

.wear35-wrapper .wear35-dropdown a.wear35-dropdown-item:hover,
.wear35-wrapper .wear35-dropdown-submenu > a.wear35-dropdown-subitem:hover {
    background-color: var(--wear35-cream);
    color: var(--wear35-accent);
}

.wear35-dropdown > .wear35-dropdown-item.has-submenu {
    position: relative;
    padding: 0;
    margin: 0;
    background: transparent;
}

.wear35-wrapper .wear35-dropdown > .wear35-dropdown-item.has-submenu > a,
.wear35-wrapper .wear35-dropdown > .wear35-dropdown-item.has-submenu > a:link,
.wear35-wrapper .wear35-dropdown > .wear35-dropdown-item.has-submenu > a:visited {
    padding: 12px 16px;
    color: var(--wear35-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--wear35-radius);
}

.wear35-wrapper .wear35-dropdown > .wear35-dropdown-item.has-submenu > a:hover {
    background-color: var(--wear35-cream);
    color: var(--wear35-accent);
}

.wear35-dropdown > .wear35-dropdown-item.has-submenu > a i {
    font-size: 10px;
    margin-left: 8px;
    color: var(--wear35-text-muted);
    flex-shrink: 0;
}

.wear35-dropdown-submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    margin-top: 0;
    background-color: var(--wear35-white);
    border: 1px solid var(--wear35-border-light);
    border-radius: var(--wear35-radius-lg);
    box-shadow: var(--wear35-shadow-lg);
    min-width: 200px;
    display: none !important;
    z-index: 100000;
    padding: 8px;
    pointer-events: auto;
}

.wear35-dropdown-item.has-submenu:hover > .wear35-dropdown-submenu,
.wear35-dropdown-item.has-submenu:focus-within > .wear35-dropdown-submenu {
    display: block !important;
}

/* "More" 收纳项：下拉面板相对导航右缘对齐；其内二级面板改为向左侧展开，避免溢出视口 */
.wear35-wrapper .wear35-nav-more > .wear35-dropdown {
    left: auto;
    right: 0;
}
.wear35-wrapper .wear35-nav-more .wear35-dropdown-submenu {
    left: auto;
    right: 100%;
    margin-right: 2px;
}

@media (max-width: 768px) {
    .wear35-nav {
        display: none;
    }
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.wear35-mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(51, 48, 63, 0.42);
    z-index: 200;
    display: none;
    backdrop-filter: blur(4px);
}

.wear35-mobile-overlay.active {
    display: block;
}

.wear35-mobile-menu {
    position: fixed;
    top: 0;
    left: -340px;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--wear35-white);
    z-index: 300;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.wear35-mobile-menu.active {
    left: 0;
}

.wear35-mobile-close {
    padding: 16px;
    display: flex;
    justify-content: flex-end;
}

.wear35-mobile-menu-title {
    padding: 0 20px 16px;
    font-family: var(--wear35-font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--wear35-primary);
    border-bottom: 1px solid var(--wear35-border-light);
}

.wear35-mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    flex: 1;
}

.wear35-mobile-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--wear35-text);
    text-decoration: none;
    border-bottom: 1px solid var(--wear35-border-light);
    font-size: 15px;
    font-weight: 500;
    transition: background-color var(--wear35-transition);
}

.wear35-mobile-menu-link:hover {
    background-color: var(--wear35-cream);
}

.wear35-mobile-menu-link-text {
    flex: 1;
    color: var(--wear35-text);
    text-decoration: none;
}

.wear35-mobile-menu-link-text:hover {
    color: var(--wear35-accent);
}

.wear35-mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--wear35-text-muted);
    cursor: pointer;
    padding: 4px 8px;
}

.wear35-mobile-chevron {
    transition: transform 0.3s;
}

.wear35-mobile-menu-link.open .wear35-mobile-chevron {
    transform: rotate(180deg);
}

.wear35-mobile-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--wear35-cream);
}

.wear35-mobile-submenu.active {
    display: block;
}

.wear35-mobile-submenu > li {
    border-bottom: 1px solid var(--wear35-border-light);
}

.wear35-mobile-submenu > li > a {
    display: block;
    padding: 14px 20px 14px 32px;
    color: var(--wear35-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color var(--wear35-transition);
}

.wear35-mobile-submenu > li > a:hover {
    background-color: var(--wear35-sage-light);
    color: var(--wear35-accent);
}

.wear35-mobile-submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 14px 32px;
    color: var(--wear35-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--wear35-cream);
}

.wear35-mobile-submenu-link:hover {
    background-color: var(--wear35-sage-light);
}

.wear35-mobile-sub-submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--wear35-sage-light);
}

.wear35-mobile-sub-submenu.active {
    display: block;
}

.wear35-mobile-sub-submenu > li > a {
    display: block;
    padding: 12px 20px 12px 48px;
    color: var(--wear35-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
}

.wear35-mobile-sub-submenu > li > a:hover {
    color: var(--wear35-accent);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.wear35-hero {
    position: relative;
    padding: 36px 0 64px;
    background: linear-gradient(180deg, var(--wear35-sage-light) 0%, #F2F4F9 55%, var(--wear35-cream) 100%);
    overflow: hidden;
}

/* Soft water-glow decorations */
.wear35-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(171, 184, 212, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wear35-hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(241, 198, 188, 0.32) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Floating rounded card — new main hero layer */
.wear35-hero-card {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--wear35-radius-xl);
    overflow: hidden;
    box-shadow: var(--wear35-shadow-lg);
    background-color: var(--wear35-white);
}

.wear35-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.wear35-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(112deg, rgba(251, 250, 249, 0.90) 0%, rgba(251, 250, 249, 0.66) 46%, rgba(242, 244, 249, 0.32) 100%);
}

@media (max-width: 768px) {
    .wear35-hero {
        padding: 24px 0 44px;
    }
    .wear35-hero-card {
        min-height: 440px;
        border-radius: var(--wear35-radius-lg);
    }
}

.wear35-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 64px 40px;
    max-width: 720px;
}

.wear35-hero-tag {
    display: inline-block;
    padding: 8px 22px;
    background-color: rgba(255, 255, 255, 0.82);
    color: var(--wear35-primary-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid rgba(126, 143, 176, 0.30);
    backdrop-filter: blur(8px);
}

.wear35-hero-inner h1 {
    font-family: var(--wear35-font-heading);
    font-size: 58px;
    font-weight: 700;
    color: var(--wear35-text);
    margin-bottom: 18px;
    line-height: 1.12;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .wear35-hero-inner {
        padding: 44px 24px;
    }
    .wear35-hero-inner h1 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .wear35-hero-inner h1 {
        font-size: 32px;
    }
}

.wear35-hero-inner p {
    font-size: 18px;
    color: var(--wear35-text-muted);
    margin-bottom: 34px;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .wear35-hero-inner p {
        font-size: 16px;
    }
}

.wear35-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Buttons — High specificity to prevent global link override (Lesson from T21)
   ========================================================================== */

.wear35-wrapper .wear35-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: var(--wear35-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--wear35-transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--wear35-font-body);
    line-height: 1.4;
}

.wear35-wrapper .wear35-btn,
.wear35-wrapper .wear35-btn:link,
.wear35-wrapper .wear35-btn:visited {
    color: var(--wear35-white);
}

.wear35-wrapper .wear35-btn-primary {
    background-color: var(--wear35-accent);
    color: var(--wear35-white);
}

.wear35-wrapper .wear35-btn-primary:hover {
    background-color: var(--wear35-accent-dark);
    color: var(--wear35-white);
    transform: translateY(-2px);
    box-shadow: var(--wear35-shadow-md);
}

.wear35-wrapper .wear35-btn-outline,
.wear35-wrapper .wear35-btn-outline:link,
.wear35-wrapper .wear35-btn-outline:visited {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--wear35-primary-dark);
    border-color: rgba(126, 143, 176, 0.45);
}

.wear35-wrapper .wear35-btn-outline:hover {
    background-color: var(--wear35-white);
    color: var(--wear35-primary-dark);
    border-color: var(--wear35-primary);
}

.wear35-wrapper .wear35-btn-accent {
    background-color: var(--wear35-accent);
    color: var(--wear35-white);
}

.wear35-wrapper .wear35-btn-accent:hover {
    background-color: var(--wear35-accent-dark);
    color: var(--wear35-white);
}

.wear35-wrapper .wear35-btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

.wear35-wrapper .wear35-btn-dark {
    background-color: var(--wear35-primary);
    color: var(--wear35-white);
}

.wear35-wrapper .wear35-btn-dark:hover {
    background-color: var(--wear35-primary-dark);
    color: var(--wear35-white);
}

/* ==========================================================================
   Section General
   ========================================================================== */

.wear35-section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .wear35-section {
        padding: 50px 0;
    }
}

.wear35-heading {
    font-family: var(--wear35-font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--wear35-primary);
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 18px;
}

.wear35-heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--wear35-primary-light), var(--wear35-accent-light));
    margin: 18px auto 0;
}

@media (max-width: 768px) {
    .wear35-heading {
        font-size: 30px;
    }
}

.wear35-subheading {
    font-size: 16px;
    color: var(--wear35-text-muted);
    text-align: center;
    margin-bottom: 52px;
    font-weight: 400;
    font-family: var(--wear35-font-body);
}

/* Wave/Leaf divider */
.wear35-wave-divider {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 0;
}

.wear35-wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Categories Grid
   ========================================================================== */

.wear35-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .wear35-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wear35-categories {
        grid-template-columns: 1fr;
    }
}

.wear35-category-card {
    position: relative;
    background-color: var(--wear35-white);
    border-radius: var(--wear35-radius-lg);
    padding: 18px 18px 22px;
    text-decoration: none;
    display: block;
    box-shadow: var(--wear35-shadow-sm);
    border: 1px solid var(--wear35-border-light);
    transition: transform var(--wear35-transition), box-shadow var(--wear35-transition);
}

.wear35-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wear35-shadow-md);
}

.wear35-category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
    box-shadow: 0 0 0 1px var(--wear35-border-light);
}

.wear35-category-card:hover img {
    transform: scale(1.05);
}

.wear35-category-label {
    position: static;
    padding: 16px 4px 0;
    background: none;
    color: var(--wear35-text);
    text-align: center;
}

.wear35-category-label h3 {
    font-family: var(--wear35-font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--wear35-text);
}

.wear35-category-label span {
    font-size: 12px;
    font-weight: 700;
    color: var(--wear35-primary);
    opacity: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Product Grid & Cards
   ========================================================================== */

.wear35-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1200px) {
    .wear35-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wear35-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .wear35-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.wear35-product-card {
    background-color: var(--wear35-white);
    border-radius: var(--wear35-radius-lg);
    padding: 14px;
    border: 1px solid var(--wear35-border-light);
    overflow: hidden;
    box-shadow: var(--wear35-shadow-sm);
    transition: transform var(--wear35-transition), box-shadow var(--wear35-transition);
}

.wear35-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wear35-shadow-lg);
}

.wear35-product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background-color: var(--wear35-sage-light);
}

.wear35-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wear35-product-card:hover .wear35-product-card-image img {
    transform: scale(1.06);
}

.wear35-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background-color: var(--wear35-sale);
    color: var(--wear35-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.5px;
}

.wear35-hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background-color: var(--wear35-gold);
    color: var(--wear35-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

.wear35-product-info {
    padding: 14px 8px 6px;
}

.wear35-product-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--wear35-text);
    margin-bottom: 10px;
    /*display: -webkit-box;*/
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.wear35-product-title a {
    color: inherit;
    text-decoration: none;
}

.wear35-product-title a:hover {
    color: var(--wear35-accent);
}

.wear35-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.wear35-product-price span {
    font-size: 18px;
    font-weight: 700;
    color: var(--wear35-primary);
    font-family: var(--wear35-font-heading);
}

.wear35-price-compare {
    font-size: 14px !important;
    color: var(--wear35-text-muted) !important;
    text-decoration: line-through;
    font-weight: 400 !important;
    font-family: var(--wear35-font-body) !important;
}

/*
   特价红色（首页/列表页）：
   HTML结构 `<span class="wear35-price-compare">$原价</span><span>$特价</span>`
   用相邻兄弟选择器 + 精准命中紧跟在原价划线之后的"特价span"，无需改PHP、不影响无特价商品。
*/
.wear35-product-price .wear35-price-compare + span {
    color: var(--wear35-sale) !important;
}

/* ==========================================================================
   Features Section (Why Choose Us)
   ========================================================================== */

.wear35-features {
    background-color: var(--wear35-cream);
    position: relative;
    overflow: hidden;
}

.wear35-features::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--wear35-sage) 0%, transparent 70%);
    opacity: 0.18;
    border-radius: 50%;
}

.wear35-features .wear35-heading {
    color: var(--wear35-text);
}

.wear35-features .wear35-subheading {
    color: var(--wear35-text-muted);
}

.wear35-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .wear35-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wear35-features-grid {
        grid-template-columns: 1fr;
    }
}

.wear35-feature-card {
    text-align: center;
    padding: 36px 24px;
    background-color: var(--wear35-white);
    border-radius: var(--wear35-radius-lg);
    transition: transform var(--wear35-transition), background-color var(--wear35-transition), box-shadow var(--wear35-transition);
    border: 1px solid var(--wear35-border-light);
    box-shadow: var(--wear35-shadow-sm);
}

.wear35-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wear35-shadow-md);
}

.wear35-feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wear35-sage-light);
    border-radius: 50%;
    font-size: 26px;
    box-shadow: inset 0 0 0 1px var(--wear35-border-light);
}

.wear35-feature-icon i {
    color: var(--wear35-primary);
}

.wear35-feature-title {
    font-family: var(--wear35-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--wear35-text);
    margin-bottom: 8px;
}

.wear35-feature-text {
    font-size: 14px;
    color: var(--wear35-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Newsletter
   ========================================================================== */

.wear35-newsletter {
    background: linear-gradient(135deg, var(--wear35-accent) 0%, var(--wear35-accent-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .wear35-newsletter {
        padding: 50px 0;
    }
}

.wear35-newsletter-heading {
    color: var(--wear35-white) !important;
}

.wear35-newsletter .wear35-subheading {
    color: rgba(255, 255, 255, 0.8) !important;
}

.wear35-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .wear35-newsletter-form {
        flex-direction: column;
    }
}

.wear35-newsletter-form input[type="email"] {
    flex: 1;
    padding: 16px 22px;
    border: 2px solid transparent;
    border-radius: var(--wear35-radius);
    font-size: 15px;
    font-family: var(--wear35-font-body);
    outline: none;
    transition: border-color var(--wear35-transition);
    background-color: var(--wear35-white);
}

.wear35-newsletter-form input[type="email"]:focus {
    border-color: var(--wear35-primary);
}

.wear35-newsletter-form .wear35-btn {
    padding: 16px 36px;
    background-color: var(--wear35-primary);
    color: var(--wear35-white);
    border: none;
}

.wear35-newsletter-form .wear35-btn:hover {
    background-color: var(--wear35-primary-dark);
    color: var(--wear35-white);
}

/* ==========================================================================
   Page Title & Breadcrumb
   ========================================================================== */

.wear35-page-title {
    background-color: var(--wear35-cream);
    padding: 48px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--wear35-border-light);
}

.wear35-page-title h1 {
    font-family: var(--wear35-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 14px;
}

@media (max-width: 768px) {
    .wear35-page-title h1 {
        font-size: 28px;
    }
}

.wear35-breadcrumb {
    font-size: 14px;
    color: var(--wear35-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wear35-breadcrumb a {
    color: var(--wear35-text-muted);
    text-decoration: none;
    transition: color var(--wear35-transition);
}

.wear35-breadcrumb a:hover {
    color: var(--wear35-accent);
}

.wear35-breadcrumb-sep {
    color: var(--wear35-border);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.wear35-footer {
    background-color: var(--wear35-sage-light);
    color: var(--wear35-text);
    padding: 64px 0 28px;
    border-top: 1px solid var(--wear35-border-light);
}

.wear35-footer-top {
    padding-bottom: 44px;
    border-bottom: 1px solid var(--wear35-border);
}

.wear35-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
}

@media (max-width: 1024px) {
    .wear35-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .wear35-footer-grid {
        grid-template-columns: 1fr;
    }
}

.wear35-footer-section .wear35-logo {
    color: var(--wear35-primary);
    margin-bottom: 16px;
    font-size: 26px;
}

.wear35-footer-heading {
    font-family: var(--wear35-font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--wear35-text);
}

.wear35-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wear35-footer-links li {
    margin-bottom: 12px;
}

.wear35-footer-links a {
    color: var(--wear35-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--wear35-transition);
}

.wear35-footer-links a:hover {
    color: var(--wear35-accent-dark);
}

.wear35-footer-text {
    font-size: 14px;
    color: var(--wear35-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.wear35-footer-newsletter {
    display: flex;
    gap: 8px;
}

.wear35-footer-newsletter input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--wear35-border);
    border-radius: var(--wear35-radius);
    background-color: var(--wear35-cream);
    color: var(--wear35-text);
    font-size: 14px;
    outline: none;
    font-family: var(--wear35-font-body);
}

.wear35-footer-newsletter input[type="email"]:focus {
    border-color: var(--wear35-accent);
}

.wear35-footer-newsletter input[type="email"]::placeholder {
    color: var(--wear35-text-muted);
    opacity: 0.75;
}

.wear35-footer-newsletter button {
    padding: 12px 18px;
    background-color: var(--wear35-accent);
    color: var(--wear35-white);
    border: none;
    border-radius: var(--wear35-radius);
    cursor: pointer;
    font-size: 16px;
    transition: background-color var(--wear35-transition);
}

.wear35-footer-newsletter button:hover {
    background-color: var(--wear35-accent-dark);
}

.wear35-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.wear35-footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--wear35-white);
    border-radius: 50%;
    color: var(--wear35-primary);
    text-decoration: none;
    transition: background-color var(--wear35-transition), color var(--wear35-transition);
    font-size: 15px;
    box-shadow: var(--wear35-shadow-sm);
}

.wear35-footer-social a:hover {
    background-color: var(--wear35-accent);
    color: var(--wear35-white);
}

.wear35-footer-bottom {
    padding-top: 28px;
}

.wear35-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.wear35-footer-copyright p {
    font-size: 13px;
    color: var(--wear35-text-muted);
}

.wear35-footer-payment {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--wear35-text-muted);
}

.wear35-footer-payment i {
    font-size: 20px;
    color: var(--wear35-sage);
}

/* ==========================================================================
   Notification Toast
   ========================================================================== */

.wear35-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--wear35-success);
    color: var(--wear35-white);
    padding: 16px 24px;
    border-radius: var(--wear35-radius);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: var(--wear35-shadow-lg);
}

.wear35-notification.show {
    display: flex;
    animation: zySlideIn 0.3s ease;
}

@keyframes zySlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.wear35-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* ==========================================================================
   Banner Styles
   ========================================================================== */

.wear35-banner-single {
    width: 100%;
    padding: 24px 0 64px;
}

.wear35-banner-single-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background-color: var(--wear35-white);
    border: 1px solid var(--wear35-border-light);
    border-radius: var(--wear35-radius-xl);
    box-shadow: var(--wear35-shadow-sm);
}

.wear35-banner-single-text {
    flex: 1;
    min-width: 280px;
}

.wear35-banner-tag {
    display: inline-block;
    padding: 7px 18px;
    background: var(--wear35-sage-light);
    color: var(--wear35-primary-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 999px;
    border: 1px solid var(--wear35-border);
    margin-bottom: 18px;
}

.wear35-banner-single-text h2 {
    font-family: var(--wear35-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 16px;
}

.wear35-banner-single-text p {
    font-size: 16px;
    color: var(--wear35-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.wear35-banner-single-img {
    flex: 1;
    min-width: 280px;
}

.wear35-banner-single-img img {
    width: 100%;
    height: auto;
    border-radius: var(--wear35-radius-lg);
    object-fit: cover;
}

.wear35-banner-two {
    width: 100%;
    padding: 48px 0;
}

.wear35-banner-two-grid {
    display: flex;
    gap: 24px;
}

.wear35-banner-two-item {
    flex: 1;
    background-color: var(--wear35-white);
    border-radius: var(--wear35-radius-lg);
    padding: 14px;
    border: 1px solid var(--wear35-border-light);
    box-shadow: var(--wear35-shadow-sm);
    transition: transform var(--wear35-transition), box-shadow var(--wear35-transition);
}

.wear35-banner-two-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--wear35-shadow-md);
}

.wear35-banner-two-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s;
}

.wear35-banner-two-item:hover img {
    transform: scale(1.04);
}

.wear35-banner-two-text {
    position: static;
    padding: 18px 8px 10px;
    background: none;
    color: var(--wear35-text);
}

.wear35-banner-two-text h3 {
    font-family: var(--wear35-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--wear35-text);
}

.wear35-banner-two-text p {
    font-size: 13px;
    color: var(--wear35-text-muted);
    opacity: 1;
    margin-bottom: 12px;
}

.wear35-banner-three {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    padding: 40px 32px;
}

.wear35-banner-three-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: var(--wear35-radius-lg);
    background: var(--wear35-sage-light);
}

.wear35-banner-three-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s;
}

.wear35-banner-three-item:hover img {
    transform: scale(1.05);
}

.wear35-banner-three-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(51, 48, 63, 0.82));
    color: var(--wear35-white);
    text-align: center;
}

.wear35-banner-three-text h3 {
    font-family: var(--wear35-font-heading);
    font-size: 18px;
    margin-bottom: 6px;
}

.wear35-banner-three-text p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.wear35-banner-fullwidth {
    width: 100%;
    padding: 56px 0;
    background: linear-gradient(180deg, var(--wear35-cream) 0%, var(--wear35-sage-light) 100%);
}

.wear35-banner-fullwidth-card {
    min-height: 420px;
    border-radius: var(--wear35-radius-xl);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--wear35-shadow-lg);
}

.wear35-banner-fullwidth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(98, 114, 143, 0.62) 0%, rgba(126, 143, 176, 0.42) 60%, rgba(171, 184, 212, 0.28) 100%);
}

.wear35-banner-fullwidth-text {
    position: relative;
    z-index: 1;
    color: var(--wear35-white);
    padding: 40px 32px;
    max-width: 620px;
}

.wear35-banner-fullwidth-text h2 {
    font-family: var(--wear35-font-heading);
    font-size: 42px;
    margin-bottom: 16px;
}

.wear35-banner-fullwidth-text p {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.wear35-banner-split {
    width: 100%;
    padding: 56px 0;
    background: linear-gradient(180deg, var(--wear35-cream) 0%, var(--wear35-sage-light) 100%);
}

.wear35-banner-split-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.wear35-banner-split-img {
    flex: 1;
    min-width: 0;
}

.wear35-banner-split-img img {
    width: 100%;
    height: auto;
    border-radius: var(--wear35-radius-lg);
    object-fit: cover;
    box-shadow: var(--wear35-shadow-md);
}

.wear35-banner-split-text {
    flex: 1;
    min-width: 280px;
    padding: 0;
}

.wear35-banner-split-text h2 {
    font-family: var(--wear35-font-heading);
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--wear35-text);
    line-height: 1.2;
}

.wear35-banner-split-text p {
    font-size: 16px;
    color: var(--wear35-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.wear35-banner-split-reverse .wear35-banner-split-inner {
    flex-direction: row-reverse;
}

@media (max-width: 900px) {
    .wear35-banner-single-inner {
        flex-direction: column;
        text-align: center;
    }
    .wear35-banner-single-img {
        order: -1;
    }
    .wear35-banner-single-text h2 {
        font-size: 28px;
    }
    .wear35-banner-two-grid,
    .wear35-banner-split-inner,
    .wear35-banner-split-reverse .wear35-banner-split-inner {
        flex-direction: column;
        gap: 24px;
    }
    .wear35-banner-fullwidth-text h2 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .wear35-banner-single-text h2 {
        font-size: 24px;
    }
    .wear35-banner-two-item img {
        height: 180px;
    }
    .wear35-banner-three-item img {
        height: 180px;
    }
    .wear35-banner-fullwidth-card {
        min-height: 340px;
    }
    .wear35-banner-fullwidth-text h2 {
        font-size: 24px;
    }
    .wear35-banner-split-text h2 {
        font-size: 24px;
    }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.wear35-marquee {
    background-color: var(--wear35-sage-light);
    padding: 12px 0;
    overflow: hidden;
}

.wear35-marquee-track {
    display: flex;
    animation: zyMarquee 35s linear infinite;
}

.wear35-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    white-space: nowrap;
    color: var(--wear35-primary);
    font-size: 14px;
    font-weight: 500;
}

.wear35-marquee-item i {
    color: var(--wear35-accent);
}

@keyframes zyMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   WooCommerce Canonical Compatibility Layer (Template 33)
   Gives native WooCommerce/WordPress class names a coherent visual style.
   All business layout is still driven by the wear35-* classes above; this
   section only fills the gaps for the canonical markup.
   ========================================================================== */

/* Accessibility helpers ---------------------------------------------------- */
.screen-reader-text,
.screen-reader-text span {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10000;
    background: var(--wear35-primary);
    color: var(--wear35-white);
    padding: 10px 18px;
    border-radius: 0 0 var(--wear35-radius) 0;
    font-size: 14px;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
    color: var(--wear35-white);
}

/* Store notice ------------------------------------------------------------- */
.woocommerce-store-notice.demo_store {
    background: linear-gradient(90deg, var(--wear35-sage-light) 0%, var(--wear35-cream) 100%);
    color: var(--wear35-text);
    text-align: center;
    padding: 9px 16px;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--wear35-border-light);
}

.woocommerce-store-notice.demo_store a {
    color: var(--wear35-primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

/* Generic Woo buttons ------------------------------------------------------ */
a.button,
button.button,
button.wp-element-button,
a.wp-element-button {
    font-family: var(--wear35-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--wear35-radius);
    transition: background var(--wear35-transition), color var(--wear35-transition), border-color var(--wear35-transition);
}

/* Product loop base -------------------------------------------------------- */
ul.products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
}

.wear35-product-grid,
.wear35-categories,
.wear35-related-grid {
    grid-template-columns: repeat(4, 1fr);
}

ul.products li.product {
    list-style: none;
    margin: 0;
}

.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.woocommerce-loop-product__title {
    font-family: var(--wear35-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--wear35-text);
    margin: 0 0 8px;
}

.woocommerce-loop-product__title a {
    color: inherit;
    text-decoration: none;
}

.woocommerce-loop-product__title a:hover {
    color: var(--wear35-accent);
}

/* Prices ------------------------------------------------------------------- */
.woocommerce-Price-amount.amount,
.price .woocommerce-Price-amount {
    font-family: var(--wear35-font-heading);
    font-weight: 700;
    color: var(--wear35-primary);
    white-space: nowrap;
}

.price {
    color: var(--wear35-primary);
}

.price del {
    color: var(--wear35-text-muted);
    font-weight: 500;
    margin-right: 8px;
}

.price ins {
    text-decoration: none;
    color: var(--wear35-sale);
    font-weight: 700;
}

.price .woocommerce-Price-currencySymbol,
.woocommerce-Price-currencySymbol {
    font-size: 0.85em;
    margin-right: 1px;
}

.price bdi,
.woocommerce-Price-amount bdi {
    font-weight: inherit;
}

/* Sale badge --------------------------------------------------------------- */
.onsale {
    display: inline-block;
    background: var(--wear35-sale);
    color: var(--wear35-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
}

/* Loop view info --------------------------------------------------------- */
.wear35-product-info .button.view_info_button,
ul.products li.product .button.view_info_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 20px;
    background: var(--wear35-accent);
    color: var(--wear35-white);
    border: 1px solid var(--wear35-accent);
    width: 100%;
}

.wear35-product-info .button.view_info_button:hover,
ul.products li.product .button.view_info_button:hover {
    background: var(--wear35-accent-dark);
    border-color: var(--wear35-accent-dark);
    color: var(--wear35-white);
}

.wear35-product-info .button.view_info_button.loading {
    opacity: 0.7;
}

/* Breadcrumb --------------------------------------------------------------- */
.woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--wear35-text-muted);
    margin-bottom: 20px;
}

.woocommerce-breadcrumb a {
    color: var(--wear35-text-muted);
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: var(--wear35-accent);
}

.woocommerce-products-header__title.page-title,
h1.page-title {
    font-family: var(--wear35-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Product category loop ---------------------------------------------------- */
ul.products.product-categories li.product-category .woocommerce-loop-category__title {
    display: block;
    text-align: center;
    padding: 12px 0 0;
}

/* Single product ----------------------------------------------------------- */
.woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.star-rating {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 18px;
    color: var(--wear35-gold);
    font-size: 16px;
    line-height: 1;
    letter-spacing: 2px;
    overflow: hidden;
}

.star-rating::before {
    content: '\2605\2605\2605\2605\2605';
    color: var(--wear35-border);
}

.star-rating span {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.star-rating span::before {
    content: '\2605\2605\2605\2605\2605';
    color: var(--wear35-gold);
}

.woocommerce-review-link {
    font-size: 13px;
    color: var(--wear35-text-muted);
    text-decoration: none;
}

.woocommerce-review-link:hover {
    color: var(--wear35-accent);
}

.single-product div.product p.price,
.wear35-product-main p.price {
    font-size: 26px;
    margin-bottom: 20px;
}

/* Quantity stepper --------------------------------------------------------- */
.quantity {
    display: inline-flex;
    align-items: center;
}

.quantity input.input-text.qty {
    width: 64px;
    height: 46px;
    padding: 0 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: var(--wear35-text);
    background: var(--wear35-white);
    border: 1px solid var(--wear35-border);
    border-radius: var(--wear35-radius);
    outline: none;
    font-family: var(--wear35-font-body);
}

.quantity input.input-text.qty:focus {
    border-color: var(--wear35-primary-light);
}

/* Single add to cart ------------------------------------------------------- */
.single_add_to_cart_button.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    min-height: 50px;
    background: var(--wear35-accent);
    color: var(--wear35-white);
    border: 1px solid var(--wear35-accent);
    font-size: 15px;
}

.single_add_to_cart_button.button.alt:hover {
    background: var(--wear35-accent-dark);
    border-color: var(--wear35-accent-dark);
    color: var(--wear35-white);
}

/* Tabs --------------------------------------------------------------------- */
.woocommerce-tabs.wc-tabs-wrapper {
    margin-top: 48px;
}

.woocommerce-tabs ul.wc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--wear35-border);
}

.woocommerce-tabs ul.wc-tabs li {
    list-style: none;
    margin: 0;
}

.woocommerce-tabs ul.wc-tabs li a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--wear35-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.woocommerce-tabs ul.wc-tabs li a:hover {
    color: var(--wear35-accent);
}

.woocommerce-tabs ul.wc-tabs li.active a {
    color: var(--wear35-primary);
    border-bottom-color: var(--wear35-accent);
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 28px 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--wear35-text);
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-family: var(--wear35-font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 16px;
}

/* Related products --------------------------------------------------------- */
section.related.products {
    margin-top: 64px;
}

section.related.products > h2 {
    font-family: var(--wear35-font-heading);
    font-size: 26px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 28px;
}

/* Sidebar widgets ---------------------------------------------------------- */
.widget-area .widget {
    background: var(--wear35-white);
    border: 1px solid var(--wear35-border);
    border-radius: var(--wear35-radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.widget-title,
.widget .widget-title {
    font-family: var(--wear35-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--wear35-primary);
    margin-bottom: 16px;
}

.widget ul.product-categories,
.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul.product-categories li,
.widget ul li {
    margin-bottom: 10px;
}

.widget ul.product-categories li a,
.widget ul li a {
    color: var(--wear35-text-muted);
    text-decoration: none;
    font-size: 14px;
}

.widget ul.product-categories li a:hover,
.widget ul li a:hover {
    color: var(--wear35-accent);
}

/* Toolbar: count + ordering ------------------------------------------------ */
.woocommerce-result-count {
    font-size: 14px;
    color: var(--wear35-text-muted);
    margin-bottom: 16px;
}

.woocommerce-ordering {
    margin-bottom: 24px;
}

.woocommerce-ordering select.orderby {
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    font-family: var(--wear35-font-body);
    color: var(--wear35-text);
    background: var(--wear35-white);
    border: 1px solid var(--wear35-border);
    border-radius: var(--wear35-radius);
    cursor: pointer;
    outline: none;
}

/* Info / message boxes ----------------------------------------------------- */
.woocommerce-info,
.woocommerce-message {
    display: block;
    padding: 16px 20px;
    background: var(--wear35-sage-light);
    border-left: 4px solid var(--wear35-primary);
    border-radius: var(--wear35-radius);
    color: var(--wear35-text);
    font-size: 14px;
    margin-bottom: 20px;
}

.cart-empty.woocommerce-info {
    text-align: center;
    background: var(--wear35-white);
    border: 1px solid var(--wear35-border);
    border-left: 4px solid var(--wear35-primary);
}

/* Pagination --------------------------------------------------------------- */
.woocommerce-pagination {
    margin-top: 40px;
}

.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination ul li {
    list-style: none;
    margin: 0;
}

.woocommerce-pagination ul li span,
.woocommerce-pagination ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--wear35-border);
    border-radius: var(--wear35-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--wear35-text);
    text-decoration: none;
    background: var(--wear35-white);
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--wear35-accent);
    color: var(--wear35-accent);
}

.woocommerce-pagination ul li span.current {
    background: var(--wear35-primary);
    border-color: var(--wear35-primary);
    color: var(--wear35-white);
}

/* Responsive tweaks for canonical grids ------------------------------------- */
@media (max-width: 1200px) {
    .wear35-product-grid,
    .wear35-categories,
    .wear35-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .wear35-product-grid,
    .wear35-categories,
    .wear35-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce-products-header__title.page-title,
    h1.page-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .wear35-categories,
    .wear35-related-grid {
        grid-template-columns: 1fr;
    }

    /* 首页产品列表：手机端保持一行 2 个 */
    .wear35-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
