:root {
  --red: #b70608;
  --red-dark: #960204;
  --text: #1f2933;
  --muted: #5e6873;
  --light: #f7f8fa;
  --line: #d8dde3;
  --soft-line: #e8ebef;
  --blue: #eaf3fb;
  --accent: #c20b0d;
  --shadow: 0 12px 34px rgba(28, 35, 45, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateX(var(--modal-shift-x, 0)) scale(0.96); }
  to { opacity: 1; transform: translateX(var(--modal-shift-x, 0)) scale(1); }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes chatFabJump {
  0%, 72%, 100% { transform: translateY(0) scale(1); }
  78% { transform: translateY(-10px) scale(1.04); }
  84% { transform: translateY(0) scale(1); }
  90% { transform: translateY(-5px) scale(1.02); }
  96% { transform: translateY(0) scale(1); }
}

.anim-fade-in {
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

.anim-fade-in-up {
  opacity: 0;
  transform: translateY(32px);
}

.anim-fade-in-up.is-visible {
  animation: fadeInUp 0.7s var(--ease-out) forwards;
}

.anim-fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
}

.anim-fade-in-left.is-visible {
  animation: fadeInLeft 0.7s var(--ease-out) forwards;
}

.anim-fade-in-right {
  opacity: 0;
  transform: translateX(32px);
}

.anim-fade-in-right.is-visible {
  animation: fadeInRight 0.7s var(--ease-out) forwards;
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.92);
}

.anim-scale-in.is-visible {
  animation: scaleIn 0.6s var(--ease-out) forwards;
}

.anim-stagger > * {
  opacity: 0;
  transform: translateY(24px);
}

.anim-stagger.is-visible > *:nth-child(1) { animation: fadeInUp 0.6s var(--ease-out) 0.05s forwards; }
.anim-stagger.is-visible > *:nth-child(2) { animation: fadeInUp 0.6s var(--ease-out) 0.12s forwards; }
.anim-stagger.is-visible > *:nth-child(3) { animation: fadeInUp 0.6s var(--ease-out) 0.19s forwards; }
.anim-stagger.is-visible > *:nth-child(4) { animation: fadeInUp 0.6s var(--ease-out) 0.26s forwards; }
.anim-stagger.is-visible > *:nth-child(5) { animation: fadeInUp 0.6s var(--ease-out) 0.33s forwards; }
.anim-stagger.is-visible > *:nth-child(6) { animation: fadeInUp 0.6s var(--ease-out) 0.40s forwards; }
.anim-stagger.is-visible > *:nth-child(7) { animation: fadeInUp 0.6s var(--ease-out) 0.47s forwards; }
.anim-stagger.is-visible > *:nth-child(8) { animation: fadeInUp 0.6s var(--ease-out) 0.54s forwards; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 330px 1fr auto;
  align-items: center;
  height: 70px;
  isolation: isolate;
  overflow: hidden;
  padding: 0 28px;
  background: linear-gradient(#c30a0c, #a80002);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.topbar::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 47% 18%, rgba(255,232,142,.18), transparent 30%),
    url("assets/dragon-ornament-gold.png") center / min(760px, 52vw) auto no-repeat;
  content: "";
  filter: saturate(1.1) contrast(1.05);
  mix-blend-mode: screen;
  opacity: .26;
  pointer-events: none;
}

.topbar::after {
  position: absolute;
  top: 0;
  right: max(18px, 4vw);
  z-index: 0;
  width: min(520px, 34vw);
  height: 100%;
  background: url("assets/dragon-ornament-gold.png") center / contain no-repeat;
  content: "";
  filter: saturate(1.16) contrast(1.12);
  opacity: .08;
  pointer-events: none;
  transform: scaleX(-1);
  transform-origin: center;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

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

.brand__logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  line-height: 1;
  color: #fff;
}

.brand__logo img {
  width: 46px;
  height: 46px;
}

.brand__text strong {
  display: block;
  max-width: 280px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__text small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.nav {
  display: flex;
  justify-content: center;
  height: 70px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .2s;
}

.nav a:hover {
  opacity: .85;
}

.nav a.is-active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 4px;
  background: #fff;
  content: "";
}

.header-search-input {
  width: 220px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  outline: none;
  transition: background .2s, border-color .2s;
}
.header-search-input::placeholder {
  color: rgba(255,255,255,.6);
}
.header-search-input:focus {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.8);
}

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

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 8px;
}

.mobile-search-input {
  width: 100px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 2px;
  background: rgba(255,255,255,.12);
  color: #fff;
  padding: 0 8px;
  font-size: 11px;
  outline: none;
}
.mobile-search-input::placeholder {
  color: rgba(255,255,255,.6);
}

.mobile-search-icon {
  display: none !important;
  width: 24px !important;
  height: 24px !important;
  font-size: 20px !important;
}

.icon-button,
.language {
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.icon-button {
  width: 28px;
  height: 28px;
  font-size: 28px;
  line-height: 1;
}

.language {
  font-size: 13px;
}

.language option {
  color: var(--text);
}

.header-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, transform .2s;
}

.quote-button:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid #d6dee7;
  background: #eef5fb;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 249, 252, 0.96) 0%, rgba(245, 249, 252, 0.82) 36%, rgba(245, 249, 252, 0.12) 62%);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 56px));
  padding: 38px 0 0 42px;
}

.hero h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
  text-transform: uppercase;
  animation: heroTextIn 0.8s var(--ease-out) 0.2s both;
}

.hero p {
  margin: 12px 0 0;
  font-size: 17px;
  color: #24313d;
  animation: heroTextIn 0.8s var(--ease-out) 0.35s both;
}

.hero__features {
  display: flex;
  gap: 52px;
  margin-top: 30px;
  animation: heroTextIn 0.8s var(--ease-out) 0.5s both;
}

.hero-feature {
  display: grid;
  grid-template-columns: 34px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
}

.hero-feature span {
  grid-row: 1 / 3;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #c7d9ec;
  border-radius: 50%;
  background: #edf6ff;
  color: #2367ad;
  font-weight: 900;
}

.hero-feature strong {
  font-size: 13px;
}

.hero-feature small {
  color: #4d5964;
  font-size: 12px;
}

.catalog {
  display: grid;
  grid-template-columns: 217px 1fr;
  min-height: 660px;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: #fff;
  padding: 18px 28px 16px;
}

.sidebar h2 {
  margin: 0 0 22px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.side-row,
.category,
.sidebar button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.side-row,
.category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-top: 1px solid var(--soft-line);
  padding: 0 0 0 0;
  color: #2f3a44;
}

.side-row:hover,
.category:hover,
.category.is-active,
.side-row.is-active {
  color: var(--accent);
}

.side-row b,
.category strong {
  color: #69727c;
  font-size: 11px;
  font-weight: 700;
}

.category span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.help-card {
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 16px 14px;
  text-align: center;
}

.help-card__icon {
  display: block;
  margin-bottom: 8px;
  font-size: 34px;
}

.help-card strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.help-card p {
  margin: 6px 0 14px;
  color: #5f6973;
  font-size: 11px;
}

.help-card a,
.help-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border: 0;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, transform .2s;
}

.help-card a:hover,
.help-card button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.catalog-main {
  min-width: 0;
  padding: 18px 28px 0 16px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6d7680;
  font-size: 11px;
}

.breadcrumb i {
  color: #9aa3aa;
  font-style: normal;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 32px;
  margin-bottom: 16px;
}

