:root {
  color-scheme: light;
  --text: #222831;
  --muted: #6b7280;
  --line: #e7e9ed;
  --soft: #f5f6f8;
  --deep: #0d2b4f;
  --green: #0d2b4f;
  --red: #ff6d00;
  --blue: #1565c0;
  --orange: #ff6d00;
  --orange-dark: #c45100;
  --steel: #222831;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

.hidden-section {
  display: none !important;
}

body.model-page-active .home-model-catalog,
body.model-page-active .sales-highlights,
body.model-page-active .feature-strip,
body.model-page-active .articles-preview {
  display: none;
}

body.model-page-active #finder {
  display: block;
}

body.category-page-active .home-hero-panel,
body.category-page-active .home-catalog-head,
body.category-page-active .category-icon-strip,
body.category-page-active .category-overview,
body.category-page-active .sales-highlights {
  display: none;
}

.detail-page-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 100%;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  font-weight: 800;
}

body.model-page-active .detail-page-bar {
  display: flex;
}

.detail-page-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: #fff;
  background: #111418;
}

.home-model-catalog {
  padding: 18px 12px 42px;
  background: #fff;
}

.home-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 22px;
  border: 1px solid #e3e7ec;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f8fa;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 34px 38px;
}

.home-hero-copy .eyebrow {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #05070a;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.home-hero-copy p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #1d2733;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  color: #071d3c;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.home-hero-actions a.primary {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}

.home-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.home-hero-points span {
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 620px);
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #d6dde6;
  border-radius: 999px;
  color: var(--deep);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.home-hero-points span:nth-child(-n+7) {
  border-color: rgba(255, 109, 0, 0.28);
  color: var(--orange-dark);
  background: #fff5ed;
}

.brand,
.header-actions a,
.nav-links a,
.home-model-card strong,
.popular-model-card strong,
.native-product-table th,
.table-sort-button {
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
}

.home-hero-image {
  min-height: 360px;
  background: #fff;
}

.home-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.home-catalog-head {
  max-width: 1180px;
  margin-bottom: 16px;
  padding-left: 4px;
}

.home-catalog-head h1 {
  margin: 0 0 4px;
  color: #05070a;
  font-size: 28px;
  line-height: 1.2;
}

.home-catalog-head p {
  margin: 0;
  max-width: 980px;
  color: #1f2935;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.category-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 28px;
}

/* tablet: 5 per row still fine at 768px+, smaller → 3+2 */

.category-overview a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 16px 10px 14px;
  border: 1.5px solid #d8dce2;
  border-radius: 10px;
  color: #111418;
  background: #fff;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.category-overview a:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 24px rgba(238,77,45,0.10);
  transform: translateY(-2px);
}

.category-icon-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 14px;
  border: 1px solid #d8dce2;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.category-icon-strip a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  color: #111418;
  border-right: 1px solid #d8dce2;
}

.category-icon-strip a:last-child {
  border-right: 0;
}

.category-icon-strip a:hover {
  background: #f7f9fc;
}

.category-icon-strip strong,
.category-icon-strip small {
  display: block;
  line-height: 1.15;
}

.category-icon-strip strong {
  color: var(--steel);
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.category-icon-strip small {
  margin-top: 3px;
  color: #5b6676;
  font-size: 12px;
  font-weight: 700;
}

.category-line-icon {
  position: relative;
  flex: 0 0 auto;
  display: block;
  width: 38px;
  height: 38px;
  color: var(--steel);
}

.oil-icon::before,
.oring-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.oil-icon::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #fff, 0 0 0 7px currentColor;
}

.oring-icon::before {
  inset: 6px;
  border-width: 4px;
}

.hydraulic-icon::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 17px;
  width: 24px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 99px;
  transform: rotate(-42deg);
}

.hydraulic-icon::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 4px;
  width: 7px;
  height: 31px;
  border: 2px solid currentColor;
  border-radius: 2px;
  transform: rotate(-42deg);
  box-shadow: -10px 0 0 -4px #fff, -10px 0 0 -2px currentColor, 10px 0 0 -4px #fff, 10px 0 0 -2px currentColor;
}

.pneumatic-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 20px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 6px 0 0 #fff, inset 8px 0 0 currentColor;
}

.pneumatic-icon::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 12px;
  width: 14px;
  height: 14px;
  border: 3px solid currentColor;
  border-left-width: 6px;
  border-radius: 3px;
}

.category-overview strong,
.category-overview small {
  display: block;
  text-align: center;
}

.category-overview strong {
  color: #071d3c;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.category-overview small {
  color: #555e6d;
  font-size: 12px;
  font-weight: 500;
}

.category-knowledge {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 24px;
  padding: 22px;
  border: 1px solid #d8dce2;
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fff;
}

.category-knowledge-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-knowledge-copy > span {
  margin-bottom: 8px;
  color: var(--orange);
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.category-knowledge h1 {
  margin: 0;
  color: #071d3c;
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
}

.category-knowledge h1 small {
  display: block;
  margin-top: 6px;
  color: #344052;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.category-knowledge p {
  max-width: 920px;
  margin: 16px 0 0;
  color: #182232;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.category-knowledge ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.category-knowledge li {
  position: relative;
  padding-left: 18px;
  color: #344052;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.category-knowledge li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.category-knowledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.category-knowledge-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #ccd4df;
  border-radius: 6px;
  color: #071d3c;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.category-knowledge-actions a.primary {
  border-color: var(--deep);
  color: #fff;
  background: var(--deep);
}

.category-knowledge figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f6f8;
}

.category-knowledge img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.overview-photo {
  display: block;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #e2e6ec;
  border-radius: 10px;
  background: #f6f8fb;
}

.overview-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-icon {
  position: relative;
  grid-row: 1 / span 2;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: #f2f4f7;
}

.overview-icon::before,
.overview-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 8px solid var(--green);
  background: #fff;
}

.overview-icon::before {
  inset: 12px;
}

.overview-icon::after {
  right: 4px;
  bottom: 7px;
  width: 20px;
  height: 20px;
  border-width: 5px;
  border-color: var(--blue);
}

.overview-icon.oil::before {
  inset: 16px 8px;
  border-color: #222832;
  transform: rotate(-10deg);
}

.overview-icon.hydraulic::before {
  inset: 10px;
  border-radius: 12px;
  border-color: var(--blue);
}

.overview-icon.oring::before {
  border-color: var(--green);
}

.overview-icon.vring::before {
  border-color: var(--red);
  border-radius: 8px 50% 8px 50%;
  transform: rotate(45deg);
}

.overview-icon.pneumatic::before {
  inset: 20px 5px;
  border-color: #5c636d;
}

.overview-icon.pneumatic::after {
  display: none;
}

.home-model-section {
  margin: 0 0 72px;
}

.category-section-head {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: end;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
}

.home-model-section h2 {
  margin: 0;
  color: #111418;
  font-size: 16px;
  line-height: 1.3;
}

.home-model-section h2 span {
  font-size: 14px;
  font-weight: 500;
}

.category-section-head p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.category-illustration {
  position: relative;
  display: block;
  width: 108px;
  height: 78px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f7f8fa, #e8edf2);
  overflow: hidden;
}

.category-illustration.category-photo {
  background: #fff;
  border: 1px solid var(--line);
}

.category-illustration.category-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-illustration i,
.category-illustration b,
.category-illustration em {
  position: absolute;
  display: block;
  font-style: normal;
}

.category-illustration i {
  width: 56px;
  height: 56px;
  left: 14px;
  top: 12px;
  border: 12px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 18px rgba(5,22,45,0.16);
}

