/*
 * T02 现代外贸站全局样式
 * 目标：克制、专业、成品感，适配 Elementor + WooCommerce
 */

:root {
  --t02-bg: #f4f7fb;
  --t02-surface: #ffffff;
  --t02-surface-2: #f8fbff;
  --t02-text: #123047;
  --t02-text-2: #4c6275;
  --t02-muted: #7b8b99;
  --t02-line: #d9e3ec;
  --t02-primary: #0f3a5b;
  --t02-primary-2: #184f7a;
  --t02-accent: #d7b46a;
  --t02-accent-2: #c99a3f;
  --t02-shadow: 0 18px 45px rgba(16, 58, 91, 0.08);
  --t02-shadow-2: 0 12px 30px rgba(16, 58, 91, 0.10);
  --t02-radius: 18px;
  --t02-radius-sm: 12px;
  --t02-max: 1240px;
}

html {
  scroll-behavior: smooth;
  background: var(--t02-bg);
}

body.wp-theme-hello-elementor {
  background: var(--t02-bg);
  color: var(--t02-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  overflow-x: clip;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.elementor,
.elementor-section,
.e-con,
.e-con-inner,
.owl-carousel,
.owl-stage-outer,
.swiper,
.swiper-container,
.elementor-image-carousel-wrapper {
  max-width: 100%;
}

.owl-carousel,
.owl-stage-outer,
.swiper,
.swiper-container,
.elementor-image-carousel-wrapper {
  overflow: hidden !important;
}

.timeline-section,
.timeline-carousel-hold,
.timeline-section .grid-container,
.elementor-widget-baijia_timeline,
.elementor-widget-baijia_timeline .elementor-widget-container,
.elementor-widget-baijia_timeline .owl-carousel,
.elementor-widget-baijia_timeline .owl-stage-outer {
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible;
}

body .site,
body .elementor,
body .elementor-page,
body .woocommerce,
body .site-main {
  background: transparent;
}

.elementor-section,
.elementor-column,
.elementor-widget-wrap,
.e-con,
.e-con-inner {
  box-sizing: border-box;
}

/* 全局内容宽度 */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner,
.site-header .header-inner,
.site-main,
.woocommerce-page .site-main,
.archive .site-main,
.single-product .site-main,
.page .site-main {
  max-width: var(--t02-max);
  margin-left: auto;
  margin-right: auto;
}

.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
  padding-left: 24px;
  padding-right: 24px;
}

/* 标题 */
h1, h2, h3, h4, h5, h6,
.elementor-heading-title {
  color: var(--t02-text);
  letter-spacing: -0.02em;
}

.elementor-heading-title {
  line-height: 1.15;
}

/* 按钮 */
.elementor-button,
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 700;
  box-shadow: none;
  transition: all .22s ease;
}

.elementor-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(135deg, var(--t02-primary), var(--t02-primary-2));
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.06);
}

.elementor-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 58, 91, .18);
  filter: brightness(1.03);
}

.elementor-button.elementor-size-sm {
  padding: 12px 22px;
}

/* 卡片和区块 */
.elementor-widget-container,
.e-con,
.woocommerce ul.products li.product,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce .woocommerce-tabs,
.woocommerce .related.products,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.yhy-modern-card,
.yhy-modern-panel {
  border-radius: var(--t02-radius);
}

.yhy-modern-card,
.yhy-modern-panel,
.woocommerce ul.products li.product,
.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce .woocommerce-tabs,
.woocommerce .related.products,
.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.page-id-379 .elementor-widget-google_maps,
.page-id-460 .elementor-widget-image,
.single-product .elementor-widget-woocommerce-product-gallery,
.single-product .elementor-widget-woocommerce-product-short-description,
.post-type-archive-application .elementor-widget-shortcode,
.page-id-3227 .elementor-widget-shortcode,
.page-id-3263 .elementor-widget-shortcode {
  background: var(--t02-surface);
  border: 1px solid var(--t02-line);
  box-shadow: var(--t02-shadow);
}