.catalog-toolbar p {
  margin: 0;
  color: #4a545f;
  font-size: 12px;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-controls input,
.toolbar-controls select {
  height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #4a545f;
  font-size: 12px;
}

.toolbar-controls input {
  width: 170px;
  padding: 0 10px;
}

.toolbar-controls select {
  width: 150px;
  padding: 0 10px;
}

.view-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: #59636e;
  cursor: pointer;
}

.view-toggle.is-active {
  border-color: var(--red);
  color: var(--red);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
}

.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31,41,51,.12);
}

.product-card__image {
  display: flex;
  width: 100%;
  height: 170px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 12px 12px 14px;
}

.product-card h3 {
  margin: 0 0 2px;
  overflow: hidden;
  color: #151d25;
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-code {
  display: block;
  margin-bottom: 14px;
  color: #5f6871;
  font-size: 12px;
}

.mini-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.mini-spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #303942;
  font-size: 12px;
}

.mini-spec span {
  color: #59636f;
}

.mini-spec strong {
  overflow: hidden;
  max-width: 110px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.details-button {
  display: flex;
  width: 100%;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  background: #fff;
  color: var(--red);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .2s;
}

.details-button:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0 16px;
}

.pager button {
  min-height: 34px;
  border: 1px solid var(--line);
  background: #fff;
  color: #2f3a44;
  cursor: pointer;
  padding: 0 14px;
}

.pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 1px solid var(--soft-line);
  background: #f7f8fa;
  padding: 44px max(24px, 12vw) 60px;
}

.contact-panel h2 {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: 24px;
}

.contact-panel p {
  max-width: 680px;
  margin: 0 0 22px;
  color: #59636f;
}

.contact-panel form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
}

.contact-panel input,
.contact-panel textarea {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 10px;
}

.contact-panel textarea {
  grid-column: 1 / -1;
  min-height: 110px;
}

.contact-panel button {
  width: max-content;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 24px;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.contact-panel button:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183,6,8,.3);
}

.contact-panel button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  margin: 0;
  font-size: 13px;
}

.form-status[data-state="success"] {
  color: #1f7a3f;
}

.form-status[data-state="error"] {
  color: var(--red);
}

.form-status[data-state="pending"] {
  color: #59636f;
}

.modal {
  position: fixed;
  top: var(--modal-top, 96px);
  right: auto;
  bottom: auto;
  left: var(--modal-left, 16px);
  z-index: 90;
  width: min(760px, calc(100vw - 32px));
  max-height: var(--modal-max-height, calc(100vh - 112px));
  margin: 0;
  overflow: auto;
  border: 1px solid #111;
  border-top: 6px solid var(--red);
  padding: 0 22px 20px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateX(var(--modal-shift-x, 0));
}

.modal[open] {
  animation: modalIn 0.24s var(--ease-out) forwards;
}

.modal--sheet {
  border: 1px solid #b8c1c9;
  border-top: 0;
  padding: 0;
  background: #fff;
}

.modal--sheet .modal__close {
  z-index: 3;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 4px;
  background: rgba(102,0,0,.28);
  color: #fff;
}

.modal__quote {
  position: absolute;
  top: 15px;
  right: 52px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 9px;
  text-decoration: none;
}

.modal__quote:hover,
.modal__quote:focus-visible {
  background: #fff;
  color: var(--red);
}

.modal[open]::backdrop {
  animation: fadeIn 0.3s forwards;
}

.modal::backdrop {
  background: transparent;
  cursor: pointer;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 0;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal__header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-bottom: 0;
  padding: 18px 34px 10px 0;
}

.modal__header h2 {
  margin: 0;
  color: #1f2933;
  font-size: 16px;
  font-weight: 900;
}

.modal__header span {
  color: #4e5964;
  font-size: 13px;
}

.product-spec-sheet {
  color: #15191e;
  font-size: 13px;
  line-height: 1.55;
}

.product-spec-sheet__brand {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 96px;
  background: #c90708;
  color: #fff;
  /* Reserve a fixed lane for the absolute quote action on desktop. */
  padding: 16px 174px 42px 20px;
}

.product-spec-sheet__brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.product-spec-sheet__brand > div > strong,
.product-spec-sheet__brand > div > span {
  display: block;
}

.product-spec-sheet__brand strong {
  font-size: 18px;
  line-height: 1.25;
}

.product-spec-sheet__brand > div > span {
  margin-top: 4px;
  font-size: 12px;
  opacity: .94;
}

.product-spec-sheet__brand p {
  position: absolute;
  top: 51px;
  right: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.product-spec-sheet__brand p span {
  margin: 0;
  font-size: inherit;
  opacity: .94;
}

.product-spec-sheet__brand p b {
  font-size: 12px;
}

.product-spec-sheet__body {
  padding: 20px 22px 24px;
}

.product-spec-sheet__body h2 {
  margin: 0 0 14px;
  color: #15191e;
  font-size: 22px;
  line-height: 1.2;
}

.product-spec-sheet__body h2 span {
  color: #58636e;
  font-size: 13px;
  font-weight: 500;
}

.product-spec-sheet__basic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border: 1px solid #252b30;
}

.product-spec-sheet__basic > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-width: 0;
  border-bottom: 1px solid #252b30;
}

.product-spec-sheet__basic > div:nth-last-child(2):nth-child(odd),
.product-spec-sheet__basic > div:last-child {
  border-bottom: 0;
}

.product-spec-sheet__basic > div:nth-child(odd) {
  border-right: 1px solid #252b30;
}

.product-spec-sheet__basic dt,
.product-spec-sheet__basic dd {
  min-width: 0;
  margin: 0;
  padding: 8px 9px;
}

.product-spec-sheet__basic dt {
  border-right: 1px solid #252b30;
  background: #fafafa;
  font-weight: 800;
  text-align: center;
}

.product-spec-sheet__basic dd {
  overflow-wrap: anywhere;
}

.product-spec-sheet__basic .product-spec-sheet__basic-wide {
  grid-column: 1 / -1;
  border-right: 0;
}

.product-spec-sheet__basic-empty {
  min-height: 1px;
}

.product-spec-sheet__section {
  margin-top: 20px;
}

.product-spec-sheet__section h3 {
  margin: 0 0 10px;
  border-bottom: 5px solid #c90708;
  color: #15191e;
  font-size: 16px;
  line-height: 1.35;
  padding-bottom: 6px;
}

.product-spec-sheet__section p {
  margin: 0;
  color: #303941;
}

.product-spec-sheet__table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #252b30;
  color: #15191e;
  table-layout: fixed;
}

.product-spec-sheet__table th,
.product-spec-sheet__table td {
  border: 1px solid #252b30;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.product-spec-sheet__table th {
  width: 36%;
  background: #fafafa;
  font-weight: 800;
  text-align: center;
}

.product-spec-sheet__table td {
  overflow-wrap: anywhere;
}

.modal__tabs {
  display: flex;
  align-items: end;
  gap: 24px;
  height: 42px;
  border-bottom: 4px solid var(--red);
}

.modal__tabs button {
  position: relative;
  height: 42px;
  border: 0;
  background: transparent;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal__tabs button.is-active {
  color: var(--red);
}

.modal__tabs button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 0;
  background: transparent;
  content: "";
}

.modal__tabs a {
  margin-left: auto;
  color: #111;
  font-size: 10px;
}