.category-illustration b {
  width: 46px;
  height: 46px;
  right: 10px;
  bottom: 10px;
  border: 10px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.category-illustration em {
  width: 72px;
  height: 10px;
  right: -12px;
  top: 18px;
  border-radius: 999px;
  background: #9aa3af;
  transform: rotate(-22deg);
}

.cat-oil i {
  width: 70px;
  height: 34px;
  left: 12px;
  top: 22px;
  border-color: #222832;
  transform: rotate(-10deg);
}

.cat-oil b {
  border-color: #7b473d;
}

.cat-piston i {
  width: 56px;
  height: 42px;
  border-radius: 14px;
  border-color: var(--blue);
}

.cat-piston b {
  border-color: #e6d05e;
}

.cat-pistonrod i,
.cat-rod i {
  width: 86px;
  height: 26px;
  top: 26px;
  border-radius: 999px;
  border-color: #20252d;
}

.cat-pistonrod b {
  border-color: #08a15a;
}

.cat-rod b {
  border-color: var(--blue);
}

.home-model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(128px, 1fr));
  gap: 8px;
}

.home-model-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 0;
  padding: 8px;
  border: 1px solid #e0e3e8;
  color: #101418;
  background: #fff;
  text-decoration: none;
  touch-action: manipulation;
}

.home-model-card:hover {
  border-color: #aeb9c7;
  box-shadow: 0 10px 24px rgba(7, 29, 60, 0.08);
}

.home-model-card strong {
  min-height: 28px;
  color: var(--orange-dark);
  font-size: 13px;
  line-height: 1.2;
}

.model-visual {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: #f5f6f8;
}

.model-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-image,
.overview-photo,
.category-knowledge,
.category-illustration.category-photo,
.model-visual,
.sales-product-image,
.popular-model-card .model-visual,
.main-product-image,
.thumb,
.product-thumb {
  -webkit-touch-callout: none;
  user-select: none;
}

.home-hero-image img,
.overview-photo img,
.category-knowledge img,
.category-illustration.category-photo img,
.model-visual img,
.sales-product-image img,
.popular-model-card .model-visual img,
.main-product-image > img,
.thumb img,
.product-thumb img {
  -webkit-user-drag: none;
  pointer-events: none;
  user-select: none;
}

.model-visual:has(img)::before,
.model-visual:has(img)::after {
  display: none;
}

.model-visual::before,
.model-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 16px solid #1b2028;
  background: transparent;
  box-shadow: 0 12px 22px rgba(0,0,0,0.18);
}

.model-visual::before {
  width: 104px;
  height: 48px;
  left: 18px;
  top: 34px;
  transform: rotate(-8deg);
}

.model-visual::after {
  width: 94px;
  height: 42px;
  right: -20px;
  bottom: 16px;
  transform: rotate(-20deg);
}

.model-visual.blue::before,
.model-visual.blue::after {
  border-color: var(--blue);
}

.model-visual.red::before,
.model-visual.red::after {
  border-color: #c36b4f;
}

.model-visual.brown::before,
.model-visual.brown::after {
  border-color: #7b473d;
}

.model-visual.yellow::before,
.model-visual.yellow::after {
  border-color: #e6d05e;
}

.model-visual.green::before,
.model-visual.green::after {
  border-color: #08a15a;
}

.model-visual.gray::before,
.model-visual.gray::after {
  border-color: #5c636d;
}

.model-visual.cord::before {
  width: 94px;
  height: 94px;
  left: 18px;
  top: 22px;
  border-width: 18px;
  border-radius: 50%;
}

.model-visual.cord::after {
  width: 48px;
  height: 110px;
  right: 20px;
  top: 18px;
  border-color: #dfe5e9;
  border-radius: 12px;
  background: #eaf0f3;
}

.model-visual.oil::before {
  width: 112px;
  height: 46px;
  top: 48px;
  left: 16px;
  border-width: 14px;
}

.model-visual.oil::after {
  width: 46px;
  height: 46px;
  right: 12px;
  bottom: 18px;
  border-width: 10px;
}

.model-visual.piston::before {
  width: 90px;
  height: 70px;
  top: 32px;
  left: 20px;
  border-radius: 18px;
}

.model-visual.xring::before {
  border-radius: 28px 50% 28px 50%;
}

.model-visual.vpack::before {
  width: 110px;
  height: 92px;
  top: 28px;
  border-radius: 12px 12px 50% 50%;
}

.home-model-card dl {
  margin: 8px 0 0;
  display: grid;
  gap: 2px;
  font-size: 12px;
}

.home-model-card dl div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.home-model-card dt {
  color: #3f4854;
}

.home-model-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.model-card-description {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 0;
  color: #344052;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.model-card-unavailable {
  border-style: dashed;
}

.model-card-unavailable strong {
  color: #4d5968;
}

.shopee-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px 3px 5px;
  border-radius: 999px;
  background: #ee4d2d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.shopee-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.model-card-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: #0b3b78;
  background: #eaf1fb;
  font-size: 12px;
  font-weight: 900;
}

.sales-highlights {
  display: grid;
  gap: 32px;
  padding: 32px 16px 64px;
  background: #fff;
}

.sales-block {
  padding-top: 0;
  border-top: none;
}

.sales-block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sales-block-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sales-block-head h2 {
  margin: 0;
  font-size: 24px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
}

.sales-block-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.sales-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 16px;
  border: none;
  padding: 4px 0;
}

.sales-product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 330px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.sales-product-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.sales-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  transition: transform 0.25s ease;
  border: 1px solid #f1f5f9;
}

.sales-product-card:hover .sales-product-image img {
  transform: scale(1.06);
}

.sales-product-image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.sales-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.sales-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.sales-badge.badge-best {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.sales-badge.badge-rec {
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid #e0e7ff;
}

.sales-badge.badge-promo {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fee2e2;
}

.sales-product-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 38px;
}

.sales-product-card small {
  font-size: 12px;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 4px;
  display: block;
}

.sales-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.sales-card-meta b {
  font-size: 13px;
  font-weight: 600;
}

.sales-product-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  transition: all 0.2s ease-in-out;
  margin-top: 8px;
  width: 100%;
}

.sales-product-card a.shop-now {
  color: #fff;
  background: #ff6d00;
  box-shadow: 0 2px 4px rgba(255, 109, 0, 0.15);
}

.sales-product-card a.shop-now:hover {
  background: #e65c00;
  box-shadow: 0 4px 10px rgba(255, 109, 0, 0.25);
  transform: translateY(-1px);
}

.sales-product-card a.line-now {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.sales-product-card a.line-now:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.popular-model-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(140px, 1fr));
  gap: 16px;
}

.popular-model-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-model-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.popular-model-card .model-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  padding: 6px;
  border: 1px solid #f1f5f9;
}

.popular-model-card .model-visual img {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.popular-model-card:hover .model-visual img {
  transform: scale(1.06);
}

.popular-model-card .model-visual:has(img)::before,
.popular-model-card .model-visual:has(img)::after {
  display: none;
}

.popular-model-card .model-visual::before {
  width: 76px;
  height: 34px;
  left: 12px;
  top: 30px;
  border-width: 12px;
}

.popular-model-card .model-visual::after {
  width: 48px;
  height: 30px;
  right: 2px;
  bottom: 14px;
  border-width: 8px;
}

.popular-model-card strong {
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
}

.popular-model-card small {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  margin-top: -4px;
}

.popular-model-card em {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  margin-top: auto;
  border-top: 1px dashed #f1f5f9;
  padding-top: 6px;
}

.secondary-sales-block {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 4px solid var(--deep);
  border-bottom: 1px solid rgba(231, 233, 237, 0.92);
  backdrop-filter: blur(14px);
}

.header-main {
  display: grid;
  grid-template-columns: 230px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 146px;
  padding: 0 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 196px;
  height: 140px;
  object-fit: contain;
  border-radius: 0;
}

.brand span {
  display: none;
}

.global-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  height: 44px;
  border: 3px solid var(--blue);
  background: var(--white);
}

