@font-face {
  font-family: Be Vietnam Pro;
  src: url("../fonts/regular.ttf");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Be Vietnam Pro;
  src: url("../fonts/medium.ttf");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Be Vietnam Pro;
  src: url("../fonts/semibold.ttf");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Be Vietnam Pro;
  src: url("../fonts/bold.ttf");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --red: #e70115;
  --red-dark: #c40012;
  --ink: #181b22;
  --muted: #646a75;
  --line: #e5e7eb;
  --paper: #f5f6f8;
  --radius: 10px;
  --font: "Be Vietnam Pro", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 15px/1.75 var(--font);
}

/* Shared typography and navigation scale, aligned with the approved homepage. */
.topbar {
  font-size: 12px;
}
.nav {
  font-size: 15px;
  gap: 24px;
}
.nav > a,
.nav-product > a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
@media (min-width: 901px) {
  .nav > a.active:after,
  .nav-product > a.active:after {
    bottom: 16px;
    height: 3px;
    border-radius: 2px;
  }
}
.dropdown a {
  font-size: 14px;
}
.language-button {
  font-size: 13px;
}
body.locked {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  letter-spacing: -0.035em;
}
h1 {
  font-size: 48px;
  font-weight: 700;
}
h2 {
  font-size: 36px;
  font-weight: 700;
}
h3 {
  font-size: 21px;
}
p {
  color: var(--muted);
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #e7011580;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}
.section {
  padding: 88px 0;
}
.light {
  background: var(--paper);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow:before {
  content: "";
  width: 25px;
  height: 2px;
  background: currentColor;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head p {
  margin-top: 12px;
  max-width: 610px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.text-link svg {
  width: 18px;
}
.text-link:hover {
  color: var(--red);
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 50px;
  padding: 13px 23px;
  border: 1px solid transparent;
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  line-height: 1.5;
}
.btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}
.btn svg {
  width: 18px;
}
.btn-outline {
  color: var(--ink);
  border-color: #d6d8dc;
  background: transparent;
}
.btn-outline:hover {
  background: #fff;
  border-color: var(--red);
  color: var(--red);
}
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover {
  background: #eee;
}
.btn-dark {
  background: var(--ink);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.pill {
  font-size: 10px;
  font-weight: 600;
  background: #fff0f1;
  color: var(--red-dark);
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 3px;
  letter-spacing: 0.03em;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.topbar {
  height: 33px;
  background: #181b22;
  color: #d0d1d6;
  font-size: 10px;
  letter-spacing: 0.03em;
}
.topbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-right {
  display: flex;
  gap: 22px;
}
.topbar a:hover {
  color: white;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(14px);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}
.brand img {
  width: auto;
  height: 38px;
  max-height: 42px;
  max-width: 195px;
  object-fit: contain;
  display: block;
}
.nav {
  display: flex;
  gap: 27px;
  align-items: center;
  height: 100%;
  font-size: 12px;
  font-weight: 600;
}
.nav > a,
.nav-product > a {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}
.nav > a.active:after,
.nav-product > a.active:after {
  content: "";
  height: 3px;
  background: var(--red);
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.nav .active,
.nav a:hover {
  color: var(--red);
}
.nav svg {
  width: 12px;
  height: 12px;
}
.nav-product {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-product > button {
  padding: 12px 3px;
}
.dropdown {
  position: absolute;
  top: 70px;
  left: -20px;
  background: white;
  box-shadow: 0 10px 30px #0002;
  min-width: 200px;
  padding: 10px;
  border-radius: 6px;
  display: none;
}
.dropdown a {
  display: block;
  padding: 12px;
}
.nav-product:hover .dropdown,
.nav-product:focus-within .dropdown,
.nav-product.open .dropdown {
  display: block;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}
.icon-button {
  width: 42px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.icon-button:hover {
  background: var(--paper);
  color: var(--red);
}
.language-button {
  font-size: 11px;
  font-weight: 700;
  min-width: 43px;
  height: 44px;
}
.language-button span {
  color: #646a75;
  font-weight: 400;
}
.language-flags {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
}
.language-flag {
  width: 30px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 21px;
  line-height: 1;
  border: 1px solid transparent;
  user-select: none;
}
.language-flag.is-active {
  background: #fff1f2;
  border-color: #f4b8be;
}
.language-flag.is-disabled {
  filter: grayscale(0.35);
  opacity: 0.48;
}
.header-tools > .divider {
  height: 20px;
  background: var(--line);
  width: 1px;
}
.menu-toggle {
  display: none;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: white;
  z-index: 100;
  padding: 12px;
}
.skip-link:focus {
  top: 5px;
}
.hero {
  background: #111319;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 117px);
  min-height: calc(100dvh - 117px);
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 78% 50%, #55212970, transparent 50%),
    linear-gradient(
      110deg,
      transparent 55%,
      #ffffff03 55%,
      #ffffff03 55.15%,
      transparent 55.15%
    );
}
.hero-slide {
  min-height: calc(100vh - 117px);
  min-height: calc(100dvh - 117px);
  max-height: none;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 30px;
  position: relative;
  padding-bottom: 70px;
}
.hero-copy {
  padding: 40px 0;
  position: relative;
  z-index: 2;
}
.hero .eyebrow {
  color: #ff5867;
}
.hero-slide-title {
  font-size: 54px;
  line-height: 1.22;
  letter-spacing: -0.05em;
  max-width: 660px;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-slide-title em {
  font-style: normal;
  color: #ff3448;
}
.hero-copy > p {
  color: #a9abb4;
  font-size: 14px;
  line-height: 1.9;
  max-width: 430px;
  margin-top: 23px;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero .btn-outline {
  color: #fff;
  border-color: #55565e;
}
.hero .btn-outline:hover {
  color: var(--ink);
}
.hero-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8e929e;
  margin-top: 35px;
  font-size: 10px;
}
.hero-caption svg {
  width: 15px;
}
.hero-visual {
  height: 440px;
  max-height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orbit {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid #a834414d;
  border-radius: 50%;
  background: radial-gradient(circle, #a20e282b, transparent 68%);
}
.hero-orbit:before,
.hero-orbit:after {
  content: "";
  position: absolute;
  border: 1px solid #c5445333;
  border-radius: 50%;
  inset: 32px;
}
.hero-orbit:after {
  inset: -35px;
}
.hero-product {
  position: relative;
  width: auto;
  max-width: 90%;
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px #0007);
  z-index: 1;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual-label {
  position: absolute;
  right: 10px;
  top: 30px;
  z-index: 3;
  border-left: 2px solid var(--red);
  padding-left: 12px;
  font-size: 10px;
  color: #b3b5bd;
  letter-spacing: 0.12em;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual-label strong {
  display: block;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}
.hero-floor {
  position: absolute;
  bottom: 35px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff30, transparent);
  width: 110%;
}
.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}
.slide-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-dot {
  padding: 10px 0;
  width: 28px;
  position: relative;
  color: #b8bbc5;
  font-size: 10px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition:
    width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease;
}
.slide-dot:after {
  content: "";
  display: block;
  background: #ffffff30;
  height: 2px;
  width: 100%;
  margin-top: 8px;
  position: relative;
  border-radius: 1px;
}
.slide-dot.active {
  color: white;
  width: 52px;
}
.slide-dot.active:after {
  background: #ffffff30;
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  animation: heroSlideProgress 4s linear forwards;
}
@keyframes heroSlideProgress {
  0% {
    background-size: 0% 100%;
  }
  100% {
    background-size: 100% 100%;
  }
}
.hero.is-paused .slide-dot.active:after {
  animation-play-state: paused;
}
.slide-arrows {
  display: flex;
  gap: 8px;
}
.slide-arrows button {
  border: 1px solid #ffffff30;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.slide-arrows button:hover {
  background: var(--red);
}
.hero-bottom-note {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #9195a2;
}
.benefits {
  border-bottom: 1px solid var(--line);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 27px;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.benefit:first-child {
  padding-left: 0;
}
.benefit:last-child {
  border: 0;
}
.benefit svg {
  width: 29px;
  height: 29px;
  color: var(--red);
}
.benefit strong {
  display: block;
  font-size: 12px;
}
.benefit span {
  font-size: 10px;
  color: var(--muted);
}
.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.category-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  padding: 23px 28px;
  border-bottom: 3px solid transparent;
  color: #646a75;
}
.category-tab svg {
  width: 31px;
  height: 31px;
}
.category-tab strong {
  font-size: 15px;
  display: block;
}
.category-tab small {
  font-size: 10px;
}
.category-tab.active {
  border-bottom-color: var(--red);
  color: var(--red);
  background: #fff8f8;
}
.category-panel {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  min-height: 300px;
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
}
.category-copy {
  padding: 45px;
}
.category-copy h3 {
  font-size: 28px;
}
.category-copy p {
  margin: 15px 0 25px;
  max-width: 450px;
}
.category-art {
  height: 300px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #e1e4e9, transparent 65%);
}
.category-art img {
  width: 65%;
  height: 240px;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(12px 25px 20px #0002);
}
.art-note {
  position: absolute;
  bottom: 15px;
  right: 25px;
  font-size: 9px;
  color: #646a75;
}
.stats {
  background: #20232b;
  color: white;
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 0 30px;
  border-right: 1px solid #ffffff1f;
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  font-size: 38px;
  line-height: 1.3;
  display: block;
  letter-spacing: -0.03em;
}
.stat strong span {
  color: #ff4051;
}
.stat small {
  font-size: 11px;
  color: #b4b7c0;
}
.stats-source {
  font-size: 9px;
  color: #999eaa;
  margin-top: 20px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-copy p {
  margin-top: 20px;
}
.company-visual {
  position: relative;
  min-height: 350px;
  border-radius: 8px;
  overflow: hidden;
  background: #e8ebef;
}
.company-visual > img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
.company-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 35px;
  background: linear-gradient(transparent, #10131dd9);
  color: white;
}
.company-overlay span {
  font-size: 11px;
  letter-spacing: 0.15em;
}
.company-overlay strong {
  display: block;
  font-size: 23px;
  margin-top: 8px;
}
.company-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 3px;
  color: var(--ink);
  font-size: 10px;
}
.values-inline {
  display: flex;
  gap: 30px;
  margin: 28px 0;
}
.values-inline div {
  border-left: 2px solid var(--red);
  padding-left: 12px;
  font-size: 12px;
  font-weight: 600;
}
.values-inline small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 10px;
}
.ecosystem {
  background: #fafbfc;
  padding: 42px 0 46px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.eco-header {
  text-align: center;
  margin-bottom: 26px;
  padding: 0 16px;
}
.eco-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}
.eco-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 2px;
  background: var(--red);
}
.eco-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #64748b;
  max-width: 650px;
  margin: 12px auto 0;
  line-height: 1.5;
}
.eco-strip {
  padding: 10px 0;
}
.eco-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: min(80%, 1240px);
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.eco-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: ecoSlideTrack 24s linear infinite;
  will-change: transform;
}
.eco-track:hover {
  animation-play-state: paused;
}
@keyframes ecoSlideTrack {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.eco-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 84px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.eco-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.eco-card img {
  max-height: 46px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.cert-card > svg {
  width: 38px;
  height: 38px;
  color: var(--red);
}
.cert-card h3 {
  font-size: 15px;
}
.cert-card p {
  font-size: 12px;
  margin-top: 10px;
}
.cert-footnote {
  font-size: 11px;
  margin-top: 20px;
  color: var(--muted);
}
.standards-showcase {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.standards-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.standards-showcase-head h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.standards-showcase-head h3 svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}
.standards-showcase-head p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) {
  .standards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .standards-showcase {
    padding: 20px 16px;
  }
}
.standard-badge-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.standard-badge-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.standard-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.standard-badge-card strong {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}
.standard-badge-card span {
  font-size: 11px;
  color: #64748b;
  line-height: 1.35;
  display: block;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 30px;
}
.filter-btn {
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  border-radius: 4px;
  min-height: 44px;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  min-width: 0;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px #1619220c;
}
.product-image {
  height: 217px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #f5f6f8;
  padding: 23px;
}
.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s;
}
.product-card:hover .product-image > img {
  transform: scale(1.04);
}
.product-image .pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-size: 8px;
}
.product-card-info {
  padding: 20px;
}
.product-category {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card h3 {
  font-size: 16px;
  margin: 8px 0;
}
.product-card p {
  font-size: 11px;
  line-height: 1.6;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-bottom {
  border-top: 1px solid #eee;
  margin-top: 17px;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  align-items: center;
  font-weight: 600;
}
.product-card-bottom svg {
  width: 17px;
  color: var(--red);
}
.center-action {
  text-align: center;
  margin-top: 34px;
}
.partnership {
  background: #f8eded;
  position: relative;
  overflow: hidden;
}
.partner-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.partner-copy h2 {
  font-size: 39px;
}
.partner-copy > p {
  margin-top: 22px;
}
.partner-points {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
.partner-points div {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.partner-points svg {
  color: var(--red);
  width: 18px;
}
.partner-mark {
  font-size: 110px;
  font-weight: 800;
  letter-spacing: -0.075em;
  color: #e7011509;
  line-height: 1;
  margin-top: 25px;
  white-space: nowrap;
}
.form-box {
  padding: 32px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 10px 45px #50202008;
}
.form-box h3 {
  font-size: 20px;
  margin-bottom: 7px;
}
.form-box > p {
  font-size: 11px;
  margin-bottom: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 11px;
  font-weight: 500;
  display: block;
  margin-bottom: 7px;
}
.required {
  color: var(--red);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfe1e5;
  border-radius: 4px;
  background: #fff;
  min-height: 45px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #999da6;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--red);
}
.field-error {
  color: var(--red-dark);
  font-size: 10px;
  display: block;
  min-height: 0;
  margin-top: 3px;
}
.form-note {
  font-size: 10px;
  color: #646a75;
  margin-top: 14px;
}
.form-submit {
  width: 100%;
  margin-top: 18px;
}
.form-message {
  font-size: 12px;
  line-height: 1.6;
  padding: 15px;
  background: #f0f8f3;
  color: #235837;
  border-radius: 4px;
  margin-top: 15px;
}
.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7-not-valid-tip {
  color: var(--red-dark);
  font-size: 10px;
  display: block;
  margin-top: 3px;
}
.wpcf7-not-valid {
  border-color: var(--red);
}
.wpcf7 form .wpcf7-response-output {
  font-size: 12px;
  line-height: 1.6;
  padding: 15px;
  margin: 15px 0 0;
  border: 0;
  border-radius: 4px;
  background: #f0f8f3;
  color: #235837;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #fdf0f0;
  color: var(--red-dark);
}
.wpcf7 form.init .wpcf7-response-output {
  display: none;
}
.wpcf7-spinner {
  display: none;
}
.wpcf7 form.submitting .form-submit {
  opacity: 0.7;
  pointer-events: none;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
}
.news-card {
  min-width: 0;
}
.news-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 7px;
  background: #f1f2f5;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover img {
  transform: scale(1.04);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 10px;
  color: #646a75;
  margin: 19px 0 10px;
}
.news-meta span {
  color: var(--red);
  font-weight: 600;
}
.news-card h3 {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.news-card h3 a:hover {
  color: var(--red);
}
.news-card p {
  font-size: 12px;
  margin-top: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .text-link {
  font-size: 11px;
  margin-top: 17px;
}
.news-home {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
}
.news-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.news-stack .news-card-image {
  aspect-ratio: 16/8;
}
.news-stack h3 {
  font-size: 13px;
}
.news-stack .news-meta {
  margin: 10px 0 7px;
  font-size: 9px;
  gap: 7px;
}
.news-stack p,
.news-stack .text-link {
  display: none;
}
.cta-band {
  background: var(--red);
  color: #fff;
  padding: 35px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.cta-band h2 {
  font-size: 24px;
}
.cta-band p {
  color: #ffd3d8;
  font-size: 12px;
  margin-top: 7px;
}
.site-footer {
  background: #181b22;
  color: #b2b6c0;
  padding: 58px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 55px;
}
.footer-brand .brand {
  display: inline-block;
  margin-bottom: 20px;
  height: auto;
}
.footer-brand .brand img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.footer-brand > p {
  font-size: 12px;
  max-width: 300px;
}
.footer-col h3 {
  color: #fff;
  font-size: 12px;
  margin: 10px 0 23px;
  letter-spacing: 0;
}
.footer-col a,
.footer-col > p {
  display: block;
  font-size: 11px;
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: white;
}
.footer-contact {
  font-size: 11px;
  line-height: 1.9;
  margin-top: 17px;
}
.footer-bottom {
  border-top: 1px solid #ffffff13;
  padding: 22px 0;
  margin-top: 42px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #989daa;
  gap: 20px;
}
.footer-map {
  display: flex !important;
  gap: 8px;
  align-items: center;
  color: #d9dce4 !important;
  margin-top: 12px;
}
.social-row {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.social-row button,
.social-row a {
  height: 34px;
  min-width: 34px;
  border: 1px solid #ffffff20;
  border-radius: 4px;
  display: grid;
  place-items: center;
  padding: 5px;
  font-size: 10px;
}
.social-row svg {
  width: 15px;
  height: 15px;
}
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-contact button,
.floating-contact a {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  text-decoration: none;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.floating-contact button:hover,
.floating-contact a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}
.floating-contact .btn-float-quote {
  background: var(--red);
  color: #ffffff !important;
  border-color: var(--red);
}
.floating-contact .btn-float-quote:hover {
  background: #c70012;
}
.floating-contact .btn-float-wechat {
  color: #07c160;
}
.floating-contact .btn-float-wechat:hover {
  background: #07c160;
  color: #ffffff;
  border-color: #07c160;
}
.floating-contact .btn-float-email {
  color: #ea580c;
}
.floating-contact .btn-float-email:hover {
  background: #ea580c;
  color: #ffffff;
  border-color: #ea580c;
}
.floating-contact .btn-float-phone {
  color: #2563eb;
}
.floating-contact .btn-float-phone:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.floating-contact .btn-float-top {
  color: #6b7280;
}
.floating-contact .btn-float-top:hover {
  background: #1f2937;
  color: #ffffff;
}
.floating-contact .btn-float-zalo {
  color: #0068ff;
}
.floating-contact .btn-float-zalo:hover {
  background: #0068ff;
  color: #ffffff;
  border-color: #0068ff;
}
.floating-contact .float-zalo-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.floating-contact .btn-float-messenger {
  color: #0084ff;
}
.floating-contact .btn-float-messenger:hover {
  background: #0084ff;
  color: #ffffff;
  border-color: #0084ff;
}
.floating-contact .btn-float-facebook {
  color: #1877f2;
}
.floating-contact .btn-float-facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}
.floating-contact .btn-float-link {
  color: #7c3aed;
}
.floating-contact .btn-float-link:hover {
  background: #7c3aed;
  color: #ffffff;
  border-color: #7c3aed;
}
.floating-contact svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
}
.floating-contact [data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.95);
  background: #1e293b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.floating-contact [data-tooltip]:after {
  content: "";
  position: absolute;
  right: calc(100% + 4px);
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #1e293b;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.floating-contact [data-tooltip]:hover:before,
.floating-contact [data-tooltip]:hover:after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}
.wechat-dialog {
  width: min(440px, calc(100% - 32px));
  text-align: center;
}
.wechat-modal-header {
  margin-bottom: 20px;
}
.wechat-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #07c160;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.wechat-icon-badge svg {
  width: 32px;
  height: 32px;
}
.wechat-dialog .dialog-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  padding-right: 0;
}
.wechat-dialog .dialog-description {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0;
}
.wechat-qr-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 22px;
}
.wechat-qr-frame {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.wechat-qr-frame img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.wechat-account-info {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
}
.wechat-account-info strong {
  color: #0f172a;
}
.wechat-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.wechat-actions .btn {
  flex: 1;
  height: 44px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(500px, 90vw);
  padding: 14px 22px;
  background: #20232b;
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  box-shadow: 0 5px 30px #0003;
}
.page-banner {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, #111722f2 0%, #171d28d9 50%, #171d2870 100%),
    url("../images/banners/server.webp") center 42% / cover no-repeat;
  padding: 58px 0 62px;
  overflow: hidden;
}
.page-banner > .container {
  position: relative;
  z-index: 1;
}
.page-banner:after {
  content: "GREAT WALL";
  position: absolute;
  right: 2%;
  bottom: -20px;
  font-size: 115px;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: #ffffff0a;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #646a75;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb svg {
  width: 12px;
  height: 12px;
}
.breadcrumb span:last-child {
  color: var(--ink);
}
.page-banner h1 {
  font-size: 39px;
}
.page-banner p {
  margin-top: 12px;
  font-size: 13px;
  max-width: 670px;
  color: #d6d9e0;
}
.page-banner .breadcrumb,
.page-banner .breadcrumb span:last-child {
  color: #d6d9e0;
}
body[data-page="news"] .page-banner,
body[data-page="article"] .page-banner {
  background-image:
    linear-gradient(90deg, #111722f2 0%, #171d28d9 50%, #171d2870 100%),
    url("../images/banners/chip.webp");
}
.catalog-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 38px;
}
.catalog-sidebar h2 {
  font-size: 16px;
  margin-bottom: 20px;
}
.category-links {
  display: grid;
  gap: 5px;
}
.category-links a {
  padding: 13px 15px;
  font-size: 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.category-links a.active {
  background: #fff0f1;
  color: var(--red);
  font-weight: 600;
}
.category-links a:hover {
  background: var(--paper);
}
.category-links a svg {
  width: 16px;
}
.sidebar-callout {
  margin-top: 35px;
  background: var(--paper);
  padding: 25px 20px;
  border-radius: 6px;
}
.sidebar-callout > svg {
  color: var(--red);
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
}
.sidebar-callout h3 {
  font-size: 16px;
}
.sidebar-callout p {
  font-size: 11px;
  margin: 12px 0 18px;
}
.sidebar-callout .btn {
  font-size: 11px;
  padding: 11px 15px;
  min-height: 43px;
  gap: 8px;
}
.sidebar-callout .btn svg {
  width: 18px;
  height: 18px;
  margin: 0;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.catalog-toolbar p {
  font-size: 12px;
}
.search-input {
  position: relative;
  width: min(320px, 55%);
}
.search-input input {
  padding-left: 40px;
}
.search-input > svg {
  position: absolute;
  left: 12px;
  top: 13px;
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.catalog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.catalog-grid .product-image {
  height: 190px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 35px;
}
.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
}
.pagination button.active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.empty-state {
  padding: 60px 25px;
  text-align: center;
  background: var(--paper);
  border-radius: 8px;
}
.empty-state svg {
  width: 40px;
  height: 40px;
  color: #aaa;
  margin-bottom: 15px;
}
.empty-state h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.empty-state p {
  font-size: 12px;
}
.notice {
  padding: 14px 18px;
  border-left: 3px solid #c5c9d1;
  background: #f6f7f9;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 25px;
}
.detail-top {
  padding: 35px 0 60px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: start;
}
.gallery-main {
  background: var(--paper);
  height: 420px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
  width: 100%;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gallery-zoom {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}
.gallery-thumbs button {
  height: 70px;
  width: 90px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fafafa;
  padding: 7px;
}
.gallery-thumbs button.active {
  border-color: var(--red);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-copy .eyebrow {
  margin-top: 8px;
}
.detail-copy h1 {
  font-size: 37px;
  margin-top: 15px;
}
.detail-code {
  font-size: 11px;
  margin-top: 13px;
}
.detail-description {
  font-size: 13px;
  margin-top: 23px;
  line-height: 1.9;
}
.detail-highlights {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.detail-highlights div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.detail-highlights svg {
  color: var(--red);
  width: 16px;
  height: 16px;
}
.detail-source {
  font-size: 10px;
  margin-top: 22px;
}
.detail-source a {
  color: var(--red);
  text-decoration: underline;
}
.detail-nav {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
}
.detail-nav button {
  padding: 17px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}
.detail-nav button:hover,
.detail-nav button:focus-visible {
  color: var(--red);
}
.detail-nav button[aria-selected="true"] {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}
.detail-section {
  margin-bottom: 35px;
  scroll-margin-top: 110px;
}
.detail-section[hidden] {
  display: none;
}
.detail-section h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.detail-section p {
  font-size: 14px;
  max-width: 950px;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.spec-table th,
.spec-table td {
  padding: 18px 24px;
  text-align: left;
  border: 1px solid var(--line);
}
.spec-table th {
  width: 25%;
  background: #f7f8fa;
  font-weight: 500;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  border: 1px solid var(--line);
  padding: 27px;
  border-radius: 8px;
}
.feature-card svg {
  color: var(--red);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 12px;
}
.about-hero {
  background: #171b24;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 65px 0;
}
.about-hero .breadcrumb,
.about-hero .breadcrumb span:last-child {
  color: #c7c9d2;
}
.about-hero .split {
  gap: 60px;
}
.about-hero h1 {
  font-size: 46px;
}
.about-hero p {
  color: #acb2be;
  margin-top: 20px;
  max-width: 550px;
}
.about-hero img {
  height: 370px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.value-card {
  background: #f6f7f9;
  padding: 35px;
  border-radius: 8px;
  position: relative;
}
.value-number {
  font-size: 40px;
  color: #dddfe4;
  position: absolute;
  right: 25px;
  top: 20px;
  font-weight: 700;
}
.value-card svg {
  color: var(--red);
  margin-bottom: 20px;
  width: 30px;
  height: 30px;
}
.value-card h3 {
  margin-bottom: 15px;
  font-size: 21px;
}
.value-card p {
  font-size: 13px;
  max-width: 440px;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.industry-card {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: #252a33;
}
.industry-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.industry-card div {
  position: absolute;
  inset: auto 25px 25px;
  color: white;
}
.industry-card h3 {
  font-size: 21px;
}
.industry-card span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.news-list-layout {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 45px;
}
.news-list-layout .news-grid {
  grid-template-columns: repeat(2, 1fr);
  row-gap: 40px;
}
.news-sidebar h3 {
  font-size: 16px;
  margin-bottom: 22px;
}
.news-sidebar .filter-tabs {
  display: grid;
  gap: 6px;
}
.news-sidebar .filter-btn {
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.news-sidebar .filter-btn.active {
  background: #fff1f2;
  color: var(--red);
}
.news-sidebar .recent {
  display: block;
  font-size: 12px;
  line-height: 1.7;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.news-sidebar .recent small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
}
.article {
  max-width: 850px;
  margin: auto;
}
.article-head {
  text-align: center;
  margin-bottom: 35px;
}
.article-head h1 {
  font-size: 39px;
  line-height: 1.4;
}
.article-head .news-meta {
  justify-content: center;
  margin: 20px 0;
}
.article-cover {
  width: 100%;
  max-height: 530px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 35px;
}
.article-body {
  max-width: 760px;
  margin: auto;
  font-size: 15px;
}
.article-body p {
  margin-bottom: 23px;
  line-height: 1.9;
}
.article-body h2 {
  font-size: 25px;
  margin: 35px 0 20px;
}
.article-body blockquote {
  border-left: 3px solid var(--red);
  margin: 28px 0;
  padding: 18px 25px;
  background: #f8f8fa;
  font-size: 17px;
  font-weight: 500;
}
.article-source {
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 30px;
  color: var(--muted);
}
.article-source a {
  color: var(--red);
}
.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 11px;
}
.support-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 55px;
}
.support-tabs {
  display: grid;
  gap: 8px;
}
.support-tabs button {
  font-size: 13px;
  text-align: left;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.support-tabs button.active {
  border-color: var(--red);
  background: #fff5f6;
  color: var(--red);
}
.support-content h2 {
  font-size: 27px;
  margin-bottom: 12px;
}
.support-content > p {
  font-size: 13px;
  margin-bottom: 27px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 21px 35px 21px 0;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 7px;
  top: 16px;
  font-size: 22px;
  font-weight: 400;
}
.faq-item[open] summary {
  color: var(--red);
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  font-size: 13px;
  padding: 0 30px 23px 0;
}
.policy-step {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.policy-step h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.policy-step p {
  font-size: 13px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
}
.contact-info h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.contact-info > p {
  font-size: 13px;
  margin-bottom: 25px;
}
.contact-item {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}
.contact-item > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: #fff0f1;
  color: var(--red);
  border-radius: 7px;
  flex-shrink: 0;
}
.contact-item h3 {
  font-size: 12px;
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  font-size: 12px;
  color: var(--muted);
}
.map-card {
  margin-top: 35px;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e8ebdf;
  border-radius: 8px;
  background-image:
    linear-gradient(
      26deg,
      transparent 38%,
      #fff 38%,
      #fff 41%,
      transparent 41%
    ),
    linear-gradient(
      125deg,
      transparent 34%,
      #fff 34%,
      #fff 38%,
      transparent 38%
    ),
    linear-gradient(
      90deg,
      transparent 63%,
      #d0e1e9 63%,
      #d0e1e9 79%,
      transparent 79%
    ),
    linear-gradient(12deg, transparent 61%, #fff 61%, #fff 65%, transparent 65%);
}
.map-marker {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.map-marker svg {
  color: var(--red);
  width: 35px;
  height: 35px;
  fill: white;
}
.map-marker span {
  background: #fff;
  padding: 7px 12px;
  border-radius: 4px;
  font-size: 10px;
  margin-top: 7px;
  box-shadow: 0 3px 10px #0001;
}
.map-link {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: white;
  padding: 6px 10px;
  font-size: 10px;
  border-radius: 3px;
}
.contact-form {
  border: 1px solid var(--line);
  box-shadow: none;
}
.dialog {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 0;
  width: min(640px, calc(100% - 32px));
  max-height: 88vh;
  overflow: hidden;
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
  animation: dialogScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes dialogScaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.dialog::backdrop {
  background: rgba(15, 19, 28, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dialog-inner {
  padding: 32px;
  position: relative;
}
.dialog-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  padding-right: 40px;
  color: #111827;
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.dialog-close:hover {
  background: #fee2e2;
  color: var(--red);
  transform: rotate(90deg);
}
.dialog-close svg {
  width: 18px;
  height: 18px;
}
.dialog-description {
  font-size: 13.5px;
  color: #6b7280;
  margin-bottom: 20px;
}
.search-dialog {
  width: min(720px, calc(100% - 32px));
}
.search-dialog .search-header {
  margin-bottom: 20px;
  padding-right: 40px;
}
.search-dialog .search-header .dialog-title {
  padding-right: 0;
  margin-bottom: 6px;
}
.search-dialog .search-header .dialog-description {
  margin-bottom: 0;
}
.search-dialog .search-input-wrapper {
  margin-bottom: 14px;
}
.search-dialog .search-input {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin: 0;
}
.search-dialog .search-input .search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  color: #9ca3af;
  pointer-events: none;
  transition: color 0.2s ease;
}
.search-dialog .search-input:focus-within .search-icon {
  color: var(--red);
}
.search-dialog .search-input input {
  width: 100%;
  height: 54px;
  padding: 0 46px 0 52px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}
.search-dialog .search-input input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.search-dialog .search-input input:focus {
  background: #ffffff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(231, 1, 21, 0.08);
}
.clear-search-btn {
  position: absolute;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}
.clear-search-btn[hidden] {
  display: none !important;
}
.clear-search-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}
.clear-search-btn svg {
  width: 14px;
  height: 14px;
}
.search-quick-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.quick-tags-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}
.search-tag {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid transparent;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.search-tag:hover {
  background: #fee2e2;
  color: var(--red);
  border-color: rgba(231, 1, 21, 0.2);
  transform: translateY(-1px);
}
.search-results {
  display: grid;
  gap: 10px;
  max-height: 46vh;
  overflow-y: auto;
  padding-right: 4px;
}
.search-results-count {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-result:hover {
  background: #fffcfc;
  border-color: #fca5a5;
  box-shadow: 0 4px 14px rgba(231, 1, 21, 0.06);
  transform: translateX(4px);
}
.search-result img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 4px;
  flex-shrink: 0;
}
.search-result-content {
  flex: 1;
  min-width: 0;
}
.search-result strong {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  display: block;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result small {
  font-size: 12px;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.search-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 600;
  background: #fee2e2;
  color: var(--red);
  letter-spacing: 0.02em;
}
.search-badge.news {
  background: #e0f2fe;
  color: #0284c7;
}
.search-result-arrow {
  color: #cbd5e1;
  transition: all 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}
.search-result-arrow svg {
  width: 18px;
  height: 18px;
}
.search-result:hover .search-result-arrow {
  color: var(--red);
  transform: translateX(3px);
}
.search-prompt,
.search-results .empty-state {
  text-align: center;
  padding: 36px 20px;
  color: #94a3b8;
}
.search-prompt svg,
.search-results .empty-state svg {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: #cbd5e1;
}
.search-prompt p,
.search-results .empty-state p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}
.search-results .empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.image-dialog {
  width: min(1000px, 90vw);
  background: #fafafa;
}
.image-dialog img {
  width: 100%;
  height: 75vh;
  object-fit: contain;
  padding: 35px;
}
.no-js {
  background: #fff5dc;
  padding: 15px;
  text-align: center;
  font-size: 12px;
}
@media (min-width: 1600px) {
  .hero-slide {
    min-height: calc(100vh - 120px);
    max-height: 850px;
  }
  .hero-slide-title {
    font-size: 58px;
  }
  .hero-visual {
    height: 480px;
  }
  .hero-product {
    max-height: 400px;
  }
}
@media (max-width: 1150px) {
  .container {
    width: calc(100% - 48px);
  }
  .nav {
    gap: 15px;
    font-size: 11px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    height: auto;
  }
  .brand img {
    height: 34px;
    width: auto;
    max-width: 165px;
    transform: none;
  }
  .header-tools {
    gap: 6px;
  }
  .hero-slide-title {
    font-size: 45px;
  }
  .hero-orbit {
    width: 330px;
    height: 330px;
  }
  .hero-slide {
    min-height: 550px;
  }
  .hero-visual {
    height: 400px;
  }
  .hero-visual-label {
    top: 25px;
  }
  .benefit {
    padding: 0 14px;
    gap: 10px;
  }
  .benefit strong {
    font-size: 11px;
  }
  .product-grid {
    gap: 15px;
  }
  .product-image {
    height: 190px;
    padding: 17px;
  }
  .product-card-info {
    padding: 17px;
  }
  .split {
    gap: 40px;
  }
  .partner-layout {
    gap: 40px;
  }
  .footer-grid {
    gap: 30px;
  }
  .catalog-layout {
    grid-template-columns: 190px 1fr;
    gap: 25px;
  }
  .catalog-grid .product-image {
    height: 160px;
  }
  .catalog-grid .product-card h3 {
    font-size: 14px;
  }
  .detail-layout {
    gap: 35px;
  }
  .news-list-layout {
    grid-template-columns: 1fr 210px;
    gap: 30px;
  }
  .contact-grid {
    gap: 40px;
  }
}
@media (max-width: 900px) {
  h2 {
    font-size: 30px;
  }
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100dvh - 74px);
    overflow: auto;
    background: white;
    display: none;
    padding: 20px 25px 30px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 25px #0001;
  }
  .nav.is-open {
    display: block;
  }
  .nav > a,
  .nav-product > a {
    height: 52px;
    font-size: 14px;
  }
  .nav-product {
    flex-wrap: wrap;
  }
  .nav-product > a {
    flex: 1;
  }
  .nav-product > button {
    padding: 15px;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
    padding: 0 15px;
    background: #fafafa;
  }
  .nav-product:hover .dropdown {
    display: none;
  }
  .nav-product.open .dropdown,
  .nav-product:focus-within.open .dropdown {
    display: block;
  }
  .header-inner {
    height: 74px;
  }
  .header-tools {
    margin-left: auto;
    gap: 10px;
  }
  .menu-toggle {
    display: flex;
  }
  .topbar {
    font-size: 9px;
  }
  .hero-slide-title {
    font-size: 38px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero .button-row {
    gap: 10px;
  }
  .hero .btn {
    font-size: 11px;
    padding: 12px 15px;
    gap: 10px;
  }
  .hero-slide {
    grid-template-columns: 1.1fr 1fr;
    min-height: 510px;
  }
  .hero-visual {
    height: 340px;
  }
  .hero-orbit {
    width: 270px;
    height: 270px;
  }
  .hero-visual-label {
    font-size: 8px;
    top: 5px;
  }
  .hero-visual-label strong {
    font-size: 16px;
  }
  .hero-bottom-note {
    display: none;
  }
  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .benefit:nth-child(2) {
    border: 0;
  }
  .benefit:nth-child(3) {
    padding-left: 0;
  }
  .section {
    padding: 60px 0;
  }
  .category-copy {
    padding: 30px;
  }
  .category-copy h3 {
    font-size: 25px;
  }
  .category-tab {
    padding: 20px 17px;
  }
  .category-tab strong {
    font-size: 13px;
  }
  .category-tab small {
    font-size: 9px;
  }
  .category-art {
    height: 280px;
  }
  .stat {
    padding: 0 20px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat small {
    font-size: 9px;
  }
  .split {
    gap: 30px;
  }
  .company-visual > img {
    height: 360px;
  }
  .eco-row {
    gap: 25px;
  }
  .eco-title {
    min-width: 200px;
    max-width: 220px;
    padding-right: 20px;
  }
  .eco-logos {
    gap: 16px;
  }
  .eco-logo {
    font-size: 19px;
  }
  .cert-card {
    padding: 20px;
    gap: 12px;
  }
  .cert-card > svg {
    width: 25px;
    height: 25px;
  }
  .cert-card h3 {
    font-size: 13px;
  }
  .cert-card p {
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-image {
    height: 240px;
  }
  .partner-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .partner-copy h2 {
    font-size: 33px;
  }
  .partner-mark {
    display: none;
  }
  .partner-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .partner-points div {
    font-size: 11px;
  }
  .partner-copy > p {
    max-width: 580px;
  }
  .news-home {
    gap: 25px;
  }
  .news-stack {
    gap: 16px;
  }
  .news-stack h3 {
    font-size: 11px;
  }
  .news-stack .news-meta {
    font-size: 8px;
    gap: 5px;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 35px 60px;
  }
  .catalog-grid .product-image {
    height: 210px;
  }
  .catalog-layout {
    grid-template-columns: 175px 1fr;
    gap: 22px;
  }
  .catalog-toolbar {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .search-input {
    width: 100%;
  }
  .detail-layout {
    gap: 30px;
  }
  .gallery-main {
    height: 340px;
    padding: 20px;
  }
  .detail-copy h1 {
    font-size: 28px;
  }
  .feature-grid {
    gap: 14px;
  }
  .feature-card {
    padding: 20px;
  }
  .about-hero h1 {
    font-size: 34px;
  }
  .about-hero .split {
    gap: 30px;
  }
  .about-hero img {
    height: 320px;
  }
  .news-list-layout {
    grid-template-columns: 1fr 190px;
    gap: 25px;
  }
  .news-list-layout .news-grid {
    gap: 20px;
  }
  .news-card h3 {
    font-size: 15px;
  }
  .support-layout {
    grid-template-columns: 205px 1fr;
    gap: 30px;
  }
  .support-tabs button {
    font-size: 11px;
  }
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 25px;
  }
  .contact-grid .form-box {
    padding: 24px;
  }
  .contact-grid .form-grid {
    grid-template-columns: 1fr;
  }
  .article-head h1 {
    font-size: 33px;
  }
}

/* Product detail: readable information scale for the primary product panel. */
body[data-page="product-detail"] .detail-copy .eyebrow {
  font-size: 13px;
}
body[data-page="product-detail"] .detail-copy .pill {
  font-size: 13px;
  padding: 7px 12px;
}
body[data-page="product-detail"] .detail-code {
  font-size: 14px;
  line-height: 1.6;
}
body[data-page="product-detail"] .detail-description {
  font-size: 17px;
  line-height: 1.75;
}
body[data-page="product-detail"] .detail-highlights div {
  font-size: 15px;
  line-height: 1.55;
}
body[data-page="product-detail"] .detail-highlights svg {
  width: 18px;
  height: 18px;
}
body[data-page="product-detail"] .detail-copy .btn {
  font-size: 15px;
}
body[data-page="product-detail"] .detail-source {
  font-size: 13px;
}

@media (max-width: 600px) {
  body[data-page="product-detail"] .detail-copy .eyebrow,
  body[data-page="product-detail"] .detail-copy .pill {
    font-size: 12px;
  }
  body[data-page="product-detail"] .detail-code {
    font-size: 13px;
  }
  body[data-page="product-detail"] .detail-description {
    font-size: 16px;
  }
  body[data-page="product-detail"] .detail-highlights div,
  body[data-page="product-detail"] .detail-copy .btn {
    font-size: 14px;
  }
}

/* Article attribution and sharing controls must remain comfortably readable. */
body[data-page="article"] .article-source,
body[data-page="article"] .article-share {
  font-size: 16px;
  line-height: 1.65;
}
body[data-page="article"] .article-source a {
  font-weight: 600;
}
body[data-page="article"] .article-share .btn {
  font-size: 15px;
}

@media (max-width: 600px) {
  body[data-page="article"] .article-source,
  body[data-page="article"] .article-share,
  body[data-page="article"] .article-share .btn {
    font-size: 15px;
  }
  body[data-page="article"] .article-share {
    gap: 16px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .topbar {
    height: 28px;
    font-size: 8px;
  }
  .topbar-right {
    gap: 10px;
  }
  .topbar-right a:first-child {
    display: none;
  }
  .header-inner {
    height: 68px;
  }
  .brand {
    height: auto;
  }
  .brand img {
    height: 30px;
    width: auto;
    max-width: 140px;
    transform: none;
  }
  .header-tools {
    gap: 1px;
  }
  .header-tools > .divider {
    display: none;
  }
  .header-tools .icon-button {
    width: 35px;
  }
  .language-button {
    min-width: 39px;
  }
  .nav {
    top: 68px;
  }
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 740px;
    align-items: start;
  }
  .hero-copy {
    padding: 40px 0 0;
  }
  .hero-slide-title {
    font-size: 38px;
    max-width: 390px;
    line-height: 1.2;
  }
  .hero-copy > p {
    font-size: 12px;
    max-width: 330px;
    margin-top: 20px;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 18px;
  }
  .hero .button-row {
    margin-top: 25px;
  }
  .hero .btn {
    min-height: 47px;
    font-size: 11px;
    padding-inline: 17px;
  }
  .hero-caption {
    display: none;
  }
  .hero-visual {
    height: 300px;
    margin-top: 20px;
    margin-bottom: 55px;
  }
  .hero-product {
    width: 83%;
    height: 280px;
  }
  .hero-orbit {
    width: 240px;
    height: 240px;
  }
  .hero-visual-label {
    top: 15px;
    right: 0;
    font-size: 8px;
  }
  .hero-visual-label strong {
    font-size: 13px;
  }
  .hero-floor {
    bottom: 13px;
    width: 100%;
  }
  .hero-controls {
    bottom: 15px;
  }
  .slide-arrows button {
    width: 34px;
    height: 34px;
  }
  .benefit-grid {
    padding-block: 23px;
    gap: 20px 10px;
  }
  .benefit {
    padding: 0 0 0 12px;
    gap: 10px;
  }
  .benefit svg {
    width: 24px;
    height: 24px;
  }
  .benefit strong {
    font-size: 10px;
  }
  .benefit span {
    font-size: 8px;
  }
  .section {
    padding: 48px 0;
  }
  h2 {
    font-size: 27px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .section-head {
    gap: 15px;
    align-items: start;
    margin-bottom: 25px;
  }
  .section-head > .text-link {
    font-size: 10px;
    margin-top: 6px;
    gap: 5px;
  }
  .section-head p {
    font-size: 12px;
    margin-top: 10px;
  }
  .section-head h2 {
    font-size: 25px;
  }
  .section-head .text-link svg {
    width: 14px;
  }
  .category-tabs {
    margin-bottom: 18px;
  }
  .category-tab {
    padding: 15px 8px;
    gap: 9px;
  }
  .category-tab svg {
    width: 23px;
    height: 23px;
  }
  .category-tab strong {
    font-size: 11px;
  }
  .category-tab small {
    display: none;
  }
  .category-panel {
    grid-template-columns: 1fr;
  }
  .category-copy {
    padding: 27px;
  }
  .category-copy h3 {
    font-size: 25px;
  }
  .category-copy p {
    font-size: 12px;
    margin-top: 12px;
  }
  .category-art {
    height: 210px;
  }
  .category-art img {
    height: 170px;
  }
  .stats {
    padding: 30px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 23px 0;
  }
  .stat {
    padding: 0 20px;
  }
  .stat:nth-child(2) {
    border: 0;
  }
  .stat:nth-child(3) {
    padding-left: 0;
  }
  .stat strong {
    font-size: 34px;
  }
  .stat small {
    font-size: 10px;
  }
  .stats-source {
    font-size: 8px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .company-visual {
    min-height: 280px;
  }
  .company-visual > img {
    height: 300px;
  }
  .company-overlay {
    padding: 25px;
  }
  .company-overlay strong {
    font-size: 21px;
  }
  .split-copy p {
    font-size: 13px;
    margin-top: 15px;
  }
  .values-inline {
    gap: 20px;
    margin: 20px 0;
  }
  .values-inline div {
    font-size: 11px;
  }
  .eco-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .eco-title {
    max-width: 100%;
    min-width: 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 16px;
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
  }
  .eco-carousel-wrapper {
    width: 100%;
  }
  .eco-track {
    gap: 20px;
    animation-duration: 20s;
  }
  .eco-logo {
    font-size: 16px;
    padding: 8px 14px;
    min-width: 120px;
  }
  .ecosystem {
    padding: 28px 0;
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cert-card {
    padding: 22px;
  }
  .cert-card h3 {
    font-size: 14px;
  }
  .cert-card p {
    font-size: 11px;
    margin-top: 7px;
  }
  .cert-card > svg {
    width: 30px;
    height: 30px;
  }
  .filter-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .filter-btn {
    font-size: 10px;
    min-height: 39px;
    padding: 8px 12px;
  }
  .product-grid {
    gap: 12px;
  }
  .product-image {
    height: 160px;
    padding: 17px;
  }
  .product-image .pill {
    top: 8px;
    left: 8px;
    font-size: 7px;
    padding: 3px 6px;
  }
  .product-card-info {
    padding: 13px;
  }
  .product-category {
    font-size: 7px;
    letter-spacing: 0.06em;
  }
  .product-card h3 {
    font-size: 12px;
    margin: 7px 0;
  }
  .product-card p {
    font-size: 9px;
    min-height: 29px;
  }
  .product-card-bottom {
    font-size: 8px;
    padding-top: 10px;
    margin-top: 12px;
  }
  .product-card-bottom svg {
    width: 14px;
  }
  .partner-layout {
    gap: 27px;
  }
  .partner-copy h2 {
    font-size: 30px;
  }
  .partner-copy > p {
    font-size: 12px;
    margin-top: 17px;
  }
  .partner-points {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
  }
  .partner-points div {
    font-size: 11px;
  }
  .form-box {
    padding: 23px;
  }
  .form-box h3 {
    font-size: 19px;
  }
  .form-grid {
    gap: 13px;
  }
  .field label {
    font-size: 10px;
  }
  input,
  select,
  textarea {
    font-size: 12px;
  }
  .form-note {
    font-size: 9px;
  }
  .news-home {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .news-home > .news-card h3 {
    font-size: 20px;
  }
  .news-stack {
    gap: 20px 16px;
  }
  .news-stack h3 {
    font-size: 12px;
  }
  .news-stack .news-meta {
    font-size: 8px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 28px 0;
  }
  .cta-band .container {
    display: block;
  }
  .cta-band h2 {
    font-size: 22px;
  }
  .cta-band p {
    font-size: 11px;
    margin-top: 10px;
  }
  .cta-band .btn {
    margin-top: 20px;
    font-size: 11px;
    min-height: 45px;
  }
  .site-footer {
    padding-top: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 27px 23px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand > p {
    max-width: 330px;
    font-size: 11px;
  }
  .footer-contact {
    font-size: 10px;
  }
  .footer-col h3 {
    font-size: 11px;
    margin: 0 0 18px;
  }
  .footer-col a,
  .footer-col > p {
    font-size: 10px;
  }
  .footer-bottom {
    display: block;
    margin-top: 30px;
    font-size: 8px;
    padding: 18px 0;
  }
  .footer-bottom span {
    display: block;
    margin-bottom: 8px;
  }
  .floating-contact {
    right: 12px;
    bottom: 16px;
    gap: 8px;
  }
  .floating-contact button,
  .floating-contact a {
    width: 44px;
    height: 44px;
    font-size: 11px;
  }
  .floating-contact svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
  }
  .floating-contact [data-unconfigured] {
    display: none;
  }
  .page-banner {
    padding: 24px 0 32px;
  }
  .page-banner h1 {
    font-size: 30px;
  }
  .page-banner p {
    font-size: 12px;
  }
  .page-banner:after {
    font-size: 70px;
  }
  .breadcrumb {
    font-size: 9px;
    gap: 7px;
    margin-bottom: 22px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .catalog-sidebar h2 {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .category-links {
    display: flex;
    overflow: auto;
    gap: 7px;
    padding-bottom: 4px;
  }
  .category-links a {
    white-space: nowrap;
    border: 1px solid var(--line);
    padding: 9px 13px;
    font-size: 10px;
    min-height: 40px;
  }
  .category-links a svg {
    display: none;
  }
  .sidebar-callout {
    display: none;
  }
  .catalog-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }
  .catalog-toolbar p {
    font-size: 10px;
  }
  .catalog-toolbar .search-input {
    max-width: 205px;
  }
  .catalog-toolbar input {
    font-size: 10px;
  }
  .catalog-grid .product-image {
    height: 165px;
  }
  .catalog-grid .product-card h3 {
    font-size: 12px;
  }
  .notice {
    font-size: 10px;
    padding: 12px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .detail-top {
    padding: 25px 0 40px;
  }
  .gallery-main {
    height: 325px;
  }
  .gallery-thumbs button {
    height: 60px;
    width: 75px;
  }
  .detail-copy h1 {
    font-size: 31px;
  }
  .detail-description {
    font-size: 12px;
    margin-top: 18px;
  }
  .detail-nav {
    gap: 21px;
    overflow: auto;
  }
  .detail-nav button {
    font-size: 10px;
    white-space: nowrap;
  }
  .detail-section h2 {
    font-size: 23px;
  }
  .detail-section p {
    font-size: 12px;
  }
  .spec-table {
    font-size: 15px;
  }
  .spec-table th,
  .spec-table td {
    padding: 13px 12px;
    line-height: 1.5;
  }
  .spec-table th {
    width: 34%;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 23px;
  }
  .feature-card svg {
    margin-bottom: 12px;
  }
  .about-hero {
    padding: 28px 0 40px;
  }
  .about-hero h1 {
    font-size: 34px;
  }
  .about-hero p {
    font-size: 12px;
  }
  .about-hero img {
    height: 260px;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .value-card {
    padding: 27px;
  }
  .value-card h3 {
    font-size: 21px;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-card {
    height: 230px;
  }
  .news-list-layout {
    display: flex;
    flex-direction: column;
  }
  .news-sidebar {
    order: -1;
  }
  .news-sidebar > h3,
  .news-sidebar .recent,
  .news-sidebar .sidebar-callout {
    display: none;
  }
  .news-sidebar .filter-tabs {
    display: flex;
    margin: 0;
  }
  .news-sidebar .filter-btn {
    border: 1px solid var(--line);
    border-radius: 4px;
  }
  .news-list-layout .news-grid {
    gap: 28px 15px;
  }
  .news-list-layout .news-card h3 {
    font-size: 13px;
  }
  .news-list-layout .news-card p {
    font-size: 10px;
  }
  .news-list-layout .news-meta {
    font-size: 8px;
    gap: 6px;
    margin: 12px 0 8px;
  }
  .news-list-layout .news-card .text-link {
    font-size: 9px;
    margin-top: 12px;
  }
  .article-head h1 {
    font-size: 27px;
  }
  .article-head .news-meta {
    font-size: 9px;
  }
  .article-cover {
    margin-bottom: 25px;
  }
  .article-body p {
    font-size: 13px;
  }
  .article-body h2 {
    font-size: 23px;
  }
  .article-body blockquote {
    font-size: 15px;
    padding: 15px 20px;
  }
  .article-source {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .support-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .support-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .support-tabs button {
    padding: 12px 10px;
    font-size: 10px;
    gap: 7px;
  }
  .support-tabs svg {
    width: 18px;
    height: 18px;
  }
  .support-content h2 {
    font-size: 25px;
  }
  .faq-item summary {
    font-size: 12px;
    padding-block: 19px;
  }
  .faq-item p {
    font-size: 12px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-grid .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-inner {
    padding: 27px 22px;
  }
  .dialog-title {
    font-size: 23px;
  }
  .dialog .form-grid {
    grid-template-columns: 1fr;
  }
  .dialog {
    max-height: 90dvh;
  }
  .search-result strong {
    font-size: 11px;
  }
  .search-result img {
    width: 50px;
    height: 45px;
  }
}

/* Footer text sizing shared by every page; values mirror the approved homepage. */
.site-footer {
  font-size: 14px;
}
.footer-brand > p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 340px;
}
.footer-contact {
  font-size: 13.5px;
  line-height: 1.8;
}
.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col a,
.footer-col > p {
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-map {
  font-size: 13.5px;
}
.social-row button,
.social-row a {
  font-size: 12px;
  height: 36px;
  min-width: 36px;
}
.footer-bottom {
  font-size: 14px;
}

@media (max-width: 1150px) {
  .nav {
    font-size: 14px;
    gap: 16px;
  }
  .nav > a,
  .nav-product > a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .nav {
    font-size: 15px;
  }
  .nav > a,
  .nav-product > a {
    font-size: 16px;
  }
  .dropdown a {
    font-size: 15px;
  }
}

/* Shared mobile header and footer across every page. */
@media (max-width: 600px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-inner {
    height: 64px;
  }
  .nav {
    top: 64px;
    z-index: 42;
    height: calc(100dvh - 64px);
  }
  body.menu-open .menu-toggle {
    position: relative;
    z-index: 43;
    color: var(--red);
  }
  body.menu-open .menu-toggle svg {
    display: none;
  }
  body.menu-open .menu-toggle::before,
  body.menu-open .menu-toggle::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  body.menu-open .menu-toggle::before {
    transform: rotate(45deg);
  }
  body.menu-open .menu-toggle::after {
    transform: rotate(-45deg);
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .site-footer .footer-brand .brand {
    justify-content: center;
  }
  .site-footer .footer-brand > p {
    margin-inline: auto;
  }
  .site-footer .footer-col {
    min-width: 0;
    text-align: left;
  }
  .site-footer .footer-col:nth-child(4) {
    grid-column: 1 / -1;
    text-align: center;
  }
  .site-footer .footer-col:nth-child(4) .footer-map,
  .site-footer .footer-col:nth-child(4) .social-row {
    justify-content: center;
  }
  .site-footer .footer-bottom {
    text-align: center;
  }
}

/* Final homepage mobile CTA placement. */
@media (max-width: 600px) {
  body[data-page="home"] #san-pham-noi-bat .section-head > .text-link {
    display: none !important;
  }
  body[data-page="home"] #san-pham-noi-bat .empty-state {
    order: 5;
  }
  body[data-page="home"] #san-pham-noi-bat .center-action {
    order: 6;
    width: 100%;
    margin-top: 20px;
  }
  body[data-page="home"] #san-pham-noi-bat .center-action .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    border-color: var(--red);
    background: var(--red);
    color: #fff;
  }
  body[data-page="home"] .home-news-all {
    align-self: stretch !important;
    width: 100% !important;
    max-width: none;
    justify-content: center;
  }
}

/* Homepage mobile refinements (intentionally isolated from tablet/desktop and
   from all inner pages). */
@media (max-width: 600px) {
  /* The mobile drawer must use the viewport as its containing block. */
  body[data-page="home"] .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body[data-page="home"] .nav {
    z-index: 42;
    height: calc(100dvh - 64px);
  }
  body[data-page="home"].menu-open .menu-toggle {
    position: relative;
    z-index: 43;
    color: var(--red);
  }
  body[data-page="home"].menu-open .menu-toggle svg {
    display: none;
  }
  body[data-page="home"].menu-open .menu-toggle::before,
  body[data-page="home"].menu-open .menu-toggle::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  body[data-page="home"].menu-open .menu-toggle::before {
    transform: rotate(45deg);
  }
  body[data-page="home"].menu-open .menu-toggle::after {
    transform: rotate(-45deg);
  }

  /* Remove the four benefit rows below the homepage hero. */
  body[data-page="home"] .benefits {
    display: none;
  }

  /* Keep the category action after the illustration and present it as a CTA. */
  body[data-page="home"] .category-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  body[data-page="home"] .category-copy {
    display: contents;
  }
  body[data-page="home"] .category-copy > .pill {
    justify-self: start;
    margin: 27px 27px 0;
  }
  body[data-page="home"] .category-copy > h3 {
    margin: 16px 27px 0 !important;
  }
  body[data-page="home"] .category-copy > p {
    margin: 12px 27px 22px;
  }
  body[data-page="home"] .category-art {
    height: 230px;
    order: 4;
  }
  body[data-page="home"] .category-copy > .text-link {
    order: 5;
    justify-content: center;
    width: calc(100% - 54px);
    min-height: 48px;
    margin: 20px 27px 27px;
    padding: 12px 18px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
  }

  /* Give the two company values equal, readable columns. */
  body[data-page="home"] .values-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 26px 0;
  }
  body[data-page="home"] main .values-inline div {
    min-width: 0;
    padding-left: 10px;
    font-size: 20px;
    line-height: 1.2;
  }
  body[data-page="home"] main .values-inline small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
  }

  /* Move the product CTA below the cards and carousel indicators. */
  body[data-page="home"] #san-pham-noi-bat .container {
    display: flex;
    flex-direction: column;
  }
  body[data-page="home"] #san-pham-noi-bat .section-head {
    display: contents;
  }
  body[data-page="home"] #san-pham-noi-bat .section-head > div {
    order: 1;
    margin-bottom: 25px;
  }
  body[data-page="home"] #san-pham-noi-bat .filter-tabs {
    order: 2;
  }
  body[data-page="home"] #san-pham-noi-bat .product-grid {
    order: 3;
  }
  body[data-page="home"] #san-pham-noi-bat .mobile-scroll-dots {
    order: 4;
  }
  body[data-page="home"] #san-pham-noi-bat .section-head > .text-link {
    order: 5;
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
  }
  body[data-page="home"] #san-pham-noi-bat .desktop-label {
    display: none;
  }
  body[data-page="home"] #san-pham-noi-bat .mobile-label {
    display: inline;
  }

  /* News CTA follows the carousel indicators. */
  body[data-page="home"] .container:has(.home-news-all) {
    display: flex;
    flex-direction: column;
  }
  body[data-page="home"] .section-head:has(.home-news-all) {
    display: contents;
  }
  body[data-page="home"] .section-head:has(.home-news-all) > div {
    order: 1;
    margin-bottom: 25px;
  }
  body[data-page="home"] .container:has(.home-news-all) .news-home {
    order: 2;
  }
  body[data-page="home"] .container:has(.home-news-all) .mobile-scroll-dots {
    order: 3;
  }
  body[data-page="home"] .home-news-all {
    order: 4;
    align-self: stretch;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    background: var(--red);
    color: #fff;
  }

  /* Homepage footer alignment requested for the compact layout. */
  body[data-page="home"] .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }
  body[data-page="home"] .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  body[data-page="home"] .footer-brand .brand {
    justify-content: center;
  }
  body[data-page="home"] .footer-brand > p {
    margin-inline: auto;
  }
  body[data-page="home"] .footer-col {
    min-width: 0;
    text-align: left;
  }
  body[data-page="home"] .footer-col:nth-child(4) {
    grid-column: 1 / -1;
    text-align: center;
  }
  body[data-page="home"] .footer-col:nth-child(4) .footer-map,
  body[data-page="home"] .footer-col:nth-child(4) .social-row {
    justify-content: center;
  }
  body[data-page="home"] .footer-bottom {
    text-align: center;
  }

  /* Keep the quick-contact controls visible above page content. */
  body[data-page="home"] .floating-contact {
    display: flex !important;
    right: 12px;
    bottom: 16px;
    z-index: 35;
  }
}

/* Latest-news sidebar: thumbnail-led, readable article links. */
body[data-page="news"] .news-sidebar .recent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  font-size: 15px;
  line-height: 1.5;
}
body[data-page="news"] .news-sidebar .recent img {
  width: 82px;
  height: 62px;
  flex: 0 0 82px;
  border-radius: 5px;
  object-fit: cover;
}
body[data-page="news"] .news-sidebar .recent span {
  min-width: 0;
}
body[data-page="news"] .news-sidebar .recent strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
body[data-page="news"] .news-sidebar .recent small {
  font-size: 12px;
  margin-top: 7px;
}

@media (max-width: 768px) {
  /* Tiêu điểm: Featured article card */
  body[data-page="news"] .news-home {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  body[data-page="news"] .news-home > .news-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  }
  body[data-page="news"] .news-home > .news-card .news-card-image {
    aspect-ratio: 16/10;
    margin-bottom: 14px;
    border-radius: 10px;
  }
  body[data-page="news"] .news-home > .news-card h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 8px;
    font-weight: 700;
  }
  body[data-page="news"] .news-home > .news-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 14px;
  }
  body[data-page="news"] .news-home > .news-card .text-link {
    font-size: 14px;
    font-weight: 600;
  }

  /* Tiêu điểm: Sub-articles in news-stack - elegant horizontal list */
  body[data-page="news"] .news-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  body[data-page="news"] .news-stack .news-card {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 14px;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  body[data-page="news"] .news-stack .news-card-image {
    aspect-ratio: 4/3;
    width: 105px;
    height: 78px;
    margin-bottom: 0;
    border-radius: 8px;
  }
  body[data-page="news"] .news-stack h3 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body[data-page="news"] .news-stack .news-meta {
    font-size: 11px;
    margin: 0 0 4px;
    gap: 8px;
  }
  body[data-page="news"] .news-stack p,
  body[data-page="news"] .news-stack .text-link {
    display: none;
  }

  /* Danh sách bài viết & bộ lọc chuyên mục */
  body[data-page="news"] .news-list-layout {
    display: flex;
    flex-direction: column;
  }
  body[data-page="news"] .news-sidebar {
    display: contents;
  }
  body[data-page="news"] .news-sidebar > h3:first-child {
    display: none;
  }

  /* Thanh lọc danh mục: Dạng thanh trượt ngang bo viên thuốc hiện đại */
  body[data-page="news"] .news-sidebar .filter-tabs {
    order: 1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  body[data-page="news"] .news-sidebar .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  body[data-page="news"] .news-sidebar .filter-btn {
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 99px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    min-height: 40px;
    transition: all 0.2s ease;
    flex-shrink: 0;
  }
  body[data-page="news"] .news-sidebar .filter-btn.active {
    background: var(--red);
    color: #ffffff;
    border-color: var(--red);
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(231, 1, 21, 0.25);
  }

  /* Grid tin tức chính */
  body[data-page="news"] .news-list-layout > div:first-child {
    order: 2;
  }
  body[data-page="news"] .news-list-layout .news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  body[data-page="news"] .news-list-layout .news-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
  body[data-page="news"] .news-list-layout .news-card .news-card-image {
    aspect-ratio: 16/10;
    border-radius: 10px;
    margin-bottom: 14px;
  }
  body[data-page="news"] .news-list-layout .news-card .news-meta {
    font-size: 12px;
    margin-bottom: 8px;
    gap: 8px;
  }
  body[data-page="news"] .news-list-layout .news-card h3 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 8px;
  }
  body[data-page="news"] .news-list-layout .news-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 12px;
  }
  body[data-page="news"] .news-list-layout .news-card .text-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  body[data-page="news"] .news-list-layout .news-card .text-link svg {
    width: 16px;
    height: 16px;
  }

  /* Phân trang */
  body[data-page="news"] .pagination {
    margin: 28px 0 20px;
    gap: 8px;
  }
  body[data-page="news"] .pagination button {
    min-width: 44px;
    height: 44px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
  }

  /* Khối tin mới nhất chuyển xuống chân danh sách */
  body[data-page="news"] .news-sidebar > h3:not(:first-child) {
    order: 3;
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 14px;
  }
  body[data-page="news"] .news-sidebar .recent {
    order: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  body[data-page="news"] .news-sidebar .recent img {
    width: 90px;
    height: 68px;
    flex: 0 0 90px;
    border-radius: 8px;
    object-fit: cover;
  }
  body[data-page="news"] .news-sidebar .recent strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body[data-page="news"] .news-sidebar .recent small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    display: block;
  }
}

/* Unified responsive pass for every page. */
@media (max-width: 900px) {
  .topbar {
    display: none;
  }
  .site-header {
    top: 0;
  }
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 39;
    background: rgba(17, 23, 34, 0.48);
    backdrop-filter: blur(2px);
  }
  .header-inner {
    height: 68px;
  }
  .nav {
    top: 68px;
    left: auto;
    right: 0;
    bottom: 0;
    width: min(86vw, 380px);
    max-height: none;
    display: block;
    padding: 12px 24px 24px;
    border-left: 1px solid var(--line);
    border-bottom: 0;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
  }
  .nav.is-open {
    display: block;
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.28s ease;
  }
  .nav > a,
  .nav-product > a {
    height: 52px;
    font-size: 16px;
  }
  .dropdown a {
    min-height: 46px;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
  .section {
    padding: 56px 0;
  }
  .section-head {
    align-items: flex-start;
  }
  .footer-grid {
    gap: 36px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 78px;
  }
  body {
    font-size: 16px;
    line-height: 1.65;
  }
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: 64px;
    gap: 8px;
  }
  .brand img {
    height: 29px;
    max-width: 138px;
  }
  .header-tools {
    gap: 2px;
  }
  .header-tools .icon-button {
    width: 38px;
    height: 44px;
  }
  .language-flags {
    gap: 3px;
  }
  .language-flag {
    width: 27px;
    height: 25px;
    font-size: 19px;
  }
  .nav {
    top: 64px;
    max-height: none;
    padding: 10px 16px 24px;
  }
  .nav > a,
  .nav-product > a {
    height: 54px;
    font-size: 16px;
  }
  .nav-product > button {
    min-width: 48px;
    min-height: 48px;
  }
  h1 {
    font-size: 34px;
  }
  h2,
  main .section h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 20px;
  }
  p,
  main .section p {
    font-size: 16px;
  }
  .section {
    padding: 48px 0;
  }
  .section-head {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .section-head p {
    font-size: 16px;
  }
  .eyebrow,
  main .section .eyebrow {
    font-size: 12px;
  }
  .btn,
  main .section .btn {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 15px;
    gap: 12px;
  }
  .button-row {
    gap: 12px;
  }
  .page-banner {
    padding: 34px 0 40px;
  }
  .page-banner h1 {
    font-size: 32px;
  }
  main .page-banner .breadcrumb,
  main .about-hero .breadcrumb {
    font-size: 14px;
    margin-bottom: 18px;
  }
  main .page-banner p,
  main .about-hero p {
    font-size: 16px;
    line-height: 1.65;
  }
  .hero-slide {
    min-height: auto;
    padding-bottom: 88px;
  }
  .hero-copy {
    padding-top: 42px;
  }
  .hero-slide-title {
    font-size: 36px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero .btn {
    font-size: 14px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit,
  .benefit:nth-child(n) {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .benefit strong {
    font-size: 15px;
  }
  .benefit span {
    font-size: 13px;
  }
  .category-tabs {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .category-tab {
    min-width: 128px;
  }
  .category-tab strong {
    font-size: 14px;
  }
  .category-copy p,
  .split-copy p,
  .cert-card p,
  .partner-copy > p {
    font-size: 15px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat,
  .stat:nth-child(n) {
    padding: 16px;
    border: 0;
  }
  .stat small {
    font-size: 13px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-image {
    height: 250px;
  }
  .product-card-info {
    padding: 20px;
  }
  main .product-card h3 {
    font-size: 19px;
  }

  /* Trang sản phẩm: hiển thị 2 sản phẩm trên 1 hàng cho mobile */
  .catalog-grid,
  body[data-page="catalog"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 10px !important;
  }
  .catalog-grid .product-card,
  body[data-page="catalog"] .product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
  }
  .catalog-grid .product-image,
  body[data-page="catalog"] .product-image {
    height: 135px !important;
    padding: 10px !important;
  }
  .catalog-grid .product-image .pill,
  body[data-page="catalog"] .product-image .pill {
    top: 6px;
    left: 6px;
    font-size: 7.5px;
    padding: 2px 6px;
  }
  .catalog-grid .product-card-info,
  body[data-page="catalog"] .product-card-info {
    padding: 10px 10px 12px !important;
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  .catalog-grid .product-card h3,
  body[data-page="catalog"] .product-card h3,
  main .catalog-grid .product-card h3 {
    font-size: 13.5px !important;
    line-height: 1.35;
    font-weight: 600;
    margin: 4px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
  }
  .catalog-grid .product-card p,
  body[data-page="catalog"] .product-card p,
  main .catalog-grid .product-card p {
    font-size: 11px !important;
    line-height: 1.4;
    color: #6b7280;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 30px;
  }
  .catalog-grid .product-category,
  body[data-page="catalog"] .product-category,
  main .catalog-grid .product-category {
    font-size: 9.5px !important;
  }
  .catalog-grid .product-card-bottom,
  body[data-page="catalog"] .product-card-bottom,
  main .catalog-grid .product-card-bottom {
    font-size: 10.5px !important;
    font-weight: 600;
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .catalog-grid .product-card-bottom svg,
  body[data-page="catalog"] .product-card-bottom svg {
    width: 13px;
    height: 13px;
  }
  main .product-card p {
    min-height: 0;
    font-size: 15px;
  }
  main .product-category {
    font-size: 12px;
  }
  main .product-card-bottom {
    font-size: 14px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-toolbar p {
    font-size: 14px;
  }
  .catalog-toolbar .search-input {
    max-width: none;
  }
  .catalog-toolbar input {
    font-size: 16px;
  }
  .category-links a {
    min-height: 44px;
    font-size: 14px;
  }
  .form-box,
  .contact-grid .form-box {
    padding: 22px 18px;
  }
  .form-box h3 {
    font-size: 22px;
  }
  .form-box > p,
  main .field label {
    font-size: 14px;
  }
  input,
  select,
  textarea,
  main input,
  main select,
  main textarea {
    font-size: 16px;
  }
  .form-submit {
    width: 100%;
  }
  .values-grid,
  .industry-grid,
  .contact-grid,
  .support-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .value-card {
    padding: 28px 22px;
  }
  .value-card p {
    font-size: 15px;
  }
  .support-tabs {
    grid-template-columns: 1fr;
  }
  .support-tabs button {
    min-height: 50px;
    font-size: 14px;
  }
  .faq-item summary,
  main .faq-item summary {
    font-size: 16px;
  }
  .faq-item p,
  main .faq-item p,
  main .policy-step p {
    font-size: 15px;
  }
  .gallery-main {
    height: 290px;
    padding: 16px;
  }
  .detail-copy h1 {
    font-size: 30px;
  }
  .detail-nav button {
    min-height: 48px;
    font-size: 14px;
  }
  .detail-section p,
  .spec-table {
    font-size: 15px;
  }
  .spec-table th,
  .spec-table td {
    padding: 13px 12px;
    line-height: 1.5;
    word-break: break-word;
  }
  .article-head h1 {
    font-size: 30px;
  }
  .article-head .news-meta,
  main .news-meta {
    font-size: 12px;
  }
  .article-body p {
    font-size: 16px;
  }
  .article-share {
    flex-direction: column;
  }
  .article-share .btn {
    width: 100%;
  }
  .news-list-layout .news-card h3,
  main .news-card h3 {
    font-size: 19px;
  }
  .news-list-layout .news-card p,
  main .news-card p {
    font-size: 15px;
  }
  .news-list-layout .news-meta {
    font-size: 12px;
  }
  .news-list-layout .news-card .text-link {
    font-size: 14px;
  }
  .cta-band .container {
    display: grid;
    gap: 20px;
  }
  .cta-band h2 {
    font-size: 24px;
  }
  .cta-band p {
    font-size: 15px;
  }
  .cta-band .btn {
    width: 100%;
    margin-top: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-brand > p,
  .footer-contact,
  .footer-col a,
  .footer-col > p {
    font-size: 14px;
  }
  .footer-col h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .floating-contact {
    right: 10px;
    bottom: 14px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }
  .brand img {
    max-width: 124px;
  }
  .language-flag {
    width: 24px;
    font-size: 17px;
  }
  .hero-slide-title {
    font-size: 32px;
  }
  .button-row > .btn,
  .button-row > button,
  .button-row > a {
    width: 100%;
  }
}

/* Homepage mobile carousels: one complete card per swipe. */
.mobile-scroll-dots {
  display: none;
}
.mobile-label {
  display: none;
}

@media (max-width: 600px) {
  body[data-page="home"] #san-pham-noi-bat .product-grid,
  body[data-page="home"] .news-home {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: 2px 1px 8px;
  }
  body[data-page="home"] #san-pham-noi-bat .product-grid::-webkit-scrollbar,
  body[data-page="home"] .news-home::-webkit-scrollbar {
    display: none;
  }
  body[data-page="home"] #san-pham-noi-bat .product-card,
  body[data-page="home"] .news-home .news-card {
    flex: 0 0 calc(100% - 2px);
    width: calc(100% - 2px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  body[data-page="home"] .news-home .news-stack {
    display: contents;
  }
  body[data-page="home"] .news-home .news-card-image {
    display: block;
    height: 230px;
    margin-bottom: 16px;
  }
  body[data-page="home"] .news-home .news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  body[data-page="home"] .news-home .news-card h3,
  body[data-page="home"] .news-home > .news-card h3 {
    font-size: 21px;
  }
  body[data-page="home"] .news-home .news-card p {
    display: block;
    font-size: 15px;
  }
  body[data-page="home"] .news-home .news-card .text-link {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    font-size: 15px;
  }
  body[data-page="home"] .home-news-all {
    width: fit-content;
    min-height: 46px;
    padding: 11px 18px;
    gap: 12px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
  }
  body[data-page="home"] .home-news-all:hover {
    background: var(--red-dark);
    color: #fff;
  }
  body[data-page="home"] .mobile-scroll-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
  }
  body[data-page="home"] .mobile-scroll-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #c8cbd1;
  }
  body[data-page="home"] .mobile-scroll-dots button.active {
    width: 24px;
    background: var(--red);
  }
}
@media (max-width: 380px) {
  .container {
    width: calc(100% - 28px);
  }
  .hero-slide-title {
    font-size: 34px;
  }
  .hero-slide {
    min-height: 710px;
  }
  .hero-visual {
    height: 280px;
  }
  .form-grid,
  .contact-grid .form-grid {
    grid-template-columns: 1fr;
  }
  .product-image {
    height: 145px;
  }
  .catalog-grid .product-image {
    height: 125px !important;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .category-tab {
    gap: 6px;
    padding-inline: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Site-wide section transitions. Activated by JS so content stays visible when
   scripting or IntersectionObserver is unavailable. */
.section-motion-ready .reveal-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-order, 0) * 70ms);
  will-change: opacity, transform;
}
.section-motion-ready .reveal-item.reveal-from-right {
  transform: translate3d(42px, 0, 0);
}
.section-motion-ready .reveal-item.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}
@media (max-width: 600px) {
  .section-motion-ready .reveal-item,
  .section-motion-ready .reveal-item.reveal-from-right {
    transform: translate3d(0, 20px, 0);
    transition-duration: 0.58s;
    transition-delay: calc(var(--reveal-order, 0) * 45ms);
  }
  .section-motion-ready .reveal-item.is-revealed {
    transform: translate3d(0, 0, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .section-motion-ready .reveal-item,
  .section-motion-ready .reveal-item.reveal-from-right {
    opacity: 1;
    transform: none;
  }
}
/* Media links need a block box for their aspect ratio. */
.news-card-image {
  display: block;
}
/* Allow category strips to scroll inside the mobile grid, not expand it. */
.catalog-layout > * {
  min-width: 0;
}

/* Contrast and gallery containment refinements. */
.gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-main img {
  min-height: 0;
  max-height: 100%;
}
.hero-visual-label {
  top: 4px;
}
.light .eyebrow,
.partnership .eyebrow,
.category-links a.active,
.support-tabs button.active,
.detail-nav button[aria-selected="true"],
.light .news-meta span {
  color: var(--red-dark);
}
.cta-band p {
  color: #fff;
}
.footer-brand > p {
  color: #b2b6c0;
}
@media (max-width: 600px) {
  .hero-visual-label {
    top: -6px;
  }
}

.about-hero .eyebrow {
  color: #ff5867;
}
.news-sidebar .filter-btn.active {
  color: var(--red-dark);
}
.value-number {
  color: #4f5663;
  font-weight: 800;
  opacity: 1;
}

/* Each slide is a complete scene. Overlapping grid cells keep the banner height stable. */
.hero-grid {
  position: relative;
}
.hero-slides {
  display: grid;
  isolation: isolate;
}
.hero-slide {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  max-height: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slide.is-animating {
  visibility: visible;
  will-change: transform, opacity;
}
.hero-slide-title,
.hero-copy > p,
.hero-product,
.hero-visual-label {
  transition: none;
}
.hero {
  touch-action: pan-y;
}
.hero-slide-title {
  font-weight: 700;
}
.hero-copy > p {
  font-size: 16px;
  max-width: 480px;
}
.hero .btn {
  font-size: 14px;
}
.hero .slide-dot.active:after {
  animation-duration: 4s;
}
.hero.is-transitioning .slide-dot.active:after {
  animation: none;
  background-size: 0% 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* More comfortable section typography; navigation keeps its existing scale. */
main .section h2 {
  font-size: 39px;
}
main .section p {
  font-size: 16px;
}
main .section .eyebrow {
  font-size: 12px;
}
main .section .text-link,
main .section .btn {
  font-size: 14px;
}
main .category-tab strong {
  font-size: 17px;
}
main .category-tab small {
  font-size: 12px;
}
main .stat small {
  font-size: 13px;
}
main .benefit strong {
  font-size: 14px;
}
main .benefit span {
  font-size: 12px;
}
main .cert-card h3 {
  font-size: 18px;
}
main .cert-card p {
  font-size: 14px;
}
main .cert-card .small {
  font-size: 12px;
}
main .product-card h3 {
  font-size: 18px;
}
main .product-card p {
  font-size: 14px;
  line-height: 1.7;
  min-height: 47px;
}
main .product-category {
  font-size: 11px;
}
main .product-card-bottom {
  font-size: 12px;
}
main .filter-btn {
  font-size: 14px;
}
main .partner-points div {
  font-size: 14px;
}
main .form-box h3 {
  font-size: 23px;
}
main .form-box > p,
main .field label {
  font-size: 13px;
}
main input,
main select,
main textarea {
  font-size: 14px;
}
main .news-card h3 {
  font-size: 21px;
}
main .news-card p {
  font-size: 14px;
}
main .news-stack h3 {
  font-size: 16px;
}
main .news-meta {
  font-size: 12px;
}
main .news-stack .news-meta {
  font-size: 11px;
}
main .faq-item summary {
  font-size: 16px;
}
main .faq-item p,
main .policy-step p {
  font-size: 15px;
}
main .spec-table {
  font-size: 15px;
}
main .feature-card h3 {
  font-size: 18px;
}
main .category-links a,
main .support-tabs button {
  font-size: 14px;
}
@media (max-width: 900px) {
  main .section h2 {
    font-size: 33px;
  }
  main .benefit strong {
    font-size: 12px;
  }
  main .benefit span {
    font-size: 11px;
  }
  main .category-tab strong {
    font-size: 15px;
  }
  main .news-stack h3 {
    font-size: 14px;
  }
  main .category-links a,
  main .support-tabs button {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .hero-copy > p {
    font-size: 14px;
  }
  .hero .btn {
    font-size: 12px;
  }
  .hero-slide {
    padding-bottom: 75px;
  }
  main .section h2 {
    font-size: 29px;
  }
  main .section p {
    font-size: 14px;
  }
  main .section .eyebrow {
    font-size: 11px;
  }
  main .section .text-link,
  main .section .btn {
    font-size: 12px;
  }
  main .category-tab strong {
    font-size: 13px;
  }
  main .stat small {
    font-size: 12px;
  }
  main .benefit strong {
    font-size: 11px;
  }
  main .benefit span {
    font-size: 10px;
  }
  main .cert-card h3 {
    font-size: 16px;
  }
  main .cert-card p {
    font-size: 13px;
  }
  main .product-card h3 {
    font-size: 14px;
  }
  main .product-card p {
    font-size: 12px;
    min-height: 40px;
  }
  main .product-category {
    font-size: 9px;
  }
  main .product-card-bottom {
    font-size: 10px;
  }
  main .filter-btn {
    font-size: 12px;
  }
  main .form-box h3 {
    font-size: 21px;
  }
  main .form-box > p,
  main .field label {
    font-size: 12px;
  }
  main input,
  main select,
  main textarea {
    font-size: 16px;
  }
  main .news-card h3 {
    font-size: 18px;
  }
  main .news-card p {
    font-size: 14px;
  }
  main .news-stack h3,
  main .news-list-layout .news-card h3 {
    font-size: 16px;
  }
  main .news-meta,
  main .news-stack .news-meta {
    font-size: 12px;
  }
  main .faq-item summary {
    font-size: 14px;
  }
  main .faq-item p,
  main .policy-step p {
    font-size: 14px;
  }
  main .spec-table {
    font-size: 15px;
  }
  main .spec-table th,
  main .spec-table td {
    font-size: 15px;
    line-height: 1.5;
    padding: 13px 12px;
    word-break: break-word;
  }
  main .spec-table th {
    width: 34%;
    font-weight: 600;
  }
  main .feature-card h3 {
    font-size: 17px;
  }
  main .category-links a,
  main .support-tabs button {
    font-size: 11px;
  }
}
/* Keep article and support subheadings proportional to their content. */
main .article-body h2,
main .detail-section h2 {
  font-size: 28px;
}
main .support-content h2 {
  font-size: 30px;
}
main .contact-info h2 {
  font-size: 33px;
}
main .category-copy h3 {
  font-size: 31px;
}
main .values-inline div {
  font-size: 14px;
}
main .values-inline small {
  font-size: 12px;
}
main .contact-item h3,
main .contact-item a {
  font-size: 14px;
}

/* Product detail: keep related products in a compact two-column mobile grid. */
@media (max-width: 600px) {
  body[data-page="product-detail"] #related-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body[data-page="product-detail"] #related-products .product-image {
    height: 130px;
    padding: 12px;
  }
  body[data-page="product-detail"] #related-products .product-card-info {
    padding: 12px 10px;
  }
  body[data-page="product-detail"] #related-products .product-card h3 {
    font-size: 13px;
  }
  body[data-page="product-detail"] #related-products .product-card p {
    min-height: 38px;
    font-size: 11px;
  }
  body[data-page="product-detail"] #related-products .product-card-bottom {
    font-size: 10px;
  }
}

main .page-banner .breadcrumb,
main .about-hero .breadcrumb {
  font-size: 16px;
}
main .page-banner p,
main .about-hero p {
  font-size: 18px;
}
@media (max-width: 600px) {
  main .article-body h2,
  main .detail-section h2,
  main .support-content h2 {
    font-size: 26px;
  }
  main .contact-info h2 {
    font-size: 29px;
  }
  main .category-copy h3 {
    font-size: 27px;
  }
  main .values-inline div,
  main .contact-item h3,
  main .contact-item a {
    font-size: 12px;
  }
  main .values-inline small {
    font-size: 11px;
  }
  main .page-banner .breadcrumb,
  main .about-hero .breadcrumb {
    font-size: 16px;
  }
  main .page-banner p,
  main .about-hero p {
    font-size: 18px;
  }
}

/* Authoritative shared header scale — mirrors the approved homepage inline rules. */
.topbar {
  font-size: 12px;
}
.nav {
  font-size: 15px;
  gap: 24px;
}
.nav > a,
.nav-product > a {
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
@media (min-width: 901px) {
  .nav > a.active:after,
  .nav-product > a.active:after {
    bottom: 16px;
    height: 3px;
    border-radius: 2px;
  }
}
.dropdown a {
  font-size: 14px;
}
.language-button {
  font-size: 13px;
}

@media (max-width: 1150px) {
  .nav {
    font-size: 14px;
    gap: 16px;
  }
  .nav > a,
  .nav-product > a {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .nav {
    font-size: 15px;
  }
  .nav > a,
  .nav-product > a {
    font-size: 16px;
    padding: 0 16px;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .nav-product {
    margin-bottom: 4px;
  }
  .nav > a:hover,
  .nav-product > a:hover {
    background: rgba(0, 0, 0, 0.03);
  }
  .nav > a.active,
  .nav-product > a.active {
    color: var(--red);
    background: rgba(231, 1, 21, 0.06);
    font-weight: 600;
    position: relative;
  }
  .nav > a.active:after,
  .nav-product > a.active:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5px;
    height: 22px;
    background: var(--red);
    border-radius: 0 4px 4px 0;
    bottom: auto;
    right: auto;
  }
  .dropdown a {
    font-size: 15px;
  }
  .dropdown a.active {
    color: var(--red);
    font-weight: 600;
    background: rgba(231, 1, 21, 0.06);
    border-radius: 6px;
  }
}


/* ==========================================================================
   GTranslate: Bộ chọn ngôn ngữ Header (Đồng bộ phong cách Great Wall)
   ========================================================================== */
.language-flags {
  display: inline-flex !important;
  align-items: center !important;
  position: relative;
  height: 44px;
}

.language-flags .gtranslate_wrapper {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.language-flags select.gt_selector {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;
  line-height: 34px !important;
  padding: 0 28px 0 34px !important;
  margin: 0 !important;
  border: 1px solid #dcdfe4 !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646a75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3.6 9h16.8M3.6 15h16.8'/%3E%3Cpath d='M12 3a14.5 14.5 0 0 0 0 18M12 3a14.5 14.5 0 0 1 0 18'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181b22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-position: left 10px center, right 10px center !important;
  background-repeat: no-repeat, no-repeat !important;
  background-size: 16px 16px, 11px 11px !important;
  font-family: var(--font, "Be Vietnam Pro", Arial, sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--ink, #181b22) !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05) !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.language-flags select.gt_selector:hover {
  border-color: #cbd5e1 !important;
  background-color: #f8fafc !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08) !important;
}

.language-flags select.gt_selector:focus {
  border-color: var(--red, #e70115) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(231, 1, 21, 0.12), 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.language-flags select.gt_selector option {
  font-family: var(--font, "Be Vietnam Pro", Arial, sans-serif);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  color: #181b22;
  background: #ffffff;
}

.language-flags select.gt_selector option[value=""] {
  display: none !important;
}

@media (max-width: 640px) {
  .language-flags select.gt_selector {
    height: 32px !important;
    line-height: 30px !important;
    font-size: 12px !important;
    padding: 0 24px 0 28px !important;
    background-size: 14px 14px, 10px 10px !important;
    background-position: left 8px center, right 8px center !important;
  }
}