.modal__document-title {
  display: inline-flex;
  height: 42px;
  align-items: center;
  border-bottom: 2px solid var(--red);
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.product-document {
  margin-top: 14px;
}

.product-document__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.product-document__select {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #4a545f;
  font-size: 12px;
  font-weight: 800;
}

.product-document__select[hidden] {
  display: none;
}

.product-document__select select {
  min-width: 130px;
  max-width: 220px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: #1f2933;
  font: inherit;
  padding: 7px 28px 7px 9px;
}

.product-document__open {
  margin-left: auto;
  border: 1px solid var(--red);
  border-radius: 4px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.product-document__open:hover,
.product-document__open:focus-visible {
  background: var(--red);
  color: #fff;
}

.product-document iframe {
  display: block;
  width: 100%;
  min-height: 480px;
  height: min(72vh, 760px);
  border: 1px solid var(--line);
  background: #f7f9fb;
}

.product-document__empty {
  margin: 16px 0 4px;
  border: 1px dashed #b9c1c8;
  border-radius: 6px;
  background: #f8fafc;
  color: #4a545f;
  padding: 34px 26px;
  text-align: center;
}

.product-document__empty h3 {
  margin: 0 0 8px;
  color: #1f2933;
  font-size: 16px;
}

.product-document__empty p {
  max-width: 420px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.7;
}

.datasheet {
  margin-top: 14px;
  color: #111;
}

.datasheet h3 {
  margin: 18px 0 8px;
  border: 0;
  border-bottom: 5px solid var(--red);
  background: transparent;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  padding: 0 0 5px;
}

.info-table {
  display: grid;
  grid-template-columns: 36% 64%;
  border: 2px solid #111;
  border-bottom: 0;
  background: #fff;
}

.info-table div {
  min-height: 28px;
  border-bottom: 1px solid #111;
  padding: 6px 9px;
  color: #111;
  font-size: 12px;
  line-height: 1.35;
}

.info-table div:nth-child(odd) {
  border-right: 1px solid #111;
  font-weight: 900;
  text-align: center;
}

.variant-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #111;
  background: #fff;
  font-size: 12px;
}

.variant-table th,
.variant-table td {
  border: 1px solid #111;
  padding: 6px 9px;
  text-align: center;
  vertical-align: top;
  line-height: 1.35;
}

.variant-table th {
  background: #fff;
  font-weight: 900;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 2px solid #111;
  border-right: 0;
  border-bottom: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  border-right: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 6px 9px;
  color: #111;
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.datasheet-note {
  margin: 12px 0 0;
  color: #4d5660;
  font-size: 10px;
}

.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 110px));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 60px rgba(31, 41, 51, 0.22);
}

.chat-widget:not([hidden]) {
  animation: scaleIn 0.3s var(--ease-spring) forwards;
}

.chat-widget[hidden] {
  display: none;
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--red);
  color: #fff;
  padding: 13px 14px;
}

.chat-widget__header strong,
.chat-widget__header small {
  display: block;
}

.chat-widget__header small {
  margin-top: 2px;
  opacity: 0.82;
  font-size: 11px;
}

.chat-widget__header button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.chat-widget__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 14px;
  background: #f7f8fa;
}

.chat-empty {
  margin: auto;
  color: #69727c;
  text-align: center;
  font-size: 13px;
}

.chat-message {
  max-width: 82%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 11px;
  font-size: 13px;
}

.chat-message.is-admin {
  align-self: flex-start;
}

.chat-message.is-visitor {
  align-self: flex-end;
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.chat-message small {
  display: block;
  margin-bottom: 4px;
  opacity: 0.72;
  font-size: 11px;
}

.chat-message p {
  margin: 0;
  white-space: pre-wrap;
}

.chat-widget__form {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}

.chat-widget__identity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chat-widget input,
.chat-widget textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
}

.chat-widget textarea {
  min-height: 68px;
  resize: vertical;
}

.chat-widget__form button {
  justify-self: end;
  border: 0;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 20px;
}

.chat-widget__form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.page-hero {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 60px 10%;
  background: linear-gradient(135deg, #1f2933 0%, #2d3a45 100%);
  color: #fff;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 900;
}

.page-hero p {
  margin: 0;
  font-size: 14px;
  opacity: .75;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin-top: 28px;
  padding: 0 28px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background .25s, transform .2s, box-shadow .25s;
  animation: heroTextIn 0.8s var(--ease-out) 0.65s both;
}

.hero__cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(183,6,8,.3);
}

.section-link {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  margin-top: 20px;
  transition: color .2s, gap .2s;
  gap: 4px;
}

.section-link:hover {
  color: var(--red-dark);
  gap: 8px;
}

.section-center {
  text-align: center;
  margin-top: 28px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  background: #fff;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  transition: background .25s, transform .2s, box-shadow .25s;
}

.cta-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.home-about {
  padding: 72px 10%;
  background: #fff;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.home-about__text h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.home-about__text p {
  margin: 0 0 18px;
  color: #3a4550;
  font-size: 14px;
  line-height: 1.75;
}

.home-about__visual img {
  width: 100%;
  border: 1px solid var(--line);
}

.home-capabilities {
  padding: 72px 10%;
  background: #f7f8fa;
}

.home-products {
  padding: 72px clamp(24px, 4vw, 72px);
  background: #fff;
}

.home-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 14px;
  width: min(100%, 1600px);
  margin: 0 auto;
}

.home-news {
  padding: 72px 10%;
  background: #f7f8fa;
}

.home-contact-cta {
  display: grid;
  place-items: center;
  padding: 64px 10%;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.home-contact-cta h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
}

.home-contact-cta p {
  margin: 0 0 24px;
  font-size: 15px;
  opacity: .9;
  max-width: 600px;
}

.support-section {
  padding: 72px 10%;
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.support-card {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .2s;
}

.support-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.support-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 16px;
  background: #edf6ff;
  color: #2367ad;
  font-size: 26px;
  border-radius: 50%;
}

.support-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.support-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.faq-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::before {
  content: "+ ";
  color: var(--red);
  font-weight: 900;
}

.faq-item[open] summary::before {
  content: "− ";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.7;
}

.about-detail,
.quality-detail {
  padding: 48px 10%;
  background: #f7f8fa;
}

.about-detail-grid,
.quality-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-detail-card,
.quality-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.about-detail-card h3,
.quality-detail-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
}

.about-detail-card p,
.quality-detail-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.quality-detail-card ul {
  margin: 0;
  padding: 0 0 0 18px;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.8;
}

.contact-info-section {
  padding: 48px 10%;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
}

.contact-info-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
}

.contact-info-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.contact-info-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
}

.contact-info-card a {
  color: var(--red);
}

.news-grid--full {
  grid-template-columns: 1fr;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: .3s;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 49;
  background: #a80002;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transform-origin: top;
  transition: transform .3s var(--ease-out), opacity .3s;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  animation: slideDown 0.3s var(--ease-out) forwards;
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.mobile-nav nav a:hover {
  background: rgba(255,255,255,.12);
}

.mobile-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.mobile-nav__actions .quote-button {
  color: #fff;
}

.mobile-lang {
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
}

.mobile-lang option {
  color: var(--text);
}

.section-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  background: #fff0f0;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

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

.section-header h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.about-section {
  padding: 72px 10%;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.about-text p {
  margin: 0 0 14px;
  color: #3a4550;
  font-size: 14px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-item {
  text-align: center;
  padding: 16px 8px;
  background: #f7f8fa;
  border: 1px solid var(--soft-line);
}

.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 12px;
  color: var(--muted);
}

.about-visual {
  position: relative;
}

.about-visual img {
  width: 100%;
  border: 1px solid var(--line);
}

.capabilities-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 22px;
  transition: box-shadow .2s;
}

.cap-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.cap-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  background: #fff0f0;
  color: var(--red);
  font-size: 22px;
  margin-bottom: 16px;
}