/* 统一间距 */
.elementor-section {
  padding-top: 24px;
  padding-bottom: 24px;
}

.elementor-top-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.elementor-section:first-child,
.page-id-65 .elementor-section:first-child,
.single-product .elementor-section:first-child,
.tax-product_cat .elementor-section:first-child,
.post-type-archive-product .elementor-section:first-child {
  padding-top: 84px;
}

/* Elementor 全站页头 */
.elementor-location-header,
.elementor-location-header .e-con,
.elementor-location-header .e-con-inner,
.elementor-location-header .elementor-widget,
.elementor-location-header .elementor-widget-container {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.elementor-location-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 249, 252, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(190, 205, 220, .62);
}

.t02-eh-header {
  padding: 12px 22px;
}

.t02-eh-shell {
  width: min(1280px, calc(100vw - 44px));
  margin: 0 auto;
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(250px, 1fr);
  align-items: center;
  gap: 26px;
  padding: 11px 14px 11px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(204, 216, 229, .92);
  box-shadow: 0 18px 45px rgba(16, 42, 68, .09);
}

.t02-eh-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--t02-text);
  text-decoration: none;
}

.t02-eh-logo-mark {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .02em;
  background: linear-gradient(135deg, #0e3858, #1c6d9b);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 12px 28px rgba(15, 58, 91, .20);
}

.t02-eh-brand-copy strong,
.t02-eh-brand-copy em {
  display: block;
  font-style: normal;
  line-height: 1.2;
}

.t02-eh-brand-copy strong {
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.t02-eh-brand-copy em {
  margin-top: 3px;
  color: var(--t02-text-2);
  font-size: 12px;
  letter-spacing: .02em;
}

.t02-eh-nav {
  display: inline-flex;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: #f2f6fa;
  border: 1px solid rgba(217, 227, 236, .78);
}

.t02-eh-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: #28455b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.t02-eh-nav a:hover {
  color: var(--t02-primary);
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 58, 91, .08);
}

.t02-eh-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.t02-eh-link {
  color: var(--t02-text-2);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.t02-eh-quote,
.t02-footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, #0f3a5b, #1a6795);
  box-shadow: 0 14px 28px rgba(15, 58, 91, .20);
  transition: transform .2s ease, box-shadow .2s ease;
}

.t02-eh-quote:hover,
.t02-footer-cta-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 58, 91, .25);
}

/* 兼容旧默认页头，避免和 Elementor Header 重叠 */
body.elementor-template-full-width .site-header,
body.elementor-page .site-header,
body .site-header:not(.t02-eh-header) {
  display: none;
}

/* 首页成品级骨架 */
.page-id-65 .elementor-element-hero-main {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(215,180,106,.18), transparent 28%),
    linear-gradient(135deg, #0d2740 0%, #123e62 52%, #0b2034 100%) !important;
  box-shadow: 0 30px 70px rgba(8, 23, 37, 0.28);
}

.page-id-65 .elementor-element-hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .35;
  pointer-events: none;
}

.page-id-65 .elementor-element-hero-main > .e-con-inner {
  position: relative;
  z-index: 1;
}

.page-id-65 .t02-home-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.page-id-65 .t02-home-band__item {
  background: #fff;
  border: 1px solid var(--t02-line);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--t02-shadow);
}

.page-id-65 .t02-home-band__item strong {
  display: block;
  font-size: 16px;
  color: var(--t02-primary);
  margin-bottom: 6px;
}

.page-id-65 .t02-home-band__item span {
  color: var(--t02-text-2);
  font-size: 14px;
}

.page-id-65 .t02-grid-4,
.page-id-65 .t02-grid-3 {
  display: grid;
  gap: 20px;
}

.page-id-65 .t02-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-id-65 .t02-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-id-65 .t02-home-card,
.page-id-65 .t02-scenario-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--t02-line);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: var(--t02-shadow);
  color: var(--t02-text);
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.page-id-65 .t02-home-card:hover,
.page-id-65 .t02-scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(15,58,91,.12);
  border-color: rgba(23,79,122,.22);
}

