@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --bg: #edf2f7;
  --surface: #ffffff;
  --surface-2: #f7fafe;
  --surface-3: #eef4fb;
  --ink: #102131;
  --muted: #61788f;
  --line: #d2deea;
  --line-strong: #b8c9db;
  --brand: #0d4f93;
  --brand-2: #0f70c9;
  --ok: #067647;
  --warn: #b45d0a;
  --danger: #9c3030;
  --shadow: 0 16px 38px rgba(12, 35, 61, 0.09);
  --radius: 8px;
  --container: 1460px;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(13, 79, 147, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 79, 147, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: "IBM Plex Sans", "PT Root UI", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: #173b5d;
  text-decoration-color: rgba(13, 79, 147, 0.42);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-2);
}

h1,
h2,
h3,
h4,
.logo-primary {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.container {
  width: min(calc(100% - 40px), var(--container));
}

.section {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(24px, 2.2vw, 34px);
}

.section-head p,
.lead {
  color: var(--muted);
  max-width: 820px;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(12, 35, 61, 0.065);
  backdrop-filter: blur(10px);
}

.header-topline {
  background: #173a59;
  color: #eef4fb;
  border: 0;
  font-size: 12px;
}

.topline-right,
.topline-right a {
  color: #f7fafe;
}

.header-row {
  min-height: 82px;
  gap: 28px;
}

.logo-primary {
  color: #102131;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.logo-primary::after {
  background: var(--brand);
  width: 10px;
}

.logo-sub {
  color: #61788f;
  letter-spacing: 0.12em;
}

.header-search {
  max-width: 720px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(12, 35, 61, 0.045);
}

.header-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 112, 201, 0.14);
}

.header-search input {
  min-height: 48px;
  color: var(--ink);
}

.header-search button,
.hero-search button,
.search-form button,
.purchase-form button,
.btn-primary {
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.header-search button:hover,
.hero-search button:hover,
.search-form button:hover,
.purchase-form button:hover,
.btn-primary:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
  transform: none;
}

.header-contacts,
.cart-link {
  color: #173a59;
}

.main-nav {
  background: #fff;
  border-top: 1px solid #d7e3ef;
}

.nav-row a,
.catalog-link,
.catalog-trigger {
  color: #173a59;
  font-weight: 500;
}

.nav-row a:hover,
.catalog-link:hover,
.catalog-trigger:hover,
.catalog-trigger[aria-expanded="true"] {
  color: var(--brand-2);
  background: #eef6ff;
}

.catalog-mega,
.mobile-catalog-drawer {
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.mega-panel,
.mega-root-tab,
.mega-node,
.mega-sub-card {
  border-color: var(--line);
}

.mega-root-tab:hover,
.mega-root-tab.is-active,
.mega-node:hover,
.mega-node.is-active,
.mega-sub-card:hover {
  border-color: #c7d8e8;
  background: #f7fbff;
}

.hero,
.home-top-cats,
.home-top-carousel,
.home-top-benefits,
.home-category-card,
.catalog-control-hero,
.catalog-scenario-card,
.catalog-engineering-card,
.manufacturer-card,
.brand-hero,
.search-sidebar,
.product-section,
.rfq,
.static-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(12, 35, 61, 0.055);
}

.home-hero {
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--brand);
}

.home-hero::after {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 360px;
  height: 360px;
  border: 58px solid rgba(15, 112, 201, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-main h1 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.02;
}

.eyebrow,
.product-head-kicker {
  color: var(--brand-2);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-chips span,
.summary-tags span,
.chips a,
.chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: #1f557f;
}

.home-top-zone,
.catalog-scenario-section,
.catalog-engineering-section {
  background: transparent;
}

.home-top-grid,
.home-top-grid > * {
  min-width: 0;
  max-width: 100%;
}

.form-file-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: min(100%, 360px);
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--v2-line, #d2deea);
  border-radius: 8px;
  background: #fff;
}

