/* 扩展样式 - 添加到主样式表的补充样式 */

/* Removed old product page CTA overlap rules - now using unified footer overlap approach */

/* Removed all product page specific CTA and footer overlap rules */
/* Now using unified footer negative margin approach from SCSS files */

/* FORCE UNIFIED FOOTER OVERLAP - HIGHEST PRIORITY */
.site-footer {
    margin-top: -120px !important;
    padding-top: 0 !important;
}
.footer-main {
    padding-top: 120px !important;
}

/* FIX PRODUCTS PAGE CTA SPACING */
.products-page .cta-section {
    margin-top: 70px !important; /* Proper spacing between content and CTA */
}

/* About Us section responsive refactor per custom breakpoints
   XS: <600 | SM: 600–767 | MD: 768–1024 | LG: 1025–1439 | XL: 1440+
   This block overrides or provides styles even if SCSS hasn't been rebuilt. */
.about-us-section{padding:70px 0;background:transparent;overflow:hidden;position:relative;--about-pad-x:var(--container-padding);--about-top-offset:65px;--about-bg-w:clamp(520px,40vw,680px);--about-bg-h:var(--about-bg-w);--about-fg-w:clamp(440px,36vw,520px);--about-fg-h:clamp(380px,32vw,460px);--about-title-size:clamp(28px,2.1vw,34px);--about-subtitle-size:clamp(1rem,1.3vw,1.2rem)}
.about-container{max-width:var(--container-max-width);margin:0 auto;padding:0 var(--about-pad-x);position:relative;height:max(var(--about-bg-h),var(--about-fg-h));display:flex;align-items:center}
.about-background-image{position:absolute;left:0;top:calc(var(--about-top-offset) + 5px);width:var(--about-bg-w);height:var(--about-bg-h);z-index:1;transform:translateX(calc(50vw - (var(--about-bg-w) / 2)));opacity:0;transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.about-background-image img{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:0 10px 40px rgba(0,0,0,.15);opacity:.7!important;filter:alpha(opacity=70)}
.about-background-image::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.2);border-radius:0;pointer-events:none}
.about-foreground-image{position:absolute;left:var(--about-pad-x);top:var(--about-top-offset);width:var(--about-fg-w);height:var(--about-fg-h);z-index:3;background-color:#fff;padding:100px;box-sizing:border-box;box-shadow:0 15px 50px rgba(0,0,0,.2),-15px 0 0 #fff}
.about-foreground-image img{width:100%;height:100%;object-fit:contain;border-radius:0;border:none}
.about-text-block{position:absolute;left:calc(var(--about-pad-x) + var(--about-fg-w));right:var(--about-pad-x);top:var(--about-top-offset);z-index:2;transform:translateX(-200px);opacity:0;transition:all .8s cubic-bezier(.25,.46,.45,.94)}
.about-content{background:#F2F1ED;padding:40px;border-radius:0 var(--border-radius-md) var(--border-radius-md) 0;height:var(--about-fg-h);display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;box-shadow:0 8px 25px rgba(0,0,0,.15),0 3px 10px rgba(0,0,0,.1)}
.about-title{font-family:var(--font-heading);font-size:var(--about-title-size);font-weight:500;color:var(--color-text-main);margin:0 0 1rem 0;line-height:1.2;text-transform:none;letter-spacing:.05em}
.about-subtitle{font-family:var(--font-heading);font-size:var(--about-subtitle-size);font-weight:500;color:var(--color-primary);margin:0 0 1.5rem 0;line-height:1.4;font-style:italic;word-break:break-word;max-width:60ch}
.about-description{font-size:16px;color:var(--color-text-sub);line-height:1.7;margin:0 0 2rem 0}
.about-button{display:inline-block;margin-top:1rem;align-self:flex-start}
.about-button.btn.btn-quote{padding:8px 16px!important;font-size:14px!important;border-radius:4px!important;font-weight:500!important;white-space:nowrap;background-color:var(--color-primary);color:#fff;text-decoration:none;transition:background-color var(--transition-fast)}
.about-button.btn.btn-quote:hover{background-color:var(--color-accent);color:#fff}
.about-us-section.animate-in .about-background-image{transform:translateX(0);opacity:1}
.about-us-section.animate-in .about-text-block{transform:translateX(0);opacity:1}

/* XL: 1440+ */
@media (min-width:1440px){.about-us-section{--about-bg-w:clamp(600px,42vw,680px);--about-fg-w:clamp(500px,36vw,520px);--about-fg-h:clamp(440px,32vw,460px);--about-pad-x:20px}}
/* LG: 1025–1439 */
@media (min-width:1025px) and (max-width:1439.98px){.about-us-section{--about-bg-w:clamp(520px,38vw,600px);--about-fg-w:clamp(440px,34vw,500px);--about-fg-h:clamp(380px,30vw,450px);--about-pad-x:20px}.about-text-block{transform:translateX(-160px)}}
/* MD: 768–1024 | 栈叠布局，禁用动画 */
@media (min-width:768px) and (max-width:1024.98px){.about-us-section{--about-pad-x:20px}.about-container{height:auto;flex-direction:column;gap:32px}.about-background-image,.about-text-block{position:relative;width:100%;transform:none!important;opacity:1!important;transition:none;top:0;left:0}.about-background-image{height:clamp(260px,30vw,300px)}.about-foreground-image{position:relative;transform:none;width:clamp(170px,22vw,200px);height:clamp(170px,22vw,200px);margin:-40px auto 28px auto;box-shadow:0 10px 30px rgba(0,0,0,.15);top:0;left:0}.about-content{padding:32px 28px;border-radius:var(--border-radius-md);height:auto;min-height:300px}.about-title{font-size:clamp(1.5rem,2.4vw,1.7rem);text-align:center}.about-subtitle{text-align:center}}
/* SM: 600–767 | 栈叠布局 */
@media (min-width:600px) and (max-width:767.98px){.about-us-section{--about-pad-x:18px}.about-container{gap:26px}.about-background-image{height:clamp(220px,45vw,260px)}.about-foreground-image{width:clamp(150px,30vw,170px);height:clamp(150px,30vw,170px);margin:-32px auto 24px auto}.about-content{padding:28px;min-height:280px}.about-title{font-size:clamp(1.4rem,3.2vw,1.5rem)}}
/* XS: <600 | 栈叠布局 */
@media (max-width:599.98px){.about-us-section{--about-pad-x:16px}.about-container{gap:24px}.about-background-image{height:clamp(200px,50vw,220px)}.about-foreground-image{width:clamp(130px,34vw,150px);height:clamp(130px,34vw,150px);margin:-24px auto 24px auto}.about-content{padding:24px;min-height:260px}.about-title{font-size:clamp(1.3rem,4vw,1.4rem);line-height:1.3}.about-description{font-size:15px;line-height:1.6}.about-button.btn.btn-quote{padding:10px 20px!important;font-size:15px!important}}
/* 无障碍与性能：小屏和降动偏好禁用动画 */
@media (max-width:1024.98px),(prefers-reduced-motion:reduce){.about-background-image,.about-text-block{transition:none;transform:none!important;opacity:1!important}.about-us-section.animate-in .about-background-image,.about-us-section.animate-in .about-text-block{transform:none!important;opacity:1!important}}


/* Header and Navigation responsive overrides per requested breakpoints
   Breakpoints:
   - Extra small: <600px
   - Small: 600–767px
   - Medium: 768–1024px
   - Large: 1025–1439px (no changes here)
   - Extra large: 1440px+ (no changes here)
*/

/* Extra small: <600px - phone portrait */
@media (max-width: 599.98px) { /* kept for fine-grained typography; layout now controlled by hamburger at <=1024px */
  .site-header {
    height: auto;
  }
  .header-wrapper { height: auto; }
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
    padding: var(--spacing-sm) var(--container-padding);
  }
  .site-branding { order: 1; }
  #site-navigation { order: 2; }
  .quote-button-container { order: 3; }

  .custom-logo-link img { height: 56px; width: auto; }
  .site-title a { font-size: 1.8rem; display: inline-block; }

  /* Stack navigation vertically */
  .main-navigation ul { flex-direction: column; gap: var(--spacing-sm); }
  .main-navigation ul ul {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: var(--spacing-sm);
  }
  .main-navigation a { padding: var(--spacing-xs) 0; font-size: 16px; }

  /* Make quote button full width friendly */
  .btn-quote { width: 100%; max-width: 320px; }
}

/* Small: 600–767px - phone landscape / small tablet */
@media (min-width: 600px) and (max-width: 767.98px) {
  .site-header { height: auto; }
  .header-wrapper { height: auto; }
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
    padding: var(--spacing-sm) var(--container-padding);
  }
  .site-branding { order: 1; }
  #site-navigation { order: 2; }
  .quote-button-container { order: 3; }

  .custom-logo-link img { height: 64px; }
  .site-title a { font-size: 2rem; }

  .main-navigation ul { flex-direction: column; gap: var(--spacing-sm); }
  .main-navigation ul ul {
    position: static;
    display: block;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: var(--spacing-sm);
  }
  .main-navigation a { padding: var(--spacing-xs) 0; font-size: 17px; }

  .btn-quote { width: auto; }
}

/* Medium: 768–1024px - tablets and small notebooks */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Keep single-row layout but tighten spacing for tablets */
  .site-header { height: 100px; }
  .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-sm);
    padding: 0 var(--container-padding);
    flex-wrap: wrap; /* allow wrap if needed */
  }
  .custom-logo-link img { height: 75px; }
  .site-title a { font-size: 2.2rem; }

  .main-navigation ul { gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
  .main-navigation a { font-size: 16px; padding: var(--spacing-xs) 0; letter-spacing: 0.08em; }

  /* Ensure quote button remains visible and sized appropriately */
  .btn-quote { padding: 0.65rem 1.2rem; font-size: 0.95rem; }
}


