:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Nunito Sans', sans-serif;

  --color-bg: #E8E4E1;
  --color-logo-bg: #ffffff;
  --color-footer-bg: #E8E4E1;
  --color-card: #FFFFFF;
  --color-text-main: #2D2D2D;
  --color-text-sub: #666666;
  --color-primary: #8B6E4B;
  --color-accent: #D4A373;
  --color-link: #205375;
  --color-cta: #5A837D;
  --color-border: #D7D2CD;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text-main);
    background-color: var(--color-bg);
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#content {
    flex: 1;
}

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

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title {
    font-family: var(--font-heading);
    font-weight: 700;
}

.site-title {
    margin: 0;
    padding: 0;
}

.site-branding {
    display: flex;
    align-items: center;
}

.quote-button-container {
    display: flex;
    align-items: center;
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 120px;
}

.header-wrapper {
    height: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.custom-logo-link img {
    height: 90px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-quote {
    background-color: var(--color-primary);
    color: #fff;
    white-space: nowrap;
}

.btn-quote:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Navigation */
.main-navigation {
    position: relative;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation a {
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 700;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    padding: 0;
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--color-primary);
}

/* Sub-menu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: calc(100% + 1rem - 1px);
    left: 0;
    background-color: var(--color-logo-bg);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 0.5rem;
    min-width: 200px;
    z-index: 100;
    flex-direction: column;
    gap: 0;
    border-top: 2px solid var(--color-primary);
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 0.75rem 1rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.main-navigation ul ul a:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Dropdown Arrow */
.main-navigation .menu-item-has-children > a {
    position: relative;
    padding-right: 1.2em;
}

.main-navigation .menu-item-has-children > a::after {
    content: '\25BC';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7em;
    color: var(--color-text-sub);
}

.main-navigation .menu-item-has-children > a:hover::after {
    color: var(--color-primary);
}

/* Content Link Styles */
.entry-content a {
    color: var(--color-link);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.entry-content a:hover {
    color: var(--color-accent);
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-main);
    font-size: 1.2rem;
}

.footer-main {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.footer-widgets-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.7fr 0.8fr 1.3fr;
    gap: 2rem;
}

/* 移除footer模块之间的竖线 */
.footer-widget-area,
.footer-widget-area *,
.footer-widgets-wrapper,
.footer-widgets-wrapper *,
.footer-main,
.footer-main * {
    border-left: none !important;
    border-right: none !important;
}

/* 移除最后一个footer模块的右边框 */
.footer-widget-area:last-child,
.footer-widget-area:last-child * {
    border-right: none !important;
}

/* 移除第一个footer模块的左边框 */
.footer-widget-area:first-child,
.footer-widget-area:first-child * {
    border-left: none !important;
}

/* 移除footer模块之间的竖线伪元素 */
.footer-widget-area::after,
.footer-widget-area::before,
.footer-widget-area *::after,
.footer-widget-area *::before {
    display: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* 移除footer容器的边框 */
.footer-widgets-wrapper,
.footer-widgets-wrapper *,
.footer-main,
.footer-main * {
    border-left: none !important;
    border-right: none !important;
}

/* 移除所有可能的竖线分隔符 */
.footer-widget-area .menu-item::after,
.footer-widget-area .menu-item::before,
.footer-widget-area .menu-item-has-children::after,
.footer-widget-area .menu-item-has-children::before,
.footer-widget-area li::after,
.footer-widget-area li::before,
.footer-widget-area a::after,
.footer-widget-area a::before,
.footer-menu li::after,
.footer-menu li::before,
.company-menu li::after,
.company-menu li::before {
    content: none !important;
    display: none !important;
    border: none !important;
}

/* 移除菜单项之间的分隔符 */
.footer-widget-area .menu li:not(:last-child)::after,
.footer-widget-area ul li:not(:last-child)::after {
    content: none !important;
    display: none !important;
}

/* 强制移除所有可能的竖线分隔符 */
.footer-widgets-wrapper > .footer-widget-area:not(:last-child)::after {
    content: none !important;
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* 移除网格列之间的分隔线 */
.footer-widgets-wrapper > .footer-widget-area {
    position: relative !important;
}

.footer-widgets-wrapper > .footer-widget-area::after,
.footer-widgets-wrapper > .footer-widget-area::before {
    content: none !important;
    display: none !important;
    border: none !important;
    background: none !important;
}

/* 移除所有可能的边框和分隔线 */
.footer-widgets-wrapper *,
.footer-widget-area *,
.footer-main * {
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 移除所有::after和::before伪元素 */
.footer-main *::after,
.footer-main *::before {
    content: none !important;
    display: none !important;
}

/* Footer Logo 样式 - 与header保持一致 */
.footer-site-title {
    font-family: 'Moon Dance', cursive !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-align: center !important;
    color: var(--color-text-main) !important;
    margin-top: 0 !important;
}

.footer-site-title a {
    color: var(--color-text-main) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.footer-site-title a:hover {
    color: var(--color-accent) !important;
}

.footer-widget-area .widget-title {
    color: var(--color-text-main) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
    text-transform: capitalize !important;
    letter-spacing: 0.1em !important;
    text-align: center;
    font-family: var(--font-body) !important;
}

/* 确保logo标题不受影响 */
.footer-site-title {
    font-family: 'Moon Dance', cursive !important;
    font-size: 4rem !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.footer-widget-area ul,
.footer-widget-area .contact-info-wrapper,
.footer-intro-text,
.footer-menu,
.contact-info-item,
.contact-info-label,
.contact-info-value,
.footer-menu.company-menu,
.footer-menu.company-menu li,
.footer-menu.company-menu a,
.footer-menu.default-categories,
.footer-menu.default-categories li,
.footer-menu.default-categories a {
    font-family: var(--font-body) !important; /* 与header主导航字体一致 */
    font-size: 1rem;
    font-weight: 300 !important; /* 轻字重 */
    letter-spacing: 0.1em !important; /* 与header主导航一致 */
}

.footer-widget-area ul li {
    margin-bottom: 0.5rem; /* Reduced line height */
}

.footer-widget-area a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget-area a:hover {
    color: var(--color-accent);
}

.social-title {
    text-align: center;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: var(--color-text-main);
    margin: 1.5rem 0 1rem 0;
    text-transform: capitalize !important;
    letter-spacing: 0.1em !important;
    font-family: var(--font-body) !important;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0;
}

.footer-social-links a {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: var(--color-text-main);
    transition: all 0.3s ease;
    border: 2px solid var(--color-border);
    text-decoration: none;
    box-sizing: border-box;
}

.footer-social-links a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-social-links a:hover svg {
    color: white;
}

.footer-social-links svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.site-info {
    font-size: 0.85rem;
    font-family: var(--font-body) !important; /* 与header主导航字体一致 */
    font-weight: 300 !important; /* 轻字重 */
    letter-spacing: 0.1em !important; /* 与header主导航一致 */
}

.company-menu-wrapper .company-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    justify-content: center;
}

/* Quick Links菜单改为一列显示 */
.company-menu-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer-menu.company-menu {
    display: inline-block !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: disc !important;
    list-style-position: inside !important;
    transform: translateX(-0.5em); /* 向左偏移圆点的宽度，让文本对准中心 */
}

.footer-menu.company-menu li {
    display: list-item !important;
    width: auto !important;
    text-align: left !important;
    margin: 0 0 0.5rem 0 !important;
    padding: 0 !important;
    list-style: disc !important;
    list-style-position: inside !important;
    white-space: nowrap; /* 防止文本换行 */
}

.footer-menu.company-menu li:last-child {
    margin-bottom: 0 !important;
}

/* Contact Info Alignment */
.footer-widget-area:nth-child(4) {
    padding: 0 !important;
}

.footer-widget-area:nth-child(4) .widget-title {
    margin-bottom: 1.5rem;
    padding: 0;
}

.contact-info-wrapper {
    text-align: left;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 80px 1fr; /* Label column and Value column */
    gap: 1rem;
    margin-bottom: 0.5rem; /* Reduced line height */
    align-items: start; /* Align items to the top */
    text-align: left;
    padding: 0;
    width: 100%;
}

.contact-info-label {
    font-weight: 200; /* Make labels extra light */
    text-align: left; /* Align labels to the left */
    padding: 0;
}

.contact-info-value {
    text-align: left;
    padding: 0;
}

/* ===== 首页轮播图样式 ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 56.25vw; /* 16:9比例：(9/16)*100 = 56.25vw */
    max-height: 80vh; /* 限制最大高度不超过屏幕80% */
    min-height: 400px; /* 限制最小高度确保移动端可用 */
    overflow: hidden;
    margin: 0; /* 移除所有边距 */
    background: transparent; /* 确保背景透明 */
    line-height: 0; /* 移除行高造成的间距 */
}

/* 确保主内容区域没有边距影响轮播图位置 */
.site-main {
    padding-top: 0 !important;
    margin: 0 !important; /* 完全重置所有边距，强制覆盖 */
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent; /* 确保背景透明 */
    line-height: 0; /* 移除行高造成的间距 */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    margin: 0; /* 移除边距 */
    padding: 0; /* 移除内边距 */
    overflow: hidden; /* 确保内容不会溢出 */
    background: transparent; /* 确保背景透明 */
    line-height: 0; /* 移除行高造成的间距 */
}

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

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #f5f5f5; /* 添加浅灰色背景，填充空白区域 */
    line-height: 0; /* 移除行高造成的间距 */
}

.slide-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 改回cover以确保一致的显示效果 */
    object-position: center center; /* 确保图片居中显示 */
    display: block;
    margin: 0; /* 移除图片默认边距 */
    padding: 0; /* 移除图片默认内边距 */
    border: none; /* 移除可能的边框 */
    vertical-align: top; /* 移除图片底部默认间距 */
    line-height: 0; /* 移除行高造成的间距 */
    font-size: 0; /* 移除字体大小造成的间距 */
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    z-index: 2;
    background: none;
    padding-bottom: 3%;
    pointer-events: none;
}

.slide-content-inner {
    text-align: left;
    color: #fff;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 20px;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-subtitle {
    font-size: 1.4rem;
    margin: 0 0 2rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.slide-btn {
    display: inline-block;
    padding: 1.4rem 2.7rem;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #fff;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    z-index: 999;
}

.slide-btn:hover {
    background-color: #D4A373;
    transform: none;
    box-shadow: none;
    border-color: #D4A373;
    cursor: pointer;
}

/* 导航点 */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

/* ===== 产品分类栏目样式 ===== */
.product-classification {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.products-grid {
    position: relative;
    overflow: hidden;
    padding: 0;
}

/* 默认的products-grid用于轮播布局 */
.products-grid .products-carousel {
    display: flex;
    gap: 25px;
    width: max-content;
}

/* Factory & Exhibition: 轮播容器改为网格布局 */
.factory-exhibition .container {
    padding: 0 20px; /* 与标准container保持一致 */
}

/* Factory & Exhibition模块：允许箭头按钮显示 */
/* Archive category page: shrink product card images to 90% */
body.post-type-archive-product .product-card .product-image .main-image,
body.tax-product_category .product-card .product-image .main-image,
body.post-type-archive-product .product-card .product-image .alt-image,
body.tax-product_category .product-card .product-image .alt-image {
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  object-position: center;
}

.factory-exhibition .products-grid {
    overflow: visible; /* 允许箭头按钮显示 */
}

/* Factory & Exhibition专用：让轮播容器显示为网格布局 */
.factory-exhibition .products-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

/* Factory & Exhibition模块：处理隐藏卡片的网格布局 */
.factory-exhibition .products-carousel .product-card[style*="display: none"] {
    visibility: hidden;
    position: absolute;
    left: -9999px;
    top: -9999px;
}

/* 确保网格布局在隐藏卡片时保持稳定 */
.factory-exhibition .products-carousel {
    grid-auto-flow: row;
    align-items: start;
}

/* Factory & Exhibition的通用箭头样式 */
.factory-exhibition .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--color-card);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.factory-exhibition .carousel-nav:hover {
    background: var(--color-primary);
    color: var(--color-card);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.factory-exhibition .carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.factory-exhibition .carousel-nav svg {
    width: 24px;
    height: 24px;
}

.factory-exhibition .carousel-nav-prev {
    left: 20px; /* 放在左侧卡片内部 */
}

.factory-exhibition .carousel-nav-next {
    right: 20px; /* 放在右侧卡片内部 */
}

.product-card {
    background-color: var(--color-card);
    border-radius: 0;
    overflow: hidden;
    transition: border-color 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    height: auto;
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--color-primary);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 移除图片放大效果 */
/* .product-card:hover .product-image img {
    transform: scale(1.05);
} */

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 110, 75, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-product {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-info {
    padding: 30px 20px 35px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
    background: #f8f9fa;
}

/* Archive product title overrides to match detail page */
body.post-type-archive-product .product-card .product-title { font-family: var(--font-body); font-size: 1rem; /* 16px */ font-weight: 600; text-align: left; }
body.tax-product_category .product-card .product-title { font-family: var(--font-body); font-size: 1rem; /* 16px */ font-weight: 600; text-align: left; }

/* Archive: increase text area to show full titles */
body.post-type-archive-product .product-card .product-info { min-height: 240px; }
body.tax-product_category .product-card .product-info { min-height: 240px; }
body.post-type-archive-product .product-card .product-title { display: block; overflow: visible; white-space: normal; }
body.tax-product_category .product-card .product-title { display: block; overflow: visible; white-space: normal; }

body.post-type-archive-product .product-card .product-title {
    font-family: var(--font-body);
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    /* Factory & Exhibition响应式调整 */
    .factory-exhibition .container {
        padding: 0 20px; /* 保持与标准container一致 */
    }
    
    .factory-exhibition .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0; /* 移除padding，让内容与container两边重合 */
        max-width: 1360px; /* 保持与标准container内容宽度一致 */
    }
    
    .factory-exhibition .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .factory-exhibition .carousel-nav svg {
        width: 14px;
        height: 14px;
    }
    
    .factory-exhibition .carousel-nav-prev {
        left: -40px; /* 调整为平板设备的箭头位置 */
    }
    
    .factory-exhibition .carousel-nav-next {
        right: -40px; /* 调整为平板设备的箭头位置 */
    }
}

@media (max-width: 768px) {
    .product-classification {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Factory & Exhibition响应式调整 */
    .factory-exhibition .products-carousel {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .factory-exhibition .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .factory-exhibition .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .factory-exhibition .carousel-nav-prev {
        left: -50px;
    }
    
    .factory-exhibition .carousel-nav-next {
        right: -50px;
    }
    
    .product-info {
        padding: 25px 15px 30px 15px;
        min-height: 100px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-classification {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Factory & Exhibition响应式调整 */
    .factory-exhibition .products-carousel {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .factory-exhibition .carousel-nav {
        width: 25px;
        height: 25px;
    }
    
    .factory-exhibition .carousel-nav svg {
        width: 12px;
        height: 12px;
    }
    
    .factory-exhibition .carousel-nav-prev {
        left: -35px;
    }
    
    .factory-exhibition .carousel-nav-next {
        right: -35px;
    }
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.dot:hover,
.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* 导航箭头 */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid #fff;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    outline: none;
}

.slider-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

/* 响应式设计 - 简化，主要依靠viewport单位自动适应 */
@media (max-width: 1024px) {
    .slide-title {
        font-size: 2.8rem;
    }
    
    .slide-subtitle {
        font-size: 1.2rem;
    }
    
    .slider-nav {
        width: 30px;
        height: 30px;
    }
    
    .slider-nav.prev {
        left: 20px;
    }
    
    .slider-nav.next {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        padding-bottom: 3%;
    }
    
    .slide-content-inner {
        padding: 1.5rem 20px;
    }
    
    .slide-title {
        font-size: 1.3rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-btn {
        padding: 1.2rem 2.2rem;
        font-size: 0.8rem;
    }
    
    .slider-nav {
        width: 45px;
        height: 45px;
    }
    
    .slider-nav.prev {
        left: 15px;
    }
    
    .slider-nav.next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .slide-content {
        padding-bottom: 2%;
    }
    
    .slide-content-inner {
        padding: 1.2rem 15px;
    }
    
    .slide-title {
        font-size: 1.8rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-btn {
        padding: 1rem 1.8rem;
        font-size: 0.75rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
}

/* ========================================
   Product Page Specific Styles
   ======================================== */

/* Products page product info background */
.products-page .product-card .product-info {
    background: #f8f9fa;
}

/* Products page inquiry button */
.products-page .inquiry-btn {
    width: auto;
    align-self: center;
}

/* ========================================
   Product Detail Page Styles
   ======================================== */

/* Main Layout */
.product-detail-page {
    padding: 2rem 0 0 0;
    background-color: #ffffff;
}

.product-detail-page .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Breadcrumb & Navigation */
.product-breadcrumb {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #8B6E4B;
}

.product-breadcrumb a.current {
    color: #8B6E4B;
    font-weight: 500;
}

.product-breadcrumb .breadcrumb-separator {
    margin: 0 0.5rem;
    color: #666;
}

.back-navigation {
    margin-bottom: 2rem;
}

.back-navigation .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.back-navigation .back-btn:hover {
    color: #8B6E4B;
}

.back-navigation .back-btn svg {
    width: 16px;
    height: 16px;
}

/* Main Product Container */
.product-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto 4rem auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: minmax(0, 55%) minmax(0, 45%);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Product Gallery */
.product-gallery-container .main-image-container {
    position: relative;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.product-gallery-container .main-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-gallery-container .main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-gallery-container .main-image.active {
    opacity: 1;
}

.product-gallery-container .zoom-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.product-gallery-container .zoom-indicator svg {
    width: 16px;
    height: 16px;
}

.product-gallery-container .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    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: #333;
}

.product-gallery-container .gallery-nav:hover {
    background: #8B6E4B;
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.product-gallery-container .gallery-nav.prev-btn {
    left: 0;
}

.product-gallery-container .gallery-nav.next-btn {
    right: 0;
}

.product-gallery-container .gallery-nav svg {
    width: 24px;
    height: 24px;
}

/* Thumbnail Navigation */
.product-gallery-container .thumbnail-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* 添加水平居中 */
}

.product-gallery-container .thumbnail-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border: 2px solid #8B6E4B;
    border-radius: 50%;
    background: white;
    color: #8B6E4B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-gallery-container .thumbnail-nav:hover {
    background: #8B6E4B;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.product-gallery-container .thumbnail-nav.prev-btn {
    left: 4px; /* 稍微内缩，避免紧贴边缘 */
}

.product-gallery-container .thumbnail-nav.next-btn {
    right: 4px; /* 稍微内缩，避免紧贴边缘 */
}

.product-gallery-container .thumbnail-nav svg {
    width: 18px;
    height: 18px;
}

.product-gallery-container .thumbnail-container {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    margin: 0 40px;
    scroll-behavior: smooth;
    justify-content: flex-start; /* 当内容超出时从左开始 */
    align-items: center;
}

/* 当缩略图总宽度小于容器宽度时居中显示 */
.product-gallery-container .thumbnail-row {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
    align-items: center;
    min-width: 100%;
}

.product-gallery-container .thumbnail-container::-webkit-scrollbar {
    height: 4px;
}

.product-gallery-container .thumbnail-container::-webkit-scrollbar-track {
    background: #ddd;
    border-radius: 2px;
}

.product-gallery-container .thumbnail-container::-webkit-scrollbar-thumb {
    background: #8B6E4B;
    border-radius: 2px;
}

.product-gallery-container .thumbnail-wrapper {
    flex-shrink: 0;
    width: 52px; /* 再次缩小到52px */
    height: 52px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.product-gallery-container .thumbnail-wrapper:hover,
.product-gallery-container .thumbnail-wrapper.active {
    border-color: #8B6E4B;
}

.product-gallery-container .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-gallery-container .thumbnail-nav-spacer {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* 响应式调整 - 确保小屏幕设备上也能显示完整 */
@media (max-width: 768px) {
    .product-gallery-container .thumbnail-wrapper {
        width: 46px;
        height: 46px;
    }

    .product-gallery-container .thumbnail-container {
        gap: 0.3rem; /* 移动端进一步缩小间距 */
        margin: 0 35px;
    }

    .product-gallery-container .thumbnail-nav {
        width: 28px;
        height: 28px;
    }

    .product-gallery-container .thumbnail-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .product-gallery-container .thumbnail-wrapper {
        width: 40px;
        height: 40px;
    }

    .product-gallery-container .thumbnail-container {
        gap: 0.25rem;
        margin: 0 30px;
    }
}

/* Product Info Section */
.product-info-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
}

.product-info-container .product-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    font-family: var(--font-body); /* 与header主导航字体一致 */
    color: #333;
    margin-bottom: 1.5rem;
    margin-top: 0;
    line-height: 1.4;
    /* 确保标题能完整显示 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-info-container .product-sku {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.product-info-container .product-sku .sku-label {
    color: #666;
}

.product-info-container .product-sku .sku-value {
    color: #333;
    font-weight: 500;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.product-info-container .product-short-description {
    margin-bottom: 2rem;
}

.product-info-container .product-short-description p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.product-info-container .quick-specifications {
    margin-top: auto;
    margin-bottom: 1rem; /* 16px */
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-info-container .quick-specifications .spec-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.product-info-container .quick-specifications .spec-grid {
    display: grid;
    gap: 1rem;
}

.product-info-container .quick-specifications .spec-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.product-info-container .quick-specifications .spec-item:last-child {
    border-bottom: none;
}

.product-info-container .quick-specifications .spec-label {
    color: #666;
    font-size: 0.875rem;
}

.product-info-container .quick-specifications .spec-value {
    color: #333;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: right;
}

/* MOQ Info */
.product-info-container .moq-info {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(139, 110, 75, 0.05);
    border: 1px solid rgba(139, 110, 75, 0.2);
    border-radius: 8px;
}

.product-info-container .moq-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-info-container .moq-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

.product-info-container .moq-label svg {
    color: #8B6E4B;
    width: 20px;
    height: 20px;
}

.product-info-container .moq-value {
    color: #8B6E4B;
    font-weight: 700;
}

/* Inquiry CTA Button */
.inquiry-cta {
    margin-top: 0;
    padding: 0;
}

.inquiry-cta-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #8B6E4B;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.inquiry-cta-btn:hover {
    background: #D4A373;
    transform: translateY(-2px);
}

.inquiry-cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Product Sharing */
.product-sharing .sharing-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
}

.product-sharing .social-share-buttons {
    display: flex;
    gap: 1rem;
}

.product-sharing .share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-sharing .share-btn:hover {
    background: #8B6E4B;
    color: white;
    border-color: #8B6E4B;
}

.product-sharing .share-btn svg {
    width: 20px;
    height: 20px;
}

/* Related Products Title override to match detail page */
/* Align CTA buttons across cards and remove underline */\n/* Related Products image aspect ratio adjustments */\n.related-products-section .related-product-card .related-product-image { aspect-ratio: 4/3; position: relative; }
.related-products-section .related-product-card .related-product-image img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; height: 80%; object-fit: contain; }\n@media (max-width: 768px) {\n  .related-products-section .related-product-card .related-product-image { aspect-ratio: 1/1; }\n}\n
.related-products-section .related-product-card { display: flex; flex-direction: column; height: 100%; }
.related-products-section .related-product-info { display: flex; flex-direction: column; flex: 1; }
.related-products-section .related-product-actions { margin-top: auto; }
.related-products-section .view-details-btn { text-decoration: none; }
.related-products-section .view-details-btn:hover { text-decoration: none; }\n.related-product-title .product-link {\n    font-family: var(--font-body);\n    font-size: 1.25rem; /* 20px */\n    font-weight: 600;\n}\n@media (max-width: 768px) {\n    .related-product-title .product-link {\n        font-size: 1.125rem; /* 18px */\n    }\n}\n\n/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-page {
        padding-top: 2rem;
    }

    .product-info-container .product-title {
        font-size: 1.125rem; /* 18px，保持比例 */
    }

    .product-info-container .quick-specifications .spec-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .product-info-container .quick-specifications .spec-value {
        text-align: left;
    }

    .inquiry-cta-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) {
    
}