/* ============================================================
   Shaanxi Yirong Xiahang Trading Co., Ltd. — machine parts desk
   LIGHT parts-desk theme. No rgba, no opacity, no gradients.
   ============================================================ */

:root {
  --cab-grey: #F0EFEA;
  --cab-grey-panel: #F8F7F3;
  --cab-deep: #26292B;
  --steel-scribed: #767E7E;
  --bear-ink: #2B2E2B;
  --pull-orange: #C2652E;
  --belt-rubber: #3A3C3E;
  --scribe-line: #CBC9C1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #F0EFEA;
  color: #2B2E2B;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: #26292B;
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

a {
  color: #C2652E;
}

/* ---------- DRAWER FACE NAV ---------- */

.drawerfascia {
  background-color: #26292B;
  border-bottom: 6px solid #767E7E;
  padding: 0;
  position: relative;
  z-index: 40;
}

.drawerface {
  display: flex;
  align-items: stretch;
  gap: 6px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px 10px 24px;
  flex-wrap: wrap;
}

.drawerbrand {
  flex: 0 0 auto;
  align-self: stretch;
  background-color: #F8F7F3;
  border: 2px solid #767E7E;
  border-radius: 3px;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 260px;
}

.drawerbrand .brandplate {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  color: #26292B;
  line-height: 1.2;
}

.drawerbrand .brandsub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #767E7E;
  margin-top: 3px;
}

.drawerlink {
  flex: 1 1 auto;
  min-width: 96px;
  background-color: #767E7E;
  border: 2px solid #5E6666;
  border-radius: 3px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  transition: background-color 0.18s ease;
}

.drawerlink:hover,
.drawerlink:focus {
  background-color: #868E8E;
}

.drawerlink:nth-child(2) { flex-grow: 1; }
.drawerlink:nth-child(3) { flex-grow: 1.4; }
.drawerlink:nth-child(4) { flex-grow: 1.2; }
.drawerlink:nth-child(5) { flex-grow: 1.1; }
.drawerlink:nth-child(6) { flex-grow: 1.3; }

.labelwin {
  background-color: #F0EFEA;
  border: 1px solid #B9B7AF;
  border-radius: 2px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #2B2E2B;
  letter-spacing: 0.03em;
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
}

.pullknob {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #C2652E;
  border: 2px solid #E29A6B;
}

.drawertoggle {
  display: none;
}

/* ---------- HERO: OPEN CABINET ---------- */

.partsbay {
  background-color: #F0EFEA;
  padding: 56px 0 0 0;
}

.heroheadline {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 26px 24px;
}

.heroheadline h1 {
  font-size: 60px;
  line-height: 1.02;
  margin: 0 0 4px 0;
  color: #26292B;
}

.heroheadline .displayword {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  font-weight: 700;
  color: #C2652E;
  letter-spacing: -0.02em;
  margin: 0 0 22px 0;
}

.herocopy {
  max-width: 720px;
  font-size: 18px;
  color: #2B2E2B;
}

.herocopy p {
  margin: 0 0 14px 0;
}

.inlinearrow {
  display: inline-block;
  font-weight: 700;
  color: #C2652E;
  text-decoration: none;
  border-bottom: 2px solid #C2652E;
  padding-bottom: 1px;
}

.inlinearrow:hover {
  color: #26292B;
  border-bottom-color: #26292B;
}

/* cabinet band */

.cabinetband {
  background-color: #26292B;
  padding: 44px 0 0 0;
  margin-top: 8px;
}

.cabinetinner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 40px 24px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* steel cabinet */

.cabinetbody {
  flex: 1 1 320px;
  min-width: 280px;
  background-color: #767E7E;
  border-radius: 6px;
  padding: 14px;
  border: 2px solid #5E6666;
}

.cabinetbody .cabinetcap {
  height: 10px;
  background-color: #5E6666;
  border-radius: 3px;
  margin-bottom: 12px;
}

