/*
Theme Name: Custom Theme
Theme URI: https://childrentoycar.com
Author: Custom Theme
Description: A modern, clean WordPress theme for ChildrenToyCar
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: custom-theme
Updated: 2025-11-07 - Fixed homepage title alignment
*/

/* ========================================
   强制移除WooCommerce默认样式和隐藏Footer
======================================== */
body.woocommerce-account:not(.woocommerce-view-order) .woocommerce table.shop_table,
body.woocommerce-account:not(.woocommerce-view-order) .woocommerce-orders-table,
body.woocommerce-account:not(.woocommerce-view-order) .shop_table {
    display: none !important;
}
/* ========================================
   RESPONSIVE - 响应式设计
======================================== */

/* 平板电脑 (1024px 及以下) */
@media (max-width: 1024px) {
    :root {
        --font-3xl: 1.8rem;
        --font-4xl: 2.2rem;
        --spacing-xl: 2.5rem;
        --spacing-2xl: 3.5rem;
    }

    .container {
        --container-padding: 1.2rem;
    }
}

/* 移动设备 (768px 及以下) */
@media (max-width: 768px) {
    :root {
        --font-base: 0.95rem;
        --font-lg: 1.05rem;
        --font-xl: 1.15rem;
        --font-2xl: 1.3rem;
        --font-3xl: 1.6rem;
        --font-4xl: 2rem;
        --spacing-md: 1.2rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
    }

    .container {
        --container-padding: 1rem;
    }
}

/* 小型移动设备 (480px 及以下) */
@media (max-width: 480px) {
    :root {
        --font-sm: 0.8rem;
        --font-base: 0.9rem;
        --font-lg: 1rem;
        --font-xl: 1.1rem;
        --spacing-sm: 0.8rem;
        --spacing-md: 1rem;
    }

    .container {
        --container-padding: 0.8rem;
    }

    .site-title {
        font-size: var(--font-lg);
    }
}

/* 隐藏My Account页面的footer */
body.woocommerce-account .site-footer {
    display: none !important;
}

/* ========================================
   CSS VARIABLES - 设计系统
======================================== */
:root {
    /* 颜色系统 */
    --color-primary: #000000;
    --color-secondary: #333333;
    --color-accent: #ff4444;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-bg: #ffffff;
    --color-bg-light: #f8f8f8;
    --color-bg-dark: #1a1a1a;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    
    /* 渐变色 */
    --gradient-overlay: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    --gradient-hover: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    
    /* 字体 */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    
    /* 字体大小 */
    --font-xs: 0.75rem;      /* 12px */
    --font-sm: 0.875rem;     /* 14px */
    --font-base: 1rem;       /* 16px */
    --font-lg: 1.125rem;     /* 18px */
    --font-xl: 1.25rem;      /* 20px */
    --font-2xl: 1.5rem;      /* 24px */
    --font-3xl: 2rem;        /* 32px */
    --font-4xl: 2.5rem;      /* 40px */
    --font-5xl: 3rem;        /* 48px */
    
    /* 间距 */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-2xl: 4rem;     /* 64px */
    --spacing-3xl: 6rem;     /* 96px */
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 边框半径 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* 过渡 */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 容器宽度 */
    --container-max: 1920px;
    --container-padding: 1.5rem;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: all var(--transition-base);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

ul, ol {
    list-style: none;
}

/* ========================================
   LAYOUT - 容器与网格
======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.site {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

/* 主内容区域自动增长，将footer推到底部 */
.custom-myaccount-page,
.woocommerce,
main,
#content {
    flex: 1 0 auto;
}

.site-header,
.site-footer {
    flex-shrink: 0;
}

/* ========================================
   HEADER & NAVIGATION - 头部导航
======================================== */













/* 汉堡菜单相关样式已迁移到 assets/css/common.css，避免与全局样式重复 */

/* ========================================
   HERO CAROUSEL - 英雄轮播区
======================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ========================================
   MOBILE SAFE GUARDS - 移动端满宽与防溢出护栏
   目的：修复部分设备上右侧出现空白的问题
   原因多为子元素固定宽度/绝对定位/网格列造成的溢出或未满宽
======================================== */
@media (max-width: 1024px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .site,
  .site-content,
  main,
  #content {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 通用容器在移动端确保满宽且居中 */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 轮播与其内部容器防止超出视口 */
  .hero-carousel,
  .carousel-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* 任何绝对定位的左右控制按钮限制在视口内（分别控制左右） */
  .carousel-control.prev { left: 0.5rem !important; }
  .carousel-control.next { right: 0.5rem !important; }
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 轮播图文字覆盖层 */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: var(--spacing-xl);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.carousel-caption h2 {
    font-family: var(--font-heading);
    font-size: var(--font-4xl);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: var(--font-xl);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* 轮播按钮 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--color-primary);
    font-size: var(--font-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    z-index: 3;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-xl);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-control span {
    display: block;
    line-height: 1;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-sm);
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: white;
    width: 40px;
    border-radius: var(--radius-full);
    border-color: white;
}

/* ========================================
   SECTIONS - 通用区块样式
======================================== */
.section-header {
    text-align: center !important;
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-xl) 0;
    width: 100%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-3xl);
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 auto var(--spacing-lg) auto !important;
    position: relative;
    display: block;
    text-align: center !important;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: var(--font-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin: var(--spacing-md) auto 0 auto;
    line-height: 1.8;
    text-align: center !important;
    display: block;
}

/* ========================================
   PRODUCTS SECTION - 产品展示区
======================================== */
.products-section {
    padding: var(--spacing-2xl) 0 var(--spacing-3xl);
    background: var(--color-bg);
    text-align: center;
}

.products-section .container {
    max-width: 100%;
    padding: 0 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: var(--spacing-xl);
}

/* 限制最多显示18个产品（3行） */
.products-grid .product-card:nth-child(n+19) {
    display: none;
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-border);
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .product-card:active {
        transform: scale(0.98);
    }
    
    .add-to-cart-btn:active {
        transform: scale(0.96);
    }
}

/* 产品图片 */
.product-image {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
    aspect-ratio: auto;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-slow);
    max-height: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* 促销标签 */
.sale-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: #2ed573;
    color: white;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(46, 213, 115, 0.4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* 产品信息 */
.product-info {
    padding: 1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-height: 170px;
}

.product-title {
    font-size: var(--font-sm);
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.product-title a:hover {
    color: var(--color-primary);
}

.product-price {
    font-size: var(--font-2xl);
    font-weight: 800;
    color: var(--color-accent);
    margin: auto 0 1rem 0;
    text-align: center;
    line-height: 1.2;
}

.product-price del {
    font-size: var(--font-base);
    font-weight: 500;
    color: var(--color-text-muted);
    margin-right: 0;
    display: inline-block;
    text-decoration: line-through;
}

/* 添加到购物车按钮 */
.product-actions {
    margin-top: 0;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--color-primary);
    text-align: center;
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    border: 2px solid var(--color-primary);
}

.add-to-cart-btn:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.add-to-cart-btn:active {
    background: #e03e3e;
    transform: translateY(0);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--color-text-light);
    font-size: var(--font-lg);
}

/* ========================================
   WHY CHOOSE SECTION - 特点展示区
======================================== */
.why-choose-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-light);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

/* 特点卡片 */
.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-light);
    border-radius: 50%;
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    background: var(--color-primary);
    color: white;
    transform: rotateY(360deg);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.feature-description {
    font-size: var(--font-base);
    line-height: 1.8;
    color: var(--color-text-light);
}

/* ========================================
   NEWSLETTER SECTION - 订阅区
======================================== */
.newsletter-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: var(--font-3xl);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.newsletter-subtitle {
    font-size: var(--font-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: var(--spacing-sm);
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1.5rem;
    font-size: var(--font-base);
    background: transparent;
    color: var(--color-text);
}

.newsletter-input::placeholder {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: var(--font-sm);
    letter-spacing: 0.5px;
}

.newsletter-button {
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    border: none;
}

.newsletter-button:hover {
    background: #e03e3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.4);
}

.newsletter-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: var(--font-sm);
}

.newsletter-message.success {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid #2ed573;
}

.newsletter-message.error {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid #ff4757;
}

/* ========================================
   FOOTER - 页脚
======================================== */
/* 页脚样式已迁移至 assets/css/common.css */

/* ========================================
   MODAL - 登录/注册模态框
======================================== */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

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

.modal-content {
    position: relative;
    z-index: 100000;
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-xl);
    color: var(--color-text);
    transition: all var(--transition-base);
    z-index: 10;
}

.modal-close:hover {
    background: var(--color-accent);
    color: white;
    transform: rotate(90deg);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.auth-title {
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.auth-subtitle {
    color: var(--color-text-light);
}

/* 认证标签 */
.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    background: var(--color-bg-light);
    padding: 0.5rem;
    border-radius: var(--radius-lg);
}

.auth-tab {
    padding: 1rem;
    background: transparent;
    color: var(--color-text);
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-tab.active {
    background: white;
    box-shadow: var(--shadow-md);
}

.auth-tab:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
}

/* 表单 */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
    font-size: var(--font-sm);
}

.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="text"] {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    transition: all var(--transition-base);
    outline: none;
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--color-text-muted);
    padding: 0.5rem;
}

.toggle-password:hover {
    color: var(--color-primary);
}

.password-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-text-muted);
    font-size: var(--font-xs);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-sm);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.forgot-password {
    color: var(--color-primary);
    transition: opacity var(--transition-fast);
}

.forgot-password:hover {
    opacity: 0.7;
}

.auth-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--color-primary);
    color: white;
    font-size: var(--font-base);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    margin-top: var(--spacing-md);
}

.auth-submit-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: var(--font-sm);
}

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid #2ed573;
}

.form-message.error {
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid #ff4757;
}

.form-agreement {
    margin-bottom: var(--spacing-md);
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: var(--font-sm);
    color: var(--color-text-light);
}

.agreement-checkbox a {
    color: var(--color-primary);
}

/* ========================================
   RESPONSIVE DESIGN - 响应式设计
======================================== */

/* 桌面端与移动端的导航显示规则由 common.css 统一管理 */

