:root {
  --ink: #0c1b2a;
  --muted: #5c6976;
  --line: #dfe5ea;
  --soft: #f4f7f9;
  --blue: #0868d7;
  --blue-dark: #064b9a;
  --cyan: #27b6e8;
  --green: #0a8f62;
  --white: #fff;
  --shadow: 0 18px 50px rgba(8, 28, 48, .09);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.topbar {
  background: #071522;
  color: #b7c5d2;
  font-size: 12px;
}
.topbar .container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar span { display: flex; gap: 8px; align-items: center; }
.dot { width: 6px; height: 6px; background: #45d9a6; border-radius: 50%; box-shadow: 0 0 0 4px rgba(69,217,166,.12); }
.header {
  height: 76px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}
.header .container { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 20px; letter-spacing: -.03em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, #0d79ea, #26b6e7);
  display: grid; place-items: center; color: #fff;
}
.logo small { display: block; color: #71808d; font-size: 9px; letter-spacing: .17em; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 650; }
.nav a:hover, .nav a.active { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); background: #fff;
  border-radius: 9px; display: grid; place-items: center; cursor: pointer; position: relative;
}
.cart-count {
  position: absolute; right: -5px; top: -6px; min-width: 18px; height: 18px;
  padding: 0 5px; display: grid; place-items: center; border-radius: 10px;
  color: #fff; background: var(--blue); font-size: 10px; font-weight: 800;
}
.header-centered {
  height: 104px;
  background:
    radial-gradient(circle at 48% 0, rgba(255,255,255,.82), transparent 42%),
    linear-gradient(90deg, #d7ecff 0%, #eef8ff 28%, #eaf7ff 72%, #d7ecff 100%);
  border-bottom: 1px solid rgba(15,75,130,.12);
  box-shadow: 0 10px 30px rgba(7, 21, 34, .055);
  backdrop-filter: blur(16px);
}
.header-centered .header-shell {
  height: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 154px;
  align-items: center;
  gap: 18px;
  position: relative;
}
.header-centered .header-menu {
  justify-self: start;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(15,75,130,.72);
  color: #0f4b82;
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 24px rgba(15,75,130,.08);
}
.header-brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(460px, 56vw);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}
.header-brand img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(13,37,58,.12));
}
.header-brand-english {
  width: min(560px, 60vw);
  min-height: 74px;
  gap: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.header-brand-mark {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  color: #0f4b82;
  background: rgba(255,255,255,.62);
  border: 2px solid #0f83d8;
  box-shadow: 0 10px 22px rgba(15,75,130,.10);
}
.header-brand-mark::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(15,75,130,.16);
  border-radius: 8px;
}
.header-brand-mark::after {
  display: none;
}
.header-brand-mark b {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.04em;
}
.header-brand-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
  text-align: left;
}
.header-brand-copy strong {
  color: #071522;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.header-brand-copy small {
  color: #0f4b82;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-cart {
  justify-self: end;
  min-width: 132px;
  min-height: 46px;
  border-radius: 999px;
  padding: 8px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, #0f4b82, #1595d3);
  box-shadow: 0 12px 28px rgba(15,75,130,.18);
}
.header-cart span { font-size: 13px; font-weight: 900; line-height: 1; letter-spacing: .08em; }
.header-cart small { font-size: 9px; opacity: .86; margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }
.header-cart .cart-count {
  right: -6px;
  top: -7px;
  background: #071522;
}
.header-centered .nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: auto;
  width: min(290px, calc(100vw - 28px));
  margin-left: 0;
  padding: 12px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
  z-index: 40;
}
.header-centered .nav.open { display: flex; }
.header-centered .nav a {
  width: 100%;
  padding: 13px 14px;
  border-radius: 9px;
}
.header-centered .nav a:hover,
.header-centered .nav a.active {
  color: var(--blue);
  background: #f1f7ff;
}
.header-centered .nav .cart-count {
  position: static;
  display: inline-grid;
  margin-left: 7px;
  vertical-align: middle;
}
.btn {
  border: 0; border-radius: 9px; min-height: 46px; padding: 0 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--blue); color: #fff; font-weight: 750; cursor: pointer;
  transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--blue-dark); }