.drawerstack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.steel-drawer {
  background-color: #F0EFEA;
  border: 2px solid #B9B7AF;
  border-radius: 3px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.steel-drawer .dlab {
  width: 76px;
  height: 24px;
  background-color: #F8F7F3;
  border: 1px solid #CBC9C1;
  border-radius: 2px;
}

.steel-drawer .dhandle {
  width: 44px;
  height: 9px;
  border-radius: 4px;
  background-color: #C2652E;
}

.drawer-open {
  background-color: #F8F7F3;
  border: 2px solid #C2652E;
  border-radius: 3px;
  padding: 12px;
}

.openfelt {
  display: flex;
  gap: 8px;
}

.feltcell {
  flex: 1 1 0;
  background-color: #767E7E;
  border-radius: 3px;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ball-bearing {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F8F7F3;
  border: 7px solid #3A3C3E;
  box-shadow: inset 0 0 0 5px #CBC9C1;
}

.gasket-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 9px solid #3A3C3E;
  background-color: transparent;
}

.gasket-ring.small {
  width: 32px;
  height: 32px;
  border-width: 7px;
}

.sheavebush {
  width: 42px;
  height: 24px;
  background-color: #CBC9C1;
  border: 3px solid #3A3C3E;
  border-radius: 12px;
  position: relative;
}

.sheavebush::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background-color: #C2652E;
}

/* peg board */

.hookboard {
  flex: 1 1 280px;
  min-width: 250px;
  background-color: #767E7E;
  border-radius: 6px;
  border: 2px solid #5E6666;
  padding: 16px;
  position: relative;
}

.hookboard .boardcap {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F0EFEA;
  margin-bottom: 10px;
  font-weight: 700;
}

.pegholes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.pegholes span {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background-color: #5E6666;
}

.belthang {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 0 8px 0;
}

.beltloop {
  width: 46px;
  height: 76px;
  border-radius: 24px;
  border: 7px solid #3A3C3E;
  background-color: transparent;
}

.beltloop.two {
  height: 62px;
  border-color: #3A3C3E;
  border-width: 6px;
}

/* ledger */

.refledger {
  flex: 1 1 260px;
  min-width: 240px;
  background-color: #F8F7F3;
  border: 2px solid #CBC9C1;
  border-radius: 4px;
  padding: 16px;
}

.refledger .ledgerhead {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: #26292B;
  border-bottom: 2px solid #C2652E;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.ruledrow {
  height: 12px;
  border-bottom: 1px solid #CBC9C1;
  margin-bottom: 8px;
}

.ruledrow.short {
  width: 62%;
}

/* loupe */

.loupeside {
  flex: 1 1 200px;
  min-width: 180px;
  background-color: #767E7E;
  border: 2px solid #5E6666;
  border-radius: 6px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.loupeside .loupe {
  position: relative;
  width: 112px;
  height: 112px;
}

.loupeglassring {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 8px solid #F0EFEA;
  box-shadow: inset 0 0 0 3px #CBC9C1;
}

.loupechain {
  position: absolute;
  left: 82px;
  top: 78px;
  width: 6px;
  height: 58px;
  background-color: #F0EFEA;
  transform: rotate(28deg);
  border-radius: 3px;
}

/* primary CTA functional bar */

.ctabar {
  display: block;
  background-color: #C2652E;
  color: #F8F7F3;
  text-decoration: none;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  padding: 20px 24px;
  text-align: center;
  border-top: 4px solid #8F4720;
}

.ctabar:hover {
  background-color: #A64F1F;
}

.ctabar .ctaarrow {
  margin-left: 10px;
}

/* ---------- SECTIONS ---------- */

.sectionpad {
  background-color: #F0EFEA;
  padding: 64px 0;
}

.sectionpad.alt {
  background-color: #F8F7F3;
}

.sectionhead {
  margin-bottom: 34px;
}

.sectionhead .eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #767E7E;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.sectionhead h2 {
  font-size: 38px;
  margin: 0;
}

.sectionhead p {
  max-width: 760px;
  font-size: 17px;
  color: #2B2E2B;
}

/* ---------- PEG BELT ROWS ---------- */

