:root {
  --orange: #ff8500;
  --orange-dark: #d96900;
  --ink: #18202a;
  --muted: #607080;
  --line: #dfe5eb;
  --soft: #f4f7f9;
  --white: #ffffff;
  --green: #1f7a62;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

[hidden] {
  display: none !important;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 2px solid #ecf0f3;
  box-shadow: 0 8px 24px rgba(24, 32, 42, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1280px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 410px;
  font-weight: 800;
}

.brand img {
  width: 180px;
  height: 78px;
  object-fit: contain;
  background: var(--orange);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.brand__text {
  display: grid;
  gap: 4px;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand__text strong {
  font-size: 22px;
  line-height: 1.15;
}

.brand__text small {
  color: #526273;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  background: #f7f9fb;
  color: #263442;
  font-size: 16px;
  font-weight: 700;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 12;
  display: none;
  min-width: 190px;
  padding: 10px;
  border-radius: 6px;
  background: #3b6171;
  box-shadow: 0 18px 35px rgba(24, 32, 42, 0.18);
}

.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: grid;
}

.nav-dropdown__menu a {
  min-height: 36px;
  padding: 0 4px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}

.nav-dropdown__menu a:hover {
  background: transparent;
  color: #ffb35c;
  box-shadow: none;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #d7e0e8;
  border-radius: 999px;
  background: var(--white);
}

.language-switch button {
  min-width: 44px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #526273;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.is-active {
  background: var(--orange);
  color: var(--white);
}

.nav a:hover {
  background: var(--white);
  color: var(--orange-dark);
  box-shadow: 0 1px 0 rgba(24, 32, 42, 0.08);
}

.text-link:hover {
  color: var(--orange-dark);
}

.quote-link,
.button,
.contact-form button,
.search-panel button,
.finder button,
.quote-cart button,
.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.quote-link {
  min-width: 136px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(255, 133, 0, 0.22);
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.search-panel {
  max-width: 760px;
  margin-top: 30px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  color: #344556;
  font-size: 14px;
  font-weight: 700;
}

.search-panel div {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 10px;
}

.search-strip {
  background: #f4f6f8;
  border-bottom: 1px solid var(--line);
}

.search-shell {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
}

.search-strip .search-panel {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.catalog-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 2px solid #2f4fb2;
  border-radius: 4px;
  background: var(--white);
  color: #2f4fb2;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-menu-button span,
.catalog-menu-button span::before,
.catalog-menu-button span::after {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.catalog-menu-button span {
  position: relative;
}

.catalog-menu-button span::before,
.catalog-menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.catalog-menu-button span::before {
  top: -8px;
}

.catalog-menu-button span::after {
  top: 8px;
}

.catalog-menu-button.is-open span {
  background: transparent;
}

.catalog-menu-button.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.catalog-menu-button.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.search-panel--wide div {
  grid-template-columns: 1fr 136px;
  gap: 14px;
}

.search-panel--wide input {
  min-height: 54px;
  border-color: #bfc9d4;
  font-size: 18px;
}

.search-panel--wide button {
  min-height: 54px;
  border-radius: 6px;
  font-size: 18px;
}

.detail-search-strip {
  background: #f1f3f5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-search-bar {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 56px;
  gap: 12px;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 12px 0;
}

.detail-search-bar__menu,
.detail-search-bar__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid #2f51b5;
  border-radius: 4px;
  background: #ffffff;
  color: #2f51b5;
  font-weight: 900;
  cursor: pointer;
}

.detail-search-bar__menu {
  gap: 8px;
  font-size: 16px;
}

.detail-search-bar__menu span {
  font-size: 22px;
  line-height: 1;
}

.detail-search-bar input {
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid #7b858f;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.detail-search-bar input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 0, 0.16);
}

.detail-search-bar__submit {
  border-color: #7b858f;
  color: var(--ink);
  font-size: 26px;
}

.catalog-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #b7c4d0;
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 55px rgba(24, 32, 42, 0.16);
}

.catalog-menu[hidden] {
  display: none;
}

.catalog-menu__column {
  min-height: 260px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.catalog-menu__column:last-child {
  border-right: 0;
}

.catalog-menu__column h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 20px;
}

.catalog-menu__column a {
  display: block;
  padding: 9px 0;
  color: #2f4fb2;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-menu__column a:hover {
  color: var(--orange-dark);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

input {
  min-height: 46px;
  padding: 0 14px;
}

select {
  min-height: 46px;
  padding: 0 38px 0 12px;
}

textarea {
  min-height: 126px;
  padding: 12px 14px;
  resize: vertical;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  min-width: 128px;
  padding: 0 22px;
}

.admin-page {
  min-height: 100vh;
  background: #f5f7fa;
}

.admin-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
}

.admin-login {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  align-items: center;
  gap: 48px;
}

.admin-login h1,
.admin-head h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.04;
  color: var(--ink);
}

.admin-login p,
.admin-head p {
  color: var(--muted);
  font-size: 20px;
}

.admin-card {
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.admin-login__form,
.admin-upload {
  display: grid;
  gap: 18px;
}

.admin-card label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}

.admin-card input,
.admin-card select,
.admin-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cbd7e5;
  border-radius: 6px;
  padding: 0 14px;
  font: inherit;
  background: #fff;
}

.admin-card input[type="file"] {
  padding: 12px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.admin-check input {
  width: 20px;
  min-height: 20px;
}

.admin-message,
.admin-progress {
  color: var(--green);
  font-weight: 800;
}

.admin-dashboard {
  display: grid;
  gap: 28px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-head__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

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

.admin-stat {
  background: #fff;
  border: 1px solid #dce4ec;
  border-left: 6px solid var(--orange);
  border-radius: 8px;
  padding: 22px;
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.admin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 36px;
  color: var(--green);
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(480px, 1.1fr);
  gap: 24px;
}

.admin-card__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.admin-card h2 {
  margin: 0;
  font-size: 30px;
  color: var(--ink);
}

.admin-muted {
  color: var(--muted);
  line-height: 1.8;
}

.admin-inquiries {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding-right: 6px;
}

.admin-inquiry {
  border: 1px solid #dce4ec;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.admin-inquiry div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.admin-inquiry p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-inquiry small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-weight: 800;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #dce4ec;
  padding: 14px;
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  background: #f2f5f8;
}

@media (max-width: 900px) {
  .admin-login,
  .admin-grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.button--primary {
  background: var(--orange);
  color: var(--white);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.button-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.button--ghost {
  background: var(--ink);
}

.banner-carousel {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  margin: 26px auto 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
  box-shadow: 0 18px 45px rgba(24, 32, 42, 0.12);
}

.banner-track {
  position: relative;
  min-height: 430px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  min-height: 430px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.banner-slide--split {
  background:
    linear-gradient(90deg, rgba(24, 32, 42, 0.98) 0%, rgba(24, 32, 42, 0.92) 44%, rgba(25, 45, 55, 0.88) 100%),
    linear-gradient(135deg, #18202a 0%, #20313a 58%, #bd7800 100%);
}

.banner-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.banner-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-photo-panel {
  position: absolute;
  right: 44px;
  top: 48px;
  bottom: 48px;
  z-index: 1;
  width: min(48%, 620px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.22);
}

.banner-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 32, 42, 0.24), rgba(24, 32, 42, 0.02));
  pointer-events: none;
}

.banner-photo-panel picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 32, 42, 0.92) 0%, rgba(24, 32, 42, 0.74) 42%, rgba(24, 32, 42, 0.12) 100%);
}

.banner-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 58px 64px;
  color: var(--white);
}

.banner-copy .eyebrow {
  color: #ffc176;
}

.banner-copy h1,
.banner-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(36px, 4.6vw, 58px);
}