.global-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 0 16px;
  outline: 0;
  font: inherit;
  font-size: 16px;
}

.global-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

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

.header-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #26313f;
  background: #fbfbfc;
  font-size: 13px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 32px;
  border-top: 1px solid var(--line);
  color: #2a3038;
  font-size: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links .nav-primary {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.line-button,
.primary-action,
.secondary-action,
.native-product-table a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.line-button,
.primary-action {
  color: var(--white);
  background: var(--orange);
  padding: 0 20px;
}

.secondary-action {
  color: var(--text);
  border: 1px solid var(--line);
  padding: 0 20px;
  background: var(--white);
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 40px;
  padding: 52px 6vw 32px;
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

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

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: #333941;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.45;
}

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

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.seal-ring {
  position: absolute;
  border-radius: 50%;
  border-style: solid;
  box-shadow: inset 0 16px 38px rgba(255,255,255,0.72), 0 34px 80px rgba(5, 22, 45, 0.12);
}

.ring-green {
  width: min(34vw, 420px);
  aspect-ratio: 1;
  border-width: 48px;
  border-color: var(--green);
  transform: translate(-32px, -26px);
}

.ring-blue {
  width: min(27vw, 340px);
  aspect-ratio: 1;
  border-width: 38px;
  border-color: var(--blue);
  transform: translate(70px, 76px);
  background: rgba(255,255,255,0.42);
}

.spec-panel {
  position: absolute;
  right: 7%;
  bottom: 10%;
  width: min(330px, 82vw);
  padding: 22px;
  border: 1px solid rgba(231, 233, 237, 0.92);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 24px 58px rgba(9, 23, 42, 0.12);
  backdrop-filter: blur(16px);
}

.recommendation-page {
  padding: 24px 32px 38px;
  background: #ffffff;
}

.recommendation-title {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #8e949c;
}

.recommendation-title span {
  width: 8px;
  height: 34px;
  background: var(--blue);
}

.recommendation-title h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.recommend-section {
  margin-top: 18px;
}

.recommend-section header {
  margin-bottom: 10px;
}

.recommend-section h2 {
  margin: 0 0 2px;
  font-size: 17px;
}

.recommend-section p {
  margin: 0;
  color: #17202c;
  font-size: 13px;
  line-height: 1.45;
}

.recommend-section a {
  color: var(--blue);
  text-decoration: underline;
}

.recommend-grid {
  display: grid;
  grid-template-columns: 260px repeat(6, minmax(130px, 1fr));
  border-top: 1px solid #c5c8ce;
  border-left: 1px solid #c5c8ce;
}

.promo-tile,
.category-tile {
  min-height: 214px;
  border-right: 1px solid #c5c8ce;
  border-bottom: 1px solid #c5c8ce;
}

.promo-tile {
  grid-row: span 2;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  color: #ffffff;
  background: linear-gradient(160deg, var(--green), var(--blue));
}

.promo-tile strong,
.promo-tile span {
  display: block;
  font-size: 30px;
  line-height: 1.12;
}

.promo-tile p {
  margin-top: 90px;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
}

.promo-tile a {
  align-self: end;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 38px;
  color: var(--text);
  background: #f5f6f8;
  text-decoration: none;
}

.promo-oil {
  background:
    radial-gradient(circle at 24% 68%, rgba(255,255,255,0.24) 0 12%, transparent 13%),
    linear-gradient(160deg, #111418 0%, var(--blue) 48%, var(--green) 100%);
}

.promo-hydraulic {
  background:
    radial-gradient(circle at 22% 72%, rgba(255,255,255,0.25) 0 12%, transparent 13%),
    linear-gradient(160deg, #0b6d3d 0%, #22a05f 54%, var(--blue) 100%);
}

.category-tile {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 14px;
  color: var(--blue);
  text-align: center;
  text-decoration: none;
  background: #fff;
}

.category-tile strong {
  min-height: 34px;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.25;
}

.category-tile small {
  color: #4f5966;
  font-weight: 700;
}

.seal-icon {
  position: relative;
  display: block;
  width: 82px;
  height: 70px;
}

.seal-icon::before,
.seal-icon::after {
  content: "";
  position: absolute;
  inset: 8px 14px;
  border: 12px solid var(--green);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 18px rgba(5, 22, 45, 0.12);
}

.seal-icon::after {
  inset: 28px 30px 16px 8px;
  border-width: 8px;
  border-color: var(--blue);
}

.seal-icon.blue::before {
  border-color: var(--blue);
}

.seal-icon.oil::before {
  border-radius: 14px;
  transform: rotate(-12deg);
}

.seal-icon.cord::before {
  inset: 18px 4px;
  border-width: 9px;
}

.seal-icon.vshape::before {
  border-radius: 8px 50% 8px 50%;
  transform: rotate(45deg);
}

.seal-icon.backup::before,
.seal-icon.guide::before {
  border-color: var(--red);
}

.seal-icon.piston::after,
.seal-icon.rod::after,
.seal-icon.wiper::after,
.seal-icon.rotary::after,
.seal-icon.other::after,
.seal-icon.line::after,
.seal-icon.shopee::after {
  display: none;
}

.seal-icon.rod::before {
  inset: 24px 4px;
  border-radius: 999px;
}

.seal-icon.wiper::before {
  border-radius: 50% 50% 12px 12px;
}

.seal-icon.line::before {
  border-color: #06c755;
}

.seal-icon.shopee::before {
  border-color: #ee4d2d;
}

.load-more-row {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.load-more-row a {
  min-width: 140px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfc3ca;
  color: var(--text);
  background: #f5f5f5;
  box-shadow: 0 2px 0 #bbb;
  text-decoration: none;
  font-weight: 700;
}

.category-hero {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 6px;
  padding: 18px 32px 8px;
  background: #fff;
}

.hero-category-list {
  border: 0;
  background: #fff;
}

.hero-category-list h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 8px;
  min-height: 38px;
  padding: 8px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 2px;
  font-size: 16px;
  text-align: left;
}

.hero-category-list button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 6px 8px;
  border: 0;
  color: #050506;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hero-category-list button:hover,
.hero-category-list button.active {
  background: #f7f8fa;
}

.hero-category-list button.all {
  min-height: 58px;
  margin-bottom: 8px;
  color: #fff;
  background: var(--orange);
  border-radius: 2px;
}

.hero-category-list button strong,
.hero-category-list button small {
  display: block;
}

.hero-category-list button strong {
  font-size: 17px;
  line-height: 1.15;
  font-weight: 900;
}

.hero-category-list button small {
  margin-top: 2px;
  color: #1d2430;
  font-size: 13px;
  font-weight: 500;
}

.hero-category-list button.all small {
  color: rgba(255,255,255,0.94);
}

.banner-stage {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 40%, rgba(255,255,255,0.12), transparent 24%),
    repeating-radial-gradient(circle at 26% 24%, rgba(255,255,255,0.06) 0 2px, transparent 2px 26px),
    linear-gradient(130deg, #111418 0%, #262b32 48%, #071d3c 100%);
}

.banner-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 60%);
  padding: 62px 0 0 64px;
  color: #fff;
}

.banner-copy span {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  padding: 0 26px;
  color: #fff;
  background: #050506;
  font-size: 34px;
  font-weight: 900;
}

.banner-copy h2 {
  margin: 34px 0 20px;
  color: #ffd200;
  font-size: clamp(58px, 7vw, 94px);
  line-height: 0.9;
  letter-spacing: 0;
}

.banner-copy strong {
  display: inline-flex;
  min-height: 76px;
  align-items: center;
  padding: 0 32px;
  color: #111418;
  background: #ffd200;
  border-radius: 8px;
  box-shadow: 16px 12px 0 rgba(0,0,0,0.38);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
}

.banner-copy a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 276px;
  min-height: 38px;
  margin-top: 50px;
  color: #17202c;
  background: #fff;
  font-weight: 700;
}