.form-file-control input[type="file"] {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.form-file-button {
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #fff;
  background: var(--v2-accent, #0d4f93);
  font-weight: 700;
}

.form-file-name {
  min-width: 0;
  padding: 0 12px;
  overflow: hidden;
  color: var(--v2-muted, #61788f);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-top-carousel {
  overflow: hidden;
}

.home-carousel-track {
  width: 100%;
  max-width: 100%;
}

.home-top-cats,
.home-top-benefits,
.home-category-card {
  padding: 22px;
}

.home-top-cats a,
.home-category-card a,
.catalog-direction-links a {
  color: #173a59;
  font-weight: 600;
}

.home-top-cats a::before,
.home-category-card a::before {
  color: var(--brand);
  content: "→";
  margin-right: 8px;
}

.home-mini-card,
.product-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-mini-card:hover,
.product-card:hover {
  border-color: #b8c9db;
  box-shadow: 0 14px 30px rgba(12, 35, 61, 0.09);
  transform: translateY(-2px);
}

.product-card .img,
.home-mini-card .img,
.main-image {
  background: #f7fafe;
}

.product-card .img img,
.home-mini-card .img img,
.main-image img {
  filter: drop-shadow(0 14px 20px rgba(12, 35, 61, 0.13));
}

.smart-placeholder {
  background: #f7fafe;
  color: var(--ink);
}

.smart-placeholder--logo,
.smart-placeholder--neutral,
.smart-placeholder--technical,
.main-image .smart-placeholder {
  border-color: var(--line);
  background:
    linear-gradient(rgba(13, 79, 147, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 79, 147, 0.04) 1px, transparent 1px),
    #f7fafe;
  background-size: 20px 20px;
}

.smart-placeholder__visual {
  width: min(72%, 300px);
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(12, 35, 61, 0.13));
}

.smart-placeholder--card .smart-placeholder__visual {
  width: min(72%, 160px);
  max-height: 110px;
}

.smart-placeholder--mini .smart-placeholder__visual {
  width: min(68%, 92px);
  max-height: 66px;
}

.smart-placeholder__logo-fallback,
.smart-placeholder__sku {
  color: #173b5d;
  font-weight: 600;
}

.smart-placeholder__meta {
  color: #61788f;
}

.smart-placeholder__provenance {
  display: inline-flex;
  max-width: 90%;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid #d2deea;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #61788f;
  font-size: 10px;
  line-height: 1.2;
}

.product-head {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.product-head h1 {
  max-width: 1050px;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.08;
}

.product-head-meta {
  gap: 9px 22px;
  color: var(--muted);
}

.product-head-meta b,
.product-head-meta a {
  color: var(--ink);
}

.media-panel,
.summary-panel,
.purchase-panel {
  min-width: 0;
}

.media-panel,
.summary-intro,
.doc-box,
.delivery-box,
.purchase-box {
  border-color: var(--line);
  border-radius: 7px;
  background: #fff;
}

.summary-intro {
  border-left: 3px solid var(--brand);
}

.summary-intro p,
.delivery-box p,
.rich-text {
  color: #3f5870;
}

.product-keyfact {
  border-color: var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

.product-keyfact span,
.meta-label {
  color: #61788f;
}

.product-keyfact b,
.meta-value {
  color: var(--ink);
}

.purchase-box {
  top: 118px;
  border-top: 3px solid var(--brand);
  box-shadow: 0 14px 30px rgba(12, 35, 61, 0.09);
}

.purchase-price {
  color: var(--ink);
  letter-spacing: -0.04em;
}

.purchase-stock.in,
.badge-status.in,
.stock-tag.in {
  background: #e9f5ee;
  color: var(--ok);
}

.purchase-stock.out,
.badge-status.out,
.stock-tag.out {
  background: #fff3e5;
  color: var(--warn);
}

.price-tag {
  background: #eef6ff;
  color: #0d4f93;
}

.btn-ghost,
.btn-secondary {
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  color: #173a59;
  font-weight: 600;
}

.btn-ghost:hover,
.btn-secondary:hover {
  border-color: var(--brand);
  background: #eef6ff;
  color: var(--brand-2);
}

.product-tabs {
  top: 98px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 14px rgba(12, 35, 61, 0.06);
}

.product-tabs a {
  color: #36546f;
}

.product-tabs a:hover {
  color: var(--brand-2);
}

.specs-table tr:nth-child(even),
.search-results tr:nth-child(even) {
  background: #f7fafe;
}

.specs-table th,
.specs-table td,
.search-results th,
.search-results td {
  border-color: var(--line);
}

input,
select,
textarea {
  border-color: var(--line-strong);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 112, 201, 0.13);
  outline: 0;
}

.search-layout {
  align-items: start;
}

.search-sidebar {
  border-radius: 6px;
  box-shadow: none;
}

.filter-checkbox:hover,
.facet-section-title:hover {
  background: #eef6ff;
}

.pagination a,
.pagination span {
  border-color: var(--line);
  border-radius: 4px;
  background: #fff;
  color: #173a59;
}

.pagination .active,
.pagination a:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.manufacturer-logo-showcase,
.brand-hero-logo,
.logo-tile {
  border-color: var(--line);
  background: #fff;
}

.manufacturer-card:hover,
.logo-tile:hover {
  border-color: #b8c9db;
  box-shadow: 0 12px 26px rgba(12, 35, 61, 0.08);
}

.brand-hero {
  border-left: 4px solid var(--brand);
}

.catalog-control-hero,
.catalog-scenario-card--primary {
  border-left: 4px solid var(--brand);
}

.catalog-direction-card,
.child-card,
.blog-card {
  border-color: var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}

.breadcrumbs {
  color: #61788f;
  font-size: 13px;
}

.breadcrumbs a {
  color: #36546f;
}

.site-footer {
  background: #173a59;
  color: #d7e3ef;
}

.site-footer a {
  color: #f7fafe;
}

.cookie-notice {
  right: 20px;
  bottom: 20px;
  max-width: 520px;
  border: 1px solid #2f5f87;
  border-radius: 7px;
  background: #102131;
  color: #f7fafe;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.cookie-notice__button {
  border: 1px solid var(--brand);
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
}

@media (max-width: 980px) {
  body {
    background: var(--bg);
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-row {
    min-height: 68px;
  }

  .hero-main h1,
  .product-head h1 {
    font-size: clamp(29px, 8vw, 42px);
  }

  .product-tabs {
    top: 68px;
  }

  .purchase-box {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .section {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .header-topline {
    display: none;
  }

  .home-hero {
    border-left-width: 3px;
  }

  .smart-placeholder__provenance {
    font-size: 9px;
  }

  .cookie-notice {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }
}

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