.btn.outline { background: transparent; color: var(--ink); border: 1px solid #b8c3cc; }
.btn.light { background: #fff; color: var(--ink); }
.hero {
  min-height: 630px;
  background: #071827 url("assets/automation-hero.png") center/cover no-repeat;
  color: #fff; position: relative; display: grid; align-items: center;
}
.hero-background-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index:1;
  background: linear-gradient(90deg, rgba(4,17,30,.98) 0%, rgba(4,17,30,.87) 34%, rgba(4,17,30,.18) 70%, rgba(4,17,30,.06));
}
.hero-content { position: relative; z-index:2; max-width: 640px; padding: 88px 0; }
.hero .eyebrow { color: #63c9ff; }
.hero h1 { font-size: clamp(46px, 5.2vw, 76px); line-height: .99; margin: 18px 0 23px; letter-spacing: -.055em; }
.hero p { color: #cad6df; max-width: 585px; font-size: 18px; line-height: 1.65; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-strip {
  background: #fff; border-bottom: 1px solid var(--line);
}
.trust-grid { min-height: 96px; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 13px; padding: 20px 25px; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-icon { color: var(--blue); width: 24px; }
.trust-item b { display: block; font-size: 13px; }
.trust-item small { color: var(--muted); font-size: 11px; }
.section { padding: 90px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.05; margin: 10px 0 0; }
.section-head p { color: var(--muted); max-width: 480px; line-height: 1.6; margin: 0; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-card {
  min-height: 122px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px;
  transition: .2s; cursor: pointer;
}
.brand-card:hover { border-color: #86b9ed; box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-name { font-size: 21px; font-weight: 850; letter-spacing: -.04em; }
.brand-card small { color: var(--muted); font-size: 11px; }
.about-grid { display:grid; grid-template-columns:.95fr 1.05fr; gap:80px; align-items:center; }
.about-visual {
  min-height:480px; border-radius:18px; position:relative; overflow:hidden;
  background:
    linear-gradient(90deg,rgba(4,17,30,.32),rgba(4,17,30,.02) 45%),
    url("assets/abb-industrial-robot.png") center/cover no-repeat;
  box-shadow:var(--shadow);
}
.about-visual-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; opacity:1; }
.about-visual::before { z-index:1; }
.about-visual > *:not(.about-visual-image) { z-index:2; }
.about-seal {
  position:absolute; left:24px; bottom:24px; width:150px; height:150px;
  border-radius:50%; display:grid; place-content:center; text-align:center;
  background:linear-gradient(135deg,#0f4b82,#1595d3); color:#fff; font-size:38px; font-weight:850;
  box-shadow:0 18px 45px rgba(0,65,140,.35);
  border:1px solid rgba(255,255,255,.28);
}
.about-seal small { display:block; font-size:8px; line-height:1.5; letter-spacing:.13em; margin-top:4px; }
.about-copy h2 { font-size:clamp(34px,4vw,49px); line-height:1.07; letter-spacing:-.045em; margin:12px 0 24px; }
.about-copy p { color:var(--muted); line-height:1.75; font-size:14px; }
.about-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:15px; margin:28px 0; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.about-stats b { display:block; color:var(--ink); font-size:24px; margin-bottom:3px; }
.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.service-grid article { background:#fff; border:1px solid var(--line); border-radius:14px; padding:32px; transition:.2s; }
.service-grid article:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:#a7c9ec; }
.service-grid article > span { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:50%; background:#e9f3ff; color:var(--blue); font-size:11px; font-weight:850; }
.service-grid h3 { font-size:19px; margin:24px 0 12px; }
.service-grid p { color:var(--muted); line-height:1.7; font-size:13px; margin:0; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: .2s; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-visual {
  height: 210px; background: linear-gradient(145deg, #f8fafc, #e8eef3);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.product-visual::after { content:""; width: 150px; height: 150px; border-radius: 50%; position:absolute; background: rgba(8,104,215,.07); }
.device {
  width: 104px; height: 145px; position: relative; z-index: 1; border-radius: 5px;
  background: linear-gradient(90deg, #d7dde1 0 13%, #f9fafb 13% 83%, #bdc5ca 83%);
  box-shadow: 9px 14px 22px rgba(22,40,55,.2); border: 1px solid #aeb8bf;
}
.device::before { content: ""; position: absolute; top: 18px; left: 22px; right: 26px; height: 34px; border-radius: 2px; background: #1c2932; box-shadow: 0 50px 0 -7px #67747c; }
.device::after { content: ""; position:absolute; width: 6px; height:6px; border-radius:50%; background:#2bd37f; top:26px; right:14px; box-shadow: 0 13px 0 #1b9df0; }
.product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; border-radius: 5px; background: #fff; padding: 6px 8px; font-size: 9px; font-weight: 800; color: var(--blue); box-shadow: 0 4px 15px rgba(0,0,0,.08); }
.product-watermark {
  position:absolute; z-index:3; left:50%; top:50%; transform:translate(-50%,-50%);
  width:88%; color:rgba(54,77,96,.30); text-align:center; font-size:10px;
  font-weight:750; letter-spacing:.055em; line-height:1.35; pointer-events:none;
  text-shadow:0 1px 0 rgba(255,255,255,.72);
}
.detail-watermark { font-size:14px; color:rgba(54,77,96,.24); width:82%; }
.product-info { padding: 20px; }
.product-brand { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-info h3 { font-size: 16px; line-height: 1.35; margin: 7px 0 8px; min-height: 43px; }
.product-info p { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.price { font-size: 21px; font-weight: 850; letter-spacing: -.03em; }
.price small { display:block; font-size: 9px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.mini-add { width: 40px; height: 40px; border: 0; border-radius: 8px; background: #e8f2ff; color: var(--blue); cursor:pointer; font-size: 19px; }
.solutions { display:grid; grid-template-columns: 1.1fr .9fr; min-height: 480px; background:#071827; border-radius: 20px; overflow:hidden; color:#fff; }
.solution-copy { padding: 64px; align-self:center; }
.solution-copy h2 { font-size: 45px; margin: 13px 0 20px; letter-spacing: -.04em; }
.solution-copy p { color:#bdcbd6; line-height:1.7; }
.checks { display:grid; grid-template-columns:1fr 1fr; gap:13px; margin:26px 0 32px; color:#eaf2f8; font-size:13px; }
.checks span::before { content:"✓"; color:#54d9ac; margin-right:8px; font-weight:900; }
.solution-art { background: linear-gradient(135deg, #073d70, #0b8eca); padding:60px; display:grid; place-items:center; }
.panel-diagram { width: 100%; max-width: 360px; background:#e8eef3; padding:24px; border-radius:8px; display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; box-shadow:0 30px 70px rgba(0,0,0,.25); transform:rotate(-2deg); }
.panel-diagram span { height:100px; background:#fff; border:1px solid #bdc8d0; border-radius:4px; position:relative; }
.panel-diagram span::after { content:""; position:absolute; top:14px; left:12px; right:12px; height:10px; background:#1d2a33; box-shadow:0 18px 0 #1092d2, 0 36px 0 #d7dee2; }
.newsletter { padding: 42px 0; border-top:1px solid var(--line); }
.newsletter .container { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.newsletter h3 { margin:0 0 7px; font-size:22px; }
.newsletter p { color:var(--muted); margin:0; font-size:13px; }
.newsletter-form { display:flex; width:min(470px,100%); }
.newsletter-form input { flex:1; border:1px solid var(--line); border-radius:8px 0 0 8px; padding:0 16px; min-width:0; }
.newsletter-form .btn { border-radius:0 8px 8px 0; }
.footer { background:#071522; color:#aebdca; padding:65px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:50px; padding-bottom:50px; }
.footer .logo { color:#fff; }
.footer p { font-size:13px; line-height:1.7; max-width:330px; }
.footer h4 { color:#fff; margin:0 0 20px; font-size:13px; }
.footer a { display:block; font-size:12px; margin:12px 0; }
.footer a:hover { color:#fff; }
.footer-bottom { border-top:1px solid #21313f; padding-top:22px; display:flex; justify-content:space-between; font-size:11px; }
.payment-logos { display:flex; gap:7px; }
.payment-logos span { color:#243342; background:#fff; padding:5px 9px; border-radius:4px; font-weight:800; font-size:9px; }

/* Catalog */
.brand-directory { padding:70px 0 100px; min-height:700px; background:#fff; }
.directory-head { display:flex; align-items:end; justify-content:space-between; gap:35px; border-bottom:1px solid var(--line); padding-bottom:34px; }
.directory-head h1 { font-size:48px; letter-spacing:-.045em; margin:10px 0 12px; }
.directory-head p { color:var(--muted); margin:0; line-height:1.6; }
.directory-search { width:310px; height:48px; border:1px solid #ccd6de; border-radius:9px; display:flex; align-items:center; gap:10px; padding:0 14px; flex:none; }
.directory-search span { color:var(--blue); font-size:24px; }
.directory-search input { border:0; outline:0; width:100%; color:var(--ink); }
.directory-crumb { margin:25px 0 30px; color:var(--blue); font-size:12px; font-weight:750; }
.manufacturer-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px 24px; }
.manufacturer-card { text-align:center; display:block; }
.manufacturer-card[hidden] { display:none; }
.manufacturer-logo {
  height:178px; border:1px solid #dfe5e9; background:#fff; border-radius:3px;
  display:grid; place-items:center; padding:25px; font-size:27px; font-weight:900;
  box-shadow:0 2px 5px rgba(15,35,50,.035); transition:.2s;
}
.manufacturer-card:hover .manufacturer-logo { border-color:#8dbce8; box-shadow:var(--shadow); transform:translateY(-3px); }
.manufacturer-card h2 { margin:12px 0 3px; font-size:16px; text-transform:uppercase; }
.manufacturer-card p { margin:0; color:#7b6a62; font-size:13px; }
.manufacturer-logo.abb { color:#ef1c2e; font-size:56px; letter-spacing:-.09em; }
.manufacturer-logo.siemens { color:#009999; font-size:31px; letter-spacing:.025em; }
.manufacturer-logo.schneider { color:#3dad36; font-size:28px; }
.manufacturer-logo.allen { color:#176ea8; font-size:20px; font-style:italic; }
.manufacturer-logo.yokogawa { color:#e6002d; font-size:26px; letter-spacing:.07em; }
.manufacturer-logo.yaskawa { color:#0067b1; font-size:30px; letter-spacing:.04em; }
.catalog-hero[hidden],.catalog-section[hidden],.brand-directory[hidden] { display:none; }
.page-hero { background:#081a2b; color:#fff; padding:65px 0; }
.page-hero h1 { font-size:48px; letter-spacing:-.04em; margin:12px 0; }
.page-hero p { margin:0; color:#bac8d3; }
.catalog-layout { display:grid; grid-template-columns:240px 1fr; gap:35px; }
.mobile-filter-toggle { display:none; }
.filters { border:1px solid var(--line); border-radius:12px; padding:20px; align-self:start; position:sticky; top:100px; }
.filter-group { padding:0 0 20px; margin-bottom:20px; border-bottom:1px solid var(--line); }
.filter-group:last-child { border:0; margin:0; }
.filter-group h4 { margin:0 0 14px; font-size:13px; }
.filter-group label { display:flex; align-items:center; justify-content:space-between; margin:10px 0; color:var(--muted); font-size:12px; cursor:pointer; }
.filter-group label span:first-child { display:flex; gap:8px; align-items:center; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.search-box { width:100%; max-width:390px; border:1px solid var(--line); border-radius:8px; padding:12px 14px; }
.catalog-toolbar select { border:1px solid var(--line); border-radius:8px; padding:11px; color:var(--muted); }
.catalog-main .product-grid { grid-template-columns:repeat(3,1fr); }

/* Product detail */
.breadcrumbs { font-size:11px; color:var(--muted); padding:22px 0; }
.product-detail { display:grid; grid-template-columns:1fr 1fr; gap:65px; padding:25px 0 80px; }
.detail-visual { min-height:510px; border-radius:16px; background:linear-gradient(145deg,#f7f9fb,#e7edf2); display:grid; place-items:center; position:relative; }
.detail-visual .device { transform:scale(2.2); }
.detail-copy .brand-line { color:var(--blue); font-size:12px; font-weight:850; letter-spacing:.14em; text-transform:uppercase; }
.detail-copy h1 { font-size:40px; letter-spacing:-.04em; line-height:1.1; margin:12px 0; }
.sku { color:var(--muted); font-size:12px; }
.availability { color:var(--green); font-size:12px; font-weight:750; margin-left:15px; }
.detail-price { font-size:32px; font-weight:850; margin:26px 0 4px; }
.tax-note { font-size:11px; color:var(--muted); }
.lead { font-size:15px; color:#485865; line-height:1.75; margin:25px 0; }
.buy-row { display:flex; gap:10px; margin:22px 0; }
.qty { width:70px; border:1px solid var(--line); border-radius:8px; text-align:center; }
.buy-row .btn { flex:1; }
.detail-points { border-top:1px solid var(--line); margin-top:25px; padding-top:20px; display:grid; gap:12px; font-size:12px; color:var(--muted); }
.detail-points b { color:var(--ink); }
.spec-section { background:var(--soft); padding:75px 0; }
.tabs { display:flex; gap:28px; border-bottom:1px solid var(--line); margin-bottom:30px; }
.tabs button { border:0; background:none; padding:0 0 14px; font-weight:750; color:var(--muted); cursor:pointer; }
.tabs button.active { color:var(--blue); border-bottom:2px solid var(--blue); }
.spec-content { display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.spec-content h2 { font-size:30px; margin:0 0 18px; }
.spec-content p { color:var(--muted); font-size:14px; line-height:1.8; }
.spec-table { width:100%; border-collapse:collapse; font-size:12px; background:#fff; border-radius:10px; overflow:hidden; }
.spec-table td { padding:14px 17px; border-bottom:1px solid var(--line); }
.spec-table td:first-child { color:var(--muted); width:45%; }
.spec-table td:last-child { font-weight:650; }
.product-inquiry-section { padding:70px 0 90px; background:#fff; }
.inquiry-card { border:1px solid var(--line); border-radius:10px; padding:28px 30px 32px; }
.inquiry-card h2 { margin:9px 0 10px; font-size:24px; }
.inquiry-card > p { color:var(--muted); font-size:14px; line-height:1.7; max-width:760px; margin:0; }
.product-inquiry-form { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:24px; }
.product-inquiry-form .field { display:grid; gap:7px; font-size:11px; font-weight:700; }
.product-inquiry-form .field.full { grid-column:1/-1; }
.product-inquiry-form input,.product-inquiry-form textarea { width:100%; border:1px solid var(--line); border-radius:7px; padding:13px; background:#fff; color:var(--ink); }
.product-inquiry-form input[type="checkbox"] { width:auto; margin-right:7px; }
.inquiry-consent span { display:flex; align-items:flex-start; font-size:11px; font-weight:500; color:var(--muted); line-height:1.5; }
.product-inquiry-form textarea { resize:vertical; min-height:105px; }
.product-inquiry-form input:focus,.product-inquiry-form textarea:focus { outline:2px solid rgba(8,104,215,.16); border-color:var(--blue); }
.inquiry-notice { margin-top:18px; padding:12px 14px; border-radius:7px; font-size:13px; }
.inquiry-notice.success { color:#096b49; background:#e9f8f1; }
.inquiry-notice.warning { color:#8a4b08; background:#fff4df; }

/* Checkout */
.checkout-layout { display:grid; grid-template-columns:1fr 390px; gap:50px; padding:60px 0 90px; }
.checkout-layout h2 { font-size:24px; margin:0 0 22px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; margin-bottom:35px; }
.field { display:grid; gap:7px; font-size:11px; font-weight:700; }
.field.full { grid-column:1/-1; }
.field input,.field select { border:1px solid var(--line); border-radius:8px; padding:13px; background:#fff; }
.pay-options { display:grid; gap:10px; }
.pay-option { border:1px solid var(--line); border-radius:9px; padding:16px; display:flex; gap:12px; align-items:center; font-size:13px; }
.pay-option:has(input:checked) { border-color:var(--blue); background:#f5f9ff; }
.order-card { background:var(--soft); border-radius:14px; padding:28px; align-self:start; position:sticky; top:100px; }
.order-item { display:flex; align-items:center; gap:13px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.order-thumb { width:64px; height:64px; background:#fff; border-radius:7px; display:grid; place-items:center; }
.order-product-image { width:100%; height:100%; object-fit:contain; border-radius:7px; }
.order-thumb .device { transform:scale(.32); }
.order-item h4 { font-size:12px; margin:0 0 5px; }
.order-item p { margin:0; color:var(--muted); font-size:10px; }
.order-item-main { flex:1; min-width:0; }
.order-line-total { margin-left:auto; font-size:12px; white-space:nowrap; }
.cart-controls { display:flex; align-items:center; gap:5px; margin-top:10px; }
.qty-button,.cart-remove { border:1px solid var(--line); background:#fff; cursor:pointer; }
.qty-button { width:25px; height:25px; border-radius:6px; color:var(--blue); font-weight:800; line-height:1; }
.qty-input { width:42px; height:25px; border:1px solid var(--line); border-radius:6px; text-align:center; padding:0 3px; }
.cart-remove { border:0; background:transparent; color:var(--muted); font-size:10px; margin-left:5px; padding:4px; }
.cart-remove:hover { color:#b42318; }
.totals { margin:20px 0; display:grid; gap:12px; font-size:12px; }
.totals div { display:flex; justify-content:space-between; }
.totals .grand { font-size:17px; font-weight:850; border-top:1px solid var(--line); padding-top:15px; }
.secure-note { text-align:center; font-size:10px; color:var(--muted); margin-top:12px; }
.cart-empty { color:var(--muted); font-size:13px; line-height:1.6; }
.cart-empty a { color:var(--blue); font-weight:750; }
.toast { position:fixed; right:24px; bottom:24px; padding:14px 18px; border-radius:9px; color:#fff; background:#10283b; box-shadow:var(--shadow); z-index:99; transform:translateY(100px); opacity:0; transition:.25s; font-size:13px; }
.toast.show { transform:none; opacity:1; }
.floating-inquiry {
  position:fixed; right:22px; bottom:22px; z-index:50; min-height:48px;
  padding:0 18px; border-radius:25px; display:flex; align-items:center; gap:9px;
  background:#0b9b68; color:#fff; font-size:13px; font-weight:800;
  box-shadow:0 12px 30px rgba(5,104,70,.28); transition:.2s;
}
.floating-inquiry:hover { transform:translateY(-2px); background:#087e55; }
.menu-btn { display:grid; }

@media (max-width: 900px) {
  .nav { display:none; position:absolute; top:76px; left:0; right:0; background:#fff; padding:25px; flex-direction:column; box-shadow:var(--shadow); }
  .nav.open { display:flex; }
  .menu-btn { display:grid; }
  .brand-grid { grid-template-columns:repeat(3,1fr); }
  .product-grid,.catalog-main .product-grid { grid-template-columns:repeat(2,1fr); }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .solutions,.product-detail,.spec-content,.checkout-layout,.about-grid { grid-template-columns:1fr; }
  .service-grid { grid-template-columns:1fr; }
  .catalog-layout { grid-template-columns:1fr; }
  .filters { position:static; }
  .manufacturer-grid { grid-template-columns:repeat(3,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  .container { width:min(100% - 28px,1180px); }
  .product-inquiry-form { grid-template-columns:1fr; }
  .header-centered { height:88px; }
  .header-centered .header-shell {
    grid-template-columns: 50px 1fr 50px;
    gap: 8px;
  }
  .header-centered .header-menu {
    width: 42px;
    height: 42px;
  }
  .header-brand {
    width: min(238px, 66vw);
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .header-brand-english {
    width: min(250px, 68vw);
    min-height: 58px;
    gap: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }
  .header-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .header-brand-mark b {
    font-size: 14px;
  }
  .header-brand-copy {
    gap: 3px;
  }
  .header-brand-copy strong {
    font-size: 17px;
    letter-spacing: -.05em;
  }
  .header-brand-copy small {
    font-size: 6.5px;
    letter-spacing: .055em;
    white-space: normal;
    line-height: 1.15;
  }
  .header-brand img {
    height: 54px;
  }
  .header-cart {
    min-width: 42px;
    width: 42px;
    min-height: 42px;
    padding: 0;
    align-items: center;
    border-radius: 50%;
  }
  .header-cart span { font-size: 10px; letter-spacing: .02em; }
  .header-cart small { display:none; }
  .topbar span:last-child,.header .btn { display:none; }
  .hero { min-height:600px; background-position:65% center; }
  .hero h1 { font-size:44px; }
  .trust-grid,.product-grid,.catalog-main .product-grid,.brand-grid,.form-grid { grid-template-columns:1fr; }
  .brand-directory { padding:48px 0 70px; }
  .directory-head { align-items:flex-start; flex-direction:column; }
  .directory-head h1 { font-size:38px; }
  .directory-search { width:100%; }
  .manufacturer-grid { grid-template-columns:repeat(2,1fr); gap:24px 12px; }
  .manufacturer-logo { height:135px; padding:14px; font-size:20px; }
  .manufacturer-logo.abb { font-size:45px; }
  .manufacturer-logo.siemens,.manufacturer-logo.yaskawa { font-size:21px; }
  .manufacturer-logo.schneider,.manufacturer-logo.yokogawa { font-size:18px; }
  .manufacturer-logo.allen { font-size:14px; }
  .mobile-filter-toggle { display:flex; align-items:center; justify-content:center; width:100%; min-height:46px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); font-weight:750; }
  .catalog-section .filters { display:none; }
  .catalog-section .filters.mobile-open { display:block; }
  .trust-item,.trust-item:first-child { border-left:0; border-bottom:1px solid var(--line); }
  .section { padding:65px 0; }
  .section-head,.newsletter .container,.catalog-toolbar,.footer-bottom { align-items:flex-start; flex-direction:column; }
  .solutions { border-radius:13px; }
  .solution-copy { padding:35px 25px; }
  .solution-copy h2 { font-size:34px; }
  .solution-art { padding:35px; }
  .about-grid { gap:35px; }
  .about-visual { min-height:340px; }
  .about-seal { width:120px; height:120px; font-size:30px; }
  .about-stats { gap:8px; }
  .about-stats b { font-size:20px; }
  .floating-inquiry { width:48px; padding:0; justify-content:center; }
  .floating-inquiry span { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .product-detail { gap:30px; }
  .detail-visual { min-height:380px; }
  .detail-copy h1 { font-size:33px; }
  .checkout-layout { gap:30px; }
  .order-card { order:-1; position:static; }
}

/* Integrated homepage planning */
.integrated-home {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 35%, #ffffff 68%);
}

.integrated-home .home-hero {
  min-height: 640px;
}

.integrated-home .home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(4,17,30,.38));
  pointer-events: none;
}

.home-card-section {
  background:
    radial-gradient(circle at 14% 26%, rgba(39,182,232,.09), transparent 30%),
    linear-gradient(180deg, #fff, #f7fafc);
}

.integrated-home .about-grid {
  gap: 70px;
  padding: 34px;
  border: 1px solid rgba(15,75,130,.09);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 28px 80px rgba(8,28,48,.08);
}

.integrated-home .about-visual {
  min-height: 520px;
  border-radius: 22px;
}

.integrated-home .about-copy h2 {
  max-width: 640px;
}

.home-brands-section {
  background:
    linear-gradient(180deg, #f6f9fc, #fff);
}

.home-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.home-brand-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid #dfe7ee;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--brand-color) 16%, transparent), transparent 42%),
    #fff;
  box-shadow: 0 14px 40px rgba(8,28,48,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-brand-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--brand-color) 46%, #dfe7ee);
  box-shadow: 0 26px 70px rgba(8,28,48,.12);
}

.brand-index {
  color: var(--brand-color);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.home-brand-card b {
  color: var(--brand-color);
  font-size: 25px;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.home-brand-card small {
  color: #536575;
  font-size: 12px;
  line-height: 1.65;
}

.home-brand-card em {
  color: #81909d;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-featured-section {
  background: #fff;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-feature-card {
  overflow: hidden;
  border: 1px solid #dfe7ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(8,28,48,.055);
  transition: .22s ease;
}

.home-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 72px rgba(8,28,48,.12);
  border-color: #b8d6ef;
}

.home-feature-photo {
  height: 238px;
  position: relative;
  display: block;
  background: #f4f7fa center/cover no-repeat;
}

.home-feature-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(7,21,34,.08)),
    radial-gradient(circle at 50% 46%, transparent 0 34%, rgba(8,104,215,.08) 35% 55%, transparent 56%);
}

.home-feature-photo::after {
  content: "SHANGHAI HANYI INDUSTRIAL EQUIPMENT CO., LTD.";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 84%;
  transform: translate(-50%, -50%) rotate(-8deg);
  color: rgba(17,38,58,.18);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.4;
  text-align: center;
}

.home-feature-photo span {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--blue);
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 24px rgba(8,28,48,.09);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
}

.home-feature-info {
  padding: 21px;
}

.home-feature-info small {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-feature-info h3 {
  min-height: 50px;
  margin: 8px 0 8px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.home-feature-info p {
  min-height: 34px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.home-feature-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.home-feature-row b {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -.04em;
}

.home-feature-row i {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-services {
  background:
    linear-gradient(180deg, #fff, #f4f8fb);
}

.home-solution-panel {
  margin-top: 28px;
  box-shadow: 0 28px 80px rgba(7,21,34,.15);
}

.integrated-home .checks span::before {
  content: "✓";
  color: #54d9ac;
  margin-right: 8px;
  font-weight: 900;
}

.integrated-home .footer {
  border-top: 1px solid rgba(101,213,255,.12);
}

@media (max-width: 1040px) {
  .home-brand-grid,
  .home-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .integrated-home .about-grid {
    padding: 22px;
    gap: 36px;
  }

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

@media (max-width: 620px) {
  .integrated-home .home-hero {
    min-height: 610px;
  }

  .integrated-home .about-grid {
    padding: 14px;
    border-radius: 18px;
  }

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

  .home-brand-card {
    min-height: 168px;
  }

  .home-feature-photo {
    height: 230px;
  }
}
/* Product image stage: clean pale-blue technical backdrop for approved product photography. */
.detail-visual { background: linear-gradient(145deg, #f8fafc 0%, #e8eef3 100%); border: 1px solid #d8e1e8; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
