:root {
  --ink: #141619;
  --graphite: #25292e;
  --steel: #66727d;
  --line: #d9dee1;
  --mist: #eef1f2;
  --paper: #f6f1e8;
  --white: #ffffff;
  --green: #2f6f5e;
  --brass: #c89a2f;
  --rust: #a8442f;
  --navy: #0d2e4f;
  --shadow: 0 18px 44px rgba(20, 22, 25, 0.12);
}

body .wp-site-blocks > header,
body header.wp-block-template-part,
body .wp-block-template-part:has(.wp-block-site-title),
body .entry-title,
body .wp-block-post-title {
  display: none !important;
}

body .wp-site-blocks,
body .wp-site-blocks > main,
body .entry-content,
body .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 800;
}

.top-note {
  display: none;
  justify-content: center;
  gap: 26px;
  padding: 8px 20px;
  background: var(--graphite);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(150px, 210px) 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 0 44px;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(10px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-text {
  display: grid;
  gap: 1px;
}

.logo-text strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
}

.logo-text span {
  display: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 21px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 800;
}

.main-nav a {
  padding: 28px 0 24px;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
  border-color: var(--brass);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.quick-contact {
  display: grid;
  gap: 1px;
  min-width: 154px;
  padding: 8px 12px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--white);
  color: var(--graphite);
}

.quick-contact strong {
  color: var(--green);
  font-size: 13px;
  line-height: 1.1;
}

.quick-contact span {
  color: var(--steel);
  font-size: 11px;
  line-height: 1.2;
}

.quick-contact:hover {
  border-color: var(--brass);
  box-shadow: 0 8px 18px rgba(20, 22, 25, 0.08);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.btn.primary {
  border-color: var(--brass);
  background: var(--brass);
  color: #171717;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.btn.whatsapp {
  border-color: var(--green);
  background: var(--white);
  color: var(--green);
}

.btn.full {
  width: 100%;
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
  min-height: calc(100vh - 116px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(246, 241, 232, 0.96), rgba(238, 241, 242, 0.94)),
    var(--paper);
}

.hero.compact {
  min-height: 470px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 64px 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 20px;
  color: var(--steel);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-top: 40px;
  border: 1px solid var(--line);
  background: var(--white);
}

.stat {
  min-height: 96px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.stat span {
  display: block;
  margin-top: 7px;
  color: var(--steel);
  font-size: 12px;
}

.hero-image {
  position: relative;
  min-height: 540px;
  padding: 44px 44px 44px 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 44px;
  bottom: 66px;
  z-index: 1;
  width: min(350px, calc(100% - 88px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 22, 25, 0.82);
  color: #ffffff;
}

.hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.page-hero {
  padding: 72px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.page-hero p {
  max-width: 680px;
  margin-top: 18px;
  color: var(--steel);
  font-size: 17px;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section {
  padding: 68px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  background: var(--graphite);
  color: #ffffff;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head > p {
  color: var(--steel);
  font-size: 16px;
}

.section-summary {
  display: grid;
  gap: 16px;
  color: var(--steel);
  font-size: 16px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dark .section-head > p,
.dark .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--graphite);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.dark .pill {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.category-grid,
.product-grid,
.proof-grid,
.news-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.site-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.site-link-card {
  min-height: 146px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-link-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
  box-shadow: 0 14px 30px rgba(20, 22, 25, 0.1);
}

.site-link-card span {
  display: block;
  margin-bottom: 30px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
}

.site-link-card p {
  margin-top: 10px;
  color: var(--steel);
  font-size: 13px;
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category,
.product-card,
.proof,
.news-card,
.value-card,
.spec-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  scroll-margin-top: 112px;
}

.product-card:target {
  border-color: var(--brass);
  box-shadow: 0 16px 34px rgba(20, 22, 25, 0.12);
}

.category img,
.product-card img,
.news-card img,
.value-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.category-body,
.product-body,
.news-body,
.value-body {
  padding: 20px;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
  gap: 0;
}

.category-body p,
.product-body p,
.news-body p,
.value-body p,
.proof p,
.spec-card p,
.contact-card p {
  margin-top: 10px;
  color: var(--steel);
  font-size: 14px;
}

.product-body p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.62;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 2px;
}

.product-actions .category-link {
  margin-top: 0;
}

.category-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.product-card.featured {
  grid-column: span 2;
}

.model-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--graphite);
  font-size: 13px;
}

.model-meta span {
  min-height: 46px;
  padding: 10px 12px;
  background: var(--mist);
  line-height: 1.35;
}

.catalog-grid .product-body {
  min-height: 360px;
}

.catalog-grid .product-body h3 {
  min-height: 48px;
}

.catalog-grid .product-body > p {
  min-height: 74px;
}

.catalog-grid .model-meta {
  margin-top: 20px;
}

.contact-strip {
  padding: 22px 44px;
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: #ffffff;
}

.contact-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.contact-strip p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-strip .btn {
  border-color: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

.contact-strip .btn.primary {
  border-color: var(--brass);
  color: #171717;
}

.sourcing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr);
  gap: 20px;
  align-items: stretch;
}

.sourcing-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.sourcing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sourcing-overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  background: rgba(20, 22, 25, 0.82);
}

.sourcing-overlay p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.application-list,
.spec-list {
  display: grid;
  gap: 14px;
}

.application,
.spec-row {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.application p,
.spec-row p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.proof {
  min-height: 230px;
  padding: 22px;
}

.proof-number {
  display: block;
  margin-bottom: 34px;
  color: var(--brass);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
}

.quote-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.quote-copy {
  padding: 34px;
  background: var(--graphite);
  color: #ffffff;
}

.quote-copy .eyebrow,
.quote-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.quote-copy h2 {
  max-width: 720px;
}

.quote-copy > p {
  margin-top: 16px;
  max-width: 760px;
}

.quote-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.step {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.step span {
  color: var(--brass);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.step strong {
  display: block;
  margin-top: 8px;
}

.form-preview {
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.xinyi-form-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.xinyi-form-panel h3 {
  margin: 0;
  color: var(--graphite);
  font-size: 24px;
}

.form-intro {
  margin: 0;
  color: var(--steel);
  font-size: 15px;
}

.xinyi-form-embed {
  margin-top: 4px;
}

.xinyi-form-embed .fluentform,
.xinyi-form-embed form {
  margin: 0;
}

.xinyi-form-embed .ff-el-group {
  margin-bottom: 14px;
}

.xinyi-form-embed .ff-el-input--label,
.xinyi-form-embed .ff-el-form-check-label {
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.xinyi-form-embed .ff-el-form-control,
.xinyi-form-embed input[type="text"],
.xinyi-form-embed input[type="email"],
.xinyi-form-embed input[type="number"],
.xinyi-form-embed input[type="tel"],
.xinyi-form-embed select,
.xinyi-form-embed textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.xinyi-form-embed textarea {
  min-height: 118px;
}

.xinyi-form-embed .ff-el-form-control:focus,
.xinyi-form-embed input:focus,
.xinyi-form-embed select:focus,
.xinyi-form-embed textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 111, 94, 0.12);
  outline: none;
}

.xinyi-form-embed .ff-btn-submit,
.xinyi-form-embed button[type="submit"],
.xinyi-form-embed input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.xinyi-form-embed .ff-btn-submit:hover,
.xinyi-form-embed button[type="submit"]:hover,
.xinyi-form-embed input[type="submit"]:hover {
  background: #245b4d;
  border-color: #245b4d;
}

.xinyi-form-embed .ff-el-is-error .ff-el-form-control {
  border-color: var(--rust);
}

.xinyi-form-embed .error,
.xinyi-form-embed .text-danger,
.xinyi-form-embed .ff-el-is-error .error {
  color: var(--rust);
  font-size: 12px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-method {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-method span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-method strong {
  color: var(--graphite);
  font-size: 16px;
  overflow-wrap: anywhere;
}

.form-embed-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed var(--green);
  background: #f3faf7;
  color: var(--graphite);
  font-size: 14px;
}

.form-embed-note a {
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-directory {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.directory-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.directory-nav h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.directory-nav a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.directory-nav a:hover {
  border-color: var(--green);
  color: var(--green);
}

.directory-nav span {
  color: var(--steel);
  font-size: 12px;
}

.field {
  min-height: 42px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 14px;
}

.field.large {
  min-height: 112px;
}

.notice {
  margin-top: 16px;
  padding: 14px;
  border-left: 4px solid var(--rust);
  background: #fff7f3;
  color: var(--graphite);
  font-size: 14px;
}

.spec-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.spec-card {
  padding: 24px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--graphite);
  color: #ffffff;
  font-size: 13px;
  text-transform: uppercase;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 24px;
  align-items: center;
}

.split-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand-logo-frame {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.brand-logo-frame img {
  width: min(420px, 100%);
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}

.value-card {
  min-height: 220px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  padding: 22px;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(360px, 0.9fr);
  gap: 30px;
  align-items: center;
}

.final-cta img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
}

.final-cta-copy p {
  margin-top: 14px;
  color: var(--steel);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1fr) auto;
  gap: 30px;
  padding: 36px 44px;
  background: #17191c;
  color: #ffffff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
}

.footer-brand span {
  display: none;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-note {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.xinyi-rfq-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.xinyi-rfq-widget {
  position: fixed;
  top: auto !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 30;
  display: block !important;
  width: 340px !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(37, 41, 46, 0.96);
  color: #ffffff;
  box-shadow: var(--shadow);
  transform: none !important;
}

body .wp-site-blocks .wp-block-post-content > div.xinyi-rfq-widget,
body .wp-site-blocks .entry-content > div.xinyi-rfq-widget,
html body div.xinyi-rfq-widget {
  position: fixed !important;
  inset: auto 24px 24px auto !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 340px !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  display: block !important;
  transform: none !important;
  z-index: 999999 !important;
}

.xinyi-rfq-toggle:checked + .xinyi-rfq-widget {
  display: none;
}

.xinyi-rfq-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.xinyi-rfq-widget h3 {
  max-width: 250px;
  font-size: 19px;
}

.xinyi-rfq-widget p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.xinyi-rfq-widget .btn {
  margin-top: 16px;
  width: 100%;
}

.xinyi-rfq-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 800;
}

.xinyi-chat-toggle {
  position: fixed !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.xinyi-chat-widget,
body .wp-site-blocks .wp-block-post-content > div.xinyi-chat-widget,
body .wp-site-blocks .entry-content > div.xinyi-chat-widget,
html body div.xinyi-chat-widget {
  position: fixed !important;
  inset: auto 24px 24px auto !important;
  left: auto !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 999999 !important;
  display: grid !important;
  gap: 10px;
  width: 310px !important;
  max-width: calc(100vw - 32px) !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(37, 41, 46, 0.96);
  color: #ffffff;
  box-shadow: var(--shadow);
  box-sizing: border-box !important;
  transform: none !important;
}

.xinyi-chat-toggle:checked + .xinyi-chat-widget {
  display: none !important;
}

.xinyi-chat-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.xinyi-chat-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(200, 154, 47, 0.18);
  color: var(--brass);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.xinyi-chat-widget h3 {
  max-width: 230px;
  font-size: 18px;
}

.xinyi-chat-widget p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.xinyi-chat-widget .btn {
  width: 100%;
  min-height: 40px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav a {
    padding: 0 0 14px;
  }

  .hero,
  .page-hero-inner,
  .quote-band,
  .sourcing-grid,
  .split-feature,
  .final-cta,
  .spec-layout,
  .product-directory {
    grid-template-columns: 1fr;
  }

  .directory-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-nav h3 {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 0;
  }

  .hero-image {
    padding: 0 44px 44px;
  }

  .hero-image img {
    min-height: 420px;
    border-left: 0;
  }

  .category-grid,
  .product-grid,
  .proof-grid,
  .news-grid,
  .value-grid,
  .site-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-grid .product-body {
    min-height: 0;
  }

  .catalog-grid .product-body h3,
  .catalog-grid .product-body > p {
    min-height: 0;
  }

  .contact-strip-inner {
    grid-template-columns: 1fr;
  }

  .contact-strip-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .top-note {
    display: none;
  }

  .site-header,
  .section,
  .page-hero,
  .contact-strip,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 16px;
    overflow-x: visible;
  }

  .main-nav a {
    padding-bottom: 8px;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .quick-contact {
    min-width: 100%;
  }

  .language-pill {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-content {
    padding: 42px 20px 38px;
  }

  .hero-image {
    min-height: 0;
    padding: 0 20px 34px;
  }

  .hero-image img {
    min-height: 280px;
  }

  .hero-card {
    position: static;
    width: auto;
    margin-top: 14px;
    background: var(--graphite);
  }

  .hero-stats,
  .section-head,
  .category-grid,
  .product-grid,
  .proof-grid,
  .news-grid,
  .value-grid,
  .site-link-grid,
  .quote-steps,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .directory-nav {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .product-card.featured {
    grid-column: auto;
  }

  .model-meta {
    grid-template-columns: 1fr;
  }

  .brand-logo-frame {
    min-height: 300px;
    padding: 20px;
  }

  .xinyi-rfq-widget,
  body .wp-site-blocks .wp-block-post-content > div.xinyi-rfq-widget,
  body .wp-site-blocks .entry-content > div.xinyi-rfq-widget,
  html body div.xinyi-rfq-widget {
    right: 16px !important;
    bottom: 16px !important;
    inset: auto 16px 16px auto !important;
    width: 250px !important;
    max-width: calc(100vw - 32px) !important;
    padding: 12px;
  }

  .xinyi-rfq-widget h3 {
    max-width: 180px;
    font-size: 15px;
  }

  .xinyi-rfq-widget p {
    display: none;
  }

  .xinyi-rfq-link {
    display: none;
  }

  .xinyi-rfq-widget .btn {
    min-height: 36px;
    margin-top: 8px;
    font-size: 13px;
  }

  .xinyi-chat-widget,
  body .wp-site-blocks .wp-block-post-content > div.xinyi-chat-widget,
  body .wp-site-blocks .entry-content > div.xinyi-chat-widget,
  html body div.xinyi-chat-widget {
    inset: auto 16px 16px auto !important;
    right: 16px !important;
    bottom: 16px !important;
    width: 78px !important;
    padding: 8px;
    gap: 0;
  }

  html body .xinyi-chat-widget.xinyi-chat-widget {
    width: 78px !important;
    padding: 8px !important;
    gap: 0 !important;
  }

  .xinyi-chat-close {
    top: -9px;
    right: -9px;
    width: 22px;
    height: 22px;
    background: rgba(37, 41, 46, 0.96);
    font-size: 16px;
  }

  .xinyi-chat-kicker,
  .xinyi-chat-widget h3,
  .xinyi-chat-widget p {
    display: none;
  }

  .xinyi-chat-widget .btn {
    min-height: 36px;
    padding: 0 8px;
    font-size: 0;
    line-height: 1.15;
    white-space: normal;
  }

  .xinyi-chat-widget .btn::after {
    content: "RFQ";
    font-size: 12px;
  }
}
