/* Import Trade — industrial catalog theme */
:root {
  --navy: #0c4a96;
  --navy-700: #0a3d7c;
  --navy-900: #0a2a55;
  --navy-950: #081f40;
  --yellow: #f7c600;
  --yellow-600: #e5b500;
  --red: #e11d2a;
  --green: #18a34a;
  --orange: #f08c00;
  --text: #172036;
  --muted: #5a6478;
  --line: #e2e6ee;
  --soft: #f2f4f8;
  --white: #fff;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 2px 8px rgba(16, 24, 40, .06);
  --shadow-lg: 0 8px 28px rgba(16, 24, 40, .12);
  --container: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 100; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--yellow); color: var(--text); }
.btn--primary:hover { background: var(--yellow-600); color: var(--text); }
.btn--outline { background: #fff; border-color: #c9cfdb; color: var(--text); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--danger { background: #fff; border-color: #f1b5b9; color: #b4121d; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--lg { padding: 13px 24px; font-size: 16px; }

/* ---------- top bar ---------- */
.topbar { background: var(--soft); border-bottom: 1px solid var(--line); font-size: 13px; color: #33405a; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.topbar__contacts { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.topbar__contacts a, .topbar__contacts span { display: inline-flex; align-items: center; gap: 7px; }
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; padding: 6px 0; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch__menu { position: absolute; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); min-width: 160px; z-index: 60; padding: 6px; }
.lang-switch__menu a { display: block; padding: 8px 10px; border-radius: 4px; }
.lang-switch__menu a:hover, .lang-switch__menu a.is-active { background: var(--soft); }

/* ---------- header ---------- */
.header { background: #fff; }
.header__inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.logo img { width: 190px; height: auto; }
.search { flex: 1; display: flex; max-width: 520px; border: 1.5px solid #cfd5e1; border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.search:focus-within { border-color: var(--navy); }
.search input { flex: 1; border: 0; padding: 11px 16px; min-width: 0; outline: none; background: transparent; }
.search button { border: 0; background: var(--yellow); width: 56px; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.search button:hover { background: var(--yellow-600); }
.header__actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.btn-rfq { display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #cfd5e1; border-radius: var(--radius-sm); padding: 8px 14px;
  font-weight: 700; font-size: 13px; line-height: 1.25; max-width: 190px; }
.btn-rfq:hover { border-color: var(--navy); }
.header-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13px; line-height: 1.25; max-width: 130px; }
.header-link__icon { position: relative; display: inline-flex; }
.badge { position: absolute; top: -8px; right: -10px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.nav-toggle { display: none; border: 0; background: none; cursor: pointer; padding: 4px; }

/* ---------- main nav ---------- */
.mainnav { background: var(--navy); color: #fff; position: relative; z-index: 50; }
.mainnav__list { display: flex; gap: 6px; }
.mainnav__list > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 16px 22px; font-weight: 600; font-size: 14.5px; position: relative; color: #fff; }
.mainnav__list > li > a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mainnav__list > li > a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--yellow); border-radius: 2px 2px 0 0; }
.has-mega { position: static; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); border-top: 3px solid var(--yellow); }
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; padding-top: 22px; padding-bottom: 26px; }
.mega__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.mega__link { display: block; padding: 3px 0 3px 26px; color: var(--muted); font-size: 14px; }

/* ---------- hero row ---------- */
.hero-row { display: grid; grid-template-columns: 270px 1fr; gap: 22px; margin-top: 22px; }
.catmenu { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; align-self: start; }
.catmenu__head { display: flex; align-items: center; gap: 10px; background: var(--yellow); font-size: 15px; font-weight: 800; padding: 12px 16px; }
.catmenu ul { padding: 4px 12px 8px; }
.catmenu li + li { border-top: 1px solid #edf0f5; }
.catmenu li a { display: grid; grid-template-columns: 22px 1fr 16px; align-items: center; gap: 10px; padding: 9px 4px; font-size: 13.5px; }
.catmenu li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catmenu li a svg:last-child { color: #8a93a6; }
.catmenu li a:hover { color: var(--navy); }
.catmenu__all a { font-weight: 600; }

.hero { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; background: var(--navy-950); color: #fff; box-shadow: var(--shadow); }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .6s ease; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 22, 48, .94) 0%, rgba(6, 22, 48, .78) 42%, rgba(6, 22, 48, .15) 75%),
    var(--hero-img, radial-gradient(circle at 78% 40%, #2a6ab8 0%, #123c74 38%, #0a2550 70%));
  background-size: cover; background-position: center; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__content { padding: 40px 44px; max-width: 560px; }
.hero__content h1, .hero__content h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.hero__content h1::after, .hero__content h2::after { content: ""; display: block; width: 54px; height: 4px; background: var(--red); margin: 18px 0; border-radius: 2px; }
.hero__content p { color: #dfe7f3; font-size: 15.5px; margin-bottom: 24px; max-width: 470px; }
.hero__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); cursor: pointer; padding: 0; }
.hero__dots button.is-active { background: var(--yellow); width: 24px; border-radius: 5px; }

/* ---------- brands strip ---------- */
.brands-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin-top: 26px; }
.brands-row__title { font-size: 19px; font-weight: 800; color: var(--navy-950); }
.brands-row__list { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.brand-tile { border: 1px solid var(--line); border-radius: var(--radius-sm); height: 62px; display: grid; place-items: center; padding: 10px; background: #fff;
  box-shadow: var(--shadow); font-weight: 900; font-size: 20px; letter-spacing: .02em; color: var(--navy-900); text-transform: uppercase; overflow: hidden; }
.brand-tile img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.brand-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.brand-tile--more { font-size: 12px; font-weight: 600; text-transform: none; display: flex; gap: 6px; line-height: 1.2; color: var(--text); }
.brand-tile:hover { border-color: var(--navy); }

/* ---------- sections ---------- */
.section { margin-top: 38px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section__title { font-size: 23px; font-weight: 800; color: var(--navy-950); }
.section__title::after { content: ""; display: block; width: 44px; height: 4px; background: var(--red); border-radius: 2px; margin-top: 9px; }
.section__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }

.placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: #9fb0c9; background: linear-gradient(145deg, #f5f7fb, #e9eef6); }

.catgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cattile { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s; }
.cattile:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.cattile__img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 12px; }
.cattile__img img { max-height: 100%; object-fit: contain; }
.cattile__img .placeholder { border-radius: var(--radius-sm); }
.cattile__name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px 14px; font-weight: 700; font-size: 13.5px; min-height: 52px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 14px 16px 16px; display: flex; flex-direction: column;
  transition: box-shadow .15s; }
.pcard:hover { box-shadow: var(--shadow-lg); }
.pcard__top { display: flex; align-items: center; justify-content: space-between; min-height: 28px; gap: 8px; }
.pcard__brand { font-weight: 900; font-size: 16px; letter-spacing: .03em; color: var(--navy); text-transform: uppercase; }
.pcard__brand-logo { max-height: 22px; width: auto; max-width: 110px; object-fit: contain; }
.pcard__img { aspect-ratio: 4 / 3; display: grid; place-items: center; margin: 8px 0 12px; }
.pcard__img img { max-height: 100%; object-fit: contain; }
.pcard__img .placeholder { border-radius: var(--radius-sm); }
.pcard__title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.pcard__spec { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.pcard__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 8px; margin-top: auto; padding-top: 12px; }
.pcard__actions .btn { min-width: 0; white-space: normal; text-align: center; padding-left: 8px; padding-right: 8px; line-height: 1.2; }

.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.stock--ready { color: var(--green); }
.stock--ready::before { background: var(--green); }
.stock--order { color: var(--orange); }
.stock--order::before { background: var(--orange); }

.wish-btn { border: 0; background: none; cursor: pointer; color: #2d3850; padding: 4px; display: inline-flex; border-radius: 50%; }
.wish-btn:hover { color: var(--red); }
.wish-btn[aria-pressed="true"] { color: var(--red); }
.wish-btn[aria-pressed="true"] svg { fill: var(--red); }
.wish-btn--inline { border: 1.5px solid #c9cfdb; border-radius: var(--radius-sm); padding: 13px 20px; gap: 8px; }

/* ---------- features ---------- */
.features { background: var(--soft); margin-top: 40px; padding: 18px 0; }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.feature__icon { color: var(--navy); }
.feature h3 { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.feature p { font-size: 13px; color: var(--muted); }

/* ---------- RFQ banner ---------- */
.rfq-banner { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; padding: 26px 34px; display: grid;
  grid-template-columns: auto 1.4fr 1fr; gap: 28px; align-items: center; min-height: 150px;
  background: linear-gradient(100deg, var(--navy-900) 0%, var(--navy) 55%, rgba(12, 74, 150, .7) 72%, rgba(12, 74, 150, .1) 100%), var(--rfq-img, linear-gradient(100deg, var(--navy-900), #1b5fae));
  background-size: cover; background-position: center right; }
.rfq-banner::after { content: ""; position: absolute; top: 0; bottom: 0; right: 4%; width: 18px; background: var(--yellow); transform: skewX(-18deg); opacity: .95; }
.rfq-banner__icon { width: 74px; height: 74px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; display: grid; place-items: center; }
.rfq-banner h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.rfq-banner p { color: #dce6f4; margin-bottom: 16px; max-width: 520px; font-size: 14px; }
.rfq-banner__list { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 26px; display: grid; gap: 10px; position: relative; z-index: 1; font-size: 14px; max-width: 280px; }
.rfq-banner__list li { display: flex; gap: 10px; align-items: center; }
.rfq-banner__list svg { color: var(--yellow); }

/* ---------- page head / breadcrumbs ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.page-head--slim { padding: 14px 0; }
.page-head h1 { font-size: 28px; font-weight: 800; color: var(--navy-950); }
.page-head__intro { color: var(--muted); margin-top: 8px; max-width: 760px; }
.page-head__row { display: flex; gap: 20px; align-items: center; }
.page-head__logo { max-height: 70px; width: auto; background: #fff; padding: 10px; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.page-head--slim .crumbs { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; }

/* ---------- listing ---------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; }
.listing .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.filters__box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.filters__box summary { font-weight: 800; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.filters__box summary::-webkit-details-marker { display: none; }
.filters__group { padding: 12px 16px 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.filters__group:last-child { border-bottom: 0; }
.filters__group h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.filters__group a { padding: 5px 8px; border-radius: 4px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.filters__group a.is-active { background: #e8f0fb; color: var(--navy); font-weight: 700; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot--ready { background: var(--green); }
.dot--order { background: var(--orange); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-weight: 600; }
.toolbar__sort label { display: flex; align-items: center; gap: 10px; font-size: 14px; }
select, input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input:not([type]), textarea {
  border: 1.5px solid #cfd5e1; border-radius: var(--radius-sm); padding: 9px 12px; background: #fff; width: 100%; }
.toolbar select { width: auto; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 74, 150, .12); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { display: inline-flex; align-items: center; gap: 4px; min-width: 38px; height: 38px; padding: 0 12px; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; background: #fff; }
.pager .is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--soft); border-radius: var(--radius); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 24px; background: #fff; }
.gallery__main img { max-height: 100%; object-fit: contain; }
.gallery__main .placeholder { border-radius: var(--radius-sm); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 76px; height: 76px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 6px; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--navy); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__brand { display: inline-block; font-weight: 900; color: var(--navy); font-size: 20px; text-transform: uppercase; margin-bottom: 10px; }
.product__brand img { max-height: 34px; width: auto; }
.product__info h1 { font-size: 28px; font-weight: 800; color: var(--navy-950); }
.product__spec { font-size: 16px; color: var(--muted); margin-top: 8px; }
.product__meta { display: grid; gap: 0; margin: 20px 0; border-top: 1px solid var(--line); }
.product__meta div { display: grid; grid-template-columns: 140px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.product__meta dt { color: var(--muted); }
.product__meta dd { margin: 0; font-weight: 600; }
.product__desc { margin-bottom: 22px; }
.product__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product__pdf { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; font-weight: 600; color: var(--navy); }
.product-details { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.product-details .card:only-child { grid-column: 1 / -1; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table th { width: 45%; color: var(--muted); font-weight: 500; background: #fafbfd; }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 22px; }
.card + .card { margin-top: 18px; }
.card__title { font-size: 18px; font-weight: 800; margin-bottom: 14px; color: var(--navy-950); }

.prose { line-height: 1.7; }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { padding-left: 22px; }
.prose h2, .prose h3 { margin: 22px 0 10px; }
.prose a { color: var(--navy); text-decoration: underline; }
.prose img { border-radius: var(--radius-sm); margin: 10px 0; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.page-head + .section .prose { max-width: 860px; }

/* ---------- brands / categories pages ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.brand-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 6px; text-align: center; }
.brand-card:hover { border-color: var(--navy); color: inherit; }
.brand-card__logo { height: 70px; display: grid; place-items: center; font-weight: 900; font-size: 22px; color: var(--navy-900); text-transform: uppercase; }
.brand-card__logo img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
.brand-card__name { font-weight: 700; }
.brand-card__count { font-size: 13px; color: var(--muted); }
.cat-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cat-list .card + .card { margin-top: 0; }
.cat-list__head { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 16px; }
.cat-list__icon { width: 48px; height: 48px; border-radius: 10px; background: #eaf1fb; color: var(--navy); display: grid; place-items: center; }
.cat-list ul { margin-top: 12px; display: grid; gap: 4px; }
.cat-list ul a { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); font-size: 14px; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form button[type="submit"] { justify-self: start; }
.field-error { color: #c0151f; font-size: 13px; font-weight: 500; }
.notice { display: flex; gap: 10px; align-items: center; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 18px; font-weight: 600; }
.notice--ok { background: #e8f7ee; color: #116b33; border: 1px solid #bfe7cf; }
.notice--err { background: #fdecee; color: #a3121c; border: 1px solid #f6c3c7; }
.contact-layout, .rfq-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.rfq-layout .card:only-child { grid-column: 1 / -1; max-width: 860px; }
.contact-list { display: grid; gap: 10px; }
.contact-list li, .location p { display: flex; gap: 10px; align-items: flex-start; }
.location + .location { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.location h3 { font-size: 15px; margin-bottom: 8px; }
.location p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--radius-sm); margin-top: 8px; }

.error-page { text-align: center; padding: 60px 20px 80px; display: grid; gap: 14px; justify-items: center; }
.error-page__code { font-size: 80px; font-weight: 900; color: var(--navy); line-height: 1; }

/* ---------- footer ---------- */
.footer { background: var(--navy-900); color: #d7e0ee; margin-top: 56px; font-size: 13.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr 1.2fr; gap: 30px; padding-top: 34px; padding-bottom: 30px; }
.footer h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.footer__brand img { width: 170px; margin-bottom: 14px; }
.footer__brand p { max-width: 280px; }
.footer__links { display: grid; gap: 5px; }
.footer__links a { display: inline-flex; gap: 6px; align-items: center; }
.footer a:hover { color: var(--yellow); }
.footer__contact { display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { width: 36px; height: 36px; border-radius: 6px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); background: var(--navy-950); }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; font-size: 12.5px; }
.footer__legal { display: flex; gap: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .brands-row__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .btn-rfq span, .header-link__label { display: none; }
}
@media (max-width: 920px) {
  .topbar__addr { display: none; }
  .header__inner { flex-wrap: wrap; gap: 14px 20px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .nav-toggle { display: inline-flex; }
  .mainnav { display: none; }
  .mainnav.is-open { display: block; }
  .mainnav__list { flex-direction: column; gap: 0; padding: 6px 0; }
  .mainnav__list > li > a { padding: 12px 4px; width: 100%; }
  .mainnav__list > li > a.is-active::after { left: 0; right: auto; width: 4px; top: 10px; bottom: 10px; height: auto; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .hero-row { grid-template-columns: 1fr; }
  .catmenu { display: none; }
  .hero { min-height: 340px; }
  .brands-row { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .filters__box:not([open]) { box-shadow: none; }
  .product, .product-details, .contact-layout, .rfq-layout { grid-template-columns: 1fr; }
  .rfq-banner { grid-template-columns: 1fr; }
  .rfq-banner::after, .rfq-banner__icon { display: none; }
  .rfq-banner__list { border-left: 0; padding-left: 0; }
  .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding: 0 16px; }
  .topbar__contacts { gap: 14px; }
  .topbar__contacts a span { display: none; }
  .logo img { width: 150px; }
  .header__actions { gap: 14px; }
  .btn-rfq { padding: 7px 9px; }
  .brands-row__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-tile { font-size: 15px; }
  .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid, .listing .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pcard { padding: 12px; }
  .pcard__actions { grid-template-columns: 1fr; }
  .pcard__actions .btn { white-space: normal; text-align: center; }
  .features__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; }
  .hero__content { padding: 28px 22px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-list { grid-template-columns: 1fr; }
  .page-head h1, .product__info h1 { font-size: 23px; }
  .product__meta div { grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
