/* 隐藏产品列表页的结果计数（显示所有x结果） */
.woocommerce-result-count {
    display: none;
}

/* 隐藏产品列表页的默认排序下拉框 */
.woocommerce-ordering {
    display: none;
}

/* 隐藏产品列表顶部的面包屑导航（首页 / Products） */
.woocommerce-breadcrumb {
    display: none;
}

/* 给产品图片加一个轻微的高级阴影 */
.woocommerce ul.products li.product img {
    box-shadow: 0px 4px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时稍微放大，增加交互感 */
.woocommerce ul.products li.product img:hover {
    transform: scale(1.02);
}

/* 隐藏全站产品价格 */
.price, .amount {
    display: none !important;
}

/* 隐藏详情页的加入购物车按钮和数量选择器 */
.single-product .quantity, 
.single-product .cart {
    display: none !important;
}

/* 1. 让产品列表页/分类页收缩到中间，不要全屏 */
.post-type-archive-product .site-content .ast-container, 
.tax-product_cat .site-content .ast-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px;
}

/* 2. 让产品列表页的标题居中且更有质感 */
.woocommerce-products-header__title.page-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 30px;
}

/* 3. 强制商品详情页保持宽敞布局（防止它跟着列表页一起缩小） */
.single-product .site-content .ast-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 确保 WooCommerce 分页符正常显示 */
.woocommerce-pagination {
    display: block !important;
    text-align: center;
    margin-top: 30px;
    clear: both;
}

/* 美化分页按钮，使其更符合 Auber 风格 */
.woocommerce-pagination ul.page-numbers {
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li span.current {
    background: #b35a42 !important; /* 你的品牌色 */
    color: #fff !important;
    border-radius: 4px;
}

.woocommerce-pagination ul.page-numbers li a {
    color: #333 !important;
    padding: 8px 15px;
}

/* 棕红色长条按钮：填满右侧宽度 */
.auber-btn-full {
    display: block;
    background-color: #b35a42;
    color: #fff !important;
    text-align: center;
    padding: 16px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 5px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(179,90,66,0.15);
}

.auber-btn-full:hover {
    background-color: #e51a1a;
    transform: translateY(-2px);
}

.product_meta {
  display: none;
}

/* 页脚导航链接颜色：深灰 #1A1A1A，悬停品牌红 #C8102E */
#astra-footer-menu a,
#astra-footer-menu a.menu-link,
#colophon .footer-nav-wrap a {
    color: #1A1A1A !important;
}
#astra-footer-menu a:hover,
#astra-footer-menu a.menu-link:hover,
#colophon .footer-nav-wrap a:hover {
    color: #C8102E !important;
}