.pegwall {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pegrow {
  display: flex;
  align-items: stretch;
  gap: 22px;
  background-color: #F8F7F3;
  border: 2px solid #CBC9C1;
  border-radius: 4px;
  padding: 20px 22px;
  position: relative;
}

/* irregular widths + offsets so no two rows align */
.pegrow.r1 { margin-left: 0;     max-width: 1010px; }
.pegrow.r2 { margin-left: 70px;  max-width: 960px;  }
.pegrow.r3 { margin-left: 26px;  max-width: 1040px; }
.pegrow.r4 { margin-left: 110px; max-width: 900px;  }
.pegrow.r5 { margin-left: 44px;  max-width: 990px;  }
.pegrow.r6 { margin-left: 8px;   max-width: 940px;  }

.pegtaggrip {
  flex: 0 0 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 4px;
}

.pegpeg {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #767E7E;
  margin-bottom: 8px;
}

.pegitem {
  width: 48px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hanging item variants (all different) */
.item-belt {
  width: 38px;
  height: 58px;
  border: 6px solid #3A3C3E;
  border-radius: 20px;
  background-color: transparent;
}

.item-seal {
  width: 46px;
  height: 46px;
  border: 8px solid #767E7E;
  border-radius: 50%;
  background-color: transparent;
}

.item-chain {
  width: 10px;
  height: 58px;
  background-color: #767E7E;
  border-radius: 5px;
  box-shadow: 8px 0 0 #767E7E, 16px 0 0 #767E7E;
}

.item-sheave {
  width: 44px;
  height: 30px;
  background-color: #CBC9C1;
  border: 4px solid #3A3C3E;
  border-radius: 15px;
  position: relative;
}

.item-sheave::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background-color: #C2652E;
  border-radius: 50%;
}

.item-spring {
  width: 46px;
  height: 54px;
  background: repeating-linear-gradient(180deg, #767E7E 0 4px, transparent 4px 12px);
  border-left: 4px solid #767E7E;
  border-right: 4px solid #767E7E;
}

.item-hose {
  width: 44px;
  height: 44px;
  border: 6px solid #3A3C3E;
  border-radius: 50% 50% 0 0;
  border-bottom-color: transparent;
  background-color: transparent;
}

.pegtext {
  flex: 1 1 auto;
}

.pegtext h3 {
  font-size: 24px;
  margin: 0 0 6px 0;
  color: #2B2E2B;
}

.pegtext p {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #2B2E2B;
}

.pegtext .rowlink {
  font-weight: 700;
  color: #C2652E;
  text-decoration: none;
  border-bottom: 2px solid #C2652E;
}

.pegtext .rowlink:hover {
  color: #26292B;
  border-bottom-color: #26292B;
}

/* corner tag-letter marks (irregular letters) */
.tagletter {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 13px;
  color: #767E7E;
  letter-spacing: 0.1em;
}

/* exactly one solid MATCHED tag */
.matchedtag {
  position: absolute;
  top: 8px;
  right: 12px;
  background-color: #C2652E;
  color: #F8F7F3;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 2px;
}

/* exactly one STEEL-SCRIBED outline checked mark */
.checkedmark {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 2px solid #767E7E;
  color: #767E7E;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ---------- REFERENCE LEDGER STRIP ---------- */

.ledgerstrip {
  background-color: #26292B;
  padding: 40px 0;
}

.ledgerstrip .ledgerinner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.openbook {
  flex: 0 0 260px;
  background-color: #F0EFEA;
  border: 3px solid #767E7E;
  border-radius: 4px;
  padding: 14px 16px;
  position: relative;
}

.openbook::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background-color: #CBC9C1;
}

.openbook .bookcol {
  height: 12px;
  border-bottom: 1px solid #CBC9C1;
  margin-bottom: 9px;
}

.openbook .bookcol:nth-child(even) {
  width: 70%;
}

.ledgertext {
  flex: 1 1 400px;
}

.ledgertext p {
  color: #F0EFEA;
  font-size: 18px;
  margin: 0 0 10px 0;
}

/* ---------- process / account blocks ---------- */

.twocolgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.infoblock {
  background-color: #F8F7F3;
  border: 2px solid #CBC9C1;
  border-left: 6px solid #C2652E;
  border-radius: 4px;
  padding: 22px;
}

.infoblock h3 {
  font-size: 22px;
  margin: 0 0 8px 0;
}

.infoblock p {
  margin: 0 0 10px 0;
  color: #2B2E2B;
}

.proseblock {
  max-width: 860px;
}

.proseblock p {
  font-size: 17px;
  color: #2B2E2B;
  margin: 0 0 16px 0;
}

.proseblock a {
  color: #C2652E;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #C2652E;
}

.proseblock a:hover {
  color: #26292B;
  border-bottom-color: #26292B;
}

/* accordion */

.accordion {
  max-width: 900px;
}

.accitem {
  border-bottom: 2px solid #CBC9C1;
}

.accbtn {
  width: 100%;
  background-color: transparent;
  border: none;
  text-align: left;
  padding: 18px 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  color: #26292B;
  cursor: pointer;
}

.accbtn:hover {
  color: #C2652E;
}

.accpanel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.accpanel p {
  margin: 0 0 18px 0;
  padding: 0 4px;
  color: #2B2E2B;
}

.accitem.open .accpanel {
  max-height: 340px;
}

/* ---------- CABINET PLINTH FOOTER ---------- */

.plinthfoot {
  background-color: #26292B;
  padding: 0;
  margin-top: 0;
}

.plinthkick {
  height: 16px;
  background-color: #767E7E;
  border-top: 4px solid #5E6666;
  position: relative;
}

.kicksilhouette-loupe {
  position: absolute;
  right: 120px;
  top: -20px;
  width: 34px;
  height: 34px;
  border: 5px solid #F0EFEA;
  border-radius: 50%;
  background-color: #767E7E;
}

.kicksilhouette-pull {
  position: absolute;
  right: 66px;
  top: -12px;
  width: 26px;
  height: 10px;
  background-color: #C2652E;
  border-radius: 5px;
}

.plinthinner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 24px 30px 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.plinthbrand {
  flex: 1 1 320px;
}

.plinthbrand .pbrand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  color: #F0EFEA;
  margin-bottom: 10px;
}

.plinthbrand p {
  color: #CBC9C1;
  font-size: 15px;
  margin: 0 0 8px 0;
  max-width: 420px;
}

.plinthlinks {
  flex: 1 1 300px;
  display: flex;
  gap: 44px;
}

.linkcol h4 {
  color: #F0EFEA;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.linkcol h4 .bearingglyph {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #C2652E;
  border: 3px solid #F0EFEA;
  margin-right: 7px;
  vertical-align: middle;
}

.linkcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.linkcol li {
  margin-bottom: 8px;
}

.linkcol a {
  color: #CBC9C1;
  text-decoration: none;
  font-size: 15px;
}

.linkcol a:hover {
  color: #F8F7F3;
  text-decoration: underline;
}

.plinthstrip {
  background-color: #1D2022;
  padding: 16px 0;
}

.plinthstrip .stripinner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #CBC9C1;
  font-size: 14px;
}