/* 移动端汉堡菜单与抽屉菜单基础样式（全局） */
/* 默认隐藏移动专用 Header，防止在 >=768px 出现重复 */
.mobile-header-bar { display: none; }
.mobile-menu-toggle { display: none; position: relative; width: 40px; height: 32px; background: transparent; border: 0; cursor: pointer; margin-left: auto; }
.mobile-menu-toggle .bar { position: absolute; left: 6px; right: 6px; height: 2px; background: var(--color-text-main); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-menu-toggle .bar:nth-child(1) { top: 8px; }
.mobile-menu-toggle .bar:nth-child(2) { top: 15px; }
.mobile-menu-toggle .bar:nth-child(3) { top: 22px; }
.mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-navigation-menu { position: fixed; top: 0; right: 0; height: 100%; width: 80vw; max-width: 420px; background: var(--color-logo-bg); z-index: 1500; overflow-y: auto; padding: 20px 24px; transform: translateX(100%); transition: transform 0.3s ease; box-shadow: -2px 0 12px rgba(0,0,0,0.15); display: none; }
.mobile-navigation-menu.active { display: block; transform: translateX(0); }
.mobile-navigation-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-navigation-menu li { position: relative; border-bottom: 1px solid var(--color-border); }
.mobile-navigation-menu a { display: block; padding: 14px 40px 14px 12px; text-decoration: none; color: var(--color-text-main); font-family: var(--font-heading); font-size: 17px; }

/* 折叠箭头按钮 */
.mobile-navigation-menu .submenu-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
.mobile-navigation-menu .submenu-toggle:hover { background: rgba(0,0,0,0.05); }
.mobile-navigation-menu .submenu-toggle .chevron { display: inline-block; width: 8px; height: 8px; border-right: 2px solid var(--color-text-sub); border-bottom: 2px solid var(--color-text-sub); transform: rotate(45deg); transition: transform 0.2s ease; }
.mobile-navigation-menu li.open > .submenu-toggle .chevron { transform: rotate(-135deg); }

/* 子级缩进与分隔 */
.mobile-navigation-menu li ul { display: none; padding-left: 14px; border-left: 2px solid var(--color-border); margin-left: 10px; }
.mobile-navigation-menu li.has-submenu.open > ul { display: block; }
.mobile-navigation-menu li ul li a { padding-left: 10px; font-size: 16px; }
.mobile-navigation-menu li ul li ul li a { padding-left: 18px; font-size: 15.5px; }

/* 一级项 hover/active 效果 */
.mobile-navigation-menu li > a:hover { background: rgba(0,0,0,0.03); }

.mobile-navigation-menu .mobile-extra-actions { text-align: center; padding: 8px 0 16px; }

body.menu-open { overflow: hidden; }

/* 移动端专用 header bar：仅在 <768px 显示，保证 logo 与汉堡严格同一行、同一高度 */
@media (max-width: 767.98px) {
  .header-wrapper, .header-content { display: none !important; }
  .mobile-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px; min-height: 48px; }
  .mobile-header-bar .mobile-site-title { font-family: 'Moon Dance', cursive; font-size: 1.7rem; line-height: 1; color: #333; text-decoration: none; display: inline-flex; align-items: center; }
  .mobile-header-bar .mobile-menu-toggle { height: 36px; width: 42px; position: relative; top: 0; }
  .mobile-header-bar .mobile-menu-toggle .bar:nth-child(1) { top: 9px; }
  .mobile-header-bar .mobile-menu-toggle .bar:nth-child(2) { top: 16px; }
  .mobile-header-bar .mobile-menu-toggle .bar:nth-child(3) { top: 23px; }
}

/* 桌面端（>=1025px）强制隐藏移动抽屉与汉堡按钮，防止误显示 */
@media (min-width: 1025px) {
  .mobile-navigation-menu,
  .mobile-menu-toggle { display: none !important; }
  body.menu-open { overflow: auto; }
}

/* 桌面端（>=1025px）保持主题默认 Logo 字体（移除强制覆盖） */
@media (min-width: 1025px) {
  /* 不做字体/大小/颜色覆盖，按主题默认样式显示 */
}

/* 在小屏和平板下显示汉堡按钮，隐藏桌面导航（768–1024 仍使用原 header） */
@media (max-width: 1024px) {
  /* 显示汉堡，隐藏桌面导航与右侧按钮 */
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  #site-navigation { display: none; }
  .quote-button-container { display: none; }

  /* Header 统一行内对齐 */
  .site-header { height: auto; }
  .header-wrapper { height: auto; }
  .header-content { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: var(--spacing-sm); }
  .site-branding { display: flex; align-items: center; min-width: 0; }

  /* 处理移动端 Logo 尺寸与标题对齐（覆盖桌面端的内联字体） */
  .site-title a {
    font-size: 1.8rem !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    position: relative;
    top: 1px; /* 轻微光学微调，必要时改为 2px/3px */
    white-space: nowrap;
    max-width: 70vw;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
  }
  .custom-logo-link img { height: 44px; width: auto; display: block; }

  /* 汉堡按钮与标题水平对齐 */
  .mobile-menu-toggle { flex: 0 0 auto; height: 36px; width: 42px; position: relative; top: 3px; }
  .mobile-menu-toggle .bar:nth-child(1) { top: 9px; }
  .mobile-menu-toggle .bar:nth-child(2) { top: 16px; }
  .mobile-menu-toggle .bar:nth-child(3) { top: 23px; }
}

/* 更小屏下的字体再收一点，保障对齐与观感 */
@media (max-width: 599.98px) {
  .site-title a { font-size: 1.6rem !important; }
  .custom-logo-link img { height: 40px; }
}

/* 针对更小屏（<768px）的精确对齐覆盖，确保 Logo 与汉堡严格同一水平线 */
@media (max-width: 767.98px) {
  .header-content { min-height: 48px; align-items: center; }
  .site-branding, .mobile-menu-toggle { align-self: center; }
  .site-title { display: inline-flex; align-items: center; margin: 0; padding: 0; }
  .site-title a { display: inline-flex; align-items: center; line-height: 1 !important; top: 0 !important; }
  .mobile-menu-toggle { top: 0 !important; height: 36px; width: 42px; }
}

/* 搜索表单样式 */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
}