.banner-art {
  position: absolute;
  inset: 0;
}

.art-ring {
  position: absolute;
  right: 6%;
  border-radius: 999px;
  border: 18px solid #cfd4db;
  background: #f3c63a;
  box-shadow: inset 0 8px 16px rgba(255,255,255,0.55), 0 18px 28px rgba(0,0,0,0.28);
  transform: rotate(-16deg);
}

.ring-a { top: 92px; width: 250px; height: 68px; }
.ring-b { top: 190px; right: 11%; width: 210px; height: 56px; }
.ring-c { top: 288px; right: 8%; width: 170px; height: 46px; }
.ring-d { top: 376px; right: 13%; width: 130px; height: 36px; }

.art-line {
  position: absolute;
  right: -6%;
  height: 10px;
  width: 440px;
  border-radius: 999px;
  background: #9aa3af;
  transform: rotate(-18deg);
  box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

.line-a { top: 116px; }
.line-b { top: 322px; right: -2%; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 22px;
  transform: translateX(-50%);
}

.carousel-dots span {
  width: 14px;
  height: 14px;
  border: 4px solid var(--blue);
  border-radius: 50%;
  background: #fff;
}

.carousel-dots .active {
  background: var(--blue);
}

.category-live-view {
  padding: 16px 32px 28px;
  background: #fff;
}

.live-view-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c5c8ce;
}

.live-view-head h2 {
  margin: 0;
  font-size: 28px;
}

.live-view-head span {
  color: var(--muted);
  font-weight: 800;
}

.category-live-table {
  max-height: 360px;
}

.misumi-workbench {
  padding: 22px 32px 34px;
  background: #040506;
}

.notice-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  margin-bottom: 18px;
  padding: 0 18px;
  border: 1px solid rgba(7, 51, 110, 0.72);
  color: rgba(255,255,255,0.78);
  background: #080b10;
  font-size: 14px;
}

.notice-bar a {
  color: #b9d8ff;
  font-weight: 800;
}

.workbench-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.workbench-categories {
  border: 1px solid rgba(255,255,255,0.16);
  background: var(--white);
}

.workbench-categories h2 {
  margin: 0;
  min-height: 48px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--blue);
  font-size: 18px;
  text-align: center;
}

.workbench-categories a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
}

.workbench-categories a::after {
  content: "";
  width: 24px;
  height: 24px;
  border: 2px solid #cfd6df;
  border-radius: 50%;
}

.workbench-categories span {
  display: block;
  color: #46505d;
  font-size: 12px;
  font-weight: 600;
}

.workbench-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #111418;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-title h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}

.panel-title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
  font-weight: 800;
  white-space: nowrap;
}

.quick-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: var(--white);
}

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

.service-grid a {
  display: grid;
  gap: 6px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  background: #111418;
}

.service-grid span {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
}

.quick-search {
  padding: 34px 6vw 58px;
  background: #fbfbfc;
  border-top: 1px solid var(--line);
}

.quick-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 18px;
}

.quick-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.quick-head a,
.compact-filter-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 800;
}

.quick-category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 12px;
}

.quick-category-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: #3c444f;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.compact-finder {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.compact-search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 12px;
}

.original-search.compact {
  min-height: 46px;
}

.compact-table {
  max-height: 390px;
}

.spec-panel span,
.spec-panel small {
  display: block;
  color: var(--muted);
}

.spec-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 26px;
}

.catalog {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 6vw 86px;
  border-top: 1px solid var(--line);
  background: #fbfbfc;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 18px;
}

.sidebar-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.sidebar-title {
  width: 100%;
  min-height: 50px;
  border: 0;
  color: var(--white);
  background: var(--text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  padding: 0 18px;
}

.category-link {
  display: grid;
  gap: 3px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 160ms ease, color 160ms ease;
}

.category-link:last-child {
  border-bottom: 0;
}

.submodel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
}

.submodel-list a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3c444f;
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.category-link strong {
  font-size: 14px;
  letter-spacing: 0;
}

.category-link span {
  color: var(--muted);
  font-size: 13px;
}

.category-link.active,
.category-link:hover {
  color: var(--white);
  background: var(--green);
}

.category-link.active span,
.category-link:hover span {
  color: rgba(255,255,255,0.78);
}

.catalog-content {
  min-width: 0;
}

.catalog-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.catalog-topline h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1;
}

.catalog-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-search input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: var(--white);
  font: inherit;
}

.product-family {
  padding: 34px 0 42px;
  border-top: 1px solid var(--line);
}

.product-family header {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(240px, 0.54fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.product-family h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.05;
}

.product-family h3 span {
  color: var(--muted);
  font-weight: 600;
}

.product-family p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.model-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-mark {
  width: 82px;
  aspect-ratio: 1;
  margin-bottom: 24px;
  border: 14px solid var(--green);
  border-radius: 50%;
  box-shadow: inset 0 10px 24px rgba(255,255,255,0.7);
}

.product-mark.blue {
  border-color: var(--blue);
}

.product-mark.red {
  border-color: var(--red);
}

.product-card h4 {
  margin: 0 0 18px;
  font-size: 24px;
}

.product-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 54px;
}

.product-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.product-card dt {
  color: var(--muted);
  font-size: 13px;
}

.product-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.product-card a {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: var(--white);
  background: var(--text);
  border-radius: 999px;
  font-weight: 800;
}

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

.mini-spec-grid div {
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.mini-spec-grid strong,
.mini-spec-grid span {
  display: block;
}

.mini-spec-grid strong {
  margin-bottom: 12px;
  font-size: 22px;
}

.mini-spec-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-strip p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
}

.finder {
  padding: 70px 6vw 86px;
  background: #050506;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.feature-strip h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(420px, 1fr);
  gap: 28px;
  align-items: start;
}

.detail-table-wrap {
  width: 100%;
  max-height: min(72vh, 780px);
  margin-top: 2px;
}

.detail-table-wrap .native-product-table {
  min-width: 100%;
}

.detail-table-wrap .native-product-table th {
  z-index: 6;
}

.finder-results {
  width: 100%;
  margin-top: 26px;
}

.finder-results .search-meta {
  margin-bottom: 12px;
}

.detail-media {
  display: grid;
  gap: 18px;
}

.main-product-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 8px;
  background: #f6f7f9;
  box-shadow: 0 26px 70px rgba(0,0,0,0.2);
}

.main-product-image > img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: contain;
  background: #fff;
}

.diagram-label {
  position: absolute;
  left: 28px;
  top: 36px;
}

.diagram-label strong,
.diagram-label span,
.diagram-label small {
  display: block;
}

.diagram-label strong {
  font-size: 38px;
  line-height: 1;
}

.diagram-label span {
  color: #4e5661;
  font-size: 25px;
}

.diagram-label small {
  color: var(--muted);
  font-size: 15px;
}

.diagram {
  position: absolute;
  inset: 0;
}