.page-id-65 .t02-home-card__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,58,91,.08);
  color: var(--t02-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.page-id-65 .t02-home-card strong,
.page-id-65 .t02-scenario-card strong {
  font-size: 20px;
  line-height: 1.2;
  color: var(--t02-text);
}

.page-id-65 .t02-home-card em,
.page-id-65 .t02-scenario-card span {
  font-style: normal;
  color: var(--t02-text-2);
  font-size: 14px;
  line-height: 1.7;
}

.page-id-65 .t02-stat-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.page-id-65 .t02-stat-board > div {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--t02-line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--t02-shadow);
}

.page-id-65 .t02-stat-board strong {
  display: block;
  color: var(--t02-primary);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.page-id-65 .t02-stat-board span {
  color: var(--t02-text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* Elementor 全站页脚 */
.elementor-location-footer,
.elementor-location-footer .e-con,
.elementor-location-footer .e-con-inner,
.elementor-location-footer .elementor-widget,
.elementor-location-footer .elementor-widget-container {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.elementor-location-footer {
  margin-top: 70px;
}

.t02-eh-footer {
  position: relative;
  overflow: hidden;
  padding: 42px 22px 26px;
  color: rgba(255,255,255,.86);
  background:
    radial-gradient(circle at 12% 0%, rgba(215, 180, 106, .16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(47, 129, 184, .24), transparent 34%),
    linear-gradient(145deg, #07111e 0%, #0c2338 54%, #06101c 100%);
}

.t02-eh-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .35;
  pointer-events: none;
}

.t02-eh-footer > * {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 44px));
  margin-left: auto;
  margin-right: auto;
}

.t02-footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 65px rgba(0,0,0,.18);
}

.t02-footer-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #e8c983;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.t02-footer-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.t02-footer-cta p {
  margin: 0;
  max-width: 760px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
}

.t02-footer-cta-btn {
  min-height: 50px;
  padding: 0 24px;
  background: linear-gradient(135deg, #d7b46a, #b9822f);
  color: #101720 !important;
  box-shadow: 0 16px 34px rgba(215,180,106,.18);
}

.t02-footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(4, minmax(150px, 1fr));
  gap: 34px;
  padding: 48px 0 34px;
}

.t02-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
  text-decoration: none;
}

.t02-footer-logo span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #dce8f1);
  color: #0f3a5b;
  font-weight: 900;
  letter-spacing: .02em;
}

.t02-footer-logo strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.t02-footer-brand p,
.t02-footer-contact p {
  margin: 0 0 16px;
  color: rgba(255,255,255,.70);
  font-size: 14px;
  line-height: 1.75;
}

.t02-footer-brand p {
  max-width: 390px;
}

.t02-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.t02-footer-badges span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-size: 12px;
  font-weight: 700;
}

.t02-footer-socials {
  display: flex;
  gap: 10px;
}

.t02-footer-socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.t02-footer-col h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.t02-footer-col a {
  display: table;
  margin: 0 0 10px;
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.t02-footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.t02-footer-contact strong {
  color: #fff;
  font-size: 13px;
}

.t02-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.58);
  font-size: 13px;
}

.t02-footer-bottom p {
  margin: 0;
}

.t02-footer-bottom nav {
  display: flex;
  gap: 18px;
}

.t02-footer-bottom a {
  color: rgba(255,255,255,.68);
  text-decoration: none;
}

/* Application 归档/单页成品化 */
.post-type-archive-application .yhy-application-archive-hero,
.post-type-archive-application .yhy-application-archive-grid,
.single-application .yhy-app-hero,
.single-application .yhy-app-layout {
  max-width: 1236px;
  margin-left: auto;
  margin-right: auto;
}

.post-type-archive-application .yhy-application-archive-hero {
  margin-top: 28px;
  border: 0 !important;
  box-shadow: var(--t02-shadow);
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 161, 230, .20), transparent 34%),
    linear-gradient(135deg, #082842 0%, #0e3d61 56%, #105279 100%);
  color: #fff;
  border-radius: 34px;
  padding: 58px;
}