.search-field {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-field:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.search-submit {
    padding: 0.75rem 1.5rem;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: #2980b9;
}

/* 404页面样式 */
.error-404 {
    text-align: center;
    padding: 3rem 0;
}

.error-actions {
    margin-top: 2rem;
}

.error-actions > div {
    margin: 2rem 0;
    text-align: left;
}

.error-actions h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recent-posts-404 ul,
.categories-404 ul {
    list-style: none;
    padding: 0;
}

.recent-posts-404 li,
.categories-404 li {
    margin-bottom: 0.5rem;
}

.recent-posts-404 a,
.categories-404 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.recent-posts-404 a:hover,
.categories-404 a:hover {
    color: #3498db;
}

/* 评论样式 */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comments-title {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 5px;
}

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

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.comment-author img {
    border-radius: 50%;
}

.comment-metadata {
    font-size: 0.9rem;
    color: #666;
}

.comment-content {
    margin: 1rem 0;
    line-height: 1.6;
}

.reply {
    text-align: right;
}

.reply a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.reply a:hover {
    text-decoration: underline;
}

/* 评论表单样式 */
.comment-form {
    margin-top: 2rem;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 5px;
}

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

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.form-submit {
    margin-top: 1rem;
}

.form-submit input {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.form-submit input:hover {
    background: #2980b9;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

/* 图片模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ccc;
}

/* 内容切换按钮 */
.content-toggle {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.content-toggle:hover {
    background: #2980b9;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .comment-form {
        padding: 1rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1rem;
    }
    
    .error-actions > div {
        text-align: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .modal-content {
        max-width: 95%;
        padding-top: 20px;
    }
    
    .close {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
}

/* Admin bar fix: eliminate top gap on mobile and align sticky header below admin bar */
html.admin-bar { margin-top: 0 !important; }
body.admin-bar { margin-top: 0 !important; }
.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px !important; }
}
/* Ensure mobile drawer also sits below admin bar when open */
.admin-bar .mobile-navigation-menu { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .mobile-navigation-menu { top: 46px !important; }
}

/* Factory & Exhibition Module Styles */
.factory-exhibition .factory-exhibition-card {
    position: relative;
}

.factory-exhibition .magnify-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.factory-exhibition .magnify-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.factory-exhibition .magnify-btn svg {
    width: 20px;
    height: 20px;
}

/* Factory & Exhibition Lightbox Styles */
.factory-exhibition-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
}

.factory-exhibition-lightbox.active {
    display: flex !important;
}

.factory-exhibition-lightbox .lightbox-backdrop {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.factory-exhibition-lightbox .lightbox-content {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.factory-exhibition-lightbox .lightbox-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factory-exhibition-lightbox .lightbox-close:hover {
    color: #333;
}

.factory-exhibition-lightbox .lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.factory-exhibition-lightbox .lightbox-title {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    font-family: var(--font-heading);
}

/* Mobile responsiveness for lightbox */
@media (max-width: 768px) {
    .factory-exhibition-lightbox .lightbox-content {
        padding: 15px;
        margin: 20px;
    }

    .factory-exhibition-lightbox .lightbox-image {
        max-height: 60vh;
    }

    .factory-exhibition-lightbox .lightbox-title {
        font-size: 1.1rem;
    }
}

/* Home page Product Classification compact card overrides */
.product-classification .product-card { border: 1px solid var(--color-border); border-radius: 0; box-shadow: none; }
.product-classification .product-card .product-image { aspect-ratio: 1/1; background: #FFFFFF !important; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-classification .product-card .product-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.product-classification .product-card .product-info {
    padding: 12px 12px !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    min-height: 140px !important;
    height: auto !important;
    width: 100%;
}
.product-classification .product-card .product-title {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center !important;
    width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
}
@media (max-width: 1024px) {
    .product-classification .product-card .product-info {
        min-height: 120px !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .product-classification .product-card .product-info {
        min-height: 100px !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .product-classification .product-card .product-info {
        min-height: 90px !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

/* Product detail alignment (permanent override) */

/* Breadcrumb top spacing under header: 30px and no grey gap */
.site-main.product-detail-page {
  /* Prevent margin-collapsing grey gap and enforce white spacing */
  padding-top: 30px !important;
  background-color: #ffffff !important;
}
.site-main.product-detail-page .product-breadcrumb {
  margin-top: 0 !important;
}
.product-detail-page .container,
.product-detail-container {
  max-width: var(--container-max-width) !important;
  padding-left: var(--container-padding) !important;
  padding-right: var(--container-padding) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.product-detail-container {
  display: grid !important;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%) !important;
  gap: 3rem;
}

/* 响应式覆盖 - 小于768px时各占一行 */
@media (max-width: 768px) {
  .product-detail-container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
.product-detail-container > .product-info-section { justify-self: stretch !important; width: 100% !important; }
.product-detail-container > .product-info-section .product-info-container { max-width: none !important; }
.product-detail-container .product-gallery .product-gallery-container { margin-left: 0 !important; margin-right: auto !important; }

/* Global mobile top-gap fix for all pages <768px */
@media (max-width: 768px) {
  /* 最高优先级修复：确保所有顶级元素没有顶部间距 */
  html, html body { margin-top: 0 !important; padding-top: 0 !important; }
  #page, #page.site, .site { margin-top: 0 !important; padding-top: 0 !important; }
  
  /* 使用高权重选择器强制修复header */
  #masthead.site-header,
  header#masthead.site-header,
  .site #masthead.site-header,
  body .site-header { 
    position: sticky !important; 
    top: 0 !important; 
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: none !important;
  }
  
  /* 确保header内部元素没有顶部间距 */
  .site-header .header-wrapper,
  .site-header .mobile-header-bar,
  .site-header .header-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* 直接去除页面内容的顶部padding */
  .site-main { padding-top: 0 !important; }
  .site-main.blog-page,
  .site-main.single-post,
  .site-main.contact-page {
    padding-top: 20px !important;
    margin-top: 0 !important;
  }
}

html.admin-bar { margin-top: 0 !important; }
body.admin-bar { margin-top: 0 !important; }
.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px !important; }
}
/* Ensure mobile drawer also sits below admin bar when open */
.admin-bar .mobile-navigation-menu { top: 32px !important; }
@media (max-width: 782px) {
  .admin-bar .mobile-navigation-menu { top: 46px !important; }
}

/* Contact page spacing: responsive design */
body.page-template-page-contact .site-header { position: fixed !important; top: 0; }
/* Desktop spacing for contact page */
@media (min-width: 769px) {
  .site-main.contact-page { padding-top: 70px !important; margin-top: 0 !important; }
}
/* Mobile spacing for contact page - override in media query above */
@media (max-width: 768px) {
  .site-main.contact-page { padding-top: 20px !important; margin-top: 0 !important; }
}

/* Blog页面和单篇文章页面桌面端间距修复：减少过大的顶部间距 */
@media (min-width: 769px) {
  .site-main.blog-page { 
    padding-top: 2px !important; 
    margin-top: 0 !important; 
  }
  .site-main.single-post { 
    padding-top: 70px !important; 
    margin-top: 0 !important; 
  }
  /* 同时减少blog页面标题的额外margin-top */
  .blog-page .page-header .page-title {
    margin-top: 0 !important;
  }
  /* 减少单篇文章页面标题的额外margin-top */
  .single-post .article-header .article-title {
    margin-top: 0 !important;
  }
}
.contact-page .page-header { padding-top: 0 !important; margin-top: 0 !important; }
.contact-page .page-header .page-title,
.contact-page h1.page-title,
.contact-page h1 { margin-top: 0 !important; padding-top: 0 !important; }

/* ========================================
   终极移动端间距修复 - 最高优先级
   ======================================== */
@media screen and (max-width: 768px) {
  /* 使用最高权重选择器强制修复所有可能的顶部间距 */
  html[lang] { margin-top: 0 !important; padding-top: 0 !important; }
  html[lang] body { margin-top: 0 !important; padding-top: 0 !important; }
  html[lang] body #page { margin-top: 0 !important; padding-top: 0 !important; }
  html[lang] body #page.site { margin-top: 0 !important; padding-top: 0 !important; }
  
  /* 最高权重header修复 */
  html[lang] body #page.site #masthead.site-header,
  html[lang] body.single-post #masthead.site-header,
  html[lang] body.page #masthead.site-header { 
    position: sticky !important; 
    top: 0 !important; 
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    transform: translateY(0) !important;
    z-index: 999 !important; /* 确保header在菜单下方 */
  }
  
  /* 确保移动端菜单正常显示 */
  .mobile-navigation-menu {
    z-index: 1500 !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    height: 100vh !important;
  }
  
  .mobile-navigation-menu.active {
    display: block !important;
    transform: translateX(0) !important;
  }
}

/* Product Card Thumbnails - 产品卡片缩略图样式 */
.product-card .product-thumbnails {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.25rem;
}

.product-card .product-thumbnails .thumbnail {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 2px solid transparent;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-thumbnails .thumbnail:hover,
.product-card .product-thumbnails .thumbnail.active {
    border-color: #8B6E4B;
    transform: scale(1.1);
}

.product-card .product-thumbnails .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

/* 确保产品图片容器支持多张图片层叠 */
.product-card .product-image {
    position: relative;
}

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

.product-card .product-image img.main-image {
    z-index: 2;
}

.product-card .product-image img.alt-image {
    z-index: 1;
    opacity: 0;
}

/* OEM/ODM Service Page Styles */
.oem-odm-service-page {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.oem-odm-service-page .page-header {
    text-align: center;
    margin-bottom: 0 !important;
    padding: 2rem 0;
}

.oem-odm-service-page .page-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.oem-odm-service-page .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-sub);
    max-width: 800px;
    margin: 0 auto 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.oem-odm-service-page .page-intro {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Process Section */
.service-process-section {
    margin-top: 0 !important; /* Keep total gap at 70px via page-header */
    margin-bottom: 4rem;
}

.process-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.process-intro .section-title {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-intro .section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-sub);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.process-step {
    display: flex;
    align-items: center;
    min-height: 400px;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.process-step.reverse .step-content {
    direction: rtl;
}

.process-step.reverse .step-info {
    direction: ltr;
}

.step-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

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

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

.step-info {
    padding: 2rem;
}

.step-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.step-label {
    background: var(--color-primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.step-digit {
    background: var(--color-accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-title {
    font-size: 1.5rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-description p {
    color: var(--color-text-sub);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-description ul {
    list-style: none;
    padding: 0;
}

.step-description li {
    color: var(--color-text-sub);
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.step-description li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* OEM CTA Section */
.oem-cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn {
    background: white;
    color: var(--color-primary);
    border: 2px solid white;
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-content .btn:hover {
    background: transparent;
    color: white;
    border-color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .step-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-step.reverse .step-content {
        direction: ltr;
    }

    .step-info {
        padding: 1rem;
    }

    .process-steps {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .oem-odm-service-page {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .process-intro {
        margin-bottom: 2rem;
    }

    .process-steps {
        gap: 2rem;
    }

    .step-image {
        aspect-ratio: 16/9;
    }

    .step-info {
        padding: 0.5rem;
    }

    .step-title {
        font-size: 1.3rem;
    }

    .oem-cta-section {
        padding: 2rem 0;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .step-number {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .step-digit {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ================================================
   ABOUT PAGE STYLES
   ================================================ */

.about-page {
    background: #fff;
}

/* Page Header - 继承自其他页面的样式 */
.about-page .page-header {
    text-align: center;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 4rem;
}

.about-page .page-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.about-page .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

/* 公司介绍区块 */
.company-intro-section {
    padding: 4rem 0;
    background: #fafafa;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.intro-text h2 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 核心优势区块 */
.core-advantages-section {
    padding: 4rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.advantage-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.advantage-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.advantage-content {
    padding: 2rem;
}

.advantage-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

.advantage-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 企业价值观区块 */
.company-values-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

.value-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* 团队与能力区块 */
.team-capabilities-section {
    padding: 4rem 0;
    background: #fff;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-info h2 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.team-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f8f8;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 认证区块 */
.certifications-section {
    padding: 4rem 0;
    background: #fafafa;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.certification-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cert-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.cert-content h3 {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.cert-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .intro-content,
    .section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .about-page .page-header {
        padding: 3rem 0 2rem;
        margin-bottom: 3rem;
    }

    .about-page .page-title {
        font-size: 2rem;
    }

    .intro-content,
    .section-content {
        padding: 0 1rem;
    }

    .section-header h2,
    .intro-text h2,
    .team-info h2 {
        font-size: 1.8rem;
    }

    .team-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .values-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-page .page-title {
        font-size: 1.8rem;
    }

    .about-page .page-subtitle {
        font-size: 1rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ================================================
   PRODUCT DETAIL CUSTOMIZATION PROCESS STYLES
   ================================================ */

.customization-process {
    margin: 2rem 0;
}

.customization-process h4 {
    font-size: 1.2rem;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.customization-process .process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-detail-page .customization-process .process-step {
    background: #e8e2d9 !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    min-height: auto !important;
}

.product-detail-page .customization-process .process-step .step-number {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.product-detail-page .customization-process .process-step .step-content {
    flex: 1;
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

.product-detail-page .customization-process .step-title {
    font-size: 1rem;
    color: var(--color-text-main);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
}

.product-detail-page .customization-process .step-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.custom-cta {
    background: #e8e2d9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.custom-cta h4 {
    font-size: 1.2rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

.custom-cta p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.custom-quote-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.custom-quote-btn:hover {
    background: #7a6650;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

.custom-quote-btn svg {
    width: 16px;
    height: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .customization-process .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .customization-process .process-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .customization-process .process-step {
        padding: 1.2rem;
    }

    .custom-cta {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .customization-process h4 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .customization-process .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .customization-process .step-title {
        font-size: 0.95rem;
    }

    .customization-process .step-description {
        font-size: 0.85rem;
    }
}