/* ===== Header: B2B white bar, clear separation ===== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 1px 6px rgba(17,17,17,.05);
}
.site-header .custom-logo { max-height: 72px; width: auto; }
.main-header-menu > .menu-item > .menu-link { padding-left: 18px; padding-right: 18px; }

/* ===== Footer v5: 4 visual columns (3 sections, sec1 split) ===== */
.site-footer{background-color:#151515;color:#B8B8B8;border-top:3px solid #C8102E;border-left:0;border-right:0;border-bottom:0;}
.site-footer .site-primary-footer-wrap,
.site-footer .site-primary-footer-wrap[data-section="section-primary-footer-builder"]{background-color:#151515;}
/* container: visual full-width with safe margins */
.site-footer .ast-builder-grid-row-container-inner{width:100%;max-width:none;margin-left:auto;margin-right:auto;padding-left:clamp(48px,6vw,120px);padding-right:clamp(48px,6vw,120px);}
@media (max-width:921px){
  .site-footer .ast-builder-grid-row-container-inner{padding-left:32px;padding-right:32px;}
}
/* >=1280: 3 sections; sec1 splits into Brand | Products => 4 equal-rhythm columns */
@media (min-width:1280px){
  .site-footer .site-primary-footer-inner-wrap{grid-template-columns:2.1fr .75fr 1.35fr;grid-column-gap:clamp(48px,4vw,96px);grid-row-gap:44px;justify-items:stretch;align-items:stretch !important;align-items:stretch;}
  .site-footer .site-primary-footer-wrap .site-footer-section:nth-child(1){display:grid !important;grid-template-columns:minmax(300px,1.35fr) minmax(170px,.75fr);grid-column-gap:clamp(48px,4vw,96px);align-items:stretch;}
}
@media (min-width:1280px) and (max-width:1439px){
  .site-footer .ast-builder-grid-row-container-inner{padding-left:clamp(48px,4.5vw,64px);padding-right:clamp(48px,4.5vw,64px);}
}
@media (min-width:922px) and (max-width:1279px){
  .site-footer .ast-builder-grid-row-container-inner{padding-left:40px;padding-right:40px;}
  .site-footer .site-primary-footer-inner-wrap{grid-template-columns:2.1fr .75fr 1.35fr;grid-column-gap:40px;grid-row-gap:44px;justify-items:stretch;align-items:stretch !important;align-items:stretch;}
  .site-footer .site-primary-footer-wrap .site-footer-section:nth-child(1){display:grid !important;grid-template-columns:minmax(260px,1.35fr) minmax(150px,.75fr);grid-column-gap:40px;align-items:stretch;}
}
@media (max-width:1100px){
  .site-footer .site-primary-footer-inner-wrap{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-column-gap:32px;grid-row-gap:36px;}
  .site-footer .site-primary-footer-wrap .site-footer-section:nth-child(1){grid-column:1/-1;display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-column-gap:32px;}
}
@media (max-width:650px){
  .site-footer .site-primary-footer-inner-wrap{grid-template-columns:1fr !important;grid-column-gap:0;grid-row-gap:0;}
  .site-footer .site-primary-footer-wrap .site-footer-section:nth-child(1){display:block !important;grid-template-columns:none;grid-column:auto;}
  .site-footer .site-footer-section{margin-bottom:30px !important;}
  .site-footer .site-footer-section:last-child{margin-bottom:0 !important;}
  .site-footer .ast-builder-grid-row-container-inner{padding-left:20px;padding-right:20px;}
  .site-footer .footer-contact-line{overflow-wrap:anywhere;}
}
/* sections: vertical block flow (sec1 becomes grid at >=922), left aligned */
.site-footer .site-primary-footer-wrap .site-footer-section{display:block !important;flex-direction:column;text-align:left;}
.site-footer .site-primary-footer-wrap .site-footer-section > *{width:100% !important;max-width:100%;}
/* Brand */
.footer-brand .footer-brand-logo{font-size:22px;font-weight:700;color:#FFFFFF;letter-spacing:.5px;}
.footer-brand .footer-brand-logo::first-letter{color:#C8102E;}
.footer-brand .footer-brand-tagline{color:#C8102E;font-size:12px;font-weight:600;letter-spacing:1.2px;text-transform:uppercase;margin:6px 0 12px;}
.footer-brand .footer-brand-copy{color:#B8B8B8;font-size:14px;line-height:1.7;margin:0;max-width:340px;}
/* Column titles 15px + red accent */
.site-footer .footer-col-title{color:#FFFFFF;font-size:15px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;margin:0 0 16px;padding-bottom:10px;position:relative;}
.site-footer .footer-col-title::after{content:"";position:absolute;left:0;bottom:0;width:30px;height:2px;background:#C8102E;}
/* link lists (Products / Company) */
.site-footer .footer-links{margin:0;}
.site-footer .footer-links a{display:block;color:#B8B8B8;font-size:14px;line-height:1.7;margin-bottom:9px;}
.site-footer .footer-links a:hover{color:#C8102E;}
/* Contact */
.site-footer .footer-contact-line{font-size:14px;line-height:1.7;color:#B8B8B8;margin-bottom:12px;}
.site-footer .footer-contact-line strong{color:#C8102E;font-weight:600;margin-right:4px;}
.site-footer .footer-contact-line a{color:#B8B8B8;}
.site-footer .footer-contact-line a:hover{color:#C8102E;}
/* Follow spacing */
.site-footer #block-2{margin-top:26px;}
/* Social circular */
.site-footer .footer-social-inner-wrap{display:flex;flex-wrap:wrap;gap:10px;}
.site-footer .footer-social-inner-wrap .ast-builder-social-element{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.10);color:#FFFFFF !important;justify-content:center;align-items:center;margin:0;transition:background .2s,color .2s;}
.site-footer .footer-social-inner-wrap .ast-builder-social-element:hover{background:rgba(200,16,46,.25);color:#C8102E !important;}
.site-footer .footer-social-inner-wrap .ast-builder-social-element svg{fill:currentColor;width:16px;height:16px;}
/* Copyright bar */
.site-footer .site-below-footer-wrap[data-section="section-below-footer-builder"]{background-color:#101010 !important;border-top:1px solid rgba(255,255,255,.06);}
.site-footer .site-below-footer-wrap .ast-footer-copyright{color:#9CA3AF;font-size:13px;letter-spacing:.3px;}
.site-footer .site-below-footer-wrap .ast-footer-copyright a{color:#9CA3AF;}
.site-footer .site-below-footer-wrap .ast-footer-copyright a:hover{color:#C8102E;}
/* Header safety (kept) */
.ast-header-button-1 .ast-custom-button{border-width:0 !important;border-color:#C8102E !important;}
@media (max-width:544px){
  .site-header{padding-left:16px;padding-right:16px;}
  .main-header-menu > .menu-item > .menu-link{padding:14px 16px;}
  .site-header .custom-logo{max-height:54px;}
}
/* Brand CTA (compact, content-width) */
.site-footer .footer-cta{margin:18px 0 0;}
.site-footer .footer-cta-btn{display:inline-block;background:#C8102E;color:#FFFFFF;font-size:14px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;padding:10px 24px;border-radius:2px;transition:background .2s,color .2s;}
.site-footer .footer-cta-btn:hover{background:#A00D25;color:#FFFFFF;}

/* ===== Header v2: two-tier B2B architecture ===== */
/* A. utility bar (#151515, 34px, low-sat gray, red dot) */
.site-header .ast-above-header-wrap{background-color:#151515;border-bottom:1px solid rgba(255,255,255,.08);}
.site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-left:clamp(24px,3vw,40px);padding-right:clamp(24px,3vw,40px);}
.site-header .ast-above-header-wrap .ast-builder-grid-row{align-items:center;min-height:34px;}
.header-util{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#C9C9C9;line-height:1;}
.header-util a{color:#C9C9C9;text-decoration:none;transition:color .2s;}
.header-util a:hover{color:#FFFFFF;}
.header-util-left .util-dot{width:6px;height:6px;border-radius:50%;background:#C8102E;display:inline-block;}
.header-util-left .util-label{color:#FFFFFF;margin-right:2px;}
.header-util-right{gap:14px;}
.header-util-right .util-sep{color:#5A5A5A;}
/* B. main nav layer */
.site-header{background-color:#FFFFFF;border-bottom:1px solid #E5E7EB;box-shadow:0 1px 4px rgba(17,17,17,.04);}
.site-header .custom-logo{max-height:58px;width:auto;}
.site-header .site-header-primary-section-right{border-left:1px solid #EDEDED;padding-left:28px;}
.main-header-menu > .menu-item > .menu-link{font-size:15px;font-weight:600;letter-spacing:.35px;color:#252525;padding:26px 20px;}
.main-header-menu > .menu-item:hover > .menu-link,
.main-header-menu > .menu-item.current-menu-item > .menu-link{color:#C8102E;}
.main-header-menu .ast-header-navigation-arrow .ast-icon{width:9px;height:9px;color:#252525;}
.main-header-menu > .menu-item:hover .ast-header-navigation-arrow .ast-icon{color:#C8102E;}
/* C. Get Quote */
.ast-header-button-1 .ast-custom-button{background:#C8102E;color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;padding:12px 28px;border-radius:2px;border-width:0 !important;border-color:#C8102E !important;box-shadow:none;}
.ast-header-button-1 .ast-custom-button:hover{background:#A00D25;color:#FFFFFF;}
/* E. responsive */
@media (max-width:921px){
  .site-header .ast-above-header-wrap .ast-builder-grid-row{min-height:30px;}
  .site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-left:24px;padding-right:24px;}
  .site-header .header-util{font-size:13px;}
  .site-header .header-util-right{display:none;}
}
@media (max-width:544px){
  .site-header .header-util-left .util-label{display:none;}
  .site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-left:20px;padding-right:20px;}
}
/* Header v2 polish: utility bar height + CTA padding */
.site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-top:0;padding-bottom:0;}
.site-header .ast-above-header-wrap .site-above-header-wrap{padding-top:0;padding-bottom:0;}
.site-header .ast-above-header-wrap .ast-builder-grid-row{min-height:34px;padding:0;}
.ast-header-button-1 .ast-custom-button{padding:12px 28px !important;}
/* Header v2 polish 2: precise bar heights */
.site-header .ast-above-header-wrap .ast-above-header-bar{padding-top:0;padding-bottom:0;}
.site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-top:0;padding-bottom:0;}
.site-header .ast-primary-header-bar{padding-top:0;padding-bottom:0;min-height:80px;}
.site-header .ast-primary-header-bar .ast-builder-grid-row-container-inner{padding-top:0;padding-bottom:0;}
.site-header .ast-primary-header-bar .ast-builder-grid-row{min-height:80px;align-items:center;}
/* Header v2 polish 3: menu line-height + above container height */
.site-header .site-above-header-wrap{min-height:34px;}
.main-header-menu > .menu-item > .menu-link{line-height:1.5;}
/* ===== Header v3 (reference intent): light utility bar + white nav, new phone ===== */
.site-header .ast-above-header-wrap{background-color:#F7F7F5 !important;}
.site-header .ast-above-header-wrap .ast-above-header-bar{background-color:#F7F7F5 !important;border-bottom:1px solid #E6E6E3 !important;}
.site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner,.site-header .ast-above-header-wrap .site-above-header-wrap{padding-top:0;padding-bottom:0;}
.site-header .site-above-header-wrap{min-height:40px;}
.site-header .ast-above-header-wrap .ast-builder-grid-row{min-height:40px;align-items:center;padding:0;}
.header-util-left .util-tag{font-size:14px;font-weight:600;color:#383838;letter-spacing:1.1px;text-transform:uppercase;white-space:nowrap;line-height:1;}
.site-header .header-util-right{display:flex;align-items:center;gap:10px;color:#383838;}
.header-util-right .util-sep-v{width:1px;height:14px;background:#D9D9D6;display:inline-block;}
.header-util-right .util-phone-dot{width:6px;height:6px;border-radius:50%;background:#C8102E;display:inline-block;}
.header-util-right .util-phone{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;letter-spacing:.4px;color:#383838;text-decoration:none;line-height:1;}
.header-util-right .util-phone:hover{color:#C8102E;}
.header-util-right .util-phone::before{content:"";width:14px;height:14px;background:currentColor;flex:none;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E") center/contain no-repeat;}
.site-header{background-color:#FFFFFF;border-bottom:1px solid #EFEFEF;box-shadow:none;}
.site-header .ast-primary-header-bar{background-color:#FFFFFF !important;min-height:72px;border-bottom:1px solid #EFEFEF;}
.site-header .ast-primary-header-bar .ast-builder-grid-row{min-height:72px;align-items:center;}
.site-header .site-header-primary-section-right{border-left:0;padding-left:0;}
.site-header .custom-logo{max-height:52px;width:auto;height:auto;}
.main-header-menu > .menu-item > .menu-link{font-size:15px;font-weight:600;letter-spacing:.35px;color:#252525;padding:26px 22px;line-height:1.5;position:relative;}
.main-header-menu > .menu-item > .menu-link::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:2px;background:transparent;}
.main-header-menu > .menu-item.current-menu-item > .menu-link{color:#252525;}
.main-header-menu > .menu-item.current-menu-item > .menu-link::after{background:#C8102E;}
.main-header-menu > .menu-item:hover > .menu-link{color:#111111;}
.main-header-menu > .menu-item:hover .ast-header-navigation-arrow .ast-icon{color:#111111;}
.ast-header-button-1 .ast-custom-button{background:#FFFFFF !important;color:#C8102E !important;border:1px solid #C8102E !important;border-radius:2px;font-size:14px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;padding:10px 24px !important;box-shadow:none;transition:background .2s,color .2s;}
.ast-header-button-1 .ast-custom-button:hover{background:#C8102E !important;color:#FFFFFF !important;border-color:#C8102E !important;}
@media (max-width:921px){
  .site-header .ast-above-header-wrap .ast-builder-grid-row{min-height:38px;}
  .site-header .header-util-right{display:flex;align-items:center;}
  .header-util-left .util-tag-full{display:none;}
  #ast-desktop-header .ast-header-button-1{display:none !important;}
}
@media (max-width:544px){
  .site-header .header-util-left{display:none !important;}
  .site-header .ast-above-header-wrap .ast-builder-grid-row-container-inner{padding-left:20px;padding-right:20px;}
}

/* ==== 语言切换器父项标签 English -> EN（Polylang 自动重写导航标签，本规则仅视觉替换文本，DOM/aria/真实切换不变） ==== */
#menu-item-390 > a.menu-link > span[style*="margin-left"] {
    font-size: 0 !important;
    line-height: 0 !important;
}
#menu-item-390 > a.menu-link > span[style*="margin-left"]::after {
    content: "EN";
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 22.5px !important;
    margin-left: 4.5px;
}


/* ===== Contact 页 (页面 ID 141) 移动端 FluentForm 横向溢出修复 =====
/* 仅作用于 Contact 页面 (body.page-id-141) 且仅移动端 (max-width:767px)；
   不改动表单字段/文案/设置/结构；桌面端与其他页面不受影响 */
@media (max-width: 767px) {
  body.page-id-141 .fluentform-widget-wrapper,
  body.page-id-141 .fluentform,
  body.page-id-141 .fluentform > form,
  body.page-id-141 .fluentform fieldset,
  body.page-id-141 .fluentform .ff-t-container,
  body.page-id-141 .fluentform .ff-t-cell,
  body.page-id-141 .fluentform .ff-el-group,
  body.page-id-141 .fluentform .ff-el-input--label,
  body.page-id-141 .fluentform .ff-el-form-control,
  body.page-id-141 .fluentform .ff_submit_btn_wrapper,
  body.page-id-141 .fluentform .ff-name-field-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  /* 允许既有字段在移动端正常单列/换行 */
  body.page-id-141 .fluentform .ff-t-container {
    display: block !important;
    flex-wrap: wrap !important;
  }
  body.page-id-141 .fluentform .ff-t-cell,
  body.page-id-141 .fluentform .ff-el-group {
    float: none !important;
    flex: 0 0 100% !important;
  }
}

/* Contact 页移动端：联系信息地址文本允许换行，消除剩余 128px 溢出（不改动文本内容） */
@media (max-width: 767px) {
  body.page-id-141 .elementor-icon-list-item .elementor-icon-list-text {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
}