.post-type-archive-application .yhy-application-archive-hero h1,
.post-type-archive-application .yhy-application-archive-hero p,
.post-type-archive-application .yhy-application-archive-hero span,
.post-type-archive-application .yhy-application-archive-hero strong {
  color: #fff;
}

.post-type-archive-application .yhy-application-archive-hero__meta > div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.post-type-archive-application .yhy-application-archive-grid {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-top: 34px;
}

.post-type-archive-application .yhy-application-cards {
  gap: 24px;
}

.post-type-archive-application .yhy-application-card {
  border: 1px solid var(--t02-line) !important;
  border-radius: 26px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--t02-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.post-type-archive-application .yhy-application-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37,161,230,.38) !important;
  box-shadow: 0 28px 60px rgba(15,58,91,.16);
}

.post-type-archive-application .yhy-application-card__media {
  min-height: 156px;
  background:
    linear-gradient(135deg, rgba(37,161,230,.12), rgba(20,185,145,.10)),
    #f3f8fc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.post-type-archive-application .yhy-application-card__media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(37,161,230,.18);
  pointer-events: none;
}

.post-type-archive-application .yhy-application-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-type-archive-application .yhy-application-card__body {
  padding: 24px;
}

.post-type-archive-application .yhy-application-card__meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(37,161,230,.10);
  color: var(--t02-accent-2);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 7px 11px;
}

.post-type-archive-application .yhy-application-card h2,
.post-type-archive-application .yhy-application-card h2 a {
  color: var(--t02-text) !important;
  text-decoration: none;
}

.post-type-archive-application .yhy-application-card__excerpt,
.post-type-archive-application .yhy-application-card__excerpt p {
  color: var(--t02-text-2);
}

.post-type-archive-application .yhy-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--t02-text);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.post-type-archive-application [class*="whatsapp"],
.post-type-archive-application .t02-contact-float,
.post-type-archive-application .t02-floating-contact {
  transform: scale(.9);
  transform-origin: right center;
}

@media (max-width: 768px) {
  .post-type-archive-application .yhy-application-archive-hero {
    padding: 34px 22px;
    border-radius: 24px;
    margin-top: 16px;
  }
}

/* Shop / 产品归档页成品化 */
.post-type-archive-product .t02-floating-contact,
.woocommerce-shop .t02-floating-contact,
.page-id-379 .t02-floating-contact,
body:has(.t02-product-archive) .t02-floating-contact {
  right: 14px;
}

.woocommerce-shop .wa__btn_popup,
.post-type-archive-product .wa__btn_popup,
.page-id-379 .wa__btn_popup,
.woocommerce-shop [class*="whatsapp"],
.post-type-archive-product [class*="whatsapp"] {
  z-index: 30 !important;
}

.woocommerce-shop .site-main,
.post-type-archive-product .site-main,
.page-id-379 .site-main {
  overflow-x: clip;
}

.woocommerce-shop .elementor-section,
.post-type-archive-product .elementor-section,
.page-id-379 .elementor-section,
.woocommerce-shop .e-con,
.post-type-archive-product .e-con,
.page-id-379 .e-con {
  max-width: 100%;
}

.woocommerce-shop .elementor-widget-heading .elementor-heading-title,
.post-type-archive-product .elementor-widget-heading .elementor-heading-title,
.page-id-379 .elementor-widget-heading .elementor-heading-title {
  color: var(--t02-text);
  letter-spacing: -0.035em;
}

.woocommerce-shop .elementor-widget-text-editor,
.post-type-archive-product .elementor-widget-text-editor,
.page-id-379 .elementor-widget-text-editor,
.woocommerce-shop .elementor-widget-text-editor p,
.post-type-archive-product .elementor-widget-text-editor p,
.page-id-379 .elementor-widget-text-editor p {
  color: var(--t02-text-2);
}

.woocommerce-shop .elementor-button,
.post-type-archive-product .elementor-button,
.page-id-379 .elementor-button,
.woocommerce-shop a[class*="button"],
.post-type-archive-product a[class*="button"] {
  border-radius: 999px !important;
  font-weight: 800;
}