.shaft {
  position: absolute;
  left: 32%;
  top: 44%;
  width: 42%;
  height: 70px;
  border: 2px solid #8e959f;
  background: linear-gradient(90deg, #d7dbe0, #ffffff, #c8cdd4);
}

.seal-wall {
  position: absolute;
  left: 47%;
  top: 32%;
  width: 84px;
  height: 210px;
  border: 20px solid #343940;
  border-left-width: 28px;
  border-right-width: 28px;
}

.measure {
  position: absolute;
  color: #4b535e;
  font-size: 18px;
  font-weight: 800;
}

.measure-d { left: 72%; top: 50%; }
.measure-D { left: 76%; top: 35%; }
.measure-b { left: 61%; top: 27%; }

.zoom-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(18,20,23,0.76);
  font-size: 22px;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.thumb {
  min-height: 118px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f6f7f9;
  color: #4b535e;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.thumb img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
}

.thumb span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.thumb[hidden] {
  display: none;
}

.thumb-placeholder {
  border-style: dashed;
  color: #69717d;
  cursor: default;
}

.thumb-placeholder span {
  min-height: 116px;
  background: linear-gradient(180deg, #f9fafb 0%, #eef1f5 100%);
}

.thumb.active {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.detail-info {
  color: var(--white);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
}

.breadcrumb strong {
  color: var(--white);
}

.detail-info h2 {
  margin: 0 0 8px;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.95;
}

.detail-info h3 {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.68);
  font-size: 22px;
}

.detail-lede {
  max-width: 760px;
  margin: -10px 0 18px;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.technical-note-box {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}

.technical-note-box[hidden] {
  display: none;
}

.technical-note-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 16px;
}

.technical-note-box ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.technical-note-box li {
  line-height: 1.55;
}

.technical-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.technical-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.technical-links a:hover {
  background: rgba(255,255,255,0.12);
}

.spec-box,
.filter-box {
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}

.spec-box {
  padding: 22px;
  margin-bottom: 18px;
}

.spec-box > strong {
  display: block;
  margin-bottom: 20px;
}

.spec-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 42px;
}

.spec-pairs span {
  color: var(--muted);
}

.spec-pairs b {
  font-weight: 500;
}

.tc-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.tc-guide-grid article {
  display: grid;
  gap: 4px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  color: #fff;
  background: #111418;
}

.tc-guide-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size: 18px;
}

.tc-guide-grid span {
  color: #fff;
  font-weight: 900;
}

.tc-guide-grid small {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.45;
}

.detail-action-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 14px 0 16px;
  padding: 16px;
  border-radius: 8px;
  color: #111418;
  background: #f7f8fa;
}

.detail-action-panel strong,
.detail-action-panel span {
  display: block;
}

.detail-action-panel strong {
  margin-bottom: 3px;
  color: #071d3c;
}

.detail-action-panel span {
  color: #344052;
  font-size: 13px;
  font-weight: 700;
}

.detail-action-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.filter-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 12px;
  padding: 14px;
  margin-bottom: 8px;
}

.original-search {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
}

.original-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.filter-box button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: #383f49;
  font: inherit;
  font-weight: 800;
}

.search-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 800;
}

.search-help button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #fff;
  background: #111418;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.wildcard-search {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.wildcard-search input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: #fbfbfc;
  font: inherit;
  font-size: 18px;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.search-meta button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.native-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.native-product-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.native-product-table th,
.native-product-table td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.native-product-table th {
  position: sticky;
  top: 0;
  color: var(--white);
  background: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.table-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.table-sort-button span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1;
}

.table-sort-button.active span {
  color: var(--white);
}

.table-sort-button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.native-product-table tbody tr:hover {
  background: #f7f8fa;
}

.empty-result-row td {
  padding: 28px 18px;
  color: #344052;
  text-align: center;
  font-weight: 900;
}

.native-product-table td {
  color: #252b33;
  font-size: 15px;
}

.dimension-l-header,
.dimension-l-cell {
  display: none;
}

body.hydraulic-detail-active .dimension-l-header,
body.hydraulic-detail-active .dimension-l-cell {
  display: table-cell;
}

.native-product-table td small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.seo-size-text {
  display: block;
  margin-top: 2px;
  color: #7f8995;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.product-cell {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.product-cell-text {
  min-width: 0;
}

.product-thumb {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid #e0e5eb;
  border-radius: 8px;
  background: #f6f8fb;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumb-placeholder i {
  display: block;
  width: 36px;
  height: 22px;
  border: 7px solid #111827;
  border-radius: 999px;
  box-shadow: inset -5px 0 0 #0b3b78;
}

.row-number {
  width: 52px;
  color: #6b7480;
  font-weight: 900;
  text-align: center;
}

.masked-price {
  display: block;
  color: #071d3c;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.price-register {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  margin-top: 2px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.line-price-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #007a4d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.stock-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.in-stock {
  color: #00653b;
  background: #e7f5ed;
}

.low-stock {
  color: #8a5a00;
  background: #fff2c2;
}

.critical-stock {
  color: #ffffff;
  background: #c5161d;
}

.out-stock {
  color: #9b1c1c;
  background: #fde2e2;
}

.status {
  font-weight: 800;
}

.ready {
  color: var(--green);
}

.ask {
  color: var(--blue);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.native-product-table a {
  min-width: 34px;
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.native-product-table a.line-order-link {
  color: #00653b;
  background: #e7f5ed;
}

.shopee-order-link {
  gap: 7px;
  color: #fff !important;
  background: #ee4d2d !important;
}

.shopee-order-link::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: url("assets/shopee-logo-white.svg") center / contain no-repeat;
  flex: 0 0 18px;
}

.header-actions a[href*="shopee"]::before,
.footer-contact a[href*="shopee"]::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  vertical-align: -4px;
  background: url("assets/shopee-logo.svg") center / contain no-repeat;
}

.brand-model-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
}

.hallite-title img {
  display: inline-block;
  width: auto;
  height: 24px;
  max-width: 112px;
  object-fit: contain;
}

#detailModelTitle .hallite-title img {
  height: clamp(30px, 5vw, 46px);
  max-width: 190px;
  filter: brightness(1.08);
}

.feature-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  padding: 86px 6vw;
  color: var(--white);
  background: #101317;
}

.feature-strip p {
  color: rgba(255,255,255,0.72);
  font-size: 19px;
}

.feature-strip ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.feature-strip li {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  font-size: 22px;
  font-weight: 700;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 38px 6vw;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--steel);
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.footer-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  color: var(--steel);
  font-family: "Montserrat", "Noto Sans Thai", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.footer-categories span {
  position: relative;
}

.footer-categories span + span::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}

.footer-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 20px;
  border: 1.5px solid #e2e6ec;
  border-radius: 10px;
  background: #f6f8fb;
}

.footer-counter-label {
  font-size: 11px;
  font-weight: 600;
  color: #7a8394;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-counter-num {
  font-size: 22px;
  font-weight: 900;
  color: #0d2b4f;
  letter-spacing: 1px;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.footer-contact strong {
  color: var(--steel);
  font-size: 14px;
  font-weight: 900;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #d8dce2;
  border-radius: 6px;
  color: var(--deep);
  background: #fff;
  font-weight: 900;
}

.footer-contact a:first-of-type {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.articles-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 42px 6vw;
  border-top: 1px solid var(--line);
  background: #f7f8fa;
}

.articles-preview span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.articles-preview h2 {
  margin: 10px 0 8px;
  color: #05070a;
  font-size: 28px;
  line-height: 1.2;
}

.articles-preview p {
  max-width: 820px;
  margin: 0;
  color: #26313f;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
}

.articles-preview a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.register-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 7, 10, 0.62);
}

.register-modal-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.register-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #111418;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.register-modal-panel span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.register-modal-panel h2 {
  margin: 14px 0 8px;
  color: #05070a;
  font-size: 28px;
  line-height: 1.2;
}

.register-modal-panel p {
  margin: 0;
  color: #26313f;
  font-weight: 600;
  line-height: 1.7;
}

.register-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.register-modal-actions a,
.register-modal-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 4px;
  font: inherit;
  font-weight: 900;
}

.register-modal-actions a {
  color: #fff;
  background: var(--green);
}

