.toolbar-submit {
  align-self: end;
}

.catalog-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-mobile-jump {
  display: none;
}

.catalog-search {
  grid-column: span 2;
  min-width: 260px;
}

.toolbar--compact {
  grid-template-columns: minmax(0, 1fr) auto;
}

.orders-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px) auto;
}

.nav-logout {
  display: inline;
}

.nav-logout button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.nav-logout button:hover {
  color: var(--accent-strong);
}

.site-header__main {
  grid-template-columns: minmax(190px, auto) minmax(0, 1fr) auto;
}

.top-nav {
  gap: clamp(10px, 1.6vw, 20px);
  font-size: 14px;
  justify-content: flex-start;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 0;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 9px;
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a.is-active,
.top-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  border: 2px solid var(--accent-strong);
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffffff;
  color: var(--accent-strong);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(52, 98, 170, 0.32);
  outline-offset: 3px;
}

main:focus {
  outline: 0;
}

#main-content {
  scroll-margin-top: 140px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--accent-strong);
  font-weight: 700;
}

.category-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
}

.category-list a:hover,
.category-list a.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.ghost-link,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.product-card--server {
  border: 1px solid var(--line);
}

.product-card--server .product-card__image {
  color: inherit;
}

.product-card--server h3 a:hover {
  color: var(--accent-strong);
}

.product-card__ru,
.product-ru-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.product-card__ru {
  margin: -4px 0 0;
}

.product-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.product-card__links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.product-card__links a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.product-card__commerce {
  display: grid;
  grid-template-columns: 80px 96px minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.product-card__commerce span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  background: #f8fbff;
}

.product-card__commerce small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card__commerce strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.product-card__quick {
  color: var(--accent-strong);
  font-weight: 900;
}

.product-card__cta,
.product-card__quick {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 10px;
  justify-content: center;
  text-align: center;
}

.product-card__cta {
  background: var(--accent);
  color: #ffffff;
}

.product-card__cta:hover {
  color: #ffffff;
  background: var(--accent-strong);
}

.product-card__quick {
  border: 1px solid var(--line);
  background: #ffffff;
}

.product-ru-title {
  margin: -8px 0 10px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px 22px;
  color: var(--muted);
}

.product-page,
.cart-page,
.admin-page,
.account-page,
.articles-page,
.article-page {
  padding: 38px 0 0;
}

.account-page {
  min-height: calc(100vh - 260px);
}

.account-box {
  width: min(560px, 100%);
}

.info-page {
  padding: 38px 0 0;
}

.article-index-hero {
  align-items: end;
}

.article-index-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.article-index-strip,
.article-purchase-strip,
.seo-procurement-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 18px;
  background: var(--line);
}

.article-index-strip div,
.article-purchase-strip div,
.seo-procurement-strip div {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 108px;
  padding: 15px;
  background: var(--surface);
}

.article-index-strip strong,
.article-purchase-strip strong,
.seo-procurement-strip strong {
  color: var(--ink);
  font-size: 16px;
}

.article-index-strip span,
.article-purchase-strip small,
.seo-procurement-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.article-purchase-strip span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

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

.article-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.article-card__thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 1200 / 630;
}

.article-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card h2,
.article-card p {
  margin: 0;
}

.article-card h2 {
  font-size: 22px;
  line-height: 1.25;
}

.article-card h2 a {
  color: var(--ink);
}

.article-card h2 a:hover,
.article-card__link:hover {
  color: var(--accent-strong);
}

.article-card p {
  color: var(--muted);
  line-height: 1.6;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.article-card__meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  padding: 6px 8px;
}

.article-card__link {
  font-weight: 900;
}

.article-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
  gap: 8px;
  align-self: end;
}

.article-card__actions a {
  min-height: 38px;
  border-radius: 8px;
  padding: 0 10px;
  text-align: center;
  font-weight: 900;
}

.article-card__actions .article-card__link {
  background: var(--accent);
  color: #ffffff;
}

.article-card__actions .ghost-link {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--accent-strong);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.article-figure {
  display: grid;
  gap: 8px;
  max-width: 1180px;
  margin: 0 0 24px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.article-figure figcaption {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 34px;
  align-items: start;
}

.article-body {
  max-width: 920px;
}

.article-body h2 {
  margin: 30px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 25px;
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-body h3 {
  margin: 22px 0 8px;
  font-size: 19px;
}

.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.7;
}

.article-body p {
  margin: 0 0 14px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding-left: 22px;
}

.article-body li::marker {
  color: var(--accent);
  font-weight: 900;
}

.article-body a {
  color: var(--accent-strong);
  font-weight: 800;
}

.article-body code {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 5px;
  background: #f7fbfd;
  color: var(--ink);
  font-size: 0.92em;
}

.article-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #f4fbff;
}

.article-body .article-cta-panel h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 22px;
}

.article-cta-panel p {
  margin: 0;
}

.article-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.article-aside {
  display: grid;
  gap: 14px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.article-aside--summary {
  border-left: 3px solid var(--accent);
  padding-top: 4px;
  padding-bottom: 4px;
}

.article-aside strong {
  font-size: 18px;
  line-height: 1.35;
}

.article-aside span,
.article-aside small {
  color: var(--muted);
  line-height: 1.45;
}

.article-menu {
  position: sticky;
  top: 100px;
}

.article-menu section {
  display: grid;
  gap: 6px;
}

.article-action-menu {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface);
}

.article-menu a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
  padding: 8px 10px;
}

.article-action-menu a.primary-link {
  min-height: 38px;
  background: var(--accent);
  color: #ffffff;
}

.article-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.info-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 28px;
  align-items: start;
  margin-bottom: 22px;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.info-aside {
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
}

.info-aside strong {
  font-size: 18px;
}

.info-aside a {
  color: var(--accent-strong);
  font-weight: 800;
}

.info-aside span {
  color: var(--muted);
  line-height: 1.45;
}

.info-aside__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.info-procurement-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.info-procurement-panel div {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 118px;
  padding: 15px;
  background: #ffffff;
}