/* 平板设备 */
@media (max-width: 1024px) {
    :root {
        --container-padding: 1rem;
        --font-4xl: 2rem;
        --font-3xl: 1.75rem;
        --spacing-3xl: 4rem;
    }
    
    .products-section .container {
        padding: 0 1rem;
    }
    
    .hero-carousel {
        height: 600px;
    }
    
    .carousel-caption h2 {
        font-size: var(--font-3xl);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
    
    /* 平板产品卡片优化 */
    .product-info {
        padding: 0.9rem;
        min-height: 160px;
    }
    
    .product-title {
        font-size: 0.8rem;
        height: 38px;
    }
    
    .product-price {
        font-size: var(--font-xl);
    }
    
    .add-to-cart-btn {
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
    }
    
    /* 平板视口下头部布局调整已迁移至 assets/css/common.css */
}

/* 移动设备 */
@media (max-width: 768px) {
    :root {
        --container-padding: 0.8rem;
        --font-5xl: 2rem;
        --font-4xl: 1.75rem;
        --font-3xl: 1.5rem;
        --font-2xl: 1.25rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 3rem;
    }
    
    .products-section .container {
        padding: 0 0.8rem;
    }
    
    /* 移动端导航与菜单相关样式已迁移至 assets/css/common.css */
    
    .hero-carousel {
        height: 500px;
    }
    
    .carousel-caption {
        padding: var(--spacing-md);
    }
    
    .carousel-caption h2 {
        font-size: var(--font-2xl);
    }
    
    .carousel-caption p {
        font-size: var(--font-base);
    }
    
    .carousel-control {
        width: 44px;
        height: 44px;
        font-size: var(--font-xl);
        opacity: 0.8;
    }
    
    .carousel-control.prev {
        left: 0.5rem;
    }
    
    .carousel-control.next {
        right: 0.5rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    /* 移动端产品卡片优化 */
    .product-info {
        padding: 0.75rem;
        min-height: 150px;
    }
    
    .product-title {
        font-size: 0.75rem;
        height: 36px;
        margin-bottom: 0.5rem;
    }
    
    .product-price {
        font-size: var(--font-xl);
        margin: auto 0 0.75rem 0;
    }
    
    .product-price del {
        font-size: var(--font-sm);
    }
    
    .add-to-cart-btn {
        padding: 0.7rem 0.75rem;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .newsletter-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .newsletter-content {
        padding: 0 1rem;
    }
    
    .newsletter-title {
        font-size: var(--font-2xl);
    }
    
    .newsletter-subtitle {
        font-size: var(--font-base);
    }
    
    .newsletter-form {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .newsletter-input {
        padding: 1rem 1.5rem;
        font-size: var(--font-base);
        border-radius: var(--radius-full);
        margin-bottom: 1rem;
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.15);
        color: white;
        width: 100%;
    }
    
    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .newsletter-button {
        width: 100%;
        padding: 1rem;
        border-radius: var(--radius-full);
        font-size: var(--font-base);
        font-weight: 700;
        background: var(--color-accent);
        border: none;
    }
    
    .newsletter-button:hover,
    .newsletter-button:active {
        background: #e03e3e;
    }
    
    .newsletter-message {
        margin-top: 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .feature-card {
        padding: var(--spacing-lg);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .feature-title {
        font-size: var(--font-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-title {
        font-size: var(--font-base);
    }
}

/* 小型移动设备 */
@media (max-width: 480px) {
    .products-section .container {
        padding: 0 0.5rem;
    }
    
    body {
        padding-top: 55px;
    }
    
    .main-navigation {
        padding: 0.6rem 0;
    }
    
    .site-title {
        font-size: var(--font-base);
    }
    
    .mobile-menu-toggle {
        width: 32px;
        height: 32px;
        padding: 4px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }
    
    .hero-carousel {
        height: 400px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    /* 小屏产品卡片优化 */
    .product-info {
        padding: 1rem;
        min-height: 140px;
    }
    
    .product-title {
        font-size: var(--font-sm);
        height: auto;
        min-height: 36px;
        margin-bottom: 0.75rem;
    }
    
    .product-price {
        font-size: var(--font-2xl);
        margin: auto 0 0.85rem 0;
    }
    
    .product-price del {
        font-size: var(--font-base);
    }
    
    .add-to-cart-btn {
        padding: 0.85rem 1rem;
        font-size: var(--font-sm);
        letter-spacing: 0.8px;
    }
    
    .section-title {
        font-size: var(--font-2xl);
        letter-spacing: 1px;
    }
    
    .section-subtitle {
        font-size: var(--font-base);
    }
    
    /* 小屏Newsletter优化 */
    .newsletter-section {
        padding: var(--spacing-xl) 0;
    }
    
    .newsletter-input {
        padding: 0.9rem 1.2rem;
        font-size: var(--font-sm);
        margin-bottom: 0.85rem;
    }
    
    .newsletter-button {
        padding: 0.9rem;
        font-size: var(--font-sm);
        background: var(--color-accent);
    }
    
    .modal-content {
        width: 95%;
        padding: var(--spacing-md);
    }
    
    .cart-text,
    .user-name {
        display: none;
    }
    
    /* 小屏菜单优化 */
    .primary-menu {
        padding: 0.75rem;
    }
    
    .primary-menu.active {
        padding: 0.75rem;
    }
    
    .primary-menu > li > a {
        padding: 0.85rem 0.75rem;
        font-size: var(--font-sm);
    }
}

/* 横屏优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-carousel {
        height: 90vh;
    }
    
    .carousel-caption {
        padding: var(--spacing-md);
    }
    
    .carousel-caption h2 {
        font-size: var(--font-2xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .carousel-caption p {
        font-size: var(--font-sm);
        margin-bottom: var(--spacing-sm);
    }
    
    .btn-primary {
        padding: 0.75rem 2rem;
    }
}

/* 超小屏设备 */
@media (max-width: 360px) {
    .products-section .container {
        padding: 0 0.4rem;
    }
    
    body {
        padding-top: 52px;
    }
    
    .site-title {
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        width: 28px;
        height: 28px;
    }
    
    .hamburger-line {
        height: 2px;
    }
    
    .cart-contents,
    .login-button,
    .user-menu-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .product-info {
        padding: 0.75rem;
        min-height: 130px;
    }
    
    .product-title {
        font-size: 0.75rem;
        min-height: 32px;
    }
    
    .product-price {
        font-size: var(--font-xl);
        margin: auto 0 0.7rem 0;
    }
    
    .add-to-cart-btn {
        padding: 0.75rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .carousel-caption h2 {
        font-size: var(--font-xl);
    }
    
    .carousel-caption p {
        font-size: var(--font-sm);
    }
    
    .primary-menu > li > a {
        padding: 0.75rem 0.6rem;
        font-size: 0.85rem;
    }
    
    /* 超小屏Newsletter优化 */
    .newsletter-title {
        font-size: var(--font-xl);
    }
    
    .newsletter-subtitle {
        font-size: var(--font-sm);
        padding: 0 1rem;
    }
    
    .newsletter-input {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .newsletter-button {
        padding: 0.85rem;
        font-size: 0.85rem;
        background: var(--color-accent);
    }
}

/* ========================================
   SHOP/ARCHIVE PAGE - 产品列表页
======================================== */
.woocommerce-page,
.post-type-archive-product,
.tax-product_cat {
    background: var(--color-bg);
}

.woocommerce-page .woocommerce,
.post-type-archive-product .woocommerce,
.tax-product_cat .woocommerce {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--container-padding);
}

.shop-page-wrapper {
    background: var(--color-bg);
    padding: var(--spacing-3xl) 0;
    min-height: 70vh;
}

.shop-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 2.5rem;
}

/* WooCommerce默认布局覆盖 */
.woocommerce .woocommerce-products-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.woocommerce .woocommerce-products-header__title {
    font-family: var(--font-heading);
    font-size: var(--font-4xl);
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce .woocommerce-result-count {
    font-size: var(--font-base);
    color: var(--color-text-light);
    font-weight: 500;
    float: none;
    margin: 0 0 1rem 0;
}

/* 左侧边栏 */
.shop-sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 2rem 1.75rem;
    margin-bottom: 2rem;
}

.widget-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    padding: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #e5e5e5;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0;
    border-left: 3px solid transparent;
    transition: border-color 0.2s ease;
}

.category-item:not(:last-child) {
    margin-bottom: 0.875rem;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    color: #6c757d;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.2s ease;
    text-decoration: none;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-item a:hover {
    color: var(--color-accent);
}

.category-item.active {
    border-left-color: var(--color-primary);
}

.category-item.active a {
    color: var(--color-primary);
    font-weight: 800;
}

.category-count {
    font-size: 1.125rem;
    color: #999;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.category-item.active .category-count {
    color: rgba(255, 255, 255, 0.8);
}

.category-item a:hover .category-count {
    color: rgba(255, 68, 68, 0.8);
}

/* 子分类 */
.category-item.child-category {
    margin-left: 0;
    border-left: none;
}

.category-item.child-category a {
    padding-left: 1.5rem;
    color: #007bff;
    font-size: 0.875rem;
}

.category-item.child-category a:hover {
    color: #0056b3;
}

/* 价格列表 */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    margin-bottom: 0.875rem;
}

.price-list li:last-child {
    margin-bottom: 0;
}

.price-list li a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color 0.2s ease;
    text-decoration: none;
}

.price-list li a:hover {
    color: var(--color-primary);
}

/* 排序下拉框 */
.orderby-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1rem;
    color: var(--color-primary);
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
    font-weight: 600;
}

.orderby-select:hover {
    border-color: #999;
}

.orderby-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.orderby-select option {
    padding: 0.5rem;
    color: var(--color-text);
}

.orderby-select option:hover,
.orderby-select option:checked {
    background: #007bff;
    color: white;
}

/* 右侧主内容区 */
.shop-main-content {
    width: 100%;
}

/* 分类头部 */
.category-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border);
}

.category-title {
    font-family: var(--font-heading);
    font-size: var(--font-4xl);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-description {
    font-size: var(--font-lg);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* 店铺头部信息 */
.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.shop-header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.filter-toggle {
    display: none; /* 默认桌面隐藏 */
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-toggle:hover {
    filter: brightness(0.95);
}

.filter-toggle-icon {
    line-height: 1;
}

.shop-results-info,
.shop-page-info {
    font-size: var(--font-base);
    color: var(--color-text-light);
    font-weight: 500;
}

/* 产品网格 - 强制覆盖WooCommerce默认样式 */
.woocommerce ul.products,
.products-grid-shop,
.shop-main-content .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: var(--spacing-lg) !important;
    margin-bottom: var(--spacing-2xl) !important;
    list-style: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.shop-main-content .products::before,
.shop-main-content .products::after {
    display: none !important;
}

.product-card-shop-wrapper,
.woocommerce ul.products li.product,
.shop-main-content .products li.product {
    grid-column: span 1 !important;
    list-style: none !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* 确保WooCommerce产品使用我们的卡片样式 */
.woocommerce ul.products li.product,
.shop-main-content .products li.product {
    background: white !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    transition: all var(--transition-base) !important;
    border: 1px solid #f0f0f0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
}

.woocommerce ul.products li.product:hover,
.shop-main-content .products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--color-border) !important;
}

/* 产品卡片 - 与首页保持一致 */
.product-card-shop {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    position: relative;
    min-width: 0;
}

.product-card-shop:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--color-border);
}

/* 标签 */
.badge-new,
.badge-sale {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.badge-new {
    background: #ff4444;
    color: white;
}

.badge-sale {
    background: #2ed573;
    color: white;
    left: auto;
    right: 0.8rem;
}

/* 产品图片 - 完全复制首页样式 */
.product-image-shop {
    position: relative !important;
    overflow: hidden !important;
    background: var(--color-bg-light) !important;
    aspect-ratio: auto !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.product-image-shop img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform var(--transition-slow);
    max-height: 100% !important;
}

.woocommerce ul.products li.product:hover img,
.product-card-shop:hover .product-image-shop img {
    transform: scale(1.08) !important;
}

/* 产品信息 */
.product-info-shop {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    min-height: 180px;
     min-width: 0;
}

.product-category-shop {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.product-title-shop {
    font-size: var(--font-sm) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
    margin: 0 0 0.75rem 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    height: 40px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title a,
.woocommerce ul.products li.product h2 a,
.woocommerce ul.products li.product h3 a,
.product-title-shop a {
    color: var(--color-text) !important;
    transition: color var(--transition-fast) !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title a,
.woocommerce ul.products li.product:hover h2 a,
.woocommerce ul.products li.product:hover h3 a,
.product-title-shop a:hover {
    color: var(--color-primary) !important;
}

.product-meta-shop {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.woocommerce ul.products li.product .price,
.product-price-shop {
    font-size: var(--font-2xl) !important;
    font-weight: 800 !important;
    color: var(--color-accent) !important;
    margin: auto 0 1rem 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    display: block !important;
}

.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price .woocommerce-Price-amount {
    color: var(--color-accent) !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .price del,
.product-price-shop del {
    font-size: var(--font-base) !important;
    font-weight: 500 !important;
    color: var(--color-text-muted) !important;
    margin-right: 0 !important;
    display: inline-block !important;
    text-decoration: line-through !important;
    opacity: 0.7 !important;
}

.product-stock-shop {
    text-align: center;
    margin-bottom: 0.75rem;
}

.product-stock-shop .in-stock {
    color: #2ed573;
    font-size: var(--font-sm);
    font-weight: 600;
}

.product-stock-shop .out-of-stock {
    color: #ff4757;
    font-size: var(--font-sm);
    font-weight: 600;
}

/* 添加到购物车按钮 */
.product-actions-shop {
    margin-top: 0;
}

.add-to-cart-btn-shop {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--color-primary);
    text-align: center;
    font-size: var(--font-sm);
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    border: 2px solid var(--color-primary);
}

.add-to-cart-btn-shop:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.add-to-cart-btn-shop:active {
    background: #e03e3e;
    transform: translateY(0);
}

/* WooCommerce默认按钮样式覆盖 */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .product_type_simple,
.shop-main-content .button.product_type_simple,
.shop-main-content .button.add_to_cart_button,
.shop-main-content .added_to_cart {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: transparent !important;
    color: var(--color-primary) !important;
    text-align: center !important;
    font-size: var(--font-sm) !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-base) !important;
    border: 2px solid var(--color-primary) !important;
    text-decoration: none !important;
    margin: 0 !important;
    float: none !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover,
.woocommerce ul.products li.product .product_type_simple:hover,
.shop-main-content .button.product_type_simple:hover,
.shop-main-content .button.add_to_cart_button:hover,
.shop-main-content .added_to_cart:hover {
    background: var(--color-accent) !important;
    color: white !important;
    border-color: var(--color-accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3) !important;
}

/* 无产品提示 */
.no-products-found {
    text-align: center;
    padding: var(--spacing-3xl);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.no-products-found p {
    font-size: var(--font-xl);
    color: var(--color-text-light);
}

/* 分页 */
.shop-pagination,
.woocommerce-pagination {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
}

.shop-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.shop-pagination .page-numbers li,
.woocommerce-pagination .page-numbers li {
    display: inline-block;
}

.shop-pagination .page-numbers a,
.shop-pagination .page-numbers span,
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 0.875rem;
    background: transparent;
    color: #2c3e50;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.shop-pagination .page-numbers a:hover,
.woocommerce-pagination .page-numbers a:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
    transform: translateY(-1px);
}

.shop-pagination .page-numbers .current,
.woocommerce-pagination .page-numbers .current {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    cursor: default;
    font-weight: 800;
}

.shop-pagination .page-numbers .prev,
.shop-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev,
.woocommerce-pagination .page-numbers .next {
    font-weight: 700;
    padding: 0 1.5rem;
    min-width: auto;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

.shop-pagination .page-numbers .prev:hover,
.shop-pagination .page-numbers .next:hover,
.woocommerce-pagination .page-numbers .prev:hover,
.woocommerce-pagination .page-numbers .next:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.shop-pagination .page-numbers .dots,
.woocommerce-pagination .page-numbers .dots {
    border: none;
    background: transparent;
    cursor: default;
    padding: 0 0.25rem;
    color: #999;
    font-weight: 700;
    min-width: 32px;
}

.shop-pagination .page-numbers .dots:hover,
.woocommerce-pagination .page-numbers .dots:hover {
    background: transparent;
    transform: none;
    border: none;
}

/* WooCommerce Results Count */
.woocommerce-result-count {
    font-size: var(--font-base);
    color: var(--color-text-light);
    font-weight: 500;
    margin: 0;
}

/* WooCommerce Archive Description */
.term-description {
    font-size: var(--font-lg);
    color: var(--color-text-light);
    line-height: 1.8;
}

/* WooCommerce Notices */
.woocommerce-info,
.woocommerce-message {
    background: #e7f5ff;
    border-left: 4px solid #1c7ed6;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

.woocommerce-error {
    background: #ffe5e5;
    border-left: 4px solid #ff4444;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .filter-toggle { display: inline-flex; }
    /* 在 ≤1024px 下强制改为单列堆叠，避免左右并排 */
    .shop-container {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
        gap: 1.5rem;
        padding: 0 var(--container-padding);
    }
    
    .woocommerce ul.products,
    .products-grid-shop,
    .shop-main-content .products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: var(--spacing-md) !important;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .shop-page-wrapper {
        padding: var(--spacing-xl) 0;
    }
    
    .shop-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--container-padding);
    }
    
    .shop-sidebar {
        position: static;
        order: 2;
    }
    
    .sidebar-widget {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .widget-title {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
        letter-spacing: 1.2px;
    }
    
    .category-item a,
    .price-list li a {
        padding: 0.625rem 0.75rem;
        font-size: 1rem;
        font-weight: 700;
    }
    
    .category-count {
        font-size: 0.9375rem;
        font-weight: 600;
        margin-left: auto;
    }
    
    .orderby-select {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
        padding-right: 2rem;
    }
    
    .shop-main-content {
        order: 1;
    }
    
    .category-title {
        font-size: var(--font-2xl);
    }
    
    .shop-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .shop-header-actions {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .filter-toggle {
        display: inline-flex;
    }

    /* 移动端侧栏抽屉样式 */
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 340px;
        height: 100vh;
        background: var(--color-bg);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md);
        z-index: 1100;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .shop-sidebar.open {
        transform: translateX(0);
    }
    
    /* 抽屉遮罩 */
    .shop-sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1050;
        opacity: 0;
        transition: opacity .25s ease;
    }
    .shop-sidebar.open ~ .shop-sidebar-overlay {
        display: block;
        opacity: 1;
    }
    
    .woocommerce ul.products,
    .products-grid-shop,
    .shop-main-content .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    .product-info-shop {
        padding: 0.75rem;
        min-height: 150px;
    }
    
    .product-title-shop {
        font-size: 0.75rem;
        height: 36px;
        margin-bottom: 0.5rem;
    }
    
    .product-price-shop {
        font-size: var(--font-xl);
        margin: auto 0 0.75rem 0;
    }
    
    .add-to-cart-btn-shop {
        padding: 0.7rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .woocommerce ul.products,
    .products-grid-shop,
    .shop-main-content .products {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }
    
    .product-info-shop {
        padding: 1rem;
        min-height: 140px;
    }
    
    .product-title-shop {
        font-size: var(--font-sm);
        height: auto;
        min-height: 36px;
        margin-bottom: 0.75rem;
    }
    
    .product-price-shop {
        font-size: var(--font-2xl);
        margin: auto 0 0.85rem 0;
    }
    
    .add-to-cart-btn-shop {
        padding: 0.85rem 1rem;
        font-size: var(--font-sm);
    }
    
    .shop-pagination,
    .woocommerce-pagination {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    
    .shop-pagination .page-numbers,
    .woocommerce-pagination .page-numbers {
        gap: 0.375rem;
    }
    
    .shop-pagination .page-numbers a,
    .shop-pagination .page-numbers span,
    .woocommerce-pagination .page-numbers a,
    .woocommerce-pagination .page-numbers span {
        min-width: 46px;
        height: 46px;
        padding: 0 0.75rem;
        font-size: 1rem;
        font-weight: 700;
    }
    
    .shop-pagination .page-numbers .prev,
    .shop-pagination .page-numbers .next,
    .woocommerce-pagination .page-numbers .prev,
    .woocommerce-pagination .page-numbers .next {
        padding: 0 1.25rem;
        font-size: 0.9375rem;
        font-weight: 700;
    }
    
    .shop-pagination .page-numbers a:hover,
    .woocommerce-pagination .page-numbers a:hover {
        background: var(--color-accent);
        color: white;
        border-color: var(--color-accent);
        transform: translateY(-1px);
    }
    
    .sidebar-widget {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .widget-title {
        font-size: 0.75rem;
        margin-bottom: 0.875rem;
        letter-spacing: 1px;
    }
    
    .category-item:not(:last-child) {
        margin-bottom: 0.625rem;
    }
    
    .price-list li {
        margin-bottom: 0.625rem;
    }
    
    .category-item a,
    .price-list li a {
        padding: 0.5rem 0.625rem;
        font-size: 0.9375rem;
        font-weight: 700;
    }
    
    .category-count {
        font-size: 0.875rem;
        font-weight: 600;
        margin-left: auto;
    }
    
    .category-item {
        border-left-width: 2px;
    }
    
    .orderby-select {
        font-size: 0.8125rem;
        padding: 0.5rem 0.625rem;
        padding-right: 2rem;
    }
}

/* ========================================
   UTILITY CLASSES - 工具类
======================================== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ========================================
   ANIMATIONS - 动画效果
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-base);
}

.animate-slide-up {
    animation: slideInUp var(--transition-slow);
}

.animate-slide-down {
    animation: slideInDown var(--transition-slow);
}

/* ========================================
   PRINT STYLES - 打印样式
======================================== */
@media print {
    .site-header,
    .hero-carousel,
    .newsletter-section,
    .site-footer {
        display: none;
    }
    
    .product-card {
        break-inside: avoid;
    }
}

/* ========================================
   WOOCOMMERCE SHOP PAGE - 超强样式覆盖
======================================== */

/* 强制移除WooCommerce默认样式 */
body.archive.woocommerce .woocommerce,
body.post-type-archive-product .woocommerce {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 隐藏WooCommerce默认元素 */
body.archive.woocommerce .woocommerce-result-count,
body.archive.woocommerce .woocommerce-ordering,
body.archive.woocommerce .woocommerce-products-header {
    display: none !important;
}

/* 强制产品网格布局 */
body.archive.woocommerce .woocommerce ul.products,
body.post-type-archive-product ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* 强制产品卡片样式 */
body.archive.woocommerce .woocommerce ul.products li.product,
body.post-type-archive-product ul.products li.product {
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
}

body.archive.woocommerce .woocommerce ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* 产品图片容器 */
body.archive.woocommerce .woocommerce ul.products li.product a,
body.post-type-archive-product ul.products li.product a {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
    aspect-ratio: auto !important;
    min-height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* 强制产品图片样式 */
body.archive.woocommerce .woocommerce ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
    max-height: 100% !important;
}

body.archive.woocommerce .woocommerce ul.products li.product:hover img {
    transform: scale(1.08) !important;
}

/* 强制产品标题样式 */
body.archive.woocommerce .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.archive.woocommerce .woocommerce ul.products li.product h2,
body.post-type-archive-product ul.products li.product h2 {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 1rem !important;
    color: #333 !important;
    text-align: left !important;
}

/* 强制产品价格样式 - 红色居中 */
body.archive.woocommerce .woocommerce ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #ff4444 !important;
    margin: auto 0 1rem 0 !important;
    padding: 0 1rem !important;
    text-align: center !important;
    display: block !important;
}

body.archive.woocommerce .woocommerce ul.products li.product .price ins,
body.archive.woocommerce .woocommerce ul.products li.product .price .amount {
    color: #ff4444 !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

body.archive.woocommerce .woocommerce ul.products li.product .price del {
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #999 !important;
    opacity: 0.7 !important;
}

/* 强制按钮样式 - 黑色边框，悬停变红 */
body.archive.woocommerce .woocommerce ul.products li.product .button,
body.archive.woocommerce .woocommerce ul.products li.product .add_to_cart_button,
body.post-type-archive-product ul.products li.product .button {
    display: block !important;
    width: calc(100% - 2rem) !important;
    margin: 0 1rem 1rem 1rem !important;
    padding: 0.75rem 1rem !important;
    background: transparent !important;
    color: #000 !important;
    text-align: center !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    border: 2px solid #000 !important;
    text-decoration: none !important;
}

body.archive.woocommerce .woocommerce ul.products li.product .button:hover,
body.archive.woocommerce .woocommerce ul.products li.product .add_to_cart_button:hover {
    background: #ff4444 !important;
    color: white !important;
    border-color: #ff4444 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3) !important;
}

/* 强制分页样式 */
body.archive.woocommerce .woocommerce-pagination,
body.post-type-archive-product .woocommerce-pagination,
body.archive.woocommerce nav.woocommerce-pagination,
body.post-type-archive-product nav.woocommerce-pagination {
    margin-top: 3.5rem !important;
    padding-top: 2.5rem !important;
    border-top: 1px solid #e5e5e5 !important;
    display: flex !important;
    justify-content: center !important;
}

body.archive.woocommerce .woocommerce-pagination ul.page-numbers,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers {
    list-style: none !important;
    display: flex !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: center !important;
}

body.archive.woocommerce .woocommerce-pagination ul.page-numbers li,
body.post-type-archive-product .woocommerce-pagination ul.page-numbers li {
    display: inline-block !important;
}

body.archive.woocommerce .woocommerce-pagination a.page-numbers,
body.archive.woocommerce .woocommerce-pagination span.page-numbers,
body.post-type-archive-product .woocommerce-pagination a.page-numbers,
body.post-type-archive-product .woocommerce-pagination span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 52px !important;
    height: 52px !important;
    padding: 0 0.875rem !important;
    background: transparent !important;
    color: #2c3e50 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

body.archive.woocommerce .woocommerce-pagination a.page-numbers:hover,
body.post-type-archive-product .woocommerce-pagination a.page-numbers:hover {
    background: #ff4444 !important;
    color: white !important;
    border-color: #ff4444 !important;
    transform: translateY(-1px) !important;
}

body.archive.woocommerce .woocommerce-pagination span.current,
body.post-type-archive-product .woocommerce-pagination span.current {
    background: #2c3e50 !important;
    color: white !important;
    border-color: #2c3e50 !important;
    cursor: default !important;
    font-weight: 800 !important;
}

body.archive.woocommerce .woocommerce-pagination .prev,
body.archive.woocommerce .woocommerce-pagination .next,
body.post-type-archive-product .woocommerce-pagination .prev,
body.post-type-archive-product .woocommerce-pagination .next {
    font-weight: 700 !important;
    padding: 0 1.5rem !important;
    min-width: auto !important;
    font-size: 1rem !important;
    letter-spacing: 0.3px !important;
}

body.archive.woocommerce .woocommerce-pagination .prev:hover,
body.archive.woocommerce .woocommerce-pagination .next:hover,
body.post-type-archive-product .woocommerce-pagination .prev:hover,
body.post-type-archive-product .woocommerce-pagination .next:hover {
    background: #ff4444 !important;
    color: white !important;
    border-color: #ff4444 !important;
}

body.archive.woocommerce .woocommerce-pagination .dots,
body.post-type-archive-product .woocommerce-pagination .dots {
    border: none !important;
    background: transparent !important;
    cursor: default !important;
    padding: 0 0.25rem !important;
    color: #999 !important;
    font-weight: 700 !important;
    min-width: 32px !important;
}

body.archive.woocommerce .woocommerce-pagination .dots:hover,
body.post-type-archive-product .woocommerce-pagination .dots:hover {
    background: transparent !important;
    transform: none !important;
    border: none !important;
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    body.archive.woocommerce .woocommerce ul.products,
    body.post-type-archive-product ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    body.archive.woocommerce .woocommerce ul.products,
    body.post-type-archive-product ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    
    body.archive.woocommerce .woocommerce ul.products li.product .price {
        font-size: 1.25rem !important;
    }
    
    body.archive.woocommerce .woocommerce ul.products li.product .button {
        font-size: 0.75rem !important;
        padding: 0.7rem 0.75rem !important;
    }
    
    body.archive.woocommerce .woocommerce-pagination a.page-numbers,
    body.archive.woocommerce .woocommerce-pagination span.page-numbers,
    body.post-type-archive-product .woocommerce-pagination a.page-numbers,
    body.post-type-archive-product .woocommerce-pagination span.page-numbers {
        min-width: 46px !important;
        height: 46px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
    }
    
    body.archive.woocommerce .woocommerce-pagination .prev,
    body.archive.woocommerce .woocommerce-pagination .next,
    body.post-type-archive-product .woocommerce-pagination .prev,
    body.post-type-archive-product .woocommerce-pagination .next {
        font-size: 0.9375rem !important;
        font-weight: 700 !important;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    body.archive.woocommerce .woocommerce ul.products,
    body.post-type-archive-product ul.products {
        grid-template-columns: 1fr !important;
    }
    
    body.archive.woocommerce .woocommerce ul.products li.product .price {
        font-size: 1.5rem !important;
    }
    
    body.archive.woocommerce .woocommerce ul.products li.product .button {
        font-size: 0.875rem !important;
        padding: 0.85rem 1rem !important;
    }
    
    body.archive.woocommerce .woocommerce-pagination a.page-numbers,
    body.archive.woocommerce .woocommerce-pagination span.page-numbers,
    body.post-type-archive-product .woocommerce-pagination a.page-numbers,
    body.post-type-archive-product .woocommerce-pagination span.page-numbers {
        min-width: 44px !important;
        height: 44px !important;
        font-size: 0.9375rem !important;
        font-weight: 700 !important;
    }
    
    body.archive.woocommerce .woocommerce-pagination .prev,
    body.archive.woocommerce .woocommerce-pagination .next,
    body.post-type-archive-product .woocommerce-pagination .prev,
    body.post-type-archive-product .woocommerce-pagination .next {
        font-size: 0.875rem !important;
        font-weight: 700 !important;
        padding: 0 1rem !important;
    }
}

/* ========================================
   额外的强制样式 - 确保商店页面正确显示
======================================== */

/* 强制商店页面布局 - 仅在桌面宽度下保持左右两列 */
@media (min-width: 1025px) {
  .woocommerce-shop .shop-page-wrapper,
  .woocommerce-page .shop-page-wrapper,
  .post-type-archive-product .shop-page-wrapper,
  .custom-shop-template .shop-page-wrapper,
  body[class*="woocommerce"] .shop-page-wrapper {
      background: var(--color-bg) !important;
      padding: var(--spacing-3xl) 0 !important;
      min-height: 70vh !important;
  }

  .woocommerce-shop .shop-container,
  .woocommerce-page .shop-container,
  .post-type-archive-product .shop-container,
  .custom-shop-template .shop-container,
  body[class*="woocommerce"] .shop-container {
      max-width: var(--container-max) !important;
      margin: 0 auto !important;
      padding: 0 var(--container-padding) !important;
      display: grid !important;
      grid-template-columns: 340px 1fr !important;
      gap: 2.5rem !important;
  }
}

/* 确保WooCommerce默认容器不干扰布局 */
.woocommerce-shop #main,
.woocommerce-page #main,
.post-type-archive-product #main,
.custom-shop-template #main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-shop .site-content,
.woocommerce-page .site-content,
.post-type-archive-product .site-content,
.custom-shop-template .site-content {
    max-width: 100% !important;
    padding: 0 !important;
}

/* 移除WooCommerce可能添加的额外wrapper */
.woocommerce-shop .woocommerce-notices-wrapper,
.woocommerce-page .woocommerce-notices-wrapper {
    display: none !important;
}

/* ========================================
   WHOLESALE PAGE - 批发页面
======================================== */

.wholesale-page {
    background: var(--color-bg);
    padding: var(--spacing-3xl) 0;
    min-height: 80vh;
}

.wholesale-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 页面标题 */
.wholesale-header {
    text-align: center;
    padding: 3rem 0 4rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 4rem;
}

.wholesale-title {
    font-family: var(--font-primary);
    font-size: 3.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.wholesale-subtitle {
    font-size: 1.375rem;
    color: #6c757d;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 区块标题（wholesale页面特定）*/
.wholesale-page .section-title {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin: 0 0 3rem 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1.25rem;
}

.wholesale-page .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 2px;
    background: var(--color-accent);
}

/* 优惠政策展示 */
.wholesale-benefits {
    margin-bottom: 5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e5e5;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    border-color: var(--color-accent);
    background: rgba(255, 68, 68, 0.05);
}

.benefit-card:hover .benefit-icon i {
    color: var(--color-accent);
    transform: scale(1.1);
}

.benefit-card h3 {
    font-family: var(--font-primary);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-card p {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* 合作条件 */
.wholesale-requirements {
    margin-bottom: 5rem;
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3rem;
}

.requirements-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.requirements-list {
    display: grid;
    gap: 1.5rem;
    margin: 0;
}

.requirements-images {
    display: contents;
}

.partnership-image {
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background: var(--color-bg);
    height: 100%;
}

.partnership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partnership-image:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 1.5rem;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.image-overlay span {
    display: block;
    color: white;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.partnership-image:hover .image-overlay {
    background: linear-gradient(to top, var(--color-accent) 0%, rgba(255, 68, 68, 0.8) 100%);
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem;
    border-left: 4px solid var(--color-accent);
    background: var(--color-bg);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.requirement-item i {
    font-size: 1.875rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.requirement-item span {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.5;
}

/* 联系表单区域 */
.wholesale-form-section {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3rem;
    margin-bottom: 3rem;
}

.form-description {
    text-align: center;
    font-size: 1.25rem;
    color: #6c757d;
    margin: -1rem 0 3rem 0;
}

.wholesale-form {
    max-width: 1000px;
    margin: 0 auto;
}

/* 移除全局form-row规则 - 改用更具体的选择器避免冲突 */
.wholesale-form .form-row,
.contact-form .form-row,
.support-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 结账页面的form-row不使用Grid */
.checkout-shipping-section .form-row {
    display: block !important;
    grid-template-columns: none !important;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label .required {
    color: var(--color-accent);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1.125rem;
    color: var(--color-text);
    background: white;
    transition: all 0.2s ease;
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

/* 提交按钮 */
.form-submit {
    margin-top: 2rem;
    text-align: center;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 4rem;
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 280px;
}

.submit-button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

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

.button-loader {
    display: none;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* 表单消息 */
.form-message {
    margin-top: 1.5rem;
    padding: 1.25rem 2rem;
    border-radius: 0;
    text-align: center;
    font-weight: 500;
    font-size: 1.125rem;
}

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

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

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .wholesale-title {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .wholesale-form-section,
    .wholesale-requirements {
        padding: 2rem;
    }
    
    .requirements-content {
        grid-template-columns: 1fr 0.8fr 0.8fr;
        gap: 1.5rem;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .wholesale-header {
        padding: 2rem 0 3rem;
        margin-bottom: 3rem;
    }
    
    .wholesale-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .wholesale-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .wholesale-benefits {
        margin-bottom: 3rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .wholesale-requirements {
        margin-bottom: 3rem;
        padding: 1.5rem;
    }
    
    .requirements-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .requirements-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .partnership-image {
        height: 200px;
    }
    
    .requirement-item {
        padding: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .wholesale-form-section {
        padding: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .wholesale-page {
        padding: var(--spacing-xl) 0;
    }
    
    .wholesale-title {
        font-size: 1.5rem;
    }
    
    .wholesale-subtitle {
        font-size: 0.9375rem;
    }
    
    .section-title {
        font-size: 1.125rem;
    }
    
    .benefit-card {
        padding: 1.5rem 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.75rem;
    }
    
    .benefit-card h3 {
        font-size: 1rem;
    }
    
    .benefit-card p {
        font-size: 0.875rem;
    }
    
    .requirements-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .partnership-image {
        height: 180px;
    }
    
    .requirement-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .requirement-item i {
        font-size: 1.25rem;
    }
    
    .requirement-item span {
        font-size: 0.9375rem;
    }
    
    .form-group label {
        font-size: 0.8125rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9375rem;
    }
}

/* ========================================
   FACTORY TOUR PAGE - 工厂参观页面
======================================== */

.factory-tour-page {
    background: var(--color-bg);
    padding: var(--spacing-3xl) 0;
    min-height: 80vh;
}

.factory-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 页面标题 */
.factory-header {
    text-align: center;
    padding: 3rem 0 4rem;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 4rem;
}

.factory-title {
    font-family: var(--font-primary);
    font-size: 3.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.factory-subtitle {
    font-size: 1.375rem;
    color: #6c757d;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 视频区域 */
.factory-video-section {
    margin-bottom: 5rem;
}

.video-wrapper {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 图片展示区域 */
.factory-images-section {
    margin-bottom: 5rem;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.image-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.image-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-link:hover img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-link:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    color: white;
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.image-link:hover .image-overlay i {
    transform: scale(1.2);
}

/* 无图片消息 */
.no-images-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border: 1px solid #e5e5e5;
}

.no-images-message i {
    font-size: 4rem;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
    display: block;
}

.no-images-message p {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0;
}

/* 工厂介绍区域 */
.factory-description-section {
    margin-bottom: 5rem;
}

.description-content {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3rem;
}

.description-content p {
    font-size: 1.125rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* 联系参观区域 */
.factory-contact-section {
    margin-bottom: 3rem;
}

.contact-card {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3.5rem 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e5e5;
    background: var(--color-bg);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    border-color: var(--color-accent);
    background: rgba(255, 68, 68, 0.05);
}

.contact-icon i {
    font-size: 3rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: var(--color-accent);
    transform: scale(1.1);
}

.contact-card h3 {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card > p {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg);
    border-left: 3px solid var(--color-accent);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    border-left-color: var(--color-primary);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item span {
    font-size: 1.125rem;
    color: var(--color-text);
    font-weight: 500;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 4rem;
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 280px;
}

.contact-button:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.3);
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .factory-title {
        font-size: 2.5rem;
    }
    
    .factory-subtitle {
        font-size: 1.125rem;
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .description-content,
    .video-wrapper,
    .contact-card {
        padding: 2rem;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .factory-header {
        padding: 2rem 0 3rem;
        margin-bottom: 3rem;
    }
    
    .factory-title {
        font-size: 2rem;
        letter-spacing: 1.5px;
    }
    
    .factory-subtitle {
        font-size: 1rem;
    }
    
    .factory-video-section,
    .factory-images-section,
    .factory-description-section {
        margin-bottom: 3rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .description-content,
    .video-wrapper,
    .contact-card {
        padding: 1.5rem;
    }
    
    .description-content p {
        font-size: 1rem;
    }
    
    .contact-icon {
        width: 80px;
        height: 80px;
    }
    
    .contact-icon i {
        font-size: 2.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
    }
    
    .contact-card > p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 1rem 1.25rem;
    }
    
    .contact-item span {
        font-size: 1rem;
    }
    
    .contact-button {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.0625rem;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .factory-tour-page {
        padding: var(--spacing-xl) 0;
    }
    
    .factory-title {
        font-size: 1.75rem;
    }
    
    .factory-subtitle {
        font-size: 0.9375rem;
    }
    
    .description-content,
    .video-wrapper,
    .contact-card {
        padding: 1.25rem;
    }
    
    .description-content p {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .contact-icon {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon i {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.25rem;
    }
    
    .contact-card > p {
        font-size: 0.9375rem;
    }
    
    .contact-item {
        padding: 0.875rem 1rem;
        gap: 0.875rem;
    }
    
    .contact-item i {
        font-size: 1.25rem;
    }
    
    .contact-item span {
        font-size: 0.9375rem;
    }
    
    .contact-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

/* ========================================
   SINGLE PRODUCT PAGE - 产品详情页
======================================== */

/* 强制覆盖WooCommerce默认样式 */
body.single-product .single-product-page,
body.custom-single-product-template .single-product-page {
    background: var(--color-bg) !important;
    min-height: 80vh;
}

.single-product-page {
    background: var(--color-bg);
    min-height: 80vh;
}

/* 面包屑导航 */
.breadcrumb-container {
    background: white;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.breadcrumb-container .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.woocommerce-breadcrumb {
    font-size: 0.9375rem;
    color: #6c757d;
}

.woocommerce-breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--color-accent);
}

/* 产品详情容器 */
.product-detail-container {
    padding: 3rem 0;
}

.product-detail-container .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* 左侧：产品图片区域 */
.product-images-area {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.main-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border: 1px solid #e5e5e5;
    background: white;
    overflow: hidden;
    margin-bottom: 1.5rem;
    cursor: zoom-in;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.zoom-tooltip {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.main-product-image:hover .zoom-tooltip {
    opacity: 1;
}

.product-image-label {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.product-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

.thumbnail-wrapper {
    aspect-ratio: 1/1;
    border: 2px solid #e5e5e5;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.thumbnail-wrapper:hover {
    border-color: var(--color-accent);
}

.thumbnail-wrapper.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-wrapper:hover img {
    transform: scale(1.1);
}

/* 右侧：产品信息区域 */
.product-info-area {
    display: flex;
    flex-direction: column;
}

.product-detail-title {
    font-family: var(--font-primary);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 评分区域 */
.product-rating-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.star-rating-display {
    display: flex;
    gap: 0.25rem;
}

.star-rating-display .star {
    font-size: 1.375rem;
    line-height: 1;
}

.star-rating-display .star.filled {
    color: #ffc107;
}

.star-rating-display .star.half {
    color: #ffc107;
}

.star-rating-display .star.empty {
    color: #e5e5e5;
}

.rating-info {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* 价格显示 */
.product-price-display {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.product-price-display .price,
.product-price-display .woocommerce-Price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent) !important;
}

/* 强制所有价格相关元素为红色 */
.product-price-display .price .amount,
.product-price-display ins .amount,
.product-price-display .woocommerce-Price-amount.amount {
    color: var(--color-accent) !important;
}

.product-price-display del {
    font-size: 1.75rem;
    color: #999;
    margin-right: 1rem;
}

.product-price-display ins {
    text-decoration: none;
    color: var(--color-accent);
}

/* 库存状态 */
.product-availability {
    margin-bottom: 2rem;
}

.product-availability .in-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 1.125rem;
    font-weight: 600;
}

.product-availability .in-stock svg {
    width: 20px;
    height: 20px;
}

.product-availability .out-of-stock {
    color: var(--color-accent);
    font-size: 1.125rem;
    font-weight: 600;
}

/* 产品特征区域 */
.product-features-area {
    background: var(--color-bg);
    border-left: 3px solid var(--color-accent);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.features-heading {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
}

.features-text {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.7;
}

.features-text p {
    margin-bottom: 0.75rem;
}

.features-text p:last-child {
    margin-bottom: 0;
}

/* 产品选项区域 */
.product-options-area {
    margin-bottom: 1.5rem;
}

.option-row {
    margin-bottom: 1.5rem;
}

.option-label-text {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

/* 变量选择（颜色等） */
.variation-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1.0625rem;
    color: var(--color-text);
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
    transition: border-color 0.2s ease;
}

.variation-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* 数量选择器 */
.quantity-selector-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-btn-minus,
.qty-btn-plus {
    width: 48px;
    height: 48px;
    border: 1px solid #e5e5e5;
    background: white;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn-minus:hover,
.qty-btn-plus:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.qty-input-custom {
    width: 100px;
    height: 48px;
    text-align: center;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.qty-input-custom:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.max-quantity-text {
    font-size: 0.9375rem;
    color: #6c757d;
}

/* SKU 显示 */
.product-sku-display {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

/* 操作按钮 */
.product-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-add-to-cart-outline {
    padding: 1.125rem 2rem;
    background: white;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart-outline:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

.btn-buy-now-filled {
    padding: 1.125rem 2rem;
    background: var(--color-accent);
    color: white;
    border: 2px solid var(--color-accent);
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy-now-filled:hover {
    background: #d63333;
    border-color: #d63333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 51, 51, 0.3);
}

.btn-add-to-cart-outline:disabled,
.btn-buy-now-filled:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 产品选项卡 */
.product-tabs-area {
    margin-top: 3rem;
}

.tabs-navigation-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: 3rem;
}

.tab-button {
    padding: 1.25rem 2.5rem;
    background: transparent;
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.tab-button:hover {
    color: var(--color-primary);
}

.tab-button.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.tabs-content-area {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 3rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-heading {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
}

.tab-text {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.8;
}

.tab-text p {
    margin-bottom: 1.5rem;
}

.tab-text p:last-child {
    margin-bottom: 0;
}

/* 规格表格 */
.specifications-table {
    margin-top: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.spec-label-col {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.0625rem;
    width: 30%;
    vertical-align: top;
}

.spec-value-col {
    padding: 1.25rem 1.5rem;
    color: var(--color-text);
    font-size: 1.0625rem;
}

/* 评论区域 */
.reviews-area {
    margin-top: 2rem;
}

.review-item {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.review-item:last-of-type {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e5e5;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.25rem 0;
}

.review-date {
    font-size: 0.9375rem;
    color: #999;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-rating .stars-display .star {
    font-size: 1.25rem;
}

.review-rating .rating-number {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
}

.review-content {
    margin-bottom: 1rem;
}

.review-content p {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #28a745;
    font-size: 0.9375rem;
    font-weight: 600;
}

.verified-badge svg {
    width: 16px;
    height: 16px;
}

.helpful-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #6c757d;
    border: 1px solid #e5e5e5;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.helpful-button:hover,
.helpful-button.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.helpful-button svg {
    width: 16px;
    height: 16px;
}

/* 评论表单 */
.review-form-divider {
    height: 2px;
    background: #e5e5e5;
    margin: 3rem 0;
}

.review-form-wrapper {
    background: var(--color-bg);
    border: 1px solid #e5e5e5;
    padding: 2.5rem;
}

.review-form-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 2rem 0;
}

.login-required-message {
    text-align: center;
    padding: 3rem 2rem;
}

.login-required-message svg {
    width: 64px;
    height: 64px;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
}

.login-required-message h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}

.login-required-message p {
    font-size: 1.0625rem;
    color: #6c757d;
    margin: 0 0 2rem 0;
}

.login-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-login,
.btn-register {
    padding: 1rem 2.5rem;
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-login {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-login:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.btn-register {
    background: white;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-register:hover {
    background: var(--color-primary);
    color: white;
}

.logged-in-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border-left: 3px solid var(--color-accent);
    margin-bottom: 1.5rem;
}

.logged-in-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--color-text);
}

.logged-in-user svg {
    width: 16px;
    height: 16px;
}

.logout-link {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logout-link:hover {
    color: var(--color-primary);
}

.comment-form-rating {
    margin-bottom: 1.5rem;
}

.comment-form-rating label,
.comment-form-comment label {
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.comment-form-rating .required,
.comment-form-comment .required {
    color: var(--color-accent);
}

.comment-form-rating select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1.0625rem;
    background: white;
    cursor: pointer;
}

.comment-form-comment {
    margin-bottom: 1rem;
}

.comment-form-comment textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    font-size: 1.0625rem;
    font-family: var(--font-secondary);
    line-height: 1.6;
    resize: vertical;
}

.comment-form-comment textarea:focus,
.comment-form-rating select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.char-counter {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #999;
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.danger {
    color: var(--color-accent);
}

.submit-review-btn {
    padding: 1.125rem 3rem;
    background: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    font-family: var(--font-primary);
    font-size: 1.0625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

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

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-images-area {
        position: relative;
        top: 0;
    }
    
    .product-thumbnails-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .product-detail-title {
        font-size: 2rem;
    }
    
    .tabs-content-area {
        padding: 2rem;
    }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 2rem 0;
    }
    
    .product-detail-grid {
        gap: 2rem;
    }
    
    .product-detail-title {
        font-size: 1.75rem;
    }
    
    .product-price-display .price,
    .product-price-display .woocommerce-Price-amount {
        font-size: 2rem;
    }
    
    .product-thumbnails-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .product-action-buttons {
        grid-template-columns: 1fr;
    }
    
    .tabs-navigation-bar {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-button {
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 0;
    }
    
    .tab-button.active {
        border-left: 3px solid var(--color-accent);
        border-bottom-color: #e5e5e5;
    }
    
    .tabs-content-area {
        padding: 1.5rem;
    }
    
    .tab-heading {
        font-size: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .login-buttons {
        flex-direction: column;
    }
    
    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .product-detail-container {
        padding: 1.5rem 0;
    }
    
    .product-detail-title {
        font-size: 1.5rem;
    }
    
    .product-price-display .price,
    .product-price-display .woocommerce-Price-amount {
        font-size: 1.75rem;
    }
    
    .product-thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tab-button {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }
    
    .tab-heading {
        font-size: 1.25rem;
    }
    
    .reviewer-avatar {
        width: 48px;
        height: 48px;
    }
    
    .reviewer-name {
        font-size: 1rem;
    }
    
    .review-form-wrapper {
        padding: 1.5rem;
    }
}

/* ========================================
   强制覆盖WooCommerce产品详情页默认样式
======================================== */

/* 确保使用我们的自定义模板样式 */
body.single-product.custom-single-product-template .product,
body.single-product.woocommerce .product,
body.single-product .woocommerce-product-details,
body.custom-single-product-template .woocommerce-product-details {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 隐藏WooCommerce默认的产品布局 */
body.single-product.custom-single-product-template .woocommerce div.product div.images,
body.single-product.custom-single-product-template .woocommerce div.product div.summary {
    display: none !important;
}

/* 确保我们的自定义容器可见 */
body.single-product .single-product-page,
body.custom-single-product-template .single-product-page {
    display: block !important;
    visibility: visible !important;
}

/* 移除WooCommerce默认的wrappers */
body.single-product .woocommerce-notices-wrapper {
    margin-bottom: 2rem;
}

/* ========================================
   SHOPPING CART PAGE - 购物车页面
======================================== */

.custom-cart-page {
    background: var(--color-bg);
    padding: 3rem 0;
    min-height: 80vh;
}

.custom-cart-page .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* 购物车标题 */
.cart-page-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 2.5rem 0;
}

.cart-items-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* 购物车布局 */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* 购物车商品列表区域 */
.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 购物车商品项 */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 产品图片 */
.cart-item-image {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 产品详情 */
.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.cart-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.cart-item-name a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cart-item-name a:hover {
    color: var(--color-accent);
}

.cart-item-sku,
.cart-item-category {
    font-size: 0.9375rem;
    color: #6c757d;
}

.cart-item-category a {
    color: #6c757d;
    text-decoration: none;
}

.cart-item-price {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-accent) !important;
    margin-top: 0.5rem;
}

.cart-item-price .woocommerce-Price-amount {
    color: var(--color-accent) !important;
}

/* 数量和操作区域 */
.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    justify-content: space-between;
}

/* 数量控制 */
.cart-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e5e5e5;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    color: var(--color-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--color-accent);
    color: white;
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.qty-input:focus {
    outline: none;
}

/* 小计 */
.cart-item-subtotal {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cart-item-subtotal .woocommerce-Price-amount {
    color: var(--color-primary);
}

/* 删除按钮 */
.cart-item-remove {
    margin-top: auto;
}

.cart-item-remove .remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #999;
    font-size: 1.125rem;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.cart-item-remove .remove-item:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* Continue Shopping */
.cart-continue-shopping {
    margin-top: 1rem;
}

.continue-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.continue-shopping-link:hover {
    color: var(--color-primary);
    gap: 0.75rem;
}

.continue-shopping-link i {
    transition: transform 0.2s ease;
}

.continue-shopping-link:hover i {
    transform: translateX(-3px);
}

/* 空购物车消息 */
.cart-empty-message {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border: 1px solid #e5e5e5;
}

.cart-empty-message i {
    font-size: 4rem;
    color: #e5e5e5;
    margin-bottom: 1.5rem;
}

.cart-empty-message h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
}

.cart-empty-message p {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0 0 2rem 0;
}

.cart-empty-message .button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cart-empty-message .button:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

/* 订单摘要区域 */
.cart-summary-section {
    position: sticky;
    top: 100px;
}

.cart-summary-box {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 2rem;
}

.cart-summary-title {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e5e5;
}

.cart-summary-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* 订单摘要行 */
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-summary-label {
    font-size: 1rem;
    color: #6c757d;
}

.cart-summary-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Shipping - FREE */
.cart-summary-shipping .free-shipping {
    color: #28a745;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Total */
.cart-summary-total {
    border-top: 2px solid #e5e5e5;
    border-bottom: none;
    padding: 1.5rem 0 0 0;
    margin-top: 0.5rem;
}

.cart-summary-total .cart-summary-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.cart-summary-total .cart-summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent) !important;
}

.cart-summary-total .cart-summary-value .woocommerce-Price-amount {
    color: var(--color-accent) !important;
}

/* Checkout按钮 */
.cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: var(--color-accent);
    color: white;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkout-button:hover {
    background: #d63333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
}

/* Secure Checkout */
.secure-checkout-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #6c757d;
}

.secure-checkout-text i {
    color: #28a745;
}

/* 响应式 - 平板 */
@media (max-width: 1024px) {
    .cart-page-layout {
        grid-template-columns: 1fr 350px;
        gap: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr auto;
        gap: 1rem;
        padding: 1rem;
    }
    
    .cart-item-image {
        width: 100px;
        height: 100px;
    }
}

/* 响应式 - 横屏手机/小平板 768–1150：采用单列布局避免右侧被截断 */
@media (max-width: 1150px) {
    .cart-page-layout { grid-template-columns: 1fr !important; gap: 2rem; }
    .cart-summary-section { position: relative; top: 0; }
}

/* 响应式 - 手机 */
@media (max-width: 768px) {
    .custom-cart-page {
        padding: 2rem 0;
    }
    
    .cart-page-title {
        font-size: 1.75rem;
    }
    
    .cart-items-count {
        font-size: 1.75rem;
    }
    
    .cart-page-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-summary-section {
        position: relative;
        top: 0;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* 响应式 - 小手机 */
@media (max-width: 480px) {
    .cart-page-title {
        font-size: 1.5rem;
    }
    
    .cart-items-count {
        font-size: 1.5rem;
    }
    
    .cart-summary-box {
        padding: 1.5rem;
    }
    
    .cart-summary-title {
        font-size: 1.25rem;
    }
    
    .checkout-button {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ===================================
   CHECKOUT PAGE STYLES - 重新设计
   =================================== */

/* 整体页面容器 */
.custom-checkout-page {
    background-color: #f5f5f5;
    min-height: 100vh;
    padding: 40px 20px;
}

.checkout-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* 页面标题 */
.checkout-page-title {
    font-size: 48px;
    font-weight: 900;
    color: #000;
    margin: 0 0 40px 0;
    letter-spacing: 3px;
}

/* 两栏布局 */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 540px;
    gap: 30px;
    align-items: start;
}

/* 左侧表单区域 */
.checkout-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 卡片通用样式 */
.checkout-shipping-section,
.checkout-payment-section,
.checkout-order-summary-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 区块标题 - 结账页面专用 */
.checkout-shipping-section .section-title,
.checkout-payment-section .section-title,
.checkout-order-summary-section .section-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
}

/* ===== 表单字段布局 ===== */

/* 重置所有表单行 */
.checkout-shipping-section .form-row {
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* 表单行组 */
.form-row-group {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

/* 两列布局 - First Name/Last Name, Email/Phone */
.form-row-group.form-row-two {
    grid-template-columns: 1fr 1fr;
}

/* 单列布局 - Street Address */
.form-row-group.form-row-one {
    grid-template-columns: 1fr;
}

/* 三列布局 - City/State/ZIP */
.form-row-group.form-row-three {
    grid-template-columns: 1fr 1fr 1fr;
}

/* 标签样式 */
.checkout-shipping-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required {
    color: #e74c3c;
}

/* 输入框样式 */
.checkout-shipping-section input[type="text"],
.checkout-shipping-section input[type="email"],
.checkout-shipping-section input[type="tel"],
.checkout-shipping-section select {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.checkout-shipping-section input:focus,
.checkout-shipping-section select:focus {
    border-color: #999;
    outline: none;
}

.checkout-shipping-section input::placeholder {
    color: #aaa;
}

/* Select下拉框 */
.checkout-shipping-section select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

/* ===== 支付方式样式 ===== */

/* WooCommerce 支付方式容器 */
.woocommerce-checkout-payment {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* 支付方式列表 */
.wc_payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wc_payment_method {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.wc_payment_method > label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 !important;
}

.wc_payment_method > label:hover {
    border-color: #4a90e2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
}

.wc_payment_method input[type="radio"] {
    margin: 0 !important;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wc_payment_method input[type="radio"]:checked + label,
.wc_payment_method.selected > label {
    background: #fff;
    border-color: #4a90e2;
}

/* 支付方式描述/表单 */
.payment_box {
    margin: 12px 0 0 0 !important;
    padding: 15px 18px !important;
    background: #f9fafb !important;
    border-radius: 6px;
    border: none !important;
}

.payment_box::before {
    display: none !important;
}

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

.payment_box p:last-child {
    margin-bottom: 0;
}

/* PayPal 按钮容器 */
.payment_box .ppcp-button-container,
.payment_box #ppc-button-ppcp-gateway {
    margin-top: 10px;
}

/* 隐藏支付方式选择区域的UI，但保持功能可用（让JavaScript能选中支付方式）*/
#payment,
.woocommerce-checkout-payment {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    clip-path: inset(50%) !important;
}

/* 隐藏支付区域的place order按钮（我们有自己的按钮）*/
#payment .form-row.place-order {
    display: none !important;
}

/* 信用卡支付信息区域 */
.credit-card-payment-section {
    margin-bottom: 20px;
}

.payment-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.credit-card-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credit-card-fields .form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.credit-card-fields label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.credit-card-fields .required {
    color: #e53e3e;
}

.credit-card-fields .input-text {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s;
    background: #fff;
}

.credit-card-fields .input-text:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.credit-card-fields .input-text::placeholder {
    color: #a0aec0;
}

.credit-card-fields .form-row-group {
    display: grid;
    gap: 16px;
}

.credit-card-fields .form-row-group.form-row-two {
    grid-template-columns: 1fr 1fr;
}

/* 响应式：移动端信用卡表单单列 */
@media (max-width: 768px) {
    .credit-card-fields .form-row-group.form-row-two {
        grid-template-columns: 1fr;
    }
}

/* 接受的卡类型图标 */
.accepted-cards {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.accepted-cards-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.card-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-icons i {
    width: 50px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 28px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-icons .fa-cc-visa {
    color: #1A1F71;
}

.card-icons .fa-cc-mastercard {
    color: #EB001B;
}

.card-icons .fa-cc-jcb {
    color: #0E4C96;
}

.card-icons .fa-cc-paypal {
    color: #003087;
}

.card-icons i:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 右侧Total部分 */
.checkout-total-section {
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.checkout-total-section .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.checkout-total-section .summary-total .summary-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.checkout-total-section .summary-total .total-price {
    font-size: 24px;
    font-weight: 700;
    color: #e53e3e;
}

/* ===== 右侧订单摘要 ===== */

.checkout-summary-section {
    position: sticky;
    top: 20px;
}

.order-summary-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
}

/* 产品列表 */
.summary-items {
    margin-bottom: 30px;
}

.summary-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item:first-child {
    padding-top: 0;
}

.summary-item:last-child {
    border-bottom: none;
}

.item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.item-details {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-quantity {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.item-price {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* 价格明细 */
.summary-totals {
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.summary-label {
    font-size: 15px;
    color: #666;
    font-weight: 400;
}

.summary-value {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}

.shipping-free .free-shipping {
    color: #27ae60;
    font-weight: 700;
}

/* 总计行 */
.summary-total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.summary-total .summary-label {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.summary-total .total-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

/* 下单按钮 */
.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.place-order-button {
    width: 100%;
    height: 60px;
    background: #e74c3c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.place-order-button:hover {
    background: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* SSL 安全标识 */
.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.secure-notice i {
    color: #27ae60;
}

/* 返回购物车链接 */
.back-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.back-to-cart:hover {
    color: #c0392b;
}

/* 空购物车 */
.checkout-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
}

.checkout-empty p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.checkout-empty .button {
    display: inline-block;
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
}

.checkout-empty .button:hover {
    background: #333;
}

/* ===== 响应式设计 ===== */

@media (max-width: 1200px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-page-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .checkout-shipping-section,
    .checkout-payment-section,
    .checkout-order-summary-section,
    .order-summary-box {
        padding: 25px;
    }
    
    /* 移动端表单单列显示 */
    .form-row-group.form-row-two,
    .form-row-group.form-row-three {
        grid-template-columns: 1fr !important;
    }
    
}

@media (max-width: 480px) {
    .checkout-page-title {
        font-size: 28px;
    }
    
    .checkout-shipping-section,
    .checkout-payment-section,
    .checkout-order-summary-section,
    .order-summary-box {
        padding: 20px;
    }
    
    .section-title,
    .summary-title {
        font-size: 18px;
    }
}

/* ========================================
   MY ACCOUNT DASHBOARD - 简约线条风格
======================================== */

/* 个人中心页面容器 - 完全独立，不影响footer */
.custom-myaccount-page {
    flex: 1 0 auto !important;
    background: #f5f5f5;
    position: relative;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.myaccount-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 40px 20px 40px !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modern-account-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 顶部欢迎区域 */
.dashboard-header {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin: 0 0 5px 0;
    letter-spacing: -0.5px;
}

.welcome-message {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.logout-btn {
    background: #E30000;
    color: #fff;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.logout-btn:hover {
    background: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 0, 0, 0.3);
}

/* 主内容区域 */
.dashboard-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* 账户信息卡片 */
.account-info-section,
.current-cart-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

/* Dashboard 区域专用标题 */
.account-info-section .section-title,
.current-cart-section .section-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0 0 25px 0;
    letter-spacing: 0.5px;
}

/* 信息列表 */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 15px;
    color: #000;
    font-weight: 400;
}

/* 购物车信息 */
.cart-info {
    margin-bottom: 25px;
}

.cart-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-stat.total-stat {
    border-bottom: 2px solid #000;
    padding: 20px 0;
    margin-bottom: 25px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #E30000;
}

/* 购物车操作按钮 */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-cart-btn {
    background: #E30000;
    color: #fff;
    border: 2px solid #E30000;
}

.view-cart-btn:hover {
    background: #c00000;
    border-color: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 0, 0, 0.2);
}

.checkout-btn {
    background: #fff;
    color: #E30000;
    border: 2px solid #E30000;
}

.checkout-btn:hover {
    background: #E30000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 0, 0, 0.2);
}

/* 快捷操作区域 */
.quick-actions-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

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

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}

.action-card:hover {
    border-color: #E30000;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.action-icon {
        width: 60px;
        height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e0e0e0;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.action-icon i {
    font-size: 24px;
    color: #E30000;
}

.action-card:hover .action-icon {
    border-color: #E30000;
    background: #fff5f5;
}

.action-label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .dashboard-main-content {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .myaccount-container {
        padding: 20px 15px 60px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .dashboard-title {
        font-size: 24px;
    }
    
    .logout-btn {
        width: 100%;
        text-align: center;
    }
    
    .account-info-section,
    .current-cart-section,
    .quick-actions-section {
        padding: 20px;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .action-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px;
        gap: 20px;
    }
    
    .action-icon {
        margin-bottom: 0;
    }
    
    .action-label {
        text-align: left;
    }
}

/* ========================================
   MY ACCOUNT NAVIGATION - 侧边栏导航
======================================== */

.myaccount-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.woocommerce-MyAccount-navigation {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-navigation a:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: '\f015';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: none;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a:before {
    content: '\f570';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: none;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: '\f007';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: none;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: '\f2f5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background: none;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #f8f8f8;
    color: #E30000;
    padding-left: 30px;
}

.woocommerce-MyAccount-navigation a:hover:before {
    opacity: 1;
    color: #E30000;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: #FFF5F5;
    color: #E30000;
    font-weight: 600;
    border-left: 4px solid #E30000;
    padding-left: 21px;
}

.woocommerce-MyAccount-navigation li.is-active a:before {
    opacity: 1;
    color: #E30000;
}

.woocommerce-MyAccount-content {
    flex: 1;
}

/* ========================================
   MY ORDERS PAGE - 完全按照图片样式设计
   使用高优先级选择器覆盖WooCommerce默认样式
======================================== */

/* 整体容器 */
.woocommerce-account .modern-orders-page,
.modern-orders-page {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    background: #f8f9fa !important;
    width: 100% !important;
}

/* 顶部标题区域 */
.woocommerce-account .orders-header,
.modern-orders-page .orders-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 0 0 40px 0 !important;
    margin-bottom: 0 !important;
}

.orders-header-left {
    flex: 1 !important;
}

.modern-orders-page .orders-title {
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #000 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: 2px !important;
    font-family: 'Arial', sans-serif !important;
}

.modern-orders-page .orders-subtitle {
    font-size: 14px !important;
    color: #666 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.back-to-account-btn {
    padding: 12px 28px;
    background: #5a6c7d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.back-to-account-btn:hover {
    background: #4a5a6a;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* 隐藏标签切换 */
.orders-tabs {
    display: none !important;
}

/* 订单内容区域 */
.orders-content {
    display: none;
}

.orders-content.active {
    display: block;
}

/* 订单列表 */
.modern-orders-page .orders-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* ========== 订单卡片 ========== */
.modern-orders-page .order-card {
    background: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    padding: 35px 45px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    width: 100% !important;
}

.modern-orders-page .order-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1) !important;
    border-color: #d0d0d0 !important;
}

.modern-orders-page .order-card.unpaid {
    border-left: 4px solid #ff9800 !important;
}

/* ========== 订单卡片头部 ========== */
.modern-orders-page .order-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 0 22px 0 !important;
    margin-bottom: 22px !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* 左侧：订单号 + 状态 */
.modern-orders-page .order-number {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
}

.modern-orders-page .order-number > span:first-child {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.modern-orders-page .order-number strong {
    font-size: 18px !important;
}

.modern-orders-page .order-number i {
    display: none !important;
}

/* 状态标签 */
.order-status-badge {
    padding: 6px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    display: inline-block;
}

.status-processing {
    background: #E3F2FD;
    color: #1976D2;
}

.status-completed {
    background: #E8F5E9;
    color: #43A047;
}

.status-pending {
    background: #FFF3E0;
    color: #FB8C00;
}

.status-on-hold {
    background: #FFF8E1;
    color: #F57C00;
}

.status-cancelled {
    background: #FFEBEE;
    color: #E53935;
}

.status-failed {
    background: #FFEBEE;
    color: #E53935;
}

/* 右侧：价格 + 日期 */
.modern-orders-page .order-header-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
}

.modern-orders-page .order-total-price {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #dc0000 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.modern-orders-page .order-date {
    font-size: 13px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* ========== 订单卡片主体（三列信息） ========== */
.modern-orders-page .order-card-body {
    padding: 0 !important;
    background: transparent !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 22px !important;
}

.modern-orders-page .order-info-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.modern-orders-page .order-info-label {
    font-size: 13px !important;
    color: #999 !important;
    font-weight: 400 !important;
}

.modern-orders-page .order-info-value {
    font-size: 15px !important;
    color: #000 !important;
    font-weight: 600 !important;
}

/* 隐藏旧的行样式 - 仅针对订单页面 */
.modern-orders-page .order-info-row {
    display: none !important;
}

/* ========== 订单卡片底部 ========== */
.modern-orders-page .order-card-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 22px 0 0 0 !important;
    border-top: 1px solid #eeeeee !important;
}

/* 左侧：支付状态 */
.modern-orders-page .order-payment-status {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    color: #4CAF50 !important;
    font-weight: 600 !important;
}

.modern-orders-page .order-payment-status i {
    font-size: 18px !important;
}

/* 右侧：操作按钮 */
.modern-orders-page .order-actions {
    display: flex !important;
    gap: 12px !important;
}

.modern-orders-page .view-order-btn {
    padding: 12px 28px !important;
    background: #dc0000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 4px rgba(220,0,0,0.2) !important;
}

.modern-orders-page .view-order-btn:hover {
    background: #b80000 !important;
    box-shadow: 0 3px 8px rgba(220,0,0,0.3) !important;
    transform: translateY(-1px) !important;
}

.modern-orders-page .view-order-btn.secondary {
    display: none !important;
}

.modern-orders-page .view-order-btn i {
    font-size: 14px !important;
}

/* ========== 无订单提示 ========== */
.no-orders-message {
    text-align: center;
    padding: 100px 40px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

.no-orders-message i {
    font-size: 72px;
    color: #ddd;
    margin-bottom: 24px;
}

.no-orders-message h3 {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.no-orders-message p {
    font-size: 16px;
    color: #666;
    margin: 0 0 32px 0;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #dc0000;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220,0,0,0.2);
}

.btn-shop-now:hover {
    background: #b80000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(220,0,0,0.3);
}

/* ========================================
   响应式设计
======================================== */
@media (max-width: 1024px) {
    .modern-orders-page {
        padding: 30px 15px;
    }
    
    .orders-header {
        padding: 0 0 30px 0;
    }
    
    .orders-title {
        font-size: 30px;
    }
    
    .order-card {
        padding: 25px 28px;
    }
    
    .order-card-body {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .modern-orders-page {
        padding: 20px 12px;
    }
    
    .orders-header {
        flex-direction: column;
        gap: 16px;
        padding: 0 0 25px 0;
    }
    
    .orders-title {
        font-size: 26px;
        letter-spacing: 1px;
    }
    
    .orders-subtitle {
        font-size: 13px;
    }
    
    .back-to-account-btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
    }
    
    .orders-grid {
        gap: 14px;
    }
    
    .order-card {
        padding: 20px 22px;
    }
    
    .order-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 0 0 18px 0;
        margin-bottom: 18px;
    }
    
    .order-number {
        font-size: 16px;
    }
    
    .order-number > span:first-child {
        font-size: 16px;
    }
    
    .order-header-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .order-total-price {
        font-size: 24px;
    }
    
    .order-card-body {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 18px;
    }
    
    .order-card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 0 0 0;
    }
    
    .order-payment-status {
        justify-content: flex-start;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .view-order-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .no-orders-message {
        padding: 60px 25px;
    }
    
    .no-orders-message i {
        font-size: 56px;
    }
    
    .no-orders-message h3 {
        font-size: 22px;
    }
    
    .no-orders-message p {
        font-size: 14px;
    }
}

/* ========================================
   CONTACT PAGE - 联系我们页面
======================================== */

.contact-page {
    background: #f5f5f5;
    padding: 60px 0 80px;
    min-height: 80vh;
}

.contact-page-container {
    max-width: 1400px;
        margin: 0 auto;
    padding: 0 20px;
    }
    
/* 页面标题 */
.contact-page-header {
        text-align: center;
    margin-bottom: 50px;
}

.contact-page-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

.contact-page-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 两栏布局 */
.contact-page-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* 分栏标题 */
.contact-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

/* ===== 左侧：表单区域 ===== */
.contact-form-section {
    background: #fff;
    padding: 40px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 表单行 */
.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 表单字段 */
.contact-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
}

.contact-form .required {
    color: #e30000;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

/* 下拉选择框 */
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23333' d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    padding-right: 40px;
    cursor: pointer;
}

/* 文本域 */
.contact-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* 字符计数器 */
.character-count {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: -12px;
}

/* 提交按钮 */
.contact-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: #e30000;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 0, 0, 0.3);
}

.contact-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 表单消息提示 */
.form-message {
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
}

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

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

/* ===== 右侧：联系信息区域 ===== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    flex: 1;
}

.contact-info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
        justify-content: center;
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 50%;
    margin-bottom: 15px;
}

.contact-info-icon i {
    font-size: 20px;
    color: #000;
}

.contact-info-title {
        font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.contact-info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.contact-info-detail {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== 响应式设计 ===== */

/* 平板 */
@media (max-width: 1024px) {
    .contact-page-content {
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 30px;
    }
    
    .contact-info-card {
        padding: 25px;
    }
}

/* 小屏幕 */
@media (max-width: 768px) {
    .contact-page {
        padding: 40px 0 60px;
    }
    
    .contact-page-title {
        font-size: 2.5rem;
    }
    
    .contact-page-subtitle {
        font-size: 1rem;
    }
    
    .contact-page-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-section-title {
        font-size: 1.5rem;
    }
    
    .contact-form-section {
        padding: 25px;
    }
    
    .contact-form .form-row-two {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info-card {
        padding: 20px;
    }
}

/* 手机 */
@media (max-width: 480px) {
    .contact-page-container {
        padding: 0 15px;
    }
    
    .contact-page-title {
        font-size: 2rem;
    }
    
    .contact-page-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-form-section {
        padding: 20px;
    }
    
    .contact-section-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .contact-submit-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .contact-info-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-info-icon i {
        font-size: 18px;
    }
}

/* ========================================
   SHIPPING PAGE - 物流配送页面
======================================== */

.shipping-page {
    background: #f5f5f5;
    padding: 60px 0 80px;
    min-height: 80vh;
}

.shipping-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.shipping-header {
    text-align: center;
    margin-bottom: 60px;
}

.shipping-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

.shipping-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 章节通用样式 */
.shipping-section {
    background: #fff;
    padding: 50px 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.shipping-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 章节标题 */
.section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.section-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 22px;
    color: #000;
}

.section-title-group {
    flex: 1;
}

/* Shipping 页面专用标题 */
.shipping-section .section-title-group .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.shipping-section .section-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== 配送方式卡片 ===== */
.shipping-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.shipping-method-card {
    position: relative;
    background: #fff;
    border: 2px solid #e0e0e0;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
}

.shipping-method-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.shipping-method-card.featured {
    border-color: #e30000;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.method-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 3px;
}

.method-badge.premium {
    background: #e30000;
}

.method-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 30px;
    color: #000;
    transition: all 0.3s;
}

.shipping-method-card:hover .method-icon {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.shipping-method-card.featured .method-icon {
    background: #e30000;
    color: #fff;
}

.method-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
}

.method-time {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.method-price {
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.price-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e30000;
    margin-bottom: 5px;
}

.price-note {
    display: block;
    font-size: 0.9rem;
    color: #999;
}

.method-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.method-features li {
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.method-features li i {
    color: #10b981;
    font-size: 14px;
}

/* ===== 国际配送 ===== */
.international-shipping-content {
    display: grid;
        grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.international-info-box {
    background: #f8f8f8;
    padding: 30px;
    border-left: 4px solid #000;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #333;
}

.info-label i {
    color: #e30000;
    font-size: 16px;
}

.info-value {
    font-weight: 700;
    color: #000;
}

.international-notes {
    padding: 25px;
    border: 2px dashed #e0e0e0;
}

.international-notes h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
}

.international-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.international-notes li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.international-notes li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e30000;
    font-weight: 700;
}

/* ===== 订单处理时间轴 ===== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-timeline:before {
    content: "";
    position: absolute;
    top: 35px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    z-index: 1;
}

.timeline-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-number {
    background: #e30000;
    border-color: #e30000;
    color: #fff;
    transform: scale(1.1);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.timeline-time {
    display: inline-block;
    font-size: 0.85rem;
    color: #e30000;
    font-weight: 600;
    padding: 4px 10px;
    background: #fff5f5;
    border-radius: 3px;
}

/* ===== 配送政策卡片 ===== */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.policy-card {
    padding: 25px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.policy-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policy-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 20px;
    color: #000;
}

.policy-card:hover .policy-icon {
    background: #e30000;
    color: #fff;
}

.policy-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.policy-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== FAQ ===== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #000;
}

.faq-question {
    padding: 20px 25px;
    background: #f8f8f8;
    font-size: 1.05rem;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.faq-question i {
    color: #e30000;
    font-size: 18px;
}

.faq-answer {
    padding: 20px 25px;
    background: #fff;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* ===== 联系支持区域 ===== */
.shipping-support {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 50px 40px;
    margin-top: 30px;
}

.support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.support-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
}

.support-text {
    flex: 1;
    color: #fff;
}

.support-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.support-text p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

.support-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: #e30000;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.support-button:hover {
    background: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 0, 0, 0.4);
}

/* ===== 响应式设计 ===== */

/* 平板 */
@media (max-width: 1024px) {
    .shipping-methods-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .process-timeline:before {
        display: none;
    }
    
    .policies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .international-shipping-content {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕 */
@media (max-width: 768px) {
    .shipping-page {
        padding: 40px 0 60px;
    }
    
    .shipping-title {
        font-size: 2.5rem;
    }
    
    .shipping-section {
        padding: 35px 25px;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .policies-grid {
        grid-template-columns: 1fr;
    }
    
    .support-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 手机 */
@media (max-width: 480px) {
    .shipping-container {
        padding: 0 15px;
    }
    
    .shipping-title {
        font-size: 2rem;
    }
    
    .shipping-section {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .method-name {
        font-size: 1.2rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .support-text h3 {
        font-size: 1.5rem;
    }
    
    .support-button {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   RETURNS PAGE - 退换货政策页面
======================================== */

.returns-page {
    background: #f5f5f5;
    padding: 60px 0 80px;
    min-height: 80vh;
}

.returns-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.returns-header {
    text-align: center;
    margin-bottom: 50px;
}

.returns-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

.returns-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== 核心保障高亮 ===== */
.returns-guarantee {
    background: linear-gradient(135deg, #e30000 0%, #c00000 100%);
    padding: 45px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.returns-guarantee:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.guarantee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.guarantee-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
}

.guarantee-text {
    flex: 1;
    color: #fff;
}

.guarantee-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.guarantee-text p {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
    opacity: 0.95;
}

.guarantee-badge {
    flex-shrink: 0;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

.guarantee-badge span {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* ===== 通用章节样式 ===== */
.returns-section {
    background: #fff;
    padding: 50px 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.returns-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 章节标题（复用shipping样式）*/
.returns-section .section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.returns-section .section-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 22px;
    color: #000;
}

.returns-section .section-title-group {
    flex: 1;
}

.returns-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.returns-section .section-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== 退货资格卡片 ===== */
.eligibility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.eligibility-card {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.eligibility-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.eligibility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 30px;
    color: #000;
    transition: all 0.3s;
}

.eligibility-card:hover .eligibility-icon {
    background: #e30000;
    color: #fff;
    transform: rotateY(360deg);
}

.eligibility-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.eligibility-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== 退货步骤 ===== */
.return-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.return-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: #f8f8f8;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s;
}

.return-step:hover {
    border-left-color: #e30000;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    transition: all 0.3s;
}

.return-step:hover .step-number {
    background: #e30000;
    border-color: #e30000;
    color: #fff;
    transform: scale(1.1);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.step-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.step-actions {
    margin-top: 15px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.step-link:hover {
    background: #e30000;
    transform: translateX(5px);
}

.step-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    font-size: 0.9rem;
    color: #1565c0;
    margin-top: 15px;
}

.step-note i {
    font-size: 16px;
}

.step-tips {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.step-tips li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    font-size: 0.9rem;
}

.step-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.step-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff5f5;
    border-left: 3px solid #e30000;
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

.step-highlight i {
    color: #e30000;
    font-size: 16px;
}

.step-highlight strong {
    color: #e30000;
}

/* ===== 退款信息网格 ===== */
.refund-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.refund-info-card {
    padding: 25px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.refund-info-card:hover {
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.refund-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.refund-info-card h4 i {
    color: #e30000;
    font-size: 18px;
}

.refund-info-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== 换货内容 ===== */
.exchange-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.exchange-description p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 25px 0;
}

.exchange-benefits {
    padding: 25px;
    background: #f8f8f8;
    border-left: 4px solid #10b981;
}

.exchange-benefits h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
}

.exchange-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exchange-benefits li {
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.exchange-benefits li i {
    color: #10b981;
    font-size: 14px;
}

.exchange-note-box {
    display: flex;
    gap: 15px;
    padding: 25px;
    background: #fff9e6;
    border: 2px dashed #ffc107;
}

.note-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 24px;
    color: #ffc107;
}

.note-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.note-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== 不可退货商品列表 ===== */
.non-returnable-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.non-returnable-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f8f8;
    border-left: 4px solid #ff6b6b;
    transition: all 0.3s;
}

.non-returnable-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.item-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    color: #ff6b6b;
}

.item-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.item-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== 损坏商品政策 ===== */
.damaged-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.damaged-policy p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.damaged-policy h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 20px 0 15px 0;
}

.damaged-steps {
    padding-left: 25px;
    margin: 0;
}

.damaged-steps li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.warranty-info-box {
    padding: 30px;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    border: 2px solid #e0e0e0;
}

.warranty-info-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warranty-info-box h4 i {
    color: #10b981;
    font-size: 20px;
}

.warranty-info-box p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.warranty-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.warranty-link:hover {
    background: #e30000;
    transform: translateX(5px);
}

/* ===== 底部支持区域 ===== */
.returns-support {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 50px 40px;
    margin-top: 30px;
}

.returns-support .support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.returns-support .support-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
}

.returns-support .support-text {
    flex: 1;
    color: #fff;
}

.returns-support .support-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.returns-support .support-text p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

.support-buttons {
    flex-shrink: 0;
    display: flex;
    gap: 15px;
}

.support-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.support-button.primary {
    background: #e30000;
    color: #fff;
}

.support-button.primary:hover {
    background: #c00000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 0, 0, 0.4);
}

.support-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.support-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== 响应式设计 ===== */

/* 平板 */
@media (max-width: 1024px) {
    .eligibility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .refund-info-grid {
        grid-template-columns: 1fr;
    }
    
    .exchange-content {
        grid-template-columns: 1fr;
    }
    
    .non-returnable-list {
        grid-template-columns: 1fr;
    }
    
    .damaged-content {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕 */
@media (max-width: 768px) {
    .returns-page {
        padding: 40px 0 60px;
    }
    
    .returns-title {
        font-size: 2.5rem;
    }
    
    .returns-section {
        padding: 35px 25px;
    }
    
    .returns-guarantee {
        padding: 30px 25px;
    }
    
    .guarantee-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guarantee-badge {
        width: 100%;
    }
    
    .eligibility-grid {
        grid-template-columns: 1fr;
    }
    
    .return-step {
        flex-direction: column;
        text-align: center;
    }
    
    .returns-support .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .support-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .support-button {
        width: 100%;
        justify-content: center;
    }
}

/* 手机 */
@media (max-width: 480px) {
    .returns-container {
        padding: 0 15px;
    }
    
    .returns-title {
        font-size: 2rem;
    }
    
    .returns-section {
        padding: 25px 20px;
    }
    
    .returns-guarantee {
        padding: 25px 20px;
    }
    
    .guarantee-text h2 {
        font-size: 1.5rem;
    }
    
    .guarantee-text p {
        font-size: 0.95rem;
    }
    
    .returns-section .section-title {
        font-size: 1.25rem;
    }
    
    .returns-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .return-step {
        padding: 20px;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .returns-support .support-text h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   WARRANTY PAGE - 产品保修页面
======================================== */

.warranty-page {
    background: #f5f5f5;
    padding: 60px 0 80px;
    min-height: 80vh;
}

.warranty-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面标题 */
.warranty-header {
    text-align: center;
    margin-bottom: 50px;
}

.warranty-title {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
}

.warranty-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ===== 核心承诺高亮 ===== */
.warranty-promise {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 45px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.warranty-promise:before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.promise-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.promise-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
}

.promise-text {
    flex: 1;
    color: #fff;
}

.promise-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.promise-text p {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.7;
    opacity: 0.95;
}

.promise-badge {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.promise-badge .badge-icon {
    font-size: 36px;
    color: #fff;
}

.promise-badge .badge-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* ===== 通用章节样式 ===== */
.warranty-section {
    background: #fff;
    padding: 50px 40px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.warranty-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 章节标题 */
.warranty-section .section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.warranty-section .section-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 22px;
    color: #000;
}

.warranty-section .section-title-group {
    flex: 1;
}

.warranty-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
}

.warranty-section .section-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ===== 保修期限卡片 ===== */
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.coverage-card {
    text-align: center;
    padding: 40px 30px;
    border: 2px solid #e0e0e0;
    position: relative;
    transition: all 0.3s;
}

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

.coverage-card.standard {
    border-color: #10b981;
}

.coverage-card.extended {
    border-color: #e30000;
}

.coverage-card.lifetime {
    border-color: #f59e0b;
}

.coverage-card.featured {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(227, 0, 0, 0.15);
}

.coverage-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: #10b981;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
}

.coverage-card.extended .coverage-badge.featured-badge {
    background: #e30000;
}

.coverage-card.lifetime .coverage-badge.premium-badge {
    background: #f59e0b;
}

.coverage-icon {
    width: 100px;
    height: 100px;
    margin: 20px auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 45px;
    color: #10b981;
    transition: all 0.3s;
}

.coverage-card.extended .coverage-icon {
    color: #e30000;
}

.coverage-card.lifetime .coverage-icon {
    color: #f59e0b;
}

.coverage-card:hover .coverage-icon {
    transform: rotateY(360deg);
}

.coverage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
}

.coverage-period {
    font-size: 1rem;
    color: #666;
    margin: 0 0 15px 0;
}

.coverage-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    margin: 0 0 25px 0;
}

.coverage-card.extended .coverage-price {
    color: #e30000;
}

.coverage-card.lifetime .coverage-price {
    color: #f59e0b;
}

.coverage-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.coverage-features li {
    padding: 10px 0;
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.coverage-features li:last-child {
    border-bottom: none;
}

.coverage-features li i {
    color: #10b981;
    font-size: 14px;
    flex-shrink: 0;
}

.coverage-card.extended .coverage-features li i {
    color: #e30000;
}

.coverage-card.lifetime .coverage-features li i {
    color: #f59e0b;
}

.coverage-note {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin: 0;
}

/* ===== 保修覆盖范围 ===== */
.covered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.covered-item {
    text-align: center;
    padding: 30px 25px;
    background: #f8f8f8;
    border-left: 4px solid #10b981;
    transition: all 0.3s;
}

.covered-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.covered-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 28px;
    color: #10b981;
    transition: all 0.3s;
}

.covered-item:hover .covered-icon {
    background: #10b981;
    color: #fff;
    transform: rotateY(360deg);
}

.covered-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.covered-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

/* ===== 不保修范围 ===== */
.not-covered-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.not-covered-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff5f5;
    border-left: 4px solid #ef4444;
    transition: all 0.3s;
}

.not-covered-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.not-covered-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 22px;
    color: #ef4444;
}

.not-covered-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.not-covered-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== 索赔流程 ===== */
.claim-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.claim-step {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 30px;
    background: #f8f8f8;
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s;
}

.claim-step:hover {
    border-left-color: #10b981;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.claim-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    transition: all 0.3s;
}

.claim-step:hover .claim-number {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
    transform: scale(1.1);
}

.claim-content {
    flex: 1;
}

.claim-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.claim-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 15px 0;
}

.claim-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.claim-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s;
}

.claim-link:hover {
    background: #10b981;
    transform: translateX(5px);
}

.claim-link.secondary {
    background: transparent;
    color: #000;
    border: 2px solid #e0e0e0;
}

.claim-link.secondary:hover {
    background: #f8f8f8;
    border-color: #000;
    transform: translateX(0);
}

.claim-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.checklist-item i {
    color: #10b981;
    font-size: 16px;
}

.claim-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #666;
}

.timeline-icon {
    color: #3b82f6;
    font-size: 16px;
}

.claim-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.option-box {
    text-align: center;
    padding: 20px 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s;
}

.option-box:hover {
    border-color: #10b981;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.option-box i {
    font-size: 32px;
    color: #10b981;
    display: block;
    margin-bottom: 10px;
}

.option-box strong {
    display: block;
    font-size: 1rem;
    color: #000;
    margin-bottom: 5px;
}

.option-box span {
    font-size: 0.85rem;
    color: #666;
}

/* ===== 重要条款 ===== */
.terms-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.term-card {
    padding: 25px;
    background: #f8f8f8;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s;
}

.term-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.term-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.term-card h4 i {
    color: #3b82f6;
    font-size: 18px;
}

.term-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.terms-note {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border: 2px dashed #f59e0b;
}

.note-icon-large {
    flex-shrink: 0;
        width: 60px;
        height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    font-size: 28px;
    color: #f59e0b;
}

.note-text-large h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
}

.note-text-large p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ===== 底部支持区域 ===== */
.warranty-support {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    padding: 50px 40px;
    margin-top: 30px;
}

.warranty-support .support-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.warranty-support .support-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 35px;
    color: #fff;
}

.warranty-support .support-text {
    flex: 1;
    color: #fff;
}

.warranty-support .support-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.warranty-support .support-text p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.9;
}

.warranty-support .support-buttons {
    flex-shrink: 0;
    display: flex;
    gap: 15px;
}

.warranty-support .support-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.warranty-support .support-button.primary {
    background: #10b981;
    color: #fff;
}

.warranty-support .support-button.primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.warranty-support .support-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.warranty-support .support-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== 响应式设计 ===== */

/* 平板 */
@media (max-width: 1024px) {
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    
    .coverage-card.featured {
        transform: scale(1);
    }
    
    .covered-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .not-covered-grid {
        grid-template-columns: 1fr;
    }
    
    .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .claim-checklist {
        grid-template-columns: 1fr;
    }
    
    .claim-options {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕 */
@media (max-width: 768px) {
    .warranty-page {
        padding: 40px 0 60px;
    }
    
    .warranty-title {
        font-size: 2.5rem;
    }
    
    .warranty-section {
        padding: 35px 25px;
    }
    
    .warranty-promise {
        padding: 30px 25px;
    }
    
    .promise-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promise-badge {
        width: 100px;
        height: 100px;
    }
    
    .covered-grid {
        grid-template-columns: 1fr;
    }
    
    .claim-step {
        flex-direction: column;
        text-align: center;
    }
    
    .claim-actions {
        flex-direction: column;
    }
    
    .claim-link {
        width: 100%;
        justify-content: center;
    }
    
    .warranty-support .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .warranty-support .support-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .warranty-support .support-button {
        width: 100%;
        justify-content: center;
    }
}

/* 手机 */
@media (max-width: 480px) {
    .warranty-container {
        padding: 0 15px;
    }
    
    .warranty-title {
        font-size: 2rem;
    }
    
    .warranty-section {
        padding: 25px 20px;
    }
    
    .warranty-promise {
        padding: 25px 20px;
    }
    
    .promise-text h2 {
        font-size: 1.5rem;
    }
    
    .promise-text p {
        font-size: 0.95rem;
    }
    
    .warranty-section .section-title {
        font-size: 1.25rem;
    }
    
    .warranty-section .section-subtitle {
        font-size: 0.9rem;
    }
    
    .coverage-card {
        padding: 30px 20px;
    }
    
    .claim-step {
        padding: 20px;
    }
    
    .claim-content h3 {
        font-size: 1.1rem;
    }
    
    .terms-note {
        flex-direction: column;
        text-align: center;
    }
    
    .warranty-support .support-text h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   SEARCH RESULTS PAGE - 搜索结果页面
======================================== */

/* 搜索页面使用产品列表页面相同的样式，额外添加以下样式 */

/* 无结果页面样式 */
.no-products-found {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border: 2px dashed #e0e0e0;
    margin: 40px 0;
}

.no-results-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    border-radius: 50%;
    font-size: 50px;
    color: #999;
}

.no-products-found h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
}

.no-products-found p {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.no-results-suggestions {
    margin: 30px auto;
    max-width: 400px;
    text-align: left;
}

.no-results-suggestions p {
        font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 10px 0;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    font-size: 0.95rem;
}

.no-results-suggestions li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #e30000;
    font-weight: 700;
}

.btn-browse-all {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-browse-all:hover {
    background: #e30000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 0, 0, 0.3);
}

/* 搜索结果标题增强 */
.shop-page-wrapper .category-header {
    font-size: 2rem;
}

/* 搜索关键词高亮样式（可选） */
.search-term-highlight {
    background: #fff9e6;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 600;
    color: #e30000;
}

/* 响应式 */
@media (max-width: 768px) {
    .no-products-found {
        padding: 60px 20px;
    }
    
    .no-results-icon {
        width: 80px;
        height: 80px;
        font-size: 35px;
    }
    
    .no-products-found h2 {
        font-size: 1.5rem;
    }
    
    .no-products-found p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .no-products-found {
        padding: 40px 15px;
    }
    
    .no-products-found h2 {
        font-size: 1.3rem;
    }
    
    .btn-browse-all {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* ========================================
   ORDER CONFIRMATION PAGE - 感谢页面
======================================== */

.order-confirmation-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 60px 0 80px;
}

.order-confirmation-page .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Success Icon */
.order-success-icon {
    text-align: center;
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-checkmark {
    display: inline-block;
}

/* Confirmation Header */
.order-confirmation-header {
    text-align: center;
    margin-bottom: 50px;
}

.order-confirmed-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.order-confirmed-subtitle {
    font-size: 1.125rem;
    color: #666;
    margin: 0 0 20px 0;
}

.order-number {
    font-size: 1rem;
    color: #444;
    margin: 0;
}

.order-number strong {
    color: #000;
    font-weight: 700;
}

/* Order Details Card */
.order-details-card,
.items-ordered-card,
.whats-next-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.order-details-title,
.items-ordered-title,
.whats-next-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Order Info Grid */
.order-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Info Rows */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 0.95rem;
    color: #000;
    font-weight: 600;
}

.order-total {
    font-size: 1.25rem;
    color: #dc3545;
    font-weight: 700;
}

/* Status Badge */
.info-value.status-processing {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.info-value.status-completed {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.info-value.status-on-hold {
    background: #fed7d7;
    color: #742a2a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Shipping Address */
.shipping-address p {
    margin: 8px 0;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.shipping-address p:first-child {
    font-weight: 600;
    color: #000;
}

/* Order Items List */
.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.order-item-row:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
}

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

.item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    color: #999;
    font-weight: 600;
    font-size: 1.25rem;
}

.item-details {
    flex: 1;
}

.item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0 0 8px 0;
}

.item-quantity {
    font-size: 0.875rem;
    color: #666;
    margin: 4px 0;
}

.item-meta {
    font-size: 0.875rem;
    color: #888;
    margin: 2px 0;
}

.item-price {
    text-align: right;
    flex-shrink: 0;
}

.price-amount {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

/* What's Next Section */
.next-steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.next-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.next-steps-list li svg {
    flex-shrink: 0;
    margin-top: 6px;
}

/* Action Buttons */
.order-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.order-actions .btn {
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* Order Not Found */
.order-not-found {
    text-align: center;
    padding: 80px 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.order-not-found h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 20px 0;
}

.order-not-found p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 30px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-confirmation-page {
        padding: 40px 0;
    }
    
    .order-confirmed-title {
        font-size: 2rem;
    }
    
    .order-details-card,
    .items-ordered-card,
    .whats-next-card {
        padding: 25px 20px;
    }
    
    .order-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .order-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .item-price {
        text-align: left;
        width: 100%;
    }
    
    .order-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-actions .btn {
        width: 100%;
        padding: 16px 30px;
    }
}

/* ========================================
   RESPONSIVE OVERRIDES FOR SHOP @ ≤1024
   iPad mini 横屏 / iPad Pro 竖屏：改为单列，优化卡片尺寸
======================================== */
@media (max-width: 1024px) {
  /* 容器单列并放宽宽度 */
  .woocommerce-shop .shop-container,
  .woocommerce-page .shop-container,
  .post-type-archive-product .shop-container,
  .custom-shop-template .shop-container,
  body[class*="woocommerce"] .shop-container {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
    gap: var(--spacing-lg) !important;
    padding: 0 var(--container-padding) !important;
  }

  /* 侧栏堆叠到产品区之上，取消吸附 */
  .shop-sidebar { 
    position: static !important; 
    order: 1; 
    grid-column: 1; 
    width: 100% !important; 
    max-width: none !important; 
    height: auto !important; 
    top: auto !important; 
    left: auto !important; 
    transform: none !important; 
  }
  .shop-main-content { order: 2; grid-column: 1; }

  /* 产品网格在 1024 下为两列，卡片更大 */
  .woocommerce ul.products,
  .products-grid-shop,
  .shop-main-content .products {
    display: grid; 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: var(--spacing-md) !important; 
  }
}

/* 手机断点：维持两列/更小屏改为一列 */
@media (max-width: 768px) {
  .woocommerce ul.products,
  .products-grid-shop,
  .shop-main-content .products { 
    grid-template-columns: repeat(2, 1fr) !important; 
  }
}

@media (max-width: 480px) {
  .woocommerce ul.products,
  .products-grid-shop,
  .shop-main-content .products { 
    grid-template-columns: 1fr !important; 
  }
}