.register-modal-actions button {
  border: 1px solid var(--line);
  color: #111418;
  background: #fff;
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 950;
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, bottom 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(7, 29, 60, 0.28);
  font-size: 24px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green);
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .header-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
  }

  .header-actions {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions a,
  .nav-links a {
    min-height: 44px;
    font-size: 14px;
  }

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

  .home-model-catalog {
    padding: 16px 10px 34px;
  }

  .home-hero-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-hero-copy {
    min-height: auto;
    padding: 28px 24px;
  }

  .home-hero-copy h1 {
    font-size: 38px;
  }

  .home-hero-copy p {
    font-size: 15px;
  }

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

  .home-catalog-head h1 {
    font-size: 25px;
  }

  .home-catalog-head p {
    font-size: 14px;
    line-height: 1.75;
  }

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

  .category-knowledge {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .category-knowledge h1 {
    font-size: 29px;
  }

  .category-knowledge h1 small {
    font-size: 16px;
  }

  .category-knowledge img {
    aspect-ratio: 16 / 10;
    min-height: 220px;
  }

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

  .category-icon-strip a:nth-child(2n) {
    border-right: 0;
  }

  .category-icon-strip a:nth-child(n + 3) {
    border-top: 1px solid #d8dce2;
  }

  .sales-block-head,
  .sales-card-grid,
  .popular-model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-block-head p {
    grid-column: 1 / -1;
  }

  .category-section-head {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .category-illustration {
    width: 82px;
    height: 62px;
  }

  .home-model-card {
    grid-template-rows: auto auto 1fr;
    min-height: 0;
  }

  .home-model-card strong {
    font-size: 14px;
  }

  .home-model-card dl {
    font-size: 12px;
  }

  .global-search {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .nav-links {
    padding: 8px 18px;
  }

  .misumi-workbench {
    padding: 18px;
  }

  .recommendation-page {
    padding: 18px;
  }

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

  .category-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .category-live-view {
    padding: 18px;
  }

  .live-view-head {
    display: grid;
    align-items: start;
  }

  .banner-stage {
    min-height: 420px;
  }

  .banner-copy {
    width: 100%;
    padding: 36px 24px;
  }

  .banner-copy span {
    min-height: 44px;
    font-size: 24px;
  }

  .banner-copy a {
    margin-top: 26px;
  }

  .banner-art {
    opacity: 0.34;
  }

  .promo-tile {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .promo-tile p {
    margin-top: 40px;
  }

  .workbench-grid,
  .service-grid,
  .quick-command {
    grid-template-columns: 1fr;
  }

  .workbench-categories {
    max-height: 330px;
    overflow: auto;
  }

  .panel-title {
    display: grid;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .ring-green {
    width: 310px;
    border-width: 38px;
  }

  .ring-blue {
    width: 250px;
    border-width: 32px;
  }

  .catalog,
  .quick-head,
  .compact-search-line,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .articles-preview {
    grid-template-columns: 1fr;
    padding: 34px 18px;
  }

  .quick-head {
    display: grid;
    align-items: start;
  }

  .catalog {
    gap: 28px;
    padding: 28px 18px 64px;
  }

  .catalog-sidebar {
    position: static;
  }

  .sidebar-group {
    display: grid;
    max-height: 72vh;
    overflow: auto;
  }

  .sidebar-title {
    position: sticky;
    top: 0;
    z-index: 1;
  }

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

  .catalog-topline,
  .product-family header,
  .product-grid,
  .mini-spec-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-layout,
  .filter-box {
    grid-template-columns: 1fr;
  }

  .tc-guide-grid {
    grid-template-columns: 1fr;
  }

  .detail-action-panel {
    grid-template-columns: 1fr;
  }

  .detail-action-panel a {
    width: 100%;
  }

  .main-product-image {
    min-height: 330px;
  }

  .main-product-image > img {
    height: 330px;
  }

  .native-product-table {
    min-width: 560px;
  }

  .native-product-table th,
  .native-product-table td {
    padding: 13px 11px;
  }

  .native-product-table td {
    font-size: 14px;
  }

  .back-to-top {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .detail-info h2 {
    font-size: 52px;
  }

  .detail-info h3 {
    font-size: 19px;
  }

  .detail-lede {
    font-size: 15px;
  }

  .search-meta {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 10px;
  }

  .search-meta button {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 70px;
  }

  .brand span {
    display: none;
  }

  .brand img {
    width: 154px;
    height: 110px;
  }

  .line-button {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1,
  .home-catalog-head h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .home-catalog-head {
    margin-bottom: 14px;
  }

  .home-hero-panel {
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .home-hero-copy {
    padding: 22px 16px;
  }

  .home-hero-copy h1 {
    font-size: 31px;
    line-height: 1.12;
  }

  .home-hero-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .home-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .home-hero-actions a {
    width: 100%;
  }

  .home-hero-points span {
    min-height: 34px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 8px;
  }

  .home-hero-image,
  .home-hero-image img {
    min-height: 220px;
  }

  .home-catalog-head p {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
  }

  .header-main {
    padding: 12px;
  }

  .global-search {
    display: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .header-actions a {
    justify-content: center;
    padding: 0 8px;
  }

  .nav-links {
    gap: 6px;
    padding: 8px 10px;
  }

  .nav-links a {
    padding: 0 12px;
  }

  .nav-links a[href="#quick-search"],
  .nav-links a[href="#finder"] {
    display: none;
  }

  .home-model-grid,
  .sales-card-grid,
  .popular-model-grid {
    grid-template-columns: 1fr;
  }

  .category-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }

  .category-overview a {
    padding: 12px 6px 10px;
  }

  .category-overview .overview-photo {
    width: 64px;
    height: 64px;
  }

  .category-icon-strip {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    padding-bottom: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-icon-strip a,
  .category-icon-strip a:nth-child(2n),
  .category-icon-strip a:nth-child(n + 3) {
    flex: 0 0 min(238px, 78vw);
    border-top: 0;
    border-right: 1px solid #d8dce2;
    scroll-snap-align: start;
  }

  .category-icon-strip a:last-child {
    border-right: 0;
  }

  .category-section-head {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .category-illustration {
    width: 70px;
    height: 54px;
  }

  .home-model-section {
    margin-bottom: 42px;
  }

  .home-model-card {
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px 12px;
    min-height: 150px;
    padding: 10px;
  }

  .home-model-card strong {
    grid-column: 2;
    min-height: 0;
    font-size: 16px;
  }

  .home-model-card .model-visual {
    grid-row: 1 / span 2;
    min-height: 0;
  }

  .home-model-card .model-visual::before {
    width: 64px;
    height: 30px;
    left: 8px;
    top: 34px;
    border-width: 10px;
  }

  .home-model-card .model-visual::after {
    width: 36px;
    height: 26px;
    right: 0;
    bottom: 16px;
    border-width: 7px;
  }

  .home-model-card dl {
    margin: 0;
    font-size: 12px;
  }

  .home-model-card .model-card-description,
  .home-model-card .model-card-note {
    grid-column: 1 / -1;
  }

  .sales-block-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sales-block-head span {
    justify-content: flex-start;
    width: fit-content;
    padding: 0 10px;
  }

  .sales-product-card {
    min-height: auto;
  }

  .popular-model-card {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .popular-model-card .model-visual {
    width: 90px;
    height: 90px;
    min-height: 90px;
    flex-shrink: 0;
  }

  .feature-strip {
    gap: 22px;
    padding: 52px 18px;
  }

  .feature-strip h2 {
    font-size: 31px;
    line-height: 1.15;
  }

  .feature-strip p {
    color: rgba(255,255,255,0.86);
    font-size: 16px;
  }

  .feature-strip li {
    padding: 18px 0;
    font-size: 18px;
  }

  .detail-page-bar {
    display: none;
    align-items: stretch;
    flex-direction: column;
  }

  .detail-page-bar a {
    justify-content: center;
  }

  .detail-table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .detail-table-wrap .native-product-table,
  .detail-table-wrap .native-product-table thead,
  .detail-table-wrap .native-product-table tbody,
  .detail-table-wrap .native-product-table tr,
  .detail-table-wrap .native-product-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  body.hydraulic-detail-active .detail-table-wrap .dimension-l-cell {
    display: grid;
  }

  .detail-table-wrap .native-product-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .detail-table-wrap .native-product-table tr {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .detail-table-wrap .native-product-table td {
    display: grid;
    grid-template-columns: minmax(78px, 34%) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .detail-table-wrap .dimension-l-cell {
    display: none;
  }

  body.hydraulic-detail-active .detail-table-wrap .dimension-l-cell {
    display: grid;
  }

  .detail-table-wrap .native-product-table td:last-child {
    border-bottom: 0;
  }

  .detail-table-wrap .native-product-table td::before {
    content: attr(data-label);
    color: #344052;
    font-size: 12px;
    font-weight: 900;
  }

  .detail-table-wrap .native-product-table td.row-number {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    background: #f5f7fa;
    color: #071d3c;
    font-size: 13px;
  }

  .detail-table-wrap .native-product-table td.row-number::before {
    content: "#";
  }

  .detail-table-wrap .native-product-table td[data-label="สินค้า"] {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .detail-table-wrap .native-product-table td.product-data-cell {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }

  .detail-table-wrap .native-product-table td[data-label="สินค้า"]::before {
    display: none;
  }

  .detail-table-wrap .native-product-table td.product-data-cell::before {
    display: none;
  }

  .detail-table-wrap .product-cell {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .detail-table-wrap .product-thumb {
    width: 84px;
    height: 84px;
  }

  .detail-table-wrap .native-product-table td[data-label="สั่งซื้อ"] {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 12px;
  }

  .detail-table-wrap .native-product-table td.order-data-cell {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 12px;
  }

  .detail-table-wrap .native-product-table td[data-label="สั่งซื้อ"]::before {
    display: none;
  }

  .detail-table-wrap .native-product-table td.order-data-cell::before {
    display: none;
  }

  .detail-table-wrap .row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .detail-table-wrap .native-product-table a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 8px;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
  }

  .detail-table-wrap .product-cell-text strong {
    font-size: 15px;
    line-height: 1.35;
  }

  .detail-table-wrap .seo-size-text {
    font-size: 12px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .hero-actions {
    display: grid;
  }

  .sales-block-head,
  .sales-card-grid,
  .popular-model-grid {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .spec-panel {
    right: auto;
    bottom: 0;
  }

  .footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
    padding: 28px 18px 86px;
  }

  .footer-contact {
    justify-items: stretch;
    width: 100%;
    text-align: left;
  }

  .footer-contact a {
    justify-content: center;
  }

  .articles-preview h2 {
    font-size: 24px;
  }

  .articles-preview a {
    width: 100%;
  }

  .register-modal-panel {
    padding: 24px 18px;
  }

  .register-modal-actions {
    display: grid;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* Articles Page Active state to hide other sections */
body.articles-page-active .home-hero-panel,
body.articles-page-active .category-icon-strip,
body.articles-page-active .category-overview,
body.articles-page-active .home-catalog-head,
body.articles-page-active .sales-highlights,
body.articles-page-active .feature-strip {
  display: none !important;
}

body.articles-page-active main {
  display: flex;
  flex-direction: column;
}

body.articles-page-active .articles-preview {
  order: -1;
  padding: 80px 6vw;
  background: var(--white);
}

/* Articles layout improvements */
.articles-preview {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 58px 6vw;
  border-top: 1px solid var(--line);
  background: #f8f9fa;
}

.articles-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.articles-header span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.articles-header h2 {
  margin: 10px 0 12px;
  color: #05070a;
  font-size: 32px;
  line-height: 1.2;
}

.articles-header p {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.articles-categories-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.articles-category-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 40px;
}

.articles-category-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.articles-section-title {
  font-size: 20px;
  color: var(--blue-dark);
  font-weight: 700;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--blue);
  padding-left: 14px;
}

.articles-section-title i {
  color: var(--blue);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.article-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 24px -4px rgba(13, 43, 79, 0.12), 0 4px 12px -2px rgba(13, 43, 79, 0.06);
  transform: translateY(-4px);
}

.article-card-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.article-card-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.03);
}

.article-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-dark);
  background: #fff5ed;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.35;
}

.article-card p {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.55;
  flex-grow: 1;
}

.article-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cfd6df;
  border-radius: 4px;
  color: #071d3c;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: all 0.15s ease-in-out;
  align-self: flex-start;
}

.article-card a:hover {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

.articles-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.articles-footer p {
  margin: 0;
  font-size: 15px;
  color: #4b5563;
  font-weight: 600;
}

.articles-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

/* --- Article Detail View Layout --- */
body.article-detail-page-active .home-hero-panel,
body.article-detail-page-active .category-icon-strip,
body.article-detail-page-active .category-overview,
body.article-detail-page-active .home-catalog-head,
body.article-detail-page-active .home-model-catalog,
body.article-detail-page-active .sales-highlights,
body.article-detail-page-active .feature-strip,
body.article-detail-page-active .articles-preview {
  display: none !important;
}

body.article-detail-page-active #articleDetail {
  display: block;
}

#articleDetail {
  background: #f8fafc;
  min-height: 100vh;
  padding: 40px 0;
}

/* Override dark page bar style for articles */
#articleDetail .detail-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 840px;
  margin: 0 auto 24px;
  padding: 0 24px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

#articleDetail .detail-page-bar a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: none;
  background: none;
  color: var(--blue);
  font-weight: 600;
  transition: color 0.2s ease;
}

#articleDetail .detail-page-bar a:hover {
  color: var(--orange);
}

#articleDetail .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#articleDetail .breadcrumb a {
  color: #64748b;
}

#articleDetail .breadcrumb a:hover {
  color: var(--blue);
}

#articleDetail .breadcrumb strong {
  color: #0f172a;
  font-weight: 600;
}

.article-body {
  max-width: 840px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 56px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  color: #1e293b;
  font-size: 17px;
  line-height: 1.85;
}

.article-header-detail {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.article-badge-detail {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--orange-dark);
  background: #fff5ed;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.article-header-detail h1 {
  font-size: clamp(24px, 4vw, 36px);
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 12px 0;
  font-weight: 800;
}

.article-meta-detail {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Article Content & Spacing */
.article-content-html h2 {
  font-size: 22px;
  color: #0f172a;
  margin: 42px 0 18px 0;
  border-left: 4px solid var(--orange);
  padding-left: 14px;
  font-weight: 750;
}

.article-content-html h3 {
  font-size: 18px;
  color: #1e293b;
  margin: 32px 0 14px 0;
  font-weight: 700;
}

.article-content-html p {
  margin: 0 0 20px 0;
}

.article-content-html ul,
.article-content-html ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
}

.article-content-html li {
  margin-bottom: 10px;
}

.article-content-html strong {
  color: #0f172a;
}

/* In-Article Images */
.article-image-container {
  margin: 28px 0;
  text-align: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.article-image-container img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.article-image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.article-image-item img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.article-image-caption {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 500;
  text-align: center;
}

/* In-Article Tables */
.article-content-html table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.article-content-html th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 16px;
  border-bottom: 2px solid var(--line);
  text-align: left;
}

.article-content-html td {
  padding: 14px 16px;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px solid var(--line);
}

.article-content-html tr:last-child td {
  border-bottom: none;
}

.article-content-html tr:nth-child(even) {
  background: #fdfefe;
}

.article-content-html tr:hover {
  background: #f8fafc;
}

/* ── Social Share Bar ── */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 20px 24px;
  background: #f8faff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}
.article-share-label {
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  margin-right: 4px;
  white-space: nowrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  line-height: 1;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-fb   { background: #1877f2; color: #fff; }
.share-tw   { background: #000;    color: #fff; }
.share-line { background: #06c755; color: #fff; }
.share-copy { background: #fff; color: #0d2b4f; border: 1.5px solid #cbd5e1; }
@media (max-width: 480px) {
  .article-share-bar { gap: 6px; padding: 16px; }
  .share-btn { font-size: 12px; padding: 7px 11px; }
}

/* In-Article Footer CTA */
.article-footer-detail {
  margin-top: 56px;
  padding: 36px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.article-footer-detail h3 {
  margin: 0;
  font-size: 20px;
  color: #0f172a;
  font-weight: 750;
}

.article-footer-detail p {
  margin: 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}

.article-line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-weight: 800;
  font-size: 15px;
  transition: all 0.2s ease;
}

.article-line-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  #articleDetail {
    padding: 24px 0;
  }
  #articleDetail .detail-page-bar {
    margin-bottom: 16px;
  }
  .article-body {
    padding: 32px 24px;
    border-radius: 12px;
    margin: 0 16px;
  }
  .article-image-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .article-content-html table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .article-body {
    padding: 24px 16px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin: 0;
  }
}

/* Related Products at bottom of Article */
.article-related-products {
  max-width: 1180px;
  margin: 56px auto 40px;
  padding: 0 24px;
}

.related-products-header {
  text-align: center;
  margin-bottom: 36px;
}

.related-products-header h2 {
  font-size: clamp(20px, 3.5vw, 26px);
  color: #0f172a;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.related-products-header p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

@media (max-width: 768px) {
  .article-related-products {
    margin: 42px auto 20px;
    padding: 0 16px;
  }
}

body.finder-search-active .product-detail-layout {
  display: none !important;
}

/* ─── Floating CTA Bar ─────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: #101317;
  color: #fff;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.22);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.floating-cta.is-visible {
  transform: translateY(0);
}

.floating-cta-text {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  flex-shrink: 0;
}

.floating-cta-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: #06c755;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.floating-cta-line:hover {
  background: #04a344;
}

.floating-cta-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  flex-shrink: 0;
}

.floating-cta-close:hover {
  color: #fff;
}

/* Show social proof (customer reviews) on home page only */
body.model-page-active #social-proof,
body.category-page-active #social-proof,
body.articles-page-active #social-proof,
body.article-detail-page-active #social-proof,
body.article-detail-page-active #sales-highlights {
  display: none;
}

/* Push back-to-top above floating CTA when bar is open */
body.floating-cta-open .back-to-top {
  bottom: 76px;
}

@media (max-width: 480px) {
  .floating-cta-text { display: none; }
  .floating-cta { padding: 10px 16px; gap: 8px; }
  body.floating-cta-open .back-to-top { bottom: 72px; }
}

/* ─── Social Proof Section ─────────────────────────────────── */
.social-proof {
  background: var(--soft);
  padding: 72px 6vw;
}

.social-proof-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.proof-stat strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  color: var(--deep);
  line-height: 1.1;
}

.proof-stat span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.proof-reviews h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 24px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.review-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.review-card p::before { content: "\201C"; }
.review-card p::after  { content: "\201D"; }

.review-card footer {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

.proof-brands {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.proof-brands-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-tags span {
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text);
}

@media (max-width: 900px) {
  .proof-stats { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .social-proof { padding: 48px 5vw; }
  .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ─── Material Comparison Table ────────────────────────────── */
.material-compare {
  margin: 20px 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.material-compare summary {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
  background: var(--soft);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.material-compare summary::before {
  content: "▶";
  font-size: 12px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.material-compare[open] summary::before {
  transform: rotate(90deg);
}

.material-compare-body {
  padding: 16px;
  background: #fff;
}

.material-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

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

.material-table thead th {
  background: var(--soft);
  font-weight: 800;
  font-size: 13px;
}

.material-table th.mat-nbr   { color: #1565c0; }
.material-table th.mat-viton { color: #b45309; }
.material-table th.mat-silicone { color: #4d7c0f; }

.material-table tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.mat-best { color: #166534; font-weight: 700; }
.mat-good { color: #1e40af; font-weight: 600; }
.mat-poor { color: var(--muted); }

.material-compare-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.material-compare-note a {
  color: var(--blue);
  text-decoration: underline;
}

/* ─── Shopee logo inside buttons ──────────────────────────── */
.shopee-btn-logo {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}

.cart-link.shopee-order-link,
.shop-now.shopee-order-link {
  display: inline-flex;
  align-items: center;
}

/* ─── V-Ring Detail Table ──────────────────────────────────── */
body.vring-detail-active .detail-table-wrap {
  font-size: 14px;
}

body.vring-detail-active .native-product-table th {
  background: #0d2b4f;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding: 10px 12px;
}

body.vring-detail-active .native-product-table td {
  padding: 9px 12px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

body.vring-detail-active .native-product-table tbody tr:nth-child(even) td {
  background: #f8f9fb;
}

body.vring-detail-active .native-product-table tbody tr:hover td {
  background: #eef3fb;
}

.vring-size-cell strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--deep);
}

.vring-size-cell small {
  margin-top: 2px;
}

/* Related models section */
.related-models-section {
  padding: 32px 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.related-models-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--deep);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--line);
}

.related-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.related-model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 10px 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.related-model-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.related-model-img {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  background: #f5f6f8;
}

.related-model-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-model-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
}

.related-model-count {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .related-models-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
  }
  .related-models-section {
    padding: 24px 16px 32px;
  }
}

/* ─── Small phone (375px / 360px) ──────────────────────────── */
@media (max-width: 375px) {
  .home-hero-copy h1 { font-size: clamp(22px, 7vw, 32px); }
  .home-hero-actions { flex-direction: column; gap: 8px; }
  .home-hero-actions a { width: 100%; text-align: center; justify-content: center; }
  .eyebrow { font-size: 12px; }
  .category-overview { grid-template-columns: repeat(2, 1fr); }
  .proof-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .proof-stat strong { font-size: 28px; }
  .related-models-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .site-header { padding: 0 12px; }
  .detail-info { padding: 16px 12px; }
}

/* ═══════════════════════════════════════════════════════
   HAMBURGER BUTTON
═══════════════════════════════════════════════════════ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.hamburger-btn:hover { border-color: #0d2b4f; background: #f0f4ff; }
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #0d2b4f;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.hamburger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════
   MOBILE MENU DRAWER
═══════════════════════════════════════════════════════ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99;
  opacity: 0;
  transition: opacity .25s;
}
.mobile-menu-overlay.open { opacity: 1; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 85vw);
  background: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  border-right: 3px solid #0d2b4f;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8faff;
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  color: #555;
  transition: .15s;
}
.mobile-menu-close:hover { background: #fee; border-color: #e53e3e; color: #e53e3e; }

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  overflow-y: visible;
}
.mobile-menu-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  flex: 1;
  min-height: 0;
}
.mobile-menu-nav a:hover,
.mobile-menu-nav a.nav-active {
  background: #f0f4ff;
  border-left-color: #0d2b4f;
  color: #0d2b4f;
}

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid #e2e8f0;
  background: #f8faff;
}
.mobile-menu-actions a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .15s;
}
.mobile-action-shopee {
  background: #fff2ee;
  color: #ee4d2d;
  border: 1.5px solid #ee4d2d;
}
.mobile-action-shopee:hover { background: #ee4d2d; color: #fff; }
.mobile-action-line {
  background: #f0fff4;
  color: #06c755;
  border: 1.5px solid #06c755;
}
.mobile-action-line:hover { background: #06c755; color: #fff; }

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay { display: none !important; }
}