.woocommerce-shop .elementor-widget-container:has(input[type="search"]),
.post-type-archive-product .elementor-widget-container:has(input[type="search"]),
.page-id-379 .elementor-widget-container:has(input[type="search"]) {
  background: #fff;
  border: 1px solid var(--t02-line);
  border-radius: 24px;
  box-shadow: var(--t02-shadow);
}

.woocommerce-shop input[type="search"],
.post-type-archive-product input[type="search"],
.page-id-379 input[type="search"],
.woocommerce-shop input[type="text"],
.post-type-archive-product input[type="text"] {
  border: 1px solid var(--t02-line) !important;
  border-radius: 999px !important;
  padding: 13px 18px !important;
  background: #f8fbff !important;
  color: var(--t02-text) !important;
}

.woocommerce-shop aside,
.post-type-archive-product aside,
.page-id-379 aside,
.woocommerce-shop .elementor-widget-container:has(input[type="search"]),
.post-type-archive-product .elementor-widget-container:has(input[type="search"]) {
  position: relative;
}

.woocommerce-shop main a,
.post-type-archive-product main a,
.page-id-379 main a {
  text-decoration: none;
}

.woocommerce-shop main > a,
.post-type-archive-product main > a,
.page-id-379 main > a,
.woocommerce-shop .products a,
.post-type-archive-product .products a {
  border-radius: 22px;
}

.woocommerce-shop img[alt="Placeholder"],
.post-type-archive-product img[alt="Placeholder"],
.page-id-379 img[alt="Placeholder"] {
  background: linear-gradient(135deg, #f4f8fc 0%, #e8f0f7 100%);
  border: 1px solid var(--t02-line);
  padding: 18px;
}

.woocommerce-shop .elementor-widget-container:empty,
.post-type-archive-product .elementor-widget-container:empty,
.page-id-379 .elementor-widget-container:empty {
  display: none !important;
}

.woocommerce-shop .elementor-element:has(.elementor-heading-title),
.post-type-archive-product .elementor-element:has(.elementor-heading-title),
.page-id-379 .elementor-element:has(.elementor-heading-title) {
  min-width: 0;
}

@media (min-width: 1180px) {
  .woocommerce-shop .t02-contact-float,
  .post-type-archive-product .t02-contact-float,
  .page-id-379 .t02-contact-float,
  .woocommerce-shop [class*="floating"],
  .post-type-archive-product [class*="floating"] {
    transform: scale(.92);
    transform-origin: right center;
  }
}

@media (max-width: 1024px) {
  .t02-contact-float,
  .t02-floating-contact,
  [class*="whatsapp"] {
    bottom: 16px !important;
    right: 12px !important;
  }
}

/* About 页局部成品化：团队、证书、合作伙伴、工厂访问区 */
.page-id-460 .elementor-heading-title {
  color: var(--t02-text);
}

.page-id-460 .elementor-widget-heading .elementor-heading-title {
  letter-spacing: -0.03em;
}

.page-id-460 .elementor-widget-text-editor,
.page-id-460 .elementor-widget-text-editor p {
  color: var(--t02-text-2);
}

.page-id-460 .elementor-widget-image,
.page-id-460 .elementor-widget-container:has(> figure),
.page-id-460 .elementor-widget-container:has(img) {
  overflow: hidden;
}

.page-id-460 .elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
}

.page-id-460 .elementor-widget-baijia_timeline .elementor-widget-container,
.page-id-460 .elementor-widget-baijia_timeline .timeline-section,
.page-id-460 .elementor-widget-baijia_timeline .timeline-carousel-hold {
  border-radius: 28px;
}

.page-id-460 .elementor-widget-baijia_timeline .timeline-section {
  padding: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid var(--t02-line);
  box-shadow: var(--t02-shadow);
}

.page-id-460 [class*="team"],
.page-id-460 .elementor-widget-heading + .elementor-widget-text-editor {
  color: var(--t02-text-2);
}

