/*
Theme Name: Astra Child KT
Template: astra
Version: 2.4.9
Text Domain: astra-child
*/

:root {
  --kt-blue:#002FA7;
  --ast-normal-container-width: 1440px;
}
/* 整体容器宽度，接近 amoparts 宽屏风格但更紧凑 */
.ast-container { max-width: 1440px !important; }

/* ===== 顶部克莱因蓝实用条（单行） ===== */
.kt-top-bar { background:var(--kt-blue); color:#fff; font-size:14px; font-weight:600; }
.kt-top-bar .ast-container {
    display:flex; justify-content:space-between; align-items:center;
    padding-top:6px; padding-bottom:6px; flex-wrap:nowrap; gap:10px;
    white-space:nowrap;
    max-width:1200px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
.kt-top-bar-inner { display:flex; justify-content:space-between; align-items:center; width:100%; flex-wrap:nowrap; }
.kt-top-links a { color:#fff; margin-right:14px; text-decoration:none; white-space:nowrap; }
.kt-top-links a:hover { color:#9bb4ff; }
.kt-top-phone { white-space:nowrap; display:flex; align-items:center; gap:10px; }
.kt-top-phone strong { color:#fff; margin-left:4px; }
.kt-phone-sep { opacity:.5; }
.kt-whatsapp {
    display:inline-flex; align-items:center;
    background:#25D366; color:#fff; font-weight:700;
    padding:3px 12px; border-radius:20px; text-decoration:none;
    font-size:13px; line-height:1;
}
.kt-whatsapp:hover { background:#1ebe5b; color:#fff; }
.kt-whatsapp svg { fill:#fff; }

/* ===== LOGO 尺寸控制 + 隐藏站点标题文字 ===== */
.custom-logo-link { display:inline-flex; align-items:center; }
.custom-logo-link img.custom-logo { max-height:70px; width:auto; height:auto; }
.site-branding .site-title,
.site-branding .site-description { display:none !important; }

/* ===== Header 更紧凑 ===== */
.site-header .ast-primary-header-bar { padding-top:8px; padding-bottom:8px; }

/* ===== 把主导航+搜索块往左靠，缩小 logo 右侧空白 ===== */
.ast-builder-grid-row {
    grid-template-columns: auto auto !important;
    justify-content: flex-start !important;
    gap: 20px !important;
}
.site-header-primary-section-left {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
.site-header-primary-section-right,
.ast-grid-right-section {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: auto !important;
    max-width: 100% !important;
}

/* ===== 主导航下方搜索框（8类目一行，搜索单独一行，仍在 header 板块内） ===== */
/* 主导航整体左对齐，菜单项和搜索框都以左边为齐 */
.ast-builder-menu-1,
.ast-builder-menu-1 .main-header-menu {
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.main-header-menu {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.main-header-menu > .menu-item {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.main-header-menu .kt-menu-search {
    flex: 1 1 100% !important;
    order: 999 !important;
    margin-left: 0 !important;
    padding-top: 10px;
    display: flex !important;
    align-items: center;
    gap: 18px;
}
.main-header-menu .kt-menu-search .woocommerce-product-search {
    display: flex;
    width: 100%;
    max-width: 1200px;
    flex: 1 1 auto;
}
/* 搜索框右侧：账户 + 购物车 图标（顺序：搜索框 → 账户 → 购物车） */
.main-header-menu .kt-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
    margin-left: auto;
}
.main-header-menu .kt-header-icons a {
    display: inline-flex;
    align-items: center;
    position: relative;
    color: #222;
    text-decoration: none;
}
.main-header-menu .kt-header-icons a:hover { color: var(--kt-blue); }
.main-header-menu .kt-account svg,
.main-header-menu .kt-cart svg { width: 22px; height: 22px; fill: currentColor; }
.main-header-menu .kt-cart-count {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--kt-blue); color: #fff;
    font-size: 11px; font-weight: 700;
    min-width: 18px; height: 18px; line-height: 18px;
    border-radius: 9px; text-align: center; padding: 0 4px;
}
.main-header-menu .kt-cart-total {
    margin-left: 6px; font-size: 13px; font-weight: 600; color: #333;
}
.main-header-menu .kt-menu-search input[type="search"] {
    flex: 1; min-width: 0;
    padding: 10px 14px; border: 1px solid #ccc; border-right: 0; outline: none;
    font-size: 14px;
}
.main-header-menu .kt-menu-search button {
    background: var(--kt-blue); color: #fff; border: 0;
    padding: 0 28px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.main-header-menu .kt-menu-search button:hover { background: #001f7a; }

/* ===== 首页两栏布局 ===== */
.kt-shop-wrap { display:flex; gap:30px; align-items:flex-start; }
.kt-cat-col {
    flex:0 0 260px; width:260px; background:#fff;
    border:1px solid #eee; padding:16px; box-sizing:border-box;
}
.kt-cat-title {
    font-size:15px; font-weight:700; color:var(--kt-blue);
    border-bottom:2px solid var(--kt-blue); padding-bottom:8px; margin:0 0 10px;
    text-transform:uppercase; letter-spacing:.5px;
}
.kt-cat-list { list-style:none; margin:0; padding:0; }
.kt-cat-list > li { border-bottom:1px solid #f0f0f0; }
.kt-cat-list > li:last-child { border-bottom:0; }
.kt-cat-row {
    display:flex; justify-content:space-between; align-items:center;
    padding:9px 4px; color:#333; text-decoration:none; font-size:14px;
}
.kt-cat-name {
    flex:1 1 auto; min-width:0;
    color:#333; text-decoration:none; font-size:14px;
    display:block; padding-right:8px;
}
.kt-cat-name:hover { color:var(--kt-blue); }
.kt-cat-right {
    flex:0 0 auto;
    display:inline-flex; align-items:center; gap:8px;
}
.kt-cat-count {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:20px; height:20px; padding:0 4px;
    border-radius:10px; font-size:12px; font-weight:600;
}
.kt-cat-toggle {
    background:transparent; border:0; padding:0 2px; cursor:pointer;
    color:#999; font-size:11px; line-height:1;
}
.kt-cat-toggle:hover { color:var(--kt-blue); }
.kt-prod-col { flex:1; min-width:0; }

/* ===== 首页左栏类目：选中态 + 产品区加载态 + 「查看更多」 ===== */
.kt-cat-col .kt-cat-item > .kt-cat-row { cursor:pointer; }
.kt-cat-col .kt-cat-item.kt-active > .kt-cat-row {
    background:#eef2ff; border-radius:6px; padding-left:8px; padding-right:8px;
}
.kt-cat-col .kt-cat-item.kt-active > .kt-cat-row .kt-cat-name { font-weight:700; color:var(--kt-blue); }
.kt-cat-col .kt-cat-item.kt-active > .kt-cat-row .kt-cat-count { color:var(--kt-blue); }
.kt-cat-col .kt-all-item > .kt-cat-row .kt-cat-name { font-weight:600; color:#444; }
.kt-prod-col { transition:opacity .15s ease; }
.kt-prod-col.kt-loading { opacity:.45; pointer-events:none; }
.kt-more-wrap { margin:28px 0 8px; text-align:center; }
.kt-more-btn {
    display:inline-block; padding:13px 34px; border-radius:6px;
    background:var(--kt-blue); color:#fff !important;
    font-size:15px; font-weight:600; text-decoration:none; line-height:1;
}
.kt-more-btn:hover { background:#001f6e; color:#fff !important; }

/* ===== shop 侧栏（Astra astra-woo-shop-sidebar）：行业 + 部件类目筛选块 ===== */
.ast-woo-sidebar-widget .kt-cat-list { margin:0; }
.ast-woo-sidebar-widget .kt-cat-list > li { border-bottom:1px solid #f0f0f0; }
.ast-woo-sidebar-widget .kt-cat-list > li:last-child { border-bottom:0; }
.kt-ind-list .kt-cat-item.kt-active > .kt-cat-row {
    background:#eef2ff; border-radius:6px; padding-left:8px; padding-right:8px;
}
.kt-ind-list .kt-cat-item.kt-active > .kt-cat-row .kt-cat-name { font-weight:700; color:var(--kt-blue); }
.kt-ind-clear > .kt-cat-row .kt-cat-name { color:#888; font-size:13px; }
.kt-ind-clear > .kt-cat-row { padding-top:4px; padding-bottom:8px; }
.kt-side-cat-list .kt-cat-name { font-size:14px; }

/* ===== 首页行业卡片区：减少上方留白 + 卡片/图标放大 ===== */
.home .site-content { padding-top: 0 !important; }
.home .site-content .ast-container { padding-top: 0 !important; }
.home .entry-content { padding-top: 0 !important; margin-top: 0 !important; }
.kt-front-top { margin-top: 0; padding-top: 0; padding-bottom: 25px; }
.kt-industry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.kt-industry-card {
    position: relative;
    background: var(--kt-blue);
    color: #fff;
    border-radius: 12px;
    min-height: 200px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 4px 14px rgba(0,47,167,.18);
}
.kt-industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(0,47,167,.28);
}
.kt-industry-card .kt-industry-icon {
    position: absolute;
    top: 18px; right: 18px;
    font-size: 68px;
    line-height: 1;
    opacity: .40;
}
.kt-industry-card .kt-industry-main {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
    text-decoration: none !important;
}
.kt-industry-card .kt-industry-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 52px;
    height: 26px;
    padding: 0 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.22);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 1200px) {
    .kt-industry-grid { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }
}
@media (max-width: 768px) {
    .kt-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .kt-industry-card { min-height: 165px; padding: 20px; }
    .kt-industry-card .kt-industry-icon { font-size: 52px; }
    .kt-industry-card .kt-industry-main { font-size: 17px; }
}
@media (max-width: 480px) {
    .kt-industry-grid { grid-template-columns: 1fr; }
}

/* ===== 车型适配层级浏览（Passenger Cars → 品牌 → 车型 → 年款）===== */
.kt-vh-crumb {
    margin: 0 0 20px;
    font-size: 14px;
    color: #55606e;
    line-height: 1.6;
}
.kt-vh-crumb a { color: var(--kt-blue); text-decoration: none; font-weight: 600; }
.kt-vh-crumb a:hover { text-decoration: underline; }
.kt-vh-crumb .kt-vh-sep { margin: 0 7px; color: #a9b2bf; }
.kt-vh-crumb strong { color: #16202c; }
.kt-vh-sub { margin: 0 0 28px; }
.kt-vh-sublabel {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #7b8794;
    margin-bottom: 12px;
}
.kt-vh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 12px;
}
.kt-vh-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid #e2e7ef;
    border-left: 4px solid var(--kt-blue);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(22,32,44,.05);
    transition: transform .18s ease, box-shadow .18s ease;
}
.kt-vh-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,47,167,.15);
}
.kt-vh-card .kt-vh-name { font-size: 15px; font-weight: 700; color: #16202c; line-height: 1.3; }
.kt-vh-card .kt-vh-meta { font-size: 12px; color: #7b8794; }
@media (max-width: 480px) {
    .kt-vh-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ===== 隐藏 Astra 默认侧栏 / 标题 / 面包屑（首页强制全宽）===== */
.home #secondary { display:none !important; }
.home #primary { width:100% !important; float:none !important; }
.home .entry-title,
.home .ast-breadcrumbs,
.home .entry-header { display:none !important; }

/* ===== 产品网格紧凑 ===== */
.kt-prod-col ul.products { margin:0; }
.kt-prod-col .woocommerce-loop-product__title { font-size:14px; }
.kt-prod-col .price { font-size:14px; }

/* ===== 产品卡片：价格 + 按钮成组贴底，按钮统一整行宽 ===== */
/* 网格项等高（grid 下默认 stretch，这里显式加固） */
.kt-prod-col ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
    align-items: stretch !important;
}
/* 卡片纵向 flex，summary 占满剩余高度 */
.kt-prod-col ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.ast-article-single,
.woocommerce-page ul.products li.ast-article-single {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.kt-prod-col ul.products li.product .astra-shop-summary-wrap,
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap,
.woocommerce ul.products li.ast-article-single .astra-shop-summary-wrap,
.woocommerce-page ul.products li.ast-article-single .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    box-sizing: border-box;
}
/* 价格推到最下方 —— 标题行数再多也不影响下方成组位置 */
.kt-prod-col ul.products li.product .astra-shop-summary-wrap > .price,
.woocommerce ul.products li.product .astra-shop-summary-wrap > .price,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap > .price {
    margin-top: auto !important;
    margin-bottom: .55em !important;
}
/* 按钮统一整行宽、同排等宽等高（收窄 30px 的大内边距，避免长文案折行） */
.kt-prod-col ul.products li.product .astra-shop-summary-wrap > .button,
.woocommerce ul.products li.product .astra-shop-summary-wrap > .button,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap > .button,
.kt-prod-col ul.products li.product .astra-shop-summary-wrap > .kt-rfq-loop-btn,
.woocommerce ul.products li.product .astra-shop-summary-wrap > .kt-rfq-loop-btn,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap > .kt-rfq-loop-btn {
    width: 100% !important;
    margin: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 10px !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
}
/* 图片区高度统一，卡片顶部对齐 */
.kt-prod-col ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== 右下角浮动 WhatsApp 按钮（比默认角落上移） ===== */
.kt-float-wa {
  position: fixed;
  bottom: 90px;          /* 上移：默认贴底 15px，这里抬到 90px */
  right: 24px;
  z-index: 999999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;           /* 纯图标圆形按钮 */
  height: 56px;
  background: #25D366;    /* WhatsApp 绿 */
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
}
.kt-float-wa:hover { background:#1ebe5b; color:#fff; transform: translateY(-2px); }
.kt-float-wa svg { width:30px; height:30px; fill:#fff; }

/* 隐藏插件自带、未配置号码的坏浮动按钮，避免重复/报错 */
#ht-ctc-chat, .ht-ctc-chat { display:none !important; }

/* ===== 首页类目栏：二级目录 + 上架商品数 ===== */
.kt-cat-sublist { list-style:none; margin:0; padding:0 0 0 14px; display:none; }
.kt-cat-item.kt-open > .kt-cat-sublist { display:block; }
.kt-cat-sublist li { border-bottom:1px solid #f5f5f5; }
.kt-cat-sublist li:last-child { border-bottom:0; }
.kt-cat-sublist .kt-cat-row { padding:7px 4px; }
.kt-cat-sublist .kt-cat-name { font-size:13px; color:#555; }
.kt-cat-sublist .kt-cat-count { background:#fff; border:1px solid #ddd; color:#888; font-size:11px; }

/* 父级计数：默认简洁数字，展开后高亮为深色徽章 */
.kt-cat-item > .kt-cat-row .kt-cat-count { background:transparent; color:#888; }
.kt-cat-item.kt-open > .kt-cat-row .kt-cat-count {
    background:var(--kt-blue); color:#fff; border-color:var(--kt-blue);
}
.kt-cat-item.kt-open > .kt-cat-row .kt-cat-name { font-weight:700; color:var(--kt-blue); }
.kt-cat-item.kt-open > .kt-cat-row .kt-cat-toggle { color:var(--kt-blue); }

/* ===== 分页“查看更多 / View More”按钮（双语） ===== */
.woocommerce-pagination { margin:24px 0; }
.woocommerce-pagination ul.page-numbers { display:flex; gap:8px; list-style:none; padding:0; justify-content:center; flex-wrap:wrap; }
.woocommerce-pagination .page-numbers {
    display:inline-block; min-width:34px; padding:8px 12px;
    border:1px solid #ddd; border-radius:4px; color:#333; text-decoration:none; font-size:14px;
}
.woocommerce-pagination .page-numbers.current { background:var(--kt-blue); border-color:var(--kt-blue); color:#fff; }
.woocommerce-pagination .page-numbers:hover { border-color:var(--kt-blue); color:var(--kt-blue); }
.woocommerce-pagination .next {
    background: var(--kt-blue); color:#fff !important; border-color:var(--kt-blue);
    padding:10px 24px; font-weight:600;
}
.woocommerce-pagination .next:hover { background:#001f7a; color:#fff !important; }

/* ===== 隐藏 Astra 默认页脚，替换为 AMOParts 式页脚 ===== */
.site-footer,
#colophon,
.ast-footer,
.ast-footer-copyright,
.ast-footer-social,
.ast-small-footer,
.footer-adv,
.ast-fixed-footer { display:none !important; }
.kt-site-footer { background:#f7f7f7; color:#555; font-size:14px; margin-top:0; }
.kt-footer-inner {
    max-width:1440px !important; margin:0 auto; padding:50px 20px;
    display:grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap:40px;
}
.kt-footer-col h4 {
    font-size:14px; font-weight:700; color:#111; text-transform:uppercase; letter-spacing:.5px;
    margin:0 0 18px;
}
.kt-footer-col ul { list-style:none; margin:0; padding:0; }
.kt-footer-col li { margin-bottom:10px; }
.kt-footer-col a { color:#666; text-decoration:none; transition:color .2s; }
.kt-footer-col a:hover { color:var(--kt-blue); }
.kt-footer-brand .kt-footer-logo { display:inline-block; margin-bottom:15px; }
.kt-footer-brand .kt-footer-logo img { max-height:55px; width:auto; }
.kt-footer-logo-text { font-size:20px; margin:0 0 15px; }
.kt-footer-logo-text a { color:#111; text-decoration:none; }
.kt-footer-contact p { margin:0 0 10px; display:flex; align-items:center; gap:8px; color:#666; font-size:13px; }
.kt-footer-contact .dashicons { color:var(--kt-blue); font-size:16px; width:16px; height:16px; }
.kt-footer-contact a { color:#666; text-decoration:none; }
.kt-footer-contact a:hover { color:var(--kt-blue); }

.kt-footer-bottom { background:#fff; border-top:1px solid #e5e5e5; padding:20px; font-size:12px; color:#888; }
.kt-footer-bottom-inner {
    max-width:1440px !important; margin:0 auto;
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:15px;
}
.kt-footer-disclaimer { flex:1 1 100%; margin:0 0 10px; text-align:center; line-height:1.6; }
.kt-footer-legal a { color:#666; text-decoration:none; margin:0 6px; }
.kt-footer-legal a:hover { color:var(--kt-blue); }
.kt-footer-legal a:first-child { margin-left:0; }
.kt-footer-copy { margin-left:12px; color:#999; }
.kt-footer-payments { display:flex; gap:8px; flex-wrap:wrap; }
.pay-icon {
    display:inline-flex; align-items:center; justify-content:center; min-width:48px;
    padding:3px 8px; border-radius:3px; font-size:11px; font-weight:700; color:#fff; background:#999;
}
.pay-visa { background:#1a1f71; }
.pay-mc { background:#eb001b; }
.pay-amex { background:#2e77bc; }
.pay-disc { background:#ff6000; }
.pay-paypal { background:#003087; }

/* ===== 页脚上方 CTA 条（克莱因蓝版） ===== */
.kt-cta-bar {
    position:relative;
    background:var(--kt-blue);
    color:#fff; text-align:center; padding:45px 20px 0;
}
.kt-cta-overlay { display:none; }
.kt-cta-inner {
    position:relative; z-index:1;
    max-width:900px !important; margin:0 auto;
    display:flex; flex-direction:column; align-items:center; gap:12px;
}
.kt-cta-title {
    font-size:34px; font-weight:800; line-height:1.15;
    text-transform:uppercase; letter-spacing:.5px; margin:0;
    color:#fff;
}
.kt-cta-desc {
    font-size:15px; line-height:1.6; color:rgba(255,255,255,.85);
    max-width:760px; margin:0;
}
.kt-cta-actions { display:flex; gap:16px; flex-wrap:wrap; justify-content:center; margin-top:6px; }
.kt-cta-btn {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:160px; height:44px; padding:0 24px; border-radius:3px;
    font-size:15px; font-weight:700; text-decoration:none; text-transform:capitalize;
    transition:all .2s ease; letter-spacing:.3px;
}
.kt-cta-btn-primary {
    background:#FFC107; color:#002FA7; border:2px solid #FFC107;
}
.kt-cta-btn-primary:hover { background:#ffdb4d; border-color:#ffdb4d; color:#002FA7; }
.kt-cta-btn-outline {
    background:transparent; color:#fff; border:2px solid #fff;
}
.kt-cta-btn-outline:hover { background:#fff; color:var(--kt-blue); }
.kt-cta-whatsapp {
    position:relative; z-index:1;
    background:#FFC107; color:#002FA7;
    margin-top:40px; margin-left:-20px; margin-right:-20px;
    padding:12px 30px; font-size:15px; font-weight:600;
    display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap;
}
.kt-cta-whatsapp span { text-transform:uppercase; letter-spacing:.8px; }
.kt-cta-whatsapp .kt-cta-whatsapp-btn,
.kt-cta-whatsapp-btn {
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
    gap:8px !important;
    min-width:150px !important; height:38px !important; padding:0 20px !important; border-radius:999px !important;
    background:#25D366 !important; color:#fff !important; text-decoration:none !important;
    font-size:14px !important; font-weight:700 !important; letter-spacing:.3px !important;
    box-shadow:0 4px 10px rgba(37,211,102,.35) !important;
    transition:all .2s ease !important;
}
.kt-cta-whatsapp .kt-cta-whatsapp-btn svg,
.kt-cta-whatsapp-btn svg {
    width:18px !important; height:18px !important; flex-shrink:0 !important;
    fill:currentColor !important;
}
.kt-cta-whatsapp .kt-cta-whatsapp-btn:hover,
.kt-cta-whatsapp-btn:hover { background:#128C7E !important; color:#fff !important; box-shadow:0 6px 14px rgba(37,211,102,.45) !important; }

@media (max-width:921px) {
    .kt-cta-bar { padding-top:40px; }
    .kt-cta-title { font-size:28px; }
    .kt-cta-desc { font-size:15px; }
    .kt-cta-whatsapp { margin-top:35px; }
}
@media (max-width:544px) {
    .kt-cta-bar { padding-top:35px; }
    .kt-cta-title { font-size:23px; }
    .kt-cta-actions { flex-direction:column; align-items:stretch; width:100%; max-width:340px; }
    .kt-cta-btn { width:100%; }
    .kt-cta-whatsapp { font-size:14px; padding:14px 20px; }
}

@media (max-width:921px) {
    .kt-footer-inner { grid-template-columns: 1fr 1fr; gap:30px; padding:40px 20px; }
    .kt-footer-brand { grid-column:1 / -1; }
}
@media (max-width:544px) {
    .kt-footer-inner { grid-template-columns: 1fr; gap:25px; }
    .kt-footer-bottom-inner { flex-direction:column; text-align:center; }
    .kt-footer-legal { margin-bottom:8px; }
}

/* ===== /wholesale/ RFQ 页面整体（AMOParts 风格） ===== */
.page-id-36 .site-content,
.page-id-36 #primary {
    background:#eee;
}
.page-id-36 .entry-header,
.page-id-36 .entry-title {
    display:none;
}
.page-id-36 .entry-content {
    max-width:1100px; margin:0 auto; padding:50px 20px 70px;
    background:transparent;
}
.kt-rfq-hero {
    text-align:center; margin-bottom:30px;
}
.kt-rfq-hero h1 {
    font-size:36px; font-weight:800; color:#222;
    text-transform:capitalize; letter-spacing:.3px; margin:0 0 6px;
}
.kt-rfq-hero h2 {
    font-size:22px; font-weight:700; color:#222; margin:0 0 22px;
}
.kt-rfq-hero h2 span { color:#FFC107; }
.kt-rfq-intro {
    border:2px dotted #999; background:#e6e6e6;
    padding:22px 28px; margin:0 auto; max-width:1000px;
    text-align:center;
}
.kt-rfq-intro p { margin:0; color:#222; line-height:1.6; }
.kt-rfq-intro .kt-rfq-lead {
    font-size:16px; font-weight:700; margin-bottom:10px;
}
.kt-rfq-intro p em {
    font-size:15px; color:#444;
}

/* 表单 */
.page-id-36 .wpcf7 {
    margin-top:30px;
}
.kt-rfq-row { display:flex; gap:20px; margin-bottom:0; }
.kt-rfq-col { flex:1 1 50%; margin-bottom:0; }
.kt-rfq-full { width:100%; margin-bottom:0; }
.kt-rfq-submit { text-align:center; margin-top:10px; }
.page-id-36 .wpcf7-form p { margin-bottom:16px; }
.page-id-36 .wpcf7-form label { font-size:14px; font-weight:600; color:#222; }
.page-id-36 .wpcf7-form label .wpcf7-form-control-wrap { display:block; }
.page-id-36 .wpcf7-form input[type="text"],
.page-id-36 .wpcf7-form input[type="email"],
.page-id-36 .wpcf7-form input[type="tel"],
.page-id-36 .wpcf7-form input[type="number"],
.page-id-36 .wpcf7-form textarea,
.page-id-36 .wpcf7-form input[type="file"] {
    width:100%; margin-top:6px; padding:10px 12px; border:1px solid #ccc; border-radius:3px;
    font-size:14px; background:#fff;
}
.page-id-36 .wpcf7-form textarea { min-height:120px; resize:vertical; }
.kt-rfq-submit input[type="submit"],
.kt-rfq-submit .wpcf7-submit {
    min-width:220px; height:50px; padding:0 36px; border:none; border-radius:3px;
    background:var(--kt-blue); color:#fff; font-size:15px; font-weight:700;
    cursor:pointer; transition:background .2s;
}
.kt-rfq-submit input[type="submit"]:hover,
.kt-rfq-submit .wpcf7-submit:hover { background:#001a5c; }

/* 必填星号红色 */
.kt-rfq-req { color:#e00; font-weight:700; margin-left:2px; }

@media (max-width:768px) {
    .kt-rfq-row { flex-direction:column; gap:0; }
    .kt-rfq-hero h1 { font-size:28px; }
    .kt-rfq-hero h2 { font-size:18px; }
    .kt-rfq-intro { padding:18px 20px; }
}