.banner-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.banner-arrow--prev {
  left: 18px;
}

.banner-arrow--next {
  right: 18px;
}

.banner-dots {
  position: absolute;
  left: 64px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.banner-dots button {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.banner-dots button.is-active {
  background: var(--orange);
}

.section,
.solutions,
.service-band,
.contact-section,
.page-hero,
.detail-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 0;
}

.page-hero {
  padding-bottom: 8px;
}

.page-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.manufacturer-search {
  display: grid;
  gap: 10px;
  max-width: 980px;
  margin-top: 24px;
}

.manufacturer-search label {
  color: #344556;
  font-weight: 800;
}

.manufacturer-search div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
}

.manufacturer-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  outline: none;
}

.manufacturer-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 140, 0, 0.14);
}

.manufacturer-search button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.manufacturer-search button:hover {
  background: var(--green);
}

.section__heading {
  margin-bottom: 26px;
}

.section-note {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.section__heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: var(--green);
  font-weight: 700;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.category-grid a {
  display: flex;
  min-height: 106px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.category-grid a:nth-child(4n) {
  border-right: 0;
}

.category-grid a:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.category-grid span {
  color: var(--orange-dark);
  font-size: 13px;
}

.category-grid strong {
  line-height: 1.35;
}

.category-grid small {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
}

.category-grid a:hover {
  background: #fff7ef;
}

.solutions,
.brand-strip-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 78px;
}

.solution-layout,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-layout article {
  min-height: 210px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.solution-layout article:nth-child(2) {
  background: var(--green);
}

.solution-layout article:nth-child(3) {
  background: var(--orange-dark);
}

.solution-layout p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand-marquee::before,
.brand-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 88px;
  pointer-events: none;
}

.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 30px 22px;
  animation: brand-marquee 26s linear infinite;
}