.page-id-460 .elementor-widget-heading h3,
.page-id-460 .elementor-widget-heading .elementor-heading-title,
.page-id-460 .elementor-widget-text-editor strong,
.page-id-460 .elementor-widget-text-editor b {
  color: var(--t02-text) !important;
}

.page-id-460 .swiper,
.page-id-460 .swiper-wrapper,
.page-id-460 .elementor-image-carousel-wrapper,
.page-id-460 .elementor-main-swiper {
  max-width: 100%;
}

.page-id-460 .elementor-widget-image-carousel .swiper-slide,
.page-id-460 .elementor-widget-image-carousel .swiper-slide-inner,
.page-id-460 .elementor-widget-image-carousel .swiper-slide-image {
  border-radius: 18px;
}

.page-id-460 .elementor-widget-image-carousel .swiper-slide-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--t02-line);
  box-shadow: var(--t02-shadow);
}

.page-id-460 .elementor-widget-image-carousel img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: saturate(.92) contrast(1.02);
}

.page-id-460 .elementor-widget-icon-box,
.page-id-460 .elementor-widget-image-box,
.page-id-460 .elementor-widget-counter,
.page-id-460 .elementor-widget-testimonial,
.page-id-460 .elementor-widget-call-to-action,
.page-id-460 .elementor-widget-container:has(.elementor-icon-box-wrapper),
.page-id-460 .elementor-widget-container:has(.elementor-image-box-wrapper) {
  border-radius: 24px;
}

.page-id-460 .elementor-widget-container:has(.elementor-icon-box-wrapper),
.page-id-460 .elementor-widget-container:has(.elementor-image-box-wrapper) {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--t02-line);
  box-shadow: var(--t02-shadow);
}

.page-id-460 .elementor-icon-box-title,
.page-id-460 .elementor-image-box-title {
  color: var(--t02-text) !important;
}

.page-id-460 .elementor-icon-box-description,
.page-id-460 .elementor-image-box-description {
  color: var(--t02-text-2) !important;
}

.page-id-460 .elementor-button-link {
  box-shadow: 0 14px 28px rgba(15,58,91,.16);
}

.page-id-460 .elementor-element:has(.elementor-heading-title) {
  min-width: 0;
}

/* 内容块卡片 */
.page-id-460 .elementor-container,
.page-id-379 .elementor-container,
.single-product .elementor-container,
.page-id-3227 .elementor-container,
.page-id-3263 .elementor-container {
  max-width: 1300px;
}

.page-id-460 .elementor-widget-image,
.page-id-379 .elementor-widget-google_maps,
.single-product .elementor-widget-woocommerce-product-gallery,
.single-product .elementor-widget-woocommerce-product-short-description,
.single-product .elementor-widget-heading,
.page-id-3227 .elementor-widget-shortcode,
.page-id-3263 .elementor-widget-shortcode {
  border-radius: 20px;
}

@media (max-width: 1120px) {
  .t02-eh-shell {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .t02-eh-actions {
    justify-content: center;
  }
  .t02-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .elementor-section.elementor-section-boxed > .elementor-container,
  .e-con.e-con-boxed > .e-con-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .t02-eh-header {
    padding: 8px 10px;
  }
  .t02-eh-shell,
  .t02-eh-footer > * {
    width: min(100%, calc(100vw - 20px));
  }
  .t02-eh-shell {
    border-radius: 20px;
    gap: 12px;
  }
  .t02-eh-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .t02-eh-actions {
    width: 100%;
    flex-direction: column;
  }
  .t02-eh-quote {
    width: 100%;
  }
  .page-id-65 .t02-home-band,
  .page-id-65 .t02-grid-4,
  .page-id-65 .t02-grid-3,
  .page-id-65 .t02-stat-board,
  .t02-footer-cta,
  .t02-footer-main {
    grid-template-columns: 1fr;
  }
  .t02-footer-cta {
    padding: 24px;
  }
  .t02-footer-bottom {
    flex-direction: column;
  }
}