.cap-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
}

.cap-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.cap-process {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cap-process h3 {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 800;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.process-step {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 130px;
}

.process-step span {
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
}

.process-step strong {
  font-size: 13px;
}

.process-step small {
  font-size: 11px;
  color: var(--muted);
}

.process-arrow {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
}

.quality-section {
  padding: 72px 10%;
  background: #fff;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.quality-card {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow .2s;
}

.quality-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.quality-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 16px;
  background: #edf6ff;
  color: #2367ad;
  font-size: 26px;
  border-radius: 50%;
}

.quality-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.quality-card p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.news-section {
  padding: 72px 10%;
  background: #f7f8fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  transition: box-shadow .2s;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(31,41,51,.1);
}

.news-card__date {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  background: var(--red);
  color: #fff;
  text-align: center;
}

.news-card__date span {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.news-card__date small {
  font-size: 12px;
  opacity: .85;
}

.news-card__body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.news-card__body p {
  margin: 0;
  color: #4a545f;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer {
  background: #1f2933;
  color: #c8cdd3;
  padding: 56px 10% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo strong {
  color: #fff;
  font-size: 15px;
}

.footer-brand p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s;
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a {
  color: #9aa3aa;
  font-size: 13px;
  transition: color .2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 13px;
}

.footer-contact a {
  color: #9aa3aa;
  transition: color .2s;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #6b7280;
  font-size: 12px;
  transition: color .2s;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 204px;
  z-index: 60;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(31,41,51,.12);
  transition: opacity .3s, transform .3s var(--ease-out), background .25s, color .25s;
}

.back-to-top:not([hidden]) {
  animation: fadeInUp 0.4s var(--ease-out) forwards;
}

.back-to-top:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-3px);
}

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  animation: chatFabJump 2.4s var(--ease-out) infinite;
  box-shadow: 0 4px 16px rgba(183,6,8,.35);
  transition: transform .25s var(--ease-spring), box-shadow .25s;
  will-change: transform;
}

.chat-fab:hover {
  animation-play-state: paused;
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(183,6,8,.5);
}

@media (prefers-reduced-motion: reduce) {
  .chat-fab {
    animation: none;
  }
}

/* Preserve the complete Chinese company name on compact desktop headers. */
@media (min-width: 861px) and (max-width: 1380px) {
  html[lang="zh-CN"] .brand__text strong {
    max-width: 260px;
  }
}

/* Final compact-desktop overrides after the visual presentation layer. */
@media (min-width: 861px) and (max-width: 1380px) {
  .topbar {
    grid-template-columns: 245px minmax(0, 1fr) auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    max-width: 170px;
    font-size: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }

  .nav a.is-active::after {
    right: 10px;
    left: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .topbar .header-search-input {
    width: 170px;
  }

  .quote-button {
    min-height: 34px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 11px;
  }
}

/* Native product documents sourced from the supplied PDFs. */
.product-spec-sheet__variant-picker {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -2px 0 14px;
  color: #4e5964;
  font-size: 12px;
  font-weight: 800;
}

.product-spec-sheet__variant-picker select {
  min-width: 132px;
  border: 1px solid #bac4ce;
  border-radius: 3px;
  background: #fff;
  color: #15191e;
  font: inherit;
  padding: 7px 28px 7px 9px;
}

.product-spec-sheet__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 154px;
  gap: 18px;
  align-items: center;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d7dde3;
}

.product-spec-sheet__eyebrow {
  margin: 0 0 6px;
  color: #b5080a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-spec-sheet__source-name {
  margin: 7px 0 0;
  color: #65707a;
  font-size: 12px;
}

.product-spec-sheet__image {
  display: grid;
  width: 154px;
  height: 128px;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5dce3;
  background: #f4f8fb;
}

.product-spec-sheet__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-spec-sheet__trace-wrap {
  overflow-x: auto;
}

.product-spec-sheet__trace-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  border: 1px solid #252b30;
  color: #15191e;
  table-layout: fixed;
}

.product-spec-sheet__trace-element-column {
  width: 18%;
}

.product-spec-sheet__trace-value-column {
  width: 13%;
}

.product-spec-sheet__trace-separator-column {
  width: 3%;
}

.product-spec-sheet__trace-table td {
  border: 1px solid #252b30;
  padding: 5px 7px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.15;
  text-align: center;
  vertical-align: middle;
}

.product-spec-sheet__trace-table .product-spec-sheet__trace-separator {
  border-top: 0;
  border-bottom: 0;
  background: #fff;
}

@media (max-width: 860px) {
  .product-spec-sheet__trace-table {
    min-width: 440px;
  }
}

.product-spec-sheet__ghs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.product-spec-sheet__ghs img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.product-spec-sheet__body--sds .product-spec-sheet__section + .product-spec-sheet__section {
  margin-top: 24px;
}

.product-spec-sheet__body--sds .product-spec-sheet__section p {
  white-space: pre-line;
}

@media (max-width: 860px) {
  .product-spec-sheet__hero {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
  }

  .product-spec-sheet__image {
    width: 112px;
    height: 108px;
  }

  .product-spec-sheet__variant-picker {
    justify-content: flex-start;
  }

}

.chat-fab::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  max-width: 180px;
  overflow: hidden;
  padding: 7px 10px;
  background: #1f2933;
  color: #fff;
  content: attr(data-chat-label);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.chat-fab:hover::after,
.chat-fab:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.contact-fab-stack {
  position: fixed;
  right: 26px;
  bottom: 88px;
  z-index: 59;
  display: grid;
  gap: 10px;
}

.contact-fab {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(31,41,51,.26);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s var(--ease-spring), box-shadow .2s ease;
}

