.category-body {
  --category-navy: #061d3d;
  --category-navy-deep: #03152d;
  --category-yellow: #ffca05;
  --category-copy: #071b3c;
  --category-muted: #667287;
  --category-line: #dce4ed;
  min-width: 320px;
  color: var(--category-copy);
  background: #f4f7fa;
}

.category-body .container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .category-body .container {
    padding: 0 20px;
  }
}

.category-page :where(a, button, summary):focus-visible {
  outline: 3px solid var(--category-yellow);
  outline-offset: 3px;
}

.category-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 72px;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(3, 21, 45, 0.98) 0%, rgba(6, 35, 72, 0.96) 58%, rgba(8, 49, 94, 0.9) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.04) 80px);
}

.category-hero::after {
  content: "XCMG";
  position: absolute;
  right: -0.04em;
  bottom: -0.31em;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(11rem, 22vw, 25rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.category-breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  margin-bottom: 48px;
  color: #aebfd2;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
}

.category-breadcrumbs a {
  color: #d7e2ee;
}

.category-breadcrumbs a:hover {
  color: var(--category-yellow);
}

.category-breadcrumbs span[aria-current="page"] {
  overflow: hidden;
  color: var(--category-yellow);
  text-overflow: ellipsis;
}

.category-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(360px, 0.78fr);
  align-items: stretch;
  gap: clamp(52px, 7vw, 116px);
}

.category-hero__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: var(--category-yellow);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  background: currentColor;
  border-radius: 99px;
}

.category-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.35rem, 5.15vw, 6.35rem);
  font-weight: 950;
  line-height: 0.91;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.category-hero__copy > p {
  max-width: 800px;
  margin: 24px 0 28px;
  color: #d6e1ed;
  font-size: 1rem;
  line-height: 1.65;
}

.category-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.category-button:hover {
  transform: translateY(-2px);
}

.category-button--yellow {
  color: var(--category-copy);
  background: var(--category-yellow);
  box-shadow: 0 10px 24px rgba(255, 202, 5, 0.2);
}

.category-button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
}

.category-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.category-hero__facts li {
  display: grid;
  gap: 4px;
  padding-right: 24px;
}

.category-hero__facts li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.19);
}

.category-hero__facts strong {
  color: var(--category-yellow);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.category-hero__facts span {
  color: #afbed0;
  font-size: 0.65rem;
  line-height: 1.35;
}

.category-decision-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 4vw, 52px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  box-shadow: 0 26px 70px rgba(0, 10, 28, 0.25);
  backdrop-filter: blur(16px);
}

.category-decision-card::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -55px;
  width: 180px;
  height: 180px;
  border: 40px solid rgba(255, 202, 5, 0.14);
  border-radius: 50%;
}

.category-decision-card__index {
  position: absolute;
  top: 28px;
  left: 32px;
  color: var(--category-yellow);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.category-decision-card__label {
  margin-bottom: 12px;
  color: var(--category-yellow);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-decision-card h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.category-decision-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.category-decision-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d9e4ee;
  font-size: 0.78rem;
}

.category-decision-card li span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  color: var(--category-copy);
  background: var(--category-yellow);
  border-radius: 50%;
  font-size: 0.54rem;
  font-weight: 950;
}

.category-decision-card__phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  font-size: 0.92rem;
  font-weight: 900;
}

.category-decision-card__phone:hover {
  color: var(--category-yellow);
}

.category-subcategories,
.category-models,
.category-related,
.category-evidence {
  padding: 86px 0;
}

.category-subcategories,
.category-related {
  background: #fff;
}

.category-models {
  background: #f4f7fa;
}

.category-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 34px;
}

.category-section-heading > div > span,
.category-order__layout > div > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #ad7c00;
  font-size: 0.65rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-section-heading > div > span::before,
.category-order__layout > div > span::before {
  content: "";
  width: 30px;
  height: 3px;
  background: var(--category-yellow);
  border-radius: 99px;
}