.info-procurement-panel span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

.info-procurement-panel strong {
  color: var(--ink);
}

.info-procurement-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip div {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 16px;
  background: var(--surface);
}

.trust-strip strong {
  font-size: 17px;
}

.trust-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 32px;
  align-items: start;
}

.info-main {
  display: grid;
  gap: 0;
}

.info-section {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.info-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.info-section h2,
.info-section p {
  margin: 0;
}

.info-section p {
  max-width: 900px;
  color: var(--muted);
  line-height: 1.65;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.info-list li::marker {
  color: var(--accent);
}

.info-rows {
  display: grid;
  gap: 0;
  margin: 0;
  max-width: 980px;
}

.info-rows div {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-rows dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.info-rows dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.info-rows a {
  color: var(--accent-strong);
  font-weight: 800;
}

.info-menu {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.info-menu a {
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
}

.info-menu a:hover,
.info-menu a.is-active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.site-footer {
  grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.footer-seo {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  padding-top: 18px;
}

.footer-seo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.footer-seo .footer-links {
  align-content: start;
  margin-top: 0;
}

.footer-seo .footer-links span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.footer-seo a {
  font-size: 13px;
  line-height: 1.35;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 20px;
  align-items: start;
}

.cart-list,
.checkout-form,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cart-list {
  padding: 16px;
}

.checkout-form {
  padding: 18px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

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

.cart-row small {
  color: var(--muted);
}

.cart-row__info {
  display: grid;
  gap: 3px;
}

.cart-total--rub {
  margin-top: 10px;
  border-top: 2px solid var(--ink);
  font-size: 18px;
}

.qty-form {
  display: grid;
  grid-template-columns: 74px auto;
  gap: 8px;
}

.qty-form input {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
}

.qty-form button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.notice {
  display: grid;
  gap: 6px;
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid #b8d68a;
  border-radius: 8px;
  color: #35520c;
  background: #eef7df;
}

.notice--success {
  border-color: #b8d68a;
  color: #35520c;
  background: #eef7df;
}

.notice--warning {
  border-color: #dfc57b;
  color: #6b4c00;
  background: #fff8de;
}

.notice--error {
  border-color: #e1aaa2;
  color: #7b241f;
  background: #fdebea;
}

.notice__title,
.notice__body {
  display: block;
}

.notice__title {
  color: inherit;
  font-size: 15px;
  font-weight: 900;
}

.notice__body {
  line-height: 1.45;
}

.notice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 2px;
}

.notice__actions a {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice--cart-added {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
}

.pill-muted {
  background: #edf0f2;
  color: var(--muted);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sku-hero-grid {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) minmax(240px, 320px);
  align-items: stretch;
}

.sku-summary-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.sku-summary-card strong {
  font-size: 26px;
}

.sku-summary-card span,
.sku-summary-card small {
  color: var(--muted);
}

.sku-purchase-form {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.sku-purchase-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sku-purchase-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #ffffff;
  font: inherit;
  font-weight: 900;
}

.sku-purchase-form .primary-button {
  width: 100%;
}

.sku-add-form {
  max-width: 220px;
}

.sku-context-text {
  margin: 0 18px 18px;
  color: var(--muted);
  line-height: 1.6;
}

.sku-info-grid .document-list {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.product-section {
  display: grid;
  gap: 14px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading small {
  color: var(--muted);
}

.inline-add-form {
  display: grid;
  grid-template-columns: 58px auto;
  gap: 8px;
  align-items: center;
}

.inline-add-form input {
  min-height: 34px;
  width: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
}

.product-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
}

.product-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-seo-grid article {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.product-seo-grid h3,
.product-seo-grid p,
.product-seo-grid ul {
  margin: 0;
}

.product-seo-grid p,
.product-seo-grid li {
  color: var(--muted);
  line-height: 1.55;
}

.product-seo-grid ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
}

.document-list {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.document-list a {
  color: var(--accent-strong);
  font-weight: 700;
}

.quick-order-page {
  padding: 38px 0 0;
}

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

.quick-order-layout--builder {
  grid-template-columns: minmax(320px, 460px) minmax(0, 1fr);
}

.suggest-field {
  position: relative;
}

.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  max-height: 330px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.suggestions button,
.quick-list-row button {
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.suggestions button {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.suggestions button:hover {
  background: var(--accent-soft);
}

.suggestions button:last-child {
  border-bottom: 0;
}

.quick-price-preview,
.quick-list-total {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f7fbfd;
  color: var(--ink);
  font-weight: 800;
}

.quick-order-feedback {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--muted);
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.quick-order-feedback--success {
  border-color: #b8d68a;
  color: #35520c;
  background: #eef7df;
}

.quick-order-feedback--error {
  border-color: #e1aaa2;
  color: #7b241f;
  background: #fdebea;
}

.quick-order-list {
  display: grid;
  gap: 10px;
}

.quick-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.quick-list-row strong,
.quick-list-row span,
.quick-list-row small {
  display: block;
}

.quick-list-row small {
  color: var(--muted);
}

.quick-list-row button {
  color: #8a2f27;
  font-weight: 800;
}

.quick-list-row__main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.quick-list-row__controls {
  display: grid;
  gap: 8px;
  min-width: 126px;
}

.quick-list-row__controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quick-list-row__controls input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 9px;
  background: #ffffff;
  font: inherit;
  font-weight: 800;
}

.quick-list-row__remove {
  min-height: 36px;
  border: 1px solid #f0c8ce !important;
  border-radius: 8px;
  background: #fff6f8 !important;
  text-align: center !important;
}

.seo-landing,
.seo-section {
  padding-top: 28px;
}

.seo-landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.seo-procurement-strip {
  margin-top: -6px;
}

.seo-section {
  display: grid;
  gap: 16px;
}

.seo-section > p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-bullets span,
.seo-link-grid a,
.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.seo-bullets span {
  padding: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.seo-article {
  display: grid;
  gap: 16px;
  max-width: 980px;
}

.seo-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-check-grid span,
.seo-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.seo-check-grid span {
  padding: 14px 16px;
  line-height: 1.55;
  color: var(--muted);
}

.seo-note {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.seo-note h2,
.seo-note h3,
.seo-note p {
  margin: 0;
}

.seo-note p {
  color: var(--muted);
  line-height: 1.7;
}

.seo-note--muted {
  background: var(--soft);
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-link-grid a {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: var(--ink);
}

.seo-link-grid a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.seo-link-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.seo-faq {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.seo-faq h2,
.seo-faq h3 {
  margin: 0;
}

.seo-faq details {
  padding: 14px 16px;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.seo-faq p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.landing-results {
  margin-top: 18px;
}

.landing-results .product-card__body {
  align-content: start;
}

.landing-results .product-card__foot {
  margin-top: auto;
}

.quick-order-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
}

.quick-order-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quick-order-card input,
.quick-order-card select,
.quick-order-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
}

.quick-order-card textarea {
  padding-top: 12px;
  resize: vertical;
}

.sku-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.commercial-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.commercial-chip-list span,
.delivery-pill,
.sku-packaging-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #b6d5dc;
  border-radius: 999px;
  padding: 0 10px;
  background: #f3fbfd;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.sku-packaging-label {
  border-color: #d8e2ee;
  background: #ffffff;
  color: var(--ink);
}

.inline-add-form--quote button,
.sku-purchase-form.inline-add-form--quote .primary-button,
.sku-mobile-add-form.inline-add-form--quote button {
  border-color: var(--signal);
  background: var(--signal);
}

.sku-summary-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 4px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.sku-summary-facts div {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: #ffffff;
}

.sku-summary-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.sku-summary-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.price-bulk-form,
.price-history,
.sync-summary,
.sync-detail-card,
.order-panel {
  margin-top: 18px;
}

.quick-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.login-page {
  display: grid;
  min-height: calc(100vh - 170px);
  place-items: center;
  padding: 38px 0;
}

.login-box {
  display: grid;
  gap: 14px;
  width: min(480px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
}

.login-box label,
.status-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.login-box input,
.status-form input,
.status-form select,
.status-form textarea {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
}

.status-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.order-item--request td {
  background: #fff7e8;
}

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

.admin-actions,
.admin-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.inline-action-form {
  display: inline-flex;
  margin: 0;
}

.admin-stats {
  margin-bottom: 20px;
}

.invoice-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.admin-card {
  overflow: hidden;
}

.admin-list {
  display: grid;
}

.admin-list article {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.admin-list article:last-child {
  border-bottom: 0;
}

.admin-list span,
.admin-list small {
  color: var(--muted);
}

.admin-list .text-danger,
.text-danger {
  color: #b42318;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.detail-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0 18px 18px;
}

.detail-list div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
}

.status-form {
  display: grid;
  gap: 12px;
  padding: 0 18px 18px;
}

.buyer-details-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buyer-details-form label:first-of-type,
.buyer-details-form label:nth-of-type(4),
.buyer-details-form label:nth-of-type(7),
.buyer-details-form button {
  grid-column: 1 / -1;
}

.buyer-refresh-action {
  display: grid;
  align-content: end;
  gap: 6px;
}

.buyer-refresh-action small {
  color: var(--muted);
}

.card-insight {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
}

.card-insight--ok {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.card-insight--warning {
  border-color: #fed7aa;
  background: #fff7ed;
}

.card-insight-fields {
  display: grid;
  gap: 8px;
  margin: 0;
}

.card-insight-fields div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px;
}

.card-insight-fields dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-insight-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .cart-layout,
  .admin-grid,
  .invoice-stats,
  .order-detail-grid,
  .orders-toolbar,
  .catalog-filter-bar,
  .footer-seo-grid,
  .article-grid,
  .article-hero,
  .article-layout,
  .article-index-strip,
  .article-purchase-strip,
  .seo-procurement-strip,
  .info-hero,
  .info-layout,
  .info-procurement-panel,
  .account-login-grid,
  .account-summary,
  .product-info-grid,
  .quick-order-layout,
  .site-footer,
  .sku-hero-grid,
  .product-seo-grid,
  .seo-bullets,
  .seo-check-grid,
  .seo-link-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .info-menu {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }

  .article-menu {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }

  .article-index-actions {
    justify-content: flex-start;
  }

  .seo-landing-actions {
    justify-content: flex-start;
  }

  .article-cta-panel {
    grid-template-columns: 1fr;
  }

  .article-cta-panel__actions {
    justify-content: flex-start;
  }

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

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

  .account-head form,
  .account-head .ghost-button {
    width: 100%;
  }

  .buyer-details-form {
    grid-template-columns: 1fr;
  }

  .card-insight-fields div {
    grid-template-columns: 1fr;
  }

  .info-rows div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* UX refresh for the public B2B catalog */
.workbench,
.product-page,
.quick-order-page,
.cart-page,
.info-page,
.articles-page,
.article-page {
  padding-top: 28px;
}

.top-nav,
.site-header__trust {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar,
.site-header__trust::-webkit-scrollbar {
  display: none;
}

.catalog-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(90deg, rgba(246, 249, 253, 0.98) 0%, rgba(246, 249, 253, 0.92) 43%, rgba(246, 249, 253, 0.68) 72%, rgba(246, 249, 253, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(227, 245, 249, 0.22)),
    url("/static/images/catalog-hero-lab-b2b-20260626.png") center right / cover no-repeat;
  box-shadow: 0 18px 45px rgba(34, 68, 120, 0.1);
}

.catalog-hero > * {
  position: relative;
  z-index: 1;
}

.catalog-hero h1 {
  max-width: 820px;
}

.catalog-hero .lead {
  max-width: 680px;
  color: #4d5966;
}

.catalog-workflow,
.checkout-requirements,
.workflow-strip,
.catalog-status-bar,
.account-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.catalog-workflow {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(34, 68, 120, 0.1);
  backdrop-filter: blur(10px);
}

.catalog-workflow strong {
  font-size: 18px;
}

.catalog-workflow ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.45;
}

.catalog-workflow--trust dl {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.catalog-workflow--trust div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: #ffffff;
}

.catalog-workflow--trust dt,
.catalog-workflow--trust dd {
  margin: 0;
}

.catalog-workflow--trust dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-workflow--trust dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.catalog-filter-bar {
  grid-template-columns: minmax(280px, 1fr) auto auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.catalog-search {
  grid-column: auto;
}

.catalog-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin: 0 0 18px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
}

.catalog-status-bar strong {
  color: var(--ink);
}

.catalog-shell {
  grid-template-columns: 280px minmax(0, 1fr);
}

.category-panel {
  top: 114px;
}

.results-panel__head p,
.panel-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  gap: 12px;
}

.product-card {
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 0;
}

.product-card__image {
  height: 168px;
  min-height: 168px;
  align-self: start;
}

.product-card__body {
  gap: 8px;
  padding: 14px 14px 12px;
}

.product-card h3 {
  min-height: 0;
  font-size: 16px;
}

.product-card p {
  min-height: 0;
}

.product-card__ru {
  -webkit-line-clamp: 1;
}

.product-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
}

.product-card__foot small {
  color: var(--muted);
  font-size: 12px;
}

.product-card__cta {
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.product-card__cta:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.product-page h1,
.sku-page h1,
.quick-order-page h1,
.cart-page h1 {
  font-size: clamp(30px, 3.7vw, 44px);
}

.product-detail__hero {
  align-items: start;
}

.product-detail__image {
  max-height: 260px;
}

.product-detail__content {
  min-width: 0;
}

.sku-hero-grid {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(250px, 310px);
  align-items: start;
}

.sku-hero-grid .product-detail__image {
  max-height: 220px;
}

.sku-summary-card {
  align-content: start;
  gap: 10px;
  min-height: 0;
}

.sku-summary-card .ghost-button {
  justify-self: start;
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.table-wrap .sku-table,
.table-wrap .cart-table {
  border: 0;
  border-radius: 0;
}

.sku-table th,
.cart-table th {
  background: #eef4fb;
  letter-spacing: 0;
}

.sku-table td,
.cart-table td {
  line-height: 1.42;
}

.sku-table th:nth-last-child(2),
.sku-table td:nth-last-child(2) {
  min-width: 120px;
  white-space: nowrap;
}

.sku-table th:last-child,
.sku-table td:last-child {
  min-width: 170px;
}

.inline-add-form {
  grid-template-columns: 64px minmax(112px, auto);
}

.inline-add-form input {
  width: 64px;
}

.inline-add-form button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.sku-mobile-list {
  display: none;
}

.sku-mobile-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sku-mobile-item__head,
.sku-mobile-item__buy {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.sku-mobile-item__head span,
.sku-mobile-item__head small,
.sku-mobile-item__buy span,
.sku-mobile-item__buy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sku-mobile-item__head strong,
.sku-mobile-item__buy strong {
  display: block;
  margin-top: 3px;
}

.sku-mobile-item__head small {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4fbff;
  white-space: nowrap;
}

.sku-mobile-item__body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.sku-mobile-item__body span,
.sku-mobile-item__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.sku-mobile-add-form {
  display: grid;
  grid-template-columns: 68px minmax(108px, auto);
  gap: 8px;
  align-items: end;
}

.sku-mobile-add-form input {
  width: 68px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 9px;
  font: inherit;
  font-weight: 900;
}

.sku-mobile-add-form button {
  min-height: 40px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}

.panel-heading--plain {
  border-bottom: 1px solid var(--line);
}

.cart-page__head {
  margin-bottom: 18px;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
}

.cart-list {
  padding: 0;
  overflow: hidden;
}

.cart-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

.cart-table th,
.cart-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.cart-table tr:last-child td {
  border-bottom: 0;
}

.cart-table th:nth-child(1) {
  width: 112px;
}

.cart-table th:nth-child(4),
.cart-table th:nth-child(6) {
  width: 112px;
}

.cart-table th:nth-child(5) {
  width: 88px;
}

.cart-table td small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.cart-table .qty-form {
  grid-template-columns: 1fr;
  gap: 6px;
}

.cart-table .qty-form input,
.cart-table .qty-form button {
  min-height: 34px;
  width: 100%;
}

.cart-table .qty-form button {
  font-size: 12px;
  font-weight: 800;
}

.cart-mobile-list {
  display: none;
}

.cart-summary {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #f8fbff;
}

.checkout-form {
  position: sticky;
  top: 118px;
}

.checkout-form__head {
  display: grid;
  gap: 6px;
}

.checkout-form__head h2,
.checkout-form__head p {
  margin: 0;
}

.checkout-form__head p {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-requirements {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: #f4fbff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checkout-requirements span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.checkout-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.checkout-status--ready {
  border-color: #b8d68a;
  background: #eef7df;
  color: #35520c;
}

.checkout-status--warn {
  border-color: #dfc57b;
  background: #fff8de;
  color: #6b4c00;
}

.checkout-status--warning {
  border-color: #dfc57b;
  background: #fff8de;
  color: #6b4c00;
}

.checkout-status--error {
  border-color: #e1aaa2;
  background: #fdebea;
  color: #7b241f;
}

.field-hint,
.field-error {
  display: block;
  line-height: 1.35;
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field-error {
  color: #8a2f27;
  font-size: 12px;
  font-weight: 900;
}

.field--error input,
.field--error textarea,
.checkout-form [aria-invalid="true"] {
  border-color: #d66d61;
  box-shadow: 0 0 0 3px rgba(214, 109, 97, 0.12);
}

.workflow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  background: var(--line);
}

.workflow-strip span {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
}

.workflow-strip strong {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.quick-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 12px;
  align-items: end;
}

.quick-bulk {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.quick-bulk summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-weight: 900;
}

.quick-bulk form {
  display: grid;
  gap: 10px;
  padding-top: 12px;
}

.quick-bulk textarea {
  min-height: 118px;
}

.quick-list-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.quick-list-row + .quick-list-row {
  margin-top: 8px;
}

.empty-state--action {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.empty-state--action strong {
  color: var(--ink);
  font-size: 18px;
}

.empty-state strong,
.empty-state span,
.empty-state p {
  display: block;
}

.empty-state strong {
  color: var(--ink);
}

.empty-state span,
.empty-state p {
  color: var(--muted);
  line-height: 1.45;
}

.empty-state p {
  margin: 0;
}

.empty-state__actions,
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty-state--compact {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.account-box {
  gap: 18px;
}

.account-login-grid {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(280px, 360px);
  gap: 18px;
  align-items: stretch;
  width: min(960px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 320px);
  align-content: center;
}

.account-help {
  display: grid;
  gap: 14px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--surface);
}

.account-help ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.5;
}

.account-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.account-summary div {
  display: grid;
  gap: 6px;
  min-height: 94px;
  align-content: center;
  padding: 16px;
  background: var(--surface);
}

.account-summary span,
.account-order-card dt,
.account-order-card__head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-summary strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border: 1px solid #b6d5dc;
  border-radius: 999px;
  padding: 0 10px;
  background: #e3f5f9;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.account-orders-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.account-documents-panel {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.account-documents-panel .panel-heading {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.account-document-list {
  display: grid;
  gap: 0;
}

.account-document-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.account-document-card:last-child {
  border-bottom: 0;
}

.account-document-card__main {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.account-document-card__main h3,
.account-document-card__main p,
.account-document-card__main dl {
  margin: 0;
}

.account-document-card__main h3 {
  color: var(--ink);
  font-size: 20px;
}

.account-document-card__main p {
  color: var(--muted);
  line-height: 1.4;
}

.account-document-card__main dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-document-card__main dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-document-card__main dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.account-document-card__actions {
  display: grid;
  gap: 8px;
  align-content: start;
}

.account-document-card__actions .primary-button,
.account-document-card__actions .ghost-button {
  justify-content: center;
  width: 100%;
}

.account-document-card__actions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.account-orders-panel .panel-heading {
  padding: 16px;
}

.account-table-wrap {
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

.account-actions-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.account-actions-cell .primary-button,
.account-actions-cell .ghost-button {
  min-height: 36px;
  padding: 0 12px;
}

.account-mobile-list {
  display: none;
}

.account-order-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.account-order-card__head,
.account-order-card__actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.account-order-card__head strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 17px;
}

.account-order-card__head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.account-order-card__meta {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.account-order-card__meta div {
  display: grid;
  grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.account-order-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.account-order-card__actions .inline-action-form,
.account-order-card__actions .primary-button,
.account-order-card__actions .ghost-button {
  width: 100%;
}

.account-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.account-preview span {
  padding: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

button:disabled,
.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

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

  .cart-list,
  .checkout-form {
    width: 100%;
  }

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

  .catalog-search {
    grid-column: 1 / -1;
  }

  .catalog-mobile-jump {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: -6px 0 12px;
    padding-bottom: 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .catalog-mobile-jump::-webkit-scrollbar {
    display: none;
  }

  .catalog-mobile-jump a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 13px;
    background: #ffffff;
    color: var(--accent-strong);
    font-weight: 900;
  }

  .catalog-shell .results-panel {
    order: 2;
    width: 100%;
  }

  .catalog-shell .category-panel {
    order: 1;
    width: 100%;
  }

  .category-list {
    max-height: 260px;
  }

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

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

  .product-card__image {
    height: 150px;
    min-height: 150px;
  }

  .workflow-strip,
  .account-login-grid,
  .account-summary,
  .account-preview {
    grid-template-columns: 1fr;
  }

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

  .account-head form,
  .account-head .ghost-button {
    width: 100%;
  }

  .quick-entry-grid,
  .sku-hero-grid {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    position: static;
  }
}

@media (max-width: 640px) {
  .workbench,
  .product-page,
  .quick-order-page,
  .cart-page,
  .account-page,
  .info-page,
  .articles-page,
  .article-page {
    padding-top: 20px;
  }

  .workbench__top {
    gap: 14px;
    margin-bottom: 14px;
  }

  .catalog-filter-bar {
    gap: 10px;
    padding: 12px;
  }

  .toolbar-submit {
    width: 100%;
  }

  .catalog-mobile-jump {
    margin-bottom: 10px;
  }

  .catalog-status-bar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .catalog-status-bar::-webkit-scrollbar {
    display: none;
  }

  .catalog-status-bar span {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 9px;
    background: #ffffff;
  }

  .catalog-workflow {
    gap: 9px;
    padding: 12px;
  }

  .catalog-hero {
    padding: 18px 14px;
    background:
      linear-gradient(180deg, rgba(246, 249, 253, 0.98) 0%, rgba(246, 249, 253, 0.94) 58%, rgba(246, 249, 253, 0.84) 100%),
      url("/static/images/catalog-hero-lab-b2b-20260626.png") 68% center / cover no-repeat;
  }

  .catalog-hero .lead {
    max-width: none;
    color: var(--muted);
  }

  .catalog-workflow strong {
    font-size: 16px;
  }

  .catalog-workflow ol,
  .catalog-workflow--trust dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    padding-left: 18px;
    font-size: 13px;
  }

  .catalog-workflow--trust dl {
    gap: 1px;
    padding-left: 0;
  }

  .catalog-status-bar {
    margin-bottom: 12px;
  }

  .article-index-strip div,
  .article-purchase-strip div,
  .seo-procurement-strip div {
    min-height: 0;
    padding: 13px;
  }

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

  .article-cta-panel__actions,
  .article-cta-panel__actions .primary-button,
  .article-cta-panel__actions .ghost-button,
  .seo-landing-actions,
  .seo-landing-actions .primary-button,
  .seo-landing-actions .ghost-button {
    width: 100%;
  }

  .category-list {
    display: flex;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    padding: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-list a {
    display: inline-flex;
    flex: 0 0 min(250px, 78vw);
    min-height: 44px;
    padding-left: 12px !important;
  }

  .product-page h1,
  .sku-page h1,
  .quick-order-page h1,
  .cart-page h1 {
    font-size: 30px;
  }

  .product-card {
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
  }

  .product-card__image {
    height: 142px;
    min-height: 142px;
  }

  .product-card__body {
    gap: 8px;
  }

  .product-card--server h3 {
    font-size: 17px;
    line-height: 1.25;
  }

  .product-card--server .product-card__body > p:not(.product-card__ru) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-card__commerce {
    grid-template-columns: 0.8fr 1fr 1.35fr;
  }

  .product-card__commerce span {
    padding: 8px;
  }

  .product-card__commerce strong {
    font-size: 12px;
    line-height: 1.25;
  }

  .product-card__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-card__foot small {
    grid-column: 1 / -1;
  }

  .product-card__cta,
  .product-card__quick {
    min-height: 38px;
    border-radius: 8px;
    padding: 0 10px;
    justify-content: center;
    text-align: center;
  }

  .product-card__cta {
    background: var(--accent);
    color: #ffffff;
  }

  .product-card__quick {
    border: 1px solid var(--line);
    background: #ffffff;
  }

  .product-card__links {
    display: none;
  }

  .sku-hero-grid .product-detail__image,
  .product-detail__image {
    max-height: none;
  }

  .sku-summary-card {
    order: 3;
  }

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

  .quick-order-actions {
    display: grid;
  }

  .workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }

  .workflow-strip span {
    min-height: 50px;
    padding: 10px;
    font-size: 13px;
  }

  .workflow-strip strong {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .quick-order-layout {
    gap: 14px;
  }

  .quick-order-card {
    padding: 14px;
  }

  .quick-list-row {
    grid-template-columns: 1fr;
  }

  .quick-list-row__controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .quick-list-row__remove {
    min-width: 100px;
  }

  .quick-entry-grid {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 10px;
  }

  .quick-entry-grid input {
    min-height: 42px;
  }

  .sku-table-wrap {
    display: none;
  }

  .sku-mobile-list {
    display: grid;
    gap: 10px;
  }

  .sku-mobile-item__head,
  .sku-mobile-item__buy {
    align-items: stretch;
    flex-direction: column;
  }

  .sku-mobile-add-form {
    grid-template-columns: minmax(0, 1fr) minmax(126px, auto);
  }

  .sku-mobile-add-form input {
    width: 100%;
  }

  .account-login-grid {
    min-height: 0;
  }

  .account-help,
  .account-box {
    padding: 16px;
  }

  .account-summary div {
    min-height: 82px;
    padding: 14px;
  }

  .account-document-card {
    grid-template-columns: 1fr;
  }

  .account-document-card__main dl {
    grid-template-columns: 1fr;
  }

  .account-orders-panel {
    border: 0;
    background: transparent;
  }

  .account-orders-panel .panel-heading {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px;
    background: var(--surface);
  }

  .account-table-wrap {
    display: none;
  }

  .account-mobile-list {
    display: grid;
    gap: 10px;
  }

  .account-order-card__head,
  .account-order-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-order-card__meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .info-procurement-panel div {
    min-height: 0;
    padding: 13px;
  }

  .info-aside__actions .ghost-button {
    width: 100%;
  }

  .cart-list {
    border: 0;
    background: transparent;
  }

  .cart-table-wrap {
    display: none;
  }

  .cart-mobile-list {
    display: grid;
    gap: 10px;
    padding: 0 0 12px;
  }

  .cart-mobile-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(20, 36, 48, 0.05);
  }

  .cart-mobile-item__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
  }

  .cart-mobile-item__head span,
  .cart-mobile-item__head small,
  .cart-mobile-item__spec dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .cart-mobile-item__head strong {
    display: block;
    margin-top: 3px;
    font-size: 18px;
  }

  .cart-mobile-item__head small {
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #f4fbff;
    white-space: nowrap;
  }

  .cart-mobile-item__names {
    display: grid;
    gap: 5px;
    line-height: 1.35;
  }

  .cart-mobile-item__names span,
  .cart-mobile-item__spec small {
    color: var(--muted);
  }

  .cart-mobile-item__spec {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
  }

  .cart-mobile-item__spec div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    background: #f8fbff;
  }

  .cart-mobile-item__spec dd,
  .cart-mobile-item__spec dt {
    margin: 0;
  }

  .cart-mobile-item__spec dd {
    display: grid;
    gap: 3px;
    font-weight: 900;
  }

  .cart-mobile-qty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .cart-mobile-qty label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }

  .cart-mobile-qty input {
    min-height: 40px;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 10px;
    font: inherit;
    font-weight: 800;
  }

  .cart-mobile-qty button {
    min-height: 40px;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 900;
  }

  .cart-summary {
    margin-top: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
  }
}

/* Conversion pass: procurement-first catalog, quick order and checkout */
.catalog-filter-bar--procurement {
  grid-template-columns: minmax(320px, 1fr) auto auto;
}

.catalog-filter-bar--procurement .catalog-search {
  grid-column: auto;
}

.catalog-filter-control {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-filter-control select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 34px 0 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.expert-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 18px;
  background: var(--line);
}

.expert-strip--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expert-strip div {
  display: grid;
  gap: 6px;
  align-content: start;
  min-height: 108px;
  padding: 15px;
  background: #ffffff;
}

.expert-strip strong {
  color: var(--ink);
  font-size: 15px;
}

.expert-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.seo-section--expert {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 24px;
}

.expert-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.expert-card-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.expert-card-grid h3,
.expert-card-grid p {
  margin: 0;
}

.expert-card-grid h3 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.expert-card-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.expert-card-grid a,
.checkout-expert-links a {
  color: var(--accent-strong);
  font-weight: 900;
}

.expert-card-grid--compact {
  gap: 10px;
}

.product-procurement-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.procurement-note {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-expert-links {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.results-panel__head--procurement {
  align-items: center;
}

.procurement-list {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.procurement-row {
  display: grid;
  grid-template-columns: 72px minmax(260px, 1fr) minmax(280px, 0.9fr) minmax(150px, 180px);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.procurement-row:hover {
  border-color: rgba(52, 98, 170, 0.42);
  box-shadow: 0 10px 26px rgba(34, 68, 120, 0.08);
}

.procurement-row__thumb {
  display: grid;
  width: 72px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4fbff;
  color: var(--accent-strong);
  font-weight: 900;
  text-decoration: none;
}

.procurement-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.procurement-row__main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.procurement-row__title {
  display: grid;
  gap: 3px;
}

.procurement-row__title a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
  text-decoration: none;
}

.procurement-row__title a:hover {
  color: var(--accent-strong);
}

.procurement-row__title span,
.procurement-row__main p,
.procurement-row__actions span,
.procurement-row__links a {
  color: var(--muted);
}

.procurement-row__title span {
  font-size: 13px;
  font-weight: 800;
}

.procurement-row__main p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13px;
  line-height: 1.38;
}

.procurement-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.procurement-row__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.procurement-row__links a,
.procurement-row__notes span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.procurement-row__notes span {
  background: #f4fbff;
  color: var(--accent-strong);
}

.procurement-row__links a:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.procurement-row__facts {
  display: grid;
  grid-template-columns: 68px 96px minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.procurement-row__facts span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  background: #f8fbff;
}

.procurement-row__facts small,
.quick-list-table__head,
.quick-list-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.procurement-row__facts strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.procurement-row__actions {
  display: grid;
  gap: 8px;
}

.procurement-row__actions .primary-button,
.procurement-row__actions .ghost-button {
  width: 100%;
  min-height: 36px;
}

.procurement-row__actions span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.quick-order-import-card {
  margin-bottom: 16px;
}

.quick-order-import-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.quick-order-import-card__head span,
.quick-bulk-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #f4fbff;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.quick-order-import-card form {
  display: grid;
  gap: 12px;
}

.quick-bulk-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-list-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-list-table__head,
.quick-list-row {
  display: grid;
  grid-template-columns: minmax(92px, 0.7fr) minmax(220px, 1.8fr) minmax(130px, 0.8fr) minmax(160px, 1fr) minmax(116px, 0.7fr);
  gap: 1px;
}

.quick-list-table__head span,
.quick-list-row > div {
  min-width: 0;
  background: #ffffff;
}

.quick-list-table__head span {
  padding: 9px 10px;
  background: #eef4fb;
}

.quick-list-row {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  align-items: stretch;
}

.quick-list-row + .quick-list-row {
  margin-top: 0;
}

.quick-list-row > div {
  display: grid;
  gap: 4px;
  align-content: start;
  height: 100%;
  padding: 10px;
}

.quick-list-table .quick-list-row > div > small:first-child {
  display: none;
}

.quick-list-row__cat strong,
.quick-list-row__price strong,
.quick-list-row__amount strong {
  color: var(--ink);
  font-size: 14px;
}

.quick-list-row__main span,
.quick-list-row__price span,
.quick-list-row__amount span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.quick-list-row__controls {
  gap: 7px;
}

.quick-list-row__controls input {
  min-height: 34px;
}

.checkout-total-card {
  display: grid;
  gap: 3px;
  padding: 14px;
  border-radius: 8px;
  background: #eef4fb;
}

.checkout-total-card span,
.checkout-total-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.checkout-total-card strong {
  color: var(--accent-strong);
  font-size: 24px;
  line-height: 1.15;
}

.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-assurance div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.checkout-assurance strong {
  color: var(--ink);
  font-size: 13px;
}

.checkout-assurance span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-submit {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

@media (max-width: 1180px) {
  .catalog-filter-bar--procurement {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .catalog-filter-bar--procurement .catalog-search {
    grid-column: 1 / -1;
  }

  .expert-strip,
  .expert-strip--catalog,
  .expert-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .procurement-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .procurement-row__thumb {
    width: 64px;
    height: 60px;
  }

  .procurement-row__facts,
  .procurement-row__actions {
    grid-column: 2;
  }

  .procurement-row__actions {
    grid-template-columns: minmax(0, 1fr) minmax(110px, auto);
    align-items: center;
  }

  .procurement-row__actions span {
    grid-column: 1 / -1;
    text-align: left;
  }

  .quick-list-table__head {
    display: none;
  }

  .quick-list-row {
    grid-template-columns: minmax(96px, 0.75fr) minmax(220px, 1.5fr) minmax(130px, 0.8fr);
  }

  .quick-list-table .quick-list-row > div > small:first-child {
    display: block;
  }

  .quick-list-row__amount,
  .quick-list-row__controls {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .catalog-filter-bar--procurement {
    grid-template-columns: 1fr;
  }

  .catalog-filter-control {
    min-width: 0;
  }

  .expert-strip,
  .expert-strip--catalog,
  .expert-card-grid {
    grid-template-columns: 1fr;
  }

  .expert-strip div {
    min-height: 0;
  }

  .catalog-workflow--trust dl {
    grid-template-columns: 1fr;
  }

  .procurement-list {
    padding: 10px;
  }

  .procurement-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .procurement-row__thumb {
    display: none;
  }

  .procurement-row__facts,
  .procurement-row__actions {
    grid-column: auto;
  }

  .procurement-row__facts {
    grid-template-columns: 0.7fr 1fr 1.25fr;
  }

  .procurement-row__actions {
    grid-template-columns: 1fr 1fr;
  }

  .quick-order-import-card__head {
    display: grid;
  }

  .quick-bulk-grid {
    display: grid;
  }

  .quick-list-row {
    grid-template-columns: 1fr;
  }

  .quick-list-row__controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .checkout-assurance {
    grid-template-columns: 1fr;
  }
}

/* P0 UX cleanup: navigation, catalog first screen, product flow, errors */
.mobile-menu-toggle {
  display: none;
}

.catalog-filter-bar--hero {
  margin: 22px 0 0;
  max-width: 900px;
  border-color: rgba(52, 98, 170, 0.18);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(34, 68, 120, 0.08);
}

.catalog-filter-bar--hero .catalog-search span {
  font-size: 13px;
}

.catalog-filter-bar--hero input {
  min-height: 48px;
}

.expert-strip--secondary {
  margin-top: 18px;
}

.expert-strip--secondary div {
  min-height: 0;
  background: #fbfdff;
}

#sku-list {
  scroll-margin-top: 130px;
}

.product-procurement-section--details {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #fbfdff;
}

.product-procurement-section--details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.product-procurement-section--details > summary::-webkit-details-marker {
  display: none;
}

.product-procurement-section--details > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 900;
}

.product-procurement-section--details[open] > summary::after {
  content: "−";
}

.product-procurement-section--details > summary span {
  display: grid;
  gap: 4px;
}

.product-procurement-section--details > summary strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.product-procurement-section--details .expert-card-grid,
.product-procurement-section__link {
  margin: 0 16px;
}

.product-procurement-section--details .expert-card-grid {
  padding-bottom: 16px;
}

.product-procurement-section__link {
  justify-self: start;
}

.workflow-strip--after-tool {
  margin-top: 18px;
}

.error-page {
  display: grid;
  min-height: min(620px, calc(100vh - 220px));
  padding: 40px clamp(16px, 4vw, 48px);
  place-items: center;
}

.error-panel {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 44px);
  background: var(--surface);
  box-shadow: 0 18px 45px rgba(34, 68, 120, 0.1);
}

.error-panel h1,
.error-panel p {
  margin: 0;
}

.error-search {
  margin: 4px 0 0;
}

@media (max-width: 900px) {
  .site-header__main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    grid-template-columns: 18px auto;
    gap: 3px 8px;
    align-items: center;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    grid-column: 1;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .mobile-menu-toggle strong {
    grid-column: 2;
    grid-row: 1 / 4;
    font-size: 13px;
  }

  .top-nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible;
    padding-top: 10px;
  }

  .is-mobile-menu-open .top-nav {
    display: grid;
  }

  .top-nav a {
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--line);
    background: #ffffff;
    white-space: normal;
    text-align: center;
  }

  .header-actions {
    justify-content: end;
  }

  .header-contact {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__main {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
  }

  .brand-copy span {
    display: none;
  }

  .mobile-menu-toggle strong {
    display: none;
  }

  .mobile-menu-toggle {
    grid-template-columns: 18px;
    width: 44px;
    padding: 0;
    place-content: center;
  }

  .top-nav {
    grid-template-columns: 1fr;
  }

  .site-header__trust {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .catalog-hero {
    padding: 18px 14px;
  }

  .catalog-filter-bar--hero {
    margin-top: 16px;
    padding: 12px;
  }

  .catalog-filter-bar--hero .toolbar-submit {
    width: 100%;
  }

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

  .product-procurement-section--details > summary {
    align-items: start;
  }

  .error-page {
    padding: 18px 12px;
  }
}

/* P1 UX cleanup: task navigation, editorial articles, compact SEO/footer */
.section-heading--compact {
  margin-bottom: 0;
}

.section-heading--compact h2 {
  font-size: 22px;
}

.catalog-task-nav {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.catalog-task-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-task-grid a {
  display: grid;
  gap: 5px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
  color: var(--ink);
}

.catalog-task-grid a:hover,
.catalog-task-grid a.is-active {
  border-color: var(--accent);
  background: #f7fbff;
  color: var(--accent-strong);
}

.catalog-task-grid strong {
  font-size: 16px;
  line-height: 1.25;
}

.catalog-task-grid span,
.catalog-task-grid small {
  color: var(--muted);
  line-height: 1.4;
}

.catalog-task-grid small {
  align-self: end;
  font-size: 12px;
  font-weight: 800;
}

.seo-section--category-guide > details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.seo-section--category-guide > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.seo-section--category-guide > details > summary::-webkit-details-marker {
  display: none;
}

.seo-section--category-guide > details > summary::after,
.footer-seo > summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-strong);
  font-size: 19px;
  font-weight: 900;
}

.seo-section--category-guide > details[open] > summary::after,
.footer-seo[open] > summary::after {
  content: "−";
}

.seo-section--category-guide > details > summary span {
  display: grid;
  gap: 4px;
}

.seo-section--category-guide > details > summary strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.seo-section--category-guide > details > summary small {
  color: var(--muted);
  font-weight: 700;
}

.seo-section__content {
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px;
}

.seo-section__content > p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.seo-section--related {
  margin-top: 6px;
}

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

.article-index-strip--secondary,
.article-purchase-strip--secondary {
  margin-top: 24px;
  margin-bottom: 0;
}

.article-purchase-strip--secondary {
  background: var(--line);
}

.article-page .expert-strip--article {
  margin-top: 26px;
}

.info-page--contacts .info-hero {
  margin-bottom: 12px;
}

.info-page--contacts .trust-strip {
  margin-top: 12px;
}

.info-page--contacts .info-section:first-child {
  padding-top: 0;
}

.footer-seo {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  padding-top: 14px;
}

.footer-seo > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-weight: 900;
}

.footer-seo > summary::-webkit-details-marker {
  display: none;
}

.footer-seo-grid {
  padding-top: 2px;
}

@media (max-width: 900px) {
  .catalog-task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-index-strip--secondary,
  .article-purchase-strip--secondary,
  .catalog-task-nav {
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .catalog-task-grid,
  .seo-bullets,
  .seo-check-grid,
  .seo-link-grid {
    grid-template-columns: 1fr;
  }

  .catalog-task-grid a {
    min-height: 0;
  }

  .seo-section--category-guide > details > summary {
    align-items: start;
    padding: 14px;
  }

  .seo-section__content {
    padding: 14px;
  }

  .footer-seo-grid {
    grid-template-columns: 1fr;
  }
}