.brand-marquee:hover .brand-marquee__track {
  animation-play-state: paused;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--ink);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(24, 32, 42, 0.05);
}

.brand-logo-card__img {
  display: block;
  max-width: 78%;
  max-height: 54px;
  object-fit: contain;
}

.brand-logo-card:hover {
  border-color: #ffc176;
  background: #fff7ef;
}

.brand-logo-card--te {
  background: #f28c00;
  color: #fff;
}

.brand-logo-card--molex {
  color: #df123a;
  font-size: 34px;
}

.brand-logo-card--phoenix {
  color: #1a1d22;
  font-size: 20px;
}

.brand-logo-card--lapp {
  color: #103b79;
}

.brand-logo-card--3m {
  color: #e31b23;
  font-size: 40px;
}

.brand-logo-card--amphenol {
  color: #194f90;
  font-size: 28px;
}

.brand-logo-card--belden {
  color: #111827;
}

.brand-logo-card--binder {
  color: #0073bc;
  font-size: 34px;
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

.finder {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.finder__bar {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 0.9fr 0.85fr;
  gap: 14px;
}

.finder label {
  display: grid;
  gap: 7px;
  color: #344556;
  font-size: 14px;
  font-weight: 700;
}

.finder__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.finder__summary button,
.quote-cart button,
.product-card__actions button {
  min-height: 38px;
  padding: 0 14px;
  background: var(--ink);
  font-size: 14px;
}

.catalog-section {
  padding-top: 42px;
}

.category-board {
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow-anchor: none;
}

.category-board__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-board__trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.category-board__trail button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.category-board__trail button:hover {
  color: var(--orange-dark);
}

.category-board__grid button {
  min-height: 88px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: #fbfcfd;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.category-board__grid[data-level="1"] button {
  min-height: 104px;
  border-left-color: var(--orange);
  background: linear-gradient(180deg, #fffaf4 0%, #ffffff 100%);
}

.category-board__grid[data-level="2"] button {
  border-left-color: var(--green);
  background: #f7fbfa;
}

.category-board__grid[data-level="3"] button {
  border-left-color: #2d5fb8;
  background: #f7f9fe;
}

.category-board__grid[data-level="4"] button {
  border-left-color: #6b7280;
  background: #fbfcfd;
}

.category-board__grid button:hover {
  background: #fff7ef;
  border-color: #ffc176;
}

.category-board__grid strong,
.category-board__grid span {
  display: block;
}

.category-board__grid strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.category-board__grid small {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(242, 140, 0, 0.12);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.category-board__grid[data-level="2"] small {
  background: rgba(0, 119, 92, 0.12);
  color: var(--green);
}

.category-board__grid[data-level="3"] small {
  background: rgba(45, 95, 184, 0.12);
  color: #2d5fb8;
}

.category-board__grid[data-level="4"] small {
  background: rgba(100, 116, 139, 0.14);
  color: #475569;
}

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

.category-board__empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed #bdc8d3;
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  scrollbar-color: #9aa8b5 #e8eef3;
  scrollbar-width: thin;
}

.filter-sidebar::-webkit-scrollbar {
  width: 8px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: #e8eef3;
  border-radius: 999px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: #9aa8b5;
  border-radius: 999px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
  background: #728293;
}

.filter-sidebar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.filter-sidebar__head strong {
  font-size: 20px;
}

.filter-sidebar__head span {
  color: var(--muted);
  font-size: 14px;
}

.filter-sidebar label {
  display: grid;
  gap: 7px;
  color: #344556;
  font-size: 14px;
  font-weight: 700;
}

.filter-sidebar button {
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}

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

.catalog-results__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

.catalog-results__head h2 {
  font-size: 30px;
}

.catalog-results__head span {
  color: var(--muted);
}

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

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.catalog-pager button {
  min-width: 42px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.catalog-pager button:hover:not(:disabled),
.catalog-pager button.is-active {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

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

.catalog-pager span,
.catalog-pager strong {
  color: var(--muted);
  font-size: 14px;
}

.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 72px;
}

.manufacturer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 8px 16px;
  min-height: 142px;
  align-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--white);
}

.manufacturer-card:hover {
  background: #fff7ef;
  border-color: #ffc176;
}

.manufacturer-card strong {
  grid-column: 1;
  font-size: 22px;
  line-height: 1.2;
}

.manufacturer-card__count {
  grid-column: 1;
  color: var(--green);
  font-weight: 800;
}

.manufacturer-card__logo {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.manufacturer-card__logo__img {
  display: block;
  max-width: 78px;
  max-height: 38px;
  object-fit: contain;
}

.manufacturer-card__logo__fallback {
  color: var(--orange-dark);
  font-size: 22px;
  font-weight: 900;
}

.manufacturer-card small {
  grid-column: 1;
  color: var(--muted);
  font-size: 14px;
}

.brand-hero {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 42px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px var(--line);
}

.brand-mark__img {
  display: block;
  max-width: 78%;
  max-height: 82px;
  object-fit: contain;
}

.brand-mark__fallback {
  color: var(--orange-dark);
  font-size: 42px;
  font-weight: 800;
}

.brand-hero h1 {
  margin-bottom: 12px;
}

.brand-hero p:last-child {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.brand-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 76px;
}

.brand-filter {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.brand-filter h2 {
  font-size: 24px;
}

.brand-filter div,
.brand-filter a,
.brand-filter strong {
  display: block;
}

.brand-filter strong {
  margin-bottom: 10px;
}

.brand-filter a {
  padding: 8px 0;
  color: #2f4fb2;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.owned-brand-hero {
  width: min(1180px, calc(100% - 40px));
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #131a24 0%, #17241f 58%, #6b3a00 100%);
  color: var(--white);
  box-shadow: 0 24px 54px rgba(17, 24, 39, 0.16);
}

.owned-brand-hero h1 {
  margin-bottom: 16px;
  color: var(--white);
}

.owned-brand-hero p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.owned-brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.owned-brand-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.owned-brand-hero__logo img {
  display: block;
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
}

.owned-brand-products {
  padding-top: 68px;
}

.owned-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.owned-brand-grid a {
  min-height: 190px;
  padding: 28px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.owned-brand-grid a:first-child {
  border-left: 4px solid var(--orange);
}

.owned-brand-grid a:hover {
  background: #fff8ef;
}

.owned-brand-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--orange-dark);
  font-weight: 900;
}

.owned-brand-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.owned-brand-grid p {
  margin: 0;
  color: var(--muted);
}

.owned-brand-feature {
  width: min(1180px, calc(100% - 40px));
  margin: 54px auto 84px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.owned-brand-feature p {
  color: var(--muted);
}

.owned-brand-feature dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.owned-brand-feature dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.owned-brand-feature dt {
  color: var(--ink);
  font-weight: 900;
}

.owned-brand-feature dd {
  margin: 0;
  color: var(--muted);
}

.brand-result-note {
  margin: -4px 0 16px;
  color: var(--muted);
}

.product-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-grid.is-rotating .product-card {
  animation: product-card-fade 2000ms ease both;
}

@keyframes product-card-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f6f8fa, #e7edf2);
  color: var(--orange-dark);
  font-size: 30px;
  font-weight: 800;
}

.product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 6px;
  background: #f6f8fa;
  border: 1px solid var(--line);
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.product-card__image:has(img[src$=".svg"]) img {
  padding: 0;
  mix-blend-mode: normal;
}

.product-card h3,
.product-title {
  min-height: 2.8em;
  line-height: 1.4;
  word-break: break-word;
}

.product-title {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.product-title__brand {
  color: var(--green);
  font-size: 18px;
  font-weight: 800;
}

.product-title__model {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.product-card p {
  min-height: 4.6em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.55;
}

.product-card__meta b {
  max-width: 62%;
  overflow-wrap: anywhere;
  text-align: right;
}

.detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  background: #f6f8fa;
}

.detail-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  display: block;
}

.product-card p {
  margin-bottom: 14px;
  color: var(--muted);
}

.product-card__meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  color: #344556;
  font-size: 14px;
}

.product-card__meta span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.product-card__meta b {
  color: var(--green);
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.detail-page {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 14px 0 30px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 700;
}

.detail-hero,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: 28px;
  align-items: start;
}

.detail-hero {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  aspect-ratio: 4 / 3;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8fa;
}

.detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.detail-breadcrumb {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

.detail-breadcrumb a {
  color: #667386;
}

.detail-breadcrumb span {
  color: #667386;
}

.detail-summary h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  letter-spacing: 0;
}

.detail-summary {
  position: relative;
}

.detail-summary:has(.detail-brand-logo) {
  padding-right: 184px;
}

.detail-brand-logo {
  position: absolute;
  top: 6px;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(24, 32, 42, 0.05);
}

.detail-brand-logo:hover {
  border-color: #ffc176;
  background: #fff7ef;
}

.detail-brand-logo__img {
  display: block;
  max-width: 128px;
  max-height: 42px;
  object-fit: contain;
}

.detail-description,
.detail-summary > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.detail-actions button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
}

.inquiry-modal {
  width: min(620px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(15, 24, 34, 0.28);
}

.inquiry-modal::backdrop {
  background: rgba(20, 32, 46, 0.48);
}

.inquiry-modal__panel {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.inquiry-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.inquiry-modal__head h2 {
  margin: 0;
}

.inquiry-modal__close {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
}

.inquiry-modal__product {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-left: 5px solid var(--orange);
  border-radius: 6px;
  background: #fff8ee;
}

.inquiry-modal__product span {
  color: var(--muted);
}

.inquiry-modal label {
  display: grid;
  gap: 8px;
  color: #344556;
  font-weight: 800;
}

.inquiry-modal input,
.inquiry-modal textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
}

.inquiry-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.inquiry-modal__actions button {
  background: var(--soft);
  color: var(--ink);
}

.floating-cart {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 40px rgba(15, 24, 34, 0.22);
  font-weight: 900;
}

.floating-cart span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
}

.cart-modal {
  width: min(780px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(15, 24, 34, 0.28);
}

.cart-modal::backdrop {
  background: rgba(20, 32, 46, 0.48);
}

.cart-modal__panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.cart-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-modal__head h2 {
  margin: 0;
}

.cart-modal__close {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 26px;
}

.cart-empty {
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-list {
  display: grid;
  gap: 10px;
  max-height: 430px;
  overflow: auto;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.cart-item img {
  width: 72px;
  height: 58px;
  padding: 4px;
  border-radius: 6px;
  background: #f6f8fa;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-item strong,
.cart-item span,
.cart-item small {
  display: block;
}

.cart-item strong {
  color: var(--ink);
}

.cart-item span,
.cart-item small {
  color: var(--muted);
  font-size: 13px;
}

.cart-item button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
}

.cart-qty {
  display: inline-grid;
  grid-template-columns: 34px 58px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: var(--white);
}

.cart-qty button {
  min-height: 34px;
  padding: 0;
  border-radius: 0;
  background: var(--soft);
}

.cart-qty input {
  width: 58px;
  height: 34px;
  border: 0;
  border-left: 1px solid #cfd8e3;
  border-right: 1px solid #cfd8e3;
  text-align: center;
  font: inherit;
  font-weight: 800;
}

.cart-form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.cart-form-summary {
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fff8ee;
}

.cart-form-summary strong {
  display: block;
  margin-bottom: 10px;
}

.cart-form-summary ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: #344556;
  font-size: 14px;
}

.cart-inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cart-inquiry-form label {
  display: grid;
  gap: 7px;
  color: #344556;
  font-weight: 800;
}

.cart-inquiry-form input,
.cart-inquiry-form textarea {
  width: 100%;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
}

.cart-inquiry-form__wide {
  grid-column: 1 / -1;
}

.cart-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.cart-modal__actions button {
  background: var(--soft);
  color: var(--ink);
}

.cart-modal__actions .is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.detail-section {
  padding: 0 0 10px;
}

.detail-section__head {
  margin: 10px 0 8px;
}

.detail-section__head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
}

.spec-table tbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.spec-table th,
.spec-table td {
  box-sizing: border-box;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.35;
}

.spec-table th {
  width: auto;
  background: #f2f5f8;
  color: #344556;
  font-weight: 900;
}

.spec-table tr {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-width: 0;
}

.spec-table__full {
  grid-column: 1 / -1;
  grid-template-columns: 150px minmax(0, 1fr);
}

.spec-table__full th {
  width: auto;
}

.spec-table td {
  overflow-wrap: anywhere;
}

.spec-table a {
  color: var(--green);
  font-weight: 700;
}

.related-products {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.related-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.related-products__head h2 {
  margin: 0;
  font-size: 24px;
}

.related-products__viewport {
  overflow: hidden;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.related-products__track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: relatedProductsMarquee 28s linear infinite;
}

.related-products__viewport:hover .related-products__track {
  animation-play-state: paused;
}

.related-product-card {
  display: grid;
  grid-template-rows: 116px auto auto auto;
  width: 210px;
  min-height: 210px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 7px;
  background: #fbfcfd;
  color: var(--ink);
}

.related-product-card:hover {
  border-color: #ffc176;
  background: #fff8ef;
}

.related-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 6px;
  background: #f6f8fa;
}

.related-product-card__image img {
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.related-product-card strong {
  color: var(--green);
  font-size: 14px;
}

.related-product-card b {
  overflow-wrap: anywhere;
  font-size: 18px;
}

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

@keyframes relatedProductsMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.product-card__actions button:last-child,
.quote-cart__actions button:last-child {
  background: var(--orange);
}

.quote-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fffaf4;
}

.quote-cart strong,
.quote-cart span {
  display: block;
}

.quote-cart span {
  color: var(--muted);
  font-size: 14px;
}

.quote-cart__actions {
  display: flex;
  gap: 10px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed #bdc8d3;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.spec-list {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px minmax(0, 1fr);
  gap: 0;
  margin: 0 0 8px;
  font-size: 13px;
}

.spec-list dt {
  padding: 4px 0;
  color: var(--muted);
}

.spec-list dd {
  padding: 4px 0;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.spec-list--detail {
  max-width: 820px;
}

.spec-list--detail dt,
.spec-list--detail dd {
  border-bottom: 0;
}

.service-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
  margin-top: 76px;
  padding: 42px;
  border-radius: 8px;
  background: var(--soft);
}

.service-band ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  color: #344556;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  padding-bottom: 72px;
}

.contact-section__copy p:last-child {
  max-width: 430px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #344556;
  font-size: 14px;
  font-weight: 700;
}

.contact-form button {
  width: 150px;
  margin-top: 4px;
}

.footer {
  margin-top: 72px;
  background: #f2f4f6;
  color: #526273;
}

.footer__inner {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.6fr;
  gap: 70px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 52px;
}

.footer__column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer__column h2 {
  margin-bottom: 12px;
  color: #5f6770;
  font-size: 26px;
}

.footer__column a {
  color: #526273;
  font-size: 18px;
}

.footer__column a:hover {
  color: var(--orange-dark);
}

.footer__contact p {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  color: #526273;
  font-size: 18px;
}

.footer__contact p > span:first-child {
  color: #667481;
  font-size: 24px;
  line-height: 1.1;
}

.footer__strong {
  color: #000 !important;
  font-weight: 800;
}

.footer__qr {
  display: block;
  width: 136px;
  height: 136px;
  margin-left: 48px;
  padding: 6px;
  border: 1px solid #dce4ec;
  background: #fff;
  object-fit: contain;
}

.footer__contact > strong {
  margin-left: 48px;
  color: #5f6770;
  font-size: 18px;
}

.footer__beian {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 100%;
  margin-top: 12px;
  color: #526273;
  font-size: 16px !important;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 980px) {
  .topbar__inner {
    flex-wrap: wrap;
    width: min(100% - 32px, 1180px);
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 150px;
    height: 64px;
  }

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

  .brand__text small {
    font-size: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 6px;
  }

  .nav a {
    min-height: 40px;
    padding: 0 14px;
  }

  .service-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .banner-photo-panel {
    right: 22px;
    top: 138px;
    bottom: 24px;
    width: min(54%, 440px);
    opacity: 0.72;
  }

  .banner-copy {
    padding: 48px 54px 64px;
  }

  .category-grid,
  .category-board__grid,
  .manufacturer-grid,
  .finder__bar,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .brand-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }

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

  .detail-page {
    width: min(100% - 36px, 1180px);
  }

  .detail-hero,
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .detail-media {
    min-height: 360px;
  }

  .detail-summary h1 {
    font-size: clamp(36px, 8vw, 56px);
  }

  .detail-description {
    font-size: 20px;
  }

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

  .owned-brand-hero,
  .owned-brand-feature {
    grid-template-columns: 1fr;
  }

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

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

  .solution-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar__inner,
  .search-strip .search-panel,
  .banner-carousel,
  .section,
  .solutions,
  .owned-brand-hero,
  .owned-brand-feature,
  .brand-strip-section,
  .service-band,
  .contact-section,
  .page-hero,
  .detail-page {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 116px;
    height: 50px;
  }

  .brand__text {
    display: none;
  }

  .quote-link {
    min-width: 96px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
  }

  .nav {
    font-size: 14px;
  }

  .nav a {
    min-height: 38px;
    padding: 0 12px;
  }

  .search-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(100% - 28px, 1180px);
  }

  .detail-search-bar {
    grid-template-columns: 112px minmax(0, 1fr) 48px;
    width: min(100% - 28px, 1180px);
    gap: 8px;
  }

  .owned-brand-hero {
    margin-top: 26px;
    padding: 26px;
  }

  .owned-brand-hero__logo {
    min-height: 180px;
    padding: 18px;
  }

  .owned-brand-grid {
    grid-template-columns: 1fr;
  }

  .owned-brand-grid a {
    min-height: 150px;
    border-left: 4px solid var(--orange);
    border-top: 1px solid var(--line);
  }

  .owned-brand-feature {
    padding: 24px;
  }

  .owned-brand-feature dl div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-search-bar__menu {
    font-size: 15px;
  }

  .detail-search-bar input {
    min-width: 0;
    padding: 0 12px;
    font-size: 15px;
  }

  .catalog-menu {
    grid-template-columns: 1fr;
    max-height: 72vh;
    overflow: auto;
  }

  .catalog-menu__column {
    min-height: 0;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-menu__column:last-child {
    border-bottom: 0;
  }

  .search-panel div,
  .category-grid,
  .category-board__grid,
  .manufacturer-grid,
  .finder__bar,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .category-board {
    padding: 18px;
  }

  .manufacturer-search div {
    grid-template-columns: 1fr;
  }

  .manufacturer-card {
    grid-template-columns: minmax(0, 1fr) 82px;
  }

  .manufacturer-card__logo {
    width: 82px;
    height: 50px;
  }

  .catalog-results__head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .brand-hero {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .brand-mark {
    width: 120px;
  }

  .brand-filter {
    position: static;
  }

  .brand-results .product-grid {
    grid-template-columns: 1fr;
  }

  .search-panel--wide div {
    gap: 10px;
  }

  .quote-cart,
  .detail-hero,
  .detail-layout {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .detail-page {
    padding-top: 26px;
  }

  .detail-hero {
    padding-bottom: 38px;
  }

  .detail-media {
    min-height: 280px;
    padding: 18px;
  }

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

  .detail-summary h1 {
    font-size: 34px;
  }

  .detail-summary:has(.detail-brand-logo) {
    padding-right: 0;
  }

  .detail-brand-logo {
    position: static;
    width: 150px;
    height: 58px;
    margin: 0 0 12px;
  }

  .detail-description {
    font-size: 17px;
  }

  .spec-list {
    grid-template-columns: 110px 1fr;
    font-size: 15px;
  }

  .detail-section__head h2 {
    font-size: 36px;
  }

  .spec-table {
    font-size: 16px;
  }

  .spec-table th,
  .spec-table td {
    padding: 16px 14px;
  }

  .spec-table th {
    width: 118px;
  }

  .related-products {
    padding: 14px;
  }

  .related-products__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-product-card {
    width: 178px;
    grid-template-rows: 92px auto auto auto;
  }

  .floating-cart {
    right: 14px;
    bottom: 14px;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .cart-item img {
    width: 58px;
    height: 50px;
  }

  .cart-item button {
    grid-column: 1 / -1;
  }

  .cart-qty {
    grid-column: 1 / -1;
    width: max-content;
  }

  .cart-form-layout,
  .cart-inquiry-form {
    grid-template-columns: 1fr;
  }

  .cart-modal__actions {
    flex-direction: column;
  }

  .quote-cart {
    flex-direction: column;
  }

  .banner-carousel {
    margin-top: 16px;
    border-radius: 0;
  }

  .banner-slide,
  .banner-track {
    min-height: 390px;
  }

  .banner-slide::after {
    background: linear-gradient(90deg, rgba(24, 32, 42, 0.92) 0%, rgba(24, 32, 42, 0.78) 100%);
  }

  .banner-copy {
    padding: 32px 20px 64px;
  }

  .banner-photo-panel {
    right: 16px;
    top: auto;
    bottom: 18px;
    width: calc(100% - 32px);
    height: 170px;
    opacity: 0.28;
  }

  .banner-copy h1,
  .banner-copy h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .banner-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .banner-arrow {
    display: none;
  }

  .banner-dots {
    left: 22px;
    bottom: 24px;
  }

  .brand-marquee::before,
  .brand-marquee::after {
    width: 32px;
  }

  .brand-marquee__track {
    gap: 12px;
    padding: 20px 14px;
  }

  .brand-logo-card {
    width: 150px;
    height: 74px;
    font-size: 24px;
  }

  h1 {
    font-size: 36px;
  }

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

  .product-card__image {
    height: 160px;
  }

  .section__heading--row {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-band {
    padding: 28px 22px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    width: min(100% - 28px, 1180px);
  }

  .footer__qr,
  .footer__contact > strong {
    margin-left: 0;
  }

  .footer__beian {
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .product-grid.is-rotating .product-card,
  .related-products__track,
  .brand-marquee__track {
    animation: none !important;
  }
}