.contact-fab--phone {
  background: linear-gradient(135deg, #273643, #17232d);
}

.contact-fab--whatsapp {
  background: linear-gradient(135deg, #39c96e, #158844);
}

.contact-fab--whatsapp span {
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
}

.contact-fab::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  padding: 7px 10px;
  border-radius: 4px;
  background: #1f2933;
  color: #fff;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.contact-fab:hover,
.contact-fab:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 12px 26px rgba(31,41,51,.34);
}

.contact-fab:hover::after,
.contact-fab:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: #1f2933;
  color: #c8cdd3;
  font-size: 13px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

.cookie-consent:not([hidden]) {
  animation: slideUp 0.5s var(--ease-out) forwards;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions button {
  border: 0;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#cookieAccept {
  background: var(--red);
  color: #fff;
}

#cookieDecline {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.cookie-actions a {
  color: #9aa3aa;
  font-size: 12px;
}

.search-overlay {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 45;
  background: #fff;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(31,41,51,.12);
  display: none;
}

.search-overlay.is-visible {
  display: block;
}

.search-overlay input {
  width: 100%;
  max-width: 600px;
  height: 44px;
  border: 2px solid var(--red);
  padding: 0 14px;
  font-size: 15px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 340px 1fr;
  }

  .topbar::before {
    background-size: min(680px, 64vw) auto;
  }

  .header-actions {
    display: none;
  }

  .nav a {
    padding: 0 10px;
  }

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

/* Keep long translated navigation labels clear on compact desktops. */
@media (min-width: 861px) and (max-width: 1380px) {
  .topbar {
    grid-template-columns: 245px minmax(0, 1fr) auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    max-width: 170px;
    font-size: 18px;
  }

  .nav {
    justify-content: flex-start;
  }

  .nav a {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 11px;
  }

  .nav a.is-active::after {
    right: 10px;
    left: 10px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-search-input {
    width: 170px;
  }

  .quote-button {
    min-height: 34px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    gap: 8px;
    height: 60px;
    padding: 0 14px;
  }

  .topbar::before {
    background-position: 56% 50%;
    background-size: 360px auto;
    opacity: .14;
  }

  .topbar::after {
    right: -84px;
    width: 300px;
    opacity: .08;
  }

  .brand {
    flex: 0 0 auto;
    gap: 0;
  }

  .brand__logo,
  .brand__logo img {
    width: 38px;
    height: 38px;
  }

  .brand__text,
  .nav {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    margin-right: 0;
    margin-left: 0;
  }

  .mobile-search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 32px;
    font-size: 12px;
  }

  .mobile-lang {
    flex: 0 0 68px;
    width: 68px;
    padding: 5px 4px;
    font-size: 12px;
  }

  .hamburger {
    flex: 0 0 auto;
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 360px;
  }

  .hero__content {
    width: 100%;
    padding: 38px 18px 280px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__features {
    flex-direction: column;
    gap: 12px;
  }

  .about-section {
     padding: 48px 20px;
   }

   .about-grid {
     grid-template-columns: 1fr;
     gap: 32px;
   }

   .about-stats {
     grid-template-columns: repeat(2, 1fr);
   }

   .capabilities-section,
   .quality-section,
   .news-section {
     padding: 48px 20px;
   }

   .cap-grid,
   .quality-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 16px;
   }

   .process-steps {
     gap: 6px;
   }

   .process-step {
     min-width: 100px;
     padding: 12px;
   }

   .process-arrow {
     display: none;
   }

   .news-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

   .page-hero {
     padding: 48px 20px;
     min-height: 140px;
   }

   .page-hero h1 {
     font-size: 26px;
   }

   .home-about {
     padding: 48px 20px;
   }

   .home-about__grid {
     grid-template-columns: 1fr;
     gap: 32px;
   }

   .home-capabilities,
   .home-products,
   .home-news {
     padding: 48px 20px;
   }

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

   .support-grid,
   .contact-info-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 16px;
   }

   .about-detail-grid,
   .quality-detail-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

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

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

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-top: 20px;
  }

  .toolbar-controls {
    flex-wrap: wrap;
  }

  .toolbar-controls input,
  .toolbar-controls select {
    flex: 1 1 180px;
  }

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

  .contact-panel {
    padding: 32px 20px 46px;
  }

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

  .modal {
    inset: 80px 12px auto;
    width: auto;
    max-height: calc(100vh - 96px);
    transform: none;
  }

  .chat-widget {
    right: 12px;
    bottom: 12px;
    max-height: calc(100vh - 84px);
  }

  .site-footer {
    padding: 40px 20px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cookie-consent {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .chat-fab {
    right: 16px;
    bottom: 120px;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .back-to-top {
    right: 16px;
    bottom: 292px;
  }

  .contact-fab-stack {
    right: 17px;
    bottom: 180px;
    gap: 9px;
  }

  .contact-fab {
    width: 42px;
    height: 42px;
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .brand__text {
    display: none;
  }

  .mobile-search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .product-grid,
  .contact-panel form,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .cap-grid,
   .quality-grid {
     grid-template-columns: 1fr;
   }

   .about-stats {
     grid-template-columns: repeat(2, 1fr);
   }

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

   .news-card {
     grid-template-columns: 1fr;
     gap: 12px;
   }

   .news-card__date {
     width: 100%;
     height: auto;
     padding: 10px;
     grid-auto-flow: column;
     gap: 6px;
   }

   .support-grid,
   .contact-info-grid {
     grid-template-columns: 1fr;
   }

   .home-products__grid {
     grid-template-columns: 1fr;
   }

  .catalog-main {
    padding: 16px 12px 0;
  }

  .product-card__image {
    height: 190px;
  }

  .info-table {
    grid-template-columns: 1fr;
  }

  .info-table div:nth-child(odd) {
    border-right: 0;
    background: #fff;
  }

  .chat-widget__identity {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 22px;
  }
}

@media (max-width: 860px) {
  .modal--sheet .modal__quote {
    display: none;
  }

  .product-spec-sheet__brand {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    min-height: 0;
    padding: 14px 58px 14px 16px;
  }

  .product-spec-sheet__brand strong {
    font-size: 15px;
  }

  .product-spec-sheet__brand p {
    position: static;
    grid-column: 1 / -1;
    justify-self: start;
    grid-template-columns: auto auto;
    align-items: center;
    text-align: left;
  }

  .product-spec-sheet__body {
    padding: 16px;
  }

  .product-spec-sheet__body h2 {
    font-size: 19px;
  }

  .product-spec-sheet__basic {
    grid-template-columns: 1fr;
  }

  .product-spec-sheet__basic > div,
  .product-spec-sheet__basic > div:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid #252b30;
  }

  .product-spec-sheet__basic > div:last-child {
    border-bottom: 0;
  }

  .product-spec-sheet__basic > div:nth-last-child(2) {
    border-bottom: 1px solid #252b30;
  }

  .product-spec-sheet__basic > div {
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .product-spec-sheet__section {
    margin-top: 16px;
  }

  .product-spec-sheet__section h3 {
    font-size: 15px;
  }

  .product-spec-sheet__table th {
    width: 42%;
  }
}

/* Product Design visual polish: presentation layer only. */
:root {
  --red: #b5080a;
  --red-dark: #7f0204;
  --gold: #d8b35f;
  --gold-soft: #f4e7c1;
  --ink: #17212b;
  --surface: #ffffff;
  --surface-warm: #fbfaf7;
  --line: #dfe4ea;
  --soft-line: #edf0f3;
  --shadow: 0 18px 44px rgba(23, 33, 43, 0.14);
  --shadow-soft: 0 10px 30px rgba(23, 33, 43, 0.08);
}

body {
  background:
    linear-gradient(180deg, #fff 0, #fbfcfd 44%, #f8fafc 100%);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

.topbar {
  grid-template-columns: minmax(280px, 330px) minmax(420px, 1fr) auto;
  height: 72px;
  border-bottom: 1px solid rgba(216, 179, 95, 0.46);
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 42%),
    linear-gradient(115deg, #c90a0e 0%, #b00508 44%, #8e0305 100%);
  box-shadow: 0 8px 30px rgba(87, 0, 2, 0.22);
}

.topbar::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent 24%, rgba(216,179,95,.16) 50%, transparent 76%),
    radial-gradient(circle at 46% 22%, rgba(255,236,174,.2), transparent 28%),
    url("assets/dragon-ornament-gold.png") center / min(720px, 50vw) auto no-repeat;
  mix-blend-mode: screen;
  opacity: .22;
}

.topbar::after {
  right: max(18px, 8vw);
  width: min(560px, 36vw);
  opacity: .11;
  mix-blend-mode: screen;
}

.brand__logo {
  border-radius: 50%;
  background: radial-gradient(circle at 34% 22%, rgba(255,255,255,.35), rgba(255,255,255,0) 46%);
  filter: drop-shadow(0 8px 18px rgba(50,0,0,.22));
}

.brand__text strong,
.brand__text small {
  text-shadow: 0 1px 8px rgba(65,0,0,.22);
}

.nav {
  gap: 2px;
}

.nav a {
  height: 72px;
  padding: 0 13px;
  border-radius: 2px;
  opacity: .96;
  transition: background .2s, color .2s, opacity .2s;
}

.nav a:hover {
  background: rgba(255,255,255,.09);
  opacity: 1;
}

.nav a.is-active {
  color: #fff6d6;
}

.nav a.is-active::after {
  right: 18px;
  bottom: 12px;
  left: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.header-search-input,
.mobile-search-input,
.toolbar-controls input,
.toolbar-controls select,
.contact-panel input,
.contact-panel textarea,
.search-overlay input {
  border-radius: 4px;
}

.header-search-input {
  width: 252px;
  height: 34px;
  border-color: rgba(244, 231, 193, .72);
  background: rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.header-search-input:focus,
.mobile-search-input:focus {
  border-color: #fff1bd;
  background: rgba(255,255,255,.2);
  box-shadow: 0 0 0 3px rgba(216,179,95,.18);
}

.icon-button {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff7d7;
  font-size: 25px;
  transition: background .2s, transform .2s;
}

.icon-button:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.language {
  height: 34px;
  border: 1px solid rgba(244,231,193,.64);
  border-radius: 4px;
  background: rgba(116,0,2,.16);
  padding: 0 8px;
}

.quote-button {
  min-height: 38px;
  border-color: rgba(244,231,193,.82);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0)),
    rgba(121, 0, 2, .14);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.quote-button:hover {
  background: linear-gradient(180deg, #fff6d7, #e8c76f);
  color: #7b0204;
  box-shadow: 0 10px 22px rgba(68,0,0,.22);
}

.hero {
  height: 300px;
  border-bottom: 1px solid #dde6ef;
  background:
    linear-gradient(180deg, #f8fbfd, #edf4f8);
}

.hero__image {
  filter: saturate(1.04) contrast(1.03);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(250,252,253,.98) 0%, rgba(247,250,252,.9) 34%, rgba(247,250,252,.38) 58%, rgba(247,250,252,.04) 82%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0));
}

.hero__content {
  width: min(760px, calc(100% - 72px));
  padding: 52px 0 0 48px;
}

.hero h1 {
  color: #15202a;
  font-size: 46px;
  text-shadow: 0 1px 0 rgba(255,255,255,.88);
}

.hero p {
  color: #2f3d4b;
  font-size: 18px;
}

.hero__features {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-feature {
  min-width: 154px;
  border: 1px solid rgba(198,213,226,.78);
  border-radius: 8px;
  background: rgba(255,255,255,.76);
  padding: 10px 13px;
  box-shadow: 0 10px 24px rgba(33,54,72,.08);
  backdrop-filter: blur(8px);
}

.hero-feature span {
  border-color: rgba(183,6,8,.2);
  background: linear-gradient(180deg, #fff, #f7fbff);
  color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.section-tag {
  border: 1px solid rgba(183,6,8,.12);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)),
    #fff2f2;
  letter-spacing: 0;
}

.section-header h2 {
  color: #17212b;
  font-size: 32px;
}

.section-header p {
  color: #5d6874;
}

.home-products,
.support-section,
.about-section,
.quality-section,
.news-section,
.contact-info-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.98)),
    repeating-linear-gradient(90deg, rgba(31,41,51,.035) 0, rgba(31,41,51,.035) 1px, transparent 1px, transparent 96px);
}

.home-products {
  position: relative;
  padding: 78px clamp(30px, 5vw, 96px);
}

.home-products::before,
.contact-panel::before,
.site-footer::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  content: "";
}

.home-products__grid {
  gap: 24px 18px;
  width: min(100%, 1680px);
}

.product-card,
.support-card,
.quality-card,
.about-detail-card,
.quality-detail-card,
.news-card,
.contact-info-card,
.help-card,
.faq-item {
  border-color: rgba(204, 213, 222, .86);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(255,255,255,.9), 0 10px 28px rgba(23,33,43,.06);
}

.product-card {
  position: relative;
  overflow: hidden;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s;
}

.product-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
  opacity: 0;
  content: "";
  transition: opacity .28s;
}