.category-section-heading h2,
.category-order h2 {
  max-width: 940px;
  margin: 0;
  color: var(--category-copy);
  font-size: clamp(2.15rem, 3.2vw, 3.8rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.category-section-heading > p {
  margin: 0;
  color: var(--category-muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.category-section-heading > p strong {
  color: var(--category-copy);
  font-size: 1.1rem;
}

.category-subcategory-grid,
.category-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-subcategory-card,
.category-related__grid > a {
  position: relative;
  min-height: 190px;
  padding: 24px 54px 24px 24px;
  color: var(--category-copy);
  background: #fff;
  border: 1px solid var(--category-line);
  border-radius: 14px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-subcategory-card:hover,
.category-related__grid > a:hover {
  color: var(--category-copy);
  border-color: #e1b517;
  box-shadow: 0 16px 30px rgba(7, 27, 60, 0.09);
  transform: translateY(-4px);
}

.category-subcategory-card > span,
.category-related__grid > a > span {
  color: #bb8800;
  font-size: 0.65rem;
  font-weight: 950;
}

.category-subcategory-card h3,
.category-related__grid h3 {
  margin: 30px 0 8px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.category-subcategory-card p,
.category-related__grid p {
  color: var(--category-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.category-subcategory-card b,
.category-related__grid b {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #f4f7fa;
  border: 1px solid var(--category-line);
  border-radius: 50%;
}

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

.category-product-card {
  display: flex;
  min-width: 0;
  min-height: 522px;
  flex-direction: column;
  overflow: hidden;
  color: var(--category-copy);
  background: #fff;
  border: 1px solid var(--category-line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(7, 27, 60, 0.045);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.category-product-card:hover {
  border-color: #e1b517;
  box-shadow: 0 18px 36px rgba(7, 27, 60, 0.1);
  transform: translateY(-4px);
}

.category-product-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 45px;
  padding: 0 17px;
  border-bottom: 1px solid #e7ecf2;
}

.category-product-card__topline span {
  color: #9b6e00;
  font-size: 0.63rem;
  font-weight: 950;
}

.category-product-card__topline b {
  padding: 4px 8px;
  color: var(--category-copy);
  background: var(--category-yellow);
  border-radius: 5px;
  font-size: 0.54rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.category-product-card__image {
  display: grid;
  place-items: center;
  height: 230px;
  padding: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff 0%, #f2f5f8 100%);
  border-bottom: 1px solid #e7ecf2;
}

.category-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-product-card:hover .category-product-card__image img {
  transform: scale(1.035);
}

.category-product-card__image > span {
  color: var(--category-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.category-product-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.category-product-card__body > p {
  overflow: hidden;
  margin: 0 0 7px;
  color: #8a96a6;
  font-size: 0.58rem;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.category-product-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.category-product-card h3 a:hover {
  color: #a87900;
}

.category-product-card__specs {
  display: grid;
  gap: 7px;
  margin: 0 0 17px;
}

.category-product-card__specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dotted #d6dee8;
}

.category-product-card__specs dt {
  overflow: hidden;
  color: var(--category-muted);
  font-size: 0.6rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-product-card__specs dd {
  max-width: 48%;
  overflow: hidden;
  color: var(--category-copy);
  font-size: 0.62rem;
  font-weight: 850;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-product-card__price {
  margin-top: auto;
  margin-bottom: 13px;
  color: var(--category-copy);
  font-size: 0.83rem;
  font-weight: 950;
}

.category-product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.category-product-card__details,
.category-product-card__request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 950;
}

.category-product-card__details {
  justify-content: space-between;
  color: var(--category-copy);
  background: var(--category-yellow);
}

.category-product-card__request {
  color: var(--category-copy);
  background: #fff;
  border: 1px solid #cfd8e3;
  cursor: pointer;
}

.category-empty-state {
  padding: 52px;
  background: #fff;
  border: 1px solid var(--category-line);
  border-radius: 16px;
  text-align: center;
}

.category-empty-state h2 {
  margin-bottom: 10px;
  font-size: 1.7rem;
  font-weight: 950;
}

.category-empty-state p {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--category-muted);
}

.category-guide { padding: 60px 0; color: inherit; background: transparent; }

.category-section-heading--light h2 { color: inherit; }

.category-section-heading--light > p {
  color: #b9c7d6;
}

.category-guide__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  list-style: none;
}

.category-guide__steps li {
  min-height: 230px;
  padding: 28px;
}

.category-guide__steps li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.category-guide__steps b {
  color: var(--category-yellow);
  font-size: 0.72rem;
  font-weight: 950;
}

.category-guide__steps h3 {
  margin: 68px 0 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
}

.category-guide__steps p {
  color: #b7c5d4;
  font-size: 0.72rem;
  line-height: 1.5;
}

.category-evidence {
  background: #eef2f6;
}

.category-evidence__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-evidence__grid > * {
  min-height: 280px;
  padding: 32px;
  color: var(--category-copy);
  background: #fff;
  border: 1px solid var(--category-line);
  border-radius: 16px;
}

.category-evidence__grid > * > span {
  color: #a87600;
  font-size: 0.62rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-evidence__grid h2 {
  margin: 38px 0 16px;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.15;
}

.category-evidence__grid p,
.category-evidence__grid li {
  color: var(--category-muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

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

.category-evidence__grid li {
  position: relative;
  padding-left: 18px;
}

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

.category-evidence__grid a {
  color: #8d6500;
  border-bottom: 1px solid currentColor;
}

.category-order {
  position: relative;
  padding: 86px 0;
  overflow: hidden;
  color: var(--category-copy);
  background: var(--category-yellow);
}

.category-order::after {
  content: "XCMG";
  position: absolute;
  right: -0.03em;
  bottom: -0.28em;
  color: rgba(7, 27, 60, 0.055);
  font-size: clamp(10rem, 21vw, 24rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.category-order__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(52px, 8vw, 130px);
}

.category-order__layout > div > span {
  color: var(--category-copy);
}

.category-order__layout > div > span::before {
  background: var(--category-copy);
}

.category-order__content p {
  margin: 0 0 15px;
  color: #26384e;
  font-size: 0.84rem;
  line-height: 1.65;
}

.category-order__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 26px;
}

.category-order__links .category-button {
  color: #fff;
  background: var(--category-navy);
  box-shadow: none;
}

.category-order__links > a:not(.category-button) {
  color: var(--category-copy);
  border-bottom: 1px solid rgba(7, 27, 60, 0.5);
  font-size: 0.72rem;
  font-weight: 900;
}

.category-body .main-footer {
  color: #fff;
  background: linear-gradient(115deg, #03152d 0%, #062246 100%);
  border: 0;
}

.category-body .main-footer .logo,
.category-body .main-footer h3 {
  color: #fff;
}

.category-body .main-footer p,
.category-body .main-footer li,
.category-body .main-footer a:not(.logo) {
  color: #c0cedd !important;
}

@media (max-width: 1280px) {
  .category-body .nav-pill-wrapper {
    grid-template-columns: 1fr auto 1fr;
  }

  .category-body .desktop-nav .nav-links {
    gap: 15px;
  }

  .category-body .contact-pill {
    display: none;
  }

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

@media (max-width: 1180px) {
  .category-body .desktop-nav,
  .category-body .contact-pill,
  .category-body .header-whatsapp {
    display: none !important;
  }

  .category-body #menu-toggle {
    display: inline-flex !important;
  }

  .category-body .nav-pill-wrapper {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 66px;
  }

  .category-body .header-right {
    min-width: auto;
  }

  .category-hero__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
  }

  .category-hero h1 {
    font-size: clamp(3.2rem, 7vw, 5rem);
  }

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

  .category-guide__steps li:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .category-guide__steps li:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 820px) {
  .category-body .container {
    width: min(calc(100% - 34px), 1560px);
  }

  .category-body .nav-pill-wrapper {
    width: min(calc(100% - 34px), 1560px);
  }

  .category-hero {
    padding: 28px 0 56px;
  }

  .category-breadcrumbs {
    margin-bottom: 36px;
  }

  .category-hero__grid,
  .category-section-heading,
  .category-order__layout {
    grid-template-columns: 1fr;
  }

  .category-hero h1 {
    font-size: clamp(2.75rem, 10vw, 4.5rem);
  }

  .category-decision-card {
    min-height: 380px;
  }

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

  .category-section-heading {
    gap: 16px;
  }

  .category-section-heading > p {
    max-width: 620px;
  }

  .category-product-card {
    min-height: 500px;
  }

  .category-order__layout {
    gap: 36px;
  }
}

@media (max-width: 560px) {
  .category-body #main-header,
  .category-body #main-header.scrolled {
    padding: 8px 0;
  }

  .category-body .nav-pill-wrapper {
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 0 9px 0 15px;
    border-radius: 16px;
  }

  .category-body .logo {
    font-size: 1.3rem;
  }

  .category-body #menu-toggle {
    width: 42px;
    padding: 0;
  }

  .category-body #menu-toggle .text {
    display: none;
  }

  .category-body #cart-toggle {
    min-width: 50px;
    padding: 0 7px 0 10px;
  }

  .category-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .category-hero__copy > p {
    font-size: 0.88rem;
  }

  .category-hero__actions,
  .category-button {
    width: 100%;
  }

  .category-hero__facts {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-hero__facts li,
  .category-hero__facts li + li {
    grid-template-columns: 42px 1fr;
    align-items: center;
    padding: 0;
    border: 0;
  }

  .category-decision-card {
    min-height: 350px;
    padding: 28px 24px;
  }

  .category-subcategories,
  .category-models,
  .category-related,
  .category-evidence,
  .category-guide,
  .category-order {
    padding: 64px 0;
  }

  .category-product-grid,
  .category-subcategory-grid,
  .category-related__grid,
  .category-evidence__grid,
  .category-guide__steps {
    grid-template-columns: 1fr;
  }

  .category-guide__steps li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .category-guide__steps h3 {
    margin-top: 42px;
  }

  .category-product-card__image {
    height: 250px;
  }

  .category-order__links {
    align-items: stretch;
  }

  .category-order__links .category-button {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-button,
  .category-product-card,
  .category-product-card__image img,
  .category-subcategory-card,
  .category-related__grid > a {
    transition: none;
  }
}