.plinthstrip a {
  color: #E29A6B;
  text-decoration: none;
}

.plinthstrip a:hover {
  text-decoration: underline;
}

.drawerglyph {
  display: inline-block;
  width: 14px;
  height: 10px;
  border: 2px solid #CBC9C1;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}

.drawerglyph::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 4px;
  height: 4px;
  background-color: #C2652E;
  border-radius: 1px;
}

/* ---------- forms ---------- */

.formcard {
  max-width: 720px;
  background-color: #F8F7F3;
  border: 2px solid #CBC9C1;
  border-left: 6px solid #C2652E;
  border-radius: 4px;
  padding: 28px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  color: #26292B;
  margin-bottom: 6px;
  font-size: 14px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #767E7E;
  border-radius: 3px;
  background-color: #F0EFEA;
  color: #2B2E2B;
  font-size: 16px;
  font-family: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #C2652E;
}

.submitbtn {
  background-color: #C2652E;
  color: #F8F7F3;
  border: none;
  border-radius: 3px;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.submitbtn:hover {
  background-color: #A64F1F;
}

.formnote {
  margin-top: 14px;
  font-size: 14px;
  color: #767E7E;
}

.contactfacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 34px;
}

.factblock {
  background-color: #F0EFEA;
  border: 2px solid #CBC9C1;
  border-radius: 4px;
  padding: 20px;
}

.factblock h3 {
  font-size: 17px;
  margin: 0 0 6px 0;
}

.factblock p {
  margin: 0;
  color: #2B2E2B;
}

.faqblock {
  margin-top: 12px;
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.shown {
  opacity: 1;
  transform: translateY(0);
}

/* noscript / no-js safety: keep everything visible */
.nojs .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .heroheadline h1 { font-size: 42px; }
  .heroheadline .displayword { font-size: 46px; }
  .twocolgrid { grid-template-columns: 1fr; }
  .contactfacts { grid-template-columns: 1fr; }
  .pegrow.r2, .pegrow.r4, .pegrow.r5 { margin-left: 0; }
  .drawerface { flex-direction: column; }
  .drawerbrand { min-width: 0; }
  .drawertoggle {
    display: block;
    width: 100%;
    background-color: #767E7E;
    color: #F0EFEA;
    border: 2px solid #5E6666;
    border-radius: 3px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }
  .drawerface .drawerlinkset { display: none; width: 100%; }
  .drawerface.open .drawerlinkset {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
}

@media (min-width: 901px) {
  .drawerlinkset {
    display: flex;
    flex: 1 1 auto;
    gap: 6px;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .heroheadline h1 { font-size: 34px; }
  .heroheadline .displayword { font-size: 37px; }
  .cabinetinner { flex-direction: column; }
  .plinthlinks { flex-direction: column; gap: 24px; }
  .sectionhead h2 { font-size: 29px; }
}