.product-card:hover {
  border-color: rgba(183,6,8,.34);
  box-shadow: 0 18px 44px rgba(23,33,43,.14);
}

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

.product-card__image {
  background:
    linear-gradient(180deg, #f7fbfd, #eef5f8);
}

.product-card__body {
  padding: 14px 14px 16px;
}

.product-card h3 {
  color: #14202a;
}

.product-code {
  color: #707b86;
}

.details-button {
  border-radius: 4px;
  background:
    linear-gradient(180deg, #fff, #fff8f8);
}

.details-button:hover {
  box-shadow: 0 8px 18px rgba(183,6,8,.2);
}

.catalog-main {
  background:
    linear-gradient(180deg, #fff, #fbfcfd);
}

.sidebar {
  background: linear-gradient(180deg, #fff, #fbfaf7);
}

.contact-panel {
  position: relative;
  border-top: 0;
  background:
    linear-gradient(135deg, #f7f9fb 0%, #ffffff 58%, #fbf6e7 100%);
  padding: 58px max(24px, 12vw) 72px;
}

.contact-panel h2 {
  font-size: 30px;
}

.contact-panel form {
  width: min(980px, 100%);
  border: 1px solid rgba(204,213,222,.9);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.contact-panel input,
.contact-panel textarea {
  border-color: #d8dee6;
  background: #fbfcfd;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.contact-panel input:focus,
.contact-panel textarea:focus,
.toolbar-controls input:focus,
.toolbar-controls select:focus,
.search-overlay input:focus {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(183,6,8,.1);
  outline: none;
}

.contact-panel button,
.chat-widget__form button,
.help-card a,
.help-card button {
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0)),
    var(--red);
  box-shadow: 0 8px 20px rgba(183,6,8,.2);
}

.contact-info-section {
  padding-top: 58px;
  padding-bottom: 62px;
}

.contact-info-card {
  position: relative;
  overflow: hidden;
  padding: 30px 22px;
}

.contact-info-card::before {
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.home-contact-cta {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0)),
    linear-gradient(120deg, #b5080a, #850204);
}

.cta-button {
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(58,0,2,.18);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #1a2631 0%, #111b24 100%);
}

.site-footer::after {
  position: absolute;
  right: 6%;
  bottom: -90px;
  width: 520px;
  height: 190px;
  background: url("assets/dragon-ornament-gold.png") center / contain no-repeat;
  content: "";
  filter: saturate(1.15);
  opacity: .055;
  pointer-events: none;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-logo img {
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.24));
}

.footer-links h4,
.footer-contact h4 {
  color: #fff3c4;
}

.footer-social a {
  border-radius: 4px;
}

@keyframes chatFabHalo {
  0%, 100% { opacity: .22; transform: scale(1); }
  50% { opacity: .42; transform: scale(1.18); }
}

.chat-fab {
  border: 1px solid rgba(244,231,193,.55);
  background:
    radial-gradient(circle at 35% 24%, #ee4b45 0, #c40b0e 42%, #8a0204 100%);
  box-shadow: 0 10px 28px rgba(183,6,8,.34);
}

.chat-fab::before {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(216,179,95,.56);
  border-radius: 50%;
  animation: chatFabHalo 2.4s var(--ease-out) infinite;
  content: "";
}

@media (max-width: 1200px) {
  .topbar {
    grid-template-columns: 320px 1fr;
  }

  .header-actions {
    display: none;
  }
}

@media (max-width: 860px) {
  .topbar {
    display: flex;
    gap: 8px;
    height: 60px;
    padding: 0 14px;
  }

  .topbar::before {
    background-position: 56% 50%;
    background-size: 360px auto;
    opacity: .14;
  }

  .topbar::after {
    right: -84px;
    width: 300px;
    opacity: .08;
  }

  .brand {
    flex: 0 0 auto;
    gap: 0;
  }

  .brand__logo,
  .brand__logo img {
    width: 38px;
    height: 38px;
  }

  .brand__text,
  .nav {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    margin-right: 0;
    margin-left: 0;
  }

  .mobile-search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 34px;
    border-color: rgba(244,231,193,.72);
    background: rgba(255,255,255,.14);
    font-size: 12px;
  }

  .mobile-lang {
    flex: 0 0 72px;
    width: 72px;
    height: 34px;
    padding: 0 5px;
    font-size: 12px;
  }

  .hamburger {
    flex: 0 0 auto;
    display: flex;
    border-color: rgba(244,231,193,.64);
    border-radius: 4px;
  }

  .mobile-nav {
    top: 60px;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(216,179,95,.38);
    background: linear-gradient(180deg, #a90608, #7f0204);
  }

  .mobile-nav nav a {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .mobile-nav nav a.mobile-nav__quote {
    margin: 8px 14px 10px;
    height: 42px;
    justify-content: center;
    border: 1px solid rgba(244, 231, 193, .72);
    border-radius: 4px;
    background: linear-gradient(180deg, #fff6d7, #e7bf63);
    color: #7b0204;
    box-shadow: 0 10px 20px rgba(68, 0, 0, .2);
  }

  .hero {
    height: auto;
    min-height: 420px;
  }

  .hero__content {
    width: 100%;
    padding: 36px 18px 292px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-feature {
    width: min(100%, 250px);
  }

  .home-products,
  .support-section,
  .about-section,
  .quality-section,
  .news-section,
  .contact-info-section {
    padding-top: 52px;
    padding-bottom: 52px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .contact-panel {
    padding: 42px 20px 54px;
  }

  .contact-panel form {
    padding: 18px;
  }

  .site-footer::after {
    right: -180px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 410px;
  }

  .hero__content {
    padding-bottom: 258px;
  }

  .section-header h2,
  .contact-panel h2 {
    font-size: 24px;
  }

  .home-products__grid {
    gap: 18px;
  }

  .product-card__body {
    padding: 14px;
  }

  .contact-panel form {
    grid-template-columns: 1fr;
  }
}

/* Smooth same-site page transitions for navigation. */
@keyframes pageEnterContent {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

body.page-transition-enabled::before {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 220;
  height: 3px;
  background: linear-gradient(90deg, #fff4c8, var(--gold), #fff4c8);
  box-shadow: 0 0 18px rgba(216, 179, 95, .54);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
}

body.page-transition-enabled.is-page-ready main,
body.page-transition-enabled.is-page-ready .site-footer {
  animation: pageEnterContent .42s var(--ease-out) both;
}

body.page-transition-enabled.is-page-ready .site-footer {
  animation-delay: .04s;
}

body.is-page-leaving {
  cursor: progress;
}

body.is-page-leaving::before {
  opacity: 1;
  transform: scaleX(1);
  transition: transform .28s var(--ease-out), opacity .12s;
}

body.is-page-leaving main,
body.is-page-leaving .site-footer,
body.is-page-leaving .mobile-nav:not([hidden]) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  filter: blur(4px);
  transition: opacity .22s ease, transform .26s var(--ease-out), filter .26s ease;
}

body.is-page-leaving .topbar {
  box-shadow: 0 10px 34px rgba(87, 0, 2, .3);
}

@media (prefers-reduced-motion: reduce) {
  body.page-transition-enabled.is-page-ready main,
  body.page-transition-enabled.is-page-ready .site-footer {
    animation: none;
  }

  body.page-transition-enabled::before {
    display: none;
  }

  body.is-page-leaving main,
  body.is-page-leaving .site-footer,
  body.is-page-leaving .mobile-nav:not([hidden]) {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/*
 * Header layout tiers keep the navigation legible across translated labels.
 * Tablet widths use the same focused search/language/menu toolbar as mobile;
 * compact desktops scale the desktop controls together instead of letting them
 * compete for the same horizontal space.
 */
@media (min-width: 861px) and (max-width: 1320px) {
  .topbar {
    display: flex;
    gap: 12px;
    height: 64px;
    padding: 0 18px;
  }

  .topbar::before {
    background-position: 56% 50%;
    background-size: 460px auto;
    opacity: .16;
  }

  .topbar::after {
    right: -72px;
    width: 360px;
    opacity: .09;
  }

  .brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .brand__logo,
  .brand__logo img {
    width: 42px;
    height: 42px;
  }

  .brand__text strong {
    max-width: 180px;
    font-size: 15px;
  }

  .brand__text small {
    display: none;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 640px;
    gap: 8px;
    margin: 0 0 0 auto;
  }

  .mobile-search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 34px;
    border-color: rgba(244,231,193,.72);
    background: rgba(255,255,255,.14);
    font-size: 12px;
  }

  .mobile-lang {
    flex: 0 0 72px;
    width: 72px;
    height: 34px;
    padding: 0 5px;
    font-size: 12px;
  }

  .hamburger {
    flex: 0 0 auto;
    display: flex;
    border-color: rgba(244,231,193,.64);
    border-radius: 4px;
  }

  .mobile-nav {
    top: 64px;
  }
}

@media (min-width: 861px) and (max-width: 1100px) {
  .brand__text {
    display: none;
  }
}

@media (min-width: 1321px) and (max-width: 1799px) {
  .topbar {
    grid-template-columns: 190px minmax(0, 1fr) auto;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand__text small {
    display: none;
  }

  .brand__text strong {
    max-width: 132px;
    font-size: 17px;
  }

  .nav {
    min-width: 0;
    justify-content: flex-start;
    gap: 0;
  }

  .nav a {
    padding-right: clamp(7px, .5vw, 9px);
    padding-left: clamp(7px, .5vw, 9px);
    font-size: clamp(10px, .7vw, 12px);
  }

  .nav a.is-active::after {
    right: clamp(7px, .5vw, 9px);
    left: clamp(7px, .5vw, 9px);
  }

  .header-actions {
    display: flex;
    gap: 4px;
  }

  .header-search-input {
    width: clamp(132px, 10vw, 180px);
  }

  .language {
    padding: 0 6px;
    font-size: 11px;
  }

  .quote-button {
    min-height: 34px;
    padding-right: clamp(8px, .55vw, 10px);
    padding-left: clamp(8px, .55vw, 10px);
    font-size: clamp(10px, .7vw, 12px);
    white-space: nowrap;
  }
}

@media (min-width: 1321px) and (max-width: 1799px) {
  html[lang="zh-CN"] .topbar {
    grid-template-columns: 280px minmax(0, 1fr) auto;
  }

  html[lang="zh-CN"] .brand__text strong {
    max-width: 260px;
    font-size: 18px;
  }
}

/* Keep the primary navigation on a dedicated, truly centered desktop rail. */
@media (min-width: 1321px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    column-gap: 16px;
  }

  html[lang="zh-CN"] .topbar {
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .nav {
    grid-column: 2;
    width: max-content;
    min-width: 0;
    justify-self: center;
    justify-content: center;
  }

  .header-actions {
    grid-column: 3;
    min-width: 0;
    justify-self: end;
  }
}

@media (min-width: 1321px) and (max-width: 1799px) {
  .topbar {
    column-gap: 12px;
  }

  .topbar .header-search-input {
    width: clamp(118px, 8.8vw, 162px);
  }

  html[lang="es"] .nav a,
  html[lang="id"] .nav a {
    padding-right: clamp(6px, .42vw, 8px);
    padding-left: clamp(6px, .42vw, 8px);
    font-size: clamp(10px, .68vw, 11px);
  }
}

/* Landscape keeps every primary navigation choice visible at every breakpoint. */
@media (orientation: landscape) and (max-width: 1320px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    height: 64px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
  }

  .nav {
    grid-column: 2;
    display: flex;
    width: max-content;
    min-width: 0;
    height: 64px;
    justify-self: center;
    justify-content: center;
    gap: 0;
  }

  .nav a {
    height: 64px;
    padding-right: clamp(4px, .45vw, 7px);
    padding-left: clamp(4px, .45vw, 7px);
    font-size: clamp(9px, .72vw, 11px);
  }

  .nav a.is-active::after {
    right: clamp(5px, .5vw, 8px);
    bottom: 9px;
    left: clamp(5px, .5vw, 8px);
  }

  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-self: end;
    gap: 0;
    margin: 0;
  }

  .mobile-header-actions .mobile-search-input {
    display: none;
  }

  .mobile-lang {
    flex: 0 0 56px;
    width: 56px;
    height: 32px;
    padding: 0 3px;
    font-size: 10px;
  }
}

@media (orientation: landscape) and (max-width: 1199px) {
  .mobile-header-actions {
    margin-right: 44px;
  }

  .hamburger {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    width: 34px;
    height: 34px;
    align-self: center;
    justify-self: end;
    margin: 0;
    border-color: rgba(244,231,193,.64);
    border-radius: 4px;
  }
}

@media (orientation: landscape) and (min-width: 1200px) and (max-width: 1320px) {
  .header-actions {
    grid-column: 3;
    display: flex;
    min-width: 0;
    justify-self: end;
    gap: 4px;
  }

  .topbar .header-search-input {
    width: clamp(96px, 8vw, 118px);
  }

  .header-actions .language {
    padding: 0 5px;
    font-size: 10px;
  }

  .header-actions .quote-button {
    min-height: 32px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .mobile-header-actions {
    display: none;
  }

  .hamburger {
    display: none;
  }
}

@media (orientation: landscape) and (max-width: 660px) {
  .topbar {
    column-gap: 6px;
    height: 56px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand__logo,
  .brand__logo img {
    width: 34px;
    height: 34px;
  }

  .nav {
    height: 56px;
  }

  .nav a {
    height: 56px;
    padding-right: clamp(2px, .38vw, 4px);
    padding-left: clamp(2px, .38vw, 4px);
    font-size: clamp(7px, 1.8vw, 9px);
  }

  .mobile-lang {
    flex-basis: 46px;
    width: 46px;
    height: 30px;
    font-size: 9px;
  }

  .mobile-header-actions {
    margin-right: 40px;
  }

  .hamburger {
    width: 32px;
    height: 32px;
  }

  .mobile-nav {
    top: 56px;
  }
}

/* Desktop-width portrait windows keep the primary navigation visible too. */
@media (orientation: portrait) and (min-width: 1000px) and (max-width: 1320px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    height: 64px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: max-content;
    min-width: 0;
    height: 64px;
    justify-self: center;
    justify-content: center;
    gap: 0;
  }

  .nav a {
    height: 64px;
    padding-right: clamp(4px, .45vw, 7px);
    padding-left: clamp(4px, .45vw, 7px);
    font-size: clamp(9px, .72vw, 11px);
  }

  .nav a.is-active::after {
    right: clamp(5px, .5vw, 8px);
    bottom: 9px;
    left: clamp(5px, .5vw, 8px);
  }

  .header-actions {
    display: none;
  }

  .mobile-header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-self: end;
    gap: 0;
    margin: 0 44px 0 0;
  }

  .mobile-header-actions .mobile-search-input {
    display: none;
  }

  .mobile-lang {
    flex: 0 0 56px;
    width: 56px;
    height: 32px;
    padding: 0 3px;
    font-size: 10px;
  }

  .hamburger {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    width: 34px;
    height: 34px;
    align-self: center;
    justify-self: end;
    margin: 0;
    border-color: rgba(244,231,193,.64);
    border-radius: 4px;
  }
}

@media (orientation: portrait) and (min-width: 1120px) and (max-width: 1320px) {
  .header-actions {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    min-width: 0;
    justify-self: end;
    gap: 4px;
  }

  .topbar .header-search-input {
    width: clamp(96px, 8vw, 118px);
  }

  .header-actions .language {
    padding: 0 5px;
    font-size: 10px;
  }

  .header-actions .quote-button {
    min-height: 32px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .mobile-header-actions,
  .hamburger {
    display: none;
  }
}

/* Navigation readability: preserve a dedicated central rail and let the
   surrounding brand/search columns absorb responsive changes instead. */
@media (min-width: 1800px) {
  .nav a {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 14px;
  }
}

@media (min-width: 1321px) and (max-width: 1799px) {
  .nav a {
    padding-right: clamp(8px, .62vw, 11px);
    padding-left: clamp(8px, .62vw, 11px);
    font-size: clamp(12px, .86vw, 14px);
  }

  .nav a.is-active::after {
    right: clamp(8px, .62vw, 11px);
    left: clamp(8px, .62vw, 11px);
  }

  /* These locales have longer navigation labels, so retain a clear type size
     while giving the central rail room for the fixed search controls. */
  html[lang="es"] .nav a,
  html[lang="id"] .nav a {
    padding-right: clamp(7px, .5vw, 9px);
    padding-left: clamp(7px, .5vw, 9px);
    font-size: clamp(11px, .76vw, 12px);
  }
}

@media (orientation: landscape) and (min-width: 661px) and (max-width: 1320px),
       (orientation: portrait) and (min-width: 1000px) and (max-width: 1320px) {
  .nav a {
    padding-right: clamp(5px, .55vw, 8px);
    padding-left: clamp(5px, .55vw, 8px);
    font-size: clamp(10px, 1vw, 12px);
  }

  .nav a.is-active::after {
    right: clamp(6px, .58vw, 9px);
    left: clamp(6px, .58vw, 9px);
  }

  .topbar .header-search-input {
    min-width: 96px;
  }

  html[lang="es"] .nav a,
  html[lang="id"] .nav a {
    padding-right: clamp(4px, .46vw, 7px);
    padding-left: clamp(4px, .46vw, 7px);
    font-size: clamp(10px, .84vw, 11px);
  }
}

@media (orientation: landscape) and (max-width: 660px) {
  .nav a {
    padding-right: clamp(2px, .42vw, 4px);
    padding-left: clamp(2px, .42vw, 4px);
    font-size: clamp(7px, 1.55vw, 10px);
  }
}
